diff options
author | Aleksey Kladov <[email protected]> | 2018-01-07 18:40:18 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-07 18:40:18 +0000 |
commit | 7bc974ab2c29f896a0d9ca952ad306a9ed38f6f2 (patch) | |
tree | 2c39c8dcde0080a065ef0e8d59e5c4147b330a2b /tests | |
parent | 5562931e4f3c6c57e9122c3ce34d941fb1ff6e5b (diff) |
G: some attributes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/parser/ok/0006_inner_attributes.txt | 58 |
1 files changed, 36 insertions, 22 deletions
diff --git a/tests/data/parser/ok/0006_inner_attributes.txt b/tests/data/parser/ok/0006_inner_attributes.txt index c837979d1..a19d2f49c 100644 --- a/tests/data/parser/ok/0006_inner_attributes.txt +++ b/tests/data/parser/ok/0006_inner_attributes.txt | |||
@@ -1,44 +1,58 @@ | |||
1 | FILE@[0; 236) | 1 | FILE@[0; 236) |
2 | ERROR@[0; 236) | 2 | ATTR@[0; 9) |
3 | err: `expected item` | ||
4 | POUND@[0; 1) | 3 | POUND@[0; 1) |
5 | EXCL@[1; 2) | 4 | EXCL@[1; 2) |
6 | L_BRACK@[2; 3) | 5 | L_BRACK@[2; 3) |
7 | IDENT@[3; 7) | 6 | META_ITEM@[3; 7) |
7 | IDENT@[3; 7) | ||
8 | R_BRACK@[7; 8) | 8 | R_BRACK@[7; 8) |
9 | WHITESPACE@[8; 9) | 9 | WHITESPACE@[8; 9) |
10 | ATTR@[9; 24) | ||
10 | POUND@[9; 10) | 11 | POUND@[9; 10) |
11 | EXCL@[10; 11) | 12 | EXCL@[10; 11) |
12 | L_BRACK@[11; 12) | 13 | L_BRACK@[11; 12) |
13 | IDENT@[12; 16) | 14 | META_ITEM@[12; 22) |
14 | L_PAREN@[16; 17) | 15 | IDENT@[12; 16) |
15 | IDENT@[17; 21) | 16 | L_PAREN@[16; 17) |
16 | R_PAREN@[21; 22) | 17 | META_ITEM@[17; 21) |
18 | IDENT@[17; 21) | ||
19 | R_PAREN@[21; 22) | ||
17 | R_BRACK@[22; 23) | 20 | R_BRACK@[22; 23) |
18 | WHITESPACE@[23; 24) | 21 | WHITESPACE@[23; 24) |
22 | ATTR@[24; 40) | ||
19 | POUND@[24; 25) | 23 | POUND@[24; 25) |
20 | EXCL@[25; 26) | 24 | EXCL@[25; 26) |
21 | L_BRACK@[26; 27) | 25 | L_BRACK@[26; 27) |
22 | IDENT@[27; 31) | 26 | META_ITEM@[27; 38) |
23 | L_PAREN@[31; 32) | 27 | IDENT@[27; 31) |
24 | IDENT@[32; 37) | 28 | L_PAREN@[31; 32) |
25 | R_PAREN@[37; 38) | 29 | META_ITEM@[32; 37) |
30 | IDENT@[32; 37) | ||
31 | R_PAREN@[37; 38) | ||
26 | R_BRACK@[38; 39) | 32 | R_BRACK@[38; 39) |
27 | WHITESPACE@[39; 40) | 33 | WHITESPACE@[39; 40) |
34 | ATTR@[40; 66) | ||
28 | POUND@[40; 41) | 35 | POUND@[40; 41) |
29 | EXCL@[41; 42) | 36 | EXCL@[41; 42) |
30 | L_BRACK@[42; 43) | 37 | L_BRACK@[42; 43) |
31 | IDENT@[43; 47) | 38 | META_ITEM@[43; 66) |
32 | L_PAREN@[47; 48) | 39 | IDENT@[43; 47) |
33 | IDENT@[48; 53) | 40 | L_PAREN@[47; 48) |
34 | COMMA@[53; 54) | 41 | META_ITEM@[48; 53) |
35 | WHITESPACE@[54; 55) | 42 | IDENT@[48; 53) |
36 | INT_NUMBER@[55; 58) | 43 | COMMA@[53; 54) |
37 | COMMA@[58; 59) | 44 | WHITESPACE@[54; 55) |
38 | WHITESPACE@[59; 60) | 45 | INT_NUMBER@[55; 58) |
39 | IDENT@[60; 64) | 46 | COMMA@[58; 59) |
40 | COMMA@[64; 65) | 47 | META_ITEM@[59; 64) |
41 | WHITESPACE@[65; 66) | 48 | WHITESPACE@[59; 60) |
49 | IDENT@[60; 64) | ||
50 | COMMA@[64; 65) | ||
51 | err: `expected R_PAREN` | ||
52 | WHITESPACE@[65; 66) | ||
53 | err: `expected R_BRACK` | ||
54 | ERROR@[66; 236) | ||
55 | err: `expected item` | ||
42 | STRING@[66; 72) | 56 | STRING@[66; 72) |
43 | COMMA@[72; 73) | 57 | COMMA@[72; 73) |
44 | WHITESPACE@[73; 74) | 58 | WHITESPACE@[73; 74) |