@konomanoasa/tree-sitter-lua 0.0.0-stage → 0.2.0

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.
@@ -0,0 +1,3162 @@
1
+ {
2
+ "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
3
+ "name": "lua",
4
+ "word": "identifier",
5
+ "rules": {
6
+ "chunk": {
7
+ "type": "SEQ",
8
+ "members": [
9
+ {
10
+ "type": "CHOICE",
11
+ "members": [
12
+ {
13
+ "type": "SYMBOL",
14
+ "name": "_file_start"
15
+ },
16
+ {
17
+ "type": "SYMBOL",
18
+ "name": "hash_line"
19
+ }
20
+ ]
21
+ },
22
+ {
23
+ "type": "CHOICE",
24
+ "members": [
25
+ {
26
+ "type": "SYMBOL",
27
+ "name": "_block"
28
+ },
29
+ {
30
+ "type": "BLANK"
31
+ }
32
+ ]
33
+ }
34
+ ]
35
+ },
36
+ "_block": {
37
+ "type": "CHOICE",
38
+ "members": [
39
+ {
40
+ "type": "SEQ",
41
+ "members": [
42
+ {
43
+ "type": "REPEAT1",
44
+ "content": {
45
+ "type": "SYMBOL",
46
+ "name": "_statement"
47
+ }
48
+ },
49
+ {
50
+ "type": "CHOICE",
51
+ "members": [
52
+ {
53
+ "type": "SYMBOL",
54
+ "name": "return_statement"
55
+ },
56
+ {
57
+ "type": "BLANK"
58
+ }
59
+ ]
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "type": "SYMBOL",
65
+ "name": "return_statement"
66
+ }
67
+ ]
68
+ },
69
+ "block": {
70
+ "type": "SYMBOL",
71
+ "name": "_block"
72
+ },
73
+ "_statement": {
74
+ "type": "CHOICE",
75
+ "members": [
76
+ {
77
+ "type": "SYMBOL",
78
+ "name": "empty_statement"
79
+ },
80
+ {
81
+ "type": "SYMBOL",
82
+ "name": "assignment_statement"
83
+ },
84
+ {
85
+ "type": "SYMBOL",
86
+ "name": "function_call"
87
+ },
88
+ {
89
+ "type": "SYMBOL",
90
+ "name": "label_statement"
91
+ },
92
+ {
93
+ "type": "SYMBOL",
94
+ "name": "break_statement"
95
+ },
96
+ {
97
+ "type": "SYMBOL",
98
+ "name": "goto_statement"
99
+ },
100
+ {
101
+ "type": "SYMBOL",
102
+ "name": "do_statement"
103
+ },
104
+ {
105
+ "type": "SYMBOL",
106
+ "name": "while_statement"
107
+ },
108
+ {
109
+ "type": "SYMBOL",
110
+ "name": "repeat_statement"
111
+ },
112
+ {
113
+ "type": "SYMBOL",
114
+ "name": "if_statement"
115
+ },
116
+ {
117
+ "type": "SYMBOL",
118
+ "name": "numeric_for_statement"
119
+ },
120
+ {
121
+ "type": "SYMBOL",
122
+ "name": "generic_for_statement"
123
+ },
124
+ {
125
+ "type": "SYMBOL",
126
+ "name": "function_declaration"
127
+ },
128
+ {
129
+ "type": "SYMBOL",
130
+ "name": "local_declaration"
131
+ },
132
+ {
133
+ "type": "SYMBOL",
134
+ "name": "global_declaration"
135
+ }
136
+ ]
137
+ },
138
+ "empty_statement": {
139
+ "type": "STRING",
140
+ "value": ";"
141
+ },
142
+ "assignment_statement": {
143
+ "type": "SEQ",
144
+ "members": [
145
+ {
146
+ "type": "FIELD",
147
+ "name": "variables",
148
+ "content": {
149
+ "type": "SYMBOL",
150
+ "name": "variable_list"
151
+ }
152
+ },
153
+ {
154
+ "type": "STRING",
155
+ "value": "="
156
+ },
157
+ {
158
+ "type": "FIELD",
159
+ "name": "values",
160
+ "content": {
161
+ "type": "SYMBOL",
162
+ "name": "expression_list"
163
+ }
164
+ }
165
+ ]
166
+ },
167
+ "variable_list": {
168
+ "type": "SEQ",
169
+ "members": [
170
+ {
171
+ "type": "SYMBOL",
172
+ "name": "_variable"
173
+ },
174
+ {
175
+ "type": "REPEAT",
176
+ "content": {
177
+ "type": "SEQ",
178
+ "members": [
179
+ {
180
+ "type": "STRING",
181
+ "value": ","
182
+ },
183
+ {
184
+ "type": "SYMBOL",
185
+ "name": "_variable"
186
+ }
187
+ ]
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ "label_statement": {
193
+ "type": "SEQ",
194
+ "members": [
195
+ {
196
+ "type": "STRING",
197
+ "value": "::"
198
+ },
199
+ {
200
+ "type": "FIELD",
201
+ "name": "name",
202
+ "content": {
203
+ "type": "SYMBOL",
204
+ "name": "identifier"
205
+ }
206
+ },
207
+ {
208
+ "type": "STRING",
209
+ "value": "::"
210
+ }
211
+ ]
212
+ },
213
+ "break_statement": {
214
+ "type": "STRING",
215
+ "value": "break"
216
+ },
217
+ "goto_statement": {
218
+ "type": "SEQ",
219
+ "members": [
220
+ {
221
+ "type": "STRING",
222
+ "value": "goto"
223
+ },
224
+ {
225
+ "type": "FIELD",
226
+ "name": "name",
227
+ "content": {
228
+ "type": "SYMBOL",
229
+ "name": "identifier"
230
+ }
231
+ }
232
+ ]
233
+ },
234
+ "do_statement": {
235
+ "type": "SEQ",
236
+ "members": [
237
+ {
238
+ "type": "STRING",
239
+ "value": "do"
240
+ },
241
+ {
242
+ "type": "CHOICE",
243
+ "members": [
244
+ {
245
+ "type": "FIELD",
246
+ "name": "body",
247
+ "content": {
248
+ "type": "SYMBOL",
249
+ "name": "block"
250
+ }
251
+ },
252
+ {
253
+ "type": "BLANK"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "type": "STRING",
259
+ "value": "end"
260
+ }
261
+ ]
262
+ },
263
+ "while_statement": {
264
+ "type": "SEQ",
265
+ "members": [
266
+ {
267
+ "type": "STRING",
268
+ "value": "while"
269
+ },
270
+ {
271
+ "type": "FIELD",
272
+ "name": "condition",
273
+ "content": {
274
+ "type": "SYMBOL",
275
+ "name": "_expression"
276
+ }
277
+ },
278
+ {
279
+ "type": "STRING",
280
+ "value": "do"
281
+ },
282
+ {
283
+ "type": "CHOICE",
284
+ "members": [
285
+ {
286
+ "type": "FIELD",
287
+ "name": "body",
288
+ "content": {
289
+ "type": "SYMBOL",
290
+ "name": "block"
291
+ }
292
+ },
293
+ {
294
+ "type": "BLANK"
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "type": "STRING",
300
+ "value": "end"
301
+ }
302
+ ]
303
+ },
304
+ "repeat_statement": {
305
+ "type": "SEQ",
306
+ "members": [
307
+ {
308
+ "type": "STRING",
309
+ "value": "repeat"
310
+ },
311
+ {
312
+ "type": "CHOICE",
313
+ "members": [
314
+ {
315
+ "type": "FIELD",
316
+ "name": "body",
317
+ "content": {
318
+ "type": "SYMBOL",
319
+ "name": "block"
320
+ }
321
+ },
322
+ {
323
+ "type": "BLANK"
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "type": "STRING",
329
+ "value": "until"
330
+ },
331
+ {
332
+ "type": "FIELD",
333
+ "name": "condition",
334
+ "content": {
335
+ "type": "SYMBOL",
336
+ "name": "_expression"
337
+ }
338
+ }
339
+ ]
340
+ },
341
+ "if_statement": {
342
+ "type": "SEQ",
343
+ "members": [
344
+ {
345
+ "type": "STRING",
346
+ "value": "if"
347
+ },
348
+ {
349
+ "type": "FIELD",
350
+ "name": "condition",
351
+ "content": {
352
+ "type": "SYMBOL",
353
+ "name": "_expression"
354
+ }
355
+ },
356
+ {
357
+ "type": "STRING",
358
+ "value": "then"
359
+ },
360
+ {
361
+ "type": "CHOICE",
362
+ "members": [
363
+ {
364
+ "type": "FIELD",
365
+ "name": "body",
366
+ "content": {
367
+ "type": "SYMBOL",
368
+ "name": "block"
369
+ }
370
+ },
371
+ {
372
+ "type": "BLANK"
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "type": "REPEAT",
378
+ "content": {
379
+ "type": "SYMBOL",
380
+ "name": "elseif_clause"
381
+ }
382
+ },
383
+ {
384
+ "type": "CHOICE",
385
+ "members": [
386
+ {
387
+ "type": "SYMBOL",
388
+ "name": "else_clause"
389
+ },
390
+ {
391
+ "type": "BLANK"
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "type": "STRING",
397
+ "value": "end"
398
+ }
399
+ ]
400
+ },
401
+ "elseif_clause": {
402
+ "type": "SEQ",
403
+ "members": [
404
+ {
405
+ "type": "STRING",
406
+ "value": "elseif"
407
+ },
408
+ {
409
+ "type": "FIELD",
410
+ "name": "condition",
411
+ "content": {
412
+ "type": "SYMBOL",
413
+ "name": "_expression"
414
+ }
415
+ },
416
+ {
417
+ "type": "STRING",
418
+ "value": "then"
419
+ },
420
+ {
421
+ "type": "CHOICE",
422
+ "members": [
423
+ {
424
+ "type": "FIELD",
425
+ "name": "body",
426
+ "content": {
427
+ "type": "SYMBOL",
428
+ "name": "block"
429
+ }
430
+ },
431
+ {
432
+ "type": "BLANK"
433
+ }
434
+ ]
435
+ }
436
+ ]
437
+ },
438
+ "else_clause": {
439
+ "type": "SEQ",
440
+ "members": [
441
+ {
442
+ "type": "STRING",
443
+ "value": "else"
444
+ },
445
+ {
446
+ "type": "CHOICE",
447
+ "members": [
448
+ {
449
+ "type": "FIELD",
450
+ "name": "body",
451
+ "content": {
452
+ "type": "SYMBOL",
453
+ "name": "block"
454
+ }
455
+ },
456
+ {
457
+ "type": "BLANK"
458
+ }
459
+ ]
460
+ }
461
+ ]
462
+ },
463
+ "numeric_for_statement": {
464
+ "type": "SEQ",
465
+ "members": [
466
+ {
467
+ "type": "STRING",
468
+ "value": "for"
469
+ },
470
+ {
471
+ "type": "FIELD",
472
+ "name": "name",
473
+ "content": {
474
+ "type": "SYMBOL",
475
+ "name": "identifier"
476
+ }
477
+ },
478
+ {
479
+ "type": "STRING",
480
+ "value": "="
481
+ },
482
+ {
483
+ "type": "FIELD",
484
+ "name": "start",
485
+ "content": {
486
+ "type": "SYMBOL",
487
+ "name": "_expression"
488
+ }
489
+ },
490
+ {
491
+ "type": "STRING",
492
+ "value": ","
493
+ },
494
+ {
495
+ "type": "FIELD",
496
+ "name": "limit",
497
+ "content": {
498
+ "type": "SYMBOL",
499
+ "name": "_expression"
500
+ }
501
+ },
502
+ {
503
+ "type": "CHOICE",
504
+ "members": [
505
+ {
506
+ "type": "SEQ",
507
+ "members": [
508
+ {
509
+ "type": "STRING",
510
+ "value": ","
511
+ },
512
+ {
513
+ "type": "FIELD",
514
+ "name": "step",
515
+ "content": {
516
+ "type": "SYMBOL",
517
+ "name": "_expression"
518
+ }
519
+ }
520
+ ]
521
+ },
522
+ {
523
+ "type": "BLANK"
524
+ }
525
+ ]
526
+ },
527
+ {
528
+ "type": "STRING",
529
+ "value": "do"
530
+ },
531
+ {
532
+ "type": "CHOICE",
533
+ "members": [
534
+ {
535
+ "type": "FIELD",
536
+ "name": "body",
537
+ "content": {
538
+ "type": "SYMBOL",
539
+ "name": "block"
540
+ }
541
+ },
542
+ {
543
+ "type": "BLANK"
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "type": "STRING",
549
+ "value": "end"
550
+ }
551
+ ]
552
+ },
553
+ "generic_for_statement": {
554
+ "type": "SEQ",
555
+ "members": [
556
+ {
557
+ "type": "STRING",
558
+ "value": "for"
559
+ },
560
+ {
561
+ "type": "FIELD",
562
+ "name": "names",
563
+ "content": {
564
+ "type": "SYMBOL",
565
+ "name": "name_list"
566
+ }
567
+ },
568
+ {
569
+ "type": "STRING",
570
+ "value": "in"
571
+ },
572
+ {
573
+ "type": "FIELD",
574
+ "name": "values",
575
+ "content": {
576
+ "type": "SYMBOL",
577
+ "name": "expression_list"
578
+ }
579
+ },
580
+ {
581
+ "type": "STRING",
582
+ "value": "do"
583
+ },
584
+ {
585
+ "type": "CHOICE",
586
+ "members": [
587
+ {
588
+ "type": "FIELD",
589
+ "name": "body",
590
+ "content": {
591
+ "type": "SYMBOL",
592
+ "name": "block"
593
+ }
594
+ },
595
+ {
596
+ "type": "BLANK"
597
+ }
598
+ ]
599
+ },
600
+ {
601
+ "type": "STRING",
602
+ "value": "end"
603
+ }
604
+ ]
605
+ },
606
+ "name_list": {
607
+ "type": "SEQ",
608
+ "members": [
609
+ {
610
+ "type": "SYMBOL",
611
+ "name": "identifier"
612
+ },
613
+ {
614
+ "type": "REPEAT",
615
+ "content": {
616
+ "type": "SEQ",
617
+ "members": [
618
+ {
619
+ "type": "STRING",
620
+ "value": ","
621
+ },
622
+ {
623
+ "type": "SYMBOL",
624
+ "name": "identifier"
625
+ }
626
+ ]
627
+ }
628
+ }
629
+ ]
630
+ },
631
+ "local_declaration": {
632
+ "type": "SEQ",
633
+ "members": [
634
+ {
635
+ "type": "STRING",
636
+ "value": "local"
637
+ },
638
+ {
639
+ "type": "FIELD",
640
+ "name": "names",
641
+ "content": {
642
+ "type": "SYMBOL",
643
+ "name": "attribute_name_list"
644
+ }
645
+ },
646
+ {
647
+ "type": "CHOICE",
648
+ "members": [
649
+ {
650
+ "type": "SYMBOL",
651
+ "name": "_initializer"
652
+ },
653
+ {
654
+ "type": "BLANK"
655
+ }
656
+ ]
657
+ }
658
+ ]
659
+ },
660
+ "global_declaration": {
661
+ "type": "SEQ",
662
+ "members": [
663
+ {
664
+ "type": "STRING",
665
+ "value": "global"
666
+ },
667
+ {
668
+ "type": "CHOICE",
669
+ "members": [
670
+ {
671
+ "type": "SEQ",
672
+ "members": [
673
+ {
674
+ "type": "FIELD",
675
+ "name": "names",
676
+ "content": {
677
+ "type": "ALIAS",
678
+ "content": {
679
+ "type": "SYMBOL",
680
+ "name": "_global_names"
681
+ },
682
+ "named": true,
683
+ "value": "attribute_name_list"
684
+ }
685
+ },
686
+ {
687
+ "type": "CHOICE",
688
+ "members": [
689
+ {
690
+ "type": "SYMBOL",
691
+ "name": "_initializer"
692
+ },
693
+ {
694
+ "type": "BLANK"
695
+ }
696
+ ]
697
+ }
698
+ ]
699
+ },
700
+ {
701
+ "type": "SEQ",
702
+ "members": [
703
+ {
704
+ "type": "CHOICE",
705
+ "members": [
706
+ {
707
+ "type": "FIELD",
708
+ "name": "attribute",
709
+ "content": {
710
+ "type": "ALIAS",
711
+ "content": {
712
+ "type": "SYMBOL",
713
+ "name": "_const_attribute"
714
+ },
715
+ "named": true,
716
+ "value": "attribute"
717
+ }
718
+ },
719
+ {
720
+ "type": "BLANK"
721
+ }
722
+ ]
723
+ },
724
+ {
725
+ "type": "FIELD",
726
+ "name": "all",
727
+ "content": {
728
+ "type": "STRING",
729
+ "value": "*"
730
+ }
731
+ }
732
+ ]
733
+ }
734
+ ]
735
+ }
736
+ ]
737
+ },
738
+ "_initializer": {
739
+ "type": "SEQ",
740
+ "members": [
741
+ {
742
+ "type": "STRING",
743
+ "value": "="
744
+ },
745
+ {
746
+ "type": "FIELD",
747
+ "name": "values",
748
+ "content": {
749
+ "type": "SYMBOL",
750
+ "name": "expression_list"
751
+ }
752
+ }
753
+ ]
754
+ },
755
+ "attribute_name_list": {
756
+ "type": "CHOICE",
757
+ "members": [
758
+ {
759
+ "type": "SEQ",
760
+ "members": [
761
+ {
762
+ "type": "CHOICE",
763
+ "members": [
764
+ {
765
+ "type": "FIELD",
766
+ "name": "attribute",
767
+ "content": {
768
+ "type": "ALIAS",
769
+ "content": {
770
+ "type": "SYMBOL",
771
+ "name": "_const_attribute"
772
+ },
773
+ "named": true,
774
+ "value": "attribute"
775
+ }
776
+ },
777
+ {
778
+ "type": "BLANK"
779
+ }
780
+ ]
781
+ },
782
+ {
783
+ "type": "SEQ",
784
+ "members": [
785
+ {
786
+ "type": "REPEAT",
787
+ "content": {
788
+ "type": "SEQ",
789
+ "members": [
790
+ {
791
+ "type": "CHOICE",
792
+ "members": [
793
+ {
794
+ "type": "ALIAS",
795
+ "content": {
796
+ "type": "SYMBOL",
797
+ "name": "_plain_name"
798
+ },
799
+ "named": true,
800
+ "value": "attributed_name"
801
+ },
802
+ {
803
+ "type": "ALIAS",
804
+ "content": {
805
+ "type": "SYMBOL",
806
+ "name": "_const_name"
807
+ },
808
+ "named": true,
809
+ "value": "attributed_name"
810
+ }
811
+ ]
812
+ },
813
+ {
814
+ "type": "STRING",
815
+ "value": ","
816
+ }
817
+ ]
818
+ }
819
+ },
820
+ {
821
+ "type": "CHOICE",
822
+ "members": [
823
+ {
824
+ "type": "CHOICE",
825
+ "members": [
826
+ {
827
+ "type": "ALIAS",
828
+ "content": {
829
+ "type": "SYMBOL",
830
+ "name": "_plain_name"
831
+ },
832
+ "named": true,
833
+ "value": "attributed_name"
834
+ },
835
+ {
836
+ "type": "ALIAS",
837
+ "content": {
838
+ "type": "SYMBOL",
839
+ "name": "_const_name"
840
+ },
841
+ "named": true,
842
+ "value": "attributed_name"
843
+ }
844
+ ]
845
+ },
846
+ {
847
+ "type": "SEQ",
848
+ "members": [
849
+ {
850
+ "type": "ALIAS",
851
+ "content": {
852
+ "type": "SYMBOL",
853
+ "name": "_close_name"
854
+ },
855
+ "named": true,
856
+ "value": "attributed_name"
857
+ },
858
+ {
859
+ "type": "REPEAT",
860
+ "content": {
861
+ "type": "SEQ",
862
+ "members": [
863
+ {
864
+ "type": "STRING",
865
+ "value": ","
866
+ },
867
+ {
868
+ "type": "CHOICE",
869
+ "members": [
870
+ {
871
+ "type": "ALIAS",
872
+ "content": {
873
+ "type": "SYMBOL",
874
+ "name": "_plain_name"
875
+ },
876
+ "named": true,
877
+ "value": "attributed_name"
878
+ },
879
+ {
880
+ "type": "ALIAS",
881
+ "content": {
882
+ "type": "SYMBOL",
883
+ "name": "_const_name"
884
+ },
885
+ "named": true,
886
+ "value": "attributed_name"
887
+ }
888
+ ]
889
+ }
890
+ ]
891
+ }
892
+ }
893
+ ]
894
+ }
895
+ ]
896
+ }
897
+ ]
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "type": "SEQ",
903
+ "members": [
904
+ {
905
+ "type": "FIELD",
906
+ "name": "attribute",
907
+ "content": {
908
+ "type": "ALIAS",
909
+ "content": {
910
+ "type": "SYMBOL",
911
+ "name": "_close_attribute"
912
+ },
913
+ "named": true,
914
+ "value": "attribute"
915
+ }
916
+ },
917
+ {
918
+ "type": "SEQ",
919
+ "members": [
920
+ {
921
+ "type": "REPEAT",
922
+ "content": {
923
+ "type": "SEQ",
924
+ "members": [
925
+ {
926
+ "type": "ALIAS",
927
+ "content": {
928
+ "type": "SYMBOL",
929
+ "name": "_const_name"
930
+ },
931
+ "named": true,
932
+ "value": "attributed_name"
933
+ },
934
+ {
935
+ "type": "STRING",
936
+ "value": ","
937
+ }
938
+ ]
939
+ }
940
+ },
941
+ {
942
+ "type": "CHOICE",
943
+ "members": [
944
+ {
945
+ "type": "ALIAS",
946
+ "content": {
947
+ "type": "SYMBOL",
948
+ "name": "_const_name"
949
+ },
950
+ "named": true,
951
+ "value": "attributed_name"
952
+ },
953
+ {
954
+ "type": "SEQ",
955
+ "members": [
956
+ {
957
+ "type": "CHOICE",
958
+ "members": [
959
+ {
960
+ "type": "ALIAS",
961
+ "content": {
962
+ "type": "SYMBOL",
963
+ "name": "_plain_name"
964
+ },
965
+ "named": true,
966
+ "value": "attributed_name"
967
+ },
968
+ {
969
+ "type": "ALIAS",
970
+ "content": {
971
+ "type": "SYMBOL",
972
+ "name": "_close_name"
973
+ },
974
+ "named": true,
975
+ "value": "attributed_name"
976
+ }
977
+ ]
978
+ },
979
+ {
980
+ "type": "REPEAT",
981
+ "content": {
982
+ "type": "SEQ",
983
+ "members": [
984
+ {
985
+ "type": "STRING",
986
+ "value": ","
987
+ },
988
+ {
989
+ "type": "ALIAS",
990
+ "content": {
991
+ "type": "SYMBOL",
992
+ "name": "_const_name"
993
+ },
994
+ "named": true,
995
+ "value": "attributed_name"
996
+ }
997
+ ]
998
+ }
999
+ }
1000
+ ]
1001
+ }
1002
+ ]
1003
+ }
1004
+ ]
1005
+ }
1006
+ ]
1007
+ }
1008
+ ]
1009
+ },
1010
+ "_global_names": {
1011
+ "type": "SEQ",
1012
+ "members": [
1013
+ {
1014
+ "type": "CHOICE",
1015
+ "members": [
1016
+ {
1017
+ "type": "FIELD",
1018
+ "name": "attribute",
1019
+ "content": {
1020
+ "type": "ALIAS",
1021
+ "content": {
1022
+ "type": "SYMBOL",
1023
+ "name": "_const_attribute"
1024
+ },
1025
+ "named": true,
1026
+ "value": "attribute"
1027
+ }
1028
+ },
1029
+ {
1030
+ "type": "BLANK"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "type": "SEQ",
1036
+ "members": [
1037
+ {
1038
+ "type": "CHOICE",
1039
+ "members": [
1040
+ {
1041
+ "type": "ALIAS",
1042
+ "content": {
1043
+ "type": "SYMBOL",
1044
+ "name": "_plain_name"
1045
+ },
1046
+ "named": true,
1047
+ "value": "attributed_name"
1048
+ },
1049
+ {
1050
+ "type": "ALIAS",
1051
+ "content": {
1052
+ "type": "SYMBOL",
1053
+ "name": "_const_name"
1054
+ },
1055
+ "named": true,
1056
+ "value": "attributed_name"
1057
+ }
1058
+ ]
1059
+ },
1060
+ {
1061
+ "type": "REPEAT",
1062
+ "content": {
1063
+ "type": "SEQ",
1064
+ "members": [
1065
+ {
1066
+ "type": "STRING",
1067
+ "value": ","
1068
+ },
1069
+ {
1070
+ "type": "CHOICE",
1071
+ "members": [
1072
+ {
1073
+ "type": "ALIAS",
1074
+ "content": {
1075
+ "type": "SYMBOL",
1076
+ "name": "_plain_name"
1077
+ },
1078
+ "named": true,
1079
+ "value": "attributed_name"
1080
+ },
1081
+ {
1082
+ "type": "ALIAS",
1083
+ "content": {
1084
+ "type": "SYMBOL",
1085
+ "name": "_const_name"
1086
+ },
1087
+ "named": true,
1088
+ "value": "attributed_name"
1089
+ }
1090
+ ]
1091
+ }
1092
+ ]
1093
+ }
1094
+ }
1095
+ ]
1096
+ }
1097
+ ]
1098
+ },
1099
+ "_plain_name": {
1100
+ "type": "FIELD",
1101
+ "name": "name",
1102
+ "content": {
1103
+ "type": "SYMBOL",
1104
+ "name": "identifier"
1105
+ }
1106
+ },
1107
+ "_const_name": {
1108
+ "type": "SEQ",
1109
+ "members": [
1110
+ {
1111
+ "type": "FIELD",
1112
+ "name": "name",
1113
+ "content": {
1114
+ "type": "SYMBOL",
1115
+ "name": "identifier"
1116
+ }
1117
+ },
1118
+ {
1119
+ "type": "FIELD",
1120
+ "name": "attribute",
1121
+ "content": {
1122
+ "type": "ALIAS",
1123
+ "content": {
1124
+ "type": "SYMBOL",
1125
+ "name": "_const_attribute"
1126
+ },
1127
+ "named": true,
1128
+ "value": "attribute"
1129
+ }
1130
+ }
1131
+ ]
1132
+ },
1133
+ "_close_name": {
1134
+ "type": "SEQ",
1135
+ "members": [
1136
+ {
1137
+ "type": "FIELD",
1138
+ "name": "name",
1139
+ "content": {
1140
+ "type": "SYMBOL",
1141
+ "name": "identifier"
1142
+ }
1143
+ },
1144
+ {
1145
+ "type": "FIELD",
1146
+ "name": "attribute",
1147
+ "content": {
1148
+ "type": "ALIAS",
1149
+ "content": {
1150
+ "type": "SYMBOL",
1151
+ "name": "_close_attribute"
1152
+ },
1153
+ "named": true,
1154
+ "value": "attribute"
1155
+ }
1156
+ }
1157
+ ]
1158
+ },
1159
+ "_const_attribute": {
1160
+ "type": "SEQ",
1161
+ "members": [
1162
+ {
1163
+ "type": "STRING",
1164
+ "value": "<"
1165
+ },
1166
+ {
1167
+ "type": "FIELD",
1168
+ "name": "name",
1169
+ "content": {
1170
+ "type": "ALIAS",
1171
+ "content": {
1172
+ "type": "STRING",
1173
+ "value": "const"
1174
+ },
1175
+ "named": true,
1176
+ "value": "identifier"
1177
+ }
1178
+ },
1179
+ {
1180
+ "type": "ALIAS",
1181
+ "content": {
1182
+ "type": "SYMBOL",
1183
+ "name": "_greater"
1184
+ },
1185
+ "named": false,
1186
+ "value": ">"
1187
+ }
1188
+ ]
1189
+ },
1190
+ "_close_attribute": {
1191
+ "type": "SEQ",
1192
+ "members": [
1193
+ {
1194
+ "type": "STRING",
1195
+ "value": "<"
1196
+ },
1197
+ {
1198
+ "type": "FIELD",
1199
+ "name": "name",
1200
+ "content": {
1201
+ "type": "ALIAS",
1202
+ "content": {
1203
+ "type": "STRING",
1204
+ "value": "close"
1205
+ },
1206
+ "named": true,
1207
+ "value": "identifier"
1208
+ }
1209
+ },
1210
+ {
1211
+ "type": "ALIAS",
1212
+ "content": {
1213
+ "type": "SYMBOL",
1214
+ "name": "_greater"
1215
+ },
1216
+ "named": false,
1217
+ "value": ">"
1218
+ }
1219
+ ]
1220
+ },
1221
+ "function_declaration": {
1222
+ "type": "SEQ",
1223
+ "members": [
1224
+ {
1225
+ "type": "CHOICE",
1226
+ "members": [
1227
+ {
1228
+ "type": "SEQ",
1229
+ "members": [
1230
+ {
1231
+ "type": "STRING",
1232
+ "value": "function"
1233
+ },
1234
+ {
1235
+ "type": "FIELD",
1236
+ "name": "name",
1237
+ "content": {
1238
+ "type": "SYMBOL",
1239
+ "name": "function_name"
1240
+ }
1241
+ }
1242
+ ]
1243
+ },
1244
+ {
1245
+ "type": "SEQ",
1246
+ "members": [
1247
+ {
1248
+ "type": "FIELD",
1249
+ "name": "scope",
1250
+ "content": {
1251
+ "type": "CHOICE",
1252
+ "members": [
1253
+ {
1254
+ "type": "STRING",
1255
+ "value": "local"
1256
+ },
1257
+ {
1258
+ "type": "STRING",
1259
+ "value": "global"
1260
+ }
1261
+ ]
1262
+ }
1263
+ },
1264
+ {
1265
+ "type": "STRING",
1266
+ "value": "function"
1267
+ },
1268
+ {
1269
+ "type": "FIELD",
1270
+ "name": "name",
1271
+ "content": {
1272
+ "type": "SYMBOL",
1273
+ "name": "identifier"
1274
+ }
1275
+ }
1276
+ ]
1277
+ }
1278
+ ]
1279
+ },
1280
+ {
1281
+ "type": "FIELD",
1282
+ "name": "body",
1283
+ "content": {
1284
+ "type": "SYMBOL",
1285
+ "name": "function_body"
1286
+ }
1287
+ }
1288
+ ]
1289
+ },
1290
+ "function_name": {
1291
+ "type": "SEQ",
1292
+ "members": [
1293
+ {
1294
+ "type": "REPEAT",
1295
+ "content": {
1296
+ "type": "SEQ",
1297
+ "members": [
1298
+ {
1299
+ "type": "FIELD",
1300
+ "name": "table",
1301
+ "content": {
1302
+ "type": "SYMBOL",
1303
+ "name": "identifier"
1304
+ }
1305
+ },
1306
+ {
1307
+ "type": "STRING",
1308
+ "value": "."
1309
+ }
1310
+ ]
1311
+ }
1312
+ },
1313
+ {
1314
+ "type": "CHOICE",
1315
+ "members": [
1316
+ {
1317
+ "type": "FIELD",
1318
+ "name": "name",
1319
+ "content": {
1320
+ "type": "SYMBOL",
1321
+ "name": "identifier"
1322
+ }
1323
+ },
1324
+ {
1325
+ "type": "SEQ",
1326
+ "members": [
1327
+ {
1328
+ "type": "FIELD",
1329
+ "name": "table",
1330
+ "content": {
1331
+ "type": "SYMBOL",
1332
+ "name": "identifier"
1333
+ }
1334
+ },
1335
+ {
1336
+ "type": "STRING",
1337
+ "value": ":"
1338
+ },
1339
+ {
1340
+ "type": "FIELD",
1341
+ "name": "method",
1342
+ "content": {
1343
+ "type": "SYMBOL",
1344
+ "name": "identifier"
1345
+ }
1346
+ }
1347
+ ]
1348
+ }
1349
+ ]
1350
+ }
1351
+ ]
1352
+ },
1353
+ "function_expression": {
1354
+ "type": "SEQ",
1355
+ "members": [
1356
+ {
1357
+ "type": "STRING",
1358
+ "value": "function"
1359
+ },
1360
+ {
1361
+ "type": "FIELD",
1362
+ "name": "body",
1363
+ "content": {
1364
+ "type": "SYMBOL",
1365
+ "name": "function_body"
1366
+ }
1367
+ }
1368
+ ]
1369
+ },
1370
+ "function_body": {
1371
+ "type": "SEQ",
1372
+ "members": [
1373
+ {
1374
+ "type": "FIELD",
1375
+ "name": "parameters",
1376
+ "content": {
1377
+ "type": "SYMBOL",
1378
+ "name": "parameters"
1379
+ }
1380
+ },
1381
+ {
1382
+ "type": "CHOICE",
1383
+ "members": [
1384
+ {
1385
+ "type": "FIELD",
1386
+ "name": "body",
1387
+ "content": {
1388
+ "type": "SYMBOL",
1389
+ "name": "block"
1390
+ }
1391
+ },
1392
+ {
1393
+ "type": "BLANK"
1394
+ }
1395
+ ]
1396
+ },
1397
+ {
1398
+ "type": "STRING",
1399
+ "value": "end"
1400
+ }
1401
+ ]
1402
+ },
1403
+ "parameters": {
1404
+ "type": "SEQ",
1405
+ "members": [
1406
+ {
1407
+ "type": "STRING",
1408
+ "value": "("
1409
+ },
1410
+ {
1411
+ "type": "CHOICE",
1412
+ "members": [
1413
+ {
1414
+ "type": "CHOICE",
1415
+ "members": [
1416
+ {
1417
+ "type": "SEQ",
1418
+ "members": [
1419
+ {
1420
+ "type": "FIELD",
1421
+ "name": "names",
1422
+ "content": {
1423
+ "type": "SYMBOL",
1424
+ "name": "name_list"
1425
+ }
1426
+ },
1427
+ {
1428
+ "type": "CHOICE",
1429
+ "members": [
1430
+ {
1431
+ "type": "SEQ",
1432
+ "members": [
1433
+ {
1434
+ "type": "STRING",
1435
+ "value": ","
1436
+ },
1437
+ {
1438
+ "type": "FIELD",
1439
+ "name": "vararg",
1440
+ "content": {
1441
+ "type": "SYMBOL",
1442
+ "name": "vararg_parameter"
1443
+ }
1444
+ }
1445
+ ]
1446
+ },
1447
+ {
1448
+ "type": "BLANK"
1449
+ }
1450
+ ]
1451
+ }
1452
+ ]
1453
+ },
1454
+ {
1455
+ "type": "FIELD",
1456
+ "name": "vararg",
1457
+ "content": {
1458
+ "type": "SYMBOL",
1459
+ "name": "vararg_parameter"
1460
+ }
1461
+ }
1462
+ ]
1463
+ },
1464
+ {
1465
+ "type": "BLANK"
1466
+ }
1467
+ ]
1468
+ },
1469
+ {
1470
+ "type": "STRING",
1471
+ "value": ")"
1472
+ }
1473
+ ]
1474
+ },
1475
+ "vararg_parameter": {
1476
+ "type": "SEQ",
1477
+ "members": [
1478
+ {
1479
+ "type": "STRING",
1480
+ "value": "..."
1481
+ },
1482
+ {
1483
+ "type": "CHOICE",
1484
+ "members": [
1485
+ {
1486
+ "type": "FIELD",
1487
+ "name": "name",
1488
+ "content": {
1489
+ "type": "SYMBOL",
1490
+ "name": "identifier"
1491
+ }
1492
+ },
1493
+ {
1494
+ "type": "BLANK"
1495
+ }
1496
+ ]
1497
+ }
1498
+ ]
1499
+ },
1500
+ "return_statement": {
1501
+ "type": "SEQ",
1502
+ "members": [
1503
+ {
1504
+ "type": "STRING",
1505
+ "value": "return"
1506
+ },
1507
+ {
1508
+ "type": "CHOICE",
1509
+ "members": [
1510
+ {
1511
+ "type": "FIELD",
1512
+ "name": "values",
1513
+ "content": {
1514
+ "type": "SYMBOL",
1515
+ "name": "expression_list"
1516
+ }
1517
+ },
1518
+ {
1519
+ "type": "BLANK"
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ "type": "CHOICE",
1525
+ "members": [
1526
+ {
1527
+ "type": "STRING",
1528
+ "value": ";"
1529
+ },
1530
+ {
1531
+ "type": "BLANK"
1532
+ }
1533
+ ]
1534
+ }
1535
+ ]
1536
+ },
1537
+ "expression_list": {
1538
+ "type": "SEQ",
1539
+ "members": [
1540
+ {
1541
+ "type": "SYMBOL",
1542
+ "name": "_expression"
1543
+ },
1544
+ {
1545
+ "type": "REPEAT",
1546
+ "content": {
1547
+ "type": "SEQ",
1548
+ "members": [
1549
+ {
1550
+ "type": "STRING",
1551
+ "value": ","
1552
+ },
1553
+ {
1554
+ "type": "SYMBOL",
1555
+ "name": "_expression"
1556
+ }
1557
+ ]
1558
+ }
1559
+ }
1560
+ ]
1561
+ },
1562
+ "_expression": {
1563
+ "type": "CHOICE",
1564
+ "members": [
1565
+ {
1566
+ "type": "SYMBOL",
1567
+ "name": "_prefix_expression"
1568
+ },
1569
+ {
1570
+ "type": "SYMBOL",
1571
+ "name": "unary_expression"
1572
+ },
1573
+ {
1574
+ "type": "SYMBOL",
1575
+ "name": "binary_expression"
1576
+ },
1577
+ {
1578
+ "type": "SYMBOL",
1579
+ "name": "table_constructor"
1580
+ },
1581
+ {
1582
+ "type": "SYMBOL",
1583
+ "name": "vararg_expression"
1584
+ },
1585
+ {
1586
+ "type": "SYMBOL",
1587
+ "name": "function_expression"
1588
+ },
1589
+ {
1590
+ "type": "SYMBOL",
1591
+ "name": "number"
1592
+ },
1593
+ {
1594
+ "type": "SYMBOL",
1595
+ "name": "short_string"
1596
+ },
1597
+ {
1598
+ "type": "SYMBOL",
1599
+ "name": "long_string"
1600
+ },
1601
+ {
1602
+ "type": "SYMBOL",
1603
+ "name": "nil"
1604
+ },
1605
+ {
1606
+ "type": "SYMBOL",
1607
+ "name": "true"
1608
+ },
1609
+ {
1610
+ "type": "SYMBOL",
1611
+ "name": "false"
1612
+ }
1613
+ ]
1614
+ },
1615
+ "unary_expression": {
1616
+ "type": "PREC",
1617
+ "value": 11,
1618
+ "content": {
1619
+ "type": "SEQ",
1620
+ "members": [
1621
+ {
1622
+ "type": "FIELD",
1623
+ "name": "operator",
1624
+ "content": {
1625
+ "type": "CHOICE",
1626
+ "members": [
1627
+ {
1628
+ "type": "STRING",
1629
+ "value": "-"
1630
+ },
1631
+ {
1632
+ "type": "STRING",
1633
+ "value": "not"
1634
+ },
1635
+ {
1636
+ "type": "STRING",
1637
+ "value": "#"
1638
+ },
1639
+ {
1640
+ "type": "STRING",
1641
+ "value": "~"
1642
+ }
1643
+ ]
1644
+ }
1645
+ },
1646
+ {
1647
+ "type": "FIELD",
1648
+ "name": "operand",
1649
+ "content": {
1650
+ "type": "SYMBOL",
1651
+ "name": "_expression"
1652
+ }
1653
+ }
1654
+ ]
1655
+ }
1656
+ },
1657
+ "binary_expression": {
1658
+ "type": "CHOICE",
1659
+ "members": [
1660
+ {
1661
+ "type": "PREC_LEFT",
1662
+ "value": 1,
1663
+ "content": {
1664
+ "type": "SEQ",
1665
+ "members": [
1666
+ {
1667
+ "type": "FIELD",
1668
+ "name": "left",
1669
+ "content": {
1670
+ "type": "SYMBOL",
1671
+ "name": "_expression"
1672
+ }
1673
+ },
1674
+ {
1675
+ "type": "FIELD",
1676
+ "name": "operator",
1677
+ "content": {
1678
+ "type": "STRING",
1679
+ "value": "or"
1680
+ }
1681
+ },
1682
+ {
1683
+ "type": "FIELD",
1684
+ "name": "right",
1685
+ "content": {
1686
+ "type": "SYMBOL",
1687
+ "name": "_expression"
1688
+ }
1689
+ }
1690
+ ]
1691
+ }
1692
+ },
1693
+ {
1694
+ "type": "PREC_LEFT",
1695
+ "value": 2,
1696
+ "content": {
1697
+ "type": "SEQ",
1698
+ "members": [
1699
+ {
1700
+ "type": "FIELD",
1701
+ "name": "left",
1702
+ "content": {
1703
+ "type": "SYMBOL",
1704
+ "name": "_expression"
1705
+ }
1706
+ },
1707
+ {
1708
+ "type": "FIELD",
1709
+ "name": "operator",
1710
+ "content": {
1711
+ "type": "STRING",
1712
+ "value": "and"
1713
+ }
1714
+ },
1715
+ {
1716
+ "type": "FIELD",
1717
+ "name": "right",
1718
+ "content": {
1719
+ "type": "SYMBOL",
1720
+ "name": "_expression"
1721
+ }
1722
+ }
1723
+ ]
1724
+ }
1725
+ },
1726
+ {
1727
+ "type": "PREC_LEFT",
1728
+ "value": 3,
1729
+ "content": {
1730
+ "type": "SEQ",
1731
+ "members": [
1732
+ {
1733
+ "type": "FIELD",
1734
+ "name": "left",
1735
+ "content": {
1736
+ "type": "SYMBOL",
1737
+ "name": "_expression"
1738
+ }
1739
+ },
1740
+ {
1741
+ "type": "FIELD",
1742
+ "name": "operator",
1743
+ "content": {
1744
+ "type": "CHOICE",
1745
+ "members": [
1746
+ {
1747
+ "type": "STRING",
1748
+ "value": "<"
1749
+ },
1750
+ {
1751
+ "type": "ALIAS",
1752
+ "content": {
1753
+ "type": "SYMBOL",
1754
+ "name": "_greater"
1755
+ },
1756
+ "named": false,
1757
+ "value": ">"
1758
+ },
1759
+ {
1760
+ "type": "STRING",
1761
+ "value": "<="
1762
+ },
1763
+ {
1764
+ "type": "STRING",
1765
+ "value": ">="
1766
+ },
1767
+ {
1768
+ "type": "STRING",
1769
+ "value": "~="
1770
+ },
1771
+ {
1772
+ "type": "STRING",
1773
+ "value": "=="
1774
+ }
1775
+ ]
1776
+ }
1777
+ },
1778
+ {
1779
+ "type": "FIELD",
1780
+ "name": "right",
1781
+ "content": {
1782
+ "type": "SYMBOL",
1783
+ "name": "_expression"
1784
+ }
1785
+ }
1786
+ ]
1787
+ }
1788
+ },
1789
+ {
1790
+ "type": "PREC_LEFT",
1791
+ "value": 4,
1792
+ "content": {
1793
+ "type": "SEQ",
1794
+ "members": [
1795
+ {
1796
+ "type": "FIELD",
1797
+ "name": "left",
1798
+ "content": {
1799
+ "type": "SYMBOL",
1800
+ "name": "_expression"
1801
+ }
1802
+ },
1803
+ {
1804
+ "type": "FIELD",
1805
+ "name": "operator",
1806
+ "content": {
1807
+ "type": "STRING",
1808
+ "value": "|"
1809
+ }
1810
+ },
1811
+ {
1812
+ "type": "FIELD",
1813
+ "name": "right",
1814
+ "content": {
1815
+ "type": "SYMBOL",
1816
+ "name": "_expression"
1817
+ }
1818
+ }
1819
+ ]
1820
+ }
1821
+ },
1822
+ {
1823
+ "type": "PREC_LEFT",
1824
+ "value": 5,
1825
+ "content": {
1826
+ "type": "SEQ",
1827
+ "members": [
1828
+ {
1829
+ "type": "FIELD",
1830
+ "name": "left",
1831
+ "content": {
1832
+ "type": "SYMBOL",
1833
+ "name": "_expression"
1834
+ }
1835
+ },
1836
+ {
1837
+ "type": "FIELD",
1838
+ "name": "operator",
1839
+ "content": {
1840
+ "type": "STRING",
1841
+ "value": "~"
1842
+ }
1843
+ },
1844
+ {
1845
+ "type": "FIELD",
1846
+ "name": "right",
1847
+ "content": {
1848
+ "type": "SYMBOL",
1849
+ "name": "_expression"
1850
+ }
1851
+ }
1852
+ ]
1853
+ }
1854
+ },
1855
+ {
1856
+ "type": "PREC_LEFT",
1857
+ "value": 6,
1858
+ "content": {
1859
+ "type": "SEQ",
1860
+ "members": [
1861
+ {
1862
+ "type": "FIELD",
1863
+ "name": "left",
1864
+ "content": {
1865
+ "type": "SYMBOL",
1866
+ "name": "_expression"
1867
+ }
1868
+ },
1869
+ {
1870
+ "type": "FIELD",
1871
+ "name": "operator",
1872
+ "content": {
1873
+ "type": "STRING",
1874
+ "value": "&"
1875
+ }
1876
+ },
1877
+ {
1878
+ "type": "FIELD",
1879
+ "name": "right",
1880
+ "content": {
1881
+ "type": "SYMBOL",
1882
+ "name": "_expression"
1883
+ }
1884
+ }
1885
+ ]
1886
+ }
1887
+ },
1888
+ {
1889
+ "type": "PREC_LEFT",
1890
+ "value": 7,
1891
+ "content": {
1892
+ "type": "SEQ",
1893
+ "members": [
1894
+ {
1895
+ "type": "FIELD",
1896
+ "name": "left",
1897
+ "content": {
1898
+ "type": "SYMBOL",
1899
+ "name": "_expression"
1900
+ }
1901
+ },
1902
+ {
1903
+ "type": "FIELD",
1904
+ "name": "operator",
1905
+ "content": {
1906
+ "type": "CHOICE",
1907
+ "members": [
1908
+ {
1909
+ "type": "STRING",
1910
+ "value": "<<"
1911
+ },
1912
+ {
1913
+ "type": "STRING",
1914
+ "value": ">>"
1915
+ }
1916
+ ]
1917
+ }
1918
+ },
1919
+ {
1920
+ "type": "FIELD",
1921
+ "name": "right",
1922
+ "content": {
1923
+ "type": "SYMBOL",
1924
+ "name": "_expression"
1925
+ }
1926
+ }
1927
+ ]
1928
+ }
1929
+ },
1930
+ {
1931
+ "type": "PREC_RIGHT",
1932
+ "value": 8,
1933
+ "content": {
1934
+ "type": "SEQ",
1935
+ "members": [
1936
+ {
1937
+ "type": "FIELD",
1938
+ "name": "left",
1939
+ "content": {
1940
+ "type": "SYMBOL",
1941
+ "name": "_expression"
1942
+ }
1943
+ },
1944
+ {
1945
+ "type": "FIELD",
1946
+ "name": "operator",
1947
+ "content": {
1948
+ "type": "ALIAS",
1949
+ "content": {
1950
+ "type": "SYMBOL",
1951
+ "name": "_concat"
1952
+ },
1953
+ "named": false,
1954
+ "value": ".."
1955
+ }
1956
+ },
1957
+ {
1958
+ "type": "FIELD",
1959
+ "name": "right",
1960
+ "content": {
1961
+ "type": "SYMBOL",
1962
+ "name": "_expression"
1963
+ }
1964
+ }
1965
+ ]
1966
+ }
1967
+ },
1968
+ {
1969
+ "type": "PREC_LEFT",
1970
+ "value": 9,
1971
+ "content": {
1972
+ "type": "SEQ",
1973
+ "members": [
1974
+ {
1975
+ "type": "FIELD",
1976
+ "name": "left",
1977
+ "content": {
1978
+ "type": "SYMBOL",
1979
+ "name": "_expression"
1980
+ }
1981
+ },
1982
+ {
1983
+ "type": "FIELD",
1984
+ "name": "operator",
1985
+ "content": {
1986
+ "type": "CHOICE",
1987
+ "members": [
1988
+ {
1989
+ "type": "STRING",
1990
+ "value": "+"
1991
+ },
1992
+ {
1993
+ "type": "STRING",
1994
+ "value": "-"
1995
+ }
1996
+ ]
1997
+ }
1998
+ },
1999
+ {
2000
+ "type": "FIELD",
2001
+ "name": "right",
2002
+ "content": {
2003
+ "type": "SYMBOL",
2004
+ "name": "_expression"
2005
+ }
2006
+ }
2007
+ ]
2008
+ }
2009
+ },
2010
+ {
2011
+ "type": "PREC_LEFT",
2012
+ "value": 10,
2013
+ "content": {
2014
+ "type": "SEQ",
2015
+ "members": [
2016
+ {
2017
+ "type": "FIELD",
2018
+ "name": "left",
2019
+ "content": {
2020
+ "type": "SYMBOL",
2021
+ "name": "_expression"
2022
+ }
2023
+ },
2024
+ {
2025
+ "type": "FIELD",
2026
+ "name": "operator",
2027
+ "content": {
2028
+ "type": "CHOICE",
2029
+ "members": [
2030
+ {
2031
+ "type": "STRING",
2032
+ "value": "*"
2033
+ },
2034
+ {
2035
+ "type": "STRING",
2036
+ "value": "/"
2037
+ },
2038
+ {
2039
+ "type": "STRING",
2040
+ "value": "//"
2041
+ },
2042
+ {
2043
+ "type": "STRING",
2044
+ "value": "%"
2045
+ }
2046
+ ]
2047
+ }
2048
+ },
2049
+ {
2050
+ "type": "FIELD",
2051
+ "name": "right",
2052
+ "content": {
2053
+ "type": "SYMBOL",
2054
+ "name": "_expression"
2055
+ }
2056
+ }
2057
+ ]
2058
+ }
2059
+ },
2060
+ {
2061
+ "type": "PREC_RIGHT",
2062
+ "value": 12,
2063
+ "content": {
2064
+ "type": "SEQ",
2065
+ "members": [
2066
+ {
2067
+ "type": "FIELD",
2068
+ "name": "left",
2069
+ "content": {
2070
+ "type": "SYMBOL",
2071
+ "name": "_expression"
2072
+ }
2073
+ },
2074
+ {
2075
+ "type": "FIELD",
2076
+ "name": "operator",
2077
+ "content": {
2078
+ "type": "STRING",
2079
+ "value": "^"
2080
+ }
2081
+ },
2082
+ {
2083
+ "type": "FIELD",
2084
+ "name": "right",
2085
+ "content": {
2086
+ "type": "SYMBOL",
2087
+ "name": "_expression"
2088
+ }
2089
+ }
2090
+ ]
2091
+ }
2092
+ }
2093
+ ]
2094
+ },
2095
+ "vararg_expression": {
2096
+ "type": "STRING",
2097
+ "value": "..."
2098
+ },
2099
+ "_prefix_expression": {
2100
+ "type": "PREC",
2101
+ "value": 13,
2102
+ "content": {
2103
+ "type": "CHOICE",
2104
+ "members": [
2105
+ {
2106
+ "type": "SYMBOL",
2107
+ "name": "_variable"
2108
+ },
2109
+ {
2110
+ "type": "SYMBOL",
2111
+ "name": "parenthesized_expression"
2112
+ },
2113
+ {
2114
+ "type": "SYMBOL",
2115
+ "name": "function_call"
2116
+ }
2117
+ ]
2118
+ }
2119
+ },
2120
+ "_variable": {
2121
+ "type": "CHOICE",
2122
+ "members": [
2123
+ {
2124
+ "type": "SYMBOL",
2125
+ "name": "identifier"
2126
+ },
2127
+ {
2128
+ "type": "SYMBOL",
2129
+ "name": "field_expression"
2130
+ },
2131
+ {
2132
+ "type": "SYMBOL",
2133
+ "name": "index_expression"
2134
+ }
2135
+ ]
2136
+ },
2137
+ "parenthesized_expression": {
2138
+ "type": "SEQ",
2139
+ "members": [
2140
+ {
2141
+ "type": "STRING",
2142
+ "value": "("
2143
+ },
2144
+ {
2145
+ "type": "SYMBOL",
2146
+ "name": "_expression"
2147
+ },
2148
+ {
2149
+ "type": "STRING",
2150
+ "value": ")"
2151
+ }
2152
+ ]
2153
+ },
2154
+ "field_expression": {
2155
+ "type": "PREC_LEFT",
2156
+ "value": 13,
2157
+ "content": {
2158
+ "type": "SEQ",
2159
+ "members": [
2160
+ {
2161
+ "type": "FIELD",
2162
+ "name": "table",
2163
+ "content": {
2164
+ "type": "SYMBOL",
2165
+ "name": "_prefix_expression"
2166
+ }
2167
+ },
2168
+ {
2169
+ "type": "STRING",
2170
+ "value": "."
2171
+ },
2172
+ {
2173
+ "type": "FIELD",
2174
+ "name": "field",
2175
+ "content": {
2176
+ "type": "SYMBOL",
2177
+ "name": "identifier"
2178
+ }
2179
+ }
2180
+ ]
2181
+ }
2182
+ },
2183
+ "index_expression": {
2184
+ "type": "PREC_LEFT",
2185
+ "value": 13,
2186
+ "content": {
2187
+ "type": "SEQ",
2188
+ "members": [
2189
+ {
2190
+ "type": "FIELD",
2191
+ "name": "table",
2192
+ "content": {
2193
+ "type": "SYMBOL",
2194
+ "name": "_prefix_expression"
2195
+ }
2196
+ },
2197
+ {
2198
+ "type": "STRING",
2199
+ "value": "["
2200
+ },
2201
+ {
2202
+ "type": "FIELD",
2203
+ "name": "index",
2204
+ "content": {
2205
+ "type": "SYMBOL",
2206
+ "name": "_expression"
2207
+ }
2208
+ },
2209
+ {
2210
+ "type": "STRING",
2211
+ "value": "]"
2212
+ }
2213
+ ]
2214
+ }
2215
+ },
2216
+ "function_call": {
2217
+ "type": "PREC_LEFT",
2218
+ "value": 13,
2219
+ "content": {
2220
+ "type": "SEQ",
2221
+ "members": [
2222
+ {
2223
+ "type": "FIELD",
2224
+ "name": "function",
2225
+ "content": {
2226
+ "type": "SYMBOL",
2227
+ "name": "_prefix_expression"
2228
+ }
2229
+ },
2230
+ {
2231
+ "type": "CHOICE",
2232
+ "members": [
2233
+ {
2234
+ "type": "SEQ",
2235
+ "members": [
2236
+ {
2237
+ "type": "STRING",
2238
+ "value": ":"
2239
+ },
2240
+ {
2241
+ "type": "FIELD",
2242
+ "name": "method",
2243
+ "content": {
2244
+ "type": "SYMBOL",
2245
+ "name": "identifier"
2246
+ }
2247
+ }
2248
+ ]
2249
+ },
2250
+ {
2251
+ "type": "BLANK"
2252
+ }
2253
+ ]
2254
+ },
2255
+ {
2256
+ "type": "FIELD",
2257
+ "name": "arguments",
2258
+ "content": {
2259
+ "type": "SYMBOL",
2260
+ "name": "arguments"
2261
+ }
2262
+ }
2263
+ ]
2264
+ }
2265
+ },
2266
+ "arguments": {
2267
+ "type": "CHOICE",
2268
+ "members": [
2269
+ {
2270
+ "type": "SEQ",
2271
+ "members": [
2272
+ {
2273
+ "type": "STRING",
2274
+ "value": "("
2275
+ },
2276
+ {
2277
+ "type": "CHOICE",
2278
+ "members": [
2279
+ {
2280
+ "type": "SYMBOL",
2281
+ "name": "expression_list"
2282
+ },
2283
+ {
2284
+ "type": "BLANK"
2285
+ }
2286
+ ]
2287
+ },
2288
+ {
2289
+ "type": "STRING",
2290
+ "value": ")"
2291
+ }
2292
+ ]
2293
+ },
2294
+ {
2295
+ "type": "SYMBOL",
2296
+ "name": "table_constructor"
2297
+ },
2298
+ {
2299
+ "type": "SYMBOL",
2300
+ "name": "short_string"
2301
+ },
2302
+ {
2303
+ "type": "SYMBOL",
2304
+ "name": "long_string"
2305
+ }
2306
+ ]
2307
+ },
2308
+ "table_constructor": {
2309
+ "type": "SEQ",
2310
+ "members": [
2311
+ {
2312
+ "type": "STRING",
2313
+ "value": "{"
2314
+ },
2315
+ {
2316
+ "type": "CHOICE",
2317
+ "members": [
2318
+ {
2319
+ "type": "SYMBOL",
2320
+ "name": "field_list"
2321
+ },
2322
+ {
2323
+ "type": "BLANK"
2324
+ }
2325
+ ]
2326
+ },
2327
+ {
2328
+ "type": "STRING",
2329
+ "value": "}"
2330
+ }
2331
+ ]
2332
+ },
2333
+ "field_list": {
2334
+ "type": "SEQ",
2335
+ "members": [
2336
+ {
2337
+ "type": "SEQ",
2338
+ "members": [
2339
+ {
2340
+ "type": "SYMBOL",
2341
+ "name": "table_field"
2342
+ },
2343
+ {
2344
+ "type": "REPEAT",
2345
+ "content": {
2346
+ "type": "SEQ",
2347
+ "members": [
2348
+ {
2349
+ "type": "CHOICE",
2350
+ "members": [
2351
+ {
2352
+ "type": "STRING",
2353
+ "value": ","
2354
+ },
2355
+ {
2356
+ "type": "STRING",
2357
+ "value": ";"
2358
+ }
2359
+ ]
2360
+ },
2361
+ {
2362
+ "type": "SYMBOL",
2363
+ "name": "table_field"
2364
+ }
2365
+ ]
2366
+ }
2367
+ }
2368
+ ]
2369
+ },
2370
+ {
2371
+ "type": "CHOICE",
2372
+ "members": [
2373
+ {
2374
+ "type": "CHOICE",
2375
+ "members": [
2376
+ {
2377
+ "type": "STRING",
2378
+ "value": ","
2379
+ },
2380
+ {
2381
+ "type": "STRING",
2382
+ "value": ";"
2383
+ }
2384
+ ]
2385
+ },
2386
+ {
2387
+ "type": "BLANK"
2388
+ }
2389
+ ]
2390
+ }
2391
+ ]
2392
+ },
2393
+ "table_field": {
2394
+ "type": "SEQ",
2395
+ "members": [
2396
+ {
2397
+ "type": "CHOICE",
2398
+ "members": [
2399
+ {
2400
+ "type": "SEQ",
2401
+ "members": [
2402
+ {
2403
+ "type": "CHOICE",
2404
+ "members": [
2405
+ {
2406
+ "type": "FIELD",
2407
+ "name": "key",
2408
+ "content": {
2409
+ "type": "SYMBOL",
2410
+ "name": "identifier"
2411
+ }
2412
+ },
2413
+ {
2414
+ "type": "SEQ",
2415
+ "members": [
2416
+ {
2417
+ "type": "STRING",
2418
+ "value": "["
2419
+ },
2420
+ {
2421
+ "type": "FIELD",
2422
+ "name": "key",
2423
+ "content": {
2424
+ "type": "SYMBOL",
2425
+ "name": "_expression"
2426
+ }
2427
+ },
2428
+ {
2429
+ "type": "STRING",
2430
+ "value": "]"
2431
+ }
2432
+ ]
2433
+ }
2434
+ ]
2435
+ },
2436
+ {
2437
+ "type": "STRING",
2438
+ "value": "="
2439
+ }
2440
+ ]
2441
+ },
2442
+ {
2443
+ "type": "BLANK"
2444
+ }
2445
+ ]
2446
+ },
2447
+ {
2448
+ "type": "FIELD",
2449
+ "name": "value",
2450
+ "content": {
2451
+ "type": "SYMBOL",
2452
+ "name": "_expression"
2453
+ }
2454
+ }
2455
+ ]
2456
+ },
2457
+ "identifier": {
2458
+ "type": "PATTERN",
2459
+ "value": "[a-zA-Z_][a-zA-Z0-9_]*"
2460
+ },
2461
+ "nil": {
2462
+ "type": "STRING",
2463
+ "value": "nil"
2464
+ },
2465
+ "true": {
2466
+ "type": "STRING",
2467
+ "value": "true"
2468
+ },
2469
+ "false": {
2470
+ "type": "STRING",
2471
+ "value": "false"
2472
+ },
2473
+ "number": {
2474
+ "type": "SEQ",
2475
+ "members": [
2476
+ {
2477
+ "type": "CHOICE",
2478
+ "members": [
2479
+ {
2480
+ "type": "SEQ",
2481
+ "members": [
2482
+ {
2483
+ "type": "CHOICE",
2484
+ "members": [
2485
+ {
2486
+ "type": "SEQ",
2487
+ "members": [
2488
+ {
2489
+ "type": "ALIAS",
2490
+ "content": {
2491
+ "type": "PATTERN",
2492
+ "value": "[0-9]+"
2493
+ },
2494
+ "named": true,
2495
+ "value": "decimal_digits"
2496
+ },
2497
+ {
2498
+ "type": "CHOICE",
2499
+ "members": [
2500
+ {
2501
+ "type": "SEQ",
2502
+ "members": [
2503
+ {
2504
+ "type": "STRING",
2505
+ "value": "."
2506
+ },
2507
+ {
2508
+ "type": "CHOICE",
2509
+ "members": [
2510
+ {
2511
+ "type": "SYMBOL",
2512
+ "name": "decimal_digits"
2513
+ },
2514
+ {
2515
+ "type": "BLANK"
2516
+ }
2517
+ ]
2518
+ }
2519
+ ]
2520
+ },
2521
+ {
2522
+ "type": "BLANK"
2523
+ }
2524
+ ]
2525
+ }
2526
+ ]
2527
+ },
2528
+ {
2529
+ "type": "SEQ",
2530
+ "members": [
2531
+ {
2532
+ "type": "STRING",
2533
+ "value": "."
2534
+ },
2535
+ {
2536
+ "type": "SYMBOL",
2537
+ "name": "decimal_digits"
2538
+ }
2539
+ ]
2540
+ }
2541
+ ]
2542
+ },
2543
+ {
2544
+ "type": "CHOICE",
2545
+ "members": [
2546
+ {
2547
+ "type": "SYMBOL",
2548
+ "name": "exponent_part"
2549
+ },
2550
+ {
2551
+ "type": "BLANK"
2552
+ }
2553
+ ]
2554
+ }
2555
+ ]
2556
+ },
2557
+ {
2558
+ "type": "SEQ",
2559
+ "members": [
2560
+ {
2561
+ "type": "CHOICE",
2562
+ "members": [
2563
+ {
2564
+ "type": "STRING",
2565
+ "value": "0x"
2566
+ },
2567
+ {
2568
+ "type": "STRING",
2569
+ "value": "0X"
2570
+ }
2571
+ ]
2572
+ },
2573
+ {
2574
+ "type": "CHOICE",
2575
+ "members": [
2576
+ {
2577
+ "type": "SEQ",
2578
+ "members": [
2579
+ {
2580
+ "type": "SYMBOL",
2581
+ "name": "hex_digits"
2582
+ },
2583
+ {
2584
+ "type": "CHOICE",
2585
+ "members": [
2586
+ {
2587
+ "type": "SEQ",
2588
+ "members": [
2589
+ {
2590
+ "type": "STRING",
2591
+ "value": "."
2592
+ },
2593
+ {
2594
+ "type": "CHOICE",
2595
+ "members": [
2596
+ {
2597
+ "type": "SYMBOL",
2598
+ "name": "hex_digits"
2599
+ },
2600
+ {
2601
+ "type": "BLANK"
2602
+ }
2603
+ ]
2604
+ }
2605
+ ]
2606
+ },
2607
+ {
2608
+ "type": "BLANK"
2609
+ }
2610
+ ]
2611
+ }
2612
+ ]
2613
+ },
2614
+ {
2615
+ "type": "SEQ",
2616
+ "members": [
2617
+ {
2618
+ "type": "STRING",
2619
+ "value": "."
2620
+ },
2621
+ {
2622
+ "type": "SYMBOL",
2623
+ "name": "hex_digits"
2624
+ }
2625
+ ]
2626
+ }
2627
+ ]
2628
+ },
2629
+ {
2630
+ "type": "CHOICE",
2631
+ "members": [
2632
+ {
2633
+ "type": "ALIAS",
2634
+ "content": {
2635
+ "type": "SYMBOL",
2636
+ "name": "_hex_exponent_part"
2637
+ },
2638
+ "named": true,
2639
+ "value": "exponent_part"
2640
+ },
2641
+ {
2642
+ "type": "BLANK"
2643
+ }
2644
+ ]
2645
+ }
2646
+ ]
2647
+ }
2648
+ ]
2649
+ },
2650
+ {
2651
+ "type": "SYMBOL",
2652
+ "name": "_number_end"
2653
+ }
2654
+ ]
2655
+ },
2656
+ "exponent_part": {
2657
+ "type": "SEQ",
2658
+ "members": [
2659
+ {
2660
+ "type": "CHOICE",
2661
+ "members": [
2662
+ {
2663
+ "type": "ALIAS",
2664
+ "content": {
2665
+ "type": "SYMBOL",
2666
+ "name": "_exponent_lower_e"
2667
+ },
2668
+ "named": false,
2669
+ "value": "e"
2670
+ },
2671
+ {
2672
+ "type": "ALIAS",
2673
+ "content": {
2674
+ "type": "SYMBOL",
2675
+ "name": "_exponent_upper_e"
2676
+ },
2677
+ "named": false,
2678
+ "value": "E"
2679
+ }
2680
+ ]
2681
+ },
2682
+ {
2683
+ "type": "CHOICE",
2684
+ "members": [
2685
+ {
2686
+ "type": "CHOICE",
2687
+ "members": [
2688
+ {
2689
+ "type": "STRING",
2690
+ "value": "+"
2691
+ },
2692
+ {
2693
+ "type": "STRING",
2694
+ "value": "-"
2695
+ }
2696
+ ]
2697
+ },
2698
+ {
2699
+ "type": "BLANK"
2700
+ }
2701
+ ]
2702
+ },
2703
+ {
2704
+ "type": "SYMBOL",
2705
+ "name": "decimal_digits"
2706
+ }
2707
+ ]
2708
+ },
2709
+ "_hex_exponent_part": {
2710
+ "type": "SEQ",
2711
+ "members": [
2712
+ {
2713
+ "type": "CHOICE",
2714
+ "members": [
2715
+ {
2716
+ "type": "ALIAS",
2717
+ "content": {
2718
+ "type": "SYMBOL",
2719
+ "name": "_exponent_lower_p"
2720
+ },
2721
+ "named": false,
2722
+ "value": "p"
2723
+ },
2724
+ {
2725
+ "type": "ALIAS",
2726
+ "content": {
2727
+ "type": "SYMBOL",
2728
+ "name": "_exponent_upper_p"
2729
+ },
2730
+ "named": false,
2731
+ "value": "P"
2732
+ }
2733
+ ]
2734
+ },
2735
+ {
2736
+ "type": "CHOICE",
2737
+ "members": [
2738
+ {
2739
+ "type": "CHOICE",
2740
+ "members": [
2741
+ {
2742
+ "type": "STRING",
2743
+ "value": "+"
2744
+ },
2745
+ {
2746
+ "type": "STRING",
2747
+ "value": "-"
2748
+ }
2749
+ ]
2750
+ },
2751
+ {
2752
+ "type": "BLANK"
2753
+ }
2754
+ ]
2755
+ },
2756
+ {
2757
+ "type": "SYMBOL",
2758
+ "name": "decimal_digits"
2759
+ }
2760
+ ]
2761
+ },
2762
+ "short_string": {
2763
+ "type": "CHOICE",
2764
+ "members": [
2765
+ {
2766
+ "type": "SEQ",
2767
+ "members": [
2768
+ {
2769
+ "type": "STRING",
2770
+ "value": "'"
2771
+ },
2772
+ {
2773
+ "type": "REPEAT",
2774
+ "content": {
2775
+ "type": "CHOICE",
2776
+ "members": [
2777
+ {
2778
+ "type": "ALIAS",
2779
+ "content": {
2780
+ "type": "SYMBOL",
2781
+ "name": "_single_text"
2782
+ },
2783
+ "named": true,
2784
+ "value": "string_content"
2785
+ },
2786
+ {
2787
+ "type": "SYMBOL",
2788
+ "name": "_escape"
2789
+ }
2790
+ ]
2791
+ }
2792
+ },
2793
+ {
2794
+ "type": "STRING",
2795
+ "value": "'"
2796
+ }
2797
+ ]
2798
+ },
2799
+ {
2800
+ "type": "SEQ",
2801
+ "members": [
2802
+ {
2803
+ "type": "STRING",
2804
+ "value": "\""
2805
+ },
2806
+ {
2807
+ "type": "REPEAT",
2808
+ "content": {
2809
+ "type": "CHOICE",
2810
+ "members": [
2811
+ {
2812
+ "type": "ALIAS",
2813
+ "content": {
2814
+ "type": "SYMBOL",
2815
+ "name": "_double_text"
2816
+ },
2817
+ "named": true,
2818
+ "value": "string_content"
2819
+ },
2820
+ {
2821
+ "type": "SYMBOL",
2822
+ "name": "_escape"
2823
+ }
2824
+ ]
2825
+ }
2826
+ },
2827
+ {
2828
+ "type": "STRING",
2829
+ "value": "\""
2830
+ }
2831
+ ]
2832
+ }
2833
+ ]
2834
+ },
2835
+ "_escape": {
2836
+ "type": "CHOICE",
2837
+ "members": [
2838
+ {
2839
+ "type": "ALIAS",
2840
+ "content": {
2841
+ "type": "SYMBOL",
2842
+ "name": "_simple_escape"
2843
+ },
2844
+ "named": true,
2845
+ "value": "escape_sequence"
2846
+ },
2847
+ {
2848
+ "type": "SYMBOL",
2849
+ "name": "escape_sequence"
2850
+ }
2851
+ ]
2852
+ },
2853
+ "escape_sequence": {
2854
+ "type": "SEQ",
2855
+ "members": [
2856
+ {
2857
+ "type": "ALIAS",
2858
+ "content": {
2859
+ "type": "SYMBOL",
2860
+ "name": "_unicode_escape_start"
2861
+ },
2862
+ "named": false,
2863
+ "value": "\\u"
2864
+ },
2865
+ {
2866
+ "type": "IMMEDIATE_TOKEN",
2867
+ "content": {
2868
+ "type": "STRING",
2869
+ "value": "{"
2870
+ }
2871
+ },
2872
+ {
2873
+ "type": "FIELD",
2874
+ "name": "value",
2875
+ "content": {
2876
+ "type": "SYMBOL",
2877
+ "name": "code_point"
2878
+ }
2879
+ },
2880
+ {
2881
+ "type": "IMMEDIATE_TOKEN",
2882
+ "content": {
2883
+ "type": "STRING",
2884
+ "value": "}"
2885
+ }
2886
+ }
2887
+ ]
2888
+ },
2889
+ "long_string": {
2890
+ "type": "SEQ",
2891
+ "members": [
2892
+ {
2893
+ "type": "SYMBOL",
2894
+ "name": "long_bracket_open"
2895
+ },
2896
+ {
2897
+ "type": "CHOICE",
2898
+ "members": [
2899
+ {
2900
+ "type": "ALIAS",
2901
+ "content": {
2902
+ "type": "SYMBOL",
2903
+ "name": "_long_content"
2904
+ },
2905
+ "named": true,
2906
+ "value": "string_content"
2907
+ },
2908
+ {
2909
+ "type": "BLANK"
2910
+ }
2911
+ ]
2912
+ },
2913
+ {
2914
+ "type": "SYMBOL",
2915
+ "name": "long_bracket_close"
2916
+ }
2917
+ ]
2918
+ },
2919
+ "long_comment": {
2920
+ "type": "SEQ",
2921
+ "members": [
2922
+ {
2923
+ "type": "SYMBOL",
2924
+ "name": "long_comment_open"
2925
+ },
2926
+ {
2927
+ "type": "CHOICE",
2928
+ "members": [
2929
+ {
2930
+ "type": "ALIAS",
2931
+ "content": {
2932
+ "type": "SYMBOL",
2933
+ "name": "_long_content"
2934
+ },
2935
+ "named": true,
2936
+ "value": "comment_content"
2937
+ },
2938
+ {
2939
+ "type": "BLANK"
2940
+ }
2941
+ ]
2942
+ },
2943
+ {
2944
+ "type": "SYMBOL",
2945
+ "name": "long_bracket_close"
2946
+ }
2947
+ ]
2948
+ }
2949
+ },
2950
+ "extras": [
2951
+ {
2952
+ "type": "SYMBOL",
2953
+ "name": "_space"
2954
+ },
2955
+ {
2956
+ "type": "SYMBOL",
2957
+ "name": "short_comment"
2958
+ },
2959
+ {
2960
+ "type": "SYMBOL",
2961
+ "name": "long_comment"
2962
+ }
2963
+ ],
2964
+ "conflicts": [
2965
+ [
2966
+ "name_list"
2967
+ ]
2968
+ ],
2969
+ "precedences": [],
2970
+ "externals": [
2971
+ {
2972
+ "type": "SYMBOL",
2973
+ "name": "_space"
2974
+ },
2975
+ {
2976
+ "type": "SYMBOL",
2977
+ "name": "decimal_digits"
2978
+ },
2979
+ {
2980
+ "type": "SYMBOL",
2981
+ "name": "hex_digits"
2982
+ },
2983
+ {
2984
+ "type": "SYMBOL",
2985
+ "name": "_exponent_lower_e"
2986
+ },
2987
+ {
2988
+ "type": "SYMBOL",
2989
+ "name": "_exponent_upper_e"
2990
+ },
2991
+ {
2992
+ "type": "SYMBOL",
2993
+ "name": "_exponent_lower_p"
2994
+ },
2995
+ {
2996
+ "type": "SYMBOL",
2997
+ "name": "_exponent_upper_p"
2998
+ },
2999
+ {
3000
+ "type": "SYMBOL",
3001
+ "name": "_number_end"
3002
+ },
3003
+ {
3004
+ "type": "SYMBOL",
3005
+ "name": "short_comment"
3006
+ },
3007
+ {
3008
+ "type": "SYMBOL",
3009
+ "name": "long_comment_open"
3010
+ },
3011
+ {
3012
+ "type": "SYMBOL",
3013
+ "name": "long_bracket_open"
3014
+ },
3015
+ {
3016
+ "type": "SYMBOL",
3017
+ "name": "_long_content"
3018
+ },
3019
+ {
3020
+ "type": "SYMBOL",
3021
+ "name": "long_bracket_close"
3022
+ },
3023
+ {
3024
+ "type": "SYMBOL",
3025
+ "name": "_single_text"
3026
+ },
3027
+ {
3028
+ "type": "SYMBOL",
3029
+ "name": "_double_text"
3030
+ },
3031
+ {
3032
+ "type": "SYMBOL",
3033
+ "name": "_simple_escape"
3034
+ },
3035
+ {
3036
+ "type": "SYMBOL",
3037
+ "name": "_unicode_escape_start"
3038
+ },
3039
+ {
3040
+ "type": "SYMBOL",
3041
+ "name": "code_point"
3042
+ },
3043
+ {
3044
+ "type": "SYMBOL",
3045
+ "name": "_concat"
3046
+ },
3047
+ {
3048
+ "type": "SYMBOL",
3049
+ "name": "_greater"
3050
+ },
3051
+ {
3052
+ "type": "SYMBOL",
3053
+ "name": "_file_start"
3054
+ },
3055
+ {
3056
+ "type": "SYMBOL",
3057
+ "name": "hash_line"
3058
+ },
3059
+ {
3060
+ "type": "SYMBOL",
3061
+ "name": "_error_sentinel"
3062
+ }
3063
+ ],
3064
+ "inline": [],
3065
+ "supertypes": [],
3066
+ "reserved": {
3067
+ "global": [
3068
+ {
3069
+ "type": "STRING",
3070
+ "value": "and"
3071
+ },
3072
+ {
3073
+ "type": "SYMBOL",
3074
+ "name": "break_statement"
3075
+ },
3076
+ {
3077
+ "type": "STRING",
3078
+ "value": "do"
3079
+ },
3080
+ {
3081
+ "type": "STRING",
3082
+ "value": "else"
3083
+ },
3084
+ {
3085
+ "type": "STRING",
3086
+ "value": "elseif"
3087
+ },
3088
+ {
3089
+ "type": "STRING",
3090
+ "value": "end"
3091
+ },
3092
+ {
3093
+ "type": "SYMBOL",
3094
+ "name": "false"
3095
+ },
3096
+ {
3097
+ "type": "STRING",
3098
+ "value": "for"
3099
+ },
3100
+ {
3101
+ "type": "STRING",
3102
+ "value": "function"
3103
+ },
3104
+ {
3105
+ "type": "STRING",
3106
+ "value": "global"
3107
+ },
3108
+ {
3109
+ "type": "STRING",
3110
+ "value": "goto"
3111
+ },
3112
+ {
3113
+ "type": "STRING",
3114
+ "value": "if"
3115
+ },
3116
+ {
3117
+ "type": "STRING",
3118
+ "value": "in"
3119
+ },
3120
+ {
3121
+ "type": "STRING",
3122
+ "value": "local"
3123
+ },
3124
+ {
3125
+ "type": "SYMBOL",
3126
+ "name": "nil"
3127
+ },
3128
+ {
3129
+ "type": "STRING",
3130
+ "value": "not"
3131
+ },
3132
+ {
3133
+ "type": "STRING",
3134
+ "value": "or"
3135
+ },
3136
+ {
3137
+ "type": "STRING",
3138
+ "value": "repeat"
3139
+ },
3140
+ {
3141
+ "type": "STRING",
3142
+ "value": "return"
3143
+ },
3144
+ {
3145
+ "type": "STRING",
3146
+ "value": "then"
3147
+ },
3148
+ {
3149
+ "type": "SYMBOL",
3150
+ "name": "true"
3151
+ },
3152
+ {
3153
+ "type": "STRING",
3154
+ "value": "until"
3155
+ },
3156
+ {
3157
+ "type": "STRING",
3158
+ "value": "while"
3159
+ }
3160
+ ]
3161
+ }
3162
+ }