diff options
author | Aleksey Kladov <[email protected]> | 2018-08-10 20:33:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-10 20:33:29 +0100 |
commit | 7c67612b8a894187fa3b64725531a5459f9211bf (patch) | |
tree | 9e2a536efa0c880d921fd8d4d74423afc9451fd4 /crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt | |
parent | 26262aaf05983c5b7f41cc438e287523268fe1eb (diff) |
organizize
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt b/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt new file mode 100644 index 000000000..079b0d1f6 --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt | |||
@@ -0,0 +1,60 @@ | |||
1 | FILE@[0; 54) | ||
2 | FUNCTION@[0; 31) | ||
3 | ATTR@[0; 18) | ||
4 | POUND@[0; 1) | ||
5 | L_BRACK@[1; 2) | ||
6 | META_ITEM@[2; 17) | ||
7 | IDENT@[2; 5) "foo" | ||
8 | L_PAREN@[5; 6) | ||
9 | META_ITEM@[6; 9) | ||
10 | IDENT@[6; 9) "foo" | ||
11 | COMMA@[9; 10) | ||
12 | WHITESPACE@[10; 11) | ||
13 | err: `expected attribute` | ||
14 | ERROR@[11; 12) | ||
15 | PLUS@[11; 12) | ||
16 | err: `expected attribute` | ||
17 | ERROR@[12; 13) | ||
18 | COMMA@[12; 13) | ||
19 | WHITESPACE@[13; 14) | ||
20 | LITERAL@[14; 16) | ||
21 | INT_NUMBER@[14; 16) "92" | ||
22 | R_PAREN@[16; 17) | ||
23 | R_BRACK@[17; 18) | ||
24 | WHITESPACE@[18; 19) | ||
25 | FN_KW@[19; 21) | ||
26 | WHITESPACE@[21; 22) | ||
27 | NAME@[22; 25) | ||
28 | IDENT@[22; 25) "foo" | ||
29 | PARAM_LIST@[25; 27) | ||
30 | L_PAREN@[25; 26) | ||
31 | R_PAREN@[26; 27) | ||
32 | WHITESPACE@[27; 28) | ||
33 | BLOCK_EXPR@[28; 31) | ||
34 | L_CURLY@[28; 29) | ||
35 | WHITESPACE@[29; 30) | ||
36 | R_CURLY@[30; 31) | ||
37 | WHITESPACE@[31; 34) | ||
38 | FUNCTION@[34; 53) | ||
39 | ATTR@[34; 40) | ||
40 | POUND@[34; 35) | ||
41 | L_BRACK@[35; 36) | ||
42 | META_ITEM@[36; 40) | ||
43 | IDENT@[36; 39) "foo" | ||
44 | L_PAREN@[39; 40) | ||
45 | err: `expected attribute` | ||
46 | err: `expected R_BRACK` | ||
47 | WHITESPACE@[40; 41) | ||
48 | FN_KW@[41; 43) | ||
49 | WHITESPACE@[43; 44) | ||
50 | NAME@[44; 47) | ||
51 | IDENT@[44; 47) "foo" | ||
52 | PARAM_LIST@[47; 49) | ||
53 | L_PAREN@[47; 48) | ||
54 | R_PAREN@[48; 49) | ||
55 | WHITESPACE@[49; 50) | ||
56 | BLOCK_EXPR@[50; 53) | ||
57 | L_CURLY@[50; 51) | ||
58 | WHITESPACE@[51; 52) | ||
59 | R_CURLY@[52; 53) | ||
60 | WHITESPACE@[53; 54) | ||