diff options
author | Aleksey Kladov <[email protected]> | 2018-02-10 11:17:38 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-10 11:17:38 +0000 |
commit | e792ec3eca6214329d053715a6477cc4f7a05672 (patch) | |
tree | 983d71dd78990607924edce788a0326db1bfad20 /tests/data/parser/ok/0015_use_tree.txt | |
parent | fa2131365e8ff2a6fa4fcb47aa04e6d51a32943e (diff) |
G: use name refs in paths
Diffstat (limited to 'tests/data/parser/ok/0015_use_tree.txt')
-rw-r--r-- | tests/data/parser/ok/0015_use_tree.txt | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/tests/data/parser/ok/0015_use_tree.txt b/tests/data/parser/ok/0015_use_tree.txt index 28f5f789e..2ba15bbee 100644 --- a/tests/data/parser/ok/0015_use_tree.txt +++ b/tests/data/parser/ok/0015_use_tree.txt | |||
@@ -4,9 +4,10 @@ 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 | NAME@[10; 14) | 13 | NAME@[10; 14) |
@@ -19,15 +20,17 @@ FILE@[0; 55) | |||
19 | USE_TREE@[19; 53) | 20 | USE_TREE@[19; 53) |
20 | PATH@[19; 23) | 21 | PATH@[19; 23) |
21 | PATH_SEGMENT@[19; 23) | 22 | PATH_SEGMENT@[19; 23) |
22 | WHITESPACE@[19; 20) | 23 | NAME_REF@[19; 23) |
23 | IDENT@[20; 23) "foo" | 24 | WHITESPACE@[19; 20) |
25 | IDENT@[20; 23) "foo" | ||
24 | COLONCOLON@[23; 25) | 26 | COLONCOLON@[23; 25) |
25 | L_CURLY@[25; 26) | 27 | L_CURLY@[25; 26) |
26 | USE_TREE@[26; 32) | 28 | USE_TREE@[26; 32) |
27 | PATH@[26; 28) | 29 | PATH@[26; 28) |
28 | PATH_SEGMENT@[26; 28) | 30 | PATH_SEGMENT@[26; 28) |
29 | IDENT@[26; 27) "a" | 31 | NAME_REF@[26; 28) |
30 | WHITESPACE@[27; 28) | 32 | IDENT@[26; 27) "a" |
33 | WHITESPACE@[27; 28) | ||
31 | ALIAS@[28; 32) | 34 | ALIAS@[28; 32) |
32 | AS_KW@[28; 30) | 35 | AS_KW@[28; 30) |
33 | NAME@[30; 32) | 36 | NAME@[30; 32) |
@@ -48,8 +51,9 @@ FILE@[0; 55) | |||
48 | PATH_SEGMENT@[41; 48) | 51 | PATH_SEGMENT@[41; 48) |
49 | WHITESPACE@[41; 42) | 52 | WHITESPACE@[41; 42) |
50 | COLONCOLON@[42; 44) | 53 | COLONCOLON@[42; 44) |
51 | IDENT@[44; 47) "foo" | 54 | NAME_REF@[44; 48) |
52 | WHITESPACE@[47; 48) | 55 | IDENT@[44; 47) "foo" |
56 | WHITESPACE@[47; 48) | ||
53 | ALIAS@[48; 52) | 57 | ALIAS@[48; 52) |
54 | AS_KW@[48; 50) | 58 | AS_KW@[48; 50) |
55 | NAME@[50; 52) | 59 | NAME@[50; 52) |