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/ok/0049_async_block.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/ok/0049_async_block.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0049_async_block.txt | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0049_async_block.txt b/crates/ra_syntax/test_data/parser/ok/0049_async_block.txt deleted file mode 100644 index aa6daff7d..000000000 --- a/crates/ra_syntax/test_data/parser/ok/0049_async_block.txt +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 47) | ||
2 | FN_DEF@[0; 45) | ||
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; 45) | ||
12 | BLOCK@[9; 45) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 24) | ||
16 | BLOCK_EXPR@[15; 23) | ||
17 | ASYNC_KW@[15; 20) "async" | ||
18 | WHITESPACE@[20; 21) " " | ||
19 | BLOCK@[21; 23) | ||
20 | L_CURLY@[21; 22) "{" | ||
21 | R_CURLY@[22; 23) "}" | ||
22 | SEMI@[23; 24) ";" | ||
23 | WHITESPACE@[24; 29) "\n " | ||
24 | EXPR_STMT@[29; 43) | ||
25 | BLOCK_EXPR@[29; 42) | ||
26 | ASYNC_KW@[29; 34) "async" | ||
27 | WHITESPACE@[34; 35) " " | ||
28 | MOVE_KW@[35; 39) "move" | ||
29 | WHITESPACE@[39; 40) " " | ||
30 | BLOCK@[40; 42) | ||
31 | L_CURLY@[40; 41) "{" | ||
32 | R_CURLY@[41; 42) "}" | ||
33 | SEMI@[42; 43) ";" | ||
34 | WHITESPACE@[43; 44) "\n" | ||
35 | R_CURLY@[44; 45) "}" | ||
36 | WHITESPACE@[45; 47) "\n\n" | ||