diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast b/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast new file mode 100644 index 000000000..efcd89c4c --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast | |||
@@ -0,0 +1,60 @@ | |||
1 | SOURCE_FILE@[0; 83) | ||
2 | FN_DEF@[0; 82) | ||
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; 82) | ||
12 | BLOCK@[9; 82) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | MATCH_EXPR@[15; 80) | ||
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; 80) | ||
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 | TUPLE_EXPR@[39; 41) | ||
32 | L_PAREN@[39; 40) "(" | ||
33 | R_PAREN@[40; 41) ")" | ||
34 | COMMA@[41; 42) "," | ||
35 | WHITESPACE@[42; 51) "\n " | ||
36 | MATCH_ARM@[51; 58) | ||
37 | PLACEHOLDER_PAT@[51; 52) | ||
38 | UNDERSCORE@[51; 52) "_" | ||
39 | WHITESPACE@[52; 53) " " | ||
40 | FAT_ARROW@[53; 55) "=>" | ||
41 | WHITESPACE@[55; 56) " " | ||
42 | BLOCK_EXPR@[56; 58) | ||
43 | BLOCK@[56; 58) | ||
44 | L_CURLY@[56; 57) "{" | ||
45 | R_CURLY@[57; 58) "}" | ||
46 | WHITESPACE@[58; 67) "\n " | ||
47 | MATCH_ARM@[67; 74) | ||
48 | PLACEHOLDER_PAT@[67; 68) | ||
49 | UNDERSCORE@[67; 68) "_" | ||
50 | WHITESPACE@[68; 69) " " | ||
51 | FAT_ARROW@[69; 71) "=>" | ||
52 | WHITESPACE@[71; 72) " " | ||
53 | TUPLE_EXPR@[72; 74) | ||
54 | L_PAREN@[72; 73) "(" | ||
55 | R_PAREN@[73; 74) ")" | ||
56 | WHITESPACE@[74; 79) "\n " | ||
57 | R_CURLY@[79; 80) "}" | ||
58 | WHITESPACE@[80; 81) "\n" | ||
59 | R_CURLY@[81; 82) "}" | ||
60 | WHITESPACE@[82; 83) "\n" | ||