diff options
author | Aleksey Kladov <[email protected]> | 2018-08-24 17:27:30 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-24 17:27:30 +0100 |
commit | 7edab6ae6b4c5d0c411e88f10e923b91dca31de3 (patch) | |
tree | 4c17856285f568c56adb7c02024ef80e821dd367 /crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt | |
parent | 4d293003964c8f9fabadb1ceb77eab29c0438de3 (diff) |
nodes for blocks
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt | 131 |
1 files changed, 66 insertions, 65 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt b/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt index 0b6fa65df..e6e33cdbd 100644 --- a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt +++ b/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt | |||
@@ -5,69 +5,70 @@ FILE@[0; 74) | |||
5 | NAME@[7; 8) | 5 | NAME@[7; 8) |
6 | IDENT@[7; 8) "S" | 6 | IDENT@[7; 8) "S" |
7 | WHITESPACE@[8; 9) | 7 | WHITESPACE@[8; 9) |
8 | L_CURLY@[9; 10) | 8 | NAMED_FIELD_DEF_LIST@[9; 73) |
9 | WHITESPACE@[10; 15) | 9 | L_CURLY@[9; 10) |
10 | NAMED_FIELD@[15; 21) | 10 | WHITESPACE@[10; 15) |
11 | NAME@[15; 16) | 11 | NAMED_FIELD_DEF@[15; 21) |
12 | IDENT@[15; 16) "f" | 12 | NAME@[15; 16) |
13 | COLON@[16; 17) | 13 | IDENT@[15; 16) "f" |
14 | WHITESPACE@[17; 18) | 14 | COLON@[16; 17) |
15 | PATH_TYPE@[18; 21) | 15 | WHITESPACE@[17; 18) |
16 | PATH@[18; 21) | 16 | PATH_TYPE@[18; 21) |
17 | PATH_SEGMENT@[18; 21) | 17 | PATH@[18; 21) |
18 | NAME_REF@[18; 21) | 18 | PATH_SEGMENT@[18; 21) |
19 | IDENT@[18; 21) "u32" | 19 | NAME_REF@[18; 21) |
20 | COMMA@[21; 22) | 20 | IDENT@[18; 21) "u32" |
21 | WHITESPACE@[22; 27) | 21 | COMMA@[21; 22) |
22 | VISIBILITY@[27; 30) | 22 | WHITESPACE@[22; 27) |
23 | PUB_KW@[27; 30) | 23 | VISIBILITY@[27; 30) |
24 | WHITESPACE@[30; 31) | 24 | PUB_KW@[27; 30) |
25 | err: `expected field declaration` | 25 | WHITESPACE@[30; 31) |
26 | ERROR@[31; 33) | 26 | err: `expected field declaration` |
27 | INT_NUMBER@[31; 33) "92" | 27 | ERROR@[31; 33) |
28 | err: `expected COMMA` | 28 | INT_NUMBER@[31; 33) "92" |
29 | WHITESPACE@[33; 38) | 29 | err: `expected COMMA` |
30 | err: `expected field declaration` | 30 | WHITESPACE@[33; 38) |
31 | ERROR@[38; 39) | 31 | err: `expected field declaration` |
32 | PLUS@[38; 39) | 32 | ERROR@[38; 39) |
33 | err: `expected COMMA` | 33 | PLUS@[38; 39) |
34 | WHITESPACE@[39; 40) | 34 | err: `expected COMMA` |
35 | err: `expected field declaration` | 35 | WHITESPACE@[39; 40) |
36 | ERROR@[40; 41) | 36 | err: `expected field declaration` |
37 | MINUS@[40; 41) | 37 | ERROR@[40; 41) |
38 | err: `expected COMMA` | 38 | MINUS@[40; 41) |
39 | WHITESPACE@[41; 42) | 39 | err: `expected COMMA` |
40 | err: `expected field declaration` | 40 | WHITESPACE@[41; 42) |
41 | ERROR@[42; 43) | 41 | err: `expected field declaration` |
42 | STAR@[42; 43) | 42 | ERROR@[42; 43) |
43 | err: `expected COMMA` | 43 | STAR@[42; 43) |
44 | WHITESPACE@[43; 48) | 44 | err: `expected COMMA` |
45 | NAMED_FIELD@[48; 58) | 45 | WHITESPACE@[43; 48) |
46 | VISIBILITY@[48; 51) | 46 | NAMED_FIELD_DEF@[48; 58) |
47 | PUB_KW@[48; 51) | 47 | VISIBILITY@[48; 51) |
48 | WHITESPACE@[51; 52) | 48 | PUB_KW@[48; 51) |
49 | NAME@[52; 53) | 49 | WHITESPACE@[51; 52) |
50 | IDENT@[52; 53) "x" | 50 | NAME@[52; 53) |
51 | COLON@[53; 54) | 51 | IDENT@[52; 53) "x" |
52 | WHITESPACE@[54; 55) | 52 | COLON@[53; 54) |
53 | PATH_TYPE@[55; 58) | 53 | WHITESPACE@[54; 55) |
54 | PATH@[55; 58) | 54 | PATH_TYPE@[55; 58) |
55 | PATH_SEGMENT@[55; 58) | 55 | PATH@[55; 58) |
56 | NAME_REF@[55; 58) | 56 | PATH_SEGMENT@[55; 58) |
57 | IDENT@[55; 58) "u32" | 57 | NAME_REF@[55; 58) |
58 | COMMA@[58; 59) | 58 | IDENT@[55; 58) "u32" |
59 | WHITESPACE@[59; 64) | 59 | COMMA@[58; 59) |
60 | NAMED_FIELD@[64; 70) | 60 | WHITESPACE@[59; 64) |
61 | NAME@[64; 65) | 61 | NAMED_FIELD_DEF@[64; 70) |
62 | IDENT@[64; 65) "z" | 62 | NAME@[64; 65) |
63 | COLON@[65; 66) | 63 | IDENT@[64; 65) "z" |
64 | WHITESPACE@[66; 67) | 64 | COLON@[65; 66) |
65 | PATH_TYPE@[67; 70) | 65 | WHITESPACE@[66; 67) |
66 | PATH@[67; 70) | 66 | PATH_TYPE@[67; 70) |
67 | PATH_SEGMENT@[67; 70) | 67 | PATH@[67; 70) |
68 | NAME_REF@[67; 70) | 68 | PATH_SEGMENT@[67; 70) |
69 | IDENT@[67; 70) "f64" | 69 | NAME_REF@[67; 70) |
70 | COMMA@[70; 71) | 70 | IDENT@[67; 70) "f64" |
71 | WHITESPACE@[71; 72) | 71 | COMMA@[70; 71) |
72 | R_CURLY@[72; 73) | 72 | WHITESPACE@[71; 72) |
73 | R_CURLY@[72; 73) | ||
73 | WHITESPACE@[73; 74) | 74 | WHITESPACE@[73; 74) |