@gram-data/tree-sitter-gram 0.1.6

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,1509 @@
1
+ {
2
+ "name": "gram",
3
+ "rules": {
4
+ "gram": {
5
+ "type": "SEQ",
6
+ "members": [
7
+ {
8
+ "type": "FIELD",
9
+ "name": "root",
10
+ "content": {
11
+ "type": "CHOICE",
12
+ "members": [
13
+ {
14
+ "type": "SYMBOL",
15
+ "name": "record"
16
+ },
17
+ {
18
+ "type": "BLANK"
19
+ }
20
+ ]
21
+ }
22
+ },
23
+ {
24
+ "type": "REPEAT",
25
+ "content": {
26
+ "type": "SYMBOL",
27
+ "name": "pattern"
28
+ }
29
+ }
30
+ ]
31
+ },
32
+ "pattern": {
33
+ "type": "SEQ",
34
+ "members": [
35
+ {
36
+ "type": "CHOICE",
37
+ "members": [
38
+ {
39
+ "type": "REPEAT",
40
+ "content": {
41
+ "type": "SYMBOL",
42
+ "name": "annotation"
43
+ }
44
+ },
45
+ {
46
+ "type": "BLANK"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "type": "SEQ",
52
+ "members": [
53
+ {
54
+ "type": "SYMBOL",
55
+ "name": "_patternComponent"
56
+ },
57
+ {
58
+ "type": "REPEAT",
59
+ "content": {
60
+ "type": "SEQ",
61
+ "members": [
62
+ {
63
+ "type": "STRING",
64
+ "value": ","
65
+ },
66
+ {
67
+ "type": "SYMBOL",
68
+ "name": "_patternComponent"
69
+ }
70
+ ]
71
+ }
72
+ }
73
+ ]
74
+ }
75
+ ]
76
+ },
77
+ "_patternComponent": {
78
+ "type": "CHOICE",
79
+ "members": [
80
+ {
81
+ "type": "SYMBOL",
82
+ "name": "subject"
83
+ },
84
+ {
85
+ "type": "SYMBOL",
86
+ "name": "_path"
87
+ }
88
+ ]
89
+ },
90
+ "subject": {
91
+ "type": "SEQ",
92
+ "members": [
93
+ {
94
+ "type": "STRING",
95
+ "value": "["
96
+ },
97
+ {
98
+ "type": "CHOICE",
99
+ "members": [
100
+ {
101
+ "type": "SYMBOL",
102
+ "name": "_attributes"
103
+ },
104
+ {
105
+ "type": "BLANK"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "type": "CHOICE",
111
+ "members": [
112
+ {
113
+ "type": "FIELD",
114
+ "name": "association",
115
+ "content": {
116
+ "type": "SYMBOL",
117
+ "name": "_association"
118
+ }
119
+ },
120
+ {
121
+ "type": "BLANK"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "type": "STRING",
127
+ "value": "]"
128
+ }
129
+ ]
130
+ },
131
+ "annotation": {
132
+ "type": "PREC",
133
+ "value": 9999,
134
+ "content": {
135
+ "type": "SEQ",
136
+ "members": [
137
+ {
138
+ "type": "STRING",
139
+ "value": "@"
140
+ },
141
+ {
142
+ "type": "FIELD",
143
+ "name": "key",
144
+ "content": {
145
+ "type": "SYMBOL",
146
+ "name": "symbol"
147
+ }
148
+ },
149
+ {
150
+ "type": "STRING",
151
+ "value": "("
152
+ },
153
+ {
154
+ "type": "FIELD",
155
+ "name": "value",
156
+ "content": {
157
+ "type": "SYMBOL",
158
+ "name": "_value"
159
+ }
160
+ },
161
+ {
162
+ "type": "STRING",
163
+ "value": ")"
164
+ }
165
+ ]
166
+ }
167
+ },
168
+ "_path": {
169
+ "type": "CHOICE",
170
+ "members": [
171
+ {
172
+ "type": "SYMBOL",
173
+ "name": "relationship"
174
+ },
175
+ {
176
+ "type": "SYMBOL",
177
+ "name": "node"
178
+ }
179
+ ]
180
+ },
181
+ "node": {
182
+ "type": "SEQ",
183
+ "members": [
184
+ {
185
+ "type": "STRING",
186
+ "value": "("
187
+ },
188
+ {
189
+ "type": "CHOICE",
190
+ "members": [
191
+ {
192
+ "type": "SYMBOL",
193
+ "name": "_attributes"
194
+ },
195
+ {
196
+ "type": "BLANK"
197
+ }
198
+ ]
199
+ },
200
+ {
201
+ "type": "STRING",
202
+ "value": ")"
203
+ }
204
+ ]
205
+ },
206
+ "relationship": {
207
+ "type": "SEQ",
208
+ "members": [
209
+ {
210
+ "type": "FIELD",
211
+ "name": "left",
212
+ "content": {
213
+ "type": "SYMBOL",
214
+ "name": "node"
215
+ }
216
+ },
217
+ {
218
+ "type": "FIELD",
219
+ "name": "value",
220
+ "content": {
221
+ "type": "SYMBOL",
222
+ "name": "_relationship_value"
223
+ }
224
+ },
225
+ {
226
+ "type": "FIELD",
227
+ "name": "right",
228
+ "content": {
229
+ "type": "SYMBOL",
230
+ "name": "_path"
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ "_association": {
236
+ "type": "CHOICE",
237
+ "members": [
238
+ {
239
+ "type": "SYMBOL",
240
+ "name": "membership"
241
+ },
242
+ {
243
+ "type": "SYMBOL",
244
+ "name": "ordering"
245
+ }
246
+ ]
247
+ },
248
+ "membership": {
249
+ "type": "SEQ",
250
+ "members": [
251
+ {
252
+ "type": "STRING",
253
+ "value": "|"
254
+ },
255
+ {
256
+ "type": "CHOICE",
257
+ "members": [
258
+ {
259
+ "type": "SEQ",
260
+ "members": [
261
+ {
262
+ "type": "CHOICE",
263
+ "members": [
264
+ {
265
+ "type": "FIELD",
266
+ "name": "labels",
267
+ "content": {
268
+ "type": "SYMBOL",
269
+ "name": "labels"
270
+ }
271
+ },
272
+ {
273
+ "type": "BLANK"
274
+ }
275
+ ]
276
+ },
277
+ {
278
+ "type": "CHOICE",
279
+ "members": [
280
+ {
281
+ "type": "FIELD",
282
+ "name": "record",
283
+ "content": {
284
+ "type": "SYMBOL",
285
+ "name": "record"
286
+ }
287
+ },
288
+ {
289
+ "type": "BLANK"
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "type": "STRING",
295
+ "value": "|"
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "type": "BLANK"
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "type": "SEQ",
306
+ "members": [
307
+ {
308
+ "type": "SYMBOL",
309
+ "name": "member"
310
+ },
311
+ {
312
+ "type": "REPEAT",
313
+ "content": {
314
+ "type": "SEQ",
315
+ "members": [
316
+ {
317
+ "type": "STRING",
318
+ "value": ","
319
+ },
320
+ {
321
+ "type": "SYMBOL",
322
+ "name": "member"
323
+ }
324
+ ]
325
+ }
326
+ }
327
+ ]
328
+ }
329
+ ]
330
+ },
331
+ "ordering": {
332
+ "type": "SEQ",
333
+ "members": [
334
+ {
335
+ "type": "STRING",
336
+ "value": "-"
337
+ },
338
+ {
339
+ "type": "CHOICE",
340
+ "members": [
341
+ {
342
+ "type": "SEQ",
343
+ "members": [
344
+ {
345
+ "type": "STRING",
346
+ "value": "["
347
+ },
348
+ {
349
+ "type": "CHOICE",
350
+ "members": [
351
+ {
352
+ "type": "FIELD",
353
+ "name": "labels",
354
+ "content": {
355
+ "type": "SYMBOL",
356
+ "name": "labels"
357
+ }
358
+ },
359
+ {
360
+ "type": "BLANK"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "type": "CHOICE",
366
+ "members": [
367
+ {
368
+ "type": "FIELD",
369
+ "name": "record",
370
+ "content": {
371
+ "type": "SYMBOL",
372
+ "name": "record"
373
+ }
374
+ },
375
+ {
376
+ "type": "BLANK"
377
+ }
378
+ ]
379
+ },
380
+ {
381
+ "type": "STRING",
382
+ "value": "]-"
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "type": "BLANK"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "type": "STRING",
393
+ "value": ">"
394
+ },
395
+ {
396
+ "type": "SEQ",
397
+ "members": [
398
+ {
399
+ "type": "SYMBOL",
400
+ "name": "member"
401
+ },
402
+ {
403
+ "type": "REPEAT",
404
+ "content": {
405
+ "type": "SEQ",
406
+ "members": [
407
+ {
408
+ "type": "STRING",
409
+ "value": ","
410
+ },
411
+ {
412
+ "type": "SYMBOL",
413
+ "name": "member"
414
+ }
415
+ ]
416
+ }
417
+ }
418
+ ]
419
+ }
420
+ ]
421
+ },
422
+ "_reference": {
423
+ "type": "SYMBOL",
424
+ "name": "_value"
425
+ },
426
+ "member": {
427
+ "type": "SEQ",
428
+ "members": [
429
+ {
430
+ "type": "CHOICE",
431
+ "members": [
432
+ {
433
+ "type": "REPEAT",
434
+ "content": {
435
+ "type": "SYMBOL",
436
+ "name": "annotation"
437
+ }
438
+ },
439
+ {
440
+ "type": "BLANK"
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "type": "CHOICE",
446
+ "members": [
447
+ {
448
+ "type": "SYMBOL",
449
+ "name": "_reference"
450
+ },
451
+ {
452
+ "type": "SYMBOL",
453
+ "name": "_patternComponent"
454
+ }
455
+ ]
456
+ }
457
+ ]
458
+ },
459
+ "_attributes": {
460
+ "type": "CHOICE",
461
+ "members": [
462
+ {
463
+ "type": "CHOICE",
464
+ "members": [
465
+ {
466
+ "type": "FIELD",
467
+ "name": "identifier",
468
+ "content": {
469
+ "type": "SYMBOL",
470
+ "name": "_value"
471
+ }
472
+ },
473
+ {
474
+ "type": "FIELD",
475
+ "name": "labels",
476
+ "content": {
477
+ "type": "SYMBOL",
478
+ "name": "labels"
479
+ }
480
+ },
481
+ {
482
+ "type": "FIELD",
483
+ "name": "record",
484
+ "content": {
485
+ "type": "SYMBOL",
486
+ "name": "record"
487
+ }
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "type": "SEQ",
493
+ "members": [
494
+ {
495
+ "type": "FIELD",
496
+ "name": "identifier",
497
+ "content": {
498
+ "type": "SYMBOL",
499
+ "name": "_value"
500
+ }
501
+ },
502
+ {
503
+ "type": "FIELD",
504
+ "name": "labels",
505
+ "content": {
506
+ "type": "SYMBOL",
507
+ "name": "labels"
508
+ }
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "type": "SEQ",
514
+ "members": [
515
+ {
516
+ "type": "FIELD",
517
+ "name": "identifier",
518
+ "content": {
519
+ "type": "SYMBOL",
520
+ "name": "_value"
521
+ }
522
+ },
523
+ {
524
+ "type": "FIELD",
525
+ "name": "record",
526
+ "content": {
527
+ "type": "SYMBOL",
528
+ "name": "record"
529
+ }
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ "type": "SEQ",
535
+ "members": [
536
+ {
537
+ "type": "FIELD",
538
+ "name": "labels",
539
+ "content": {
540
+ "type": "SYMBOL",
541
+ "name": "labels"
542
+ }
543
+ },
544
+ {
545
+ "type": "FIELD",
546
+ "name": "record",
547
+ "content": {
548
+ "type": "SYMBOL",
549
+ "name": "record"
550
+ }
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "SEQ",
556
+ "members": [
557
+ {
558
+ "type": "FIELD",
559
+ "name": "identifier",
560
+ "content": {
561
+ "type": "SYMBOL",
562
+ "name": "_value"
563
+ }
564
+ },
565
+ {
566
+ "type": "FIELD",
567
+ "name": "labels",
568
+ "content": {
569
+ "type": "SYMBOL",
570
+ "name": "labels"
571
+ }
572
+ },
573
+ {
574
+ "type": "FIELD",
575
+ "name": "record",
576
+ "content": {
577
+ "type": "SYMBOL",
578
+ "name": "record"
579
+ }
580
+ }
581
+ ]
582
+ }
583
+ ]
584
+ },
585
+ "_value": {
586
+ "type": "CHOICE",
587
+ "members": [
588
+ {
589
+ "type": "SYMBOL",
590
+ "name": "symbol"
591
+ },
592
+ {
593
+ "type": "SYMBOL",
594
+ "name": "_numeric_literal"
595
+ },
596
+ {
597
+ "type": "SYMBOL",
598
+ "name": "_string_literal"
599
+ },
600
+ {
601
+ "type": "SYMBOL",
602
+ "name": "range"
603
+ },
604
+ {
605
+ "type": "SYMBOL",
606
+ "name": "math_symbol"
607
+ },
608
+ {
609
+ "type": "SYMBOL",
610
+ "name": "greek"
611
+ },
612
+ {
613
+ "type": "SYMBOL",
614
+ "name": "pictograph"
615
+ }
616
+ ]
617
+ },
618
+ "labels": {
619
+ "type": "REPEAT1",
620
+ "content": {
621
+ "type": "SYMBOL",
622
+ "name": "label"
623
+ }
624
+ },
625
+ "label": {
626
+ "type": "SEQ",
627
+ "members": [
628
+ {
629
+ "type": "FIELD",
630
+ "name": "binder",
631
+ "content": {
632
+ "type": "SYMBOL",
633
+ "name": "binder"
634
+ }
635
+ },
636
+ {
637
+ "type": "SYMBOL",
638
+ "name": "symbol"
639
+ }
640
+ ]
641
+ },
642
+ "binder": {
643
+ "type": "CHOICE",
644
+ "members": [
645
+ {
646
+ "type": "TOKEN",
647
+ "content": {
648
+ "type": "STRING",
649
+ "value": ":"
650
+ }
651
+ },
652
+ {
653
+ "type": "TOKEN",
654
+ "content": {
655
+ "type": "STRING",
656
+ "value": "::"
657
+ }
658
+ },
659
+ {
660
+ "type": "TOKEN",
661
+ "content": {
662
+ "type": "STRING",
663
+ "value": "@"
664
+ }
665
+ }
666
+ ]
667
+ },
668
+ "record": {
669
+ "type": "SEQ",
670
+ "members": [
671
+ {
672
+ "type": "STRING",
673
+ "value": "{"
674
+ },
675
+ {
676
+ "type": "CHOICE",
677
+ "members": [
678
+ {
679
+ "type": "SEQ",
680
+ "members": [
681
+ {
682
+ "type": "SYMBOL",
683
+ "name": "property"
684
+ },
685
+ {
686
+ "type": "REPEAT",
687
+ "content": {
688
+ "type": "SEQ",
689
+ "members": [
690
+ {
691
+ "type": "STRING",
692
+ "value": ","
693
+ },
694
+ {
695
+ "type": "SYMBOL",
696
+ "name": "property"
697
+ }
698
+ ]
699
+ }
700
+ }
701
+ ]
702
+ },
703
+ {
704
+ "type": "BLANK"
705
+ }
706
+ ]
707
+ },
708
+ {
709
+ "type": "STRING",
710
+ "value": "}"
711
+ }
712
+ ]
713
+ },
714
+ "property": {
715
+ "type": "SEQ",
716
+ "members": [
717
+ {
718
+ "type": "FIELD",
719
+ "name": "key",
720
+ "content": {
721
+ "type": "SYMBOL",
722
+ "name": "symbol"
723
+ }
724
+ },
725
+ {
726
+ "type": "FIELD",
727
+ "name": "binder",
728
+ "content": {
729
+ "type": "SYMBOL",
730
+ "name": "binder"
731
+ }
732
+ },
733
+ {
734
+ "type": "FIELD",
735
+ "name": "value",
736
+ "content": {
737
+ "type": "SYMBOL",
738
+ "name": "_value"
739
+ }
740
+ },
741
+ {
742
+ "type": "CHOICE",
743
+ "members": [
744
+ {
745
+ "type": "FIELD",
746
+ "name": "cardinality",
747
+ "content": {
748
+ "type": "CHOICE",
749
+ "members": [
750
+ {
751
+ "type": "STRING",
752
+ "value": "!"
753
+ },
754
+ {
755
+ "type": "STRING",
756
+ "value": "?"
757
+ },
758
+ {
759
+ "type": "STRING",
760
+ "value": "*"
761
+ },
762
+ {
763
+ "type": "STRING",
764
+ "value": "+"
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "type": "BLANK"
771
+ }
772
+ ]
773
+ }
774
+ ]
775
+ },
776
+ "symbol": {
777
+ "type": "TOKEN",
778
+ "content": {
779
+ "type": "PATTERN",
780
+ "value": "[a-zA-Z_][0-9a-zA-Z_.\\-]*"
781
+ }
782
+ },
783
+ "greek": {
784
+ "type": "TOKEN",
785
+ "content": {
786
+ "type": "PATTERN",
787
+ "value": "[\\u03B1-\\u03C9\\u0391-\\u03A9]"
788
+ }
789
+ },
790
+ "math_symbol": {
791
+ "type": "TOKEN",
792
+ "content": {
793
+ "type": "PATTERN",
794
+ "value": "\\p{Other_Math}"
795
+ }
796
+ },
797
+ "pictograph": {
798
+ "type": "TOKEN",
799
+ "content": {
800
+ "type": "PATTERN",
801
+ "value": "[\\u2650-\\u26FF]"
802
+ }
803
+ },
804
+ "range": {
805
+ "type": "CHOICE",
806
+ "members": [
807
+ {
808
+ "type": "SEQ",
809
+ "members": [
810
+ {
811
+ "type": "FIELD",
812
+ "name": "lower",
813
+ "content": {
814
+ "type": "SYMBOL",
815
+ "name": "_numeric_literal"
816
+ }
817
+ },
818
+ {
819
+ "type": "STRING",
820
+ "value": ".."
821
+ },
822
+ {
823
+ "type": "FIELD",
824
+ "name": "upper",
825
+ "content": {
826
+ "type": "SYMBOL",
827
+ "name": "_numeric_literal"
828
+ }
829
+ }
830
+ ]
831
+ },
832
+ {
833
+ "type": "SEQ",
834
+ "members": [
835
+ {
836
+ "type": "FIELD",
837
+ "name": "lower",
838
+ "content": {
839
+ "type": "SYMBOL",
840
+ "name": "_numeric_literal"
841
+ }
842
+ },
843
+ {
844
+ "type": "STRING",
845
+ "value": "..."
846
+ }
847
+ ]
848
+ },
849
+ {
850
+ "type": "SEQ",
851
+ "members": [
852
+ {
853
+ "type": "STRING",
854
+ "value": "..."
855
+ },
856
+ {
857
+ "type": "FIELD",
858
+ "name": "upper",
859
+ "content": {
860
+ "type": "SYMBOL",
861
+ "name": "_numeric_literal"
862
+ }
863
+ }
864
+ ]
865
+ }
866
+ ]
867
+ },
868
+ "_numeric_literal": {
869
+ "type": "CHOICE",
870
+ "members": [
871
+ {
872
+ "type": "SYMBOL",
873
+ "name": "integer"
874
+ },
875
+ {
876
+ "type": "SYMBOL",
877
+ "name": "decimal"
878
+ },
879
+ {
880
+ "type": "SYMBOL",
881
+ "name": "hexadecimal"
882
+ },
883
+ {
884
+ "type": "SYMBOL",
885
+ "name": "octal"
886
+ },
887
+ {
888
+ "type": "SYMBOL",
889
+ "name": "measurement"
890
+ }
891
+ ]
892
+ },
893
+ "integer": {
894
+ "type": "TOKEN",
895
+ "content": {
896
+ "type": "PATTERN",
897
+ "value": "-?(0|[1-9]\\d*)"
898
+ }
899
+ },
900
+ "decimal": {
901
+ "type": "TOKEN",
902
+ "content": {
903
+ "type": "PATTERN",
904
+ "value": "-?(0|[1-9]\\d*)\\.\\d+"
905
+ }
906
+ },
907
+ "hexadecimal": {
908
+ "type": "TOKEN",
909
+ "content": {
910
+ "type": "PATTERN",
911
+ "value": "0x[0-9a-fA-F]+"
912
+ }
913
+ },
914
+ "octal": {
915
+ "type": "TOKEN",
916
+ "content": {
917
+ "type": "PATTERN",
918
+ "value": "0[0-7]+"
919
+ }
920
+ },
921
+ "measurement": {
922
+ "type": "TOKEN",
923
+ "content": {
924
+ "type": "PATTERN",
925
+ "value": "-?(0|[1-9]\\d*)([a-zA-Z]+)"
926
+ }
927
+ },
928
+ "_string_literal": {
929
+ "type": "CHOICE",
930
+ "members": [
931
+ {
932
+ "type": "SYMBOL",
933
+ "name": "single_quoted_string"
934
+ },
935
+ {
936
+ "type": "SYMBOL",
937
+ "name": "double_quoted_string"
938
+ },
939
+ {
940
+ "type": "SYMBOL",
941
+ "name": "backticked_string"
942
+ },
943
+ {
944
+ "type": "SYMBOL",
945
+ "name": "tagged_string"
946
+ },
947
+ {
948
+ "type": "SYMBOL",
949
+ "name": "fenced_string"
950
+ }
951
+ ]
952
+ },
953
+ "single_quoted_string": {
954
+ "type": "TOKEN",
955
+ "content": {
956
+ "type": "PATTERN",
957
+ "value": "'(\\\\['bfnrt/\\\\]|[^'\\n])*'"
958
+ }
959
+ },
960
+ "double_quoted_string": {
961
+ "type": "TOKEN",
962
+ "content": {
963
+ "type": "PATTERN",
964
+ "value": "\"(\\\\[\"bfnrt/\\\\]|[^\"\\n])*\""
965
+ }
966
+ },
967
+ "backticked_string": {
968
+ "type": "TOKEN",
969
+ "content": {
970
+ "type": "PATTERN",
971
+ "value": "`(\\\\[`bfnrt/\\\\]|[^`\\n])*`"
972
+ }
973
+ },
974
+ "tagged_string": {
975
+ "type": "TOKEN",
976
+ "content": {
977
+ "type": "PATTERN",
978
+ "value": "[a-zA-Z][0-9a-zA-Z_.@]*`[^`\\n]*`"
979
+ }
980
+ },
981
+ "fenced_string": {
982
+ "type": "TOKEN",
983
+ "content": {
984
+ "type": "PATTERN",
985
+ "value": "```(\\\\[`bfnrt/\\\\]|[^`])*```"
986
+ }
987
+ },
988
+ "_relationship_value": {
989
+ "type": "CHOICE",
990
+ "members": [
991
+ {
992
+ "type": "SYMBOL",
993
+ "name": "single_undirected"
994
+ },
995
+ {
996
+ "type": "SYMBOL",
997
+ "name": "single_bidirectional"
998
+ },
999
+ {
1000
+ "type": "SYMBOL",
1001
+ "name": "single_right"
1002
+ },
1003
+ {
1004
+ "type": "SYMBOL",
1005
+ "name": "single_left"
1006
+ },
1007
+ {
1008
+ "type": "SYMBOL",
1009
+ "name": "double_undirected"
1010
+ },
1011
+ {
1012
+ "type": "SYMBOL",
1013
+ "name": "double_bidirectional"
1014
+ },
1015
+ {
1016
+ "type": "SYMBOL",
1017
+ "name": "double_right"
1018
+ },
1019
+ {
1020
+ "type": "SYMBOL",
1021
+ "name": "double_left"
1022
+ },
1023
+ {
1024
+ "type": "SYMBOL",
1025
+ "name": "squiggle_undirected"
1026
+ },
1027
+ {
1028
+ "type": "SYMBOL",
1029
+ "name": "squiggle_bidirectional"
1030
+ },
1031
+ {
1032
+ "type": "SYMBOL",
1033
+ "name": "squiggle_right"
1034
+ },
1035
+ {
1036
+ "type": "SYMBOL",
1037
+ "name": "squiggle_left"
1038
+ }
1039
+ ]
1040
+ },
1041
+ "single_undirected": {
1042
+ "type": "SEQ",
1043
+ "members": [
1044
+ {
1045
+ "type": "STRING",
1046
+ "value": "-"
1047
+ },
1048
+ {
1049
+ "type": "CHOICE",
1050
+ "members": [
1051
+ {
1052
+ "type": "SEQ",
1053
+ "members": [
1054
+ {
1055
+ "type": "STRING",
1056
+ "value": "["
1057
+ },
1058
+ {
1059
+ "type": "SYMBOL",
1060
+ "name": "_attributes"
1061
+ },
1062
+ {
1063
+ "type": "STRING",
1064
+ "value": "]"
1065
+ }
1066
+ ]
1067
+ },
1068
+ {
1069
+ "type": "BLANK"
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "type": "STRING",
1075
+ "value": "-"
1076
+ }
1077
+ ]
1078
+ },
1079
+ "single_bidirectional": {
1080
+ "type": "SEQ",
1081
+ "members": [
1082
+ {
1083
+ "type": "STRING",
1084
+ "value": "<-"
1085
+ },
1086
+ {
1087
+ "type": "CHOICE",
1088
+ "members": [
1089
+ {
1090
+ "type": "SEQ",
1091
+ "members": [
1092
+ {
1093
+ "type": "STRING",
1094
+ "value": "["
1095
+ },
1096
+ {
1097
+ "type": "SYMBOL",
1098
+ "name": "_attributes"
1099
+ },
1100
+ {
1101
+ "type": "STRING",
1102
+ "value": "]"
1103
+ }
1104
+ ]
1105
+ },
1106
+ {
1107
+ "type": "BLANK"
1108
+ }
1109
+ ]
1110
+ },
1111
+ {
1112
+ "type": "STRING",
1113
+ "value": "->"
1114
+ }
1115
+ ]
1116
+ },
1117
+ "single_right": {
1118
+ "type": "SEQ",
1119
+ "members": [
1120
+ {
1121
+ "type": "STRING",
1122
+ "value": "-"
1123
+ },
1124
+ {
1125
+ "type": "CHOICE",
1126
+ "members": [
1127
+ {
1128
+ "type": "SEQ",
1129
+ "members": [
1130
+ {
1131
+ "type": "STRING",
1132
+ "value": "["
1133
+ },
1134
+ {
1135
+ "type": "SYMBOL",
1136
+ "name": "_attributes"
1137
+ },
1138
+ {
1139
+ "type": "STRING",
1140
+ "value": "]"
1141
+ }
1142
+ ]
1143
+ },
1144
+ {
1145
+ "type": "BLANK"
1146
+ }
1147
+ ]
1148
+ },
1149
+ {
1150
+ "type": "STRING",
1151
+ "value": "->"
1152
+ }
1153
+ ]
1154
+ },
1155
+ "single_left": {
1156
+ "type": "SEQ",
1157
+ "members": [
1158
+ {
1159
+ "type": "STRING",
1160
+ "value": "<-"
1161
+ },
1162
+ {
1163
+ "type": "CHOICE",
1164
+ "members": [
1165
+ {
1166
+ "type": "SEQ",
1167
+ "members": [
1168
+ {
1169
+ "type": "STRING",
1170
+ "value": "["
1171
+ },
1172
+ {
1173
+ "type": "SYMBOL",
1174
+ "name": "_attributes"
1175
+ },
1176
+ {
1177
+ "type": "STRING",
1178
+ "value": "]"
1179
+ }
1180
+ ]
1181
+ },
1182
+ {
1183
+ "type": "BLANK"
1184
+ }
1185
+ ]
1186
+ },
1187
+ {
1188
+ "type": "STRING",
1189
+ "value": "-"
1190
+ }
1191
+ ]
1192
+ },
1193
+ "double_undirected": {
1194
+ "type": "SEQ",
1195
+ "members": [
1196
+ {
1197
+ "type": "STRING",
1198
+ "value": "="
1199
+ },
1200
+ {
1201
+ "type": "CHOICE",
1202
+ "members": [
1203
+ {
1204
+ "type": "SEQ",
1205
+ "members": [
1206
+ {
1207
+ "type": "STRING",
1208
+ "value": "["
1209
+ },
1210
+ {
1211
+ "type": "SYMBOL",
1212
+ "name": "_attributes"
1213
+ },
1214
+ {
1215
+ "type": "STRING",
1216
+ "value": "]"
1217
+ }
1218
+ ]
1219
+ },
1220
+ {
1221
+ "type": "BLANK"
1222
+ }
1223
+ ]
1224
+ },
1225
+ {
1226
+ "type": "STRING",
1227
+ "value": "="
1228
+ }
1229
+ ]
1230
+ },
1231
+ "double_bidirectional": {
1232
+ "type": "SEQ",
1233
+ "members": [
1234
+ {
1235
+ "type": "STRING",
1236
+ "value": "<="
1237
+ },
1238
+ {
1239
+ "type": "CHOICE",
1240
+ "members": [
1241
+ {
1242
+ "type": "SEQ",
1243
+ "members": [
1244
+ {
1245
+ "type": "STRING",
1246
+ "value": "["
1247
+ },
1248
+ {
1249
+ "type": "SYMBOL",
1250
+ "name": "_attributes"
1251
+ },
1252
+ {
1253
+ "type": "STRING",
1254
+ "value": "]"
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "type": "BLANK"
1260
+ }
1261
+ ]
1262
+ },
1263
+ {
1264
+ "type": "STRING",
1265
+ "value": "=>"
1266
+ }
1267
+ ]
1268
+ },
1269
+ "double_right": {
1270
+ "type": "SEQ",
1271
+ "members": [
1272
+ {
1273
+ "type": "STRING",
1274
+ "value": "="
1275
+ },
1276
+ {
1277
+ "type": "CHOICE",
1278
+ "members": [
1279
+ {
1280
+ "type": "SEQ",
1281
+ "members": [
1282
+ {
1283
+ "type": "STRING",
1284
+ "value": "["
1285
+ },
1286
+ {
1287
+ "type": "SYMBOL",
1288
+ "name": "_attributes"
1289
+ },
1290
+ {
1291
+ "type": "STRING",
1292
+ "value": "]"
1293
+ }
1294
+ ]
1295
+ },
1296
+ {
1297
+ "type": "BLANK"
1298
+ }
1299
+ ]
1300
+ },
1301
+ {
1302
+ "type": "STRING",
1303
+ "value": "=>"
1304
+ }
1305
+ ]
1306
+ },
1307
+ "double_left": {
1308
+ "type": "SEQ",
1309
+ "members": [
1310
+ {
1311
+ "type": "STRING",
1312
+ "value": "<="
1313
+ },
1314
+ {
1315
+ "type": "CHOICE",
1316
+ "members": [
1317
+ {
1318
+ "type": "SEQ",
1319
+ "members": [
1320
+ {
1321
+ "type": "STRING",
1322
+ "value": "["
1323
+ },
1324
+ {
1325
+ "type": "SYMBOL",
1326
+ "name": "_attributes"
1327
+ },
1328
+ {
1329
+ "type": "STRING",
1330
+ "value": "]"
1331
+ }
1332
+ ]
1333
+ },
1334
+ {
1335
+ "type": "BLANK"
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "type": "STRING",
1341
+ "value": "="
1342
+ }
1343
+ ]
1344
+ },
1345
+ "squiggle_undirected": {
1346
+ "type": "SEQ",
1347
+ "members": [
1348
+ {
1349
+ "type": "STRING",
1350
+ "value": "~"
1351
+ },
1352
+ {
1353
+ "type": "CHOICE",
1354
+ "members": [
1355
+ {
1356
+ "type": "SEQ",
1357
+ "members": [
1358
+ {
1359
+ "type": "STRING",
1360
+ "value": "["
1361
+ },
1362
+ {
1363
+ "type": "SYMBOL",
1364
+ "name": "_attributes"
1365
+ },
1366
+ {
1367
+ "type": "STRING",
1368
+ "value": "]"
1369
+ }
1370
+ ]
1371
+ },
1372
+ {
1373
+ "type": "BLANK"
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "type": "STRING",
1379
+ "value": "~"
1380
+ }
1381
+ ]
1382
+ },
1383
+ "squiggle_bidirectional": {
1384
+ "type": "SEQ",
1385
+ "members": [
1386
+ {
1387
+ "type": "STRING",
1388
+ "value": "<~"
1389
+ },
1390
+ {
1391
+ "type": "CHOICE",
1392
+ "members": [
1393
+ {
1394
+ "type": "SEQ",
1395
+ "members": [
1396
+ {
1397
+ "type": "STRING",
1398
+ "value": "["
1399
+ },
1400
+ {
1401
+ "type": "SYMBOL",
1402
+ "name": "_attributes"
1403
+ },
1404
+ {
1405
+ "type": "STRING",
1406
+ "value": "]"
1407
+ }
1408
+ ]
1409
+ },
1410
+ {
1411
+ "type": "BLANK"
1412
+ }
1413
+ ]
1414
+ },
1415
+ {
1416
+ "type": "STRING",
1417
+ "value": "~>"
1418
+ }
1419
+ ]
1420
+ },
1421
+ "squiggle_right": {
1422
+ "type": "SEQ",
1423
+ "members": [
1424
+ {
1425
+ "type": "STRING",
1426
+ "value": "~"
1427
+ },
1428
+ {
1429
+ "type": "CHOICE",
1430
+ "members": [
1431
+ {
1432
+ "type": "SEQ",
1433
+ "members": [
1434
+ {
1435
+ "type": "STRING",
1436
+ "value": "["
1437
+ },
1438
+ {
1439
+ "type": "SYMBOL",
1440
+ "name": "_attributes"
1441
+ },
1442
+ {
1443
+ "type": "STRING",
1444
+ "value": "]"
1445
+ }
1446
+ ]
1447
+ },
1448
+ {
1449
+ "type": "BLANK"
1450
+ }
1451
+ ]
1452
+ },
1453
+ {
1454
+ "type": "STRING",
1455
+ "value": "~>"
1456
+ }
1457
+ ]
1458
+ },
1459
+ "squiggle_left": {
1460
+ "type": "SEQ",
1461
+ "members": [
1462
+ {
1463
+ "type": "STRING",
1464
+ "value": "<~"
1465
+ },
1466
+ {
1467
+ "type": "CHOICE",
1468
+ "members": [
1469
+ {
1470
+ "type": "SEQ",
1471
+ "members": [
1472
+ {
1473
+ "type": "STRING",
1474
+ "value": "["
1475
+ },
1476
+ {
1477
+ "type": "SYMBOL",
1478
+ "name": "_attributes"
1479
+ },
1480
+ {
1481
+ "type": "STRING",
1482
+ "value": "]"
1483
+ }
1484
+ ]
1485
+ },
1486
+ {
1487
+ "type": "BLANK"
1488
+ }
1489
+ ]
1490
+ },
1491
+ {
1492
+ "type": "STRING",
1493
+ "value": "~"
1494
+ }
1495
+ ]
1496
+ }
1497
+ },
1498
+ "extras": [
1499
+ {
1500
+ "type": "PATTERN",
1501
+ "value": "\\s"
1502
+ }
1503
+ ],
1504
+ "conflicts": [],
1505
+ "precedences": [],
1506
+ "externals": [],
1507
+ "inline": [],
1508
+ "supertypes": []
1509
+ }