diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.txt b/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.txt new file mode 100644 index 000000000..dd2095d90 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.txt | |||
@@ -0,0 +1,59 @@ | |||
1 | SOURCE_FILE@[0; 60) | ||
2 | USE_ITEM@[0; 6) | ||
3 | USE_KW@[0; 3) "use" | ||
4 | WHITESPACE@[3; 4) " " | ||
5 | USE_TREE@[4; 5) | ||
6 | STAR@[4; 5) "*" | ||
7 | SEMI@[5; 6) ";" | ||
8 | WHITESPACE@[6; 7) "\n" | ||
9 | USE_ITEM@[7; 15) | ||
10 | USE_KW@[7; 10) "use" | ||
11 | WHITESPACE@[10; 11) " " | ||
12 | USE_TREE@[11; 14) | ||
13 | COLONCOLON@[11; 13) "::" | ||
14 | STAR@[13; 14) "*" | ||
15 | SEMI@[14; 15) ";" | ||
16 | WHITESPACE@[15; 16) "\n" | ||
17 | USE_ITEM@[16; 36) | ||
18 | USE_KW@[16; 19) "use" | ||
19 | WHITESPACE@[19; 20) " " | ||
20 | USE_TREE@[20; 35) | ||
21 | PATH@[20; 30) | ||
22 | PATH@[20; 24) | ||
23 | PATH_SEGMENT@[20; 24) | ||
24 | NAME_REF@[20; 24) | ||
25 | IDENT@[20; 24) "some" | ||
26 | COLONCOLON@[24; 26) "::" | ||
27 | PATH_SEGMENT@[26; 30) | ||
28 | NAME_REF@[26; 30) | ||
29 | IDENT@[26; 30) "path" | ||
30 | COLONCOLON@[30; 32) "::" | ||
31 | USE_TREE_LIST@[32; 35) | ||
32 | L_CURLY@[32; 33) "{" | ||
33 | USE_TREE@[33; 34) | ||
34 | STAR@[33; 34) "*" | ||
35 | R_CURLY@[34; 35) "}" | ||
36 | SEMI@[35; 36) ";" | ||
37 | WHITESPACE@[36; 37) "\n" | ||
38 | USE_ITEM@[37; 59) | ||
39 | USE_KW@[37; 40) "use" | ||
40 | WHITESPACE@[40; 41) " " | ||
41 | USE_TREE@[41; 58) | ||
42 | PATH@[41; 51) | ||
43 | PATH@[41; 45) | ||
44 | PATH_SEGMENT@[41; 45) | ||
45 | NAME_REF@[41; 45) | ||
46 | IDENT@[41; 45) "some" | ||
47 | COLONCOLON@[45; 47) "::" | ||
48 | PATH_SEGMENT@[47; 51) | ||
49 | NAME_REF@[47; 51) | ||
50 | IDENT@[47; 51) "path" | ||
51 | COLONCOLON@[51; 53) "::" | ||
52 | USE_TREE_LIST@[53; 58) | ||
53 | L_CURLY@[53; 54) "{" | ||
54 | USE_TREE@[54; 57) | ||
55 | COLONCOLON@[54; 56) "::" | ||
56 | STAR@[56; 57) "*" | ||
57 | R_CURLY@[57; 58) "}" | ||
58 | SEMI@[58; 59) ";" | ||
59 | WHITESPACE@[59; 60) "\n" | ||