diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-10 11:23:41 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-10 11:23:41 +0000 |
commit | b814d931514cdc250f9156dabd874edf685569d0 (patch) | |
tree | 6de85e5e662bc0c6eca78715496a02867da1eff9 /tests/data/parser/ok/0015_use_tree.txt | |
parent | c3b009b6d24225ad2add62fce8206918fceba3eb (diff) | |
parent | 199b3a1604095beee9eaeec541c8f158e85493ea (diff) |
Merge #46
46: Names r=matklad a=matklad
bors r+
Diffstat (limited to 'tests/data/parser/ok/0015_use_tree.txt')
-rw-r--r-- | tests/data/parser/ok/0015_use_tree.txt | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/tests/data/parser/ok/0015_use_tree.txt b/tests/data/parser/ok/0015_use_tree.txt index 10bdef5fe..2ba15bbee 100644 --- a/tests/data/parser/ok/0015_use_tree.txt +++ b/tests/data/parser/ok/0015_use_tree.txt | |||
@@ -4,13 +4,15 @@ FILE@[0; 55) | |||
4 | USE_TREE@[3; 14) | 4 | USE_TREE@[3; 14) |
5 | PATH@[3; 8) | 5 | PATH@[3; 8) |
6 | PATH_SEGMENT@[3; 8) | 6 | PATH_SEGMENT@[3; 8) |
7 | WHITESPACE@[3; 4) | 7 | NAME_REF@[3; 8) |
8 | IDENT@[4; 7) "foo" | 8 | WHITESPACE@[3; 4) |
9 | WHITESPACE@[7; 8) | 9 | IDENT@[4; 7) "foo" |
10 | WHITESPACE@[7; 8) | ||
10 | ALIAS@[8; 14) | 11 | ALIAS@[8; 14) |
11 | AS_KW@[8; 10) | 12 | AS_KW@[8; 10) |
12 | WHITESPACE@[10; 11) | 13 | NAME@[10; 14) |
13 | IDENT@[11; 14) "bar" | 14 | WHITESPACE@[10; 11) |
15 | IDENT@[11; 14) "bar" | ||
14 | SEMI@[14; 15) | 16 | SEMI@[14; 15) |
15 | WHITESPACE@[15; 16) | 17 | WHITESPACE@[15; 16) |
16 | USE_ITEM@[16; 55) | 18 | USE_ITEM@[16; 55) |
@@ -18,19 +20,22 @@ FILE@[0; 55) | |||
18 | USE_TREE@[19; 53) | 20 | USE_TREE@[19; 53) |
19 | PATH@[19; 23) | 21 | PATH@[19; 23) |
20 | PATH_SEGMENT@[19; 23) | 22 | PATH_SEGMENT@[19; 23) |
21 | WHITESPACE@[19; 20) | 23 | NAME_REF@[19; 23) |
22 | IDENT@[20; 23) "foo" | 24 | WHITESPACE@[19; 20) |
25 | IDENT@[20; 23) "foo" | ||
23 | COLONCOLON@[23; 25) | 26 | COLONCOLON@[23; 25) |
24 | L_CURLY@[25; 26) | 27 | L_CURLY@[25; 26) |
25 | USE_TREE@[26; 32) | 28 | USE_TREE@[26; 32) |
26 | PATH@[26; 28) | 29 | PATH@[26; 28) |
27 | PATH_SEGMENT@[26; 28) | 30 | PATH_SEGMENT@[26; 28) |
28 | IDENT@[26; 27) "a" | 31 | NAME_REF@[26; 28) |
29 | WHITESPACE@[27; 28) | 32 | IDENT@[26; 27) "a" |
33 | WHITESPACE@[27; 28) | ||
30 | ALIAS@[28; 32) | 34 | ALIAS@[28; 32) |
31 | AS_KW@[28; 30) | 35 | AS_KW@[28; 30) |
32 | WHITESPACE@[30; 31) | 36 | NAME@[30; 32) |
33 | IDENT@[31; 32) "b" | 37 | WHITESPACE@[30; 31) |
38 | IDENT@[31; 32) "b" | ||
34 | COMMA@[32; 33) | 39 | COMMA@[32; 33) |
35 | USE_TREE@[33; 35) | 40 | USE_TREE@[33; 35) |
36 | WHITESPACE@[33; 34) | 41 | WHITESPACE@[33; 34) |
@@ -46,12 +51,14 @@ FILE@[0; 55) | |||
46 | PATH_SEGMENT@[41; 48) | 51 | PATH_SEGMENT@[41; 48) |
47 | WHITESPACE@[41; 42) | 52 | WHITESPACE@[41; 42) |
48 | COLONCOLON@[42; 44) | 53 | COLONCOLON@[42; 44) |
49 | IDENT@[44; 47) "foo" | 54 | NAME_REF@[44; 48) |
50 | WHITESPACE@[47; 48) | 55 | IDENT@[44; 47) "foo" |
56 | WHITESPACE@[47; 48) | ||
51 | ALIAS@[48; 52) | 57 | ALIAS@[48; 52) |
52 | AS_KW@[48; 50) | 58 | AS_KW@[48; 50) |
53 | WHITESPACE@[50; 51) | 59 | NAME@[50; 52) |
54 | IDENT@[51; 52) "x" | 60 | WHITESPACE@[50; 51) |
61 | IDENT@[51; 52) "x" | ||
55 | R_CURLY@[52; 53) | 62 | R_CURLY@[52; 53) |
56 | SEMI@[53; 54) | 63 | SEMI@[53; 54) |
57 | WHITESPACE@[54; 55) | 64 | WHITESPACE@[54; 55) |