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/0110_use_path.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.txt b/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.txt new file mode 100644 index 000000000..7dbcd3927 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | SOURCE_FILE@[0; 154) | ||
2 | USE_ITEM@[0; 17) | ||
3 | USE_KW@[0; 3) "use" | ||
4 | WHITESPACE@[3; 4) " " | ||
5 | USE_TREE@[4; 16) | ||
6 | PATH@[4; 16) | ||
7 | PATH_SEGMENT@[4; 16) | ||
8 | COLONCOLON@[4; 6) "::" | ||
9 | NAME_REF@[6; 16) | ||
10 | IDENT@[6; 16) "crate_name" | ||
11 | SEMI@[16; 17) ";" | ||
12 | WHITESPACE@[17; 18) " " | ||
13 | COMMENT@[18; 45) "// Rust 2018 - All fl ..." | ||
14 | WHITESPACE@[45; 46) "\n" | ||
15 | USE_ITEM@[46; 61) | ||
16 | USE_KW@[46; 49) "use" | ||
17 | WHITESPACE@[49; 50) " " | ||
18 | USE_TREE@[50; 60) | ||
19 | PATH@[50; 60) | ||
20 | PATH_SEGMENT@[50; 60) | ||
21 | NAME_REF@[50; 60) | ||
22 | IDENT@[50; 60) "crate_name" | ||
23 | SEMI@[60; 61) ";" | ||
24 | WHITESPACE@[61; 62) " " | ||
25 | COMMENT@[62; 91) "// Rust 2018 - Anchor ..." | ||
26 | WHITESPACE@[91; 92) "\n" | ||
27 | USE_ITEM@[92; 124) | ||
28 | USE_KW@[92; 95) "use" | ||
29 | WHITESPACE@[95; 96) " " | ||
30 | USE_TREE@[96; 123) | ||
31 | PATH@[96; 123) | ||
32 | PATH_SEGMENT@[96; 123) | ||
33 | NAME_REF@[96; 123) | ||
34 | IDENT@[96; 123) "item_in_scope_or_crat ..." | ||
35 | SEMI@[123; 124) ";" | ||
36 | WHITESPACE@[124; 125) " " | ||
37 | COMMENT@[125; 153) "// Rust 2018 - Unifor ..." | ||
38 | WHITESPACE@[153; 154) "\n" | ||