diff options
author | Aleksey Kladov <[email protected]> | 2018-02-03 09:05:25 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-03 09:05:57 +0000 |
commit | e5273d33d05196ca215db4b1c4e207328fa5df08 (patch) | |
tree | c7dc8cc7c4d8bfd21e64c5a946a23b2d00ca697e /tests/data/parser/ok/0025_const_item.txt | |
parent | 5e7504b978c9b1365e0381691ef453e97603defa (diff) |
G: const item
Diffstat (limited to 'tests/data/parser/ok/0025_const_item.txt')
-rw-r--r-- | tests/data/parser/ok/0025_const_item.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0025_const_item.txt b/tests/data/parser/ok/0025_const_item.txt new file mode 100644 index 000000000..588e001f5 --- /dev/null +++ b/tests/data/parser/ok/0025_const_item.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | FILE@[0; 46) | ||
2 | CONST_ITEM@[0; 21) | ||
3 | CONST_KW@[0; 5) | ||
4 | WHITESPACE@[5; 6) | ||
5 | IDENT@[6; 9) "FOO" | ||
6 | COLON@[9; 10) | ||
7 | WHITESPACE@[10; 11) | ||
8 | IDENT@[11; 14) "u32" | ||
9 | WHITESPACE@[14; 15) | ||
10 | EQ@[15; 16) | ||
11 | LITERAL@[16; 19) | ||
12 | WHITESPACE@[16; 17) | ||
13 | INT_NUMBER@[17; 19) | ||
14 | SEMI@[19; 20) | ||
15 | WHITESPACE@[20; 21) | ||
16 | CONST_ITEM@[21; 46) | ||
17 | CONST_KW@[21; 26) | ||
18 | WHITESPACE@[26; 27) | ||
19 | MUT_KW@[27; 30) | ||
20 | WHITESPACE@[30; 31) | ||
21 | IDENT@[31; 34) "BAR" | ||
22 | COLON@[34; 35) | ||
23 | WHITESPACE@[35; 36) | ||
24 | IDENT@[36; 39) "u32" | ||
25 | WHITESPACE@[39; 40) | ||
26 | EQ@[40; 41) | ||
27 | LITERAL@[41; 44) | ||
28 | WHITESPACE@[41; 42) | ||
29 | INT_NUMBER@[42; 44) | ||
30 | SEMI@[44; 45) | ||
31 | WHITESPACE@[45; 46) | ||