@konomanoasa/tree-sitter-toml 0.1.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,2250 @@
1
+ {
2
+ "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
3
+ "name": "toml",
4
+ "rules": {
5
+ "toml": {
6
+ "type": "SEQ",
7
+ "members": [
8
+ {
9
+ "type": "CHOICE",
10
+ "members": [
11
+ {
12
+ "type": "SYMBOL",
13
+ "name": "expression"
14
+ },
15
+ {
16
+ "type": "BLANK"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "type": "REPEAT",
22
+ "content": {
23
+ "type": "SEQ",
24
+ "members": [
25
+ {
26
+ "type": "SYMBOL",
27
+ "name": "newline"
28
+ },
29
+ {
30
+ "type": "CHOICE",
31
+ "members": [
32
+ {
33
+ "type": "SYMBOL",
34
+ "name": "expression"
35
+ },
36
+ {
37
+ "type": "BLANK"
38
+ }
39
+ ]
40
+ }
41
+ ]
42
+ }
43
+ }
44
+ ]
45
+ },
46
+ "expression": {
47
+ "type": "CHOICE",
48
+ "members": [
49
+ {
50
+ "type": "SYMBOL",
51
+ "name": "_ws"
52
+ },
53
+ {
54
+ "type": "SEQ",
55
+ "members": [
56
+ {
57
+ "type": "CHOICE",
58
+ "members": [
59
+ {
60
+ "type": "SYMBOL",
61
+ "name": "_ws"
62
+ },
63
+ {
64
+ "type": "BLANK"
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "type": "SYMBOL",
70
+ "name": "comment"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "type": "SEQ",
76
+ "members": [
77
+ {
78
+ "type": "CHOICE",
79
+ "members": [
80
+ {
81
+ "type": "SYMBOL",
82
+ "name": "_ws"
83
+ },
84
+ {
85
+ "type": "BLANK"
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "type": "CHOICE",
91
+ "members": [
92
+ {
93
+ "type": "SYMBOL",
94
+ "name": "keyval"
95
+ },
96
+ {
97
+ "type": "SYMBOL",
98
+ "name": "table"
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "type": "CHOICE",
104
+ "members": [
105
+ {
106
+ "type": "SYMBOL",
107
+ "name": "_ws"
108
+ },
109
+ {
110
+ "type": "BLANK"
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "type": "CHOICE",
116
+ "members": [
117
+ {
118
+ "type": "SYMBOL",
119
+ "name": "comment"
120
+ },
121
+ {
122
+ "type": "BLANK"
123
+ }
124
+ ]
125
+ }
126
+ ]
127
+ }
128
+ ]
129
+ },
130
+ "_ws": {
131
+ "type": "PREC_RIGHT",
132
+ "value": 0,
133
+ "content": {
134
+ "type": "REPEAT1",
135
+ "content": {
136
+ "type": "CHOICE",
137
+ "members": [
138
+ {
139
+ "type": "SYMBOL",
140
+ "name": "_space"
141
+ },
142
+ {
143
+ "type": "PATTERN",
144
+ "value": "\\t"
145
+ }
146
+ ]
147
+ }
148
+ }
149
+ },
150
+ "_space": {
151
+ "type": "PATTERN",
152
+ "value": " "
153
+ },
154
+ "newline": {
155
+ "type": "PATTERN",
156
+ "value": "\\r?\\n"
157
+ },
158
+ "comment": {
159
+ "type": "PATTERN",
160
+ "value": "#[\\t\\x20-\\x7e\\u0080-\\u{d7ff}\\u{e000}-\\u{10ffff}]*",
161
+ "flags": "u"
162
+ },
163
+ "keyval": {
164
+ "type": "SEQ",
165
+ "members": [
166
+ {
167
+ "type": "FIELD",
168
+ "name": "key",
169
+ "content": {
170
+ "type": "SYMBOL",
171
+ "name": "key"
172
+ }
173
+ },
174
+ {
175
+ "type": "CHOICE",
176
+ "members": [
177
+ {
178
+ "type": "SYMBOL",
179
+ "name": "_ws"
180
+ },
181
+ {
182
+ "type": "BLANK"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "type": "STRING",
188
+ "value": "="
189
+ },
190
+ {
191
+ "type": "CHOICE",
192
+ "members": [
193
+ {
194
+ "type": "SYMBOL",
195
+ "name": "_ws"
196
+ },
197
+ {
198
+ "type": "BLANK"
199
+ }
200
+ ]
201
+ },
202
+ {
203
+ "type": "FIELD",
204
+ "name": "value",
205
+ "content": {
206
+ "type": "SYMBOL",
207
+ "name": "val"
208
+ }
209
+ }
210
+ ]
211
+ },
212
+ "key": {
213
+ "type": "CHOICE",
214
+ "members": [
215
+ {
216
+ "type": "SYMBOL",
217
+ "name": "simple_key"
218
+ },
219
+ {
220
+ "type": "SYMBOL",
221
+ "name": "dotted_key"
222
+ }
223
+ ]
224
+ },
225
+ "simple_key": {
226
+ "type": "CHOICE",
227
+ "members": [
228
+ {
229
+ "type": "SYMBOL",
230
+ "name": "quoted_key"
231
+ },
232
+ {
233
+ "type": "SYMBOL",
234
+ "name": "unquoted_key"
235
+ }
236
+ ]
237
+ },
238
+ "unquoted_key": {
239
+ "type": "PATTERN",
240
+ "value": "[A-Za-z0-9_-]+"
241
+ },
242
+ "quoted_key": {
243
+ "type": "CHOICE",
244
+ "members": [
245
+ {
246
+ "type": "SYMBOL",
247
+ "name": "basic_string"
248
+ },
249
+ {
250
+ "type": "SYMBOL",
251
+ "name": "literal_string"
252
+ }
253
+ ]
254
+ },
255
+ "dotted_key": {
256
+ "type": "SEQ",
257
+ "members": [
258
+ {
259
+ "type": "SYMBOL",
260
+ "name": "simple_key"
261
+ },
262
+ {
263
+ "type": "REPEAT1",
264
+ "content": {
265
+ "type": "SEQ",
266
+ "members": [
267
+ {
268
+ "type": "CHOICE",
269
+ "members": [
270
+ {
271
+ "type": "SYMBOL",
272
+ "name": "_ws"
273
+ },
274
+ {
275
+ "type": "BLANK"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "type": "STRING",
281
+ "value": "."
282
+ },
283
+ {
284
+ "type": "CHOICE",
285
+ "members": [
286
+ {
287
+ "type": "SYMBOL",
288
+ "name": "_ws"
289
+ },
290
+ {
291
+ "type": "BLANK"
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "type": "SYMBOL",
297
+ "name": "simple_key"
298
+ }
299
+ ]
300
+ }
301
+ }
302
+ ]
303
+ },
304
+ "val": {
305
+ "type": "CHOICE",
306
+ "members": [
307
+ {
308
+ "type": "SYMBOL",
309
+ "name": "string"
310
+ },
311
+ {
312
+ "type": "SYMBOL",
313
+ "name": "boolean"
314
+ },
315
+ {
316
+ "type": "SYMBOL",
317
+ "name": "array"
318
+ },
319
+ {
320
+ "type": "SYMBOL",
321
+ "name": "inline_table"
322
+ },
323
+ {
324
+ "type": "SYMBOL",
325
+ "name": "date_time"
326
+ },
327
+ {
328
+ "type": "SYMBOL",
329
+ "name": "float"
330
+ },
331
+ {
332
+ "type": "SYMBOL",
333
+ "name": "integer"
334
+ }
335
+ ]
336
+ },
337
+ "string": {
338
+ "type": "CHOICE",
339
+ "members": [
340
+ {
341
+ "type": "SYMBOL",
342
+ "name": "ml_basic_string"
343
+ },
344
+ {
345
+ "type": "SYMBOL",
346
+ "name": "basic_string"
347
+ },
348
+ {
349
+ "type": "SYMBOL",
350
+ "name": "ml_literal_string"
351
+ },
352
+ {
353
+ "type": "SYMBOL",
354
+ "name": "literal_string"
355
+ }
356
+ ]
357
+ },
358
+ "basic_string": {
359
+ "type": "SEQ",
360
+ "members": [
361
+ {
362
+ "type": "STRING",
363
+ "value": "\""
364
+ },
365
+ {
366
+ "type": "REPEAT",
367
+ "content": {
368
+ "type": "SYMBOL",
369
+ "name": "basic_char"
370
+ }
371
+ },
372
+ {
373
+ "type": "STRING",
374
+ "value": "\""
375
+ }
376
+ ]
377
+ },
378
+ "basic_char": {
379
+ "type": "CHOICE",
380
+ "members": [
381
+ {
382
+ "type": "SYMBOL",
383
+ "name": "basic_unescaped"
384
+ },
385
+ {
386
+ "type": "SYMBOL",
387
+ "name": "escaped"
388
+ }
389
+ ]
390
+ },
391
+ "basic_unescaped": {
392
+ "type": "PATTERN",
393
+ "value": "[\\t\\x20-\\x21\\x23-\\x5b\\x5d-\\x7e\\u0080-\\u{d7ff}\\u{e000}-\\u{10ffff}]",
394
+ "flags": "u"
395
+ },
396
+ "escaped": {
397
+ "type": "SEQ",
398
+ "members": [
399
+ {
400
+ "type": "STRING",
401
+ "value": "\\"
402
+ },
403
+ {
404
+ "type": "SYMBOL",
405
+ "name": "escape_seq_char"
406
+ }
407
+ ]
408
+ },
409
+ "escape_seq_char": {
410
+ "type": "CHOICE",
411
+ "members": [
412
+ {
413
+ "type": "STRING",
414
+ "value": "\""
415
+ },
416
+ {
417
+ "type": "STRING",
418
+ "value": "\\"
419
+ },
420
+ {
421
+ "type": "STRING",
422
+ "value": "b"
423
+ },
424
+ {
425
+ "type": "STRING",
426
+ "value": "e"
427
+ },
428
+ {
429
+ "type": "STRING",
430
+ "value": "f"
431
+ },
432
+ {
433
+ "type": "STRING",
434
+ "value": "n"
435
+ },
436
+ {
437
+ "type": "STRING",
438
+ "value": "r"
439
+ },
440
+ {
441
+ "type": "STRING",
442
+ "value": "t"
443
+ },
444
+ {
445
+ "type": "SEQ",
446
+ "members": [
447
+ {
448
+ "type": "STRING",
449
+ "value": "x"
450
+ },
451
+ {
452
+ "type": "ALIAS",
453
+ "content": {
454
+ "type": "SYMBOL",
455
+ "name": "_hexdig"
456
+ },
457
+ "named": true,
458
+ "value": "hexdig"
459
+ },
460
+ {
461
+ "type": "ALIAS",
462
+ "content": {
463
+ "type": "SYMBOL",
464
+ "name": "_hexdig"
465
+ },
466
+ "named": true,
467
+ "value": "hexdig"
468
+ }
469
+ ]
470
+ },
471
+ {
472
+ "type": "SEQ",
473
+ "members": [
474
+ {
475
+ "type": "STRING",
476
+ "value": "u"
477
+ },
478
+ {
479
+ "type": "ALIAS",
480
+ "content": {
481
+ "type": "SYMBOL",
482
+ "name": "_hexdig"
483
+ },
484
+ "named": true,
485
+ "value": "hexdig"
486
+ },
487
+ {
488
+ "type": "ALIAS",
489
+ "content": {
490
+ "type": "SYMBOL",
491
+ "name": "_hexdig"
492
+ },
493
+ "named": true,
494
+ "value": "hexdig"
495
+ },
496
+ {
497
+ "type": "ALIAS",
498
+ "content": {
499
+ "type": "SYMBOL",
500
+ "name": "_hexdig"
501
+ },
502
+ "named": true,
503
+ "value": "hexdig"
504
+ },
505
+ {
506
+ "type": "ALIAS",
507
+ "content": {
508
+ "type": "SYMBOL",
509
+ "name": "_hexdig"
510
+ },
511
+ "named": true,
512
+ "value": "hexdig"
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "type": "SEQ",
518
+ "members": [
519
+ {
520
+ "type": "STRING",
521
+ "value": "U"
522
+ },
523
+ {
524
+ "type": "ALIAS",
525
+ "content": {
526
+ "type": "SYMBOL",
527
+ "name": "_hexdig"
528
+ },
529
+ "named": true,
530
+ "value": "hexdig"
531
+ },
532
+ {
533
+ "type": "ALIAS",
534
+ "content": {
535
+ "type": "SYMBOL",
536
+ "name": "_hexdig"
537
+ },
538
+ "named": true,
539
+ "value": "hexdig"
540
+ },
541
+ {
542
+ "type": "ALIAS",
543
+ "content": {
544
+ "type": "SYMBOL",
545
+ "name": "_hexdig"
546
+ },
547
+ "named": true,
548
+ "value": "hexdig"
549
+ },
550
+ {
551
+ "type": "ALIAS",
552
+ "content": {
553
+ "type": "SYMBOL",
554
+ "name": "_hexdig"
555
+ },
556
+ "named": true,
557
+ "value": "hexdig"
558
+ },
559
+ {
560
+ "type": "ALIAS",
561
+ "content": {
562
+ "type": "SYMBOL",
563
+ "name": "_hexdig"
564
+ },
565
+ "named": true,
566
+ "value": "hexdig"
567
+ },
568
+ {
569
+ "type": "ALIAS",
570
+ "content": {
571
+ "type": "SYMBOL",
572
+ "name": "_hexdig"
573
+ },
574
+ "named": true,
575
+ "value": "hexdig"
576
+ },
577
+ {
578
+ "type": "ALIAS",
579
+ "content": {
580
+ "type": "SYMBOL",
581
+ "name": "_hexdig"
582
+ },
583
+ "named": true,
584
+ "value": "hexdig"
585
+ },
586
+ {
587
+ "type": "ALIAS",
588
+ "content": {
589
+ "type": "SYMBOL",
590
+ "name": "_hexdig"
591
+ },
592
+ "named": true,
593
+ "value": "hexdig"
594
+ }
595
+ ]
596
+ }
597
+ ]
598
+ },
599
+ "ml_basic_string": {
600
+ "type": "PREC",
601
+ "value": 1,
602
+ "content": {
603
+ "type": "SEQ",
604
+ "members": [
605
+ {
606
+ "type": "STRING",
607
+ "value": "\"\"\""
608
+ },
609
+ {
610
+ "type": "CHOICE",
611
+ "members": [
612
+ {
613
+ "type": "SYMBOL",
614
+ "name": "newline"
615
+ },
616
+ {
617
+ "type": "BLANK"
618
+ }
619
+ ]
620
+ },
621
+ {
622
+ "type": "CHOICE",
623
+ "members": [
624
+ {
625
+ "type": "SYMBOL",
626
+ "name": "ml_basic_body"
627
+ },
628
+ {
629
+ "type": "BLANK"
630
+ }
631
+ ]
632
+ },
633
+ {
634
+ "type": "STRING",
635
+ "value": "\"\"\""
636
+ }
637
+ ]
638
+ }
639
+ },
640
+ "ml_basic_body": {
641
+ "type": "REPEAT1",
642
+ "content": {
643
+ "type": "CHOICE",
644
+ "members": [
645
+ {
646
+ "type": "SYMBOL",
647
+ "name": "mlb_content"
648
+ },
649
+ {
650
+ "type": "SYMBOL",
651
+ "name": "mlb_quotes"
652
+ }
653
+ ]
654
+ }
655
+ },
656
+ "mlb_content": {
657
+ "type": "CHOICE",
658
+ "members": [
659
+ {
660
+ "type": "SYMBOL",
661
+ "name": "basic_char"
662
+ },
663
+ {
664
+ "type": "SYMBOL",
665
+ "name": "newline"
666
+ },
667
+ {
668
+ "type": "SYMBOL",
669
+ "name": "mlb_escaped_nl"
670
+ }
671
+ ]
672
+ },
673
+ "mlb_quotes": {
674
+ "type": "PREC_RIGHT",
675
+ "value": 0,
676
+ "content": {
677
+ "type": "SEQ",
678
+ "members": [
679
+ {
680
+ "type": "ALIAS",
681
+ "content": {
682
+ "type": "SYMBOL",
683
+ "name": "_mlb_quote"
684
+ },
685
+ "named": false,
686
+ "value": "\""
687
+ },
688
+ {
689
+ "type": "CHOICE",
690
+ "members": [
691
+ {
692
+ "type": "ALIAS",
693
+ "content": {
694
+ "type": "SYMBOL",
695
+ "name": "_mlb_quote"
696
+ },
697
+ "named": false,
698
+ "value": "\""
699
+ },
700
+ {
701
+ "type": "BLANK"
702
+ }
703
+ ]
704
+ }
705
+ ]
706
+ }
707
+ },
708
+ "mlb_escaped_nl": {
709
+ "type": "PREC_RIGHT",
710
+ "value": 0,
711
+ "content": {
712
+ "type": "SEQ",
713
+ "members": [
714
+ {
715
+ "type": "STRING",
716
+ "value": "\\"
717
+ },
718
+ {
719
+ "type": "CHOICE",
720
+ "members": [
721
+ {
722
+ "type": "SYMBOL",
723
+ "name": "_ws"
724
+ },
725
+ {
726
+ "type": "BLANK"
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ "type": "SYMBOL",
732
+ "name": "newline"
733
+ },
734
+ {
735
+ "type": "REPEAT",
736
+ "content": {
737
+ "type": "CHOICE",
738
+ "members": [
739
+ {
740
+ "type": "SYMBOL",
741
+ "name": "_ws"
742
+ },
743
+ {
744
+ "type": "SYMBOL",
745
+ "name": "newline"
746
+ }
747
+ ]
748
+ }
749
+ }
750
+ ]
751
+ }
752
+ },
753
+ "literal_string": {
754
+ "type": "SEQ",
755
+ "members": [
756
+ {
757
+ "type": "STRING",
758
+ "value": "'"
759
+ },
760
+ {
761
+ "type": "REPEAT",
762
+ "content": {
763
+ "type": "SYMBOL",
764
+ "name": "literal_char"
765
+ }
766
+ },
767
+ {
768
+ "type": "STRING",
769
+ "value": "'"
770
+ }
771
+ ]
772
+ },
773
+ "literal_char": {
774
+ "type": "PATTERN",
775
+ "value": "[\\t\\x20-\\x26\\x28-\\x7e\\u0080-\\u{d7ff}\\u{e000}-\\u{10ffff}]",
776
+ "flags": "u"
777
+ },
778
+ "ml_literal_string": {
779
+ "type": "PREC",
780
+ "value": 1,
781
+ "content": {
782
+ "type": "SEQ",
783
+ "members": [
784
+ {
785
+ "type": "STRING",
786
+ "value": "'''"
787
+ },
788
+ {
789
+ "type": "CHOICE",
790
+ "members": [
791
+ {
792
+ "type": "SYMBOL",
793
+ "name": "newline"
794
+ },
795
+ {
796
+ "type": "BLANK"
797
+ }
798
+ ]
799
+ },
800
+ {
801
+ "type": "CHOICE",
802
+ "members": [
803
+ {
804
+ "type": "SYMBOL",
805
+ "name": "ml_literal_body"
806
+ },
807
+ {
808
+ "type": "BLANK"
809
+ }
810
+ ]
811
+ },
812
+ {
813
+ "type": "STRING",
814
+ "value": "'''"
815
+ }
816
+ ]
817
+ }
818
+ },
819
+ "ml_literal_body": {
820
+ "type": "REPEAT1",
821
+ "content": {
822
+ "type": "CHOICE",
823
+ "members": [
824
+ {
825
+ "type": "SYMBOL",
826
+ "name": "mll_content"
827
+ },
828
+ {
829
+ "type": "SYMBOL",
830
+ "name": "mll_quotes"
831
+ }
832
+ ]
833
+ }
834
+ },
835
+ "mll_content": {
836
+ "type": "CHOICE",
837
+ "members": [
838
+ {
839
+ "type": "SYMBOL",
840
+ "name": "literal_char"
841
+ },
842
+ {
843
+ "type": "SYMBOL",
844
+ "name": "newline"
845
+ }
846
+ ]
847
+ },
848
+ "mll_quotes": {
849
+ "type": "PREC_RIGHT",
850
+ "value": 0,
851
+ "content": {
852
+ "type": "SEQ",
853
+ "members": [
854
+ {
855
+ "type": "ALIAS",
856
+ "content": {
857
+ "type": "SYMBOL",
858
+ "name": "_mll_quote"
859
+ },
860
+ "named": false,
861
+ "value": "'"
862
+ },
863
+ {
864
+ "type": "CHOICE",
865
+ "members": [
866
+ {
867
+ "type": "ALIAS",
868
+ "content": {
869
+ "type": "SYMBOL",
870
+ "name": "_mll_quote"
871
+ },
872
+ "named": false,
873
+ "value": "'"
874
+ },
875
+ {
876
+ "type": "BLANK"
877
+ }
878
+ ]
879
+ }
880
+ ]
881
+ }
882
+ },
883
+ "integer": {
884
+ "type": "CHOICE",
885
+ "members": [
886
+ {
887
+ "type": "SYMBOL",
888
+ "name": "dec_int"
889
+ },
890
+ {
891
+ "type": "SYMBOL",
892
+ "name": "hex_int"
893
+ },
894
+ {
895
+ "type": "SYMBOL",
896
+ "name": "oct_int"
897
+ },
898
+ {
899
+ "type": "SYMBOL",
900
+ "name": "bin_int"
901
+ }
902
+ ]
903
+ },
904
+ "dec_int": {
905
+ "type": "SEQ",
906
+ "members": [
907
+ {
908
+ "type": "CHOICE",
909
+ "members": [
910
+ {
911
+ "type": "CHOICE",
912
+ "members": [
913
+ {
914
+ "type": "STRING",
915
+ "value": "-"
916
+ },
917
+ {
918
+ "type": "STRING",
919
+ "value": "+"
920
+ }
921
+ ]
922
+ },
923
+ {
924
+ "type": "BLANK"
925
+ }
926
+ ]
927
+ },
928
+ {
929
+ "type": "SYMBOL",
930
+ "name": "unsigned_dec_int"
931
+ }
932
+ ]
933
+ },
934
+ "unsigned_dec_int": {
935
+ "type": "CHOICE",
936
+ "members": [
937
+ {
938
+ "type": "ALIAS",
939
+ "content": {
940
+ "type": "SYMBOL",
941
+ "name": "_digit"
942
+ },
943
+ "named": true,
944
+ "value": "digit"
945
+ },
946
+ {
947
+ "type": "SEQ",
948
+ "members": [
949
+ {
950
+ "type": "ALIAS",
951
+ "content": {
952
+ "type": "SYMBOL",
953
+ "name": "_digit1_9"
954
+ },
955
+ "named": true,
956
+ "value": "digit1_9"
957
+ },
958
+ {
959
+ "type": "REPEAT1",
960
+ "content": {
961
+ "type": "CHOICE",
962
+ "members": [
963
+ {
964
+ "type": "ALIAS",
965
+ "content": {
966
+ "type": "SYMBOL",
967
+ "name": "_digit"
968
+ },
969
+ "named": true,
970
+ "value": "digit"
971
+ },
972
+ {
973
+ "type": "SEQ",
974
+ "members": [
975
+ {
976
+ "type": "STRING",
977
+ "value": "_"
978
+ },
979
+ {
980
+ "type": "ALIAS",
981
+ "content": {
982
+ "type": "SYMBOL",
983
+ "name": "_digit"
984
+ },
985
+ "named": true,
986
+ "value": "digit"
987
+ }
988
+ ]
989
+ }
990
+ ]
991
+ }
992
+ }
993
+ ]
994
+ }
995
+ ]
996
+ },
997
+ "hex_int": {
998
+ "type": "SEQ",
999
+ "members": [
1000
+ {
1001
+ "type": "STRING",
1002
+ "value": "0x"
1003
+ },
1004
+ {
1005
+ "type": "SEQ",
1006
+ "members": [
1007
+ {
1008
+ "type": "ALIAS",
1009
+ "content": {
1010
+ "type": "SYMBOL",
1011
+ "name": "_hexdig"
1012
+ },
1013
+ "named": true,
1014
+ "value": "hexdig"
1015
+ },
1016
+ {
1017
+ "type": "REPEAT",
1018
+ "content": {
1019
+ "type": "CHOICE",
1020
+ "members": [
1021
+ {
1022
+ "type": "ALIAS",
1023
+ "content": {
1024
+ "type": "SYMBOL",
1025
+ "name": "_hexdig"
1026
+ },
1027
+ "named": true,
1028
+ "value": "hexdig"
1029
+ },
1030
+ {
1031
+ "type": "SEQ",
1032
+ "members": [
1033
+ {
1034
+ "type": "STRING",
1035
+ "value": "_"
1036
+ },
1037
+ {
1038
+ "type": "ALIAS",
1039
+ "content": {
1040
+ "type": "SYMBOL",
1041
+ "name": "_hexdig"
1042
+ },
1043
+ "named": true,
1044
+ "value": "hexdig"
1045
+ }
1046
+ ]
1047
+ }
1048
+ ]
1049
+ }
1050
+ }
1051
+ ]
1052
+ }
1053
+ ]
1054
+ },
1055
+ "oct_int": {
1056
+ "type": "SEQ",
1057
+ "members": [
1058
+ {
1059
+ "type": "STRING",
1060
+ "value": "0o"
1061
+ },
1062
+ {
1063
+ "type": "SEQ",
1064
+ "members": [
1065
+ {
1066
+ "type": "ALIAS",
1067
+ "content": {
1068
+ "type": "SYMBOL",
1069
+ "name": "_digit0_7"
1070
+ },
1071
+ "named": true,
1072
+ "value": "digit0_7"
1073
+ },
1074
+ {
1075
+ "type": "REPEAT",
1076
+ "content": {
1077
+ "type": "CHOICE",
1078
+ "members": [
1079
+ {
1080
+ "type": "ALIAS",
1081
+ "content": {
1082
+ "type": "SYMBOL",
1083
+ "name": "_digit0_7"
1084
+ },
1085
+ "named": true,
1086
+ "value": "digit0_7"
1087
+ },
1088
+ {
1089
+ "type": "SEQ",
1090
+ "members": [
1091
+ {
1092
+ "type": "STRING",
1093
+ "value": "_"
1094
+ },
1095
+ {
1096
+ "type": "ALIAS",
1097
+ "content": {
1098
+ "type": "SYMBOL",
1099
+ "name": "_digit0_7"
1100
+ },
1101
+ "named": true,
1102
+ "value": "digit0_7"
1103
+ }
1104
+ ]
1105
+ }
1106
+ ]
1107
+ }
1108
+ }
1109
+ ]
1110
+ }
1111
+ ]
1112
+ },
1113
+ "bin_int": {
1114
+ "type": "SEQ",
1115
+ "members": [
1116
+ {
1117
+ "type": "STRING",
1118
+ "value": "0b"
1119
+ },
1120
+ {
1121
+ "type": "SEQ",
1122
+ "members": [
1123
+ {
1124
+ "type": "ALIAS",
1125
+ "content": {
1126
+ "type": "SYMBOL",
1127
+ "name": "_digit0_1"
1128
+ },
1129
+ "named": true,
1130
+ "value": "digit0_1"
1131
+ },
1132
+ {
1133
+ "type": "REPEAT",
1134
+ "content": {
1135
+ "type": "CHOICE",
1136
+ "members": [
1137
+ {
1138
+ "type": "ALIAS",
1139
+ "content": {
1140
+ "type": "SYMBOL",
1141
+ "name": "_digit0_1"
1142
+ },
1143
+ "named": true,
1144
+ "value": "digit0_1"
1145
+ },
1146
+ {
1147
+ "type": "SEQ",
1148
+ "members": [
1149
+ {
1150
+ "type": "STRING",
1151
+ "value": "_"
1152
+ },
1153
+ {
1154
+ "type": "ALIAS",
1155
+ "content": {
1156
+ "type": "SYMBOL",
1157
+ "name": "_digit0_1"
1158
+ },
1159
+ "named": true,
1160
+ "value": "digit0_1"
1161
+ }
1162
+ ]
1163
+ }
1164
+ ]
1165
+ }
1166
+ }
1167
+ ]
1168
+ }
1169
+ ]
1170
+ },
1171
+ "_digit": {
1172
+ "type": "CHOICE",
1173
+ "members": [
1174
+ {
1175
+ "type": "PATTERN",
1176
+ "value": "0"
1177
+ },
1178
+ {
1179
+ "type": "SYMBOL",
1180
+ "name": "_digit1_9"
1181
+ }
1182
+ ]
1183
+ },
1184
+ "_digit1_9": {
1185
+ "type": "PATTERN",
1186
+ "value": "[1-9]"
1187
+ },
1188
+ "_digit0_7": {
1189
+ "type": "PATTERN",
1190
+ "value": "[0-7]"
1191
+ },
1192
+ "_digit0_1": {
1193
+ "type": "PATTERN",
1194
+ "value": "[01]"
1195
+ },
1196
+ "_hexdig": {
1197
+ "type": "CHOICE",
1198
+ "members": [
1199
+ {
1200
+ "type": "SYMBOL",
1201
+ "name": "_digit"
1202
+ },
1203
+ {
1204
+ "type": "PATTERN",
1205
+ "value": "[A-Fa-f]"
1206
+ }
1207
+ ]
1208
+ },
1209
+ "float": {
1210
+ "type": "CHOICE",
1211
+ "members": [
1212
+ {
1213
+ "type": "SEQ",
1214
+ "members": [
1215
+ {
1216
+ "type": "SYMBOL",
1217
+ "name": "float_int_part"
1218
+ },
1219
+ {
1220
+ "type": "CHOICE",
1221
+ "members": [
1222
+ {
1223
+ "type": "SYMBOL",
1224
+ "name": "exp"
1225
+ },
1226
+ {
1227
+ "type": "SEQ",
1228
+ "members": [
1229
+ {
1230
+ "type": "SYMBOL",
1231
+ "name": "frac"
1232
+ },
1233
+ {
1234
+ "type": "CHOICE",
1235
+ "members": [
1236
+ {
1237
+ "type": "SYMBOL",
1238
+ "name": "exp"
1239
+ },
1240
+ {
1241
+ "type": "BLANK"
1242
+ }
1243
+ ]
1244
+ }
1245
+ ]
1246
+ }
1247
+ ]
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "type": "SYMBOL",
1253
+ "name": "special_float"
1254
+ }
1255
+ ]
1256
+ },
1257
+ "float_int_part": {
1258
+ "type": "SYMBOL",
1259
+ "name": "dec_int"
1260
+ },
1261
+ "frac": {
1262
+ "type": "SEQ",
1263
+ "members": [
1264
+ {
1265
+ "type": "STRING",
1266
+ "value": "."
1267
+ },
1268
+ {
1269
+ "type": "SYMBOL",
1270
+ "name": "zero_prefixable_int"
1271
+ }
1272
+ ]
1273
+ },
1274
+ "zero_prefixable_int": {
1275
+ "type": "SEQ",
1276
+ "members": [
1277
+ {
1278
+ "type": "ALIAS",
1279
+ "content": {
1280
+ "type": "SYMBOL",
1281
+ "name": "_digit"
1282
+ },
1283
+ "named": true,
1284
+ "value": "digit"
1285
+ },
1286
+ {
1287
+ "type": "REPEAT",
1288
+ "content": {
1289
+ "type": "CHOICE",
1290
+ "members": [
1291
+ {
1292
+ "type": "ALIAS",
1293
+ "content": {
1294
+ "type": "SYMBOL",
1295
+ "name": "_digit"
1296
+ },
1297
+ "named": true,
1298
+ "value": "digit"
1299
+ },
1300
+ {
1301
+ "type": "SEQ",
1302
+ "members": [
1303
+ {
1304
+ "type": "STRING",
1305
+ "value": "_"
1306
+ },
1307
+ {
1308
+ "type": "ALIAS",
1309
+ "content": {
1310
+ "type": "SYMBOL",
1311
+ "name": "_digit"
1312
+ },
1313
+ "named": true,
1314
+ "value": "digit"
1315
+ }
1316
+ ]
1317
+ }
1318
+ ]
1319
+ }
1320
+ }
1321
+ ]
1322
+ },
1323
+ "exp": {
1324
+ "type": "SEQ",
1325
+ "members": [
1326
+ {
1327
+ "type": "CHOICE",
1328
+ "members": [
1329
+ {
1330
+ "type": "STRING",
1331
+ "value": "e"
1332
+ },
1333
+ {
1334
+ "type": "STRING",
1335
+ "value": "E"
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "type": "SYMBOL",
1341
+ "name": "float_exp_part"
1342
+ }
1343
+ ]
1344
+ },
1345
+ "float_exp_part": {
1346
+ "type": "SEQ",
1347
+ "members": [
1348
+ {
1349
+ "type": "CHOICE",
1350
+ "members": [
1351
+ {
1352
+ "type": "CHOICE",
1353
+ "members": [
1354
+ {
1355
+ "type": "STRING",
1356
+ "value": "-"
1357
+ },
1358
+ {
1359
+ "type": "STRING",
1360
+ "value": "+"
1361
+ }
1362
+ ]
1363
+ },
1364
+ {
1365
+ "type": "BLANK"
1366
+ }
1367
+ ]
1368
+ },
1369
+ {
1370
+ "type": "SYMBOL",
1371
+ "name": "zero_prefixable_int"
1372
+ }
1373
+ ]
1374
+ },
1375
+ "special_float": {
1376
+ "type": "SEQ",
1377
+ "members": [
1378
+ {
1379
+ "type": "CHOICE",
1380
+ "members": [
1381
+ {
1382
+ "type": "CHOICE",
1383
+ "members": [
1384
+ {
1385
+ "type": "STRING",
1386
+ "value": "-"
1387
+ },
1388
+ {
1389
+ "type": "STRING",
1390
+ "value": "+"
1391
+ }
1392
+ ]
1393
+ },
1394
+ {
1395
+ "type": "BLANK"
1396
+ }
1397
+ ]
1398
+ },
1399
+ {
1400
+ "type": "CHOICE",
1401
+ "members": [
1402
+ {
1403
+ "type": "STRING",
1404
+ "value": "inf"
1405
+ },
1406
+ {
1407
+ "type": "STRING",
1408
+ "value": "nan"
1409
+ }
1410
+ ]
1411
+ }
1412
+ ]
1413
+ },
1414
+ "boolean": {
1415
+ "type": "CHOICE",
1416
+ "members": [
1417
+ {
1418
+ "type": "STRING",
1419
+ "value": "true"
1420
+ },
1421
+ {
1422
+ "type": "STRING",
1423
+ "value": "false"
1424
+ }
1425
+ ]
1426
+ },
1427
+ "date_time": {
1428
+ "type": "CHOICE",
1429
+ "members": [
1430
+ {
1431
+ "type": "SYMBOL",
1432
+ "name": "offset_date_time"
1433
+ },
1434
+ {
1435
+ "type": "SYMBOL",
1436
+ "name": "local_date_time"
1437
+ },
1438
+ {
1439
+ "type": "SYMBOL",
1440
+ "name": "local_date"
1441
+ },
1442
+ {
1443
+ "type": "SYMBOL",
1444
+ "name": "local_time"
1445
+ }
1446
+ ]
1447
+ },
1448
+ "date_fullyear": {
1449
+ "type": "SEQ",
1450
+ "members": [
1451
+ {
1452
+ "type": "ALIAS",
1453
+ "content": {
1454
+ "type": "SYMBOL",
1455
+ "name": "_digit"
1456
+ },
1457
+ "named": true,
1458
+ "value": "digit"
1459
+ },
1460
+ {
1461
+ "type": "ALIAS",
1462
+ "content": {
1463
+ "type": "SYMBOL",
1464
+ "name": "_digit"
1465
+ },
1466
+ "named": true,
1467
+ "value": "digit"
1468
+ },
1469
+ {
1470
+ "type": "ALIAS",
1471
+ "content": {
1472
+ "type": "SYMBOL",
1473
+ "name": "_digit"
1474
+ },
1475
+ "named": true,
1476
+ "value": "digit"
1477
+ },
1478
+ {
1479
+ "type": "ALIAS",
1480
+ "content": {
1481
+ "type": "SYMBOL",
1482
+ "name": "_digit"
1483
+ },
1484
+ "named": true,
1485
+ "value": "digit"
1486
+ }
1487
+ ]
1488
+ },
1489
+ "date_month": {
1490
+ "type": "SEQ",
1491
+ "members": [
1492
+ {
1493
+ "type": "ALIAS",
1494
+ "content": {
1495
+ "type": "SYMBOL",
1496
+ "name": "_digit"
1497
+ },
1498
+ "named": true,
1499
+ "value": "digit"
1500
+ },
1501
+ {
1502
+ "type": "ALIAS",
1503
+ "content": {
1504
+ "type": "SYMBOL",
1505
+ "name": "_digit"
1506
+ },
1507
+ "named": true,
1508
+ "value": "digit"
1509
+ }
1510
+ ]
1511
+ },
1512
+ "date_mday": {
1513
+ "type": "SEQ",
1514
+ "members": [
1515
+ {
1516
+ "type": "ALIAS",
1517
+ "content": {
1518
+ "type": "SYMBOL",
1519
+ "name": "_digit"
1520
+ },
1521
+ "named": true,
1522
+ "value": "digit"
1523
+ },
1524
+ {
1525
+ "type": "ALIAS",
1526
+ "content": {
1527
+ "type": "SYMBOL",
1528
+ "name": "_digit"
1529
+ },
1530
+ "named": true,
1531
+ "value": "digit"
1532
+ }
1533
+ ]
1534
+ },
1535
+ "time_delim": {
1536
+ "type": "CHOICE",
1537
+ "members": [
1538
+ {
1539
+ "type": "STRING",
1540
+ "value": "T"
1541
+ },
1542
+ {
1543
+ "type": "STRING",
1544
+ "value": "t"
1545
+ },
1546
+ {
1547
+ "type": "ALIAS",
1548
+ "content": {
1549
+ "type": "SYMBOL",
1550
+ "name": "_space"
1551
+ },
1552
+ "named": false,
1553
+ "value": " "
1554
+ }
1555
+ ]
1556
+ },
1557
+ "time_hour": {
1558
+ "type": "SEQ",
1559
+ "members": [
1560
+ {
1561
+ "type": "ALIAS",
1562
+ "content": {
1563
+ "type": "SYMBOL",
1564
+ "name": "_digit"
1565
+ },
1566
+ "named": true,
1567
+ "value": "digit"
1568
+ },
1569
+ {
1570
+ "type": "ALIAS",
1571
+ "content": {
1572
+ "type": "SYMBOL",
1573
+ "name": "_digit"
1574
+ },
1575
+ "named": true,
1576
+ "value": "digit"
1577
+ }
1578
+ ]
1579
+ },
1580
+ "time_minute": {
1581
+ "type": "SEQ",
1582
+ "members": [
1583
+ {
1584
+ "type": "ALIAS",
1585
+ "content": {
1586
+ "type": "SYMBOL",
1587
+ "name": "_digit"
1588
+ },
1589
+ "named": true,
1590
+ "value": "digit"
1591
+ },
1592
+ {
1593
+ "type": "ALIAS",
1594
+ "content": {
1595
+ "type": "SYMBOL",
1596
+ "name": "_digit"
1597
+ },
1598
+ "named": true,
1599
+ "value": "digit"
1600
+ }
1601
+ ]
1602
+ },
1603
+ "time_second": {
1604
+ "type": "SEQ",
1605
+ "members": [
1606
+ {
1607
+ "type": "ALIAS",
1608
+ "content": {
1609
+ "type": "SYMBOL",
1610
+ "name": "_digit"
1611
+ },
1612
+ "named": true,
1613
+ "value": "digit"
1614
+ },
1615
+ {
1616
+ "type": "ALIAS",
1617
+ "content": {
1618
+ "type": "SYMBOL",
1619
+ "name": "_digit"
1620
+ },
1621
+ "named": true,
1622
+ "value": "digit"
1623
+ }
1624
+ ]
1625
+ },
1626
+ "time_secfrac": {
1627
+ "type": "SEQ",
1628
+ "members": [
1629
+ {
1630
+ "type": "STRING",
1631
+ "value": "."
1632
+ },
1633
+ {
1634
+ "type": "REPEAT1",
1635
+ "content": {
1636
+ "type": "ALIAS",
1637
+ "content": {
1638
+ "type": "SYMBOL",
1639
+ "name": "_digit"
1640
+ },
1641
+ "named": true,
1642
+ "value": "digit"
1643
+ }
1644
+ }
1645
+ ]
1646
+ },
1647
+ "time_numoffset": {
1648
+ "type": "SEQ",
1649
+ "members": [
1650
+ {
1651
+ "type": "CHOICE",
1652
+ "members": [
1653
+ {
1654
+ "type": "STRING",
1655
+ "value": "+"
1656
+ },
1657
+ {
1658
+ "type": "STRING",
1659
+ "value": "-"
1660
+ }
1661
+ ]
1662
+ },
1663
+ {
1664
+ "type": "SYMBOL",
1665
+ "name": "time_hour"
1666
+ },
1667
+ {
1668
+ "type": "STRING",
1669
+ "value": ":"
1670
+ },
1671
+ {
1672
+ "type": "SYMBOL",
1673
+ "name": "time_minute"
1674
+ }
1675
+ ]
1676
+ },
1677
+ "time_offset": {
1678
+ "type": "CHOICE",
1679
+ "members": [
1680
+ {
1681
+ "type": "STRING",
1682
+ "value": "Z"
1683
+ },
1684
+ {
1685
+ "type": "STRING",
1686
+ "value": "z"
1687
+ },
1688
+ {
1689
+ "type": "SYMBOL",
1690
+ "name": "time_numoffset"
1691
+ }
1692
+ ]
1693
+ },
1694
+ "partial_time": {
1695
+ "type": "SEQ",
1696
+ "members": [
1697
+ {
1698
+ "type": "SYMBOL",
1699
+ "name": "time_hour"
1700
+ },
1701
+ {
1702
+ "type": "STRING",
1703
+ "value": ":"
1704
+ },
1705
+ {
1706
+ "type": "SYMBOL",
1707
+ "name": "time_minute"
1708
+ },
1709
+ {
1710
+ "type": "CHOICE",
1711
+ "members": [
1712
+ {
1713
+ "type": "SEQ",
1714
+ "members": [
1715
+ {
1716
+ "type": "STRING",
1717
+ "value": ":"
1718
+ },
1719
+ {
1720
+ "type": "SYMBOL",
1721
+ "name": "time_second"
1722
+ },
1723
+ {
1724
+ "type": "CHOICE",
1725
+ "members": [
1726
+ {
1727
+ "type": "SYMBOL",
1728
+ "name": "time_secfrac"
1729
+ },
1730
+ {
1731
+ "type": "BLANK"
1732
+ }
1733
+ ]
1734
+ }
1735
+ ]
1736
+ },
1737
+ {
1738
+ "type": "BLANK"
1739
+ }
1740
+ ]
1741
+ }
1742
+ ]
1743
+ },
1744
+ "full_date": {
1745
+ "type": "SEQ",
1746
+ "members": [
1747
+ {
1748
+ "type": "SYMBOL",
1749
+ "name": "date_fullyear"
1750
+ },
1751
+ {
1752
+ "type": "STRING",
1753
+ "value": "-"
1754
+ },
1755
+ {
1756
+ "type": "SYMBOL",
1757
+ "name": "date_month"
1758
+ },
1759
+ {
1760
+ "type": "STRING",
1761
+ "value": "-"
1762
+ },
1763
+ {
1764
+ "type": "SYMBOL",
1765
+ "name": "date_mday"
1766
+ }
1767
+ ]
1768
+ },
1769
+ "full_time": {
1770
+ "type": "SEQ",
1771
+ "members": [
1772
+ {
1773
+ "type": "SYMBOL",
1774
+ "name": "partial_time"
1775
+ },
1776
+ {
1777
+ "type": "SYMBOL",
1778
+ "name": "time_offset"
1779
+ }
1780
+ ]
1781
+ },
1782
+ "offset_date_time": {
1783
+ "type": "SEQ",
1784
+ "members": [
1785
+ {
1786
+ "type": "SYMBOL",
1787
+ "name": "full_date"
1788
+ },
1789
+ {
1790
+ "type": "SYMBOL",
1791
+ "name": "time_delim"
1792
+ },
1793
+ {
1794
+ "type": "SYMBOL",
1795
+ "name": "full_time"
1796
+ }
1797
+ ]
1798
+ },
1799
+ "local_date_time": {
1800
+ "type": "SEQ",
1801
+ "members": [
1802
+ {
1803
+ "type": "SYMBOL",
1804
+ "name": "full_date"
1805
+ },
1806
+ {
1807
+ "type": "SYMBOL",
1808
+ "name": "time_delim"
1809
+ },
1810
+ {
1811
+ "type": "SYMBOL",
1812
+ "name": "partial_time"
1813
+ }
1814
+ ]
1815
+ },
1816
+ "local_date": {
1817
+ "type": "SYMBOL",
1818
+ "name": "full_date"
1819
+ },
1820
+ "local_time": {
1821
+ "type": "SYMBOL",
1822
+ "name": "partial_time"
1823
+ },
1824
+ "array": {
1825
+ "type": "SEQ",
1826
+ "members": [
1827
+ {
1828
+ "type": "STRING",
1829
+ "value": "["
1830
+ },
1831
+ {
1832
+ "type": "CHOICE",
1833
+ "members": [
1834
+ {
1835
+ "type": "SYMBOL",
1836
+ "name": "array_values"
1837
+ },
1838
+ {
1839
+ "type": "BLANK"
1840
+ }
1841
+ ]
1842
+ },
1843
+ {
1844
+ "type": "CHOICE",
1845
+ "members": [
1846
+ {
1847
+ "type": "SYMBOL",
1848
+ "name": "_ws_comment_newline"
1849
+ },
1850
+ {
1851
+ "type": "BLANK"
1852
+ }
1853
+ ]
1854
+ },
1855
+ {
1856
+ "type": "STRING",
1857
+ "value": "]"
1858
+ }
1859
+ ]
1860
+ },
1861
+ "array_values": {
1862
+ "type": "SEQ",
1863
+ "members": [
1864
+ {
1865
+ "type": "CHOICE",
1866
+ "members": [
1867
+ {
1868
+ "type": "SYMBOL",
1869
+ "name": "_ws_comment_newline"
1870
+ },
1871
+ {
1872
+ "type": "BLANK"
1873
+ }
1874
+ ]
1875
+ },
1876
+ {
1877
+ "type": "SYMBOL",
1878
+ "name": "val"
1879
+ },
1880
+ {
1881
+ "type": "REPEAT",
1882
+ "content": {
1883
+ "type": "SEQ",
1884
+ "members": [
1885
+ {
1886
+ "type": "CHOICE",
1887
+ "members": [
1888
+ {
1889
+ "type": "SYMBOL",
1890
+ "name": "_ws_comment_newline"
1891
+ },
1892
+ {
1893
+ "type": "BLANK"
1894
+ }
1895
+ ]
1896
+ },
1897
+ {
1898
+ "type": "STRING",
1899
+ "value": ","
1900
+ },
1901
+ {
1902
+ "type": "CHOICE",
1903
+ "members": [
1904
+ {
1905
+ "type": "SYMBOL",
1906
+ "name": "_ws_comment_newline"
1907
+ },
1908
+ {
1909
+ "type": "BLANK"
1910
+ }
1911
+ ]
1912
+ },
1913
+ {
1914
+ "type": "SYMBOL",
1915
+ "name": "val"
1916
+ }
1917
+ ]
1918
+ }
1919
+ },
1920
+ {
1921
+ "type": "CHOICE",
1922
+ "members": [
1923
+ {
1924
+ "type": "SEQ",
1925
+ "members": [
1926
+ {
1927
+ "type": "CHOICE",
1928
+ "members": [
1929
+ {
1930
+ "type": "SYMBOL",
1931
+ "name": "_ws_comment_newline"
1932
+ },
1933
+ {
1934
+ "type": "BLANK"
1935
+ }
1936
+ ]
1937
+ },
1938
+ {
1939
+ "type": "STRING",
1940
+ "value": ","
1941
+ }
1942
+ ]
1943
+ },
1944
+ {
1945
+ "type": "BLANK"
1946
+ }
1947
+ ]
1948
+ }
1949
+ ]
1950
+ },
1951
+ "_ws_comment_newline": {
1952
+ "type": "REPEAT1",
1953
+ "content": {
1954
+ "type": "CHOICE",
1955
+ "members": [
1956
+ {
1957
+ "type": "SYMBOL",
1958
+ "name": "_ws"
1959
+ },
1960
+ {
1961
+ "type": "SYMBOL",
1962
+ "name": "newline"
1963
+ },
1964
+ {
1965
+ "type": "SEQ",
1966
+ "members": [
1967
+ {
1968
+ "type": "SYMBOL",
1969
+ "name": "comment"
1970
+ },
1971
+ {
1972
+ "type": "SYMBOL",
1973
+ "name": "newline"
1974
+ }
1975
+ ]
1976
+ }
1977
+ ]
1978
+ }
1979
+ },
1980
+ "table": {
1981
+ "type": "CHOICE",
1982
+ "members": [
1983
+ {
1984
+ "type": "SYMBOL",
1985
+ "name": "std_table"
1986
+ },
1987
+ {
1988
+ "type": "SYMBOL",
1989
+ "name": "array_table"
1990
+ }
1991
+ ]
1992
+ },
1993
+ "std_table": {
1994
+ "type": "SEQ",
1995
+ "members": [
1996
+ {
1997
+ "type": "STRING",
1998
+ "value": "["
1999
+ },
2000
+ {
2001
+ "type": "CHOICE",
2002
+ "members": [
2003
+ {
2004
+ "type": "SYMBOL",
2005
+ "name": "_ws"
2006
+ },
2007
+ {
2008
+ "type": "BLANK"
2009
+ }
2010
+ ]
2011
+ },
2012
+ {
2013
+ "type": "FIELD",
2014
+ "name": "key",
2015
+ "content": {
2016
+ "type": "SYMBOL",
2017
+ "name": "key"
2018
+ }
2019
+ },
2020
+ {
2021
+ "type": "CHOICE",
2022
+ "members": [
2023
+ {
2024
+ "type": "SYMBOL",
2025
+ "name": "_ws"
2026
+ },
2027
+ {
2028
+ "type": "BLANK"
2029
+ }
2030
+ ]
2031
+ },
2032
+ {
2033
+ "type": "STRING",
2034
+ "value": "]"
2035
+ }
2036
+ ]
2037
+ },
2038
+ "inline_table": {
2039
+ "type": "SEQ",
2040
+ "members": [
2041
+ {
2042
+ "type": "STRING",
2043
+ "value": "{"
2044
+ },
2045
+ {
2046
+ "type": "CHOICE",
2047
+ "members": [
2048
+ {
2049
+ "type": "SYMBOL",
2050
+ "name": "inline_table_keyvals"
2051
+ },
2052
+ {
2053
+ "type": "BLANK"
2054
+ }
2055
+ ]
2056
+ },
2057
+ {
2058
+ "type": "CHOICE",
2059
+ "members": [
2060
+ {
2061
+ "type": "SYMBOL",
2062
+ "name": "_ws_comment_newline"
2063
+ },
2064
+ {
2065
+ "type": "BLANK"
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "type": "STRING",
2071
+ "value": "}"
2072
+ }
2073
+ ]
2074
+ },
2075
+ "inline_table_keyvals": {
2076
+ "type": "SEQ",
2077
+ "members": [
2078
+ {
2079
+ "type": "CHOICE",
2080
+ "members": [
2081
+ {
2082
+ "type": "SYMBOL",
2083
+ "name": "_ws_comment_newline"
2084
+ },
2085
+ {
2086
+ "type": "BLANK"
2087
+ }
2088
+ ]
2089
+ },
2090
+ {
2091
+ "type": "SYMBOL",
2092
+ "name": "keyval"
2093
+ },
2094
+ {
2095
+ "type": "REPEAT",
2096
+ "content": {
2097
+ "type": "SEQ",
2098
+ "members": [
2099
+ {
2100
+ "type": "CHOICE",
2101
+ "members": [
2102
+ {
2103
+ "type": "SYMBOL",
2104
+ "name": "_ws_comment_newline"
2105
+ },
2106
+ {
2107
+ "type": "BLANK"
2108
+ }
2109
+ ]
2110
+ },
2111
+ {
2112
+ "type": "STRING",
2113
+ "value": ","
2114
+ },
2115
+ {
2116
+ "type": "CHOICE",
2117
+ "members": [
2118
+ {
2119
+ "type": "SYMBOL",
2120
+ "name": "_ws_comment_newline"
2121
+ },
2122
+ {
2123
+ "type": "BLANK"
2124
+ }
2125
+ ]
2126
+ },
2127
+ {
2128
+ "type": "SYMBOL",
2129
+ "name": "keyval"
2130
+ }
2131
+ ]
2132
+ }
2133
+ },
2134
+ {
2135
+ "type": "CHOICE",
2136
+ "members": [
2137
+ {
2138
+ "type": "SEQ",
2139
+ "members": [
2140
+ {
2141
+ "type": "CHOICE",
2142
+ "members": [
2143
+ {
2144
+ "type": "SYMBOL",
2145
+ "name": "_ws_comment_newline"
2146
+ },
2147
+ {
2148
+ "type": "BLANK"
2149
+ }
2150
+ ]
2151
+ },
2152
+ {
2153
+ "type": "STRING",
2154
+ "value": ","
2155
+ }
2156
+ ]
2157
+ },
2158
+ {
2159
+ "type": "BLANK"
2160
+ }
2161
+ ]
2162
+ }
2163
+ ]
2164
+ },
2165
+ "array_table": {
2166
+ "type": "SEQ",
2167
+ "members": [
2168
+ {
2169
+ "type": "STRING",
2170
+ "value": "[["
2171
+ },
2172
+ {
2173
+ "type": "CHOICE",
2174
+ "members": [
2175
+ {
2176
+ "type": "SYMBOL",
2177
+ "name": "_ws"
2178
+ },
2179
+ {
2180
+ "type": "BLANK"
2181
+ }
2182
+ ]
2183
+ },
2184
+ {
2185
+ "type": "FIELD",
2186
+ "name": "key",
2187
+ "content": {
2188
+ "type": "SYMBOL",
2189
+ "name": "key"
2190
+ }
2191
+ },
2192
+ {
2193
+ "type": "CHOICE",
2194
+ "members": [
2195
+ {
2196
+ "type": "SYMBOL",
2197
+ "name": "_ws"
2198
+ },
2199
+ {
2200
+ "type": "BLANK"
2201
+ }
2202
+ ]
2203
+ },
2204
+ {
2205
+ "type": "STRING",
2206
+ "value": "]]"
2207
+ }
2208
+ ]
2209
+ }
2210
+ },
2211
+ "extras": [],
2212
+ "conflicts": [
2213
+ [
2214
+ "key",
2215
+ "dotted_key"
2216
+ ],
2217
+ [
2218
+ "dotted_key"
2219
+ ],
2220
+ [
2221
+ "unsigned_dec_int",
2222
+ "_digit"
2223
+ ],
2224
+ [
2225
+ "offset_date_time",
2226
+ "local_date_time",
2227
+ "local_date"
2228
+ ],
2229
+ [
2230
+ "array_values"
2231
+ ],
2232
+ [
2233
+ "inline_table_keyvals"
2234
+ ]
2235
+ ],
2236
+ "precedences": [],
2237
+ "externals": [
2238
+ {
2239
+ "type": "SYMBOL",
2240
+ "name": "_mlb_quote"
2241
+ },
2242
+ {
2243
+ "type": "SYMBOL",
2244
+ "name": "_mll_quote"
2245
+ }
2246
+ ],
2247
+ "inline": [],
2248
+ "supertypes": [],
2249
+ "reserved": {}
2250
+ }