@felixtensor/tree-sitter-mlir 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,5037 @@
1
+ {
2
+ "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
3
+ "name": "mlir",
4
+ "rules": {
5
+ "toplevel": {
6
+ "type": "SEQ",
7
+ "members": [
8
+ {
9
+ "type": "SYMBOL",
10
+ "name": "_toplevel"
11
+ },
12
+ {
13
+ "type": "REPEAT",
14
+ "content": {
15
+ "type": "SYMBOL",
16
+ "name": "_toplevel"
17
+ }
18
+ }
19
+ ]
20
+ },
21
+ "_toplevel": {
22
+ "type": "CHOICE",
23
+ "members": [
24
+ {
25
+ "type": "SYMBOL",
26
+ "name": "operation"
27
+ },
28
+ {
29
+ "type": "SYMBOL",
30
+ "name": "attribute_alias_def"
31
+ },
32
+ {
33
+ "type": "SYMBOL",
34
+ "name": "type_alias_def"
35
+ },
36
+ {
37
+ "type": "SYMBOL",
38
+ "name": "external_resources"
39
+ }
40
+ ]
41
+ },
42
+ "external_resources": {
43
+ "type": "SEQ",
44
+ "members": [
45
+ {
46
+ "type": "STRING",
47
+ "value": "{-#"
48
+ },
49
+ {
50
+ "type": "REPEAT",
51
+ "content": {
52
+ "type": "SYMBOL",
53
+ "name": "_pretty_dialect_item_contents"
54
+ }
55
+ },
56
+ {
57
+ "type": "STRING",
58
+ "value": "#-}"
59
+ }
60
+ ]
61
+ },
62
+ "_digit": {
63
+ "type": "PATTERN",
64
+ "value": "[0-9]"
65
+ },
66
+ "integer_literal": {
67
+ "type": "CHOICE",
68
+ "members": [
69
+ {
70
+ "type": "SYMBOL",
71
+ "name": "_decimal_literal"
72
+ },
73
+ {
74
+ "type": "SYMBOL",
75
+ "name": "_hexadecimal_literal"
76
+ }
77
+ ]
78
+ },
79
+ "_decimal_literal": {
80
+ "type": "TOKEN",
81
+ "content": {
82
+ "type": "SEQ",
83
+ "members": [
84
+ {
85
+ "type": "CHOICE",
86
+ "members": [
87
+ {
88
+ "type": "PATTERN",
89
+ "value": "[-+]"
90
+ },
91
+ {
92
+ "type": "BLANK"
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "type": "REPEAT1",
98
+ "content": {
99
+ "type": "PATTERN",
100
+ "value": "[0-9]"
101
+ }
102
+ }
103
+ ]
104
+ }
105
+ },
106
+ "_hexadecimal_literal": {
107
+ "type": "TOKEN",
108
+ "content": {
109
+ "type": "SEQ",
110
+ "members": [
111
+ {
112
+ "type": "STRING",
113
+ "value": "0x"
114
+ },
115
+ {
116
+ "type": "REPEAT1",
117
+ "content": {
118
+ "type": "PATTERN",
119
+ "value": "[0-9a-fA-F]"
120
+ }
121
+ }
122
+ ]
123
+ }
124
+ },
125
+ "float_literal": {
126
+ "type": "TOKEN",
127
+ "content": {
128
+ "type": "SEQ",
129
+ "members": [
130
+ {
131
+ "type": "CHOICE",
132
+ "members": [
133
+ {
134
+ "type": "PATTERN",
135
+ "value": "[-+]"
136
+ },
137
+ {
138
+ "type": "BLANK"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "type": "REPEAT1",
144
+ "content": {
145
+ "type": "PATTERN",
146
+ "value": "[0-9]"
147
+ }
148
+ },
149
+ {
150
+ "type": "STRING",
151
+ "value": "."
152
+ },
153
+ {
154
+ "type": "REPEAT",
155
+ "content": {
156
+ "type": "PATTERN",
157
+ "value": "[0-9]"
158
+ }
159
+ },
160
+ {
161
+ "type": "CHOICE",
162
+ "members": [
163
+ {
164
+ "type": "SEQ",
165
+ "members": [
166
+ {
167
+ "type": "PATTERN",
168
+ "value": "[eE]"
169
+ },
170
+ {
171
+ "type": "CHOICE",
172
+ "members": [
173
+ {
174
+ "type": "PATTERN",
175
+ "value": "[-+]"
176
+ },
177
+ {
178
+ "type": "BLANK"
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ "type": "REPEAT1",
184
+ "content": {
185
+ "type": "PATTERN",
186
+ "value": "[0-9]"
187
+ }
188
+ }
189
+ ]
190
+ },
191
+ {
192
+ "type": "BLANK"
193
+ }
194
+ ]
195
+ }
196
+ ]
197
+ }
198
+ },
199
+ "string_literal": {
200
+ "type": "SEQ",
201
+ "members": [
202
+ {
203
+ "type": "STRING",
204
+ "value": "\""
205
+ },
206
+ {
207
+ "type": "REPEAT",
208
+ "content": {
209
+ "type": "CHOICE",
210
+ "members": [
211
+ {
212
+ "type": "PATTERN",
213
+ "value": "[^\\\\\"\\n\\f\\v\\r]+"
214
+ },
215
+ {
216
+ "type": "SYMBOL",
217
+ "name": "escape_sequence"
218
+ },
219
+ {
220
+ "type": "SYMBOL",
221
+ "name": "invalid_escape"
222
+ }
223
+ ]
224
+ }
225
+ },
226
+ {
227
+ "type": "STRING",
228
+ "value": "\""
229
+ }
230
+ ]
231
+ },
232
+ "escape_sequence": {
233
+ "type": "TOKEN",
234
+ "content": {
235
+ "type": "SEQ",
236
+ "members": [
237
+ {
238
+ "type": "STRING",
239
+ "value": "\\"
240
+ },
241
+ {
242
+ "type": "CHOICE",
243
+ "members": [
244
+ {
245
+ "type": "PATTERN",
246
+ "value": "[nt\"\\\\]"
247
+ },
248
+ {
249
+ "type": "PATTERN",
250
+ "value": "[0-9a-fA-F]{2}"
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ }
256
+ },
257
+ "invalid_escape": {
258
+ "type": "TOKEN",
259
+ "content": {
260
+ "type": "SEQ",
261
+ "members": [
262
+ {
263
+ "type": "STRING",
264
+ "value": "\\"
265
+ },
266
+ {
267
+ "type": "PATTERN",
268
+ "value": "[^\\n\\f\\v\\r]"
269
+ }
270
+ ]
271
+ }
272
+ },
273
+ "bool_literal": {
274
+ "type": "TOKEN",
275
+ "content": {
276
+ "type": "CHOICE",
277
+ "members": [
278
+ {
279
+ "type": "STRING",
280
+ "value": "true"
281
+ },
282
+ {
283
+ "type": "STRING",
284
+ "value": "false"
285
+ }
286
+ ]
287
+ }
288
+ },
289
+ "unit_literal": {
290
+ "type": "TOKEN",
291
+ "content": {
292
+ "type": "STRING",
293
+ "value": "unit"
294
+ }
295
+ },
296
+ "uninitialized_literal": {
297
+ "type": "TOKEN",
298
+ "content": {
299
+ "type": "STRING",
300
+ "value": "uninitialized"
301
+ }
302
+ },
303
+ "complex_literal": {
304
+ "type": "SEQ",
305
+ "members": [
306
+ {
307
+ "type": "STRING",
308
+ "value": "("
309
+ },
310
+ {
311
+ "type": "CHOICE",
312
+ "members": [
313
+ {
314
+ "type": "SYMBOL",
315
+ "name": "integer_literal"
316
+ },
317
+ {
318
+ "type": "SYMBOL",
319
+ "name": "float_literal"
320
+ },
321
+ {
322
+ "type": "SYMBOL",
323
+ "name": "bool_literal"
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "type": "STRING",
329
+ "value": ","
330
+ },
331
+ {
332
+ "type": "CHOICE",
333
+ "members": [
334
+ {
335
+ "type": "SYMBOL",
336
+ "name": "integer_literal"
337
+ },
338
+ {
339
+ "type": "SYMBOL",
340
+ "name": "float_literal"
341
+ },
342
+ {
343
+ "type": "SYMBOL",
344
+ "name": "bool_literal"
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "type": "STRING",
350
+ "value": ")"
351
+ }
352
+ ]
353
+ },
354
+ "tensor_literal": {
355
+ "type": "SEQ",
356
+ "members": [
357
+ {
358
+ "type": "TOKEN",
359
+ "content": {
360
+ "type": "CHOICE",
361
+ "members": [
362
+ {
363
+ "type": "STRING",
364
+ "value": "dense"
365
+ },
366
+ {
367
+ "type": "STRING",
368
+ "value": "sparse"
369
+ }
370
+ ]
371
+ }
372
+ },
373
+ {
374
+ "type": "STRING",
375
+ "value": "<"
376
+ },
377
+ {
378
+ "type": "CHOICE",
379
+ "members": [
380
+ {
381
+ "type": "SEQ",
382
+ "members": [
383
+ {
384
+ "type": "CHOICE",
385
+ "members": [
386
+ {
387
+ "type": "SEQ",
388
+ "members": [
389
+ {
390
+ "type": "SYMBOL",
391
+ "name": "type"
392
+ },
393
+ {
394
+ "type": "STRING",
395
+ "value": ":"
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "type": "BLANK"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "type": "SEQ",
406
+ "members": [
407
+ {
408
+ "type": "SYMBOL",
409
+ "name": "_tensor_literal_element"
410
+ },
411
+ {
412
+ "type": "REPEAT",
413
+ "content": {
414
+ "type": "SEQ",
415
+ "members": [
416
+ {
417
+ "type": "STRING",
418
+ "value": ","
419
+ },
420
+ {
421
+ "type": "SYMBOL",
422
+ "name": "_tensor_literal_element"
423
+ }
424
+ ]
425
+ }
426
+ }
427
+ ]
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "type": "BLANK"
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "type": "STRING",
438
+ "value": ">"
439
+ }
440
+ ]
441
+ },
442
+ "_tensor_literal_element": {
443
+ "type": "CHOICE",
444
+ "members": [
445
+ {
446
+ "type": "SYMBOL",
447
+ "name": "nested_idx_list"
448
+ },
449
+ {
450
+ "type": "SYMBOL",
451
+ "name": "_primitive_element"
452
+ }
453
+ ]
454
+ },
455
+ "array_literal": {
456
+ "type": "SEQ",
457
+ "members": [
458
+ {
459
+ "type": "TOKEN",
460
+ "content": {
461
+ "type": "STRING",
462
+ "value": "array"
463
+ }
464
+ },
465
+ {
466
+ "type": "STRING",
467
+ "value": "<"
468
+ },
469
+ {
470
+ "type": "SYMBOL",
471
+ "name": "type"
472
+ },
473
+ {
474
+ "type": "CHOICE",
475
+ "members": [
476
+ {
477
+ "type": "SEQ",
478
+ "members": [
479
+ {
480
+ "type": "STRING",
481
+ "value": ":"
482
+ },
483
+ {
484
+ "type": "SYMBOL",
485
+ "name": "_idx_list"
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "type": "BLANK"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "type": "STRING",
496
+ "value": ">"
497
+ }
498
+ ]
499
+ },
500
+ "_literal": {
501
+ "type": "CHOICE",
502
+ "members": [
503
+ {
504
+ "type": "SYMBOL",
505
+ "name": "integer_literal"
506
+ },
507
+ {
508
+ "type": "SYMBOL",
509
+ "name": "float_literal"
510
+ },
511
+ {
512
+ "type": "SYMBOL",
513
+ "name": "string_literal"
514
+ },
515
+ {
516
+ "type": "SYMBOL",
517
+ "name": "bool_literal"
518
+ },
519
+ {
520
+ "type": "SYMBOL",
521
+ "name": "tensor_literal"
522
+ },
523
+ {
524
+ "type": "SYMBOL",
525
+ "name": "array_literal"
526
+ },
527
+ {
528
+ "type": "SYMBOL",
529
+ "name": "unit_literal"
530
+ },
531
+ {
532
+ "type": "SYMBOL",
533
+ "name": "uninitialized_literal"
534
+ }
535
+ ]
536
+ },
537
+ "nested_idx_list": {
538
+ "type": "SEQ",
539
+ "members": [
540
+ {
541
+ "type": "STRING",
542
+ "value": "["
543
+ },
544
+ {
545
+ "type": "CHOICE",
546
+ "members": [
547
+ {
548
+ "type": "CHOICE",
549
+ "members": [
550
+ {
551
+ "type": "SYMBOL",
552
+ "name": "nested_idx_list"
553
+ },
554
+ {
555
+ "type": "SYMBOL",
556
+ "name": "_idx_list"
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "type": "BLANK"
562
+ }
563
+ ]
564
+ },
565
+ {
566
+ "type": "REPEAT",
567
+ "content": {
568
+ "type": "SEQ",
569
+ "members": [
570
+ {
571
+ "type": "STRING",
572
+ "value": ","
573
+ },
574
+ {
575
+ "type": "SYMBOL",
576
+ "name": "nested_idx_list"
577
+ }
578
+ ]
579
+ }
580
+ },
581
+ {
582
+ "type": "STRING",
583
+ "value": "]"
584
+ }
585
+ ]
586
+ },
587
+ "_idx_list": {
588
+ "type": "PREC_RIGHT",
589
+ "value": 0,
590
+ "content": {
591
+ "type": "SEQ",
592
+ "members": [
593
+ {
594
+ "type": "SYMBOL",
595
+ "name": "_primitive_element"
596
+ },
597
+ {
598
+ "type": "REPEAT",
599
+ "content": {
600
+ "type": "SEQ",
601
+ "members": [
602
+ {
603
+ "type": "STRING",
604
+ "value": ","
605
+ },
606
+ {
607
+ "type": "SYMBOL",
608
+ "name": "_primitive_element"
609
+ }
610
+ ]
611
+ }
612
+ }
613
+ ]
614
+ }
615
+ },
616
+ "_primitive_element": {
617
+ "type": "SEQ",
618
+ "members": [
619
+ {
620
+ "type": "SYMBOL",
621
+ "name": "_primitive_idx_literal"
622
+ },
623
+ {
624
+ "type": "CHOICE",
625
+ "members": [
626
+ {
627
+ "type": "SEQ",
628
+ "members": [
629
+ {
630
+ "type": "STRING",
631
+ "value": ":"
632
+ },
633
+ {
634
+ "type": "SYMBOL",
635
+ "name": "type"
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "type": "BLANK"
641
+ }
642
+ ]
643
+ }
644
+ ]
645
+ },
646
+ "_primitive_idx_literal": {
647
+ "type": "CHOICE",
648
+ "members": [
649
+ {
650
+ "type": "SYMBOL",
651
+ "name": "integer_literal"
652
+ },
653
+ {
654
+ "type": "SYMBOL",
655
+ "name": "float_literal"
656
+ },
657
+ {
658
+ "type": "SYMBOL",
659
+ "name": "bool_literal"
660
+ },
661
+ {
662
+ "type": "SYMBOL",
663
+ "name": "complex_literal"
664
+ },
665
+ {
666
+ "type": "SYMBOL",
667
+ "name": "string_literal"
668
+ }
669
+ ]
670
+ },
671
+ "bare_id": {
672
+ "type": "TOKEN",
673
+ "content": {
674
+ "type": "SEQ",
675
+ "members": [
676
+ {
677
+ "type": "PATTERN",
678
+ "value": "[a-zA-Z_]"
679
+ },
680
+ {
681
+ "type": "REPEAT",
682
+ "content": {
683
+ "type": "PATTERN",
684
+ "value": "[a-zA-Z0-9_$.]"
685
+ }
686
+ }
687
+ ]
688
+ }
689
+ },
690
+ "_alias_or_dialect_id": {
691
+ "type": "TOKEN",
692
+ "content": {
693
+ "type": "SEQ",
694
+ "members": [
695
+ {
696
+ "type": "PATTERN",
697
+ "value": "[a-zA-Z_]"
698
+ },
699
+ {
700
+ "type": "REPEAT",
701
+ "content": {
702
+ "type": "PATTERN",
703
+ "value": "[a-zA-Z0-9_$]"
704
+ }
705
+ }
706
+ ]
707
+ }
708
+ },
709
+ "bare_id_list": {
710
+ "type": "SEQ",
711
+ "members": [
712
+ {
713
+ "type": "SYMBOL",
714
+ "name": "bare_id"
715
+ },
716
+ {
717
+ "type": "REPEAT",
718
+ "content": {
719
+ "type": "SEQ",
720
+ "members": [
721
+ {
722
+ "type": "STRING",
723
+ "value": ","
724
+ },
725
+ {
726
+ "type": "SYMBOL",
727
+ "name": "bare_id"
728
+ }
729
+ ]
730
+ }
731
+ }
732
+ ]
733
+ },
734
+ "value_use": {
735
+ "type": "SEQ",
736
+ "members": [
737
+ {
738
+ "type": "STRING",
739
+ "value": "%"
740
+ },
741
+ {
742
+ "type": "SYMBOL",
743
+ "name": "_suffix_id"
744
+ }
745
+ ]
746
+ },
747
+ "_suffix_id": {
748
+ "type": "TOKEN",
749
+ "content": {
750
+ "type": "SEQ",
751
+ "members": [
752
+ {
753
+ "type": "CHOICE",
754
+ "members": [
755
+ {
756
+ "type": "REPEAT1",
757
+ "content": {
758
+ "type": "PATTERN",
759
+ "value": "[0-9]"
760
+ }
761
+ },
762
+ {
763
+ "type": "SEQ",
764
+ "members": [
765
+ {
766
+ "type": "PATTERN",
767
+ "value": "[a-zA-Z_$.-]"
768
+ },
769
+ {
770
+ "type": "REPEAT",
771
+ "content": {
772
+ "type": "PATTERN",
773
+ "value": "[a-zA-Z0-9_$.-]"
774
+ }
775
+ }
776
+ ]
777
+ }
778
+ ]
779
+ },
780
+ {
781
+ "type": "CHOICE",
782
+ "members": [
783
+ {
784
+ "type": "SEQ",
785
+ "members": [
786
+ {
787
+ "type": "CHOICE",
788
+ "members": [
789
+ {
790
+ "type": "STRING",
791
+ "value": ":"
792
+ },
793
+ {
794
+ "type": "STRING",
795
+ "value": "#"
796
+ }
797
+ ]
798
+ },
799
+ {
800
+ "type": "REPEAT1",
801
+ "content": {
802
+ "type": "PATTERN",
803
+ "value": "[0-9]"
804
+ }
805
+ }
806
+ ]
807
+ },
808
+ {
809
+ "type": "BLANK"
810
+ }
811
+ ]
812
+ }
813
+ ]
814
+ }
815
+ },
816
+ "symbol_ref_id": {
817
+ "type": "SEQ",
818
+ "members": [
819
+ {
820
+ "type": "STRING",
821
+ "value": "@"
822
+ },
823
+ {
824
+ "type": "CHOICE",
825
+ "members": [
826
+ {
827
+ "type": "SYMBOL",
828
+ "name": "_suffix_id"
829
+ },
830
+ {
831
+ "type": "SYMBOL",
832
+ "name": "string_literal"
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ "type": "CHOICE",
838
+ "members": [
839
+ {
840
+ "type": "SEQ",
841
+ "members": [
842
+ {
843
+ "type": "STRING",
844
+ "value": "::"
845
+ },
846
+ {
847
+ "type": "SYMBOL",
848
+ "name": "symbol_ref_id"
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "type": "BLANK"
854
+ }
855
+ ]
856
+ }
857
+ ]
858
+ },
859
+ "_value_use_list": {
860
+ "type": "SEQ",
861
+ "members": [
862
+ {
863
+ "type": "SYMBOL",
864
+ "name": "value_use"
865
+ },
866
+ {
867
+ "type": "REPEAT",
868
+ "content": {
869
+ "type": "SEQ",
870
+ "members": [
871
+ {
872
+ "type": "STRING",
873
+ "value": ","
874
+ },
875
+ {
876
+ "type": "SYMBOL",
877
+ "name": "value_use"
878
+ }
879
+ ]
880
+ }
881
+ }
882
+ ]
883
+ },
884
+ "operation": {
885
+ "type": "SEQ",
886
+ "members": [
887
+ {
888
+ "type": "FIELD",
889
+ "name": "lhs",
890
+ "content": {
891
+ "type": "CHOICE",
892
+ "members": [
893
+ {
894
+ "type": "SYMBOL",
895
+ "name": "_op_result_list"
896
+ },
897
+ {
898
+ "type": "BLANK"
899
+ }
900
+ ]
901
+ }
902
+ },
903
+ {
904
+ "type": "FIELD",
905
+ "name": "rhs",
906
+ "content": {
907
+ "type": "CHOICE",
908
+ "members": [
909
+ {
910
+ "type": "SYMBOL",
911
+ "name": "generic_operation"
912
+ },
913
+ {
914
+ "type": "SYMBOL",
915
+ "name": "custom_operation"
916
+ }
917
+ ]
918
+ }
919
+ },
920
+ {
921
+ "type": "FIELD",
922
+ "name": "location",
923
+ "content": {
924
+ "type": "CHOICE",
925
+ "members": [
926
+ {
927
+ "type": "SYMBOL",
928
+ "name": "trailing_location"
929
+ },
930
+ {
931
+ "type": "BLANK"
932
+ }
933
+ ]
934
+ }
935
+ }
936
+ ]
937
+ },
938
+ "generic_operation": {
939
+ "type": "SEQ",
940
+ "members": [
941
+ {
942
+ "type": "SYMBOL",
943
+ "name": "string_literal"
944
+ },
945
+ {
946
+ "type": "SYMBOL",
947
+ "name": "_value_use_list_parens"
948
+ },
949
+ {
950
+ "type": "CHOICE",
951
+ "members": [
952
+ {
953
+ "type": "SYMBOL",
954
+ "name": "_successor_list"
955
+ },
956
+ {
957
+ "type": "BLANK"
958
+ }
959
+ ]
960
+ },
961
+ {
962
+ "type": "CHOICE",
963
+ "members": [
964
+ {
965
+ "type": "SYMBOL",
966
+ "name": "properties"
967
+ },
968
+ {
969
+ "type": "BLANK"
970
+ }
971
+ ]
972
+ },
973
+ {
974
+ "type": "CHOICE",
975
+ "members": [
976
+ {
977
+ "type": "SYMBOL",
978
+ "name": "_region_list"
979
+ },
980
+ {
981
+ "type": "BLANK"
982
+ }
983
+ ]
984
+ },
985
+ {
986
+ "type": "CHOICE",
987
+ "members": [
988
+ {
989
+ "type": "SYMBOL",
990
+ "name": "attribute"
991
+ },
992
+ {
993
+ "type": "BLANK"
994
+ }
995
+ ]
996
+ },
997
+ {
998
+ "type": "STRING",
999
+ "value": ":"
1000
+ },
1001
+ {
1002
+ "type": "SYMBOL",
1003
+ "name": "function_type"
1004
+ }
1005
+ ]
1006
+ },
1007
+ "_op_result_list": {
1008
+ "type": "SEQ",
1009
+ "members": [
1010
+ {
1011
+ "type": "SYMBOL",
1012
+ "name": "op_result"
1013
+ },
1014
+ {
1015
+ "type": "REPEAT",
1016
+ "content": {
1017
+ "type": "SEQ",
1018
+ "members": [
1019
+ {
1020
+ "type": "STRING",
1021
+ "value": ","
1022
+ },
1023
+ {
1024
+ "type": "SYMBOL",
1025
+ "name": "op_result"
1026
+ }
1027
+ ]
1028
+ }
1029
+ },
1030
+ {
1031
+ "type": "STRING",
1032
+ "value": "="
1033
+ }
1034
+ ]
1035
+ },
1036
+ "op_result": {
1037
+ "type": "SEQ",
1038
+ "members": [
1039
+ {
1040
+ "type": "SYMBOL",
1041
+ "name": "value_use"
1042
+ },
1043
+ {
1044
+ "type": "CHOICE",
1045
+ "members": [
1046
+ {
1047
+ "type": "SEQ",
1048
+ "members": [
1049
+ {
1050
+ "type": "STRING",
1051
+ "value": ":"
1052
+ },
1053
+ {
1054
+ "type": "SYMBOL",
1055
+ "name": "integer_literal"
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "type": "BLANK"
1061
+ }
1062
+ ]
1063
+ }
1064
+ ]
1065
+ },
1066
+ "_successor_list": {
1067
+ "type": "SEQ",
1068
+ "members": [
1069
+ {
1070
+ "type": "STRING",
1071
+ "value": "["
1072
+ },
1073
+ {
1074
+ "type": "SYMBOL",
1075
+ "name": "successor"
1076
+ },
1077
+ {
1078
+ "type": "REPEAT",
1079
+ "content": {
1080
+ "type": "SEQ",
1081
+ "members": [
1082
+ {
1083
+ "type": "STRING",
1084
+ "value": ","
1085
+ },
1086
+ {
1087
+ "type": "SYMBOL",
1088
+ "name": "successor"
1089
+ }
1090
+ ]
1091
+ }
1092
+ },
1093
+ {
1094
+ "type": "STRING",
1095
+ "value": "]"
1096
+ }
1097
+ ]
1098
+ },
1099
+ "successor": {
1100
+ "type": "PREC_RIGHT",
1101
+ "value": 0,
1102
+ "content": {
1103
+ "type": "SEQ",
1104
+ "members": [
1105
+ {
1106
+ "type": "SYMBOL",
1107
+ "name": "caret_id"
1108
+ },
1109
+ {
1110
+ "type": "CHOICE",
1111
+ "members": [
1112
+ {
1113
+ "type": "SYMBOL",
1114
+ "name": "_value_arg_list"
1115
+ },
1116
+ {
1117
+ "type": "BLANK"
1118
+ }
1119
+ ]
1120
+ }
1121
+ ]
1122
+ }
1123
+ },
1124
+ "_region_list": {
1125
+ "type": "SEQ",
1126
+ "members": [
1127
+ {
1128
+ "type": "STRING",
1129
+ "value": "("
1130
+ },
1131
+ {
1132
+ "type": "SYMBOL",
1133
+ "name": "region"
1134
+ },
1135
+ {
1136
+ "type": "REPEAT",
1137
+ "content": {
1138
+ "type": "SEQ",
1139
+ "members": [
1140
+ {
1141
+ "type": "STRING",
1142
+ "value": ","
1143
+ },
1144
+ {
1145
+ "type": "SYMBOL",
1146
+ "name": "region"
1147
+ }
1148
+ ]
1149
+ }
1150
+ },
1151
+ {
1152
+ "type": "STRING",
1153
+ "value": ")"
1154
+ }
1155
+ ]
1156
+ },
1157
+ "properties": {
1158
+ "type": "SEQ",
1159
+ "members": [
1160
+ {
1161
+ "type": "STRING",
1162
+ "value": "<{"
1163
+ },
1164
+ {
1165
+ "type": "CHOICE",
1166
+ "members": [
1167
+ {
1168
+ "type": "SYMBOL",
1169
+ "name": "attribute_entry"
1170
+ },
1171
+ {
1172
+ "type": "BLANK"
1173
+ }
1174
+ ]
1175
+ },
1176
+ {
1177
+ "type": "REPEAT",
1178
+ "content": {
1179
+ "type": "SEQ",
1180
+ "members": [
1181
+ {
1182
+ "type": "STRING",
1183
+ "value": ","
1184
+ },
1185
+ {
1186
+ "type": "SYMBOL",
1187
+ "name": "attribute_entry"
1188
+ }
1189
+ ]
1190
+ }
1191
+ },
1192
+ {
1193
+ "type": "STRING",
1194
+ "value": "}>"
1195
+ }
1196
+ ]
1197
+ },
1198
+ "dictionary_attribute": {
1199
+ "type": "SEQ",
1200
+ "members": [
1201
+ {
1202
+ "type": "STRING",
1203
+ "value": "{"
1204
+ },
1205
+ {
1206
+ "type": "CHOICE",
1207
+ "members": [
1208
+ {
1209
+ "type": "SYMBOL",
1210
+ "name": "attribute_entry"
1211
+ },
1212
+ {
1213
+ "type": "BLANK"
1214
+ }
1215
+ ]
1216
+ },
1217
+ {
1218
+ "type": "REPEAT",
1219
+ "content": {
1220
+ "type": "SEQ",
1221
+ "members": [
1222
+ {
1223
+ "type": "STRING",
1224
+ "value": ","
1225
+ },
1226
+ {
1227
+ "type": "SYMBOL",
1228
+ "name": "attribute_entry"
1229
+ }
1230
+ ]
1231
+ }
1232
+ },
1233
+ {
1234
+ "type": "STRING",
1235
+ "value": "}"
1236
+ }
1237
+ ]
1238
+ },
1239
+ "trailing_location": {
1240
+ "type": "SEQ",
1241
+ "members": [
1242
+ {
1243
+ "type": "TOKEN",
1244
+ "content": {
1245
+ "type": "STRING",
1246
+ "value": "loc"
1247
+ }
1248
+ },
1249
+ {
1250
+ "type": "STRING",
1251
+ "value": "("
1252
+ },
1253
+ {
1254
+ "type": "SYMBOL",
1255
+ "name": "location"
1256
+ },
1257
+ {
1258
+ "type": "STRING",
1259
+ "value": ")"
1260
+ }
1261
+ ]
1262
+ },
1263
+ "location": {
1264
+ "type": "CHOICE",
1265
+ "members": [
1266
+ {
1267
+ "type": "SYMBOL",
1268
+ "name": "unknown_location"
1269
+ },
1270
+ {
1271
+ "type": "SYMBOL",
1272
+ "name": "_string_location"
1273
+ },
1274
+ {
1275
+ "type": "SYMBOL",
1276
+ "name": "callsite_location"
1277
+ },
1278
+ {
1279
+ "type": "SYMBOL",
1280
+ "name": "fused_location"
1281
+ },
1282
+ {
1283
+ "type": "SYMBOL",
1284
+ "name": "attribute_alias"
1285
+ },
1286
+ {
1287
+ "type": "SYMBOL",
1288
+ "name": "dialect_attribute"
1289
+ }
1290
+ ]
1291
+ },
1292
+ "unknown_location": {
1293
+ "type": "TOKEN",
1294
+ "content": {
1295
+ "type": "STRING",
1296
+ "value": "unknown"
1297
+ }
1298
+ },
1299
+ "callsite_location": {
1300
+ "type": "SEQ",
1301
+ "members": [
1302
+ {
1303
+ "type": "TOKEN",
1304
+ "content": {
1305
+ "type": "STRING",
1306
+ "value": "callsite"
1307
+ }
1308
+ },
1309
+ {
1310
+ "type": "STRING",
1311
+ "value": "("
1312
+ },
1313
+ {
1314
+ "type": "SYMBOL",
1315
+ "name": "location"
1316
+ },
1317
+ {
1318
+ "type": "TOKEN",
1319
+ "content": {
1320
+ "type": "STRING",
1321
+ "value": "at"
1322
+ }
1323
+ },
1324
+ {
1325
+ "type": "SYMBOL",
1326
+ "name": "location"
1327
+ },
1328
+ {
1329
+ "type": "STRING",
1330
+ "value": ")"
1331
+ }
1332
+ ]
1333
+ },
1334
+ "fused_location": {
1335
+ "type": "SEQ",
1336
+ "members": [
1337
+ {
1338
+ "type": "TOKEN",
1339
+ "content": {
1340
+ "type": "STRING",
1341
+ "value": "fused"
1342
+ }
1343
+ },
1344
+ {
1345
+ "type": "CHOICE",
1346
+ "members": [
1347
+ {
1348
+ "type": "SEQ",
1349
+ "members": [
1350
+ {
1351
+ "type": "STRING",
1352
+ "value": "<"
1353
+ },
1354
+ {
1355
+ "type": "SYMBOL",
1356
+ "name": "attribute_value"
1357
+ },
1358
+ {
1359
+ "type": "STRING",
1360
+ "value": ">"
1361
+ }
1362
+ ]
1363
+ },
1364
+ {
1365
+ "type": "BLANK"
1366
+ }
1367
+ ]
1368
+ },
1369
+ {
1370
+ "type": "STRING",
1371
+ "value": "["
1372
+ },
1373
+ {
1374
+ "type": "SYMBOL",
1375
+ "name": "location"
1376
+ },
1377
+ {
1378
+ "type": "REPEAT",
1379
+ "content": {
1380
+ "type": "SEQ",
1381
+ "members": [
1382
+ {
1383
+ "type": "STRING",
1384
+ "value": ","
1385
+ },
1386
+ {
1387
+ "type": "SYMBOL",
1388
+ "name": "location"
1389
+ }
1390
+ ]
1391
+ }
1392
+ },
1393
+ {
1394
+ "type": "STRING",
1395
+ "value": "]"
1396
+ }
1397
+ ]
1398
+ },
1399
+ "_string_location": {
1400
+ "type": "SEQ",
1401
+ "members": [
1402
+ {
1403
+ "type": "SYMBOL",
1404
+ "name": "string_literal"
1405
+ },
1406
+ {
1407
+ "type": "CHOICE",
1408
+ "members": [
1409
+ {
1410
+ "type": "CHOICE",
1411
+ "members": [
1412
+ {
1413
+ "type": "SYMBOL",
1414
+ "name": "_filelinecol_suffix"
1415
+ },
1416
+ {
1417
+ "type": "SEQ",
1418
+ "members": [
1419
+ {
1420
+ "type": "STRING",
1421
+ "value": "("
1422
+ },
1423
+ {
1424
+ "type": "SYMBOL",
1425
+ "name": "location"
1426
+ },
1427
+ {
1428
+ "type": "STRING",
1429
+ "value": ")"
1430
+ }
1431
+ ]
1432
+ }
1433
+ ]
1434
+ },
1435
+ {
1436
+ "type": "BLANK"
1437
+ }
1438
+ ]
1439
+ }
1440
+ ]
1441
+ },
1442
+ "_filelinecol_suffix": {
1443
+ "type": "SEQ",
1444
+ "members": [
1445
+ {
1446
+ "type": "STRING",
1447
+ "value": ":"
1448
+ },
1449
+ {
1450
+ "type": "SYMBOL",
1451
+ "name": "integer_literal"
1452
+ },
1453
+ {
1454
+ "type": "CHOICE",
1455
+ "members": [
1456
+ {
1457
+ "type": "SEQ",
1458
+ "members": [
1459
+ {
1460
+ "type": "STRING",
1461
+ "value": ":"
1462
+ },
1463
+ {
1464
+ "type": "SYMBOL",
1465
+ "name": "integer_literal"
1466
+ }
1467
+ ]
1468
+ },
1469
+ {
1470
+ "type": "BLANK"
1471
+ }
1472
+ ]
1473
+ },
1474
+ {
1475
+ "type": "CHOICE",
1476
+ "members": [
1477
+ {
1478
+ "type": "SEQ",
1479
+ "members": [
1480
+ {
1481
+ "type": "TOKEN",
1482
+ "content": {
1483
+ "type": "STRING",
1484
+ "value": "to"
1485
+ }
1486
+ },
1487
+ {
1488
+ "type": "CHOICE",
1489
+ "members": [
1490
+ {
1491
+ "type": "SYMBOL",
1492
+ "name": "integer_literal"
1493
+ },
1494
+ {
1495
+ "type": "BLANK"
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "type": "STRING",
1501
+ "value": ":"
1502
+ },
1503
+ {
1504
+ "type": "SYMBOL",
1505
+ "name": "integer_literal"
1506
+ }
1507
+ ]
1508
+ },
1509
+ {
1510
+ "type": "BLANK"
1511
+ }
1512
+ ]
1513
+ }
1514
+ ]
1515
+ },
1516
+ "custom_operation": {
1517
+ "type": "CHOICE",
1518
+ "members": [
1519
+ {
1520
+ "type": "PREC",
1521
+ "value": 2,
1522
+ "content": {
1523
+ "type": "SYMBOL",
1524
+ "name": "func_operation"
1525
+ }
1526
+ },
1527
+ {
1528
+ "type": "PREC",
1529
+ "value": 2,
1530
+ "content": {
1531
+ "type": "SYMBOL",
1532
+ "name": "module_operation"
1533
+ }
1534
+ },
1535
+ {
1536
+ "type": "PREC",
1537
+ "value": 2,
1538
+ "content": {
1539
+ "type": "SYMBOL",
1540
+ "name": "_affine_for_operation"
1541
+ }
1542
+ },
1543
+ {
1544
+ "type": "SYMBOL",
1545
+ "name": "_generic_custom_operation"
1546
+ }
1547
+ ]
1548
+ },
1549
+ "func_operation": {
1550
+ "type": "PREC_RIGHT",
1551
+ "value": 0,
1552
+ "content": {
1553
+ "type": "SEQ",
1554
+ "members": [
1555
+ {
1556
+ "type": "FIELD",
1557
+ "name": "name",
1558
+ "content": {
1559
+ "type": "CHOICE",
1560
+ "members": [
1561
+ {
1562
+ "type": "TOKEN",
1563
+ "content": {
1564
+ "type": "PREC",
1565
+ "value": 20,
1566
+ "content": {
1567
+ "type": "STRING",
1568
+ "value": "func.func"
1569
+ }
1570
+ }
1571
+ },
1572
+ {
1573
+ "type": "TOKEN",
1574
+ "content": {
1575
+ "type": "PREC",
1576
+ "value": 20,
1577
+ "content": {
1578
+ "type": "STRING",
1579
+ "value": "llvm.func"
1580
+ }
1581
+ }
1582
+ }
1583
+ ]
1584
+ }
1585
+ },
1586
+ {
1587
+ "type": "FIELD",
1588
+ "name": "visibility",
1589
+ "content": {
1590
+ "type": "CHOICE",
1591
+ "members": [
1592
+ {
1593
+ "type": "CHOICE",
1594
+ "members": [
1595
+ {
1596
+ "type": "STRING",
1597
+ "value": "private"
1598
+ },
1599
+ {
1600
+ "type": "STRING",
1601
+ "value": "public"
1602
+ }
1603
+ ]
1604
+ },
1605
+ {
1606
+ "type": "BLANK"
1607
+ }
1608
+ ]
1609
+ }
1610
+ },
1611
+ {
1612
+ "type": "FIELD",
1613
+ "name": "sym_name",
1614
+ "content": {
1615
+ "type": "SYMBOL",
1616
+ "name": "symbol_ref_id"
1617
+ }
1618
+ },
1619
+ {
1620
+ "type": "FIELD",
1621
+ "name": "arguments",
1622
+ "content": {
1623
+ "type": "SYMBOL",
1624
+ "name": "func_arg_list"
1625
+ }
1626
+ },
1627
+ {
1628
+ "type": "FIELD",
1629
+ "name": "return",
1630
+ "content": {
1631
+ "type": "CHOICE",
1632
+ "members": [
1633
+ {
1634
+ "type": "SYMBOL",
1635
+ "name": "func_return"
1636
+ },
1637
+ {
1638
+ "type": "BLANK"
1639
+ }
1640
+ ]
1641
+ }
1642
+ },
1643
+ {
1644
+ "type": "FIELD",
1645
+ "name": "attributes",
1646
+ "content": {
1647
+ "type": "CHOICE",
1648
+ "members": [
1649
+ {
1650
+ "type": "SEQ",
1651
+ "members": [
1652
+ {
1653
+ "type": "CHOICE",
1654
+ "members": [
1655
+ {
1656
+ "type": "TOKEN",
1657
+ "content": {
1658
+ "type": "STRING",
1659
+ "value": "attributes"
1660
+ }
1661
+ },
1662
+ {
1663
+ "type": "BLANK"
1664
+ }
1665
+ ]
1666
+ },
1667
+ {
1668
+ "type": "SYMBOL",
1669
+ "name": "dictionary_attribute"
1670
+ }
1671
+ ]
1672
+ },
1673
+ {
1674
+ "type": "BLANK"
1675
+ }
1676
+ ]
1677
+ }
1678
+ },
1679
+ {
1680
+ "type": "FIELD",
1681
+ "name": "body",
1682
+ "content": {
1683
+ "type": "CHOICE",
1684
+ "members": [
1685
+ {
1686
+ "type": "SYMBOL",
1687
+ "name": "region"
1688
+ },
1689
+ {
1690
+ "type": "BLANK"
1691
+ }
1692
+ ]
1693
+ }
1694
+ }
1695
+ ]
1696
+ }
1697
+ },
1698
+ "module_operation": {
1699
+ "type": "PREC_RIGHT",
1700
+ "value": 0,
1701
+ "content": {
1702
+ "type": "SEQ",
1703
+ "members": [
1704
+ {
1705
+ "type": "FIELD",
1706
+ "name": "name",
1707
+ "content": {
1708
+ "type": "CHOICE",
1709
+ "members": [
1710
+ {
1711
+ "type": "TOKEN",
1712
+ "content": {
1713
+ "type": "PREC",
1714
+ "value": 20,
1715
+ "content": {
1716
+ "type": "STRING",
1717
+ "value": "builtin.module"
1718
+ }
1719
+ }
1720
+ },
1721
+ {
1722
+ "type": "TOKEN",
1723
+ "content": {
1724
+ "type": "PREC",
1725
+ "value": 20,
1726
+ "content": {
1727
+ "type": "STRING",
1728
+ "value": "module"
1729
+ }
1730
+ }
1731
+ }
1732
+ ]
1733
+ }
1734
+ },
1735
+ {
1736
+ "type": "FIELD",
1737
+ "name": "sym_name",
1738
+ "content": {
1739
+ "type": "CHOICE",
1740
+ "members": [
1741
+ {
1742
+ "type": "SYMBOL",
1743
+ "name": "symbol_ref_id"
1744
+ },
1745
+ {
1746
+ "type": "BLANK"
1747
+ }
1748
+ ]
1749
+ }
1750
+ },
1751
+ {
1752
+ "type": "FIELD",
1753
+ "name": "attributes",
1754
+ "content": {
1755
+ "type": "CHOICE",
1756
+ "members": [
1757
+ {
1758
+ "type": "SEQ",
1759
+ "members": [
1760
+ {
1761
+ "type": "CHOICE",
1762
+ "members": [
1763
+ {
1764
+ "type": "TOKEN",
1765
+ "content": {
1766
+ "type": "STRING",
1767
+ "value": "attributes"
1768
+ }
1769
+ },
1770
+ {
1771
+ "type": "BLANK"
1772
+ }
1773
+ ]
1774
+ },
1775
+ {
1776
+ "type": "SYMBOL",
1777
+ "name": "attribute"
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "type": "BLANK"
1783
+ }
1784
+ ]
1785
+ }
1786
+ },
1787
+ {
1788
+ "type": "FIELD",
1789
+ "name": "body",
1790
+ "content": {
1791
+ "type": "SYMBOL",
1792
+ "name": "region"
1793
+ }
1794
+ }
1795
+ ]
1796
+ }
1797
+ },
1798
+ "_affine_for_operation": {
1799
+ "type": "PREC_RIGHT",
1800
+ "value": 0,
1801
+ "content": {
1802
+ "type": "SEQ",
1803
+ "members": [
1804
+ {
1805
+ "type": "FIELD",
1806
+ "name": "name",
1807
+ "content": {
1808
+ "type": "ALIAS",
1809
+ "content": {
1810
+ "type": "TOKEN",
1811
+ "content": {
1812
+ "type": "PREC",
1813
+ "value": 20,
1814
+ "content": {
1815
+ "type": "STRING",
1816
+ "value": "affine.for"
1817
+ }
1818
+ }
1819
+ },
1820
+ "named": true,
1821
+ "value": "custom_op_name"
1822
+ }
1823
+ },
1824
+ {
1825
+ "type": "SYMBOL",
1826
+ "name": "value_use"
1827
+ },
1828
+ {
1829
+ "type": "CHOICE",
1830
+ "members": [
1831
+ {
1832
+ "type": "FIELD",
1833
+ "name": "induction_location",
1834
+ "content": {
1835
+ "type": "SYMBOL",
1836
+ "name": "trailing_location"
1837
+ }
1838
+ },
1839
+ {
1840
+ "type": "BLANK"
1841
+ }
1842
+ ]
1843
+ },
1844
+ {
1845
+ "type": "REPEAT",
1846
+ "content": {
1847
+ "type": "SYMBOL",
1848
+ "name": "_custom_body_element"
1849
+ }
1850
+ }
1851
+ ]
1852
+ }
1853
+ },
1854
+ "_generic_custom_operation": {
1855
+ "type": "PREC_DYNAMIC",
1856
+ "value": -1,
1857
+ "content": {
1858
+ "type": "PREC_RIGHT",
1859
+ "value": 0,
1860
+ "content": {
1861
+ "type": "SEQ",
1862
+ "members": [
1863
+ {
1864
+ "type": "FIELD",
1865
+ "name": "name",
1866
+ "content": {
1867
+ "type": "SYMBOL",
1868
+ "name": "custom_op_name"
1869
+ }
1870
+ },
1871
+ {
1872
+ "type": "REPEAT",
1873
+ "content": {
1874
+ "type": "SYMBOL",
1875
+ "name": "_custom_body_element"
1876
+ }
1877
+ }
1878
+ ]
1879
+ }
1880
+ }
1881
+ },
1882
+ "custom_op_name": {
1883
+ "type": "CHOICE",
1884
+ "members": [
1885
+ {
1886
+ "type": "SYMBOL",
1887
+ "name": "_dotted_op_name"
1888
+ },
1889
+ {
1890
+ "type": "SYMBOL",
1891
+ "name": "_bare_op_name"
1892
+ },
1893
+ {
1894
+ "type": "SYMBOL",
1895
+ "name": "bare_id"
1896
+ }
1897
+ ]
1898
+ },
1899
+ "_dotted_op_name": {
1900
+ "type": "TOKEN",
1901
+ "content": {
1902
+ "type": "PREC",
1903
+ "value": 10,
1904
+ "content": {
1905
+ "type": "SEQ",
1906
+ "members": [
1907
+ {
1908
+ "type": "PATTERN",
1909
+ "value": "[a-zA-Z_]"
1910
+ },
1911
+ {
1912
+ "type": "REPEAT",
1913
+ "content": {
1914
+ "type": "PATTERN",
1915
+ "value": "[a-zA-Z0-9_$]"
1916
+ }
1917
+ },
1918
+ {
1919
+ "type": "REPEAT1",
1920
+ "content": {
1921
+ "type": "SEQ",
1922
+ "members": [
1923
+ {
1924
+ "type": "STRING",
1925
+ "value": "."
1926
+ },
1927
+ {
1928
+ "type": "PATTERN",
1929
+ "value": "[a-zA-Z_]"
1930
+ },
1931
+ {
1932
+ "type": "REPEAT",
1933
+ "content": {
1934
+ "type": "PATTERN",
1935
+ "value": "[a-zA-Z0-9_$.]"
1936
+ }
1937
+ }
1938
+ ]
1939
+ }
1940
+ }
1941
+ ]
1942
+ }
1943
+ }
1944
+ },
1945
+ "_bare_op_name": {
1946
+ "type": "TOKEN",
1947
+ "content": {
1948
+ "type": "PREC",
1949
+ "value": 10,
1950
+ "content": {
1951
+ "type": "CHOICE",
1952
+ "members": [
1953
+ {
1954
+ "type": "STRING",
1955
+ "value": "return"
1956
+ },
1957
+ {
1958
+ "type": "STRING",
1959
+ "value": "call"
1960
+ },
1961
+ {
1962
+ "type": "STRING",
1963
+ "value": "call_indirect"
1964
+ },
1965
+ {
1966
+ "type": "STRING",
1967
+ "value": "constant"
1968
+ },
1969
+ {
1970
+ "type": "STRING",
1971
+ "value": "unrealized_conversion_cast"
1972
+ }
1973
+ ]
1974
+ }
1975
+ }
1976
+ },
1977
+ "_custom_body_element": {
1978
+ "type": "CHOICE",
1979
+ "members": [
1980
+ {
1981
+ "type": "SYMBOL",
1982
+ "name": "value_use"
1983
+ },
1984
+ {
1985
+ "type": "SYMBOL",
1986
+ "name": "symbol_ref_id"
1987
+ },
1988
+ {
1989
+ "type": "SYMBOL",
1990
+ "name": "successor"
1991
+ },
1992
+ {
1993
+ "type": "PREC",
1994
+ "value": 2,
1995
+ "content": {
1996
+ "type": "SYMBOL",
1997
+ "name": "type"
1998
+ }
1999
+ },
2000
+ {
2001
+ "type": "SYMBOL",
2002
+ "name": "attribute"
2003
+ },
2004
+ {
2005
+ "type": "SYMBOL",
2006
+ "name": "region"
2007
+ },
2008
+ {
2009
+ "type": "SYMBOL",
2010
+ "name": "_custom_body_paren"
2011
+ },
2012
+ {
2013
+ "type": "SYMBOL",
2014
+ "name": "_custom_body_bracket"
2015
+ },
2016
+ {
2017
+ "type": "SYMBOL",
2018
+ "name": "_custom_body_angle_group"
2019
+ },
2020
+ {
2021
+ "type": "SYMBOL",
2022
+ "name": "_literal"
2023
+ },
2024
+ {
2025
+ "type": "STRING",
2026
+ "value": "array"
2027
+ },
2028
+ {
2029
+ "type": "STRING",
2030
+ "value": "ceildiv"
2031
+ },
2032
+ {
2033
+ "type": "STRING",
2034
+ "value": "floordiv"
2035
+ },
2036
+ {
2037
+ "type": "STRING",
2038
+ "value": "mod"
2039
+ },
2040
+ {
2041
+ "type": "SYMBOL",
2042
+ "name": "bare_id"
2043
+ },
2044
+ {
2045
+ "type": "STRING",
2046
+ "value": ","
2047
+ },
2048
+ {
2049
+ "type": "STRING",
2050
+ "value": "="
2051
+ },
2052
+ {
2053
+ "type": "STRING",
2054
+ "value": ":"
2055
+ },
2056
+ {
2057
+ "type": "STRING",
2058
+ "value": "->"
2059
+ },
2060
+ {
2061
+ "type": "STRING",
2062
+ "value": "*"
2063
+ },
2064
+ {
2065
+ "type": "STRING",
2066
+ "value": "+"
2067
+ },
2068
+ {
2069
+ "type": "STRING",
2070
+ "value": "-"
2071
+ },
2072
+ {
2073
+ "type": "STRING",
2074
+ "value": "/"
2075
+ },
2076
+ {
2077
+ "type": "STRING",
2078
+ "value": "&"
2079
+ },
2080
+ {
2081
+ "type": "STRING",
2082
+ "value": "|"
2083
+ },
2084
+ {
2085
+ "type": "STRING",
2086
+ "value": "~"
2087
+ }
2088
+ ]
2089
+ },
2090
+ "_custom_body_paren": {
2091
+ "type": "SEQ",
2092
+ "members": [
2093
+ {
2094
+ "type": "STRING",
2095
+ "value": "("
2096
+ },
2097
+ {
2098
+ "type": "REPEAT",
2099
+ "content": {
2100
+ "type": "SYMBOL",
2101
+ "name": "_nested_custom_body_element"
2102
+ }
2103
+ },
2104
+ {
2105
+ "type": "STRING",
2106
+ "value": ")"
2107
+ }
2108
+ ]
2109
+ },
2110
+ "_custom_body_bracket": {
2111
+ "type": "SEQ",
2112
+ "members": [
2113
+ {
2114
+ "type": "STRING",
2115
+ "value": "["
2116
+ },
2117
+ {
2118
+ "type": "REPEAT",
2119
+ "content": {
2120
+ "type": "SYMBOL",
2121
+ "name": "_nested_custom_body_element"
2122
+ }
2123
+ },
2124
+ {
2125
+ "type": "STRING",
2126
+ "value": "]"
2127
+ }
2128
+ ]
2129
+ },
2130
+ "_custom_body_angle_group": {
2131
+ "type": "SEQ",
2132
+ "members": [
2133
+ {
2134
+ "type": "STRING",
2135
+ "value": "<"
2136
+ },
2137
+ {
2138
+ "type": "REPEAT",
2139
+ "content": {
2140
+ "type": "SYMBOL",
2141
+ "name": "_nested_custom_body_element"
2142
+ }
2143
+ },
2144
+ {
2145
+ "type": "STRING",
2146
+ "value": ">"
2147
+ }
2148
+ ]
2149
+ },
2150
+ "_nested_custom_body_element": {
2151
+ "type": "CHOICE",
2152
+ "members": [
2153
+ {
2154
+ "type": "SYMBOL",
2155
+ "name": "_custom_body_element"
2156
+ },
2157
+ {
2158
+ "type": "SYMBOL",
2159
+ "name": "trailing_location"
2160
+ }
2161
+ ]
2162
+ },
2163
+ "block": {
2164
+ "type": "SEQ",
2165
+ "members": [
2166
+ {
2167
+ "type": "SYMBOL",
2168
+ "name": "block_label"
2169
+ },
2170
+ {
2171
+ "type": "REPEAT1",
2172
+ "content": {
2173
+ "type": "SYMBOL",
2174
+ "name": "operation"
2175
+ }
2176
+ }
2177
+ ]
2178
+ },
2179
+ "block_label": {
2180
+ "type": "SEQ",
2181
+ "members": [
2182
+ {
2183
+ "type": "SYMBOL",
2184
+ "name": "_block_id"
2185
+ },
2186
+ {
2187
+ "type": "CHOICE",
2188
+ "members": [
2189
+ {
2190
+ "type": "SYMBOL",
2191
+ "name": "block_arg_list"
2192
+ },
2193
+ {
2194
+ "type": "BLANK"
2195
+ }
2196
+ ]
2197
+ },
2198
+ {
2199
+ "type": "STRING",
2200
+ "value": ":"
2201
+ }
2202
+ ]
2203
+ },
2204
+ "_block_id": {
2205
+ "type": "SYMBOL",
2206
+ "name": "caret_id"
2207
+ },
2208
+ "caret_id": {
2209
+ "type": "SEQ",
2210
+ "members": [
2211
+ {
2212
+ "type": "STRING",
2213
+ "value": "^"
2214
+ },
2215
+ {
2216
+ "type": "SYMBOL",
2217
+ "name": "_suffix_id"
2218
+ }
2219
+ ]
2220
+ },
2221
+ "_value_use_and_type": {
2222
+ "type": "SEQ",
2223
+ "members": [
2224
+ {
2225
+ "type": "SYMBOL",
2226
+ "name": "value_use"
2227
+ },
2228
+ {
2229
+ "type": "CHOICE",
2230
+ "members": [
2231
+ {
2232
+ "type": "SEQ",
2233
+ "members": [
2234
+ {
2235
+ "type": "STRING",
2236
+ "value": ":"
2237
+ },
2238
+ {
2239
+ "type": "SYMBOL",
2240
+ "name": "type"
2241
+ }
2242
+ ]
2243
+ },
2244
+ {
2245
+ "type": "BLANK"
2246
+ }
2247
+ ]
2248
+ },
2249
+ {
2250
+ "type": "CHOICE",
2251
+ "members": [
2252
+ {
2253
+ "type": "SYMBOL",
2254
+ "name": "trailing_location"
2255
+ },
2256
+ {
2257
+ "type": "BLANK"
2258
+ }
2259
+ ]
2260
+ }
2261
+ ]
2262
+ },
2263
+ "_value_use_and_type_list": {
2264
+ "type": "SEQ",
2265
+ "members": [
2266
+ {
2267
+ "type": "SYMBOL",
2268
+ "name": "_value_use_and_type"
2269
+ },
2270
+ {
2271
+ "type": "REPEAT",
2272
+ "content": {
2273
+ "type": "SEQ",
2274
+ "members": [
2275
+ {
2276
+ "type": "STRING",
2277
+ "value": ","
2278
+ },
2279
+ {
2280
+ "type": "SYMBOL",
2281
+ "name": "_value_use_and_type"
2282
+ }
2283
+ ]
2284
+ }
2285
+ }
2286
+ ]
2287
+ },
2288
+ "block_arg_list": {
2289
+ "type": "SEQ",
2290
+ "members": [
2291
+ {
2292
+ "type": "STRING",
2293
+ "value": "("
2294
+ },
2295
+ {
2296
+ "type": "CHOICE",
2297
+ "members": [
2298
+ {
2299
+ "type": "SYMBOL",
2300
+ "name": "_value_use_and_type_list"
2301
+ },
2302
+ {
2303
+ "type": "BLANK"
2304
+ }
2305
+ ]
2306
+ },
2307
+ {
2308
+ "type": "STRING",
2309
+ "value": ")"
2310
+ }
2311
+ ]
2312
+ },
2313
+ "_value_arg_list": {
2314
+ "type": "SEQ",
2315
+ "members": [
2316
+ {
2317
+ "type": "STRING",
2318
+ "value": "("
2319
+ },
2320
+ {
2321
+ "type": "CHOICE",
2322
+ "members": [
2323
+ {
2324
+ "type": "CHOICE",
2325
+ "members": [
2326
+ {
2327
+ "type": "SYMBOL",
2328
+ "name": "_value_use_type_list"
2329
+ },
2330
+ {
2331
+ "type": "SYMBOL",
2332
+ "name": "_value_use_and_type_list"
2333
+ }
2334
+ ]
2335
+ },
2336
+ {
2337
+ "type": "BLANK"
2338
+ }
2339
+ ]
2340
+ },
2341
+ {
2342
+ "type": "STRING",
2343
+ "value": ")"
2344
+ }
2345
+ ]
2346
+ },
2347
+ "_value_use_type_list": {
2348
+ "type": "SEQ",
2349
+ "members": [
2350
+ {
2351
+ "type": "SYMBOL",
2352
+ "name": "_value_use_list"
2353
+ },
2354
+ {
2355
+ "type": "STRING",
2356
+ "value": ":"
2357
+ },
2358
+ {
2359
+ "type": "SYMBOL",
2360
+ "name": "_type_list_no_parens"
2361
+ }
2362
+ ]
2363
+ },
2364
+ "region": {
2365
+ "type": "SEQ",
2366
+ "members": [
2367
+ {
2368
+ "type": "STRING",
2369
+ "value": "{"
2370
+ },
2371
+ {
2372
+ "type": "CHOICE",
2373
+ "members": [
2374
+ {
2375
+ "type": "SYMBOL",
2376
+ "name": "entry_block"
2377
+ },
2378
+ {
2379
+ "type": "BLANK"
2380
+ }
2381
+ ]
2382
+ },
2383
+ {
2384
+ "type": "REPEAT",
2385
+ "content": {
2386
+ "type": "SYMBOL",
2387
+ "name": "block"
2388
+ }
2389
+ },
2390
+ {
2391
+ "type": "STRING",
2392
+ "value": "}"
2393
+ }
2394
+ ]
2395
+ },
2396
+ "entry_block": {
2397
+ "type": "REPEAT1",
2398
+ "content": {
2399
+ "type": "SYMBOL",
2400
+ "name": "operation"
2401
+ }
2402
+ },
2403
+ "type": {
2404
+ "type": "CHOICE",
2405
+ "members": [
2406
+ {
2407
+ "type": "SYMBOL",
2408
+ "name": "type_alias"
2409
+ },
2410
+ {
2411
+ "type": "SYMBOL",
2412
+ "name": "dialect_type"
2413
+ },
2414
+ {
2415
+ "type": "SYMBOL",
2416
+ "name": "builtin_type"
2417
+ }
2418
+ ]
2419
+ },
2420
+ "_type_list_no_parens": {
2421
+ "type": "PREC_LEFT",
2422
+ "value": 0,
2423
+ "content": {
2424
+ "type": "SEQ",
2425
+ "members": [
2426
+ {
2427
+ "type": "CHOICE",
2428
+ "members": [
2429
+ {
2430
+ "type": "SYMBOL",
2431
+ "name": "type"
2432
+ },
2433
+ {
2434
+ "type": "SYMBOL",
2435
+ "name": "function_type"
2436
+ }
2437
+ ]
2438
+ },
2439
+ {
2440
+ "type": "REPEAT",
2441
+ "content": {
2442
+ "type": "SEQ",
2443
+ "members": [
2444
+ {
2445
+ "type": "STRING",
2446
+ "value": ","
2447
+ },
2448
+ {
2449
+ "type": "CHOICE",
2450
+ "members": [
2451
+ {
2452
+ "type": "SYMBOL",
2453
+ "name": "type"
2454
+ },
2455
+ {
2456
+ "type": "SYMBOL",
2457
+ "name": "function_type"
2458
+ }
2459
+ ]
2460
+ }
2461
+ ]
2462
+ }
2463
+ }
2464
+ ]
2465
+ }
2466
+ },
2467
+ "_type_list_parens": {
2468
+ "type": "SEQ",
2469
+ "members": [
2470
+ {
2471
+ "type": "STRING",
2472
+ "value": "("
2473
+ },
2474
+ {
2475
+ "type": "CHOICE",
2476
+ "members": [
2477
+ {
2478
+ "type": "SYMBOL",
2479
+ "name": "_type_list_no_parens"
2480
+ },
2481
+ {
2482
+ "type": "BLANK"
2483
+ }
2484
+ ]
2485
+ },
2486
+ {
2487
+ "type": "STRING",
2488
+ "value": ")"
2489
+ }
2490
+ ]
2491
+ },
2492
+ "function_type": {
2493
+ "type": "SEQ",
2494
+ "members": [
2495
+ {
2496
+ "type": "CHOICE",
2497
+ "members": [
2498
+ {
2499
+ "type": "SYMBOL",
2500
+ "name": "type"
2501
+ },
2502
+ {
2503
+ "type": "SYMBOL",
2504
+ "name": "_type_list_parens"
2505
+ }
2506
+ ]
2507
+ },
2508
+ {
2509
+ "type": "SYMBOL",
2510
+ "name": "_function_return"
2511
+ }
2512
+ ]
2513
+ },
2514
+ "_function_return": {
2515
+ "type": "SEQ",
2516
+ "members": [
2517
+ {
2518
+ "type": "TOKEN",
2519
+ "content": {
2520
+ "type": "STRING",
2521
+ "value": "->"
2522
+ }
2523
+ },
2524
+ {
2525
+ "type": "CHOICE",
2526
+ "members": [
2527
+ {
2528
+ "type": "SYMBOL",
2529
+ "name": "type"
2530
+ },
2531
+ {
2532
+ "type": "SYMBOL",
2533
+ "name": "_type_list_parens"
2534
+ }
2535
+ ]
2536
+ }
2537
+ ]
2538
+ },
2539
+ "_type_annotation": {
2540
+ "type": "SEQ",
2541
+ "members": [
2542
+ {
2543
+ "type": "STRING",
2544
+ "value": ":"
2545
+ },
2546
+ {
2547
+ "type": "SYMBOL",
2548
+ "name": "_type_list_no_parens"
2549
+ }
2550
+ ]
2551
+ },
2552
+ "_function_type_annotation": {
2553
+ "type": "SEQ",
2554
+ "members": [
2555
+ {
2556
+ "type": "STRING",
2557
+ "value": ":"
2558
+ },
2559
+ {
2560
+ "type": "SYMBOL",
2561
+ "name": "function_type"
2562
+ }
2563
+ ]
2564
+ },
2565
+ "_literal_and_type": {
2566
+ "type": "SEQ",
2567
+ "members": [
2568
+ {
2569
+ "type": "SYMBOL",
2570
+ "name": "_literal"
2571
+ },
2572
+ {
2573
+ "type": "CHOICE",
2574
+ "members": [
2575
+ {
2576
+ "type": "SYMBOL",
2577
+ "name": "_type_annotation"
2578
+ },
2579
+ {
2580
+ "type": "BLANK"
2581
+ }
2582
+ ]
2583
+ }
2584
+ ]
2585
+ },
2586
+ "type_alias_def": {
2587
+ "type": "SEQ",
2588
+ "members": [
2589
+ {
2590
+ "type": "STRING",
2591
+ "value": "!"
2592
+ },
2593
+ {
2594
+ "type": "SYMBOL",
2595
+ "name": "_alias_or_dialect_id"
2596
+ },
2597
+ {
2598
+ "type": "STRING",
2599
+ "value": "="
2600
+ },
2601
+ {
2602
+ "type": "SYMBOL",
2603
+ "name": "type"
2604
+ }
2605
+ ]
2606
+ },
2607
+ "type_alias": {
2608
+ "type": "SEQ",
2609
+ "members": [
2610
+ {
2611
+ "type": "STRING",
2612
+ "value": "!"
2613
+ },
2614
+ {
2615
+ "type": "SYMBOL",
2616
+ "name": "_alias_or_dialect_id"
2617
+ }
2618
+ ]
2619
+ },
2620
+ "dialect_type": {
2621
+ "type": "SEQ",
2622
+ "members": [
2623
+ {
2624
+ "type": "STRING",
2625
+ "value": "!"
2626
+ },
2627
+ {
2628
+ "type": "CHOICE",
2629
+ "members": [
2630
+ {
2631
+ "type": "SYMBOL",
2632
+ "name": "opaque_dialect_item"
2633
+ },
2634
+ {
2635
+ "type": "SYMBOL",
2636
+ "name": "pretty_dialect_item"
2637
+ },
2638
+ {
2639
+ "type": "SYMBOL",
2640
+ "name": "parametric_dialect_item"
2641
+ }
2642
+ ]
2643
+ }
2644
+ ]
2645
+ },
2646
+ "dialect_namespace": {
2647
+ "type": "SYMBOL",
2648
+ "name": "_alias_or_dialect_id"
2649
+ },
2650
+ "dialect_ident": {
2651
+ "type": "TOKEN",
2652
+ "content": {
2653
+ "type": "SEQ",
2654
+ "members": [
2655
+ {
2656
+ "type": "PATTERN",
2657
+ "value": "[a-zA-Z_]"
2658
+ },
2659
+ {
2660
+ "type": "REPEAT",
2661
+ "content": {
2662
+ "type": "PATTERN",
2663
+ "value": "[a-zA-Z0-9_$.-]"
2664
+ }
2665
+ }
2666
+ ]
2667
+ }
2668
+ },
2669
+ "opaque_dialect_item": {
2670
+ "type": "PREC",
2671
+ "value": 1,
2672
+ "content": {
2673
+ "type": "SEQ",
2674
+ "members": [
2675
+ {
2676
+ "type": "SYMBOL",
2677
+ "name": "dialect_namespace"
2678
+ },
2679
+ {
2680
+ "type": "STRING",
2681
+ "value": "<"
2682
+ },
2683
+ {
2684
+ "type": "SYMBOL",
2685
+ "name": "string_literal"
2686
+ },
2687
+ {
2688
+ "type": "STRING",
2689
+ "value": ">"
2690
+ }
2691
+ ]
2692
+ }
2693
+ },
2694
+ "pretty_dialect_item": {
2695
+ "type": "SEQ",
2696
+ "members": [
2697
+ {
2698
+ "type": "SYMBOL",
2699
+ "name": "dialect_namespace"
2700
+ },
2701
+ {
2702
+ "type": "STRING",
2703
+ "value": "."
2704
+ },
2705
+ {
2706
+ "type": "SYMBOL",
2707
+ "name": "dialect_ident"
2708
+ },
2709
+ {
2710
+ "type": "CHOICE",
2711
+ "members": [
2712
+ {
2713
+ "type": "SYMBOL",
2714
+ "name": "pretty_dialect_item_body"
2715
+ },
2716
+ {
2717
+ "type": "BLANK"
2718
+ }
2719
+ ]
2720
+ }
2721
+ ]
2722
+ },
2723
+ "parametric_dialect_item": {
2724
+ "type": "SEQ",
2725
+ "members": [
2726
+ {
2727
+ "type": "SYMBOL",
2728
+ "name": "dialect_namespace"
2729
+ },
2730
+ {
2731
+ "type": "SYMBOL",
2732
+ "name": "pretty_dialect_item_body"
2733
+ }
2734
+ ]
2735
+ },
2736
+ "pretty_dialect_item_body": {
2737
+ "type": "SEQ",
2738
+ "members": [
2739
+ {
2740
+ "type": "STRING",
2741
+ "value": "<"
2742
+ },
2743
+ {
2744
+ "type": "REPEAT",
2745
+ "content": {
2746
+ "type": "SYMBOL",
2747
+ "name": "_pretty_dialect_item_contents"
2748
+ }
2749
+ },
2750
+ {
2751
+ "type": "STRING",
2752
+ "value": ">"
2753
+ }
2754
+ ]
2755
+ },
2756
+ "_pretty_dialect_item_contents": {
2757
+ "type": "PREC_LEFT",
2758
+ "value": 0,
2759
+ "content": {
2760
+ "type": "CHOICE",
2761
+ "members": [
2762
+ {
2763
+ "type": "SYMBOL",
2764
+ "name": "pretty_dialect_item_body"
2765
+ },
2766
+ {
2767
+ "type": "SYMBOL",
2768
+ "name": "_pretty_dialect_bang_body_token"
2769
+ },
2770
+ {
2771
+ "type": "SYMBOL",
2772
+ "name": "_pretty_dialect_body_attribute"
2773
+ },
2774
+ {
2775
+ "type": "SYMBOL",
2776
+ "name": "dialect_dim_list"
2777
+ },
2778
+ {
2779
+ "type": "SYMBOL",
2780
+ "name": "type"
2781
+ },
2782
+ {
2783
+ "type": "PREC",
2784
+ "value": 2,
2785
+ "content": {
2786
+ "type": "SYMBOL",
2787
+ "name": "attribute"
2788
+ }
2789
+ },
2790
+ {
2791
+ "type": "SYMBOL",
2792
+ "name": "_literal"
2793
+ },
2794
+ {
2795
+ "type": "STRING",
2796
+ "value": "dense"
2797
+ },
2798
+ {
2799
+ "type": "STRING",
2800
+ "value": "sparse"
2801
+ },
2802
+ {
2803
+ "type": "STRING",
2804
+ "value": "array"
2805
+ },
2806
+ {
2807
+ "type": "SYMBOL",
2808
+ "name": "bare_id"
2809
+ },
2810
+ {
2811
+ "type": "STRING",
2812
+ "value": ","
2813
+ },
2814
+ {
2815
+ "type": "STRING",
2816
+ "value": ":"
2817
+ },
2818
+ {
2819
+ "type": "STRING",
2820
+ "value": "="
2821
+ },
2822
+ {
2823
+ "type": "STRING",
2824
+ "value": "->"
2825
+ },
2826
+ {
2827
+ "type": "STRING",
2828
+ "value": "("
2829
+ },
2830
+ {
2831
+ "type": "STRING",
2832
+ "value": ")"
2833
+ },
2834
+ {
2835
+ "type": "STRING",
2836
+ "value": "["
2837
+ },
2838
+ {
2839
+ "type": "STRING",
2840
+ "value": "]"
2841
+ },
2842
+ {
2843
+ "type": "STRING",
2844
+ "value": "{"
2845
+ },
2846
+ {
2847
+ "type": "STRING",
2848
+ "value": "}"
2849
+ },
2850
+ {
2851
+ "type": "STRING",
2852
+ "value": "*"
2853
+ },
2854
+ {
2855
+ "type": "STRING",
2856
+ "value": "@"
2857
+ },
2858
+ {
2859
+ "type": "STRING",
2860
+ "value": "#"
2861
+ },
2862
+ {
2863
+ "type": "TOKEN",
2864
+ "content": {
2865
+ "type": "PREC",
2866
+ "value": -1,
2867
+ "content": {
2868
+ "type": "PATTERN",
2869
+ "value": "[^<>]"
2870
+ }
2871
+ }
2872
+ }
2873
+ ]
2874
+ }
2875
+ },
2876
+ "_pretty_dialect_bang_body_token": {
2877
+ "type": "TOKEN",
2878
+ "content": {
2879
+ "type": "PREC",
2880
+ "value": 1,
2881
+ "content": {
2882
+ "type": "SEQ",
2883
+ "members": [
2884
+ {
2885
+ "type": "STRING",
2886
+ "value": "!"
2887
+ },
2888
+ {
2889
+ "type": "PATTERN",
2890
+ "value": "[^a-zA-Z_<>]"
2891
+ }
2892
+ ]
2893
+ }
2894
+ }
2895
+ },
2896
+ "_pretty_dialect_body_attribute": {
2897
+ "type": "CHOICE",
2898
+ "members": [
2899
+ {
2900
+ "type": "ALIAS",
2901
+ "content": {
2902
+ "type": "SYMBOL",
2903
+ "name": "_pretty_dialect_attribute_token"
2904
+ },
2905
+ "named": true,
2906
+ "value": "dialect_attribute"
2907
+ },
2908
+ {
2909
+ "type": "ALIAS",
2910
+ "content": {
2911
+ "type": "SYMBOL",
2912
+ "name": "_pretty_attribute_alias_token"
2913
+ },
2914
+ "named": true,
2915
+ "value": "attribute_alias"
2916
+ }
2917
+ ]
2918
+ },
2919
+ "_pretty_attribute_alias_token": {
2920
+ "type": "TOKEN",
2921
+ "content": {
2922
+ "type": "PREC",
2923
+ "value": 2,
2924
+ "content": {
2925
+ "type": "SEQ",
2926
+ "members": [
2927
+ {
2928
+ "type": "STRING",
2929
+ "value": "#"
2930
+ },
2931
+ {
2932
+ "type": "PATTERN",
2933
+ "value": "[a-zA-Z_]"
2934
+ },
2935
+ {
2936
+ "type": "REPEAT",
2937
+ "content": {
2938
+ "type": "PATTERN",
2939
+ "value": "[a-zA-Z0-9_$]"
2940
+ }
2941
+ }
2942
+ ]
2943
+ }
2944
+ }
2945
+ },
2946
+ "_pretty_dialect_attribute_token": {
2947
+ "type": "TOKEN",
2948
+ "content": {
2949
+ "type": "PREC",
2950
+ "value": 2,
2951
+ "content": {
2952
+ "type": "SEQ",
2953
+ "members": [
2954
+ {
2955
+ "type": "STRING",
2956
+ "value": "#"
2957
+ },
2958
+ {
2959
+ "type": "PATTERN",
2960
+ "value": "[a-zA-Z_]"
2961
+ },
2962
+ {
2963
+ "type": "REPEAT",
2964
+ "content": {
2965
+ "type": "PATTERN",
2966
+ "value": "[a-zA-Z0-9_$]"
2967
+ }
2968
+ },
2969
+ {
2970
+ "type": "STRING",
2971
+ "value": "."
2972
+ },
2973
+ {
2974
+ "type": "PATTERN",
2975
+ "value": "[a-zA-Z_]"
2976
+ },
2977
+ {
2978
+ "type": "REPEAT",
2979
+ "content": {
2980
+ "type": "PATTERN",
2981
+ "value": "[a-zA-Z0-9_$.-]"
2982
+ }
2983
+ }
2984
+ ]
2985
+ }
2986
+ }
2987
+ },
2988
+ "dimension_separator": {
2989
+ "type": "TOKEN",
2990
+ "content": {
2991
+ "type": "PREC",
2992
+ "value": 10,
2993
+ "content": {
2994
+ "type": "STRING",
2995
+ "value": "x"
2996
+ }
2997
+ }
2998
+ },
2999
+ "dialect_dim_list": {
3000
+ "type": "PREC_DYNAMIC",
3001
+ "value": 1,
3002
+ "content": {
3003
+ "type": "SEQ",
3004
+ "members": [
3005
+ {
3006
+ "type": "SYMBOL",
3007
+ "name": "_dialect_dim_primitive"
3008
+ },
3009
+ {
3010
+ "type": "REPEAT1",
3011
+ "content": {
3012
+ "type": "SEQ",
3013
+ "members": [
3014
+ {
3015
+ "type": "SYMBOL",
3016
+ "name": "dimension_separator"
3017
+ },
3018
+ {
3019
+ "type": "SYMBOL",
3020
+ "name": "_dialect_dim_primitive"
3021
+ }
3022
+ ]
3023
+ }
3024
+ }
3025
+ ]
3026
+ }
3027
+ },
3028
+ "_dialect_dim_primitive": {
3029
+ "type": "CHOICE",
3030
+ "members": [
3031
+ {
3032
+ "type": "PREC",
3033
+ "value": 1,
3034
+ "content": {
3035
+ "type": "SYMBOL",
3036
+ "name": "type"
3037
+ }
3038
+ },
3039
+ {
3040
+ "type": "ALIAS",
3041
+ "content": {
3042
+ "type": "SYMBOL",
3043
+ "name": "integer_literal"
3044
+ },
3045
+ "named": true,
3046
+ "value": "dimension_size"
3047
+ },
3048
+ {
3049
+ "type": "STRING",
3050
+ "value": "?"
3051
+ },
3052
+ {
3053
+ "type": "STRING",
3054
+ "value": "*"
3055
+ }
3056
+ ]
3057
+ },
3058
+ "builtin_type": {
3059
+ "type": "CHOICE",
3060
+ "members": [
3061
+ {
3062
+ "type": "SYMBOL",
3063
+ "name": "integer_type"
3064
+ },
3065
+ {
3066
+ "type": "SYMBOL",
3067
+ "name": "float_type"
3068
+ },
3069
+ {
3070
+ "type": "SYMBOL",
3071
+ "name": "complex_type"
3072
+ },
3073
+ {
3074
+ "type": "SYMBOL",
3075
+ "name": "index_type"
3076
+ },
3077
+ {
3078
+ "type": "SYMBOL",
3079
+ "name": "memref_type"
3080
+ },
3081
+ {
3082
+ "type": "SYMBOL",
3083
+ "name": "none_type"
3084
+ },
3085
+ {
3086
+ "type": "SYMBOL",
3087
+ "name": "tensor_type"
3088
+ },
3089
+ {
3090
+ "type": "SYMBOL",
3091
+ "name": "vector_type"
3092
+ },
3093
+ {
3094
+ "type": "SYMBOL",
3095
+ "name": "tuple_type"
3096
+ },
3097
+ {
3098
+ "type": "SYMBOL",
3099
+ "name": "opaque_type"
3100
+ }
3101
+ ]
3102
+ },
3103
+ "integer_type": {
3104
+ "type": "TOKEN",
3105
+ "content": {
3106
+ "type": "PREC",
3107
+ "value": 5,
3108
+ "content": {
3109
+ "type": "SEQ",
3110
+ "members": [
3111
+ {
3112
+ "type": "CHOICE",
3113
+ "members": [
3114
+ {
3115
+ "type": "STRING",
3116
+ "value": "si"
3117
+ },
3118
+ {
3119
+ "type": "STRING",
3120
+ "value": "ui"
3121
+ },
3122
+ {
3123
+ "type": "STRING",
3124
+ "value": "i"
3125
+ }
3126
+ ]
3127
+ },
3128
+ {
3129
+ "type": "PATTERN",
3130
+ "value": "[0-9]"
3131
+ },
3132
+ {
3133
+ "type": "REPEAT",
3134
+ "content": {
3135
+ "type": "PATTERN",
3136
+ "value": "[0-9]"
3137
+ }
3138
+ }
3139
+ ]
3140
+ }
3141
+ }
3142
+ },
3143
+ "float_type": {
3144
+ "type": "TOKEN",
3145
+ "content": {
3146
+ "type": "PREC",
3147
+ "value": 5,
3148
+ "content": {
3149
+ "type": "CHOICE",
3150
+ "members": [
3151
+ {
3152
+ "type": "STRING",
3153
+ "value": "f16"
3154
+ },
3155
+ {
3156
+ "type": "STRING",
3157
+ "value": "tf32"
3158
+ },
3159
+ {
3160
+ "type": "STRING",
3161
+ "value": "f32"
3162
+ },
3163
+ {
3164
+ "type": "STRING",
3165
+ "value": "f64"
3166
+ },
3167
+ {
3168
+ "type": "STRING",
3169
+ "value": "f80"
3170
+ },
3171
+ {
3172
+ "type": "STRING",
3173
+ "value": "f128"
3174
+ },
3175
+ {
3176
+ "type": "STRING",
3177
+ "value": "bf16"
3178
+ },
3179
+ {
3180
+ "type": "STRING",
3181
+ "value": "f4E2M1FN"
3182
+ },
3183
+ {
3184
+ "type": "STRING",
3185
+ "value": "f6E2M3FN"
3186
+ },
3187
+ {
3188
+ "type": "STRING",
3189
+ "value": "f6E3M2FN"
3190
+ },
3191
+ {
3192
+ "type": "STRING",
3193
+ "value": "f8E3M4"
3194
+ },
3195
+ {
3196
+ "type": "STRING",
3197
+ "value": "f8E4M3"
3198
+ },
3199
+ {
3200
+ "type": "STRING",
3201
+ "value": "f8E4M3FN"
3202
+ },
3203
+ {
3204
+ "type": "STRING",
3205
+ "value": "f8E4M3FNUZ"
3206
+ },
3207
+ {
3208
+ "type": "STRING",
3209
+ "value": "f8E4M3B11FNUZ"
3210
+ },
3211
+ {
3212
+ "type": "STRING",
3213
+ "value": "f8E5M2"
3214
+ },
3215
+ {
3216
+ "type": "STRING",
3217
+ "value": "f8E5M2FNUZ"
3218
+ },
3219
+ {
3220
+ "type": "STRING",
3221
+ "value": "f8E8M0FNU"
3222
+ }
3223
+ ]
3224
+ }
3225
+ }
3226
+ },
3227
+ "index_type": {
3228
+ "type": "TOKEN",
3229
+ "content": {
3230
+ "type": "PREC",
3231
+ "value": 5,
3232
+ "content": {
3233
+ "type": "STRING",
3234
+ "value": "index"
3235
+ }
3236
+ }
3237
+ },
3238
+ "none_type": {
3239
+ "type": "TOKEN",
3240
+ "content": {
3241
+ "type": "PREC",
3242
+ "value": 5,
3243
+ "content": {
3244
+ "type": "STRING",
3245
+ "value": "none"
3246
+ }
3247
+ }
3248
+ },
3249
+ "complex_type": {
3250
+ "type": "SEQ",
3251
+ "members": [
3252
+ {
3253
+ "type": "TOKEN",
3254
+ "content": {
3255
+ "type": "STRING",
3256
+ "value": "complex"
3257
+ }
3258
+ },
3259
+ {
3260
+ "type": "STRING",
3261
+ "value": "<"
3262
+ },
3263
+ {
3264
+ "type": "SYMBOL",
3265
+ "name": "_prim_type"
3266
+ },
3267
+ {
3268
+ "type": "STRING",
3269
+ "value": ">"
3270
+ }
3271
+ ]
3272
+ },
3273
+ "_prim_type": {
3274
+ "type": "CHOICE",
3275
+ "members": [
3276
+ {
3277
+ "type": "SYMBOL",
3278
+ "name": "integer_type"
3279
+ },
3280
+ {
3281
+ "type": "SYMBOL",
3282
+ "name": "float_type"
3283
+ },
3284
+ {
3285
+ "type": "SYMBOL",
3286
+ "name": "index_type"
3287
+ },
3288
+ {
3289
+ "type": "SYMBOL",
3290
+ "name": "complex_type"
3291
+ },
3292
+ {
3293
+ "type": "SYMBOL",
3294
+ "name": "none_type"
3295
+ },
3296
+ {
3297
+ "type": "SYMBOL",
3298
+ "name": "memref_type"
3299
+ },
3300
+ {
3301
+ "type": "SYMBOL",
3302
+ "name": "vector_type"
3303
+ },
3304
+ {
3305
+ "type": "SYMBOL",
3306
+ "name": "tensor_type"
3307
+ },
3308
+ {
3309
+ "type": "SYMBOL",
3310
+ "name": "tuple_type"
3311
+ },
3312
+ {
3313
+ "type": "SYMBOL",
3314
+ "name": "opaque_type"
3315
+ },
3316
+ {
3317
+ "type": "SYMBOL",
3318
+ "name": "dialect_type"
3319
+ },
3320
+ {
3321
+ "type": "SYMBOL",
3322
+ "name": "type_alias"
3323
+ }
3324
+ ]
3325
+ },
3326
+ "memref_type": {
3327
+ "type": "SEQ",
3328
+ "members": [
3329
+ {
3330
+ "type": "TOKEN",
3331
+ "content": {
3332
+ "type": "STRING",
3333
+ "value": "memref"
3334
+ }
3335
+ },
3336
+ {
3337
+ "type": "STRING",
3338
+ "value": "<"
3339
+ },
3340
+ {
3341
+ "type": "FIELD",
3342
+ "name": "dimension_list",
3343
+ "content": {
3344
+ "type": "SYMBOL",
3345
+ "name": "dim_list"
3346
+ }
3347
+ },
3348
+ {
3349
+ "type": "CHOICE",
3350
+ "members": [
3351
+ {
3352
+ "type": "SEQ",
3353
+ "members": [
3354
+ {
3355
+ "type": "STRING",
3356
+ "value": ","
3357
+ },
3358
+ {
3359
+ "type": "SYMBOL",
3360
+ "name": "attribute_value"
3361
+ }
3362
+ ]
3363
+ },
3364
+ {
3365
+ "type": "BLANK"
3366
+ }
3367
+ ]
3368
+ },
3369
+ {
3370
+ "type": "CHOICE",
3371
+ "members": [
3372
+ {
3373
+ "type": "SEQ",
3374
+ "members": [
3375
+ {
3376
+ "type": "STRING",
3377
+ "value": ","
3378
+ },
3379
+ {
3380
+ "type": "SYMBOL",
3381
+ "name": "attribute_value"
3382
+ }
3383
+ ]
3384
+ },
3385
+ {
3386
+ "type": "BLANK"
3387
+ }
3388
+ ]
3389
+ },
3390
+ {
3391
+ "type": "STRING",
3392
+ "value": ">"
3393
+ }
3394
+ ]
3395
+ },
3396
+ "dim_list": {
3397
+ "type": "SEQ",
3398
+ "members": [
3399
+ {
3400
+ "type": "SYMBOL",
3401
+ "name": "_dim_primitive"
3402
+ },
3403
+ {
3404
+ "type": "REPEAT",
3405
+ "content": {
3406
+ "type": "SEQ",
3407
+ "members": [
3408
+ {
3409
+ "type": "STRING",
3410
+ "value": "x"
3411
+ },
3412
+ {
3413
+ "type": "SYMBOL",
3414
+ "name": "_dim_primitive"
3415
+ }
3416
+ ]
3417
+ }
3418
+ }
3419
+ ]
3420
+ },
3421
+ "dimension_size": {
3422
+ "type": "TOKEN",
3423
+ "content": {
3424
+ "type": "REPEAT1",
3425
+ "content": {
3426
+ "type": "PATTERN",
3427
+ "value": "[0-9]"
3428
+ }
3429
+ }
3430
+ },
3431
+ "_dim_primitive": {
3432
+ "type": "CHOICE",
3433
+ "members": [
3434
+ {
3435
+ "type": "PREC",
3436
+ "value": 1,
3437
+ "content": {
3438
+ "type": "SYMBOL",
3439
+ "name": "type"
3440
+ }
3441
+ },
3442
+ {
3443
+ "type": "SYMBOL",
3444
+ "name": "dimension_size"
3445
+ },
3446
+ {
3447
+ "type": "STRING",
3448
+ "value": "?"
3449
+ },
3450
+ {
3451
+ "type": "STRING",
3452
+ "value": "*"
3453
+ }
3454
+ ]
3455
+ },
3456
+ "tensor_type": {
3457
+ "type": "SEQ",
3458
+ "members": [
3459
+ {
3460
+ "type": "TOKEN",
3461
+ "content": {
3462
+ "type": "STRING",
3463
+ "value": "tensor"
3464
+ }
3465
+ },
3466
+ {
3467
+ "type": "STRING",
3468
+ "value": "<"
3469
+ },
3470
+ {
3471
+ "type": "SYMBOL",
3472
+ "name": "dim_list"
3473
+ },
3474
+ {
3475
+ "type": "CHOICE",
3476
+ "members": [
3477
+ {
3478
+ "type": "SEQ",
3479
+ "members": [
3480
+ {
3481
+ "type": "STRING",
3482
+ "value": ","
3483
+ },
3484
+ {
3485
+ "type": "SYMBOL",
3486
+ "name": "tensor_encoding"
3487
+ }
3488
+ ]
3489
+ },
3490
+ {
3491
+ "type": "BLANK"
3492
+ }
3493
+ ]
3494
+ },
3495
+ {
3496
+ "type": "STRING",
3497
+ "value": ">"
3498
+ }
3499
+ ]
3500
+ },
3501
+ "tensor_encoding": {
3502
+ "type": "SYMBOL",
3503
+ "name": "attribute_value"
3504
+ },
3505
+ "vector_type": {
3506
+ "type": "SEQ",
3507
+ "members": [
3508
+ {
3509
+ "type": "TOKEN",
3510
+ "content": {
3511
+ "type": "STRING",
3512
+ "value": "vector"
3513
+ }
3514
+ },
3515
+ {
3516
+ "type": "STRING",
3517
+ "value": "<"
3518
+ },
3519
+ {
3520
+ "type": "REPEAT",
3521
+ "content": {
3522
+ "type": "SYMBOL",
3523
+ "name": "vector_dim_list"
3524
+ }
3525
+ },
3526
+ {
3527
+ "type": "SYMBOL",
3528
+ "name": "_prim_type"
3529
+ },
3530
+ {
3531
+ "type": "STRING",
3532
+ "value": ">"
3533
+ }
3534
+ ]
3535
+ },
3536
+ "vector_dim_list": {
3537
+ "type": "PREC_LEFT",
3538
+ "value": 0,
3539
+ "content": {
3540
+ "type": "CHOICE",
3541
+ "members": [
3542
+ {
3543
+ "type": "SEQ",
3544
+ "members": [
3545
+ {
3546
+ "type": "SYMBOL",
3547
+ "name": "_static_dim_list"
3548
+ },
3549
+ {
3550
+ "type": "STRING",
3551
+ "value": "x"
3552
+ },
3553
+ {
3554
+ "type": "CHOICE",
3555
+ "members": [
3556
+ {
3557
+ "type": "SEQ",
3558
+ "members": [
3559
+ {
3560
+ "type": "STRING",
3561
+ "value": "["
3562
+ },
3563
+ {
3564
+ "type": "SYMBOL",
3565
+ "name": "_static_dim_list"
3566
+ },
3567
+ {
3568
+ "type": "STRING",
3569
+ "value": "]"
3570
+ },
3571
+ {
3572
+ "type": "STRING",
3573
+ "value": "x"
3574
+ }
3575
+ ]
3576
+ },
3577
+ {
3578
+ "type": "BLANK"
3579
+ }
3580
+ ]
3581
+ }
3582
+ ]
3583
+ },
3584
+ {
3585
+ "type": "SEQ",
3586
+ "members": [
3587
+ {
3588
+ "type": "STRING",
3589
+ "value": "["
3590
+ },
3591
+ {
3592
+ "type": "SYMBOL",
3593
+ "name": "_static_dim_list"
3594
+ },
3595
+ {
3596
+ "type": "STRING",
3597
+ "value": "]"
3598
+ },
3599
+ {
3600
+ "type": "STRING",
3601
+ "value": "x"
3602
+ }
3603
+ ]
3604
+ }
3605
+ ]
3606
+ }
3607
+ },
3608
+ "_static_dim_list": {
3609
+ "type": "SEQ",
3610
+ "members": [
3611
+ {
3612
+ "type": "SYMBOL",
3613
+ "name": "dimension_size"
3614
+ },
3615
+ {
3616
+ "type": "REPEAT",
3617
+ "content": {
3618
+ "type": "SEQ",
3619
+ "members": [
3620
+ {
3621
+ "type": "STRING",
3622
+ "value": "x"
3623
+ },
3624
+ {
3625
+ "type": "SYMBOL",
3626
+ "name": "dimension_size"
3627
+ }
3628
+ ]
3629
+ }
3630
+ }
3631
+ ]
3632
+ },
3633
+ "tuple_type": {
3634
+ "type": "SEQ",
3635
+ "members": [
3636
+ {
3637
+ "type": "TOKEN",
3638
+ "content": {
3639
+ "type": "STRING",
3640
+ "value": "tuple"
3641
+ }
3642
+ },
3643
+ {
3644
+ "type": "STRING",
3645
+ "value": "<"
3646
+ },
3647
+ {
3648
+ "type": "CHOICE",
3649
+ "members": [
3650
+ {
3651
+ "type": "SEQ",
3652
+ "members": [
3653
+ {
3654
+ "type": "SYMBOL",
3655
+ "name": "tuple_dim"
3656
+ },
3657
+ {
3658
+ "type": "REPEAT",
3659
+ "content": {
3660
+ "type": "SEQ",
3661
+ "members": [
3662
+ {
3663
+ "type": "STRING",
3664
+ "value": ","
3665
+ },
3666
+ {
3667
+ "type": "SYMBOL",
3668
+ "name": "tuple_dim"
3669
+ }
3670
+ ]
3671
+ }
3672
+ }
3673
+ ]
3674
+ },
3675
+ {
3676
+ "type": "BLANK"
3677
+ }
3678
+ ]
3679
+ },
3680
+ {
3681
+ "type": "STRING",
3682
+ "value": ">"
3683
+ }
3684
+ ]
3685
+ },
3686
+ "tuple_dim": {
3687
+ "type": "SYMBOL",
3688
+ "name": "_prim_type"
3689
+ },
3690
+ "opaque_type": {
3691
+ "type": "SEQ",
3692
+ "members": [
3693
+ {
3694
+ "type": "TOKEN",
3695
+ "content": {
3696
+ "type": "STRING",
3697
+ "value": "opaque"
3698
+ }
3699
+ },
3700
+ {
3701
+ "type": "STRING",
3702
+ "value": "<"
3703
+ },
3704
+ {
3705
+ "type": "SYMBOL",
3706
+ "name": "string_literal"
3707
+ },
3708
+ {
3709
+ "type": "STRING",
3710
+ "value": ","
3711
+ },
3712
+ {
3713
+ "type": "SYMBOL",
3714
+ "name": "string_literal"
3715
+ },
3716
+ {
3717
+ "type": "STRING",
3718
+ "value": ">"
3719
+ }
3720
+ ]
3721
+ },
3722
+ "attribute_entry": {
3723
+ "type": "CHOICE",
3724
+ "members": [
3725
+ {
3726
+ "type": "SEQ",
3727
+ "members": [
3728
+ {
3729
+ "type": "CHOICE",
3730
+ "members": [
3731
+ {
3732
+ "type": "SYMBOL",
3733
+ "name": "bare_id"
3734
+ },
3735
+ {
3736
+ "type": "SYMBOL",
3737
+ "name": "string_literal"
3738
+ }
3739
+ ]
3740
+ },
3741
+ {
3742
+ "type": "CHOICE",
3743
+ "members": [
3744
+ {
3745
+ "type": "SEQ",
3746
+ "members": [
3747
+ {
3748
+ "type": "STRING",
3749
+ "value": "="
3750
+ },
3751
+ {
3752
+ "type": "SYMBOL",
3753
+ "name": "attribute_value"
3754
+ }
3755
+ ]
3756
+ },
3757
+ {
3758
+ "type": "BLANK"
3759
+ }
3760
+ ]
3761
+ }
3762
+ ]
3763
+ },
3764
+ {
3765
+ "type": "SEQ",
3766
+ "members": [
3767
+ {
3768
+ "type": "STRING",
3769
+ "value": "["
3770
+ },
3771
+ {
3772
+ "type": "CHOICE",
3773
+ "members": [
3774
+ {
3775
+ "type": "SYMBOL",
3776
+ "name": "_attribute_value_nobracket"
3777
+ },
3778
+ {
3779
+ "type": "BLANK"
3780
+ }
3781
+ ]
3782
+ },
3783
+ {
3784
+ "type": "REPEAT",
3785
+ "content": {
3786
+ "type": "SEQ",
3787
+ "members": [
3788
+ {
3789
+ "type": "STRING",
3790
+ "value": ","
3791
+ },
3792
+ {
3793
+ "type": "SYMBOL",
3794
+ "name": "_attribute_value_nobracket"
3795
+ }
3796
+ ]
3797
+ }
3798
+ },
3799
+ {
3800
+ "type": "STRING",
3801
+ "value": "]"
3802
+ }
3803
+ ]
3804
+ }
3805
+ ]
3806
+ },
3807
+ "attribute_value": {
3808
+ "type": "CHOICE",
3809
+ "members": [
3810
+ {
3811
+ "type": "SEQ",
3812
+ "members": [
3813
+ {
3814
+ "type": "STRING",
3815
+ "value": "["
3816
+ },
3817
+ {
3818
+ "type": "CHOICE",
3819
+ "members": [
3820
+ {
3821
+ "type": "SYMBOL",
3822
+ "name": "_attribute_value_nobracket"
3823
+ },
3824
+ {
3825
+ "type": "BLANK"
3826
+ }
3827
+ ]
3828
+ },
3829
+ {
3830
+ "type": "REPEAT",
3831
+ "content": {
3832
+ "type": "SEQ",
3833
+ "members": [
3834
+ {
3835
+ "type": "STRING",
3836
+ "value": ","
3837
+ },
3838
+ {
3839
+ "type": "SYMBOL",
3840
+ "name": "_attribute_value_nobracket"
3841
+ }
3842
+ ]
3843
+ }
3844
+ },
3845
+ {
3846
+ "type": "STRING",
3847
+ "value": "]"
3848
+ }
3849
+ ]
3850
+ },
3851
+ {
3852
+ "type": "SYMBOL",
3853
+ "name": "_attribute_value_nobracket"
3854
+ }
3855
+ ]
3856
+ },
3857
+ "_attribute_value_nobracket": {
3858
+ "type": "CHOICE",
3859
+ "members": [
3860
+ {
3861
+ "type": "SYMBOL",
3862
+ "name": "attribute_alias"
3863
+ },
3864
+ {
3865
+ "type": "SYMBOL",
3866
+ "name": "dialect_attribute"
3867
+ },
3868
+ {
3869
+ "type": "SYMBOL",
3870
+ "name": "builtin_attribute"
3871
+ },
3872
+ {
3873
+ "type": "SYMBOL",
3874
+ "name": "dictionary_attribute"
3875
+ },
3876
+ {
3877
+ "type": "SYMBOL",
3878
+ "name": "_literal_and_type"
3879
+ },
3880
+ {
3881
+ "type": "SYMBOL",
3882
+ "name": "type"
3883
+ },
3884
+ {
3885
+ "type": "SYMBOL",
3886
+ "name": "function_type"
3887
+ },
3888
+ {
3889
+ "type": "SYMBOL",
3890
+ "name": "_affine_map_like"
3891
+ },
3892
+ {
3893
+ "type": "SYMBOL",
3894
+ "name": "symbol_ref_id"
3895
+ },
3896
+ {
3897
+ "type": "SYMBOL",
3898
+ "name": "trailing_location"
3899
+ },
3900
+ {
3901
+ "type": "SEQ",
3902
+ "members": [
3903
+ {
3904
+ "type": "CHOICE",
3905
+ "members": [
3906
+ {
3907
+ "type": "SYMBOL",
3908
+ "name": "attribute_alias"
3909
+ },
3910
+ {
3911
+ "type": "SYMBOL",
3912
+ "name": "dialect_attribute"
3913
+ },
3914
+ {
3915
+ "type": "SYMBOL",
3916
+ "name": "builtin_attribute"
3917
+ }
3918
+ ]
3919
+ },
3920
+ {
3921
+ "type": "SYMBOL",
3922
+ "name": "_type_annotation"
3923
+ }
3924
+ ]
3925
+ }
3926
+ ]
3927
+ },
3928
+ "attribute": {
3929
+ "type": "CHOICE",
3930
+ "members": [
3931
+ {
3932
+ "type": "SYMBOL",
3933
+ "name": "attribute_alias"
3934
+ },
3935
+ {
3936
+ "type": "SYMBOL",
3937
+ "name": "dialect_attribute"
3938
+ },
3939
+ {
3940
+ "type": "SYMBOL",
3941
+ "name": "builtin_attribute"
3942
+ },
3943
+ {
3944
+ "type": "SYMBOL",
3945
+ "name": "dictionary_attribute"
3946
+ }
3947
+ ]
3948
+ },
3949
+ "attribute_alias_def": {
3950
+ "type": "SEQ",
3951
+ "members": [
3952
+ {
3953
+ "type": "STRING",
3954
+ "value": "#"
3955
+ },
3956
+ {
3957
+ "type": "SYMBOL",
3958
+ "name": "_alias_or_dialect_id"
3959
+ },
3960
+ {
3961
+ "type": "STRING",
3962
+ "value": "="
3963
+ },
3964
+ {
3965
+ "type": "SYMBOL",
3966
+ "name": "attribute_value"
3967
+ }
3968
+ ]
3969
+ },
3970
+ "attribute_alias": {
3971
+ "type": "SEQ",
3972
+ "members": [
3973
+ {
3974
+ "type": "STRING",
3975
+ "value": "#"
3976
+ },
3977
+ {
3978
+ "type": "SYMBOL",
3979
+ "name": "_alias_or_dialect_id"
3980
+ }
3981
+ ]
3982
+ },
3983
+ "dialect_attribute": {
3984
+ "type": "SEQ",
3985
+ "members": [
3986
+ {
3987
+ "type": "STRING",
3988
+ "value": "#"
3989
+ },
3990
+ {
3991
+ "type": "CHOICE",
3992
+ "members": [
3993
+ {
3994
+ "type": "SYMBOL",
3995
+ "name": "opaque_dialect_item"
3996
+ },
3997
+ {
3998
+ "type": "SYMBOL",
3999
+ "name": "pretty_dialect_item"
4000
+ },
4001
+ {
4002
+ "type": "SYMBOL",
4003
+ "name": "parametric_dialect_item"
4004
+ }
4005
+ ]
4006
+ }
4007
+ ]
4008
+ },
4009
+ "builtin_attribute": {
4010
+ "type": "CHOICE",
4011
+ "members": [
4012
+ {
4013
+ "type": "SYMBOL",
4014
+ "name": "strided_layout"
4015
+ },
4016
+ {
4017
+ "type": "PREC",
4018
+ "value": 1,
4019
+ "content": {
4020
+ "type": "SYMBOL",
4021
+ "name": "affine_map"
4022
+ }
4023
+ },
4024
+ {
4025
+ "type": "PREC",
4026
+ "value": 1,
4027
+ "content": {
4028
+ "type": "SYMBOL",
4029
+ "name": "affine_set"
4030
+ }
4031
+ },
4032
+ {
4033
+ "type": "SYMBOL",
4034
+ "name": "dense_resource_literal"
4035
+ }
4036
+ ]
4037
+ },
4038
+ "dense_resource_literal": {
4039
+ "type": "SEQ",
4040
+ "members": [
4041
+ {
4042
+ "type": "TOKEN",
4043
+ "content": {
4044
+ "type": "STRING",
4045
+ "value": "dense_resource"
4046
+ }
4047
+ },
4048
+ {
4049
+ "type": "STRING",
4050
+ "value": "<"
4051
+ },
4052
+ {
4053
+ "type": "CHOICE",
4054
+ "members": [
4055
+ {
4056
+ "type": "SYMBOL",
4057
+ "name": "bare_id"
4058
+ },
4059
+ {
4060
+ "type": "SYMBOL",
4061
+ "name": "string_literal"
4062
+ }
4063
+ ]
4064
+ },
4065
+ {
4066
+ "type": "STRING",
4067
+ "value": ">"
4068
+ }
4069
+ ]
4070
+ },
4071
+ "strided_layout": {
4072
+ "type": "SEQ",
4073
+ "members": [
4074
+ {
4075
+ "type": "TOKEN",
4076
+ "content": {
4077
+ "type": "STRING",
4078
+ "value": "strided"
4079
+ }
4080
+ },
4081
+ {
4082
+ "type": "STRING",
4083
+ "value": "<"
4084
+ },
4085
+ {
4086
+ "type": "STRING",
4087
+ "value": "["
4088
+ },
4089
+ {
4090
+ "type": "CHOICE",
4091
+ "members": [
4092
+ {
4093
+ "type": "SYMBOL",
4094
+ "name": "_stride_list_comma"
4095
+ },
4096
+ {
4097
+ "type": "BLANK"
4098
+ }
4099
+ ]
4100
+ },
4101
+ {
4102
+ "type": "STRING",
4103
+ "value": "]"
4104
+ },
4105
+ {
4106
+ "type": "CHOICE",
4107
+ "members": [
4108
+ {
4109
+ "type": "SEQ",
4110
+ "members": [
4111
+ {
4112
+ "type": "STRING",
4113
+ "value": ","
4114
+ },
4115
+ {
4116
+ "type": "TOKEN",
4117
+ "content": {
4118
+ "type": "STRING",
4119
+ "value": "offset"
4120
+ }
4121
+ },
4122
+ {
4123
+ "type": "STRING",
4124
+ "value": ":"
4125
+ },
4126
+ {
4127
+ "type": "SYMBOL",
4128
+ "name": "_stride_primitive"
4129
+ }
4130
+ ]
4131
+ },
4132
+ {
4133
+ "type": "BLANK"
4134
+ }
4135
+ ]
4136
+ },
4137
+ {
4138
+ "type": "STRING",
4139
+ "value": ">"
4140
+ }
4141
+ ]
4142
+ },
4143
+ "_stride_list_comma": {
4144
+ "type": "SEQ",
4145
+ "members": [
4146
+ {
4147
+ "type": "SYMBOL",
4148
+ "name": "_stride_primitive"
4149
+ },
4150
+ {
4151
+ "type": "REPEAT",
4152
+ "content": {
4153
+ "type": "SEQ",
4154
+ "members": [
4155
+ {
4156
+ "type": "STRING",
4157
+ "value": ","
4158
+ },
4159
+ {
4160
+ "type": "SYMBOL",
4161
+ "name": "_stride_primitive"
4162
+ }
4163
+ ]
4164
+ }
4165
+ }
4166
+ ]
4167
+ },
4168
+ "_stride_primitive": {
4169
+ "type": "CHOICE",
4170
+ "members": [
4171
+ {
4172
+ "type": "SYMBOL",
4173
+ "name": "integer_literal"
4174
+ },
4175
+ {
4176
+ "type": "STRING",
4177
+ "value": "?"
4178
+ },
4179
+ {
4180
+ "type": "STRING",
4181
+ "value": "*"
4182
+ }
4183
+ ]
4184
+ },
4185
+ "affine_map": {
4186
+ "type": "SEQ",
4187
+ "members": [
4188
+ {
4189
+ "type": "TOKEN",
4190
+ "content": {
4191
+ "type": "STRING",
4192
+ "value": "affine_map"
4193
+ }
4194
+ },
4195
+ {
4196
+ "type": "STRING",
4197
+ "value": "<"
4198
+ },
4199
+ {
4200
+ "type": "SYMBOL",
4201
+ "name": "_multi_dim_affine_expr_parens"
4202
+ },
4203
+ {
4204
+ "type": "CHOICE",
4205
+ "members": [
4206
+ {
4207
+ "type": "SYMBOL",
4208
+ "name": "_multi_dim_affine_expr_sq"
4209
+ },
4210
+ {
4211
+ "type": "BLANK"
4212
+ }
4213
+ ]
4214
+ },
4215
+ {
4216
+ "type": "TOKEN",
4217
+ "content": {
4218
+ "type": "STRING",
4219
+ "value": "->"
4220
+ }
4221
+ },
4222
+ {
4223
+ "type": "SYMBOL",
4224
+ "name": "_multi_dim_affine_expr_parens"
4225
+ },
4226
+ {
4227
+ "type": "STRING",
4228
+ "value": ">"
4229
+ }
4230
+ ]
4231
+ },
4232
+ "_affine_map_like": {
4233
+ "type": "SEQ",
4234
+ "members": [
4235
+ {
4236
+ "type": "SYMBOL",
4237
+ "name": "_multi_dim_affine_expr_parens"
4238
+ },
4239
+ {
4240
+ "type": "CHOICE",
4241
+ "members": [
4242
+ {
4243
+ "type": "SYMBOL",
4244
+ "name": "_multi_dim_affine_expr_sq"
4245
+ },
4246
+ {
4247
+ "type": "BLANK"
4248
+ }
4249
+ ]
4250
+ },
4251
+ {
4252
+ "type": "TOKEN",
4253
+ "content": {
4254
+ "type": "STRING",
4255
+ "value": "->"
4256
+ }
4257
+ },
4258
+ {
4259
+ "type": "SYMBOL",
4260
+ "name": "_multi_dim_affine_expr_parens"
4261
+ }
4262
+ ]
4263
+ },
4264
+ "affine_set": {
4265
+ "type": "SEQ",
4266
+ "members": [
4267
+ {
4268
+ "type": "TOKEN",
4269
+ "content": {
4270
+ "type": "STRING",
4271
+ "value": "affine_set"
4272
+ }
4273
+ },
4274
+ {
4275
+ "type": "STRING",
4276
+ "value": "<"
4277
+ },
4278
+ {
4279
+ "type": "SYMBOL",
4280
+ "name": "_multi_dim_affine_expr_parens"
4281
+ },
4282
+ {
4283
+ "type": "CHOICE",
4284
+ "members": [
4285
+ {
4286
+ "type": "SYMBOL",
4287
+ "name": "_multi_dim_affine_expr_sq"
4288
+ },
4289
+ {
4290
+ "type": "BLANK"
4291
+ }
4292
+ ]
4293
+ },
4294
+ {
4295
+ "type": "STRING",
4296
+ "value": ":"
4297
+ },
4298
+ {
4299
+ "type": "SYMBOL",
4300
+ "name": "_multi_dim_affine_expr_parens"
4301
+ },
4302
+ {
4303
+ "type": "STRING",
4304
+ "value": ">"
4305
+ }
4306
+ ]
4307
+ },
4308
+ "_multi_dim_affine_expr_parens": {
4309
+ "type": "SEQ",
4310
+ "members": [
4311
+ {
4312
+ "type": "STRING",
4313
+ "value": "("
4314
+ },
4315
+ {
4316
+ "type": "CHOICE",
4317
+ "members": [
4318
+ {
4319
+ "type": "SYMBOL",
4320
+ "name": "_multi_dim_affine_expr"
4321
+ },
4322
+ {
4323
+ "type": "BLANK"
4324
+ }
4325
+ ]
4326
+ },
4327
+ {
4328
+ "type": "STRING",
4329
+ "value": ")"
4330
+ }
4331
+ ]
4332
+ },
4333
+ "_multi_dim_affine_expr_sq": {
4334
+ "type": "SEQ",
4335
+ "members": [
4336
+ {
4337
+ "type": "STRING",
4338
+ "value": "["
4339
+ },
4340
+ {
4341
+ "type": "CHOICE",
4342
+ "members": [
4343
+ {
4344
+ "type": "SYMBOL",
4345
+ "name": "_multi_dim_affine_expr"
4346
+ },
4347
+ {
4348
+ "type": "BLANK"
4349
+ }
4350
+ ]
4351
+ },
4352
+ {
4353
+ "type": "STRING",
4354
+ "value": "]"
4355
+ }
4356
+ ]
4357
+ },
4358
+ "_multi_dim_affine_expr": {
4359
+ "type": "SEQ",
4360
+ "members": [
4361
+ {
4362
+ "type": "SYMBOL",
4363
+ "name": "_affine_expr"
4364
+ },
4365
+ {
4366
+ "type": "REPEAT",
4367
+ "content": {
4368
+ "type": "SEQ",
4369
+ "members": [
4370
+ {
4371
+ "type": "STRING",
4372
+ "value": ","
4373
+ },
4374
+ {
4375
+ "type": "SYMBOL",
4376
+ "name": "_affine_expr"
4377
+ }
4378
+ ]
4379
+ }
4380
+ }
4381
+ ]
4382
+ },
4383
+ "_affine_expr": {
4384
+ "type": "CHOICE",
4385
+ "members": [
4386
+ {
4387
+ "type": "SEQ",
4388
+ "members": [
4389
+ {
4390
+ "type": "STRING",
4391
+ "value": "("
4392
+ },
4393
+ {
4394
+ "type": "SYMBOL",
4395
+ "name": "_affine_expr"
4396
+ },
4397
+ {
4398
+ "type": "STRING",
4399
+ "value": ")"
4400
+ }
4401
+ ]
4402
+ },
4403
+ {
4404
+ "type": "PREC",
4405
+ "value": 4,
4406
+ "content": {
4407
+ "type": "SEQ",
4408
+ "members": [
4409
+ {
4410
+ "type": "STRING",
4411
+ "value": "-"
4412
+ },
4413
+ {
4414
+ "type": "SYMBOL",
4415
+ "name": "_affine_expr"
4416
+ }
4417
+ ]
4418
+ }
4419
+ },
4420
+ {
4421
+ "type": "PREC_LEFT",
4422
+ "value": 3,
4423
+ "content": {
4424
+ "type": "SEQ",
4425
+ "members": [
4426
+ {
4427
+ "type": "SYMBOL",
4428
+ "name": "_affine_expr"
4429
+ },
4430
+ {
4431
+ "type": "CHOICE",
4432
+ "members": [
4433
+ {
4434
+ "type": "STRING",
4435
+ "value": "*"
4436
+ },
4437
+ {
4438
+ "type": "STRING",
4439
+ "value": "ceildiv"
4440
+ },
4441
+ {
4442
+ "type": "STRING",
4443
+ "value": "floordiv"
4444
+ },
4445
+ {
4446
+ "type": "STRING",
4447
+ "value": "mod"
4448
+ }
4449
+ ]
4450
+ },
4451
+ {
4452
+ "type": "SYMBOL",
4453
+ "name": "_affine_expr"
4454
+ }
4455
+ ]
4456
+ }
4457
+ },
4458
+ {
4459
+ "type": "PREC_LEFT",
4460
+ "value": 2,
4461
+ "content": {
4462
+ "type": "SEQ",
4463
+ "members": [
4464
+ {
4465
+ "type": "SYMBOL",
4466
+ "name": "_affine_expr"
4467
+ },
4468
+ {
4469
+ "type": "CHOICE",
4470
+ "members": [
4471
+ {
4472
+ "type": "STRING",
4473
+ "value": "+"
4474
+ },
4475
+ {
4476
+ "type": "STRING",
4477
+ "value": "-"
4478
+ }
4479
+ ]
4480
+ },
4481
+ {
4482
+ "type": "SYMBOL",
4483
+ "name": "_affine_expr"
4484
+ }
4485
+ ]
4486
+ }
4487
+ },
4488
+ {
4489
+ "type": "PREC_LEFT",
4490
+ "value": 1,
4491
+ "content": {
4492
+ "type": "SEQ",
4493
+ "members": [
4494
+ {
4495
+ "type": "SYMBOL",
4496
+ "name": "_affine_expr"
4497
+ },
4498
+ {
4499
+ "type": "CHOICE",
4500
+ "members": [
4501
+ {
4502
+ "type": "STRING",
4503
+ "value": "=="
4504
+ },
4505
+ {
4506
+ "type": "STRING",
4507
+ "value": ">="
4508
+ },
4509
+ {
4510
+ "type": "STRING",
4511
+ "value": "<="
4512
+ }
4513
+ ]
4514
+ },
4515
+ {
4516
+ "type": "SYMBOL",
4517
+ "name": "_affine_expr"
4518
+ }
4519
+ ]
4520
+ }
4521
+ },
4522
+ {
4523
+ "type": "SYMBOL",
4524
+ "name": "_affine_prim"
4525
+ }
4526
+ ]
4527
+ },
4528
+ "_affine_prim": {
4529
+ "type": "CHOICE",
4530
+ "members": [
4531
+ {
4532
+ "type": "SYMBOL",
4533
+ "name": "integer_literal"
4534
+ },
4535
+ {
4536
+ "type": "SYMBOL",
4537
+ "name": "value_use"
4538
+ },
4539
+ {
4540
+ "type": "SEQ",
4541
+ "members": [
4542
+ {
4543
+ "type": "CHOICE",
4544
+ "members": [
4545
+ {
4546
+ "type": "SYMBOL",
4547
+ "name": "bare_id"
4548
+ },
4549
+ {
4550
+ "type": "STRING",
4551
+ "value": "dense"
4552
+ },
4553
+ {
4554
+ "type": "STRING",
4555
+ "value": "sparse"
4556
+ }
4557
+ ]
4558
+ },
4559
+ {
4560
+ "type": "CHOICE",
4561
+ "members": [
4562
+ {
4563
+ "type": "SEQ",
4564
+ "members": [
4565
+ {
4566
+ "type": "STRING",
4567
+ "value": ":"
4568
+ },
4569
+ {
4570
+ "type": "CHOICE",
4571
+ "members": [
4572
+ {
4573
+ "type": "SYMBOL",
4574
+ "name": "bare_id"
4575
+ },
4576
+ {
4577
+ "type": "STRING",
4578
+ "value": "dense"
4579
+ },
4580
+ {
4581
+ "type": "STRING",
4582
+ "value": "sparse"
4583
+ },
4584
+ {
4585
+ "type": "STRING",
4586
+ "value": "compressed"
4587
+ },
4588
+ {
4589
+ "type": "STRING",
4590
+ "value": "singleton"
4591
+ },
4592
+ {
4593
+ "type": "STRING",
4594
+ "value": "loose_compressed"
4595
+ },
4596
+ {
4597
+ "type": "STRING",
4598
+ "value": "n_out_of_m"
4599
+ }
4600
+ ]
4601
+ }
4602
+ ]
4603
+ },
4604
+ {
4605
+ "type": "BLANK"
4606
+ }
4607
+ ]
4608
+ }
4609
+ ]
4610
+ },
4611
+ {
4612
+ "type": "SEQ",
4613
+ "members": [
4614
+ {
4615
+ "type": "STRING",
4616
+ "value": "symbol"
4617
+ },
4618
+ {
4619
+ "type": "STRING",
4620
+ "value": "("
4621
+ },
4622
+ {
4623
+ "type": "SYMBOL",
4624
+ "name": "value_use"
4625
+ },
4626
+ {
4627
+ "type": "STRING",
4628
+ "value": ")"
4629
+ }
4630
+ ]
4631
+ },
4632
+ {
4633
+ "type": "SEQ",
4634
+ "members": [
4635
+ {
4636
+ "type": "CHOICE",
4637
+ "members": [
4638
+ {
4639
+ "type": "STRING",
4640
+ "value": "max"
4641
+ },
4642
+ {
4643
+ "type": "STRING",
4644
+ "value": "min"
4645
+ }
4646
+ ]
4647
+ },
4648
+ {
4649
+ "type": "STRING",
4650
+ "value": "("
4651
+ },
4652
+ {
4653
+ "type": "SYMBOL",
4654
+ "name": "_value_use_list"
4655
+ },
4656
+ {
4657
+ "type": "STRING",
4658
+ "value": ")"
4659
+ }
4660
+ ]
4661
+ }
4662
+ ]
4663
+ },
4664
+ "func_return": {
4665
+ "type": "SEQ",
4666
+ "members": [
4667
+ {
4668
+ "type": "TOKEN",
4669
+ "content": {
4670
+ "type": "STRING",
4671
+ "value": "->"
4672
+ }
4673
+ },
4674
+ {
4675
+ "type": "SYMBOL",
4676
+ "name": "type_list_attr_parens"
4677
+ }
4678
+ ]
4679
+ },
4680
+ "func_arg_list": {
4681
+ "type": "SEQ",
4682
+ "members": [
4683
+ {
4684
+ "type": "STRING",
4685
+ "value": "("
4686
+ },
4687
+ {
4688
+ "type": "CHOICE",
4689
+ "members": [
4690
+ {
4691
+ "type": "CHOICE",
4692
+ "members": [
4693
+ {
4694
+ "type": "SYMBOL",
4695
+ "name": "variadic"
4696
+ },
4697
+ {
4698
+ "type": "SYMBOL",
4699
+ "name": "_value_id_and_type_attr_list"
4700
+ }
4701
+ ]
4702
+ },
4703
+ {
4704
+ "type": "BLANK"
4705
+ }
4706
+ ]
4707
+ },
4708
+ {
4709
+ "type": "STRING",
4710
+ "value": ")"
4711
+ }
4712
+ ]
4713
+ },
4714
+ "_value_id_and_type_attr_list": {
4715
+ "type": "SEQ",
4716
+ "members": [
4717
+ {
4718
+ "type": "SYMBOL",
4719
+ "name": "_value_id_and_type_attr"
4720
+ },
4721
+ {
4722
+ "type": "REPEAT",
4723
+ "content": {
4724
+ "type": "SEQ",
4725
+ "members": [
4726
+ {
4727
+ "type": "STRING",
4728
+ "value": ","
4729
+ },
4730
+ {
4731
+ "type": "SYMBOL",
4732
+ "name": "_value_id_and_type_attr"
4733
+ }
4734
+ ]
4735
+ }
4736
+ },
4737
+ {
4738
+ "type": "CHOICE",
4739
+ "members": [
4740
+ {
4741
+ "type": "SEQ",
4742
+ "members": [
4743
+ {
4744
+ "type": "STRING",
4745
+ "value": ","
4746
+ },
4747
+ {
4748
+ "type": "SYMBOL",
4749
+ "name": "variadic"
4750
+ }
4751
+ ]
4752
+ },
4753
+ {
4754
+ "type": "BLANK"
4755
+ }
4756
+ ]
4757
+ }
4758
+ ]
4759
+ },
4760
+ "_value_id_and_type_attr": {
4761
+ "type": "SEQ",
4762
+ "members": [
4763
+ {
4764
+ "type": "SYMBOL",
4765
+ "name": "_function_arg"
4766
+ },
4767
+ {
4768
+ "type": "CHOICE",
4769
+ "members": [
4770
+ {
4771
+ "type": "SYMBOL",
4772
+ "name": "attribute"
4773
+ },
4774
+ {
4775
+ "type": "BLANK"
4776
+ }
4777
+ ]
4778
+ },
4779
+ {
4780
+ "type": "CHOICE",
4781
+ "members": [
4782
+ {
4783
+ "type": "SYMBOL",
4784
+ "name": "trailing_location"
4785
+ },
4786
+ {
4787
+ "type": "BLANK"
4788
+ }
4789
+ ]
4790
+ }
4791
+ ]
4792
+ },
4793
+ "_function_arg": {
4794
+ "type": "CHOICE",
4795
+ "members": [
4796
+ {
4797
+ "type": "SEQ",
4798
+ "members": [
4799
+ {
4800
+ "type": "SYMBOL",
4801
+ "name": "value_use"
4802
+ },
4803
+ {
4804
+ "type": "STRING",
4805
+ "value": ":"
4806
+ },
4807
+ {
4808
+ "type": "CHOICE",
4809
+ "members": [
4810
+ {
4811
+ "type": "SYMBOL",
4812
+ "name": "type"
4813
+ },
4814
+ {
4815
+ "type": "SYMBOL",
4816
+ "name": "function_type"
4817
+ }
4818
+ ]
4819
+ }
4820
+ ]
4821
+ },
4822
+ {
4823
+ "type": "SYMBOL",
4824
+ "name": "value_use"
4825
+ },
4826
+ {
4827
+ "type": "SYMBOL",
4828
+ "name": "type"
4829
+ },
4830
+ {
4831
+ "type": "SYMBOL",
4832
+ "name": "function_type"
4833
+ }
4834
+ ]
4835
+ },
4836
+ "_type_or_func_type": {
4837
+ "type": "CHOICE",
4838
+ "members": [
4839
+ {
4840
+ "type": "SYMBOL",
4841
+ "name": "type"
4842
+ },
4843
+ {
4844
+ "type": "SYMBOL",
4845
+ "name": "function_type"
4846
+ }
4847
+ ]
4848
+ },
4849
+ "type_list_attr_parens": {
4850
+ "type": "CHOICE",
4851
+ "members": [
4852
+ {
4853
+ "type": "SYMBOL",
4854
+ "name": "type"
4855
+ },
4856
+ {
4857
+ "type": "SYMBOL",
4858
+ "name": "function_type"
4859
+ },
4860
+ {
4861
+ "type": "SEQ",
4862
+ "members": [
4863
+ {
4864
+ "type": "STRING",
4865
+ "value": "("
4866
+ },
4867
+ {
4868
+ "type": "SYMBOL",
4869
+ "name": "_type_or_func_type"
4870
+ },
4871
+ {
4872
+ "type": "CHOICE",
4873
+ "members": [
4874
+ {
4875
+ "type": "SYMBOL",
4876
+ "name": "attribute"
4877
+ },
4878
+ {
4879
+ "type": "BLANK"
4880
+ }
4881
+ ]
4882
+ },
4883
+ {
4884
+ "type": "REPEAT",
4885
+ "content": {
4886
+ "type": "SEQ",
4887
+ "members": [
4888
+ {
4889
+ "type": "STRING",
4890
+ "value": ","
4891
+ },
4892
+ {
4893
+ "type": "SYMBOL",
4894
+ "name": "_type_or_func_type"
4895
+ },
4896
+ {
4897
+ "type": "CHOICE",
4898
+ "members": [
4899
+ {
4900
+ "type": "SYMBOL",
4901
+ "name": "attribute"
4902
+ },
4903
+ {
4904
+ "type": "BLANK"
4905
+ }
4906
+ ]
4907
+ }
4908
+ ]
4909
+ }
4910
+ },
4911
+ {
4912
+ "type": "STRING",
4913
+ "value": ")"
4914
+ }
4915
+ ]
4916
+ },
4917
+ {
4918
+ "type": "SEQ",
4919
+ "members": [
4920
+ {
4921
+ "type": "STRING",
4922
+ "value": "("
4923
+ },
4924
+ {
4925
+ "type": "STRING",
4926
+ "value": ")"
4927
+ }
4928
+ ]
4929
+ }
4930
+ ]
4931
+ },
4932
+ "variadic": {
4933
+ "type": "TOKEN",
4934
+ "content": {
4935
+ "type": "STRING",
4936
+ "value": "..."
4937
+ }
4938
+ },
4939
+ "_value_use_list_parens": {
4940
+ "type": "SEQ",
4941
+ "members": [
4942
+ {
4943
+ "type": "STRING",
4944
+ "value": "("
4945
+ },
4946
+ {
4947
+ "type": "CHOICE",
4948
+ "members": [
4949
+ {
4950
+ "type": "SYMBOL",
4951
+ "name": "_value_use_list"
4952
+ },
4953
+ {
4954
+ "type": "BLANK"
4955
+ }
4956
+ ]
4957
+ },
4958
+ {
4959
+ "type": "STRING",
4960
+ "value": ")"
4961
+ }
4962
+ ]
4963
+ },
4964
+ "comment": {
4965
+ "type": "TOKEN",
4966
+ "content": {
4967
+ "type": "SEQ",
4968
+ "members": [
4969
+ {
4970
+ "type": "STRING",
4971
+ "value": "//"
4972
+ },
4973
+ {
4974
+ "type": "PATTERN",
4975
+ "value": ".*"
4976
+ }
4977
+ ]
4978
+ }
4979
+ }
4980
+ },
4981
+ "extras": [
4982
+ {
4983
+ "type": "PATTERN",
4984
+ "value": "\\s"
4985
+ },
4986
+ {
4987
+ "type": "SYMBOL",
4988
+ "name": "comment"
4989
+ }
4990
+ ],
4991
+ "conflicts": [
4992
+ [
4993
+ "_static_dim_list",
4994
+ "_static_dim_list"
4995
+ ],
4996
+ [
4997
+ "dictionary_attribute",
4998
+ "region"
4999
+ ],
5000
+ [
5001
+ "custom_op_name",
5002
+ "attribute_entry"
5003
+ ],
5004
+ [
5005
+ "type_alias",
5006
+ "dialect_namespace"
5007
+ ],
5008
+ [
5009
+ "dialect_namespace",
5010
+ "attribute_alias"
5011
+ ],
5012
+ [
5013
+ "pretty_dialect_item"
5014
+ ],
5015
+ [
5016
+ "array_literal",
5017
+ "_custom_body_element"
5018
+ ],
5019
+ [
5020
+ "_value_use_list",
5021
+ "_value_use_and_type"
5022
+ ],
5023
+ [
5024
+ "_type_list_no_parens",
5025
+ "_type_or_func_type"
5026
+ ],
5027
+ [
5028
+ "_type_list_parens",
5029
+ "_multi_dim_affine_expr_parens"
5030
+ ]
5031
+ ],
5032
+ "precedences": [],
5033
+ "externals": [],
5034
+ "inline": [],
5035
+ "supertypes": [],
5036
+ "reserved": {}
5037
+ }