diff options
author | Aleksey Kladov <[email protected]> | 2018-02-10 21:46:17 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-10 21:46:28 +0000 |
commit | b097090690f5edbe03f4aa9d042ba26c123699e4 (patch) | |
tree | 5bac76244148ce5b368bc8cb83a05cc184c452a7 /tests/data/parser/ok/0024_const_item.txt | |
parent | b814d931514cdc250f9156dabd874edf685569d0 (diff) |
G: more types
Diffstat (limited to 'tests/data/parser/ok/0024_const_item.txt')
-rw-r--r-- | tests/data/parser/ok/0024_const_item.txt | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tests/data/parser/ok/0024_const_item.txt b/tests/data/parser/ok/0024_const_item.txt index 0f31d19d3..e37150ee4 100644 --- a/tests/data/parser/ok/0024_const_item.txt +++ b/tests/data/parser/ok/0024_const_item.txt | |||
@@ -5,9 +5,13 @@ FILE@[0; 46) | |||
5 | WHITESPACE@[5; 6) | 5 | WHITESPACE@[5; 6) |
6 | IDENT@[6; 9) "FOO" | 6 | IDENT@[6; 9) "FOO" |
7 | COLON@[9; 10) | 7 | COLON@[9; 10) |
8 | WHITESPACE@[10; 11) | 8 | PATH_TYPE@[10; 15) |
9 | IDENT@[11; 14) "u32" | 9 | PATH@[10; 15) |
10 | WHITESPACE@[14; 15) | 10 | PATH_SEGMENT@[10; 15) |
11 | NAME_REF@[10; 15) | ||
12 | WHITESPACE@[10; 11) | ||
13 | IDENT@[11; 14) "u32" | ||
14 | WHITESPACE@[14; 15) | ||
11 | EQ@[15; 16) | 15 | EQ@[15; 16) |
12 | LITERAL@[16; 19) | 16 | LITERAL@[16; 19) |
13 | WHITESPACE@[16; 17) | 17 | WHITESPACE@[16; 17) |
@@ -22,9 +26,13 @@ FILE@[0; 46) | |||
22 | WHITESPACE@[30; 31) | 26 | WHITESPACE@[30; 31) |
23 | IDENT@[31; 34) "BAR" | 27 | IDENT@[31; 34) "BAR" |
24 | COLON@[34; 35) | 28 | COLON@[34; 35) |
25 | WHITESPACE@[35; 36) | 29 | PATH_TYPE@[35; 40) |
26 | IDENT@[36; 39) "u32" | 30 | PATH@[35; 40) |
27 | WHITESPACE@[39; 40) | 31 | PATH_SEGMENT@[35; 40) |
32 | NAME_REF@[35; 40) | ||
33 | WHITESPACE@[35; 36) | ||
34 | IDENT@[36; 39) "u32" | ||
35 | WHITESPACE@[39; 40) | ||
28 | EQ@[40; 41) | 36 | EQ@[40; 41) |
29 | LITERAL@[41; 44) | 37 | LITERAL@[41; 44) |
30 | WHITESPACE@[41; 42) | 38 | WHITESPACE@[41; 42) |