aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-04-06 12:04:26 +0100
committerveetaha <[email protected]>2020-04-06 12:04:26 +0100
commitda091b130347c4d6d8c75acb8e65c30a17dc1f5e (patch)
treef97939669a700ed80a64086b1f0aefd530bc9bea /crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt
parentec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (diff)
Migrate tests .txt -> .rast
The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files.
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt28
1 files changed, 0 insertions, 28 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt b/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt
deleted file mode 100644
index 8f192124b..000000000
--- a/crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.txt
+++ /dev/null
@@ -1,28 +0,0 @@
1SOURCE_FILE@[0; 87)
2 EXTERN_BLOCK@[0; 86)
3 ABI@[0; 10)
4 EXTERN_KW@[0; 6) "extern"
5 WHITESPACE@[6; 7) " "
6 STRING@[7; 10) "\"C\""
7 WHITESPACE@[10; 11) " "
8 EXTERN_ITEM_LIST@[11; 86)
9 L_CURLY@[11; 12) "{"
10 WHITESPACE@[12; 17) "\n "
11 COMMENT@[17; 42) "//! This is a doc com ..."
12 WHITESPACE@[42; 47) "\n "
13 ATTR@[47; 84)
14 POUND@[47; 48) "#"
15 EXCL@[48; 49) "!"
16 L_BRACK@[49; 50) "["
17 PATH@[50; 53)
18 PATH_SEGMENT@[50; 53)
19 NAME_REF@[50; 53)
20 IDENT@[50; 53) "doc"
21 TOKEN_TREE@[53; 83)
22 L_PAREN@[53; 54) "("
23 STRING@[54; 82) "\"This is also a doc c ..."
24 R_PAREN@[82; 83) ")"
25 R_BRACK@[83; 84) "]"
26 WHITESPACE@[84; 85) "\n"
27 R_CURLY@[85; 86) "}"
28 WHITESPACE@[86; 87) "\n"