@hew-lang/tree-sitter-hew 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/grammar.js +181 -86
- package/package.json +1 -1
- package/queries/folds.scm +2 -0
- package/queries/highlights.scm +15 -3
- package/queries/indents.scm +3 -0
- package/src/grammar.json +1296 -409
- package/src/node-types.json +594 -67
- package/src/parser.c +159962 -106357
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -90,6 +90,14 @@
|
|
|
90
90
|
{
|
|
91
91
|
"type": "SYMBOL",
|
|
92
92
|
"name": "type_alias"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "SYMBOL",
|
|
96
|
+
"name": "macro_declaration"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "SYMBOL",
|
|
100
|
+
"name": "macro_invocation"
|
|
93
101
|
}
|
|
94
102
|
]
|
|
95
103
|
}
|
|
@@ -107,8 +115,32 @@
|
|
|
107
115
|
"value": "["
|
|
108
116
|
},
|
|
109
117
|
{
|
|
110
|
-
"type": "
|
|
111
|
-
"name": "
|
|
118
|
+
"type": "FIELD",
|
|
119
|
+
"name": "name",
|
|
120
|
+
"content": {
|
|
121
|
+
"type": "SYMBOL",
|
|
122
|
+
"name": "identifier"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "REPEAT",
|
|
127
|
+
"content": {
|
|
128
|
+
"type": "SEQ",
|
|
129
|
+
"members": [
|
|
130
|
+
{
|
|
131
|
+
"type": "STRING",
|
|
132
|
+
"value": "."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"type": "FIELD",
|
|
136
|
+
"name": "name",
|
|
137
|
+
"content": {
|
|
138
|
+
"type": "SYMBOL",
|
|
139
|
+
"name": "identifier"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
112
144
|
},
|
|
113
145
|
{
|
|
114
146
|
"type": "CHOICE",
|
|
@@ -121,37 +153,11 @@
|
|
|
121
153
|
"value": "("
|
|
122
154
|
},
|
|
123
155
|
{
|
|
124
|
-
"type": "
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
{
|
|
130
|
-
"type": "SYMBOL",
|
|
131
|
-
"name": "_attribute_arg"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"type": "REPEAT",
|
|
135
|
-
"content": {
|
|
136
|
-
"type": "SEQ",
|
|
137
|
-
"members": [
|
|
138
|
-
{
|
|
139
|
-
"type": "STRING",
|
|
140
|
-
"value": ","
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"type": "SYMBOL",
|
|
144
|
-
"name": "_attribute_arg"
|
|
145
|
-
}
|
|
146
|
-
]
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"type": "BLANK"
|
|
153
|
-
}
|
|
154
|
-
]
|
|
156
|
+
"type": "REPEAT",
|
|
157
|
+
"content": {
|
|
158
|
+
"type": "SYMBOL",
|
|
159
|
+
"name": "_macro_token"
|
|
160
|
+
}
|
|
155
161
|
},
|
|
156
162
|
{
|
|
157
163
|
"type": "STRING",
|
|
@@ -166,59 +172,563 @@
|
|
|
166
172
|
},
|
|
167
173
|
{
|
|
168
174
|
"type": "STRING",
|
|
169
|
-
"value": "]"
|
|
175
|
+
"value": "]"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"macro_declaration": {
|
|
180
|
+
"type": "SEQ",
|
|
181
|
+
"members": [
|
|
182
|
+
{
|
|
183
|
+
"type": "STRING",
|
|
184
|
+
"value": "macro"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "FIELD",
|
|
188
|
+
"name": "name",
|
|
189
|
+
"content": {
|
|
190
|
+
"type": "SYMBOL",
|
|
191
|
+
"name": "identifier"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "STRING",
|
|
196
|
+
"value": "{"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "REPEAT1",
|
|
200
|
+
"content": {
|
|
201
|
+
"type": "SYMBOL",
|
|
202
|
+
"name": "macro_rule"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "STRING",
|
|
207
|
+
"value": "}"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"macro_rule": {
|
|
212
|
+
"type": "SEQ",
|
|
213
|
+
"members": [
|
|
214
|
+
{
|
|
215
|
+
"type": "CHOICE",
|
|
216
|
+
"members": [
|
|
217
|
+
{
|
|
218
|
+
"type": "FIELD",
|
|
219
|
+
"name": "pattern",
|
|
220
|
+
"content": {
|
|
221
|
+
"type": "SYMBOL",
|
|
222
|
+
"name": "macro_pattern"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "SEQ",
|
|
227
|
+
"members": [
|
|
228
|
+
{
|
|
229
|
+
"type": "STRING",
|
|
230
|
+
"value": "#"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "STRING",
|
|
234
|
+
"value": "["
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "FIELD",
|
|
238
|
+
"name": "pattern",
|
|
239
|
+
"content": {
|
|
240
|
+
"type": "SYMBOL",
|
|
241
|
+
"name": "macro_pattern"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"type": "STRING",
|
|
246
|
+
"value": "]"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "SYMBOL",
|
|
250
|
+
"name": "macro_function_capture"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "STRING",
|
|
258
|
+
"value": "=>"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": "FIELD",
|
|
262
|
+
"name": "category",
|
|
263
|
+
"content": {
|
|
264
|
+
"type": "CHOICE",
|
|
265
|
+
"members": [
|
|
266
|
+
{
|
|
267
|
+
"type": "STRING",
|
|
268
|
+
"value": "expr"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"type": "STRING",
|
|
272
|
+
"value": "items"
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"type": "FIELD",
|
|
279
|
+
"name": "template",
|
|
280
|
+
"content": {
|
|
281
|
+
"type": "SYMBOL",
|
|
282
|
+
"name": "macro_template"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
"macro_pattern": {
|
|
288
|
+
"type": "SEQ",
|
|
289
|
+
"members": [
|
|
290
|
+
{
|
|
291
|
+
"type": "STRING",
|
|
292
|
+
"value": "("
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "REPEAT",
|
|
296
|
+
"content": {
|
|
297
|
+
"type": "SYMBOL",
|
|
298
|
+
"name": "_macro_token"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "STRING",
|
|
303
|
+
"value": ")"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"macro_template": {
|
|
308
|
+
"type": "SEQ",
|
|
309
|
+
"members": [
|
|
310
|
+
{
|
|
311
|
+
"type": "STRING",
|
|
312
|
+
"value": "{"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "REPEAT",
|
|
316
|
+
"content": {
|
|
317
|
+
"type": "SYMBOL",
|
|
318
|
+
"name": "_macro_token"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "STRING",
|
|
323
|
+
"value": "}"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
"macro_function_capture": {
|
|
328
|
+
"type": "SEQ",
|
|
329
|
+
"members": [
|
|
330
|
+
{
|
|
331
|
+
"type": "SYMBOL",
|
|
332
|
+
"name": "macro_variable"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"type": "STRING",
|
|
336
|
+
"value": ":"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"type": "CHOICE",
|
|
340
|
+
"members": [
|
|
341
|
+
{
|
|
342
|
+
"type": "STRING",
|
|
343
|
+
"value": "fn"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"type": "STRING",
|
|
347
|
+
"value": "method"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"type": "CHOICE",
|
|
353
|
+
"members": [
|
|
354
|
+
{
|
|
355
|
+
"type": "STRING",
|
|
356
|
+
"value": "fails"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"type": "BLANK"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"macro_variable": {
|
|
366
|
+
"type": "PREC",
|
|
367
|
+
"value": 1,
|
|
368
|
+
"content": {
|
|
369
|
+
"type": "SEQ",
|
|
370
|
+
"members": [
|
|
371
|
+
{
|
|
372
|
+
"type": "STRING",
|
|
373
|
+
"value": "$"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"type": "SYMBOL",
|
|
377
|
+
"name": "identifier"
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"token_tree": {
|
|
383
|
+
"type": "CHOICE",
|
|
384
|
+
"members": [
|
|
385
|
+
{
|
|
386
|
+
"type": "SEQ",
|
|
387
|
+
"members": [
|
|
388
|
+
{
|
|
389
|
+
"type": "STRING",
|
|
390
|
+
"value": "("
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"type": "REPEAT",
|
|
394
|
+
"content": {
|
|
395
|
+
"type": "SYMBOL",
|
|
396
|
+
"name": "_macro_token"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"type": "STRING",
|
|
401
|
+
"value": ")"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": "SEQ",
|
|
407
|
+
"members": [
|
|
408
|
+
{
|
|
409
|
+
"type": "STRING",
|
|
410
|
+
"value": "["
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"type": "REPEAT",
|
|
414
|
+
"content": {
|
|
415
|
+
"type": "SYMBOL",
|
|
416
|
+
"name": "_macro_token"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"type": "STRING",
|
|
421
|
+
"value": "]"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"type": "SEQ",
|
|
427
|
+
"members": [
|
|
428
|
+
{
|
|
429
|
+
"type": "STRING",
|
|
430
|
+
"value": "{"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"type": "REPEAT",
|
|
434
|
+
"content": {
|
|
435
|
+
"type": "SYMBOL",
|
|
436
|
+
"name": "_macro_token"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": "STRING",
|
|
441
|
+
"value": "}"
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
"_macro_token": {
|
|
448
|
+
"type": "CHOICE",
|
|
449
|
+
"members": [
|
|
450
|
+
{
|
|
451
|
+
"type": "SYMBOL",
|
|
452
|
+
"name": "token_tree"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "SYMBOL",
|
|
456
|
+
"name": "macro_variable"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"type": "SYMBOL",
|
|
460
|
+
"name": "identifier"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"type": "SYMBOL",
|
|
464
|
+
"name": "_literal"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"type": "ALIAS",
|
|
468
|
+
"content": {
|
|
469
|
+
"type": "SYMBOL",
|
|
470
|
+
"name": "macro_interpolated_string"
|
|
471
|
+
},
|
|
472
|
+
"named": true,
|
|
473
|
+
"value": "interpolated_string"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"type": "STRING",
|
|
477
|
+
"value": ","
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"type": "STRING",
|
|
481
|
+
"value": ";"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"type": "STRING",
|
|
485
|
+
"value": ":"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"type": "STRING",
|
|
489
|
+
"value": "."
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"type": "STRING",
|
|
493
|
+
"value": "@"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"type": "STRING",
|
|
497
|
+
"value": "#"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"type": "STRING",
|
|
501
|
+
"value": "$"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"type": "STRING",
|
|
505
|
+
"value": "+"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "STRING",
|
|
509
|
+
"value": "-"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"type": "STRING",
|
|
513
|
+
"value": "*"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"type": "STRING",
|
|
517
|
+
"value": "/"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"type": "STRING",
|
|
521
|
+
"value": "%"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"type": "STRING",
|
|
525
|
+
"value": "!"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"type": "STRING",
|
|
529
|
+
"value": "~"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"type": "STRING",
|
|
533
|
+
"value": "&"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"type": "STRING",
|
|
537
|
+
"value": "|"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"type": "STRING",
|
|
541
|
+
"value": "^"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"type": "STRING",
|
|
545
|
+
"value": "="
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "STRING",
|
|
549
|
+
"value": "<"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"type": "STRING",
|
|
553
|
+
"value": ">"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "STRING",
|
|
557
|
+
"value": "?"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"type": "STRING",
|
|
561
|
+
"value": "??"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"type": "STRING",
|
|
565
|
+
"value": "?."
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"type": "STRING",
|
|
569
|
+
"value": "=>"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"type": "STRING",
|
|
573
|
+
"value": "->"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"type": "STRING",
|
|
577
|
+
"value": ".."
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"type": "STRING",
|
|
581
|
+
"value": "..="
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"type": "STRING",
|
|
585
|
+
"value": "=="
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "STRING",
|
|
589
|
+
"value": "!="
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"type": "STRING",
|
|
593
|
+
"value": "<="
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"type": "STRING",
|
|
597
|
+
"value": ">="
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"type": "STRING",
|
|
601
|
+
"value": "&&"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"type": "STRING",
|
|
605
|
+
"value": "||"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"type": "STRING",
|
|
609
|
+
"value": "<<"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "STRING",
|
|
613
|
+
"value": ">>"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "STRING",
|
|
617
|
+
"value": "+="
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"type": "STRING",
|
|
621
|
+
"value": "-="
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"type": "STRING",
|
|
625
|
+
"value": "*="
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"type": "STRING",
|
|
629
|
+
"value": "/="
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"type": "STRING",
|
|
633
|
+
"value": "%="
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"type": "STRING",
|
|
637
|
+
"value": "&="
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"type": "STRING",
|
|
641
|
+
"value": "|="
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"type": "STRING",
|
|
645
|
+
"value": "^="
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"type": "STRING",
|
|
649
|
+
"value": "<<="
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"type": "STRING",
|
|
653
|
+
"value": ">>="
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"type": "STRING",
|
|
657
|
+
"value": "&+"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"type": "STRING",
|
|
661
|
+
"value": "&-"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"type": "STRING",
|
|
665
|
+
"value": "&*"
|
|
170
666
|
}
|
|
171
667
|
]
|
|
172
668
|
},
|
|
173
|
-
"
|
|
174
|
-
"type": "
|
|
669
|
+
"macro_interpolated_string": {
|
|
670
|
+
"type": "SEQ",
|
|
175
671
|
"members": [
|
|
176
672
|
{
|
|
177
|
-
"type": "
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"type": "CHOICE",
|
|
189
|
-
"members": [
|
|
190
|
-
{
|
|
673
|
+
"type": "SYMBOL",
|
|
674
|
+
"name": "fstring_start"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "REPEAT",
|
|
678
|
+
"content": {
|
|
679
|
+
"type": "CHOICE",
|
|
680
|
+
"members": [
|
|
681
|
+
{
|
|
682
|
+
"type": "ALIAS",
|
|
683
|
+
"content": {
|
|
191
684
|
"type": "SYMBOL",
|
|
192
|
-
"name": "
|
|
685
|
+
"name": "interpolated_string_content"
|
|
193
686
|
},
|
|
194
|
-
|
|
687
|
+
"named": true,
|
|
688
|
+
"value": "string_content"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"type": "SYMBOL",
|
|
692
|
+
"name": "escape_sequence"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"type": "ALIAS",
|
|
696
|
+
"content": {
|
|
195
697
|
"type": "SYMBOL",
|
|
196
|
-
"name": "
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
698
|
+
"name": "macro_interpolation"
|
|
699
|
+
},
|
|
700
|
+
"named": true,
|
|
701
|
+
"value": "interpolation"
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
}
|
|
201
705
|
},
|
|
202
706
|
{
|
|
203
|
-
"type": "
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
707
|
+
"type": "STRING",
|
|
708
|
+
"value": "\""
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
|
+
},
|
|
712
|
+
"macro_interpolation": {
|
|
713
|
+
"type": "SEQ",
|
|
714
|
+
"members": [
|
|
715
|
+
{
|
|
716
|
+
"type": "IMMEDIATE_TOKEN",
|
|
717
|
+
"content": {
|
|
718
|
+
"type": "STRING",
|
|
719
|
+
"value": "{"
|
|
720
|
+
}
|
|
214
721
|
},
|
|
215
722
|
{
|
|
216
|
-
"type": "
|
|
217
|
-
"
|
|
723
|
+
"type": "REPEAT",
|
|
724
|
+
"content": {
|
|
725
|
+
"type": "SYMBOL",
|
|
726
|
+
"name": "_macro_token"
|
|
727
|
+
}
|
|
218
728
|
},
|
|
219
729
|
{
|
|
220
|
-
"type": "
|
|
221
|
-
"
|
|
730
|
+
"type": "STRING",
|
|
731
|
+
"value": "}"
|
|
222
732
|
}
|
|
223
733
|
]
|
|
224
734
|
},
|
|
@@ -1266,6 +1776,18 @@
|
|
|
1266
1776
|
"type": "STRING",
|
|
1267
1777
|
"value": "fn"
|
|
1268
1778
|
},
|
|
1779
|
+
{
|
|
1780
|
+
"type": "CHOICE",
|
|
1781
|
+
"members": [
|
|
1782
|
+
{
|
|
1783
|
+
"type": "SYMBOL",
|
|
1784
|
+
"name": "trait_method_effect"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"type": "BLANK"
|
|
1788
|
+
}
|
|
1789
|
+
]
|
|
1790
|
+
},
|
|
1269
1791
|
{
|
|
1270
1792
|
"type": "FIELD",
|
|
1271
1793
|
"name": "name",
|
|
@@ -1349,6 +1871,23 @@
|
|
|
1349
1871
|
}
|
|
1350
1872
|
]
|
|
1351
1873
|
},
|
|
1874
|
+
"trait_method_effect": {
|
|
1875
|
+
"type": "SEQ",
|
|
1876
|
+
"members": [
|
|
1877
|
+
{
|
|
1878
|
+
"type": "STRING",
|
|
1879
|
+
"value": "["
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"type": "STRING",
|
|
1883
|
+
"value": "suspends"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"type": "STRING",
|
|
1887
|
+
"value": "]"
|
|
1888
|
+
}
|
|
1889
|
+
]
|
|
1890
|
+
},
|
|
1352
1891
|
"associated_type": {
|
|
1353
1892
|
"type": "SEQ",
|
|
1354
1893
|
"members": [
|
|
@@ -2620,62 +3159,8 @@
|
|
|
2620
3159
|
"type": "CHOICE",
|
|
2621
3160
|
"members": [
|
|
2622
3161
|
{
|
|
2623
|
-
"type": "
|
|
2624
|
-
"
|
|
2625
|
-
{
|
|
2626
|
-
"type": "STRING",
|
|
2627
|
-
"value": "("
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
"type": "CHOICE",
|
|
2631
|
-
"members": [
|
|
2632
|
-
{
|
|
2633
|
-
"type": "SEQ",
|
|
2634
|
-
"members": [
|
|
2635
|
-
{
|
|
2636
|
-
"type": "SYMBOL",
|
|
2637
|
-
"name": "call_argument"
|
|
2638
|
-
},
|
|
2639
|
-
{
|
|
2640
|
-
"type": "REPEAT",
|
|
2641
|
-
"content": {
|
|
2642
|
-
"type": "SEQ",
|
|
2643
|
-
"members": [
|
|
2644
|
-
{
|
|
2645
|
-
"type": "STRING",
|
|
2646
|
-
"value": ","
|
|
2647
|
-
},
|
|
2648
|
-
{
|
|
2649
|
-
"type": "SYMBOL",
|
|
2650
|
-
"name": "call_argument"
|
|
2651
|
-
}
|
|
2652
|
-
]
|
|
2653
|
-
}
|
|
2654
|
-
}
|
|
2655
|
-
]
|
|
2656
|
-
},
|
|
2657
|
-
{
|
|
2658
|
-
"type": "BLANK"
|
|
2659
|
-
}
|
|
2660
|
-
]
|
|
2661
|
-
},
|
|
2662
|
-
{
|
|
2663
|
-
"type": "CHOICE",
|
|
2664
|
-
"members": [
|
|
2665
|
-
{
|
|
2666
|
-
"type": "STRING",
|
|
2667
|
-
"value": ","
|
|
2668
|
-
},
|
|
2669
|
-
{
|
|
2670
|
-
"type": "BLANK"
|
|
2671
|
-
}
|
|
2672
|
-
]
|
|
2673
|
-
},
|
|
2674
|
-
{
|
|
2675
|
-
"type": "STRING",
|
|
2676
|
-
"value": ")"
|
|
2677
|
-
}
|
|
2678
|
-
]
|
|
3162
|
+
"type": "SYMBOL",
|
|
3163
|
+
"name": "spawn_keys"
|
|
2679
3164
|
},
|
|
2680
3165
|
{
|
|
2681
3166
|
"type": "BLANK"
|
|
@@ -3205,7 +3690,7 @@
|
|
|
3205
3690
|
"members": [
|
|
3206
3691
|
{
|
|
3207
3692
|
"type": "STRING",
|
|
3208
|
-
"value": "
|
|
3693
|
+
"value": "{"
|
|
3209
3694
|
},
|
|
3210
3695
|
{
|
|
3211
3696
|
"type": "FIELD",
|
|
@@ -3236,9 +3721,21 @@
|
|
|
3236
3721
|
]
|
|
3237
3722
|
}
|
|
3238
3723
|
},
|
|
3724
|
+
{
|
|
3725
|
+
"type": "CHOICE",
|
|
3726
|
+
"members": [
|
|
3727
|
+
{
|
|
3728
|
+
"type": "STRING",
|
|
3729
|
+
"value": ","
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
"type": "BLANK"
|
|
3733
|
+
}
|
|
3734
|
+
]
|
|
3735
|
+
},
|
|
3239
3736
|
{
|
|
3240
3737
|
"type": "STRING",
|
|
3241
|
-
"value": "
|
|
3738
|
+
"value": "}"
|
|
3242
3739
|
}
|
|
3243
3740
|
]
|
|
3244
3741
|
},
|
|
@@ -3300,8 +3797,29 @@
|
|
|
3300
3797
|
"type": "CHOICE",
|
|
3301
3798
|
"members": [
|
|
3302
3799
|
{
|
|
3303
|
-
"type": "
|
|
3304
|
-
"
|
|
3800
|
+
"type": "SEQ",
|
|
3801
|
+
"members": [
|
|
3802
|
+
{
|
|
3803
|
+
"type": "SYMBOL",
|
|
3804
|
+
"name": "identifier"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
"type": "REPEAT",
|
|
3808
|
+
"content": {
|
|
3809
|
+
"type": "SEQ",
|
|
3810
|
+
"members": [
|
|
3811
|
+
{
|
|
3812
|
+
"type": "STRING",
|
|
3813
|
+
"value": "."
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
"type": "SYMBOL",
|
|
3817
|
+
"name": "identifier"
|
|
3818
|
+
}
|
|
3819
|
+
]
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
]
|
|
3305
3823
|
},
|
|
3306
3824
|
{
|
|
3307
3825
|
"type": "SYMBOL",
|
|
@@ -3365,43 +3883,121 @@
|
|
|
3365
3883
|
"type": "SEQ",
|
|
3366
3884
|
"members": [
|
|
3367
3885
|
{
|
|
3368
|
-
"type": "STRING",
|
|
3369
|
-
"value": "{"
|
|
3370
|
-
},
|
|
3371
|
-
{
|
|
3372
|
-
"type": "SEQ",
|
|
3373
|
-
"members": [
|
|
3374
|
-
{
|
|
3375
|
-
"type": "SYMBOL",
|
|
3376
|
-
"name": "field_initializer"
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"type": "REPEAT",
|
|
3380
|
-
"content": {
|
|
3381
|
-
"type": "SEQ",
|
|
3382
|
-
"members": [
|
|
3383
|
-
{
|
|
3384
|
-
"type": "STRING",
|
|
3385
|
-
"value": ","
|
|
3386
|
-
},
|
|
3387
|
-
{
|
|
3388
|
-
"type": "SYMBOL",
|
|
3389
|
-
"name": "field_initializer"
|
|
3390
|
-
}
|
|
3391
|
-
]
|
|
3392
|
-
}
|
|
3393
|
-
}
|
|
3394
|
-
]
|
|
3886
|
+
"type": "STRING",
|
|
3887
|
+
"value": "{"
|
|
3395
3888
|
},
|
|
3396
3889
|
{
|
|
3397
3890
|
"type": "CHOICE",
|
|
3398
3891
|
"members": [
|
|
3399
3892
|
{
|
|
3400
|
-
"type": "
|
|
3401
|
-
"
|
|
3893
|
+
"type": "SEQ",
|
|
3894
|
+
"members": [
|
|
3895
|
+
{
|
|
3896
|
+
"type": "ALIAS",
|
|
3897
|
+
"content": {
|
|
3898
|
+
"type": "SYMBOL",
|
|
3899
|
+
"name": "_written_field_initializer"
|
|
3900
|
+
},
|
|
3901
|
+
"named": true,
|
|
3902
|
+
"value": "field_initializer"
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
"type": "REPEAT",
|
|
3906
|
+
"content": {
|
|
3907
|
+
"type": "SEQ",
|
|
3908
|
+
"members": [
|
|
3909
|
+
{
|
|
3910
|
+
"type": "STRING",
|
|
3911
|
+
"value": ","
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"type": "SYMBOL",
|
|
3915
|
+
"name": "field_initializer"
|
|
3916
|
+
}
|
|
3917
|
+
]
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
"type": "CHOICE",
|
|
3922
|
+
"members": [
|
|
3923
|
+
{
|
|
3924
|
+
"type": "STRING",
|
|
3925
|
+
"value": ","
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"type": "BLANK"
|
|
3929
|
+
}
|
|
3930
|
+
]
|
|
3931
|
+
}
|
|
3932
|
+
]
|
|
3402
3933
|
},
|
|
3403
3934
|
{
|
|
3404
|
-
"type": "
|
|
3935
|
+
"type": "SEQ",
|
|
3936
|
+
"members": [
|
|
3937
|
+
{
|
|
3938
|
+
"type": "ALIAS",
|
|
3939
|
+
"content": {
|
|
3940
|
+
"type": "SYMBOL",
|
|
3941
|
+
"name": "_shorthand_field_initializer"
|
|
3942
|
+
},
|
|
3943
|
+
"named": true,
|
|
3944
|
+
"value": "field_initializer"
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"type": "STRING",
|
|
3948
|
+
"value": ","
|
|
3949
|
+
},
|
|
3950
|
+
{
|
|
3951
|
+
"type": "CHOICE",
|
|
3952
|
+
"members": [
|
|
3953
|
+
{
|
|
3954
|
+
"type": "SEQ",
|
|
3955
|
+
"members": [
|
|
3956
|
+
{
|
|
3957
|
+
"type": "SEQ",
|
|
3958
|
+
"members": [
|
|
3959
|
+
{
|
|
3960
|
+
"type": "SYMBOL",
|
|
3961
|
+
"name": "field_initializer"
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"type": "REPEAT",
|
|
3965
|
+
"content": {
|
|
3966
|
+
"type": "SEQ",
|
|
3967
|
+
"members": [
|
|
3968
|
+
{
|
|
3969
|
+
"type": "STRING",
|
|
3970
|
+
"value": ","
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"type": "SYMBOL",
|
|
3974
|
+
"name": "field_initializer"
|
|
3975
|
+
}
|
|
3976
|
+
]
|
|
3977
|
+
}
|
|
3978
|
+
}
|
|
3979
|
+
]
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"type": "CHOICE",
|
|
3983
|
+
"members": [
|
|
3984
|
+
{
|
|
3985
|
+
"type": "STRING",
|
|
3986
|
+
"value": ","
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
"type": "BLANK"
|
|
3990
|
+
}
|
|
3991
|
+
]
|
|
3992
|
+
}
|
|
3993
|
+
]
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
"type": "BLANK"
|
|
3997
|
+
}
|
|
3998
|
+
]
|
|
3999
|
+
}
|
|
4000
|
+
]
|
|
3405
4001
|
}
|
|
3406
4002
|
]
|
|
3407
4003
|
},
|
|
@@ -4143,8 +4739,22 @@
|
|
|
4143
4739
|
"type": "SEQ",
|
|
4144
4740
|
"members": [
|
|
4145
4741
|
{
|
|
4146
|
-
"type": "
|
|
4147
|
-
"
|
|
4742
|
+
"type": "CHOICE",
|
|
4743
|
+
"members": [
|
|
4744
|
+
{
|
|
4745
|
+
"type": "SYMBOL",
|
|
4746
|
+
"name": "identifier"
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"type": "ALIAS",
|
|
4750
|
+
"content": {
|
|
4751
|
+
"type": "SYMBOL",
|
|
4752
|
+
"name": "primitive_type"
|
|
4753
|
+
},
|
|
4754
|
+
"named": true,
|
|
4755
|
+
"value": "identifier"
|
|
4756
|
+
}
|
|
4757
|
+
]
|
|
4148
4758
|
},
|
|
4149
4759
|
{
|
|
4150
4760
|
"type": "REPEAT1",
|
|
@@ -4324,6 +4934,18 @@
|
|
|
4324
4934
|
}
|
|
4325
4935
|
]
|
|
4326
4936
|
},
|
|
4937
|
+
{
|
|
4938
|
+
"type": "CHOICE",
|
|
4939
|
+
"members": [
|
|
4940
|
+
{
|
|
4941
|
+
"type": "SYMBOL",
|
|
4942
|
+
"name": "type_parameters"
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
"type": "BLANK"
|
|
4946
|
+
}
|
|
4947
|
+
]
|
|
4948
|
+
},
|
|
4327
4949
|
{
|
|
4328
4950
|
"type": "STRING",
|
|
4329
4951
|
"value": "("
|
|
@@ -4606,12 +5228,33 @@
|
|
|
4606
5228
|
"name": "_statement"
|
|
4607
5229
|
}
|
|
4608
5230
|
},
|
|
5231
|
+
{
|
|
5232
|
+
"type": "CHOICE",
|
|
5233
|
+
"members": [
|
|
5234
|
+
{
|
|
5235
|
+
"type": "ALIAS",
|
|
5236
|
+
"content": {
|
|
5237
|
+
"type": "SYMBOL",
|
|
5238
|
+
"name": "_tail_expression"
|
|
5239
|
+
},
|
|
5240
|
+
"named": true,
|
|
5241
|
+
"value": "expression_statement"
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
"type": "BLANK"
|
|
5245
|
+
}
|
|
5246
|
+
]
|
|
5247
|
+
},
|
|
4609
5248
|
{
|
|
4610
5249
|
"type": "STRING",
|
|
4611
5250
|
"value": "}"
|
|
4612
5251
|
}
|
|
4613
5252
|
]
|
|
4614
5253
|
},
|
|
5254
|
+
"_tail_expression": {
|
|
5255
|
+
"type": "SYMBOL",
|
|
5256
|
+
"name": "expression"
|
|
5257
|
+
},
|
|
4615
5258
|
"_statement": {
|
|
4616
5259
|
"type": "CHOICE",
|
|
4617
5260
|
"members": [
|
|
@@ -4818,26 +5461,53 @@
|
|
|
4818
5461
|
"type": "SYMBOL",
|
|
4819
5462
|
"name": "_type"
|
|
4820
5463
|
}
|
|
5464
|
+
},
|
|
5465
|
+
{
|
|
5466
|
+
"type": "CHOICE",
|
|
5467
|
+
"members": [
|
|
5468
|
+
{
|
|
5469
|
+
"type": "SEQ",
|
|
5470
|
+
"members": [
|
|
5471
|
+
{
|
|
5472
|
+
"type": "STRING",
|
|
5473
|
+
"value": "="
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
"type": "FIELD",
|
|
5477
|
+
"name": "value",
|
|
5478
|
+
"content": {
|
|
5479
|
+
"type": "SYMBOL",
|
|
5480
|
+
"name": "expression"
|
|
5481
|
+
}
|
|
5482
|
+
}
|
|
5483
|
+
]
|
|
5484
|
+
},
|
|
5485
|
+
{
|
|
5486
|
+
"type": "BLANK"
|
|
5487
|
+
}
|
|
5488
|
+
]
|
|
4821
5489
|
}
|
|
4822
5490
|
]
|
|
4823
5491
|
},
|
|
4824
5492
|
{
|
|
4825
|
-
"type": "
|
|
5493
|
+
"type": "SEQ",
|
|
5494
|
+
"members": [
|
|
5495
|
+
{
|
|
5496
|
+
"type": "STRING",
|
|
5497
|
+
"value": "="
|
|
5498
|
+
},
|
|
5499
|
+
{
|
|
5500
|
+
"type": "FIELD",
|
|
5501
|
+
"name": "value",
|
|
5502
|
+
"content": {
|
|
5503
|
+
"type": "SYMBOL",
|
|
5504
|
+
"name": "expression"
|
|
5505
|
+
}
|
|
5506
|
+
}
|
|
5507
|
+
]
|
|
4826
5508
|
}
|
|
4827
5509
|
]
|
|
4828
5510
|
},
|
|
4829
|
-
{
|
|
4830
|
-
"type": "STRING",
|
|
4831
|
-
"value": "="
|
|
4832
|
-
},
|
|
4833
|
-
{
|
|
4834
|
-
"type": "FIELD",
|
|
4835
|
-
"name": "value",
|
|
4836
|
-
"content": {
|
|
4837
|
-
"type": "SYMBOL",
|
|
4838
|
-
"name": "expression"
|
|
4839
|
-
}
|
|
4840
|
-
},
|
|
4841
5511
|
{
|
|
4842
5512
|
"type": "STRING",
|
|
4843
5513
|
"value": ";"
|
|
@@ -5061,17 +5731,21 @@
|
|
|
5061
5731
|
"name": "select_expression"
|
|
5062
5732
|
},
|
|
5063
5733
|
{
|
|
5064
|
-
"type": "
|
|
5065
|
-
"
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5734
|
+
"type": "PREC",
|
|
5735
|
+
"value": 19,
|
|
5736
|
+
"content": {
|
|
5737
|
+
"type": "SEQ",
|
|
5738
|
+
"members": [
|
|
5739
|
+
{
|
|
5740
|
+
"type": "STRING",
|
|
5741
|
+
"value": "fork"
|
|
5742
|
+
},
|
|
5743
|
+
{
|
|
5744
|
+
"type": "SYMBOL",
|
|
5745
|
+
"name": "block"
|
|
5746
|
+
}
|
|
5747
|
+
]
|
|
5748
|
+
}
|
|
5075
5749
|
}
|
|
5076
5750
|
]
|
|
5077
5751
|
},
|
|
@@ -5215,6 +5889,18 @@
|
|
|
5215
5889
|
"type": "STRING",
|
|
5216
5890
|
"value": "defer"
|
|
5217
5891
|
},
|
|
5892
|
+
{
|
|
5893
|
+
"type": "CHOICE",
|
|
5894
|
+
"members": [
|
|
5895
|
+
{
|
|
5896
|
+
"type": "STRING",
|
|
5897
|
+
"value": "err"
|
|
5898
|
+
},
|
|
5899
|
+
{
|
|
5900
|
+
"type": "BLANK"
|
|
5901
|
+
}
|
|
5902
|
+
]
|
|
5903
|
+
},
|
|
5218
5904
|
{
|
|
5219
5905
|
"type": "CHOICE",
|
|
5220
5906
|
"members": [
|
|
@@ -5332,29 +6018,17 @@
|
|
|
5332
6018
|
]
|
|
5333
6019
|
},
|
|
5334
6020
|
"expression_statement": {
|
|
5335
|
-
"type": "
|
|
5336
|
-
"
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
"members": [
|
|
5347
|
-
{
|
|
5348
|
-
"type": "STRING",
|
|
5349
|
-
"value": ";"
|
|
5350
|
-
},
|
|
5351
|
-
{
|
|
5352
|
-
"type": "BLANK"
|
|
5353
|
-
}
|
|
5354
|
-
]
|
|
5355
|
-
}
|
|
5356
|
-
]
|
|
5357
|
-
}
|
|
6021
|
+
"type": "SEQ",
|
|
6022
|
+
"members": [
|
|
6023
|
+
{
|
|
6024
|
+
"type": "SYMBOL",
|
|
6025
|
+
"name": "expression"
|
|
6026
|
+
},
|
|
6027
|
+
{
|
|
6028
|
+
"type": "STRING",
|
|
6029
|
+
"value": ";"
|
|
6030
|
+
}
|
|
6031
|
+
]
|
|
5358
6032
|
},
|
|
5359
6033
|
"empty_statement": {
|
|
5360
6034
|
"type": "STRING",
|
|
@@ -5393,25 +6067,25 @@
|
|
|
5393
6067
|
{
|
|
5394
6068
|
"type": "SYMBOL",
|
|
5395
6069
|
"name": "select_expression"
|
|
5396
|
-
},
|
|
5397
|
-
{
|
|
5398
|
-
"type": "
|
|
5399
|
-
"
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
6070
|
+
},
|
|
6071
|
+
{
|
|
6072
|
+
"type": "ALIAS",
|
|
6073
|
+
"content": {
|
|
6074
|
+
"type": "PREC",
|
|
6075
|
+
"value": 19,
|
|
6076
|
+
"content": {
|
|
6077
|
+
"type": "SEQ",
|
|
6078
|
+
"members": [
|
|
6079
|
+
{
|
|
6080
|
+
"type": "STRING",
|
|
6081
|
+
"value": "fork"
|
|
6082
|
+
},
|
|
6083
|
+
{
|
|
6084
|
+
"type": "SYMBOL",
|
|
6085
|
+
"name": "block"
|
|
6086
|
+
}
|
|
6087
|
+
]
|
|
6088
|
+
}
|
|
5415
6089
|
},
|
|
5416
6090
|
"named": true,
|
|
5417
6091
|
"value": "fork_expression"
|
|
@@ -5432,6 +6106,59 @@
|
|
|
5432
6106
|
"value": "@[a-zA-Z_][a-zA-Z0-9_]*"
|
|
5433
6107
|
},
|
|
5434
6108
|
"expression": {
|
|
6109
|
+
"type": "CHOICE",
|
|
6110
|
+
"members": [
|
|
6111
|
+
{
|
|
6112
|
+
"type": "SYMBOL",
|
|
6113
|
+
"name": "_callable_expression"
|
|
6114
|
+
},
|
|
6115
|
+
{
|
|
6116
|
+
"type": "SYMBOL",
|
|
6117
|
+
"name": "spawn_expression"
|
|
6118
|
+
},
|
|
6119
|
+
{
|
|
6120
|
+
"type": "SYMBOL",
|
|
6121
|
+
"name": "unary_expression"
|
|
6122
|
+
},
|
|
6123
|
+
{
|
|
6124
|
+
"type": "SYMBOL",
|
|
6125
|
+
"name": "binary_expression"
|
|
6126
|
+
},
|
|
6127
|
+
{
|
|
6128
|
+
"type": "SYMBOL",
|
|
6129
|
+
"name": "await_expression"
|
|
6130
|
+
},
|
|
6131
|
+
{
|
|
6132
|
+
"type": "SYMBOL",
|
|
6133
|
+
"name": "clone_expression"
|
|
6134
|
+
},
|
|
6135
|
+
{
|
|
6136
|
+
"type": "SYMBOL",
|
|
6137
|
+
"name": "lambda"
|
|
6138
|
+
},
|
|
6139
|
+
{
|
|
6140
|
+
"type": "SYMBOL",
|
|
6141
|
+
"name": "fork_expression"
|
|
6142
|
+
},
|
|
6143
|
+
{
|
|
6144
|
+
"type": "SYMBOL",
|
|
6145
|
+
"name": "handle_expression"
|
|
6146
|
+
},
|
|
6147
|
+
{
|
|
6148
|
+
"type": "SYMBOL",
|
|
6149
|
+
"name": "yield_expression"
|
|
6150
|
+
},
|
|
6151
|
+
{
|
|
6152
|
+
"type": "SYMBOL",
|
|
6153
|
+
"name": "return_expression"
|
|
6154
|
+
},
|
|
6155
|
+
{
|
|
6156
|
+
"type": "SYMBOL",
|
|
6157
|
+
"name": "return_error_expression"
|
|
6158
|
+
}
|
|
6159
|
+
]
|
|
6160
|
+
},
|
|
6161
|
+
"_callable_expression": {
|
|
5435
6162
|
"type": "CHOICE",
|
|
5436
6163
|
"members": [
|
|
5437
6164
|
{
|
|
@@ -5461,15 +6188,11 @@
|
|
|
5461
6188
|
},
|
|
5462
6189
|
{
|
|
5463
6190
|
"type": "SYMBOL",
|
|
5464
|
-
"name": "
|
|
5465
|
-
},
|
|
5466
|
-
{
|
|
5467
|
-
"type": "SYMBOL",
|
|
5468
|
-
"name": "binary_expression"
|
|
6191
|
+
"name": "call_expression"
|
|
5469
6192
|
},
|
|
5470
6193
|
{
|
|
5471
6194
|
"type": "SYMBOL",
|
|
5472
|
-
"name": "
|
|
6195
|
+
"name": "macro_invocation"
|
|
5473
6196
|
},
|
|
5474
6197
|
{
|
|
5475
6198
|
"type": "SYMBOL",
|
|
@@ -5491,14 +6214,6 @@
|
|
|
5491
6214
|
"type": "SYMBOL",
|
|
5492
6215
|
"name": "cast_expression"
|
|
5493
6216
|
},
|
|
5494
|
-
{
|
|
5495
|
-
"type": "SYMBOL",
|
|
5496
|
-
"name": "await_expression"
|
|
5497
|
-
},
|
|
5498
|
-
{
|
|
5499
|
-
"type": "SYMBOL",
|
|
5500
|
-
"name": "clone_expression"
|
|
5501
|
-
},
|
|
5502
6217
|
{
|
|
5503
6218
|
"type": "SYMBOL",
|
|
5504
6219
|
"name": "struct_init"
|
|
@@ -5551,18 +6266,10 @@
|
|
|
5551
6266
|
"type": "SYMBOL",
|
|
5552
6267
|
"name": "match_expression"
|
|
5553
6268
|
},
|
|
5554
|
-
{
|
|
5555
|
-
"type": "SYMBOL",
|
|
5556
|
-
"name": "lambda"
|
|
5557
|
-
},
|
|
5558
6269
|
{
|
|
5559
6270
|
"type": "SYMBOL",
|
|
5560
6271
|
"name": "actor_expression"
|
|
5561
6272
|
},
|
|
5562
|
-
{
|
|
5563
|
-
"type": "SYMBOL",
|
|
5564
|
-
"name": "spawn_expression"
|
|
5565
|
-
},
|
|
5566
6273
|
{
|
|
5567
6274
|
"type": "SYMBOL",
|
|
5568
6275
|
"name": "select_expression"
|
|
@@ -5571,30 +6278,10 @@
|
|
|
5571
6278
|
"type": "SYMBOL",
|
|
5572
6279
|
"name": "race_expression"
|
|
5573
6280
|
},
|
|
5574
|
-
{
|
|
5575
|
-
"type": "SYMBOL",
|
|
5576
|
-
"name": "fork_expression"
|
|
5577
|
-
},
|
|
5578
|
-
{
|
|
5579
|
-
"type": "SYMBOL",
|
|
5580
|
-
"name": "handle_expression"
|
|
5581
|
-
},
|
|
5582
6281
|
{
|
|
5583
6282
|
"type": "SYMBOL",
|
|
5584
6283
|
"name": "scope_expression"
|
|
5585
6284
|
},
|
|
5586
|
-
{
|
|
5587
|
-
"type": "SYMBOL",
|
|
5588
|
-
"name": "yield_expression"
|
|
5589
|
-
},
|
|
5590
|
-
{
|
|
5591
|
-
"type": "SYMBOL",
|
|
5592
|
-
"name": "return_expression"
|
|
5593
|
-
},
|
|
5594
|
-
{
|
|
5595
|
-
"type": "SYMBOL",
|
|
5596
|
-
"name": "return_error_expression"
|
|
5597
|
-
},
|
|
5598
6285
|
{
|
|
5599
6286
|
"type": "ALIAS",
|
|
5600
6287
|
"content": {
|
|
@@ -6043,7 +6730,7 @@
|
|
|
6043
6730
|
},
|
|
6044
6731
|
"call_expression": {
|
|
6045
6732
|
"type": "PREC_LEFT",
|
|
6046
|
-
"value":
|
|
6733
|
+
"value": 21,
|
|
6047
6734
|
"content": {
|
|
6048
6735
|
"type": "SEQ",
|
|
6049
6736
|
"members": [
|
|
@@ -6051,8 +6738,13 @@
|
|
|
6051
6738
|
"type": "FIELD",
|
|
6052
6739
|
"name": "function",
|
|
6053
6740
|
"content": {
|
|
6054
|
-
"type": "
|
|
6055
|
-
"
|
|
6741
|
+
"type": "ALIAS",
|
|
6742
|
+
"content": {
|
|
6743
|
+
"type": "SYMBOL",
|
|
6744
|
+
"name": "_callable_expression"
|
|
6745
|
+
},
|
|
6746
|
+
"named": true,
|
|
6747
|
+
"value": "expression"
|
|
6056
6748
|
}
|
|
6057
6749
|
},
|
|
6058
6750
|
{
|
|
@@ -6111,12 +6803,64 @@
|
|
|
6111
6803
|
]
|
|
6112
6804
|
}
|
|
6113
6805
|
},
|
|
6806
|
+
"macro_invocation": {
|
|
6807
|
+
"type": "PREC",
|
|
6808
|
+
"value": 20,
|
|
6809
|
+
"content": {
|
|
6810
|
+
"type": "SEQ",
|
|
6811
|
+
"members": [
|
|
6812
|
+
{
|
|
6813
|
+
"type": "FIELD",
|
|
6814
|
+
"name": "name",
|
|
6815
|
+
"content": {
|
|
6816
|
+
"type": "CHOICE",
|
|
6817
|
+
"members": [
|
|
6818
|
+
{
|
|
6819
|
+
"type": "SYMBOL",
|
|
6820
|
+
"name": "identifier"
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
"type": "ALIAS",
|
|
6824
|
+
"content": {
|
|
6825
|
+
"type": "STRING",
|
|
6826
|
+
"value": "capture"
|
|
6827
|
+
},
|
|
6828
|
+
"named": true,
|
|
6829
|
+
"value": "identifier"
|
|
6830
|
+
},
|
|
6831
|
+
{
|
|
6832
|
+
"type": "SYMBOL",
|
|
6833
|
+
"name": "path_expression"
|
|
6834
|
+
}
|
|
6835
|
+
]
|
|
6836
|
+
}
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
"type": "STRING",
|
|
6840
|
+
"value": "!"
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
"type": "FIELD",
|
|
6844
|
+
"name": "arguments",
|
|
6845
|
+
"content": {
|
|
6846
|
+
"type": "ALIAS",
|
|
6847
|
+
"content": {
|
|
6848
|
+
"type": "SYMBOL",
|
|
6849
|
+
"name": "macro_pattern"
|
|
6850
|
+
},
|
|
6851
|
+
"named": true,
|
|
6852
|
+
"value": "token_tree"
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
]
|
|
6856
|
+
}
|
|
6857
|
+
},
|
|
6114
6858
|
"method_call_expression": {
|
|
6115
6859
|
"type": "PREC_DYNAMIC",
|
|
6116
6860
|
"value": 2,
|
|
6117
6861
|
"content": {
|
|
6118
6862
|
"type": "PREC_LEFT",
|
|
6119
|
-
"value":
|
|
6863
|
+
"value": 22,
|
|
6120
6864
|
"content": {
|
|
6121
6865
|
"type": "SEQ",
|
|
6122
6866
|
"members": [
|
|
@@ -6244,7 +6988,7 @@
|
|
|
6244
6988
|
},
|
|
6245
6989
|
"qualified_expression": {
|
|
6246
6990
|
"type": "PREC_LEFT",
|
|
6247
|
-
"value":
|
|
6991
|
+
"value": 20,
|
|
6248
6992
|
"content": {
|
|
6249
6993
|
"type": "SEQ",
|
|
6250
6994
|
"members": [
|
|
@@ -6276,7 +7020,7 @@
|
|
|
6276
7020
|
"value": 1,
|
|
6277
7021
|
"content": {
|
|
6278
7022
|
"type": "PREC",
|
|
6279
|
-
"value":
|
|
7023
|
+
"value": 20,
|
|
6280
7024
|
"content": {
|
|
6281
7025
|
"type": "SEQ",
|
|
6282
7026
|
"members": [
|
|
@@ -6354,7 +7098,7 @@
|
|
|
6354
7098
|
"value": -1,
|
|
6355
7099
|
"content": {
|
|
6356
7100
|
"type": "PREC",
|
|
6357
|
-
"value":
|
|
7101
|
+
"value": 20,
|
|
6358
7102
|
"content": {
|
|
6359
7103
|
"type": "SEQ",
|
|
6360
7104
|
"members": [
|
|
@@ -6417,7 +7161,7 @@
|
|
|
6417
7161
|
},
|
|
6418
7162
|
"bare_generic_call_expression": {
|
|
6419
7163
|
"type": "PREC",
|
|
6420
|
-
"value":
|
|
7164
|
+
"value": 20,
|
|
6421
7165
|
"content": {
|
|
6422
7166
|
"type": "SEQ",
|
|
6423
7167
|
"members": [
|
|
@@ -6552,6 +7296,10 @@
|
|
|
6552
7296
|
{
|
|
6553
7297
|
"type": "SYMBOL",
|
|
6554
7298
|
"name": "block"
|
|
7299
|
+
},
|
|
7300
|
+
{
|
|
7301
|
+
"type": "SYMBOL",
|
|
7302
|
+
"name": "range_argument"
|
|
6555
7303
|
}
|
|
6556
7304
|
]
|
|
6557
7305
|
}
|
|
@@ -6565,12 +7313,80 @@
|
|
|
6565
7313
|
{
|
|
6566
7314
|
"type": "SYMBOL",
|
|
6567
7315
|
"name": "block"
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"type": "SYMBOL",
|
|
7319
|
+
"name": "range_argument"
|
|
7320
|
+
}
|
|
7321
|
+
]
|
|
7322
|
+
},
|
|
7323
|
+
"range_argument": {
|
|
7324
|
+
"type": "CHOICE",
|
|
7325
|
+
"members": [
|
|
7326
|
+
{
|
|
7327
|
+
"type": "SEQ",
|
|
7328
|
+
"members": [
|
|
7329
|
+
{
|
|
7330
|
+
"type": "STRING",
|
|
7331
|
+
"value": ".."
|
|
7332
|
+
},
|
|
7333
|
+
{
|
|
7334
|
+
"type": "CHOICE",
|
|
7335
|
+
"members": [
|
|
7336
|
+
{
|
|
7337
|
+
"type": "FIELD",
|
|
7338
|
+
"name": "end",
|
|
7339
|
+
"content": {
|
|
7340
|
+
"type": "SYMBOL",
|
|
7341
|
+
"name": "expression"
|
|
7342
|
+
}
|
|
7343
|
+
},
|
|
7344
|
+
{
|
|
7345
|
+
"type": "BLANK"
|
|
7346
|
+
}
|
|
7347
|
+
]
|
|
7348
|
+
}
|
|
7349
|
+
]
|
|
7350
|
+
},
|
|
7351
|
+
{
|
|
7352
|
+
"type": "SEQ",
|
|
7353
|
+
"members": [
|
|
7354
|
+
{
|
|
7355
|
+
"type": "STRING",
|
|
7356
|
+
"value": "..="
|
|
7357
|
+
},
|
|
7358
|
+
{
|
|
7359
|
+
"type": "FIELD",
|
|
7360
|
+
"name": "end",
|
|
7361
|
+
"content": {
|
|
7362
|
+
"type": "SYMBOL",
|
|
7363
|
+
"name": "expression"
|
|
7364
|
+
}
|
|
7365
|
+
}
|
|
7366
|
+
]
|
|
7367
|
+
},
|
|
7368
|
+
{
|
|
7369
|
+
"type": "SEQ",
|
|
7370
|
+
"members": [
|
|
7371
|
+
{
|
|
7372
|
+
"type": "FIELD",
|
|
7373
|
+
"name": "start",
|
|
7374
|
+
"content": {
|
|
7375
|
+
"type": "SYMBOL",
|
|
7376
|
+
"name": "expression"
|
|
7377
|
+
}
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7380
|
+
"type": "STRING",
|
|
7381
|
+
"value": ".."
|
|
7382
|
+
}
|
|
7383
|
+
]
|
|
6568
7384
|
}
|
|
6569
7385
|
]
|
|
6570
7386
|
},
|
|
6571
7387
|
"field_expression": {
|
|
6572
7388
|
"type": "PREC",
|
|
6573
|
-
"value":
|
|
7389
|
+
"value": 20,
|
|
6574
7390
|
"content": {
|
|
6575
7391
|
"type": "SEQ",
|
|
6576
7392
|
"members": [
|
|
@@ -6583,8 +7399,17 @@
|
|
|
6583
7399
|
}
|
|
6584
7400
|
},
|
|
6585
7401
|
{
|
|
6586
|
-
"type": "
|
|
6587
|
-
"
|
|
7402
|
+
"type": "CHOICE",
|
|
7403
|
+
"members": [
|
|
7404
|
+
{
|
|
7405
|
+
"type": "STRING",
|
|
7406
|
+
"value": "."
|
|
7407
|
+
},
|
|
7408
|
+
{
|
|
7409
|
+
"type": "STRING",
|
|
7410
|
+
"value": "?."
|
|
7411
|
+
}
|
|
7412
|
+
]
|
|
6588
7413
|
},
|
|
6589
7414
|
{
|
|
6590
7415
|
"type": "FIELD",
|
|
@@ -6608,7 +7433,7 @@
|
|
|
6608
7433
|
},
|
|
6609
7434
|
"index_expression": {
|
|
6610
7435
|
"type": "PREC",
|
|
6611
|
-
"value":
|
|
7436
|
+
"value": 20,
|
|
6612
7437
|
"content": {
|
|
6613
7438
|
"type": "SEQ",
|
|
6614
7439
|
"members": [
|
|
@@ -6696,7 +7521,7 @@
|
|
|
6696
7521
|
},
|
|
6697
7522
|
"try_expression": {
|
|
6698
7523
|
"type": "PREC",
|
|
6699
|
-
"value":
|
|
7524
|
+
"value": 18,
|
|
6700
7525
|
"content": {
|
|
6701
7526
|
"type": "SEQ",
|
|
6702
7527
|
"members": [
|
|
@@ -6713,7 +7538,7 @@
|
|
|
6713
7538
|
},
|
|
6714
7539
|
"cast_expression": {
|
|
6715
7540
|
"type": "PREC",
|
|
6716
|
-
"value":
|
|
7541
|
+
"value": 20,
|
|
6717
7542
|
"content": {
|
|
6718
7543
|
"type": "SEQ",
|
|
6719
7544
|
"members": [
|
|
@@ -6742,7 +7567,7 @@
|
|
|
6742
7567
|
},
|
|
6743
7568
|
"await_expression": {
|
|
6744
7569
|
"type": "PREC",
|
|
6745
|
-
"value":
|
|
7570
|
+
"value": 19,
|
|
6746
7571
|
"content": {
|
|
6747
7572
|
"type": "SEQ",
|
|
6748
7573
|
"members": [
|
|
@@ -6989,7 +7814,7 @@
|
|
|
6989
7814
|
},
|
|
6990
7815
|
"contextual_variant_expression": {
|
|
6991
7816
|
"type": "PREC",
|
|
6992
|
-
"value":
|
|
7817
|
+
"value": 20,
|
|
6993
7818
|
"content": {
|
|
6994
7819
|
"type": "SEQ",
|
|
6995
7820
|
"members": [
|
|
@@ -7087,72 +7912,102 @@
|
|
|
7087
7912
|
]
|
|
7088
7913
|
}
|
|
7089
7914
|
},
|
|
7090
|
-
"field_initializer": {
|
|
7091
|
-
"type": "
|
|
7915
|
+
"field_initializer": {
|
|
7916
|
+
"type": "CHOICE",
|
|
7917
|
+
"members": [
|
|
7918
|
+
{
|
|
7919
|
+
"type": "SYMBOL",
|
|
7920
|
+
"name": "_written_field_initializer"
|
|
7921
|
+
},
|
|
7922
|
+
{
|
|
7923
|
+
"type": "SYMBOL",
|
|
7924
|
+
"name": "_shorthand_field_initializer"
|
|
7925
|
+
}
|
|
7926
|
+
]
|
|
7927
|
+
},
|
|
7928
|
+
"_written_field_initializer": {
|
|
7929
|
+
"type": "CHOICE",
|
|
7092
7930
|
"members": [
|
|
7093
7931
|
{
|
|
7094
|
-
"type": "
|
|
7932
|
+
"type": "SEQ",
|
|
7095
7933
|
"members": [
|
|
7096
7934
|
{
|
|
7097
|
-
"type": "
|
|
7098
|
-
"
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
"type": "CHOICE",
|
|
7104
|
-
"members": [
|
|
7105
|
-
{
|
|
7106
|
-
"type": "SYMBOL",
|
|
7107
|
-
"name": "identifier"
|
|
7108
|
-
},
|
|
7109
|
-
{
|
|
7110
|
-
"type": "ALIAS",
|
|
7111
|
-
"content": {
|
|
7112
|
-
"type": "STRING",
|
|
7113
|
-
"value": "error"
|
|
7114
|
-
},
|
|
7115
|
-
"named": true,
|
|
7116
|
-
"value": "identifier"
|
|
7117
|
-
}
|
|
7118
|
-
]
|
|
7119
|
-
}
|
|
7120
|
-
},
|
|
7121
|
-
{
|
|
7122
|
-
"type": "STRING",
|
|
7123
|
-
"value": ":"
|
|
7124
|
-
},
|
|
7125
|
-
{
|
|
7126
|
-
"type": "FIELD",
|
|
7127
|
-
"name": "value",
|
|
7128
|
-
"content": {
|
|
7935
|
+
"type": "FIELD",
|
|
7936
|
+
"name": "name",
|
|
7937
|
+
"content": {
|
|
7938
|
+
"type": "CHOICE",
|
|
7939
|
+
"members": [
|
|
7940
|
+
{
|
|
7129
7941
|
"type": "SYMBOL",
|
|
7130
|
-
"name": "
|
|
7942
|
+
"name": "identifier"
|
|
7943
|
+
},
|
|
7944
|
+
{
|
|
7945
|
+
"type": "ALIAS",
|
|
7946
|
+
"content": {
|
|
7947
|
+
"type": "STRING",
|
|
7948
|
+
"value": "error"
|
|
7949
|
+
},
|
|
7950
|
+
"named": true,
|
|
7951
|
+
"value": "identifier"
|
|
7131
7952
|
}
|
|
7132
|
-
|
|
7133
|
-
|
|
7953
|
+
]
|
|
7954
|
+
}
|
|
7134
7955
|
},
|
|
7135
7956
|
{
|
|
7136
|
-
"type": "
|
|
7137
|
-
"
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7957
|
+
"type": "STRING",
|
|
7958
|
+
"value": ":"
|
|
7959
|
+
},
|
|
7960
|
+
{
|
|
7961
|
+
"type": "FIELD",
|
|
7962
|
+
"name": "value",
|
|
7963
|
+
"content": {
|
|
7964
|
+
"type": "SYMBOL",
|
|
7965
|
+
"name": "expression"
|
|
7966
|
+
}
|
|
7967
|
+
}
|
|
7968
|
+
]
|
|
7969
|
+
},
|
|
7970
|
+
{
|
|
7971
|
+
"type": "SEQ",
|
|
7972
|
+
"members": [
|
|
7973
|
+
{
|
|
7974
|
+
"type": "STRING",
|
|
7975
|
+
"value": ".."
|
|
7976
|
+
},
|
|
7977
|
+
{
|
|
7978
|
+
"type": "FIELD",
|
|
7979
|
+
"name": "spread",
|
|
7980
|
+
"content": {
|
|
7981
|
+
"type": "SYMBOL",
|
|
7982
|
+
"name": "expression"
|
|
7983
|
+
}
|
|
7151
7984
|
}
|
|
7152
7985
|
]
|
|
7153
7986
|
}
|
|
7154
7987
|
]
|
|
7155
7988
|
},
|
|
7989
|
+
"_shorthand_field_initializer": {
|
|
7990
|
+
"type": "FIELD",
|
|
7991
|
+
"name": "name",
|
|
7992
|
+
"content": {
|
|
7993
|
+
"type": "CHOICE",
|
|
7994
|
+
"members": [
|
|
7995
|
+
{
|
|
7996
|
+
"type": "SYMBOL",
|
|
7997
|
+
"name": "identifier"
|
|
7998
|
+
},
|
|
7999
|
+
{
|
|
8000
|
+
"type": "ALIAS",
|
|
8001
|
+
"content": {
|
|
8002
|
+
"type": "STRING",
|
|
8003
|
+
"value": "error"
|
|
8004
|
+
},
|
|
8005
|
+
"named": true,
|
|
8006
|
+
"value": "identifier"
|
|
8007
|
+
}
|
|
8008
|
+
]
|
|
8009
|
+
}
|
|
8010
|
+
},
|
|
7156
8011
|
"array_expression": {
|
|
7157
8012
|
"type": "SEQ",
|
|
7158
8013
|
"members": [
|
|
@@ -7808,6 +8663,18 @@
|
|
|
7808
8663
|
"type": "STRING",
|
|
7809
8664
|
"value": "|"
|
|
7810
8665
|
},
|
|
8666
|
+
{
|
|
8667
|
+
"type": "CHOICE",
|
|
8668
|
+
"members": [
|
|
8669
|
+
{
|
|
8670
|
+
"type": "SYMBOL",
|
|
8671
|
+
"name": "type_parameters"
|
|
8672
|
+
},
|
|
8673
|
+
{
|
|
8674
|
+
"type": "BLANK"
|
|
8675
|
+
}
|
|
8676
|
+
]
|
|
8677
|
+
},
|
|
7811
8678
|
{
|
|
7812
8679
|
"type": "CHOICE",
|
|
7813
8680
|
"members": [
|
|
@@ -7927,6 +8794,18 @@
|
|
|
7927
8794
|
}
|
|
7928
8795
|
]
|
|
7929
8796
|
},
|
|
8797
|
+
{
|
|
8798
|
+
"type": "CHOICE",
|
|
8799
|
+
"members": [
|
|
8800
|
+
{
|
|
8801
|
+
"type": "STRING",
|
|
8802
|
+
"value": ","
|
|
8803
|
+
},
|
|
8804
|
+
{
|
|
8805
|
+
"type": "BLANK"
|
|
8806
|
+
}
|
|
8807
|
+
]
|
|
8808
|
+
},
|
|
7930
8809
|
{
|
|
7931
8810
|
"type": "STRING",
|
|
7932
8811
|
"value": ")"
|
|
@@ -8010,6 +8889,18 @@
|
|
|
8010
8889
|
}
|
|
8011
8890
|
]
|
|
8012
8891
|
},
|
|
8892
|
+
{
|
|
8893
|
+
"type": "CHOICE",
|
|
8894
|
+
"members": [
|
|
8895
|
+
{
|
|
8896
|
+
"type": "SYMBOL",
|
|
8897
|
+
"name": "private_capture_list"
|
|
8898
|
+
},
|
|
8899
|
+
{
|
|
8900
|
+
"type": "BLANK"
|
|
8901
|
+
}
|
|
8902
|
+
]
|
|
8903
|
+
},
|
|
8013
8904
|
{
|
|
8014
8905
|
"type": "STRING",
|
|
8015
8906
|
"value": "|"
|
|
@@ -8114,67 +9005,63 @@
|
|
|
8114
9005
|
"type": "CHOICE",
|
|
8115
9006
|
"members": [
|
|
8116
9007
|
{
|
|
8117
|
-
"type": "
|
|
8118
|
-
"
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
}
|
|
8166
|
-
]
|
|
8167
|
-
},
|
|
8168
|
-
{
|
|
8169
|
-
"type": "STRING",
|
|
8170
|
-
"value": ")"
|
|
8171
|
-
}
|
|
8172
|
-
]
|
|
9008
|
+
"type": "SYMBOL",
|
|
9009
|
+
"name": "spawn_keys"
|
|
9010
|
+
},
|
|
9011
|
+
{
|
|
9012
|
+
"type": "BLANK"
|
|
9013
|
+
}
|
|
9014
|
+
]
|
|
9015
|
+
}
|
|
9016
|
+
]
|
|
9017
|
+
},
|
|
9018
|
+
"spawn_keys": {
|
|
9019
|
+
"type": "SEQ",
|
|
9020
|
+
"members": [
|
|
9021
|
+
{
|
|
9022
|
+
"type": "STRING",
|
|
9023
|
+
"value": "{"
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
"type": "SEQ",
|
|
9027
|
+
"members": [
|
|
9028
|
+
{
|
|
9029
|
+
"type": "SYMBOL",
|
|
9030
|
+
"name": "field_initializer"
|
|
9031
|
+
},
|
|
9032
|
+
{
|
|
9033
|
+
"type": "REPEAT",
|
|
9034
|
+
"content": {
|
|
9035
|
+
"type": "SEQ",
|
|
9036
|
+
"members": [
|
|
9037
|
+
{
|
|
9038
|
+
"type": "STRING",
|
|
9039
|
+
"value": ","
|
|
9040
|
+
},
|
|
9041
|
+
{
|
|
9042
|
+
"type": "SYMBOL",
|
|
9043
|
+
"name": "field_initializer"
|
|
9044
|
+
}
|
|
9045
|
+
]
|
|
9046
|
+
}
|
|
9047
|
+
}
|
|
9048
|
+
]
|
|
9049
|
+
},
|
|
9050
|
+
{
|
|
9051
|
+
"type": "CHOICE",
|
|
9052
|
+
"members": [
|
|
9053
|
+
{
|
|
9054
|
+
"type": "STRING",
|
|
9055
|
+
"value": ","
|
|
8173
9056
|
},
|
|
8174
9057
|
{
|
|
8175
9058
|
"type": "BLANK"
|
|
8176
9059
|
}
|
|
8177
9060
|
]
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
"type": "STRING",
|
|
9064
|
+
"value": "}"
|
|
8178
9065
|
}
|
|
8179
9066
|
]
|
|
8180
9067
|
},
|
|
@@ -8544,7 +9431,7 @@
|
|
|
8544
9431
|
},
|
|
8545
9432
|
{
|
|
8546
9433
|
"type": "STRING",
|
|
8547
|
-
"value": "
|
|
9434
|
+
"value": "["
|
|
8548
9435
|
},
|
|
8549
9436
|
{
|
|
8550
9437
|
"type": "CHOICE",
|
|
@@ -8598,13 +9485,13 @@
|
|
|
8598
9485
|
},
|
|
8599
9486
|
{
|
|
8600
9487
|
"type": "STRING",
|
|
8601
|
-
"value": "
|
|
9488
|
+
"value": "]"
|
|
8602
9489
|
}
|
|
8603
9490
|
]
|
|
8604
9491
|
},
|
|
8605
9492
|
"fork_expression": {
|
|
8606
9493
|
"type": "PREC_RIGHT",
|
|
8607
|
-
"value":
|
|
9494
|
+
"value": 19,
|
|
8608
9495
|
"content": {
|
|
8609
9496
|
"type": "SEQ",
|
|
8610
9497
|
"members": [
|
|
@@ -9649,7 +10536,7 @@
|
|
|
9649
10536
|
"conflicts": [
|
|
9650
10537
|
[
|
|
9651
10538
|
"_block_arm_value",
|
|
9652
|
-
"
|
|
10539
|
+
"_callable_expression"
|
|
9653
10540
|
],
|
|
9654
10541
|
[
|
|
9655
10542
|
"_block_arm_value",
|
|
@@ -9657,22 +10544,22 @@
|
|
|
9657
10544
|
],
|
|
9658
10545
|
[
|
|
9659
10546
|
"if_statement",
|
|
9660
|
-
"
|
|
10547
|
+
"_callable_expression"
|
|
9661
10548
|
],
|
|
9662
10549
|
[
|
|
9663
10550
|
"match_statement",
|
|
9664
|
-
"
|
|
10551
|
+
"_callable_expression"
|
|
9665
10552
|
],
|
|
9666
10553
|
[
|
|
9667
10554
|
"block_like_statement",
|
|
9668
|
-
"
|
|
10555
|
+
"_callable_expression"
|
|
9669
10556
|
],
|
|
9670
10557
|
[
|
|
9671
10558
|
"block_like_statement",
|
|
9672
10559
|
"fork_expression"
|
|
9673
10560
|
],
|
|
9674
10561
|
[
|
|
9675
|
-
"
|
|
10562
|
+
"_callable_expression",
|
|
9676
10563
|
"struct_init"
|
|
9677
10564
|
],
|
|
9678
10565
|
[
|
|
@@ -9680,12 +10567,12 @@
|
|
|
9680
10567
|
"map_literal"
|
|
9681
10568
|
],
|
|
9682
10569
|
[
|
|
9683
|
-
"
|
|
10570
|
+
"_callable_expression",
|
|
9684
10571
|
"_member_object",
|
|
9685
10572
|
"path_expression"
|
|
9686
10573
|
],
|
|
9687
10574
|
[
|
|
9688
|
-
"
|
|
10575
|
+
"_callable_expression",
|
|
9689
10576
|
"_member_object"
|
|
9690
10577
|
],
|
|
9691
10578
|
[
|
|
@@ -9697,7 +10584,7 @@
|
|
|
9697
10584
|
"bare_generic_call_expression"
|
|
9698
10585
|
],
|
|
9699
10586
|
[
|
|
9700
|
-
"
|
|
10587
|
+
"_callable_expression",
|
|
9701
10588
|
"private_capture_list"
|
|
9702
10589
|
],
|
|
9703
10590
|
[
|
|
@@ -9717,7 +10604,7 @@
|
|
|
9717
10604
|
],
|
|
9718
10605
|
[
|
|
9719
10606
|
"return_error_expression",
|
|
9720
|
-
"
|
|
10607
|
+
"_callable_expression"
|
|
9721
10608
|
],
|
|
9722
10609
|
[
|
|
9723
10610
|
"module_path"
|