tree-sitter-java-orchard 0.5.4 → 0.5.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.
- package/grammar.js +34 -29
- package/package.json +1 -1
- package/src/grammar.json +204 -333
- package/src/node-types.json +27 -1
- package/src/parser.c +47234 -46742
- package/tree-sitter-java_orchard.wasm +0 -0
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
"type": "CHOICE",
|
|
104
104
|
"members": [
|
|
105
105
|
{
|
|
106
|
-
"type": "
|
|
107
|
-
"value": "_"
|
|
106
|
+
"type": "PATTERN",
|
|
107
|
+
"value": "_+"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"type": "BLANK"
|
|
@@ -205,8 +205,8 @@
|
|
|
205
205
|
"type": "SEQ",
|
|
206
206
|
"members": [
|
|
207
207
|
{
|
|
208
|
-
"type": "
|
|
209
|
-
"value": "_"
|
|
208
|
+
"type": "PATTERN",
|
|
209
|
+
"value": "_+"
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"type": "PATTERN",
|
|
@@ -264,6 +264,18 @@
|
|
|
264
264
|
}
|
|
265
265
|
]
|
|
266
266
|
},
|
|
267
|
+
{
|
|
268
|
+
"type": "CHOICE",
|
|
269
|
+
"members": [
|
|
270
|
+
{
|
|
271
|
+
"type": "PATTERN",
|
|
272
|
+
"value": "_+"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "BLANK"
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
},
|
|
267
279
|
{
|
|
268
280
|
"type": "SEQ",
|
|
269
281
|
"members": [
|
|
@@ -277,8 +289,8 @@
|
|
|
277
289
|
"type": "SEQ",
|
|
278
290
|
"members": [
|
|
279
291
|
{
|
|
280
|
-
"type": "
|
|
281
|
-
"value": "_"
|
|
292
|
+
"type": "PATTERN",
|
|
293
|
+
"value": "_+"
|
|
282
294
|
},
|
|
283
295
|
{
|
|
284
296
|
"type": "PATTERN",
|
|
@@ -344,8 +356,8 @@
|
|
|
344
356
|
"type": "SEQ",
|
|
345
357
|
"members": [
|
|
346
358
|
{
|
|
347
|
-
"type": "
|
|
348
|
-
"value": "_"
|
|
359
|
+
"type": "PATTERN",
|
|
360
|
+
"value": "_+"
|
|
349
361
|
},
|
|
350
362
|
{
|
|
351
363
|
"type": "PATTERN",
|
|
@@ -403,8 +415,8 @@
|
|
|
403
415
|
"type": "SEQ",
|
|
404
416
|
"members": [
|
|
405
417
|
{
|
|
406
|
-
"type": "
|
|
407
|
-
"value": "_"
|
|
418
|
+
"type": "PATTERN",
|
|
419
|
+
"value": "_+"
|
|
408
420
|
},
|
|
409
421
|
{
|
|
410
422
|
"type": "PATTERN",
|
|
@@ -438,8 +450,8 @@
|
|
|
438
450
|
"type": "SEQ",
|
|
439
451
|
"members": [
|
|
440
452
|
{
|
|
441
|
-
"type": "
|
|
442
|
-
"value": "_"
|
|
453
|
+
"type": "PATTERN",
|
|
454
|
+
"value": "_+"
|
|
443
455
|
},
|
|
444
456
|
{
|
|
445
457
|
"type": "PATTERN",
|
|
@@ -502,8 +514,8 @@
|
|
|
502
514
|
"type": "SEQ",
|
|
503
515
|
"members": [
|
|
504
516
|
{
|
|
505
|
-
"type": "
|
|
506
|
-
"value": "_"
|
|
517
|
+
"type": "PATTERN",
|
|
518
|
+
"value": "_+"
|
|
507
519
|
},
|
|
508
520
|
{
|
|
509
521
|
"type": "PATTERN",
|
|
@@ -558,8 +570,8 @@
|
|
|
558
570
|
"type": "SEQ",
|
|
559
571
|
"members": [
|
|
560
572
|
{
|
|
561
|
-
"type": "
|
|
562
|
-
"value": "_"
|
|
573
|
+
"type": "PATTERN",
|
|
574
|
+
"value": "_+"
|
|
563
575
|
},
|
|
564
576
|
{
|
|
565
577
|
"type": "PATTERN",
|
|
@@ -617,8 +629,8 @@
|
|
|
617
629
|
"type": "SEQ",
|
|
618
630
|
"members": [
|
|
619
631
|
{
|
|
620
|
-
"type": "
|
|
621
|
-
"value": "_"
|
|
632
|
+
"type": "PATTERN",
|
|
633
|
+
"value": "_+"
|
|
622
634
|
},
|
|
623
635
|
{
|
|
624
636
|
"type": "PATTERN",
|
|
@@ -657,70 +669,27 @@
|
|
|
657
669
|
{
|
|
658
670
|
"type": "TOKEN",
|
|
659
671
|
"content": {
|
|
660
|
-
"type": "
|
|
672
|
+
"type": "SEQ",
|
|
661
673
|
"members": [
|
|
662
674
|
{
|
|
663
|
-
"type": "
|
|
664
|
-
"value": "0"
|
|
675
|
+
"type": "PATTERN",
|
|
676
|
+
"value": "[0-9]+"
|
|
665
677
|
},
|
|
666
678
|
{
|
|
667
|
-
"type": "
|
|
668
|
-
"
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
"members": [
|
|
682
|
-
{
|
|
683
|
-
"type": "STRING",
|
|
684
|
-
"value": "_"
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
"type": "BLANK"
|
|
688
|
-
}
|
|
689
|
-
]
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"type": "SEQ",
|
|
693
|
-
"members": [
|
|
694
|
-
{
|
|
695
|
-
"type": "PATTERN",
|
|
696
|
-
"value": "[0-9]+"
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"type": "REPEAT",
|
|
700
|
-
"content": {
|
|
701
|
-
"type": "SEQ",
|
|
702
|
-
"members": [
|
|
703
|
-
{
|
|
704
|
-
"type": "PATTERN",
|
|
705
|
-
"value": "_+"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"type": "PATTERN",
|
|
709
|
-
"value": "[0-9]+"
|
|
710
|
-
}
|
|
711
|
-
]
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
]
|
|
715
|
-
}
|
|
716
|
-
]
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"type": "BLANK"
|
|
720
|
-
}
|
|
721
|
-
]
|
|
722
|
-
}
|
|
723
|
-
]
|
|
679
|
+
"type": "REPEAT",
|
|
680
|
+
"content": {
|
|
681
|
+
"type": "SEQ",
|
|
682
|
+
"members": [
|
|
683
|
+
{
|
|
684
|
+
"type": "PATTERN",
|
|
685
|
+
"value": "_+"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"type": "PATTERN",
|
|
689
|
+
"value": "[0-9]+"
|
|
690
|
+
}
|
|
691
|
+
]
|
|
692
|
+
}
|
|
724
693
|
}
|
|
725
694
|
]
|
|
726
695
|
}
|
|
@@ -765,8 +734,8 @@
|
|
|
765
734
|
"type": "SEQ",
|
|
766
735
|
"members": [
|
|
767
736
|
{
|
|
768
|
-
"type": "
|
|
769
|
-
"value": "_"
|
|
737
|
+
"type": "PATTERN",
|
|
738
|
+
"value": "_+"
|
|
770
739
|
},
|
|
771
740
|
{
|
|
772
741
|
"type": "PATTERN",
|
|
@@ -798,70 +767,27 @@
|
|
|
798
767
|
{
|
|
799
768
|
"type": "TOKEN",
|
|
800
769
|
"content": {
|
|
801
|
-
"type": "
|
|
770
|
+
"type": "SEQ",
|
|
802
771
|
"members": [
|
|
803
772
|
{
|
|
804
|
-
"type": "
|
|
805
|
-
"value": "0"
|
|
773
|
+
"type": "PATTERN",
|
|
774
|
+
"value": "[0-9]+"
|
|
806
775
|
},
|
|
807
776
|
{
|
|
808
|
-
"type": "
|
|
809
|
-
"
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
"members": [
|
|
823
|
-
{
|
|
824
|
-
"type": "STRING",
|
|
825
|
-
"value": "_"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
"type": "BLANK"
|
|
829
|
-
}
|
|
830
|
-
]
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"type": "SEQ",
|
|
834
|
-
"members": [
|
|
835
|
-
{
|
|
836
|
-
"type": "PATTERN",
|
|
837
|
-
"value": "[0-9]+"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"type": "REPEAT",
|
|
841
|
-
"content": {
|
|
842
|
-
"type": "SEQ",
|
|
843
|
-
"members": [
|
|
844
|
-
{
|
|
845
|
-
"type": "PATTERN",
|
|
846
|
-
"value": "_+"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"type": "PATTERN",
|
|
850
|
-
"value": "[0-9]+"
|
|
851
|
-
}
|
|
852
|
-
]
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
]
|
|
856
|
-
}
|
|
857
|
-
]
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
"type": "BLANK"
|
|
861
|
-
}
|
|
862
|
-
]
|
|
863
|
-
}
|
|
864
|
-
]
|
|
777
|
+
"type": "REPEAT",
|
|
778
|
+
"content": {
|
|
779
|
+
"type": "SEQ",
|
|
780
|
+
"members": [
|
|
781
|
+
{
|
|
782
|
+
"type": "PATTERN",
|
|
783
|
+
"value": "_+"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"type": "PATTERN",
|
|
787
|
+
"value": "[0-9]+"
|
|
788
|
+
}
|
|
789
|
+
]
|
|
790
|
+
}
|
|
865
791
|
}
|
|
866
792
|
]
|
|
867
793
|
}
|
|
@@ -912,8 +838,8 @@
|
|
|
912
838
|
"type": "SEQ",
|
|
913
839
|
"members": [
|
|
914
840
|
{
|
|
915
|
-
"type": "
|
|
916
|
-
"value": "_"
|
|
841
|
+
"type": "PATTERN",
|
|
842
|
+
"value": "_+"
|
|
917
843
|
},
|
|
918
844
|
{
|
|
919
845
|
"type": "PATTERN",
|
|
@@ -980,8 +906,8 @@
|
|
|
980
906
|
"type": "SEQ",
|
|
981
907
|
"members": [
|
|
982
908
|
{
|
|
983
|
-
"type": "
|
|
984
|
-
"value": "_"
|
|
909
|
+
"type": "PATTERN",
|
|
910
|
+
"value": "_+"
|
|
985
911
|
},
|
|
986
912
|
{
|
|
987
913
|
"type": "PATTERN",
|
|
@@ -1028,8 +954,8 @@
|
|
|
1028
954
|
"type": "SEQ",
|
|
1029
955
|
"members": [
|
|
1030
956
|
{
|
|
1031
|
-
"type": "
|
|
1032
|
-
"value": "_"
|
|
957
|
+
"type": "PATTERN",
|
|
958
|
+
"value": "_+"
|
|
1033
959
|
},
|
|
1034
960
|
{
|
|
1035
961
|
"type": "PATTERN",
|
|
@@ -1065,8 +991,8 @@
|
|
|
1065
991
|
"type": "SEQ",
|
|
1066
992
|
"members": [
|
|
1067
993
|
{
|
|
1068
|
-
"type": "
|
|
1069
|
-
"value": "_"
|
|
994
|
+
"type": "PATTERN",
|
|
995
|
+
"value": "_+"
|
|
1070
996
|
},
|
|
1071
997
|
{
|
|
1072
998
|
"type": "PATTERN",
|
|
@@ -1116,70 +1042,27 @@
|
|
|
1116
1042
|
{
|
|
1117
1043
|
"type": "TOKEN",
|
|
1118
1044
|
"content": {
|
|
1119
|
-
"type": "
|
|
1045
|
+
"type": "SEQ",
|
|
1120
1046
|
"members": [
|
|
1121
1047
|
{
|
|
1122
|
-
"type": "
|
|
1123
|
-
"value": "0"
|
|
1048
|
+
"type": "PATTERN",
|
|
1049
|
+
"value": "[0-9]+"
|
|
1124
1050
|
},
|
|
1125
1051
|
{
|
|
1126
|
-
"type": "
|
|
1127
|
-
"
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
"members": [
|
|
1141
|
-
{
|
|
1142
|
-
"type": "STRING",
|
|
1143
|
-
"value": "_"
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"type": "BLANK"
|
|
1147
|
-
}
|
|
1148
|
-
]
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
"type": "SEQ",
|
|
1152
|
-
"members": [
|
|
1153
|
-
{
|
|
1154
|
-
"type": "PATTERN",
|
|
1155
|
-
"value": "[0-9]+"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"type": "REPEAT",
|
|
1159
|
-
"content": {
|
|
1160
|
-
"type": "SEQ",
|
|
1161
|
-
"members": [
|
|
1162
|
-
{
|
|
1163
|
-
"type": "PATTERN",
|
|
1164
|
-
"value": "_+"
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
"type": "PATTERN",
|
|
1168
|
-
"value": "[0-9]+"
|
|
1169
|
-
}
|
|
1170
|
-
]
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
]
|
|
1174
|
-
}
|
|
1175
|
-
]
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"type": "BLANK"
|
|
1179
|
-
}
|
|
1180
|
-
]
|
|
1181
|
-
}
|
|
1182
|
-
]
|
|
1052
|
+
"type": "REPEAT",
|
|
1053
|
+
"content": {
|
|
1054
|
+
"type": "SEQ",
|
|
1055
|
+
"members": [
|
|
1056
|
+
{
|
|
1057
|
+
"type": "PATTERN",
|
|
1058
|
+
"value": "_+"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"type": "PATTERN",
|
|
1062
|
+
"value": "[0-9]+"
|
|
1063
|
+
}
|
|
1064
|
+
]
|
|
1065
|
+
}
|
|
1183
1066
|
}
|
|
1184
1067
|
]
|
|
1185
1068
|
}
|
|
@@ -1327,7 +1210,7 @@
|
|
|
1327
1210
|
},
|
|
1328
1211
|
{
|
|
1329
1212
|
"type": "SYMBOL",
|
|
1330
|
-
"name": "
|
|
1213
|
+
"name": "escape_sequence"
|
|
1331
1214
|
},
|
|
1332
1215
|
{
|
|
1333
1216
|
"type": "SYMBOL",
|
|
@@ -1383,39 +1266,6 @@
|
|
|
1383
1266
|
}
|
|
1384
1267
|
]
|
|
1385
1268
|
},
|
|
1386
|
-
"_escape_sequence": {
|
|
1387
|
-
"type": "CHOICE",
|
|
1388
|
-
"members": [
|
|
1389
|
-
{
|
|
1390
|
-
"type": "PREC",
|
|
1391
|
-
"value": 2,
|
|
1392
|
-
"content": {
|
|
1393
|
-
"type": "IMMEDIATE_TOKEN",
|
|
1394
|
-
"content": {
|
|
1395
|
-
"type": "SEQ",
|
|
1396
|
-
"members": [
|
|
1397
|
-
{
|
|
1398
|
-
"type": "STRING",
|
|
1399
|
-
"value": "\\"
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
"type": "PATTERN",
|
|
1403
|
-
"value": "[^bfnrts'\\\"\\\\]"
|
|
1404
|
-
}
|
|
1405
|
-
]
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
},
|
|
1409
|
-
{
|
|
1410
|
-
"type": "PREC",
|
|
1411
|
-
"value": 1,
|
|
1412
|
-
"content": {
|
|
1413
|
-
"type": "SYMBOL",
|
|
1414
|
-
"name": "escape_sequence"
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
]
|
|
1418
|
-
},
|
|
1419
1269
|
"escape_sequence": {
|
|
1420
1270
|
"type": "IMMEDIATE_TOKEN",
|
|
1421
1271
|
"content": {
|
|
@@ -1600,6 +1450,23 @@
|
|
|
1600
1450
|
"type": "SYMBOL",
|
|
1601
1451
|
"name": "primary_expression"
|
|
1602
1452
|
},
|
|
1453
|
+
{
|
|
1454
|
+
"type": "ALIAS",
|
|
1455
|
+
"content": {
|
|
1456
|
+
"type": "SYMBOL",
|
|
1457
|
+
"name": "_unary_complement_expression"
|
|
1458
|
+
},
|
|
1459
|
+
"named": true,
|
|
1460
|
+
"value": "unary_expression"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"type": "SYMBOL",
|
|
1464
|
+
"name": "cast_expression"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"type": "SYMBOL",
|
|
1468
|
+
"name": "switch_expression"
|
|
1469
|
+
},
|
|
1603
1470
|
{
|
|
1604
1471
|
"type": "SYMBOL",
|
|
1605
1472
|
"name": "lambda_expression"
|
|
@@ -2365,8 +2232,8 @@
|
|
|
2365
2232
|
"type": "CHOICE",
|
|
2366
2233
|
"members": [
|
|
2367
2234
|
{
|
|
2368
|
-
"type": "
|
|
2369
|
-
"
|
|
2235
|
+
"type": "SYMBOL",
|
|
2236
|
+
"name": "modifiers"
|
|
2370
2237
|
},
|
|
2371
2238
|
{
|
|
2372
2239
|
"type": "BLANK"
|
|
@@ -2384,7 +2251,7 @@
|
|
|
2384
2251
|
"name": "right",
|
|
2385
2252
|
"content": {
|
|
2386
2253
|
"type": "SYMBOL",
|
|
2387
|
-
"name": "
|
|
2254
|
+
"name": "_unannotated_type"
|
|
2388
2255
|
}
|
|
2389
2256
|
},
|
|
2390
2257
|
{
|
|
@@ -2579,57 +2446,11 @@
|
|
|
2579
2446
|
"type": "CHOICE",
|
|
2580
2447
|
"members": [
|
|
2581
2448
|
{
|
|
2582
|
-
"type": "
|
|
2583
|
-
"
|
|
2584
|
-
"content": {
|
|
2585
|
-
"type": "SEQ",
|
|
2586
|
-
"members": [
|
|
2587
|
-
{
|
|
2588
|
-
"type": "FIELD",
|
|
2589
|
-
"name": "operator",
|
|
2590
|
-
"content": {
|
|
2591
|
-
"type": "STRING",
|
|
2592
|
-
"value": "+"
|
|
2593
|
-
}
|
|
2594
|
-
},
|
|
2595
|
-
{
|
|
2596
|
-
"type": "FIELD",
|
|
2597
|
-
"name": "operand",
|
|
2598
|
-
"content": {
|
|
2599
|
-
"type": "SYMBOL",
|
|
2600
|
-
"name": "expression"
|
|
2601
|
-
}
|
|
2602
|
-
}
|
|
2603
|
-
]
|
|
2604
|
-
}
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
"type": "PREC_LEFT",
|
|
2608
|
-
"value": 15,
|
|
2609
|
-
"content": {
|
|
2610
|
-
"type": "SEQ",
|
|
2611
|
-
"members": [
|
|
2612
|
-
{
|
|
2613
|
-
"type": "FIELD",
|
|
2614
|
-
"name": "operator",
|
|
2615
|
-
"content": {
|
|
2616
|
-
"type": "STRING",
|
|
2617
|
-
"value": "-"
|
|
2618
|
-
}
|
|
2619
|
-
},
|
|
2620
|
-
{
|
|
2621
|
-
"type": "FIELD",
|
|
2622
|
-
"name": "operand",
|
|
2623
|
-
"content": {
|
|
2624
|
-
"type": "SYMBOL",
|
|
2625
|
-
"name": "expression"
|
|
2626
|
-
}
|
|
2627
|
-
}
|
|
2628
|
-
]
|
|
2629
|
-
}
|
|
2449
|
+
"type": "SYMBOL",
|
|
2450
|
+
"name": "_unary_complement_expression"
|
|
2630
2451
|
},
|
|
2631
2452
|
{
|
|
2632
|
-
"type": "
|
|
2453
|
+
"type": "PREC_RIGHT",
|
|
2633
2454
|
"value": 15,
|
|
2634
2455
|
"content": {
|
|
2635
2456
|
"type": "SEQ",
|
|
@@ -2638,8 +2459,17 @@
|
|
|
2638
2459
|
"type": "FIELD",
|
|
2639
2460
|
"name": "operator",
|
|
2640
2461
|
"content": {
|
|
2641
|
-
"type": "
|
|
2642
|
-
"
|
|
2462
|
+
"type": "CHOICE",
|
|
2463
|
+
"members": [
|
|
2464
|
+
{
|
|
2465
|
+
"type": "STRING",
|
|
2466
|
+
"value": "+"
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
"type": "STRING",
|
|
2470
|
+
"value": "-"
|
|
2471
|
+
}
|
|
2472
|
+
]
|
|
2643
2473
|
}
|
|
2644
2474
|
},
|
|
2645
2475
|
{
|
|
@@ -2652,33 +2482,42 @@
|
|
|
2652
2482
|
}
|
|
2653
2483
|
]
|
|
2654
2484
|
}
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2485
|
+
}
|
|
2486
|
+
]
|
|
2487
|
+
},
|
|
2488
|
+
"_unary_complement_expression": {
|
|
2489
|
+
"type": "PREC_RIGHT",
|
|
2490
|
+
"value": 15,
|
|
2491
|
+
"content": {
|
|
2492
|
+
"type": "SEQ",
|
|
2493
|
+
"members": [
|
|
2494
|
+
{
|
|
2495
|
+
"type": "FIELD",
|
|
2496
|
+
"name": "operator",
|
|
2497
|
+
"content": {
|
|
2498
|
+
"type": "CHOICE",
|
|
2499
|
+
"members": [
|
|
2500
|
+
{
|
|
2666
2501
|
"type": "STRING",
|
|
2667
2502
|
"value": "~"
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"type": "STRING",
|
|
2506
|
+
"value": "!"
|
|
2668
2507
|
}
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2508
|
+
]
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"type": "FIELD",
|
|
2513
|
+
"name": "operand",
|
|
2514
|
+
"content": {
|
|
2515
|
+
"type": "SYMBOL",
|
|
2516
|
+
"name": "expression"
|
|
2517
|
+
}
|
|
2679
2518
|
}
|
|
2680
|
-
|
|
2681
|
-
|
|
2519
|
+
]
|
|
2520
|
+
}
|
|
2682
2521
|
},
|
|
2683
2522
|
"update_expression": {
|
|
2684
2523
|
"type": "PREC_LEFT",
|
|
@@ -3756,6 +3595,18 @@
|
|
|
3756
3595
|
"type_pattern": {
|
|
3757
3596
|
"type": "SEQ",
|
|
3758
3597
|
"members": [
|
|
3598
|
+
{
|
|
3599
|
+
"type": "CHOICE",
|
|
3600
|
+
"members": [
|
|
3601
|
+
{
|
|
3602
|
+
"type": "SYMBOL",
|
|
3603
|
+
"name": "modifiers"
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"type": "BLANK"
|
|
3607
|
+
}
|
|
3608
|
+
]
|
|
3609
|
+
},
|
|
3759
3610
|
{
|
|
3760
3611
|
"type": "SYMBOL",
|
|
3761
3612
|
"name": "_unannotated_type"
|
|
@@ -3792,6 +3643,10 @@
|
|
|
3792
3643
|
{
|
|
3793
3644
|
"type": "SYMBOL",
|
|
3794
3645
|
"name": "generic_type"
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
"type": "SYMBOL",
|
|
3649
|
+
"name": "scoped_type_identifier"
|
|
3795
3650
|
}
|
|
3796
3651
|
]
|
|
3797
3652
|
},
|
|
@@ -3875,6 +3730,18 @@
|
|
|
3875
3730
|
{
|
|
3876
3731
|
"type": "SEQ",
|
|
3877
3732
|
"members": [
|
|
3733
|
+
{
|
|
3734
|
+
"type": "CHOICE",
|
|
3735
|
+
"members": [
|
|
3736
|
+
{
|
|
3737
|
+
"type": "SYMBOL",
|
|
3738
|
+
"name": "modifiers"
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
"type": "BLANK"
|
|
3742
|
+
}
|
|
3743
|
+
]
|
|
3744
|
+
},
|
|
3878
3745
|
{
|
|
3879
3746
|
"type": "SYMBOL",
|
|
3880
3747
|
"name": "_unannotated_type"
|
|
@@ -6260,23 +6127,20 @@
|
|
|
6260
6127
|
"type": "STRING",
|
|
6261
6128
|
"value": "{"
|
|
6262
6129
|
},
|
|
6263
|
-
{
|
|
6264
|
-
"type": "CHOICE",
|
|
6265
|
-
"members": [
|
|
6266
|
-
{
|
|
6267
|
-
"type": "SYMBOL",
|
|
6268
|
-
"name": "explicit_constructor_invocation"
|
|
6269
|
-
},
|
|
6270
|
-
{
|
|
6271
|
-
"type": "BLANK"
|
|
6272
|
-
}
|
|
6273
|
-
]
|
|
6274
|
-
},
|
|
6275
6130
|
{
|
|
6276
6131
|
"type": "REPEAT",
|
|
6277
6132
|
"content": {
|
|
6278
|
-
"type": "
|
|
6279
|
-
"
|
|
6133
|
+
"type": "CHOICE",
|
|
6134
|
+
"members": [
|
|
6135
|
+
{
|
|
6136
|
+
"type": "SYMBOL",
|
|
6137
|
+
"name": "explicit_constructor_invocation"
|
|
6138
|
+
},
|
|
6139
|
+
{
|
|
6140
|
+
"type": "SYMBOL",
|
|
6141
|
+
"name": "statement"
|
|
6142
|
+
}
|
|
6143
|
+
]
|
|
6280
6144
|
}
|
|
6281
6145
|
},
|
|
6282
6146
|
{
|
|
@@ -6612,6 +6476,10 @@
|
|
|
6612
6476
|
"type": "SYMBOL",
|
|
6613
6477
|
"name": "enum_declaration"
|
|
6614
6478
|
},
|
|
6479
|
+
{
|
|
6480
|
+
"type": "SYMBOL",
|
|
6481
|
+
"name": "record_declaration"
|
|
6482
|
+
},
|
|
6615
6483
|
{
|
|
6616
6484
|
"type": "SYMBOL",
|
|
6617
6485
|
"name": "annotation_type_declaration"
|
|
@@ -7886,6 +7754,9 @@
|
|
|
7886
7754
|
}
|
|
7887
7755
|
],
|
|
7888
7756
|
"conflicts": [
|
|
7757
|
+
[
|
|
7758
|
+
"modifiers"
|
|
7759
|
+
],
|
|
7889
7760
|
[
|
|
7890
7761
|
"modifiers",
|
|
7891
7762
|
"annotated_type",
|