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/0129_marco_pat.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/0129_marco_pat.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.txt b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.txt deleted file mode 100644 index 36d8f4a5f..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.txt +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 33) | ||
2 | FN_DEF@[0; 32) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) "(" | ||
9 | R_PAREN@[8; 9) ")" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | BLOCK_EXPR@[10; 32) | ||
12 | BLOCK@[10; 32) | ||
13 | L_CURLY@[10; 11) "{" | ||
14 | WHITESPACE@[11; 16) "\n " | ||
15 | LET_STMT@[16; 30) | ||
16 | LET_KW@[16; 19) "let" | ||
17 | WHITESPACE@[19; 20) " " | ||
18 | MACRO_PAT@[20; 25) | ||
19 | MACRO_CALL@[20; 25) | ||
20 | PATH@[20; 21) | ||
21 | PATH_SEGMENT@[20; 21) | ||
22 | NAME_REF@[20; 21) | ||
23 | IDENT@[20; 21) "m" | ||
24 | EXCL@[21; 22) "!" | ||
25 | TOKEN_TREE@[22; 25) | ||
26 | L_PAREN@[22; 23) "(" | ||
27 | IDENT@[23; 24) "x" | ||
28 | R_PAREN@[24; 25) ")" | ||
29 | WHITESPACE@[25; 26) " " | ||
30 | EQ@[26; 27) "=" | ||
31 | WHITESPACE@[27; 28) " " | ||
32 | LITERAL@[28; 29) | ||
33 | INT_NUMBER@[28; 29) "0" | ||
34 | SEMI@[29; 30) ";" | ||
35 | WHITESPACE@[30; 31) "\n" | ||
36 | R_CURLY@[31; 32) "}" | ||
37 | WHITESPACE@[32; 33) "\n" | ||