diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast new file mode 100644 index 000000000..cbd2d5fbf --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast | |||
@@ -0,0 +1,63 @@ | |||
1 | SOURCE_FILE@[0; 84) | ||
2 | FN_DEF@[0; 83) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK_EXPR@[9; 83) | ||
12 | BLOCK@[9; 83) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | MATCH_EXPR@[15; 81) | ||
16 | MATCH_KW@[15; 20) "match" | ||
17 | WHITESPACE@[20; 21) " " | ||
18 | TUPLE_EXPR@[21; 23) | ||
19 | L_PAREN@[21; 22) "(" | ||
20 | R_PAREN@[22; 23) ")" | ||
21 | WHITESPACE@[23; 24) " " | ||
22 | MATCH_ARM_LIST@[24; 81) | ||
23 | L_CURLY@[24; 25) "{" | ||
24 | WHITESPACE@[25; 34) "\n " | ||
25 | MATCH_ARM@[34; 41) | ||
26 | PLACEHOLDER_PAT@[34; 35) | ||
27 | UNDERSCORE@[34; 35) "_" | ||
28 | WHITESPACE@[35; 36) " " | ||
29 | FAT_ARROW@[36; 38) "=>" | ||
30 | WHITESPACE@[38; 39) " " | ||
31 | BLOCK_EXPR@[39; 41) | ||
32 | BLOCK@[39; 41) | ||
33 | L_CURLY@[39; 40) "{" | ||
34 | R_CURLY@[40; 41) "}" | ||
35 | WHITESPACE@[41; 50) "\n " | ||
36 | MATCH_ARM@[50; 58) | ||
37 | TUPLE_PAT@[50; 52) | ||
38 | L_PAREN@[50; 51) "(" | ||
39 | R_PAREN@[51; 52) ")" | ||
40 | WHITESPACE@[52; 53) " " | ||
41 | FAT_ARROW@[53; 55) "=>" | ||
42 | WHITESPACE@[55; 56) " " | ||
43 | BLOCK_EXPR@[56; 58) | ||
44 | BLOCK@[56; 58) | ||
45 | L_CURLY@[56; 57) "{" | ||
46 | R_CURLY@[57; 58) "}" | ||
47 | WHITESPACE@[58; 67) "\n " | ||
48 | MATCH_ARM@[67; 75) | ||
49 | SLICE_PAT@[67; 69) | ||
50 | L_BRACK@[67; 68) "[" | ||
51 | R_BRACK@[68; 69) "]" | ||
52 | WHITESPACE@[69; 70) " " | ||
53 | FAT_ARROW@[70; 72) "=>" | ||
54 | WHITESPACE@[72; 73) " " | ||
55 | BLOCK_EXPR@[73; 75) | ||
56 | BLOCK@[73; 75) | ||
57 | L_CURLY@[73; 74) "{" | ||
58 | R_CURLY@[74; 75) "}" | ||
59 | WHITESPACE@[75; 80) "\n " | ||
60 | R_CURLY@[80; 81) "}" | ||
61 | WHITESPACE@[81; 82) "\n" | ||
62 | R_CURLY@[82; 83) "}" | ||
63 | WHITESPACE@[83; 84) "\n" | ||