diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt | 250 |
1 files changed, 0 insertions, 250 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt b/crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt deleted file mode 100644 index cf9a1a2fa..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt +++ /dev/null | |||
@@ -1,250 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 350) | ||
2 | MACRO_CALL@[0; 41) | ||
3 | PATH@[0; 5) | ||
4 | PATH_SEGMENT@[0; 5) | ||
5 | NAME_REF@[0; 5) | ||
6 | IDENT@[0; 5) "macro" | ||
7 | err: `expected EXCL` | ||
8 | WHITESPACE@[5; 6) | ||
9 | IDENT@[6; 21) "parse_use_trees" | ||
10 | TOKEN_TREE@[21; 41) | ||
11 | L_PAREN@[21; 22) | ||
12 | DOLLAR@[22; 23) | ||
13 | TOKEN_TREE@[23; 32) | ||
14 | L_PAREN@[23; 24) | ||
15 | DOLLAR@[24; 25) | ||
16 | IDENT@[25; 26) "s" | ||
17 | COLON@[26; 27) | ||
18 | IDENT@[27; 31) "expr" | ||
19 | R_PAREN@[31; 32) | ||
20 | COMMA@[32; 33) | ||
21 | STAR@[33; 34) | ||
22 | WHITESPACE@[34; 35) | ||
23 | DOLLAR@[35; 36) | ||
24 | TOKEN_TREE@[36; 39) | ||
25 | L_PAREN@[36; 37) | ||
26 | COMMA@[37; 38) | ||
27 | R_PAREN@[38; 39) | ||
28 | STAR@[39; 40) | ||
29 | R_PAREN@[40; 41) | ||
30 | err: `expected SEMI` | ||
31 | WHITESPACE@[41; 42) | ||
32 | err: `expected an item` | ||
33 | ERROR@[42; 93) | ||
34 | L_CURLY@[42; 43) | ||
35 | WHITESPACE@[43; 48) | ||
36 | IDENT@[48; 51) "vec" | ||
37 | EXCL@[51; 52) | ||
38 | L_BRACK@[52; 53) | ||
39 | WHITESPACE@[53; 62) | ||
40 | DOLLAR@[62; 63) | ||
41 | L_PAREN@[63; 64) | ||
42 | IDENT@[64; 78) "parse_use_tree" | ||
43 | L_PAREN@[78; 79) | ||
44 | DOLLAR@[79; 80) | ||
45 | IDENT@[80; 81) "s" | ||
46 | R_PAREN@[81; 82) | ||
47 | COMMA@[82; 83) | ||
48 | R_PAREN@[83; 84) | ||
49 | STAR@[84; 85) | ||
50 | WHITESPACE@[85; 90) | ||
51 | R_BRACK@[90; 91) | ||
52 | WHITESPACE@[91; 92) | ||
53 | R_CURLY@[92; 93) | ||
54 | WHITESPACE@[93; 95) | ||
55 | FN_DEF@[95; 348) | ||
56 | ATTR@[95; 102) | ||
57 | POUND@[95; 96) | ||
58 | TOKEN_TREE@[96; 102) | ||
59 | L_BRACK@[96; 97) | ||
60 | IDENT@[97; 101) "test" | ||
61 | R_BRACK@[101; 102) | ||
62 | WHITESPACE@[102; 103) | ||
63 | FN_KW@[103; 105) | ||
64 | WHITESPACE@[105; 106) | ||
65 | NAME@[106; 125) | ||
66 | IDENT@[106; 125) "test_use_tree_merge" | ||
67 | PARAM_LIST@[125; 127) | ||
68 | L_PAREN@[125; 126) | ||
69 | R_PAREN@[126; 127) | ||
70 | WHITESPACE@[127; 128) | ||
71 | BLOCK@[128; 348) | ||
72 | L_CURLY@[128; 129) | ||
73 | WHITESPACE@[129; 134) | ||
74 | EXPR_STMT@[134; 139) | ||
75 | PATH_EXPR@[134; 139) | ||
76 | PATH@[134; 139) | ||
77 | PATH_SEGMENT@[134; 139) | ||
78 | NAME_REF@[134; 139) | ||
79 | IDENT@[134; 139) "macro" | ||
80 | err: `expected SEMI` | ||
81 | WHITESPACE@[139; 140) | ||
82 | EXPR_STMT@[140; 203) | ||
83 | CALL_EXPR@[140; 203) | ||
84 | PATH_EXPR@[140; 150) | ||
85 | PATH@[140; 150) | ||
86 | PATH_SEGMENT@[140; 150) | ||
87 | NAME_REF@[140; 150) | ||
88 | IDENT@[140; 150) "test_merge" | ||
89 | ARG_LIST@[150; 203) | ||
90 | L_PAREN@[150; 151) | ||
91 | ARRAY_EXPR@[151; 202) | ||
92 | L_BRACK@[151; 152) | ||
93 | err: `expected expression` | ||
94 | ERROR@[152; 153) | ||
95 | DOLLAR@[152; 153) | ||
96 | err: `expected COMMA` | ||
97 | TUPLE_EXPR@[153; 166) | ||
98 | L_PAREN@[153; 154) | ||
99 | err: `expected expression` | ||
100 | ERROR@[154; 155) | ||
101 | DOLLAR@[154; 155) | ||
102 | err: `expected COMMA` | ||
103 | PATH_EXPR@[155; 160) | ||
104 | PATH@[155; 160) | ||
105 | PATH_SEGMENT@[155; 160) | ||
106 | NAME_REF@[155; 160) | ||
107 | IDENT@[155; 160) "input" | ||
108 | err: `expected COMMA` | ||
109 | err: `expected expression` | ||
110 | ERROR@[160; 161) | ||
111 | COLON@[160; 161) | ||
112 | err: `expected COMMA` | ||
113 | PATH_EXPR@[161; 165) | ||
114 | PATH@[161; 165) | ||
115 | PATH_SEGMENT@[161; 165) | ||
116 | NAME_REF@[161; 165) | ||
117 | IDENT@[161; 165) "expr" | ||
118 | R_PAREN@[165; 166) | ||
119 | COMMA@[166; 167) | ||
120 | PREFIX_EXPR@[167; 170) | ||
121 | STAR@[167; 168) | ||
122 | WHITESPACE@[168; 169) | ||
123 | err: `expected expression` | ||
124 | ERROR@[169; 170) | ||
125 | DOLLAR@[169; 170) | ||
126 | err: `expected COMMA` | ||
127 | BIN_EXPR@[170; 175) | ||
128 | PAREN_EXPR@[170; 173) | ||
129 | L_PAREN@[170; 171) | ||
130 | err: `expected expression` | ||
131 | ERROR@[171; 172) | ||
132 | COMMA@[171; 172) | ||
133 | R_PAREN@[172; 173) | ||
134 | STAR@[173; 174) | ||
135 | err: `expected expression` | ||
136 | ERROR@[174; 175) | ||
137 | R_BRACK@[174; 175) | ||
138 | COMMA@[175; 176) | ||
139 | WHITESPACE@[176; 177) | ||
140 | ARRAY_EXPR@[177; 202) | ||
141 | L_BRACK@[177; 178) | ||
142 | err: `expected expression` | ||
143 | ERROR@[178; 179) | ||
144 | DOLLAR@[178; 179) | ||
145 | err: `expected COMMA` | ||
146 | TUPLE_EXPR@[179; 193) | ||
147 | L_PAREN@[179; 180) | ||
148 | err: `expected expression` | ||
149 | ERROR@[180; 181) | ||
150 | DOLLAR@[180; 181) | ||
151 | err: `expected COMMA` | ||
152 | PATH_EXPR@[181; 187) | ||
153 | PATH@[181; 187) | ||
154 | PATH_SEGMENT@[181; 187) | ||
155 | NAME_REF@[181; 187) | ||
156 | IDENT@[181; 187) "output" | ||
157 | err: `expected COMMA` | ||
158 | err: `expected expression` | ||
159 | ERROR@[187; 188) | ||
160 | COLON@[187; 188) | ||
161 | err: `expected COMMA` | ||
162 | PATH_EXPR@[188; 192) | ||
163 | PATH@[188; 192) | ||
164 | PATH_SEGMENT@[188; 192) | ||
165 | NAME_REF@[188; 192) | ||
166 | IDENT@[188; 192) "expr" | ||
167 | R_PAREN@[192; 193) | ||
168 | COMMA@[193; 194) | ||
169 | PREFIX_EXPR@[194; 197) | ||
170 | STAR@[194; 195) | ||
171 | WHITESPACE@[195; 196) | ||
172 | err: `expected expression` | ||
173 | ERROR@[196; 197) | ||
174 | DOLLAR@[196; 197) | ||
175 | err: `expected COMMA` | ||
176 | BIN_EXPR@[197; 202) | ||
177 | PAREN_EXPR@[197; 200) | ||
178 | L_PAREN@[197; 198) | ||
179 | err: `expected expression` | ||
180 | ERROR@[198; 199) | ||
181 | COMMA@[198; 199) | ||
182 | R_PAREN@[199; 200) | ||
183 | STAR@[200; 201) | ||
184 | err: `expected expression` | ||
185 | ERROR@[201; 202) | ||
186 | R_BRACK@[201; 202) | ||
187 | err: `expected COMMA` | ||
188 | err: `expected expression` | ||
189 | err: `expected R_BRACK` | ||
190 | err: `expected COMMA` | ||
191 | err: `expected expression` | ||
192 | err: `expected R_BRACK` | ||
193 | R_PAREN@[202; 203) | ||
194 | err: `expected SEMI` | ||
195 | WHITESPACE@[203; 204) | ||
196 | BLOCK_EXPR@[204; 346) | ||
197 | BLOCK@[204; 346) | ||
198 | L_CURLY@[204; 205) | ||
199 | WHITESPACE@[205; 214) | ||
200 | EXPR_STMT@[214; 340) | ||
201 | MACRO_CALL@[214; 339) | ||
202 | PATH@[214; 223) | ||
203 | PATH_SEGMENT@[214; 223) | ||
204 | NAME_REF@[214; 223) | ||
205 | IDENT@[214; 223) "assert_eq" | ||
206 | EXCL@[223; 224) | ||
207 | TOKEN_TREE@[224; 339) | ||
208 | L_PAREN@[224; 225) | ||
209 | WHITESPACE@[225; 238) | ||
210 | IDENT@[238; 253) "merge_use_trees" | ||
211 | TOKEN_TREE@[253; 284) | ||
212 | L_PAREN@[253; 254) | ||
213 | IDENT@[254; 269) "parse_use_trees" | ||
214 | EXCL@[269; 270) | ||
215 | TOKEN_TREE@[270; 283) | ||
216 | L_PAREN@[270; 271) | ||
217 | DOLLAR@[271; 272) | ||
218 | TOKEN_TREE@[272; 281) | ||
219 | L_PAREN@[272; 273) | ||
220 | DOLLAR@[273; 274) | ||
221 | IDENT@[274; 279) "input" | ||
222 | COMMA@[279; 280) | ||
223 | R_PAREN@[280; 281) | ||
224 | STAR@[281; 282) | ||
225 | R_PAREN@[282; 283) | ||
226 | R_PAREN@[283; 284) | ||
227 | COMMA@[284; 285) | ||
228 | WHITESPACE@[285; 298) | ||
229 | IDENT@[298; 313) "parse_use_trees" | ||
230 | EXCL@[313; 314) | ||
231 | TOKEN_TREE@[314; 328) | ||
232 | L_PAREN@[314; 315) | ||
233 | DOLLAR@[315; 316) | ||
234 | TOKEN_TREE@[316; 326) | ||
235 | L_PAREN@[316; 317) | ||
236 | DOLLAR@[317; 318) | ||
237 | IDENT@[318; 324) "output" | ||
238 | COMMA@[324; 325) | ||
239 | R_PAREN@[325; 326) | ||
240 | STAR@[326; 327) | ||
241 | R_PAREN@[327; 328) | ||
242 | COMMA@[328; 329) | ||
243 | WHITESPACE@[329; 338) | ||
244 | R_PAREN@[338; 339) | ||
245 | SEMI@[339; 340) | ||
246 | WHITESPACE@[340; 345) | ||
247 | R_CURLY@[345; 346) | ||
248 | WHITESPACE@[346; 347) | ||
249 | R_CURLY@[347; 348) | ||
250 | WHITESPACE@[348; 350) | ||