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/0100_for_expr.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/0100_for_expr.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.txt | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.txt b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.txt deleted file mode 100644 index 83c58d25f..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.txt +++ /dev/null | |||
@@ -1,36 +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; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK_EXPR@[9; 32) | ||
12 | BLOCK@[9; 32) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 30) | ||
16 | FOR_EXPR@[15; 29) | ||
17 | FOR_KW@[15; 18) "for" | ||
18 | WHITESPACE@[18; 19) " " | ||
19 | BIND_PAT@[19; 20) | ||
20 | NAME@[19; 20) | ||
21 | IDENT@[19; 20) "x" | ||
22 | WHITESPACE@[20; 21) " " | ||
23 | IN_KW@[21; 23) "in" | ||
24 | WHITESPACE@[23; 24) " " | ||
25 | ARRAY_EXPR@[24; 26) | ||
26 | L_BRACK@[24; 25) "[" | ||
27 | R_BRACK@[25; 26) "]" | ||
28 | WHITESPACE@[26; 27) " " | ||
29 | BLOCK_EXPR@[27; 29) | ||
30 | BLOCK@[27; 29) | ||
31 | L_CURLY@[27; 28) "{" | ||
32 | R_CURLY@[28; 29) "}" | ||
33 | SEMI@[29; 30) ";" | ||
34 | WHITESPACE@[30; 31) "\n" | ||
35 | R_CURLY@[31; 32) "}" | ||
36 | WHITESPACE@[32; 33) "\n" | ||