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/0013_use_path_self_super.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/0013_use_path_self_super.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.txt | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.txt b/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.txt deleted file mode 100644 index 50730e958..000000000 --- a/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.txt +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 65) | ||
2 | USE_ITEM@[0; 14) | ||
3 | USE_KW@[0; 3) "use" | ||
4 | WHITESPACE@[3; 4) " " | ||
5 | USE_TREE@[4; 13) | ||
6 | PATH@[4; 13) | ||
7 | PATH@[4; 8) | ||
8 | PATH_SEGMENT@[4; 8) | ||
9 | SELF_KW@[4; 8) "self" | ||
10 | COLONCOLON@[8; 10) "::" | ||
11 | PATH_SEGMENT@[10; 13) | ||
12 | NAME_REF@[10; 13) | ||
13 | IDENT@[10; 13) "foo" | ||
14 | SEMI@[13; 14) ";" | ||
15 | WHITESPACE@[14; 15) "\n" | ||
16 | USE_ITEM@[15; 37) | ||
17 | USE_KW@[15; 18) "use" | ||
18 | WHITESPACE@[18; 19) " " | ||
19 | USE_TREE@[19; 36) | ||
20 | PATH@[19; 36) | ||
21 | PATH@[19; 31) | ||
22 | PATH@[19; 24) | ||
23 | PATH_SEGMENT@[19; 24) | ||
24 | SUPER_KW@[19; 24) "super" | ||
25 | COLONCOLON@[24; 26) "::" | ||
26 | PATH_SEGMENT@[26; 31) | ||
27 | SUPER_KW@[26; 31) "super" | ||
28 | COLONCOLON@[31; 33) "::" | ||
29 | PATH_SEGMENT@[33; 36) | ||
30 | NAME_REF@[33; 36) | ||
31 | IDENT@[33; 36) "bar" | ||
32 | SEMI@[36; 37) ";" | ||
33 | WHITESPACE@[37; 38) "\n" | ||
34 | USE_ITEM@[38; 64) | ||
35 | USE_KW@[38; 41) "use" | ||
36 | WHITESPACE@[41; 42) " " | ||
37 | USE_TREE@[42; 63) | ||
38 | PATH@[42; 63) | ||
39 | PATH@[42; 58) | ||
40 | PATH@[42; 51) | ||
41 | PATH@[42; 48) | ||
42 | PATH_SEGMENT@[42; 48) | ||
43 | COLONCOLON@[42; 44) "::" | ||
44 | SELF_KW@[44; 48) "self" | ||
45 | COLONCOLON@[48; 50) "::" | ||
46 | PATH_SEGMENT@[50; 51) | ||
47 | NAME_REF@[50; 51) | ||
48 | IDENT@[50; 51) "a" | ||
49 | COLONCOLON@[51; 53) "::" | ||
50 | PATH_SEGMENT@[53; 58) | ||
51 | SUPER_KW@[53; 58) "super" | ||
52 | COLONCOLON@[58; 60) "::" | ||
53 | PATH_SEGMENT@[60; 63) | ||
54 | NAME_REF@[60; 63) | ||
55 | IDENT@[60; 63) "bar" | ||
56 | SEMI@[63; 64) ";" | ||
57 | WHITESPACE@[64; 65) "\n" | ||