diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-02 20:20:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-02 20:20:24 +0100 |
commit | 7faec1c30046769d4ae490e15cf5405bcfbdeef8 (patch) | |
tree | 6d268b721027a5350928a6c5a0ec227b5fde8ebc /crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt | |
parent | a8397deab914240aca8f015fb3736689919c0a5b (diff) | |
parent | e94587e3153b52684fd3f6b82c8e7efc09ff5c8d (diff) |
Merge #1752
1752: Always wrap blocks into block expressions r=flodiebold a=matklad
This way, things like function bodies are expressions, and we don't have to single them out
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt | 499 |
1 files changed, 251 insertions, 248 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt b/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt index 136e2aae1..07a5fbf2d 100644 --- a/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt +++ b/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.txt | |||
@@ -10,251 +10,253 @@ SOURCE_FILE@[0; 395) | |||
10 | L_PAREN@[69; 70) "(" | 10 | L_PAREN@[69; 70) "(" |
11 | R_PAREN@[70; 71) ")" | 11 | R_PAREN@[70; 71) ")" |
12 | WHITESPACE@[71; 72) " " | 12 | WHITESPACE@[71; 72) " " |
13 | BLOCK@[72; 341) | 13 | BLOCK_EXPR@[72; 341) |
14 | L_CURLY@[72; 73) "{" | 14 | BLOCK@[72; 341) |
15 | WHITESPACE@[73; 78) "\n " | 15 | L_CURLY@[72; 73) "{" |
16 | EXPR_STMT@[78; 141) | 16 | WHITESPACE@[73; 78) "\n " |
17 | MATCH_EXPR@[78; 141) | 17 | EXPR_STMT@[78; 141) |
18 | MATCH_KW@[78; 83) "match" | 18 | MATCH_EXPR@[78; 141) |
19 | WHITESPACE@[83; 84) " " | 19 | MATCH_KW@[78; 83) "match" |
20 | CALL_EXPR@[84; 92) | 20 | WHITESPACE@[83; 84) " " |
21 | PATH_EXPR@[84; 88) | 21 | CALL_EXPR@[84; 92) |
22 | PATH@[84; 88) | 22 | PATH_EXPR@[84; 88) |
23 | PATH_SEGMENT@[84; 88) | 23 | PATH@[84; 88) |
24 | NAME_REF@[84; 88) | 24 | PATH_SEGMENT@[84; 88) |
25 | IDENT@[84; 88) "Some" | 25 | NAME_REF@[84; 88) |
26 | ARG_LIST@[88; 92) | 26 | IDENT@[84; 88) "Some" |
27 | L_PAREN@[88; 89) "(" | 27 | ARG_LIST@[88; 92) |
28 | PREFIX_EXPR@[89; 91) | 28 | L_PAREN@[88; 89) "(" |
29 | MINUS@[89; 90) "-" | 29 | PREFIX_EXPR@[89; 91) |
30 | LITERAL@[90; 91) | 30 | MINUS@[89; 90) "-" |
31 | INT_NUMBER@[90; 91) "1" | 31 | LITERAL@[90; 91) |
32 | R_PAREN@[91; 92) ")" | 32 | INT_NUMBER@[90; 91) "1" |
33 | WHITESPACE@[92; 93) " " | 33 | R_PAREN@[91; 92) ")" |
34 | MATCH_ARM_LIST@[93; 141) | 34 | WHITESPACE@[92; 93) " " |
35 | L_CURLY@[93; 94) "{" | 35 | MATCH_ARM_LIST@[93; 141) |
36 | WHITESPACE@[94; 103) "\n " | 36 | L_CURLY@[93; 94) "{" |
37 | MATCH_ARM@[103; 117) | 37 | WHITESPACE@[94; 103) "\n " |
38 | TUPLE_STRUCT_PAT@[103; 111) | 38 | MATCH_ARM@[103; 117) |
39 | PATH@[103; 107) | 39 | TUPLE_STRUCT_PAT@[103; 111) |
40 | PATH_SEGMENT@[103; 107) | 40 | PATH@[103; 107) |
41 | NAME_REF@[103; 107) | 41 | PATH_SEGMENT@[103; 107) |
42 | IDENT@[103; 107) "Some" | 42 | NAME_REF@[103; 107) |
43 | L_PAREN@[107; 108) "(" | 43 | IDENT@[103; 107) "Some" |
44 | LITERAL_PAT@[108; 110) | 44 | L_PAREN@[107; 108) "(" |
45 | MINUS@[108; 109) "-" | 45 | LITERAL_PAT@[108; 110) |
46 | LITERAL@[109; 110) | 46 | MINUS@[108; 109) "-" |
47 | INT_NUMBER@[109; 110) "1" | 47 | LITERAL@[109; 110) |
48 | R_PAREN@[110; 111) ")" | 48 | INT_NUMBER@[109; 110) "1" |
49 | WHITESPACE@[111; 112) " " | 49 | R_PAREN@[110; 111) ")" |
50 | FAT_ARROW@[112; 114) "=>" | 50 | WHITESPACE@[111; 112) " " |
51 | WHITESPACE@[114; 115) " " | 51 | FAT_ARROW@[112; 114) "=>" |
52 | TUPLE_EXPR@[115; 117) | 52 | WHITESPACE@[114; 115) " " |
53 | L_PAREN@[115; 116) "(" | 53 | TUPLE_EXPR@[115; 117) |
54 | R_PAREN@[116; 117) ")" | 54 | L_PAREN@[115; 116) "(" |
55 | COMMA@[117; 118) "," | 55 | R_PAREN@[116; 117) ")" |
56 | WHITESPACE@[118; 127) "\n " | 56 | COMMA@[117; 118) "," |
57 | MATCH_ARM@[127; 134) | 57 | WHITESPACE@[118; 127) "\n " |
58 | PLACEHOLDER_PAT@[127; 128) | 58 | MATCH_ARM@[127; 134) |
59 | UNDERSCORE@[127; 128) "_" | 59 | PLACEHOLDER_PAT@[127; 128) |
60 | WHITESPACE@[128; 129) " " | 60 | UNDERSCORE@[127; 128) "_" |
61 | FAT_ARROW@[129; 131) "=>" | 61 | WHITESPACE@[128; 129) " " |
62 | WHITESPACE@[131; 132) " " | 62 | FAT_ARROW@[129; 131) "=>" |
63 | TUPLE_EXPR@[132; 134) | 63 | WHITESPACE@[131; 132) " " |
64 | L_PAREN@[132; 133) "(" | 64 | TUPLE_EXPR@[132; 134) |
65 | R_PAREN@[133; 134) ")" | 65 | L_PAREN@[132; 133) "(" |
66 | COMMA@[134; 135) "," | 66 | R_PAREN@[133; 134) ")" |
67 | WHITESPACE@[135; 140) "\n " | 67 | COMMA@[134; 135) "," |
68 | R_CURLY@[140; 141) "}" | 68 | WHITESPACE@[135; 140) "\n " |
69 | WHITESPACE@[141; 147) "\n\n " | 69 | R_CURLY@[140; 141) "}" |
70 | EXPR_STMT@[147; 222) | 70 | WHITESPACE@[141; 147) "\n\n " |
71 | MATCH_EXPR@[147; 222) | 71 | EXPR_STMT@[147; 222) |
72 | MATCH_KW@[147; 152) "match" | 72 | MATCH_EXPR@[147; 222) |
73 | WHITESPACE@[152; 153) " " | 73 | MATCH_KW@[147; 152) "match" |
74 | CALL_EXPR@[153; 167) | 74 | WHITESPACE@[152; 153) " " |
75 | PATH_EXPR@[153; 157) | 75 | CALL_EXPR@[153; 167) |
76 | PATH@[153; 157) | 76 | PATH_EXPR@[153; 157) |
77 | PATH_SEGMENT@[153; 157) | 77 | PATH@[153; 157) |
78 | NAME_REF@[153; 157) | 78 | PATH_SEGMENT@[153; 157) |
79 | IDENT@[153; 157) "Some" | 79 | NAME_REF@[153; 157) |
80 | ARG_LIST@[157; 167) | 80 | IDENT@[153; 157) "Some" |
81 | L_PAREN@[157; 158) "(" | 81 | ARG_LIST@[157; 167) |
82 | TUPLE_EXPR@[158; 166) | 82 | L_PAREN@[157; 158) "(" |
83 | L_PAREN@[158; 159) "(" | 83 | TUPLE_EXPR@[158; 166) |
84 | PREFIX_EXPR@[159; 161) | 84 | L_PAREN@[158; 159) "(" |
85 | MINUS@[159; 160) "-" | 85 | PREFIX_EXPR@[159; 161) |
86 | LITERAL@[160; 161) | 86 | MINUS@[159; 160) "-" |
87 | INT_NUMBER@[160; 161) "1" | 87 | LITERAL@[160; 161) |
88 | COMMA@[161; 162) "," | 88 | INT_NUMBER@[160; 161) "1" |
89 | WHITESPACE@[162; 163) " " | 89 | COMMA@[161; 162) "," |
90 | PREFIX_EXPR@[163; 165) | 90 | WHITESPACE@[162; 163) " " |
91 | MINUS@[163; 164) "-" | 91 | PREFIX_EXPR@[163; 165) |
92 | LITERAL@[164; 165) | 92 | MINUS@[163; 164) "-" |
93 | INT_NUMBER@[164; 165) "1" | 93 | LITERAL@[164; 165) |
94 | R_PAREN@[165; 166) ")" | 94 | INT_NUMBER@[164; 165) "1" |
95 | R_PAREN@[166; 167) ")" | 95 | R_PAREN@[165; 166) ")" |
96 | WHITESPACE@[167; 168) " " | 96 | R_PAREN@[166; 167) ")" |
97 | MATCH_ARM_LIST@[168; 222) | 97 | WHITESPACE@[167; 168) " " |
98 | L_CURLY@[168; 169) "{" | 98 | MATCH_ARM_LIST@[168; 222) |
99 | WHITESPACE@[169; 178) "\n " | 99 | L_CURLY@[168; 169) "{" |
100 | MATCH_ARM@[178; 198) | 100 | WHITESPACE@[169; 178) "\n " |
101 | TUPLE_STRUCT_PAT@[178; 192) | 101 | MATCH_ARM@[178; 198) |
102 | PATH@[178; 182) | 102 | TUPLE_STRUCT_PAT@[178; 192) |
103 | PATH_SEGMENT@[178; 182) | 103 | PATH@[178; 182) |
104 | NAME_REF@[178; 182) | 104 | PATH_SEGMENT@[178; 182) |
105 | IDENT@[178; 182) "Some" | 105 | NAME_REF@[178; 182) |
106 | L_PAREN@[182; 183) "(" | 106 | IDENT@[178; 182) "Some" |
107 | TUPLE_PAT@[183; 191) | 107 | L_PAREN@[182; 183) "(" |
108 | L_PAREN@[183; 184) "(" | 108 | TUPLE_PAT@[183; 191) |
109 | LITERAL_PAT@[184; 186) | 109 | L_PAREN@[183; 184) "(" |
110 | MINUS@[184; 185) "-" | 110 | LITERAL_PAT@[184; 186) |
111 | LITERAL@[185; 186) | 111 | MINUS@[184; 185) "-" |
112 | INT_NUMBER@[185; 186) "1" | 112 | LITERAL@[185; 186) |
113 | COMMA@[186; 187) "," | 113 | INT_NUMBER@[185; 186) "1" |
114 | WHITESPACE@[187; 188) " " | 114 | COMMA@[186; 187) "," |
115 | LITERAL_PAT@[188; 190) | 115 | WHITESPACE@[187; 188) " " |
116 | MINUS@[188; 189) "-" | 116 | LITERAL_PAT@[188; 190) |
117 | LITERAL@[189; 190) | 117 | MINUS@[188; 189) "-" |
118 | INT_NUMBER@[189; 190) "1" | 118 | LITERAL@[189; 190) |
119 | R_PAREN@[190; 191) ")" | 119 | INT_NUMBER@[189; 190) "1" |
120 | R_PAREN@[191; 192) ")" | 120 | R_PAREN@[190; 191) ")" |
121 | WHITESPACE@[192; 193) " " | 121 | R_PAREN@[191; 192) ")" |
122 | FAT_ARROW@[193; 195) "=>" | 122 | WHITESPACE@[192; 193) " " |
123 | WHITESPACE@[195; 196) " " | 123 | FAT_ARROW@[193; 195) "=>" |
124 | TUPLE_EXPR@[196; 198) | 124 | WHITESPACE@[195; 196) " " |
125 | L_PAREN@[196; 197) "(" | 125 | TUPLE_EXPR@[196; 198) |
126 | R_PAREN@[197; 198) ")" | 126 | L_PAREN@[196; 197) "(" |
127 | COMMA@[198; 199) "," | 127 | R_PAREN@[197; 198) ")" |
128 | WHITESPACE@[199; 208) "\n " | 128 | COMMA@[198; 199) "," |
129 | MATCH_ARM@[208; 215) | 129 | WHITESPACE@[199; 208) "\n " |
130 | PLACEHOLDER_PAT@[208; 209) | 130 | MATCH_ARM@[208; 215) |
131 | UNDERSCORE@[208; 209) "_" | 131 | PLACEHOLDER_PAT@[208; 209) |
132 | WHITESPACE@[209; 210) " " | 132 | UNDERSCORE@[208; 209) "_" |
133 | FAT_ARROW@[210; 212) "=>" | 133 | WHITESPACE@[209; 210) " " |
134 | WHITESPACE@[212; 213) " " | 134 | FAT_ARROW@[210; 212) "=>" |
135 | TUPLE_EXPR@[213; 215) | 135 | WHITESPACE@[212; 213) " " |
136 | L_PAREN@[213; 214) "(" | 136 | TUPLE_EXPR@[213; 215) |
137 | R_PAREN@[214; 215) ")" | 137 | L_PAREN@[213; 214) "(" |
138 | COMMA@[215; 216) "," | 138 | R_PAREN@[214; 215) ")" |
139 | WHITESPACE@[216; 221) "\n " | 139 | COMMA@[215; 216) "," |
140 | R_CURLY@[221; 222) "}" | 140 | WHITESPACE@[216; 221) "\n " |
141 | WHITESPACE@[222; 228) "\n\n " | 141 | R_CURLY@[221; 222) "}" |
142 | EXPR_STMT@[228; 299) | 142 | WHITESPACE@[222; 228) "\n\n " |
143 | MATCH_EXPR@[228; 299) | 143 | EXPR_STMT@[228; 299) |
144 | MATCH_KW@[228; 233) "match" | 144 | MATCH_EXPR@[228; 299) |
145 | WHITESPACE@[233; 234) " " | 145 | MATCH_KW@[228; 233) "match" |
146 | CALL_EXPR@[234; 246) | 146 | WHITESPACE@[233; 234) " " |
147 | PATH_EXPR@[234; 238) | 147 | CALL_EXPR@[234; 246) |
148 | PATH@[234; 238) | 148 | PATH_EXPR@[234; 238) |
149 | PATH@[234; 235) | 149 | PATH@[234; 238) |
150 | PATH_SEGMENT@[234; 235) | 150 | PATH@[234; 235) |
151 | NAME_REF@[234; 235) | 151 | PATH_SEGMENT@[234; 235) |
152 | IDENT@[234; 235) "A" | 152 | NAME_REF@[234; 235) |
153 | COLONCOLON@[235; 237) "::" | 153 | IDENT@[234; 235) "A" |
154 | PATH_SEGMENT@[237; 238) | 154 | COLONCOLON@[235; 237) "::" |
155 | NAME_REF@[237; 238) | 155 | PATH_SEGMENT@[237; 238) |
156 | IDENT@[237; 238) "B" | 156 | NAME_REF@[237; 238) |
157 | ARG_LIST@[238; 246) | 157 | IDENT@[237; 238) "B" |
158 | L_PAREN@[238; 239) "(" | 158 | ARG_LIST@[238; 246) |
159 | PREFIX_EXPR@[239; 241) | 159 | L_PAREN@[238; 239) "(" |
160 | MINUS@[239; 240) "-" | 160 | PREFIX_EXPR@[239; 241) |
161 | LITERAL@[240; 241) | 161 | MINUS@[239; 240) "-" |
162 | INT_NUMBER@[240; 241) "1" | 162 | LITERAL@[240; 241) |
163 | COMMA@[241; 242) "," | 163 | INT_NUMBER@[240; 241) "1" |
164 | WHITESPACE@[242; 243) " " | 164 | COMMA@[241; 242) "," |
165 | PREFIX_EXPR@[243; 245) | 165 | WHITESPACE@[242; 243) " " |
166 | MINUS@[243; 244) "-" | 166 | PREFIX_EXPR@[243; 245) |
167 | LITERAL@[244; 245) | 167 | MINUS@[243; 244) "-" |
168 | INT_NUMBER@[244; 245) "1" | 168 | LITERAL@[244; 245) |
169 | R_PAREN@[245; 246) ")" | 169 | INT_NUMBER@[244; 245) "1" |
170 | WHITESPACE@[246; 247) " " | 170 | R_PAREN@[245; 246) ")" |
171 | MATCH_ARM_LIST@[247; 299) | 171 | WHITESPACE@[246; 247) " " |
172 | L_CURLY@[247; 248) "{" | 172 | MATCH_ARM_LIST@[247; 299) |
173 | WHITESPACE@[248; 257) "\n " | 173 | L_CURLY@[247; 248) "{" |
174 | MATCH_ARM@[257; 275) | 174 | WHITESPACE@[248; 257) "\n " |
175 | TUPLE_STRUCT_PAT@[257; 269) | 175 | MATCH_ARM@[257; 275) |
176 | PATH@[257; 261) | 176 | TUPLE_STRUCT_PAT@[257; 269) |
177 | PATH@[257; 258) | 177 | PATH@[257; 261) |
178 | PATH_SEGMENT@[257; 258) | 178 | PATH@[257; 258) |
179 | NAME_REF@[257; 258) | 179 | PATH_SEGMENT@[257; 258) |
180 | IDENT@[257; 258) "A" | 180 | NAME_REF@[257; 258) |
181 | COLONCOLON@[258; 260) "::" | 181 | IDENT@[257; 258) "A" |
182 | PATH_SEGMENT@[260; 261) | 182 | COLONCOLON@[258; 260) "::" |
183 | NAME_REF@[260; 261) | 183 | PATH_SEGMENT@[260; 261) |
184 | IDENT@[260; 261) "B" | 184 | NAME_REF@[260; 261) |
185 | L_PAREN@[261; 262) "(" | 185 | IDENT@[260; 261) "B" |
186 | LITERAL_PAT@[262; 264) | 186 | L_PAREN@[261; 262) "(" |
187 | MINUS@[262; 263) "-" | 187 | LITERAL_PAT@[262; 264) |
188 | LITERAL@[263; 264) | 188 | MINUS@[262; 263) "-" |
189 | INT_NUMBER@[263; 264) "1" | 189 | LITERAL@[263; 264) |
190 | COMMA@[264; 265) "," | 190 | INT_NUMBER@[263; 264) "1" |
191 | WHITESPACE@[265; 266) " " | 191 | COMMA@[264; 265) "," |
192 | LITERAL_PAT@[266; 268) | 192 | WHITESPACE@[265; 266) " " |
193 | MINUS@[266; 267) "-" | 193 | LITERAL_PAT@[266; 268) |
194 | LITERAL@[267; 268) | 194 | MINUS@[266; 267) "-" |
195 | INT_NUMBER@[267; 268) "1" | 195 | LITERAL@[267; 268) |
196 | R_PAREN@[268; 269) ")" | 196 | INT_NUMBER@[267; 268) "1" |
197 | WHITESPACE@[269; 270) " " | 197 | R_PAREN@[268; 269) ")" |
198 | FAT_ARROW@[270; 272) "=>" | 198 | WHITESPACE@[269; 270) " " |
199 | WHITESPACE@[272; 273) " " | 199 | FAT_ARROW@[270; 272) "=>" |
200 | TUPLE_EXPR@[273; 275) | 200 | WHITESPACE@[272; 273) " " |
201 | L_PAREN@[273; 274) "(" | 201 | TUPLE_EXPR@[273; 275) |
202 | R_PAREN@[274; 275) ")" | 202 | L_PAREN@[273; 274) "(" |
203 | COMMA@[275; 276) "," | 203 | R_PAREN@[274; 275) ")" |
204 | WHITESPACE@[276; 285) "\n " | 204 | COMMA@[275; 276) "," |
205 | MATCH_ARM@[285; 292) | 205 | WHITESPACE@[276; 285) "\n " |
206 | PLACEHOLDER_PAT@[285; 286) | 206 | MATCH_ARM@[285; 292) |
207 | UNDERSCORE@[285; 286) "_" | 207 | PLACEHOLDER_PAT@[285; 286) |
208 | WHITESPACE@[286; 287) " " | 208 | UNDERSCORE@[285; 286) "_" |
209 | FAT_ARROW@[287; 289) "=>" | 209 | WHITESPACE@[286; 287) " " |
210 | WHITESPACE@[289; 290) " " | 210 | FAT_ARROW@[287; 289) "=>" |
211 | TUPLE_EXPR@[290; 292) | 211 | WHITESPACE@[289; 290) " " |
212 | L_PAREN@[290; 291) "(" | 212 | TUPLE_EXPR@[290; 292) |
213 | R_PAREN@[291; 292) ")" | 213 | L_PAREN@[290; 291) "(" |
214 | COMMA@[292; 293) "," | 214 | R_PAREN@[291; 292) ")" |
215 | WHITESPACE@[293; 298) "\n " | 215 | COMMA@[292; 293) "," |
216 | R_CURLY@[298; 299) "}" | 216 | WHITESPACE@[293; 298) "\n " |
217 | WHITESPACE@[299; 305) "\n\n " | 217 | R_CURLY@[298; 299) "}" |
218 | IF_EXPR@[305; 339) | 218 | WHITESPACE@[299; 305) "\n\n " |
219 | IF_KW@[305; 307) "if" | 219 | IF_EXPR@[305; 339) |
220 | WHITESPACE@[307; 308) " " | 220 | IF_KW@[305; 307) "if" |
221 | CONDITION@[308; 331) | 221 | WHITESPACE@[307; 308) " " |
222 | LET_KW@[308; 311) "let" | 222 | CONDITION@[308; 331) |
223 | WHITESPACE@[311; 312) " " | 223 | LET_KW@[308; 311) "let" |
224 | TUPLE_STRUCT_PAT@[312; 320) | 224 | WHITESPACE@[311; 312) " " |
225 | PATH@[312; 316) | 225 | TUPLE_STRUCT_PAT@[312; 320) |
226 | PATH_SEGMENT@[312; 316) | 226 | PATH@[312; 316) |
227 | NAME_REF@[312; 316) | 227 | PATH_SEGMENT@[312; 316) |
228 | IDENT@[312; 316) "Some" | 228 | NAME_REF@[312; 316) |
229 | L_PAREN@[316; 317) "(" | 229 | IDENT@[312; 316) "Some" |
230 | LITERAL_PAT@[317; 319) | 230 | L_PAREN@[316; 317) "(" |
231 | MINUS@[317; 318) "-" | 231 | LITERAL_PAT@[317; 319) |
232 | LITERAL@[318; 319) | 232 | MINUS@[317; 318) "-" |
233 | INT_NUMBER@[318; 319) "1" | 233 | LITERAL@[318; 319) |
234 | R_PAREN@[319; 320) ")" | 234 | INT_NUMBER@[318; 319) "1" |
235 | WHITESPACE@[320; 321) " " | 235 | R_PAREN@[319; 320) ")" |
236 | EQ@[321; 322) "=" | 236 | WHITESPACE@[320; 321) " " |
237 | WHITESPACE@[322; 323) " " | 237 | EQ@[321; 322) "=" |
238 | CALL_EXPR@[323; 331) | 238 | WHITESPACE@[322; 323) " " |
239 | PATH_EXPR@[323; 327) | 239 | CALL_EXPR@[323; 331) |
240 | PATH@[323; 327) | 240 | PATH_EXPR@[323; 327) |
241 | PATH_SEGMENT@[323; 327) | 241 | PATH@[323; 327) |
242 | NAME_REF@[323; 327) | 242 | PATH_SEGMENT@[323; 327) |
243 | IDENT@[323; 327) "Some" | 243 | NAME_REF@[323; 327) |
244 | ARG_LIST@[327; 331) | 244 | IDENT@[323; 327) "Some" |
245 | L_PAREN@[327; 328) "(" | 245 | ARG_LIST@[327; 331) |
246 | PREFIX_EXPR@[328; 330) | 246 | L_PAREN@[327; 328) "(" |
247 | MINUS@[328; 329) "-" | 247 | PREFIX_EXPR@[328; 330) |
248 | LITERAL@[329; 330) | 248 | MINUS@[328; 329) "-" |
249 | INT_NUMBER@[329; 330) "1" | 249 | LITERAL@[329; 330) |
250 | R_PAREN@[330; 331) ")" | 250 | INT_NUMBER@[329; 330) "1" |
251 | WHITESPACE@[331; 332) " " | 251 | R_PAREN@[330; 331) ")" |
252 | BLOCK@[332; 339) | 252 | WHITESPACE@[331; 332) " " |
253 | L_CURLY@[332; 333) "{" | 253 | BLOCK_EXPR@[332; 339) |
254 | WHITESPACE@[333; 338) "\n " | 254 | BLOCK@[332; 339) |
255 | R_CURLY@[338; 339) "}" | 255 | L_CURLY@[332; 333) "{" |
256 | WHITESPACE@[339; 340) "\n" | 256 | WHITESPACE@[333; 338) "\n " |
257 | R_CURLY@[340; 341) "}" | 257 | R_CURLY@[338; 339) "}" |
258 | WHITESPACE@[339; 340) "\n" | ||
259 | R_CURLY@[340; 341) "}" | ||
258 | WHITESPACE@[341; 343) "\n\n" | 260 | WHITESPACE@[341; 343) "\n\n" |
259 | ENUM_DEF@[343; 367) | 261 | ENUM_DEF@[343; 367) |
260 | ENUM_KW@[343; 347) "enum" | 262 | ENUM_KW@[343; 347) "enum" |
@@ -314,7 +316,8 @@ SOURCE_FILE@[0; 395) | |||
314 | IDENT@[388; 390) "i8" | 316 | IDENT@[388; 390) "i8" |
315 | R_PAREN@[390; 391) ")" | 317 | R_PAREN@[390; 391) ")" |
316 | WHITESPACE@[391; 392) " " | 318 | WHITESPACE@[391; 392) " " |
317 | BLOCK@[392; 394) | 319 | BLOCK_EXPR@[392; 394) |
318 | L_CURLY@[392; 393) "{" | 320 | BLOCK@[392; 394) |
319 | R_CURLY@[393; 394) "}" | 321 | L_CURLY@[392; 393) "{" |
322 | R_CURLY@[393; 394) "}" | ||
320 | WHITESPACE@[394; 395) "\n" | 323 | WHITESPACE@[394; 395) "\n" |