diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast b/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast new file mode 100644 index 000000000..775e4b0da --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast | |||
@@ -0,0 +1,44 @@ | |||
1 | SOURCE_FILE@[0; 94) | ||
2 | FN_DEF@[0; 55) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) "(" | ||
9 | R_PAREN@[8; 9) ")" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | BLOCK_EXPR@[10; 55) | ||
12 | BLOCK@[10; 55) | ||
13 | L_CURLY@[10; 11) "{" | ||
14 | WHITESPACE@[11; 16) "\n " | ||
15 | MACRO_CALL@[16; 49) | ||
16 | PATH@[16; 19) | ||
17 | PATH_SEGMENT@[16; 19) | ||
18 | NAME_REF@[16; 19) | ||
19 | IDENT@[16; 19) "foo" | ||
20 | EXCL@[19; 20) "!" | ||
21 | WHITESPACE@[20; 21) " " | ||
22 | TOKEN_TREE@[21; 49) | ||
23 | L_PAREN@[21; 22) "(" | ||
24 | WHITESPACE@[22; 31) "\n " | ||
25 | IDENT@[31; 34) "bar" | ||
26 | COMMA@[34; 35) "," | ||
27 | WHITESPACE@[35; 36) " " | ||
28 | STRING@[36; 41) "\"baz\"" | ||
29 | COMMA@[41; 42) "," | ||
30 | WHITESPACE@[42; 43) " " | ||
31 | INT_NUMBER@[43; 44) "1" | ||
32 | COMMA@[44; 45) "," | ||
33 | WHITESPACE@[45; 46) " " | ||
34 | FLOAT_NUMBER@[46; 49) "2.0" | ||
35 | WHITESPACE@[49; 54) "\n " | ||
36 | R_CURLY@[54; 55) "}" | ||
37 | WHITESPACE@[55; 56) " " | ||
38 | COMMENT@[56; 91) "//~ ERROR incorrect c ..." | ||
39 | WHITESPACE@[91; 92) "\n" | ||
40 | ERROR@[92; 93) | ||
41 | R_CURLY@[92; 93) "}" | ||
42 | WHITESPACE@[93; 94) "\n" | ||
43 | error [49; 49): unmatched `}` | ||
44 | error [92; 92): unmatched `}` | ||