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/0045_param_list_opt_patterns.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/0045_param_list_opt_patterns.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.txt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.txt b/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.txt deleted file mode 100644 index 33886154d..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.txt +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 35) | ||
2 | FN_DEF@[0; 34) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | TYPE_PARAM_LIST@[6; 30) | ||
8 | L_ANGLE@[6; 7) "<" | ||
9 | TYPE_PARAM@[7; 29) | ||
10 | NAME@[7; 8) | ||
11 | IDENT@[7; 8) "F" | ||
12 | COLON@[8; 9) ":" | ||
13 | WHITESPACE@[9; 10) " " | ||
14 | TYPE_BOUND_LIST@[10; 29) | ||
15 | TYPE_BOUND@[10; 29) | ||
16 | PATH_TYPE@[10; 29) | ||
17 | PATH@[10; 29) | ||
18 | PATH_SEGMENT@[10; 29) | ||
19 | NAME_REF@[10; 15) | ||
20 | IDENT@[10; 15) "FnMut" | ||
21 | PARAM_LIST@[15; 29) | ||
22 | L_PAREN@[15; 16) "(" | ||
23 | PARAM@[16; 28) | ||
24 | REFERENCE_TYPE@[16; 28) | ||
25 | AMP@[16; 17) "&" | ||
26 | MUT_KW@[17; 20) "mut" | ||
27 | WHITESPACE@[20; 21) " " | ||
28 | PATH_TYPE@[21; 28) | ||
29 | PATH@[21; 28) | ||
30 | PATH_SEGMENT@[21; 28) | ||
31 | NAME_REF@[21; 24) | ||
32 | IDENT@[21; 24) "Foo" | ||
33 | TYPE_ARG_LIST@[24; 28) | ||
34 | L_ANGLE@[24; 25) "<" | ||
35 | LIFETIME_ARG@[25; 27) | ||
36 | LIFETIME@[25; 27) "\'a" | ||
37 | R_ANGLE@[27; 28) ">" | ||
38 | R_PAREN@[28; 29) ")" | ||
39 | R_ANGLE@[29; 30) ">" | ||
40 | PARAM_LIST@[30; 32) | ||
41 | L_PAREN@[30; 31) "(" | ||
42 | R_PAREN@[31; 32) ")" | ||
43 | BLOCK_EXPR@[32; 34) | ||
44 | BLOCK@[32; 34) | ||
45 | L_CURLY@[32; 33) "{" | ||
46 | R_CURLY@[33; 34) "}" | ||
47 | WHITESPACE@[34; 35) "\n" | ||