diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast b/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast new file mode 100644 index 000000000..640e0640f --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast | |||
@@ -0,0 +1,81 @@ | |||
1 | SOURCE_FILE@[0; 139) | ||
2 | FN_DEF@[0; 138) | ||
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; 138) | ||
12 | BLOCK@[9; 138) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | MATCH_EXPR@[15; 136) | ||
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; 136) | ||
23 | L_CURLY@[24; 25) "{" | ||
24 | WHITESPACE@[25; 34) "\n " | ||
25 | ATTR@[34; 60) | ||
26 | POUND@[34; 35) "#" | ||
27 | EXCL@[35; 36) "!" | ||
28 | L_BRACK@[36; 37) "[" | ||
29 | PATH@[37; 40) | ||
30 | PATH_SEGMENT@[37; 40) | ||
31 | NAME_REF@[37; 40) | ||
32 | IDENT@[37; 40) "doc" | ||
33 | TOKEN_TREE@[40; 59) | ||
34 | L_PAREN@[40; 41) "(" | ||
35 | STRING@[41; 58) "\"Inner attribute\"" | ||
36 | R_PAREN@[58; 59) ")" | ||
37 | R_BRACK@[59; 60) "]" | ||
38 | WHITESPACE@[60; 69) "\n " | ||
39 | ATTR@[69; 86) | ||
40 | POUND@[69; 70) "#" | ||
41 | EXCL@[70; 71) "!" | ||
42 | L_BRACK@[71; 72) "[" | ||
43 | PATH@[72; 75) | ||
44 | PATH_SEGMENT@[72; 75) | ||
45 | NAME_REF@[72; 75) | ||
46 | IDENT@[72; 75) "doc" | ||
47 | TOKEN_TREE@[75; 85) | ||
48 | L_PAREN@[75; 76) "(" | ||
49 | STRING@[76; 84) "\"Can be\"" | ||
50 | R_PAREN@[84; 85) ")" | ||
51 | R_BRACK@[85; 86) "]" | ||
52 | WHITESPACE@[86; 95) "\n " | ||
53 | ATTR@[95; 113) | ||
54 | POUND@[95; 96) "#" | ||
55 | EXCL@[96; 97) "!" | ||
56 | L_BRACK@[97; 98) "[" | ||
57 | PATH@[98; 101) | ||
58 | PATH_SEGMENT@[98; 101) | ||
59 | NAME_REF@[98; 101) | ||
60 | IDENT@[98; 101) "doc" | ||
61 | TOKEN_TREE@[101; 112) | ||
62 | L_PAREN@[101; 102) "(" | ||
63 | STRING@[102; 111) "\"Stacked\"" | ||
64 | R_PAREN@[111; 112) ")" | ||
65 | R_BRACK@[112; 113) "]" | ||
66 | WHITESPACE@[113; 122) "\n " | ||
67 | MATCH_ARM@[122; 129) | ||
68 | PLACEHOLDER_PAT@[122; 123) | ||
69 | UNDERSCORE@[122; 123) "_" | ||
70 | WHITESPACE@[123; 124) " " | ||
71 | FAT_ARROW@[124; 126) "=>" | ||
72 | WHITESPACE@[126; 127) " " | ||
73 | TUPLE_EXPR@[127; 129) | ||
74 | L_PAREN@[127; 128) "(" | ||
75 | R_PAREN@[128; 129) ")" | ||
76 | COMMA@[129; 130) "," | ||
77 | WHITESPACE@[130; 135) "\n " | ||
78 | R_CURLY@[135; 136) "}" | ||
79 | WHITESPACE@[136; 137) "\n" | ||
80 | R_CURLY@[137; 138) "}" | ||
81 | WHITESPACE@[138; 139) "\n" | ||