diff options
author | veetaha <[email protected]> | 2020-04-06 12:04:26 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-04-06 12:04:26 +0100 |
commit | da091b130347c4d6d8c75acb8e65c30a17dc1f5e (patch) | |
tree | f97939669a700ed80a64086b1f0aefd530bc9bea /crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.txt | |
parent | ec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (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/inline/ok/0150_array_attrs.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.txt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.txt b/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.txt deleted file mode 100644 index 78e296f88..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.txt +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 40) | ||
2 | CONST_DEF@[0; 39) | ||
3 | CONST_KW@[0; 5) "const" | ||
4 | WHITESPACE@[5; 6) " " | ||
5 | NAME@[6; 7) | ||
6 | IDENT@[6; 7) "A" | ||
7 | COLON@[7; 8) ":" | ||
8 | WHITESPACE@[8; 9) " " | ||
9 | REFERENCE_TYPE@[9; 15) | ||
10 | AMP@[9; 10) "&" | ||
11 | SLICE_TYPE@[10; 15) | ||
12 | L_BRACK@[10; 11) "[" | ||
13 | PATH_TYPE@[11; 14) | ||
14 | PATH@[11; 14) | ||
15 | PATH_SEGMENT@[11; 14) | ||
16 | NAME_REF@[11; 14) | ||
17 | IDENT@[11; 14) "i64" | ||
18 | R_BRACK@[14; 15) "]" | ||
19 | WHITESPACE@[15; 16) " " | ||
20 | EQ@[16; 17) "=" | ||
21 | WHITESPACE@[17; 18) " " | ||
22 | REF_EXPR@[18; 38) | ||
23 | AMP@[18; 19) "&" | ||
24 | ARRAY_EXPR@[19; 38) | ||
25 | L_BRACK@[19; 20) "[" | ||
26 | LITERAL@[20; 21) | ||
27 | INT_NUMBER@[20; 21) "1" | ||
28 | COMMA@[21; 22) "," | ||
29 | WHITESPACE@[22; 23) " " | ||
30 | LITERAL@[23; 37) | ||
31 | ATTR@[23; 35) | ||
32 | POUND@[23; 24) "#" | ||
33 | L_BRACK@[24; 25) "[" | ||
34 | PATH@[25; 28) | ||
35 | PATH_SEGMENT@[25; 28) | ||
36 | NAME_REF@[25; 28) | ||
37 | IDENT@[25; 28) "cfg" | ||
38 | TOKEN_TREE@[28; 34) | ||
39 | L_PAREN@[28; 29) "(" | ||
40 | IDENT@[29; 33) "test" | ||
41 | R_PAREN@[33; 34) ")" | ||
42 | R_BRACK@[34; 35) "]" | ||
43 | WHITESPACE@[35; 36) " " | ||
44 | INT_NUMBER@[36; 37) "2" | ||
45 | R_BRACK@[37; 38) "]" | ||
46 | SEMI@[38; 39) ";" | ||
47 | WHITESPACE@[39; 40) "\n" | ||