tree-sitter-sed 0.7.0 → 0.9.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.
@@ -145,21 +145,34 @@
145
145
  }
146
146
  },
147
147
  {
148
- "type": "CHOICE",
149
- "members": [
150
- {
151
- "type": "ALIAS",
152
- "content": {
153
- "type": "SYMBOL",
154
- "name": "_comment_text"
148
+ "type": "REPEAT",
149
+ "content": {
150
+ "type": "CHOICE",
151
+ "members": [
152
+ {
153
+ "type": "ALIAS",
154
+ "content": {
155
+ "type": "SYMBOL",
156
+ "name": "_comment_text"
157
+ },
158
+ "named": true,
159
+ "value": "comment_text"
155
160
  },
156
- "named": true,
157
- "value": "comment_text"
158
- },
159
- {
160
- "type": "BLANK"
161
- }
162
- ]
161
+ {
162
+ "type": "FIELD",
163
+ "name": "issue",
164
+ "content": {
165
+ "type": "ALIAS",
166
+ "content": {
167
+ "type": "SYMBOL",
168
+ "name": "_nul_character_issue"
169
+ },
170
+ "named": true,
171
+ "value": "syntax_issue"
172
+ }
173
+ }
174
+ ]
175
+ }
163
176
  }
164
177
  ]
165
178
  },
@@ -198,120 +211,24 @@
198
211
  "members": [
199
212
  {
200
213
  "type": "SYMBOL",
201
- "name": "_line_content"
214
+ "name": "_command_sequence"
202
215
  },
203
216
  {
204
- "type": "ALIAS",
205
- "content": {
206
- "type": "SYMBOL",
207
- "name": "_blanks"
208
- },
209
- "named": true,
210
- "value": "empty_command"
217
+ "type": "SYMBOL",
218
+ "name": "_blanks"
211
219
  }
212
220
  ]
213
221
  },
214
222
  "_terminated_line": {
215
- "type": "CHOICE",
216
- "members": [
217
- {
218
- "type": "SEQ",
219
- "members": [
220
- {
221
- "type": "SYMBOL",
222
- "name": "_line_content"
223
- },
224
- {
225
- "type": "SYMBOL",
226
- "name": "_newline_separator"
227
- }
228
- ]
229
- },
230
- {
231
- "type": "ALIAS",
232
- "content": {
233
- "type": "SYMBOL",
234
- "name": "_empty_terminated_line"
235
- },
236
- "named": true,
237
- "value": "empty_command"
238
- }
239
- ]
240
- },
241
- "_empty_terminated_line": {
242
223
  "type": "SEQ",
243
- "members": [
244
- {
245
- "type": "CHOICE",
246
- "members": [
247
- {
248
- "type": "SYMBOL",
249
- "name": "_blanks"
250
- },
251
- {
252
- "type": "BLANK"
253
- }
254
- ]
255
- },
256
- {
257
- "type": "SYMBOL",
258
- "name": "_newline_separator"
259
- }
260
- ]
261
- },
262
- "_line_content": {
263
- "type": "CHOICE",
264
224
  "members": [
265
225
  {
266
226
  "type": "SYMBOL",
267
227
  "name": "_command_sequence"
268
228
  },
269
- {
270
- "type": "SEQ",
271
- "members": [
272
- {
273
- "type": "ALIAS",
274
- "content": {
275
- "type": "SYMBOL",
276
- "name": "_leading_empty_commands"
277
- },
278
- "named": true,
279
- "value": "empty_command"
280
- },
281
- {
282
- "type": "CHOICE",
283
- "members": [
284
- {
285
- "type": "SYMBOL",
286
- "name": "_command_sequence"
287
- },
288
- {
289
- "type": "BLANK"
290
- }
291
- ]
292
- }
293
- ]
294
- }
295
- ]
296
- },
297
- "_leading_empty_commands": {
298
- "type": "SEQ",
299
- "members": [
300
- {
301
- "type": "CHOICE",
302
- "members": [
303
- {
304
- "type": "SYMBOL",
305
- "name": "_blanks"
306
- },
307
- {
308
- "type": "BLANK"
309
- }
310
- ]
311
- },
312
229
  {
313
230
  "type": "SYMBOL",
314
- "name": "_semicolon_separators"
231
+ "name": "_newline_separator"
315
232
  }
316
233
  ]
317
234
  },
@@ -350,8 +267,17 @@
350
267
  "type": "CHOICE",
351
268
  "members": [
352
269
  {
353
- "type": "SYMBOL",
354
- "name": "_line_content"
270
+ "type": "CHOICE",
271
+ "members": [
272
+ {
273
+ "type": "SYMBOL",
274
+ "name": "_command_sequence"
275
+ },
276
+ {
277
+ "type": "SYMBOL",
278
+ "name": "_blanks"
279
+ }
280
+ ]
355
281
  },
356
282
  {
357
283
  "type": "BLANK"
@@ -365,7 +291,7 @@
365
291
  "members": [
366
292
  {
367
293
  "type": "SYMBOL",
368
- "name": "_chainable_command_item"
294
+ "name": "_separable_command_item"
369
295
  },
370
296
  {
371
297
  "type": "CHOICE",
@@ -412,14 +338,23 @@
412
338
  "members": [
413
339
  {
414
340
  "type": "SYMBOL",
415
- "name": "_semicolon_separators"
341
+ "name": "_semicolon_separator"
416
342
  },
417
343
  {
418
344
  "type": "CHOICE",
419
345
  "members": [
420
346
  {
421
- "type": "SYMBOL",
422
- "name": "_command_sequence"
347
+ "type": "CHOICE",
348
+ "members": [
349
+ {
350
+ "type": "SYMBOL",
351
+ "name": "_command_sequence"
352
+ },
353
+ {
354
+ "type": "SYMBOL",
355
+ "name": "_blanks"
356
+ }
357
+ ]
423
358
  },
424
359
  {
425
360
  "type": "BLANK"
@@ -517,6 +452,19 @@
517
452
  }
518
453
  ]
519
454
  },
455
+ "_separable_command_item": {
456
+ "type": "CHOICE",
457
+ "members": [
458
+ {
459
+ "type": "SYMBOL",
460
+ "name": "empty_command"
461
+ },
462
+ {
463
+ "type": "SYMBOL",
464
+ "name": "_chainable_command_item"
465
+ }
466
+ ]
467
+ },
520
468
  "_chainable_command_item": {
521
469
  "type": "CHOICE",
522
470
  "members": [
@@ -577,7 +525,7 @@
577
525
  "members": [
578
526
  {
579
527
  "type": "SYMBOL",
580
- "name": "_block_line_content"
528
+ "name": "_block_command_sequence"
581
529
  },
582
530
  {
583
531
  "type": "BLANK"
@@ -591,14 +539,31 @@
591
539
  "members": [
592
540
  {
593
541
  "type": "SYMBOL",
594
- "name": "_chainable_command_item"
542
+ "name": "_separable_command_item"
595
543
  },
596
544
  {
597
545
  "type": "CHOICE",
598
546
  "members": [
599
547
  {
600
- "type": "SYMBOL",
601
- "name": "_block_command_sequence_tail"
548
+ "type": "SEQ",
549
+ "members": [
550
+ {
551
+ "type": "SYMBOL",
552
+ "name": "_semicolon_separator"
553
+ },
554
+ {
555
+ "type": "CHOICE",
556
+ "members": [
557
+ {
558
+ "type": "SYMBOL",
559
+ "name": "_block_command_sequence"
560
+ },
561
+ {
562
+ "type": "BLANK"
563
+ }
564
+ ]
565
+ }
566
+ ]
602
567
  },
603
568
  {
604
569
  "type": "BLANK"
@@ -609,52 +574,26 @@
609
574
  }
610
575
  ]
611
576
  },
612
- "_block_command_sequence_tail": {
613
- "type": "SEQ",
577
+ "_block_command_sequence_before_close": {
578
+ "type": "CHOICE",
614
579
  "members": [
615
580
  {
616
- "type": "SYMBOL",
617
- "name": "_semicolon_separators"
618
- },
619
- {
620
- "type": "CHOICE",
581
+ "type": "SEQ",
621
582
  "members": [
622
583
  {
623
584
  "type": "SYMBOL",
624
- "name": "_block_command_sequence"
585
+ "name": "_separable_command_item"
625
586
  },
626
587
  {
627
- "type": "BLANK"
628
- }
629
- ]
630
- }
631
- ]
632
- },
633
- "_block_line_content": {
634
- "type": "CHOICE",
635
- "members": [
636
- {
637
- "type": "SYMBOL",
638
- "name": "_block_command_sequence"
639
- },
640
- {
641
- "type": "SEQ",
642
- "members": [
643
- {
644
- "type": "ALIAS",
645
- "content": {
646
- "type": "SYMBOL",
647
- "name": "_leading_empty_commands"
648
- },
649
- "named": true,
650
- "value": "empty_command"
588
+ "type": "SYMBOL",
589
+ "name": "_semicolon_separator"
651
590
  },
652
591
  {
653
592
  "type": "CHOICE",
654
593
  "members": [
655
594
  {
656
595
  "type": "SYMBOL",
657
- "name": "_block_command_sequence"
596
+ "name": "_block_command_sequence_before_close"
658
597
  },
659
598
  {
660
599
  "type": "BLANK"
@@ -662,27 +601,13 @@
662
601
  ]
663
602
  }
664
603
  ]
665
- }
666
- ]
667
- },
668
- "_block_line_content_before_close": {
669
- "type": "CHOICE",
670
- "members": [
671
- {
672
- "type": "SYMBOL",
673
- "name": "_block_command_sequence_before_close"
674
604
  },
675
605
  {
676
606
  "type": "SEQ",
677
607
  "members": [
678
608
  {
679
- "type": "ALIAS",
680
- "content": {
681
- "type": "SYMBOL",
682
- "name": "_leading_empty_commands"
683
- },
684
- "named": true,
685
- "value": "empty_command"
609
+ "type": "SYMBOL",
610
+ "name": "_recovered_line_terminated_command_item"
686
611
  },
687
612
  {
688
613
  "type": "CHOICE",
@@ -700,47 +625,26 @@
700
625
  }
701
626
  ]
702
627
  },
703
- "_block_command_sequence_before_close": {
628
+ "_block_command_list": {
704
629
  "type": "CHOICE",
705
630
  "members": [
706
631
  {
707
- "type": "SEQ",
708
- "members": [
709
- {
710
- "type": "SYMBOL",
711
- "name": "_chainable_command_item"
712
- },
713
- {
714
- "type": "SYMBOL",
715
- "name": "_semicolon_separators"
716
- },
717
- {
718
- "type": "CHOICE",
719
- "members": [
720
- {
721
- "type": "SYMBOL",
722
- "name": "_block_command_sequence_before_close"
723
- },
724
- {
725
- "type": "BLANK"
726
- }
727
- ]
728
- }
729
- ]
632
+ "type": "SYMBOL",
633
+ "name": "_block_command_sequence_before_close"
730
634
  },
731
635
  {
732
636
  "type": "SEQ",
733
637
  "members": [
734
638
  {
735
639
  "type": "SYMBOL",
736
- "name": "_recovered_line_terminated_command_item"
640
+ "name": "_terminated_block_line"
737
641
  },
738
642
  {
739
643
  "type": "CHOICE",
740
644
  "members": [
741
645
  {
742
646
  "type": "SYMBOL",
743
- "name": "_block_line_content_before_close"
647
+ "name": "_block_command_list"
744
648
  },
745
649
  {
746
650
  "type": "BLANK"
@@ -751,37 +655,7 @@
751
655
  }
752
656
  ]
753
657
  },
754
- "_block_command_list": {
755
- "type": "CHOICE",
756
- "members": [
757
- {
758
- "type": "SYMBOL",
759
- "name": "_block_line_content_before_close"
760
- },
761
- {
762
- "type": "SEQ",
763
- "members": [
764
- {
765
- "type": "SYMBOL",
766
- "name": "_terminated_block_line"
767
- },
768
- {
769
- "type": "CHOICE",
770
- "members": [
771
- {
772
- "type": "SYMBOL",
773
- "name": "_block_command_list"
774
- },
775
- {
776
- "type": "BLANK"
777
- }
778
- ]
779
- }
780
- ]
781
- }
782
- ]
783
- },
784
- "_block_commands": {
658
+ "_block_commands": {
785
659
  "type": "CHOICE",
786
660
  "members": [
787
661
  {
@@ -823,23 +697,6 @@
823
697
  {
824
698
  "type": "SEQ",
825
699
  "members": [
826
- {
827
- "type": "CHOICE",
828
- "members": [
829
- {
830
- "type": "ALIAS",
831
- "content": {
832
- "type": "SYMBOL",
833
- "name": "_leading_empty_commands"
834
- },
835
- "named": true,
836
- "value": "empty_command"
837
- },
838
- {
839
- "type": "BLANK"
840
- }
841
- ]
842
- },
843
700
  {
844
701
  "type": "SYMBOL",
845
702
  "name": "_block_command_sequence"
@@ -885,29 +742,15 @@
885
742
  ]
886
743
  },
887
744
  "_terminated_block_line": {
888
- "type": "CHOICE",
745
+ "type": "SEQ",
889
746
  "members": [
890
747
  {
891
- "type": "SEQ",
892
- "members": [
893
- {
894
- "type": "SYMBOL",
895
- "name": "_block_line_content"
896
- },
897
- {
898
- "type": "SYMBOL",
899
- "name": "_newline_separator"
900
- }
901
- ]
748
+ "type": "SYMBOL",
749
+ "name": "_block_command_sequence"
902
750
  },
903
751
  {
904
- "type": "ALIAS",
905
- "content": {
906
- "type": "SYMBOL",
907
- "name": "_empty_terminated_line"
908
- },
909
- "named": true,
910
- "value": "empty_command"
752
+ "type": "SYMBOL",
753
+ "name": "_newline_separator"
911
754
  }
912
755
  ]
913
756
  },
@@ -920,46 +763,35 @@
920
763
  "named": true,
921
764
  "value": "command_separator"
922
765
  },
923
- "_semicolon_separators": {
924
- "type": "PREC_RIGHT",
925
- "value": 0,
926
- "content": {
927
- "type": "REPEAT1",
928
- "content": {
929
- "type": "SYMBOL",
930
- "name": "_semicolon_separator"
931
- }
932
- }
933
- },
934
766
  "_semicolon_separator": {
935
- "type": "PREC_RIGHT",
936
- "value": 0,
767
+ "type": "ALIAS",
937
768
  "content": {
938
- "type": "SEQ",
939
- "members": [
940
- {
941
- "type": "ALIAS",
942
- "content": {
943
- "type": "STRING",
944
- "value": ";"
769
+ "type": "STRING",
770
+ "value": ";"
771
+ },
772
+ "named": true,
773
+ "value": "command_separator"
774
+ },
775
+ "empty_command": {
776
+ "type": "SEQ",
777
+ "members": [
778
+ {
779
+ "type": "CHOICE",
780
+ "members": [
781
+ {
782
+ "type": "SYMBOL",
783
+ "name": "_blanks"
945
784
  },
946
- "named": true,
947
- "value": "command_separator"
948
- },
949
- {
950
- "type": "CHOICE",
951
- "members": [
952
- {
953
- "type": "SYMBOL",
954
- "name": "_blanks"
955
- },
956
- {
957
- "type": "BLANK"
958
- }
959
- ]
960
- }
961
- ]
962
- }
785
+ {
786
+ "type": "BLANK"
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ "type": "SYMBOL",
792
+ "name": "_empty_command_marker"
793
+ }
794
+ ]
963
795
  },
964
796
  "_blanks": {
965
797
  "type": "TOKEN",
@@ -1307,47 +1139,30 @@
1307
1139
  "type": "SEQ",
1308
1140
  "members": [
1309
1141
  {
1310
- "type": "FIELD",
1311
- "name": "first",
1312
- "content": {
1313
- "type": "SYMBOL",
1314
- "name": "address"
1315
- }
1316
- },
1317
- {
1318
- "type": "FIELD",
1319
- "name": "separator",
1320
- "content": {
1321
- "type": "ALIAS",
1322
- "content": {
1323
- "type": "SYMBOL",
1324
- "name": "_comma_address_separator"
1325
- },
1326
- "named": true,
1327
- "value": "address_separator"
1328
- }
1329
- },
1330
- {
1331
- "type": "SYMBOL",
1332
- "name": "_omitted_second_address_issue"
1333
- }
1334
- ]
1335
- },
1336
- {
1337
- "type": "SEQ",
1338
- "members": [
1339
- {
1340
- "type": "FIELD",
1341
- "name": "issue",
1342
- "content": {
1343
- "type": "ALIAS",
1344
- "content": {
1345
- "type": "SYMBOL",
1346
- "name": "_omitted_first_address_issue"
1142
+ "type": "CHOICE",
1143
+ "members": [
1144
+ {
1145
+ "type": "FIELD",
1146
+ "name": "first",
1147
+ "content": {
1148
+ "type": "SYMBOL",
1149
+ "name": "address"
1150
+ }
1347
1151
  },
1348
- "named": true,
1349
- "value": "syntax_issue"
1350
- }
1152
+ {
1153
+ "type": "FIELD",
1154
+ "name": "issue",
1155
+ "content": {
1156
+ "type": "ALIAS",
1157
+ "content": {
1158
+ "type": "SYMBOL",
1159
+ "name": "_omitted_first_address_issue"
1160
+ },
1161
+ "named": true,
1162
+ "value": "syntax_issue"
1163
+ }
1164
+ }
1165
+ ]
1351
1166
  },
1352
1167
  {
1353
1168
  "type": "FIELD",
@@ -2003,46 +1818,7 @@
2003
1818
  }
2004
1819
  ]
2005
1820
  },
2006
- "_substitute_function": {
2007
- "type": "CHOICE",
2008
- "members": [
2009
- {
2010
- "type": "SEQ",
2011
- "members": [
2012
- {
2013
- "type": "SYMBOL",
2014
- "name": "_complete_substitute_function"
2015
- },
2016
- {
2017
- "type": "CHOICE",
2018
- "members": [
2019
- {
2020
- "type": "FIELD",
2021
- "name": "flags",
2022
- "content": {
2023
- "type": "ALIAS",
2024
- "content": {
2025
- "type": "SYMBOL",
2026
- "name": "_substitution_flags"
2027
- },
2028
- "named": true,
2029
- "value": "substitution_flags"
2030
- }
2031
- },
2032
- {
2033
- "type": "BLANK"
2034
- }
2035
- ]
2036
- }
2037
- ]
2038
- },
2039
- {
2040
- "type": "SYMBOL",
2041
- "name": "_incomplete_substitute_function"
2042
- }
2043
- ]
2044
- },
2045
- "_complete_substitute_function": {
1821
+ "substitute_function": {
2046
1822
  "type": "SEQ",
2047
1823
  "members": [
2048
1824
  {
@@ -2058,134 +1834,9 @@
2058
1834
  "value": "function_verb"
2059
1835
  }
2060
1836
  },
2061
- {
2062
- "type": "FIELD",
2063
- "name": "opening",
2064
- "content": {
2065
- "type": "ALIAS",
2066
- "content": {
2067
- "type": "SYMBOL",
2068
- "name": "_substitute_start_delimiter"
2069
- },
2070
- "named": true,
2071
- "value": "delimiter"
2072
- }
2073
- },
2074
1837
  {
2075
1838
  "type": "CHOICE",
2076
1839
  "members": [
2077
- {
2078
- "type": "FIELD",
2079
- "name": "expression",
2080
- "content": {
2081
- "type": "SYMBOL",
2082
- "name": "extended_reg_exp"
2083
- }
2084
- },
2085
- {
2086
- "type": "BLANK"
2087
- }
2088
- ]
2089
- },
2090
- {
2091
- "type": "FIELD",
2092
- "name": "middle",
2093
- "content": {
2094
- "type": "ALIAS",
2095
- "content": {
2096
- "type": "SYMBOL",
2097
- "name": "_substitute_middle_delimiter"
2098
- },
2099
- "named": true,
2100
- "value": "delimiter"
2101
- }
2102
- },
2103
- {
2104
- "type": "CHOICE",
2105
- "members": [
2106
- {
2107
- "type": "FIELD",
2108
- "name": "replacement",
2109
- "content": {
2110
- "type": "SYMBOL",
2111
- "name": "replacement"
2112
- }
2113
- },
2114
- {
2115
- "type": "BLANK"
2116
- }
2117
- ]
2118
- },
2119
- {
2120
- "type": "FIELD",
2121
- "name": "closing",
2122
- "content": {
2123
- "type": "ALIAS",
2124
- "content": {
2125
- "type": "SYMBOL",
2126
- "name": "_substitute_end_delimiter"
2127
- },
2128
- "named": true,
2129
- "value": "delimiter"
2130
- }
2131
- }
2132
- ]
2133
- },
2134
- "_incomplete_substitute_function": {
2135
- "type": "SEQ",
2136
- "members": [
2137
- {
2138
- "type": "FIELD",
2139
- "name": "verb",
2140
- "content": {
2141
- "type": "ALIAS",
2142
- "content": {
2143
- "type": "STRING",
2144
- "value": "s"
2145
- },
2146
- "named": true,
2147
- "value": "function_verb"
2148
- }
2149
- },
2150
- {
2151
- "type": "CHOICE",
2152
- "members": [
2153
- {
2154
- "type": "FIELD",
2155
- "name": "opening",
2156
- "content": {
2157
- "type": "CHOICE",
2158
- "members": [
2159
- {
2160
- "type": "ALIAS",
2161
- "content": {
2162
- "type": "SYMBOL",
2163
- "name": "_invalid_delimiter_delimiter"
2164
- },
2165
- "named": true,
2166
- "value": "delimiter"
2167
- },
2168
- {
2169
- "type": "ALIAS",
2170
- "content": {
2171
- "type": "SYMBOL",
2172
- "name": "_missing_opening_delimiter_delimiter"
2173
- },
2174
- "named": true,
2175
- "value": "delimiter"
2176
- },
2177
- {
2178
- "type": "ALIAS",
2179
- "content": {
2180
- "type": "SYMBOL",
2181
- "name": "_nonconforming_missing_opening_delimiter_delimiter"
2182
- },
2183
- "named": true,
2184
- "value": "delimiter"
2185
- }
2186
- ]
2187
- }
2188
- },
2189
1840
  {
2190
1841
  "type": "SEQ",
2191
1842
  "members": [
@@ -2254,31 +1905,75 @@
2254
1905
  ]
2255
1906
  },
2256
1907
  {
2257
- "type": "FIELD",
2258
- "name": "closing",
2259
- "content": {
2260
- "type": "CHOICE",
2261
- "members": [
2262
- {
2263
- "type": "ALIAS",
2264
- "content": {
2265
- "type": "SYMBOL",
2266
- "name": "_incomplete_replacement_delimiter"
2267
- },
2268
- "named": true,
2269
- "value": "delimiter"
2270
- },
2271
- {
2272
- "type": "ALIAS",
2273
- "content": {
2274
- "type": "SYMBOL",
2275
- "name": "_unterminated_replacement_delimiter"
1908
+ "type": "CHOICE",
1909
+ "members": [
1910
+ {
1911
+ "type": "SEQ",
1912
+ "members": [
1913
+ {
1914
+ "type": "FIELD",
1915
+ "name": "closing",
1916
+ "content": {
1917
+ "type": "ALIAS",
1918
+ "content": {
1919
+ "type": "SYMBOL",
1920
+ "name": "_substitute_end_delimiter"
1921
+ },
1922
+ "named": true,
1923
+ "value": "delimiter"
1924
+ }
2276
1925
  },
2277
- "named": true,
2278
- "value": "delimiter"
1926
+ {
1927
+ "type": "CHOICE",
1928
+ "members": [
1929
+ {
1930
+ "type": "FIELD",
1931
+ "name": "flags",
1932
+ "content": {
1933
+ "type": "ALIAS",
1934
+ "content": {
1935
+ "type": "SYMBOL",
1936
+ "name": "_substitution_flags"
1937
+ },
1938
+ "named": true,
1939
+ "value": "substitution_flags"
1940
+ }
1941
+ },
1942
+ {
1943
+ "type": "BLANK"
1944
+ }
1945
+ ]
1946
+ }
1947
+ ]
1948
+ },
1949
+ {
1950
+ "type": "FIELD",
1951
+ "name": "closing",
1952
+ "content": {
1953
+ "type": "CHOICE",
1954
+ "members": [
1955
+ {
1956
+ "type": "ALIAS",
1957
+ "content": {
1958
+ "type": "SYMBOL",
1959
+ "name": "_incomplete_replacement_delimiter"
1960
+ },
1961
+ "named": true,
1962
+ "value": "delimiter"
1963
+ },
1964
+ {
1965
+ "type": "ALIAS",
1966
+ "content": {
1967
+ "type": "SYMBOL",
1968
+ "name": "_unterminated_replacement_delimiter"
1969
+ },
1970
+ "named": true,
1971
+ "value": "delimiter"
1972
+ }
1973
+ ]
2279
1974
  }
2280
- ]
2281
- }
1975
+ }
1976
+ ]
2282
1977
  }
2283
1978
  ]
2284
1979
  },
@@ -2312,6 +2007,42 @@
2312
2007
  ]
2313
2008
  }
2314
2009
  ]
2010
+ },
2011
+ {
2012
+ "type": "FIELD",
2013
+ "name": "opening",
2014
+ "content": {
2015
+ "type": "CHOICE",
2016
+ "members": [
2017
+ {
2018
+ "type": "ALIAS",
2019
+ "content": {
2020
+ "type": "SYMBOL",
2021
+ "name": "_invalid_delimiter_delimiter"
2022
+ },
2023
+ "named": true,
2024
+ "value": "delimiter"
2025
+ },
2026
+ {
2027
+ "type": "ALIAS",
2028
+ "content": {
2029
+ "type": "SYMBOL",
2030
+ "name": "_missing_opening_delimiter_delimiter"
2031
+ },
2032
+ "named": true,
2033
+ "value": "delimiter"
2034
+ },
2035
+ {
2036
+ "type": "ALIAS",
2037
+ "content": {
2038
+ "type": "SYMBOL",
2039
+ "name": "_nonconforming_missing_opening_delimiter_delimiter"
2040
+ },
2041
+ "named": true,
2042
+ "value": "delimiter"
2043
+ }
2044
+ ]
2045
+ }
2315
2046
  }
2316
2047
  ]
2317
2048
  }
@@ -2326,6 +2057,19 @@
2326
2057
  "type": "SYMBOL",
2327
2058
  "name": "replacement_literal"
2328
2059
  },
2060
+ {
2061
+ "type": "FIELD",
2062
+ "name": "issue",
2063
+ "content": {
2064
+ "type": "ALIAS",
2065
+ "content": {
2066
+ "type": "SYMBOL",
2067
+ "name": "_nul_character_issue"
2068
+ },
2069
+ "named": true,
2070
+ "value": "syntax_issue"
2071
+ }
2072
+ },
2329
2073
  {
2330
2074
  "type": "SYMBOL",
2331
2075
  "name": "matched_text_reference"
@@ -2339,8 +2083,17 @@
2339
2083
  "name": "replacement_escaped_delimiter"
2340
2084
  },
2341
2085
  {
2342
- "type": "SYMBOL",
2343
- "name": "ambiguous_replacement_delimiter_escape"
2086
+ "type": "FIELD",
2087
+ "name": "issue",
2088
+ "content": {
2089
+ "type": "ALIAS",
2090
+ "content": {
2091
+ "type": "SYMBOL",
2092
+ "name": "_replacement_ampersand_delimiter_escape_issue"
2093
+ },
2094
+ "named": true,
2095
+ "value": "syntax_issue"
2096
+ }
2344
2097
  },
2345
2098
  {
2346
2099
  "type": "SYMBOL",
@@ -2380,75 +2133,28 @@
2380
2133
  }
2381
2134
  },
2382
2135
  "replacement_literal": {
2383
- "type": "ALIAS",
2384
- "content": {
2385
- "type": "SYMBOL",
2386
- "name": "_replacement_literal"
2387
- },
2388
- "named": true,
2389
- "value": "replacement_literal_token"
2136
+ "type": "SYMBOL",
2137
+ "name": "_replacement_literal"
2390
2138
  },
2391
2139
  "matched_text_reference": {
2392
- "type": "ALIAS",
2393
- "content": {
2394
- "type": "SYMBOL",
2395
- "name": "_replacement_match_reference"
2396
- },
2397
- "named": true,
2398
- "value": "matched_text_reference_token"
2140
+ "type": "SYMBOL",
2141
+ "name": "_replacement_match_reference"
2399
2142
  },
2400
2143
  "replacement_backreference": {
2401
- "type": "ALIAS",
2402
- "content": {
2403
- "type": "SYMBOL",
2404
- "name": "_replacement_backreference"
2405
- },
2406
- "named": true,
2407
- "value": "replacement_backreference_token"
2144
+ "type": "SYMBOL",
2145
+ "name": "_replacement_backreference"
2408
2146
  },
2409
2147
  "replacement_escaped_delimiter": {
2410
- "type": "FIELD",
2411
- "name": "token",
2412
- "content": {
2413
- "type": "ALIAS",
2414
- "content": {
2415
- "type": "SYMBOL",
2416
- "name": "_replacement_escaped_delimiter"
2417
- },
2418
- "named": true,
2419
- "value": "escaped_delimiter_token"
2420
- }
2421
- },
2422
- "ambiguous_replacement_delimiter_escape": {
2423
- "type": "FIELD",
2424
- "name": "issue",
2425
- "content": {
2426
- "type": "ALIAS",
2427
- "content": {
2428
- "type": "SYMBOL",
2429
- "name": "_replacement_ampersand_delimiter_escape_issue"
2430
- },
2431
- "named": true,
2432
- "value": "syntax_issue"
2433
- }
2148
+ "type": "SYMBOL",
2149
+ "name": "_replacement_escaped_delimiter"
2434
2150
  },
2435
2151
  "replacement_escape": {
2436
- "type": "ALIAS",
2437
- "content": {
2438
- "type": "SYMBOL",
2439
- "name": "_replacement_escape_sequence"
2440
- },
2441
- "named": true,
2442
- "value": "replacement_escape_token"
2152
+ "type": "SYMBOL",
2153
+ "name": "_replacement_escape_sequence"
2443
2154
  },
2444
2155
  "escaped_newline": {
2445
- "type": "ALIAS",
2446
- "content": {
2447
- "type": "SYMBOL",
2448
- "name": "_replacement_escaped_newline"
2449
- },
2450
- "named": true,
2451
- "value": "escaped_newline_token"
2156
+ "type": "SYMBOL",
2157
+ "name": "_replacement_escaped_newline"
2452
2158
  },
2453
2159
  "_substitution_flags": {
2454
2160
  "type": "CHOICE",
@@ -2491,16 +2197,31 @@
2491
2197
  "name": "occurrence_flag"
2492
2198
  },
2493
2199
  {
2494
- "type": "SYMBOL",
2495
- "name": "global_flag"
2200
+ "type": "ALIAS",
2201
+ "content": {
2202
+ "type": "STRING",
2203
+ "value": "g"
2204
+ },
2205
+ "named": true,
2206
+ "value": "global_flag"
2496
2207
  },
2497
2208
  {
2498
- "type": "SYMBOL",
2499
- "name": "case_insensitive_flag"
2209
+ "type": "ALIAS",
2210
+ "content": {
2211
+ "type": "STRING",
2212
+ "value": "i"
2213
+ },
2214
+ "named": true,
2215
+ "value": "case_insensitive_flag"
2500
2216
  },
2501
2217
  {
2502
- "type": "SYMBOL",
2503
- "name": "print_flag"
2218
+ "type": "ALIAS",
2219
+ "content": {
2220
+ "type": "STRING",
2221
+ "value": "p"
2222
+ },
2223
+ "named": true,
2224
+ "value": "print_flag"
2504
2225
  },
2505
2226
  {
2506
2227
  "type": "FIELD",
@@ -2535,16 +2256,31 @@
2535
2256
  "name": "occurrence_flag"
2536
2257
  },
2537
2258
  {
2538
- "type": "SYMBOL",
2539
- "name": "global_flag"
2259
+ "type": "ALIAS",
2260
+ "content": {
2261
+ "type": "STRING",
2262
+ "value": "g"
2263
+ },
2264
+ "named": true,
2265
+ "value": "global_flag"
2540
2266
  },
2541
2267
  {
2542
- "type": "SYMBOL",
2543
- "name": "case_insensitive_flag"
2268
+ "type": "ALIAS",
2269
+ "content": {
2270
+ "type": "STRING",
2271
+ "value": "i"
2272
+ },
2273
+ "named": true,
2274
+ "value": "case_insensitive_flag"
2544
2275
  },
2545
2276
  {
2546
- "type": "SYMBOL",
2547
- "name": "print_flag"
2277
+ "type": "ALIAS",
2278
+ "content": {
2279
+ "type": "STRING",
2280
+ "value": "p"
2281
+ },
2282
+ "named": true,
2283
+ "value": "print_flag"
2548
2284
  },
2549
2285
  {
2550
2286
  "type": "FIELD",
@@ -2570,18 +2306,6 @@
2570
2306
  "type": "PATTERN",
2571
2307
  "value": "[[:digit:]]+"
2572
2308
  },
2573
- "global_flag": {
2574
- "type": "STRING",
2575
- "value": "g"
2576
- },
2577
- "case_insensitive_flag": {
2578
- "type": "STRING",
2579
- "value": "i"
2580
- },
2581
- "print_flag": {
2582
- "type": "STRING",
2583
- "value": "p"
2584
- },
2585
2309
  "write_flag": {
2586
2310
  "type": "SEQ",
2587
2311
  "members": [
@@ -2618,16 +2342,31 @@
2618
2342
  "name": "occurrence_flag"
2619
2343
  },
2620
2344
  {
2621
- "type": "SYMBOL",
2622
- "name": "global_flag"
2345
+ "type": "ALIAS",
2346
+ "content": {
2347
+ "type": "STRING",
2348
+ "value": "g"
2349
+ },
2350
+ "named": true,
2351
+ "value": "global_flag"
2623
2352
  },
2624
2353
  {
2625
- "type": "SYMBOL",
2626
- "name": "case_insensitive_flag"
2354
+ "type": "ALIAS",
2355
+ "content": {
2356
+ "type": "STRING",
2357
+ "value": "i"
2358
+ },
2359
+ "named": true,
2360
+ "value": "case_insensitive_flag"
2627
2361
  },
2628
2362
  {
2629
- "type": "SYMBOL",
2630
- "name": "print_flag"
2363
+ "type": "ALIAS",
2364
+ "content": {
2365
+ "type": "STRING",
2366
+ "value": "p"
2367
+ },
2368
+ "named": true,
2369
+ "value": "print_flag"
2631
2370
  },
2632
2371
  {
2633
2372
  "type": "ALIAS",
@@ -2641,6 +2380,69 @@
2641
2380
  ]
2642
2381
  }
2643
2382
  },
2383
+ {
2384
+ "type": "SEQ",
2385
+ "members": [
2386
+ {
2387
+ "type": "SYMBOL",
2388
+ "name": "_blanks"
2389
+ },
2390
+ {
2391
+ "type": "CHOICE",
2392
+ "members": [
2393
+ {
2394
+ "type": "FIELD",
2395
+ "name": "wfile",
2396
+ "content": {
2397
+ "type": "ALIAS",
2398
+ "content": {
2399
+ "type": "SYMBOL",
2400
+ "name": "_substitution_wfile"
2401
+ },
2402
+ "named": true,
2403
+ "value": "wfile"
2404
+ }
2405
+ },
2406
+ {
2407
+ "type": "CHOICE",
2408
+ "members": [
2409
+ {
2410
+ "type": "FIELD",
2411
+ "name": "issue",
2412
+ "content": {
2413
+ "type": "ALIAS",
2414
+ "content": {
2415
+ "type": "SYMBOL",
2416
+ "name": "_missing_wfile_issue"
2417
+ },
2418
+ "named": true,
2419
+ "value": "syntax_issue"
2420
+ }
2421
+ },
2422
+ {
2423
+ "type": "FIELD",
2424
+ "name": "issue",
2425
+ "content": {
2426
+ "type": "ALIAS",
2427
+ "content": {
2428
+ "type": "SYMBOL",
2429
+ "name": "_nonconforming_missing_wfile_issue"
2430
+ },
2431
+ "named": true,
2432
+ "value": "syntax_issue"
2433
+ }
2434
+ }
2435
+ ]
2436
+ }
2437
+ ]
2438
+ }
2439
+ ]
2440
+ }
2441
+ ]
2442
+ },
2443
+ {
2444
+ "type": "SEQ",
2445
+ "members": [
2644
2446
  {
2645
2447
  "type": "SYMBOL",
2646
2448
  "name": "_blanks"
@@ -2696,68 +2498,6 @@
2696
2498
  }
2697
2499
  ]
2698
2500
  },
2699
- {
2700
- "type": "SEQ",
2701
- "members": [
2702
- {
2703
- "type": "SYMBOL",
2704
- "name": "_blanks"
2705
- },
2706
- {
2707
- "type": "FIELD",
2708
- "name": "wfile",
2709
- "content": {
2710
- "type": "ALIAS",
2711
- "content": {
2712
- "type": "SYMBOL",
2713
- "name": "_substitution_wfile"
2714
- },
2715
- "named": true,
2716
- "value": "wfile"
2717
- }
2718
- }
2719
- ]
2720
- },
2721
- {
2722
- "type": "SEQ",
2723
- "members": [
2724
- {
2725
- "type": "SYMBOL",
2726
- "name": "_blanks"
2727
- },
2728
- {
2729
- "type": "CHOICE",
2730
- "members": [
2731
- {
2732
- "type": "FIELD",
2733
- "name": "issue",
2734
- "content": {
2735
- "type": "ALIAS",
2736
- "content": {
2737
- "type": "SYMBOL",
2738
- "name": "_missing_wfile_issue"
2739
- },
2740
- "named": true,
2741
- "value": "syntax_issue"
2742
- }
2743
- },
2744
- {
2745
- "type": "FIELD",
2746
- "name": "issue",
2747
- "content": {
2748
- "type": "ALIAS",
2749
- "content": {
2750
- "type": "SYMBOL",
2751
- "name": "_nonconforming_missing_wfile_issue"
2752
- },
2753
- "named": true,
2754
- "value": "syntax_issue"
2755
- }
2756
- }
2757
- ]
2758
- }
2759
- ]
2760
- },
2761
2501
  {
2762
2502
  "type": "SEQ",
2763
2503
  "members": [
@@ -3033,6 +2773,19 @@
3033
2773
  "type": "SYMBOL",
3034
2774
  "name": "translation_literal"
3035
2775
  },
2776
+ {
2777
+ "type": "FIELD",
2778
+ "name": "issue",
2779
+ "content": {
2780
+ "type": "ALIAS",
2781
+ "content": {
2782
+ "type": "SYMBOL",
2783
+ "name": "_nul_character_issue"
2784
+ },
2785
+ "named": true,
2786
+ "value": "syntax_issue"
2787
+ }
2788
+ },
3036
2789
  {
3037
2790
  "type": "SYMBOL",
3038
2791
  "name": "translation_escape"
@@ -3071,31 +2824,16 @@
3071
2824
  }
3072
2825
  },
3073
2826
  "translation_literal": {
3074
- "type": "ALIAS",
3075
- "content": {
3076
- "type": "SYMBOL",
3077
- "name": "_translate_literal"
3078
- },
3079
- "named": true,
3080
- "value": "translation_literal_token"
2827
+ "type": "SYMBOL",
2828
+ "name": "_translate_literal"
3081
2829
  },
3082
2830
  "translation_escape": {
3083
- "type": "ALIAS",
3084
- "content": {
3085
- "type": "SYMBOL",
3086
- "name": "_translate_escape"
3087
- },
3088
- "named": true,
3089
- "value": "translation_escape_token"
2831
+ "type": "SYMBOL",
2832
+ "name": "_translate_escape"
3090
2833
  },
3091
2834
  "translation_escaped_delimiter": {
3092
- "type": "ALIAS",
3093
- "content": {
3094
- "type": "SYMBOL",
3095
- "name": "_translate_escaped_delimiter"
3096
- },
3097
- "named": true,
3098
- "value": "escaped_delimiter_token"
2835
+ "type": "SYMBOL",
2836
+ "name": "_translate_escaped_delimiter"
3099
2837
  },
3100
2838
  "text": {
3101
2839
  "type": "SEQ",
@@ -3109,6 +2847,19 @@
3109
2847
  "type": "SYMBOL",
3110
2848
  "name": "text_literal"
3111
2849
  },
2850
+ {
2851
+ "type": "FIELD",
2852
+ "name": "issue",
2853
+ "content": {
2854
+ "type": "ALIAS",
2855
+ "content": {
2856
+ "type": "SYMBOL",
2857
+ "name": "_nul_character_issue"
2858
+ },
2859
+ "named": true,
2860
+ "value": "syntax_issue"
2861
+ }
2862
+ },
3112
2863
  {
3113
2864
  "type": "SYMBOL",
3114
2865
  "name": "text_backslash_escape"
@@ -3133,6 +2884,15 @@
3133
2884
  ]
3134
2885
  }
3135
2886
  },
2887
+ {
2888
+ "type": "SYMBOL",
2889
+ "name": "_text_tail"
2890
+ }
2891
+ ]
2892
+ },
2893
+ "_text_tail": {
2894
+ "type": "SEQ",
2895
+ "members": [
3136
2896
  {
3137
2897
  "type": "CHOICE",
3138
2898
  "members": [
@@ -3174,31 +2934,16 @@
3174
2934
  ]
3175
2935
  },
3176
2936
  "text_literal": {
3177
- "type": "ALIAS",
3178
- "content": {
3179
- "type": "SYMBOL",
3180
- "name": "_text_literal"
3181
- },
3182
- "named": true,
3183
- "value": "text_literal_token"
2937
+ "type": "SYMBOL",
2938
+ "name": "_text_literal"
3184
2939
  },
3185
2940
  "text_backslash_escape": {
3186
- "type": "ALIAS",
3187
- "content": {
3188
- "type": "SYMBOL",
3189
- "name": "_text_backslash_escape"
3190
- },
3191
- "named": true,
3192
- "value": "text_backslash_escape_token"
2941
+ "type": "SYMBOL",
2942
+ "name": "_text_backslash_escape"
3193
2943
  },
3194
2944
  "text_escaped_newline": {
3195
- "type": "ALIAS",
3196
- "content": {
3197
- "type": "SYMBOL",
3198
- "name": "_text_escaped_newline"
3199
- },
3200
- "named": true,
3201
- "value": "text_escaped_newline_token"
2945
+ "type": "SYMBOL",
2946
+ "name": "_text_escaped_newline"
3202
2947
  },
3203
2948
  "text_introducer": {
3204
2949
  "type": "ALIAS",
@@ -3209,62 +2954,294 @@
3209
2954
  "named": true,
3210
2955
  "value": "text_introducer_token"
3211
2956
  },
3212
- "rfile": {
3213
- "type": "ALIAS",
2957
+ "_incomplete_text_introducer": {
2958
+ "type": "FIELD",
2959
+ "name": "issue",
3214
2960
  "content": {
3215
- "type": "SYMBOL",
3216
- "name": "_file_argument"
3217
- },
3218
- "named": true,
3219
- "value": "rfile_token"
2961
+ "type": "ALIAS",
2962
+ "content": {
2963
+ "type": "SYMBOL",
2964
+ "name": "_incomplete_text_introducer_issue"
2965
+ },
2966
+ "named": true,
2967
+ "value": "syntax_issue"
2968
+ }
3220
2969
  },
3221
- "wfile": {
3222
- "type": "ALIAS",
2970
+ "rfile": {
2971
+ "type": "PREC_RIGHT",
2972
+ "value": 0,
3223
2973
  "content": {
3224
- "type": "SYMBOL",
3225
- "name": "_file_argument"
3226
- },
3227
- "named": true,
3228
- "value": "wfile_token"
2974
+ "type": "SEQ",
2975
+ "members": [
2976
+ {
2977
+ "type": "CHOICE",
2978
+ "members": [
2979
+ {
2980
+ "type": "SYMBOL",
2981
+ "name": "_file_argument"
2982
+ },
2983
+ {
2984
+ "type": "FIELD",
2985
+ "name": "issue",
2986
+ "content": {
2987
+ "type": "ALIAS",
2988
+ "content": {
2989
+ "type": "SYMBOL",
2990
+ "name": "_nul_character_issue"
2991
+ },
2992
+ "named": true,
2993
+ "value": "syntax_issue"
2994
+ }
2995
+ }
2996
+ ]
2997
+ },
2998
+ {
2999
+ "type": "REPEAT",
3000
+ "content": {
3001
+ "type": "CHOICE",
3002
+ "members": [
3003
+ {
3004
+ "type": "SYMBOL",
3005
+ "name": "_line_word"
3006
+ },
3007
+ {
3008
+ "type": "FIELD",
3009
+ "name": "issue",
3010
+ "content": {
3011
+ "type": "ALIAS",
3012
+ "content": {
3013
+ "type": "SYMBOL",
3014
+ "name": "_nul_character_issue"
3015
+ },
3016
+ "named": true,
3017
+ "value": "syntax_issue"
3018
+ }
3019
+ }
3020
+ ]
3021
+ }
3022
+ }
3023
+ ]
3024
+ }
3025
+ },
3026
+ "wfile": {
3027
+ "type": "PREC_RIGHT",
3028
+ "value": 0,
3029
+ "content": {
3030
+ "type": "SEQ",
3031
+ "members": [
3032
+ {
3033
+ "type": "CHOICE",
3034
+ "members": [
3035
+ {
3036
+ "type": "SYMBOL",
3037
+ "name": "_file_argument"
3038
+ },
3039
+ {
3040
+ "type": "FIELD",
3041
+ "name": "issue",
3042
+ "content": {
3043
+ "type": "ALIAS",
3044
+ "content": {
3045
+ "type": "SYMBOL",
3046
+ "name": "_nul_character_issue"
3047
+ },
3048
+ "named": true,
3049
+ "value": "syntax_issue"
3050
+ }
3051
+ }
3052
+ ]
3053
+ },
3054
+ {
3055
+ "type": "REPEAT",
3056
+ "content": {
3057
+ "type": "CHOICE",
3058
+ "members": [
3059
+ {
3060
+ "type": "SYMBOL",
3061
+ "name": "_line_word"
3062
+ },
3063
+ {
3064
+ "type": "FIELD",
3065
+ "name": "issue",
3066
+ "content": {
3067
+ "type": "ALIAS",
3068
+ "content": {
3069
+ "type": "SYMBOL",
3070
+ "name": "_nul_character_issue"
3071
+ },
3072
+ "named": true,
3073
+ "value": "syntax_issue"
3074
+ }
3075
+ }
3076
+ ]
3077
+ }
3078
+ }
3079
+ ]
3080
+ }
3229
3081
  },
3230
3082
  "_substitution_wfile": {
3231
- "type": "ALIAS",
3083
+ "type": "PREC_RIGHT",
3084
+ "value": 0,
3232
3085
  "content": {
3233
- "type": "SYMBOL",
3234
- "name": "_substitution_wfile_argument"
3235
- },
3236
- "named": true,
3237
- "value": "wfile_token"
3086
+ "type": "SEQ",
3087
+ "members": [
3088
+ {
3089
+ "type": "CHOICE",
3090
+ "members": [
3091
+ {
3092
+ "type": "SYMBOL",
3093
+ "name": "_substitution_wfile_argument"
3094
+ },
3095
+ {
3096
+ "type": "FIELD",
3097
+ "name": "issue",
3098
+ "content": {
3099
+ "type": "ALIAS",
3100
+ "content": {
3101
+ "type": "SYMBOL",
3102
+ "name": "_nul_character_issue"
3103
+ },
3104
+ "named": true,
3105
+ "value": "syntax_issue"
3106
+ }
3107
+ }
3108
+ ]
3109
+ },
3110
+ {
3111
+ "type": "REPEAT",
3112
+ "content": {
3113
+ "type": "CHOICE",
3114
+ "members": [
3115
+ {
3116
+ "type": "SYMBOL",
3117
+ "name": "_substitution_wfile_continuation"
3118
+ },
3119
+ {
3120
+ "type": "FIELD",
3121
+ "name": "issue",
3122
+ "content": {
3123
+ "type": "ALIAS",
3124
+ "content": {
3125
+ "type": "SYMBOL",
3126
+ "name": "_nul_character_issue"
3127
+ },
3128
+ "named": true,
3129
+ "value": "syntax_issue"
3130
+ }
3131
+ }
3132
+ ]
3133
+ }
3134
+ }
3135
+ ]
3136
+ }
3238
3137
  },
3239
3138
  "label": {
3240
- "type": "ALIAS",
3139
+ "type": "PREC_RIGHT",
3140
+ "value": 0,
3241
3141
  "content": {
3242
- "type": "SYMBOL",
3243
- "name": "_line_word"
3244
- },
3245
- "named": true,
3246
- "value": "label_token"
3142
+ "type": "REPEAT1",
3143
+ "content": {
3144
+ "type": "CHOICE",
3145
+ "members": [
3146
+ {
3147
+ "type": "SYMBOL",
3148
+ "name": "_line_word"
3149
+ },
3150
+ {
3151
+ "type": "FIELD",
3152
+ "name": "issue",
3153
+ "content": {
3154
+ "type": "ALIAS",
3155
+ "content": {
3156
+ "type": "SYMBOL",
3157
+ "name": "_nul_character_issue"
3158
+ },
3159
+ "named": true,
3160
+ "value": "syntax_issue"
3161
+ }
3162
+ }
3163
+ ]
3164
+ }
3165
+ }
3247
3166
  },
3248
3167
  "comment": {
3249
- "type": "ALIAS",
3168
+ "type": "PREC_RIGHT",
3169
+ "value": 0,
3250
3170
  "content": {
3251
- "type": "SYMBOL",
3252
- "name": "_comment_text"
3253
- },
3254
- "named": true,
3255
- "value": "comment_text"
3171
+ "type": "REPEAT1",
3172
+ "content": {
3173
+ "type": "CHOICE",
3174
+ "members": [
3175
+ {
3176
+ "type": "ALIAS",
3177
+ "content": {
3178
+ "type": "SYMBOL",
3179
+ "name": "_comment_text"
3180
+ },
3181
+ "named": true,
3182
+ "value": "comment_text"
3183
+ },
3184
+ {
3185
+ "type": "FIELD",
3186
+ "name": "issue",
3187
+ "content": {
3188
+ "type": "ALIAS",
3189
+ "content": {
3190
+ "type": "SYMBOL",
3191
+ "name": "_nul_character_issue"
3192
+ },
3193
+ "named": true,
3194
+ "value": "syntax_issue"
3195
+ }
3196
+ }
3197
+ ]
3198
+ }
3199
+ }
3200
+ },
3201
+ "comment_function": {
3202
+ "type": "PREC_RIGHT",
3203
+ "value": 0,
3204
+ "content": {
3205
+ "type": "SEQ",
3206
+ "members": [
3207
+ {
3208
+ "type": "FIELD",
3209
+ "name": "verb",
3210
+ "content": {
3211
+ "type": "ALIAS",
3212
+ "content": {
3213
+ "type": "STRING",
3214
+ "value": "#"
3215
+ },
3216
+ "named": true,
3217
+ "value": "function_verb"
3218
+ }
3219
+ },
3220
+ {
3221
+ "type": "CHOICE",
3222
+ "members": [
3223
+ {
3224
+ "type": "FIELD",
3225
+ "name": "comment",
3226
+ "content": {
3227
+ "type": "SYMBOL",
3228
+ "name": "comment"
3229
+ }
3230
+ },
3231
+ {
3232
+ "type": "BLANK"
3233
+ }
3234
+ ]
3235
+ }
3236
+ ]
3237
+ }
3256
3238
  },
3257
3239
  "closing_brace": {
3258
3240
  "type": "CHOICE",
3259
3241
  "members": [
3260
3242
  {
3261
- "type": "ALIAS",
3262
- "content": {
3263
- "type": "SYMBOL",
3264
- "name": "_right_brace"
3265
- },
3266
- "named": true,
3267
- "value": "closing_brace_token"
3243
+ "type": "SYMBOL",
3244
+ "name": "_present_closing_brace"
3268
3245
  },
3269
3246
  {
3270
3247
  "type": "FIELD",
@@ -3281,6 +3258,15 @@
3281
3258
  }
3282
3259
  ]
3283
3260
  },
3261
+ "_present_closing_brace": {
3262
+ "type": "ALIAS",
3263
+ "content": {
3264
+ "type": "SYMBOL",
3265
+ "name": "_right_brace"
3266
+ },
3267
+ "named": true,
3268
+ "value": "closing_brace_token"
3269
+ },
3284
3270
  "delete_function": {
3285
3271
  "type": "FIELD",
3286
3272
  "name": "verb",
@@ -3556,39 +3542,26 @@
3556
3542
  }
3557
3543
  },
3558
3544
  {
3559
- "type": "SEQ",
3560
- "members": [
3561
- {
3562
- "type": "CHOICE",
3563
- "members": [
3564
- {
3565
- "type": "FIELD",
3566
- "name": "issue",
3567
- "content": {
3568
- "type": "ALIAS",
3569
- "content": {
3570
- "type": "SYMBOL",
3571
- "name": "_missing_text_issue"
3572
- },
3573
- "named": true,
3574
- "value": "syntax_issue"
3575
- }
3576
- },
3577
- {
3578
- "type": "BLANK"
3579
- }
3580
- ]
3581
- },
3582
- {
3583
- "type": "SYMBOL",
3584
- "name": "_text_end"
3585
- }
3586
- ]
3545
+ "type": "SYMBOL",
3546
+ "name": "_text_tail"
3587
3547
  }
3588
3548
  ]
3589
3549
  }
3590
3550
  ]
3591
3551
  },
3552
+ {
3553
+ "type": "FIELD",
3554
+ "name": "introducer",
3555
+ "content": {
3556
+ "type": "ALIAS",
3557
+ "content": {
3558
+ "type": "SYMBOL",
3559
+ "name": "_incomplete_text_introducer"
3560
+ },
3561
+ "named": true,
3562
+ "value": "text_introducer"
3563
+ }
3564
+ },
3592
3565
  {
3593
3566
  "type": "CHOICE",
3594
3567
  "members": [
@@ -3655,8 +3628,8 @@
3655
3628
  "content": {
3656
3629
  "type": "ALIAS",
3657
3630
  "content": {
3658
- "type": "STRING",
3659
- "value": " "
3631
+ "type": "SYMBOL",
3632
+ "name": "_argument_separator"
3660
3633
  },
3661
3634
  "named": true,
3662
3635
  "value": "argument_separator"
@@ -3730,39 +3703,26 @@
3730
3703
  }
3731
3704
  },
3732
3705
  {
3733
- "type": "SEQ",
3734
- "members": [
3735
- {
3736
- "type": "CHOICE",
3737
- "members": [
3738
- {
3739
- "type": "FIELD",
3740
- "name": "issue",
3741
- "content": {
3742
- "type": "ALIAS",
3743
- "content": {
3744
- "type": "SYMBOL",
3745
- "name": "_missing_text_issue"
3746
- },
3747
- "named": true,
3748
- "value": "syntax_issue"
3749
- }
3750
- },
3751
- {
3752
- "type": "BLANK"
3753
- }
3754
- ]
3755
- },
3756
- {
3757
- "type": "SYMBOL",
3758
- "name": "_text_end"
3759
- }
3760
- ]
3706
+ "type": "SYMBOL",
3707
+ "name": "_text_tail"
3761
3708
  }
3762
3709
  ]
3763
3710
  }
3764
3711
  ]
3765
3712
  },
3713
+ {
3714
+ "type": "FIELD",
3715
+ "name": "introducer",
3716
+ "content": {
3717
+ "type": "ALIAS",
3718
+ "content": {
3719
+ "type": "SYMBOL",
3720
+ "name": "_incomplete_text_introducer"
3721
+ },
3722
+ "named": true,
3723
+ "value": "text_introducer"
3724
+ }
3725
+ },
3766
3726
  {
3767
3727
  "type": "CHOICE",
3768
3728
  "members": [
@@ -3823,56 +3783,43 @@
3823
3783
  {
3824
3784
  "type": "FIELD",
3825
3785
  "name": "introducer",
3826
- "content": {
3827
- "type": "SYMBOL",
3828
- "name": "text_introducer"
3829
- }
3830
- },
3831
- {
3832
- "type": "CHOICE",
3833
- "members": [
3834
- {
3835
- "type": "FIELD",
3836
- "name": "text",
3837
- "content": {
3838
- "type": "SYMBOL",
3839
- "name": "text"
3840
- }
3841
- },
3842
- {
3843
- "type": "SEQ",
3844
- "members": [
3845
- {
3846
- "type": "CHOICE",
3847
- "members": [
3848
- {
3849
- "type": "FIELD",
3850
- "name": "issue",
3851
- "content": {
3852
- "type": "ALIAS",
3853
- "content": {
3854
- "type": "SYMBOL",
3855
- "name": "_missing_text_issue"
3856
- },
3857
- "named": true,
3858
- "value": "syntax_issue"
3859
- }
3860
- },
3861
- {
3862
- "type": "BLANK"
3863
- }
3864
- ]
3865
- },
3866
- {
3867
- "type": "SYMBOL",
3868
- "name": "_text_end"
3869
- }
3870
- ]
3786
+ "content": {
3787
+ "type": "SYMBOL",
3788
+ "name": "text_introducer"
3789
+ }
3790
+ },
3791
+ {
3792
+ "type": "CHOICE",
3793
+ "members": [
3794
+ {
3795
+ "type": "FIELD",
3796
+ "name": "text",
3797
+ "content": {
3798
+ "type": "SYMBOL",
3799
+ "name": "text"
3800
+ }
3801
+ },
3802
+ {
3803
+ "type": "SYMBOL",
3804
+ "name": "_text_tail"
3871
3805
  }
3872
3806
  ]
3873
3807
  }
3874
3808
  ]
3875
3809
  },
3810
+ {
3811
+ "type": "FIELD",
3812
+ "name": "introducer",
3813
+ "content": {
3814
+ "type": "ALIAS",
3815
+ "content": {
3816
+ "type": "SYMBOL",
3817
+ "name": "_incomplete_text_introducer"
3818
+ },
3819
+ "named": true,
3820
+ "value": "text_introducer"
3821
+ }
3822
+ },
3876
3823
  {
3877
3824
  "type": "CHOICE",
3878
3825
  "members": [
@@ -3927,23 +3874,6 @@
3927
3874
  {
3928
3875
  "type": "CHOICE",
3929
3876
  "members": [
3930
- {
3931
- "type": "SEQ",
3932
- "members": [
3933
- {
3934
- "type": "SYMBOL",
3935
- "name": "_blanks"
3936
- },
3937
- {
3938
- "type": "FIELD",
3939
- "name": "rfile",
3940
- "content": {
3941
- "type": "SYMBOL",
3942
- "name": "rfile"
3943
- }
3944
- }
3945
- ]
3946
- },
3947
3877
  {
3948
3878
  "type": "SEQ",
3949
3879
  "members": [
@@ -3956,29 +3886,42 @@
3956
3886
  "members": [
3957
3887
  {
3958
3888
  "type": "FIELD",
3959
- "name": "issue",
3889
+ "name": "rfile",
3960
3890
  "content": {
3961
- "type": "ALIAS",
3962
- "content": {
3963
- "type": "SYMBOL",
3964
- "name": "_missing_rfile_issue"
3965
- },
3966
- "named": true,
3967
- "value": "syntax_issue"
3891
+ "type": "SYMBOL",
3892
+ "name": "rfile"
3968
3893
  }
3969
3894
  },
3970
3895
  {
3971
- "type": "FIELD",
3972
- "name": "issue",
3973
- "content": {
3974
- "type": "ALIAS",
3975
- "content": {
3976
- "type": "SYMBOL",
3977
- "name": "_nonconforming_missing_rfile_issue"
3896
+ "type": "CHOICE",
3897
+ "members": [
3898
+ {
3899
+ "type": "FIELD",
3900
+ "name": "issue",
3901
+ "content": {
3902
+ "type": "ALIAS",
3903
+ "content": {
3904
+ "type": "SYMBOL",
3905
+ "name": "_missing_rfile_issue"
3906
+ },
3907
+ "named": true,
3908
+ "value": "syntax_issue"
3909
+ }
3978
3910
  },
3979
- "named": true,
3980
- "value": "syntax_issue"
3981
- }
3911
+ {
3912
+ "type": "FIELD",
3913
+ "name": "issue",
3914
+ "content": {
3915
+ "type": "ALIAS",
3916
+ "content": {
3917
+ "type": "SYMBOL",
3918
+ "name": "_nonconforming_missing_rfile_issue"
3919
+ },
3920
+ "named": true,
3921
+ "value": "syntax_issue"
3922
+ }
3923
+ }
3924
+ ]
3982
3925
  }
3983
3926
  ]
3984
3927
  }
@@ -4076,8 +4019,8 @@
4076
4019
  "content": {
4077
4020
  "type": "ALIAS",
4078
4021
  "content": {
4079
- "type": "STRING",
4080
- "value": " "
4022
+ "type": "SYMBOL",
4023
+ "name": "_argument_separator"
4081
4024
  },
4082
4025
  "named": true,
4083
4026
  "value": "argument_separator"
@@ -4128,23 +4071,6 @@
4128
4071
  {
4129
4072
  "type": "CHOICE",
4130
4073
  "members": [
4131
- {
4132
- "type": "SEQ",
4133
- "members": [
4134
- {
4135
- "type": "SYMBOL",
4136
- "name": "_blanks"
4137
- },
4138
- {
4139
- "type": "FIELD",
4140
- "name": "wfile",
4141
- "content": {
4142
- "type": "SYMBOL",
4143
- "name": "wfile"
4144
- }
4145
- }
4146
- ]
4147
- },
4148
4074
  {
4149
4075
  "type": "SEQ",
4150
4076
  "members": [
@@ -4157,29 +4083,42 @@
4157
4083
  "members": [
4158
4084
  {
4159
4085
  "type": "FIELD",
4160
- "name": "issue",
4086
+ "name": "wfile",
4161
4087
  "content": {
4162
- "type": "ALIAS",
4163
- "content": {
4164
- "type": "SYMBOL",
4165
- "name": "_missing_wfile_issue"
4166
- },
4167
- "named": true,
4168
- "value": "syntax_issue"
4088
+ "type": "SYMBOL",
4089
+ "name": "wfile"
4169
4090
  }
4170
4091
  },
4171
4092
  {
4172
- "type": "FIELD",
4173
- "name": "issue",
4174
- "content": {
4175
- "type": "ALIAS",
4176
- "content": {
4177
- "type": "SYMBOL",
4178
- "name": "_nonconforming_missing_wfile_issue"
4093
+ "type": "CHOICE",
4094
+ "members": [
4095
+ {
4096
+ "type": "FIELD",
4097
+ "name": "issue",
4098
+ "content": {
4099
+ "type": "ALIAS",
4100
+ "content": {
4101
+ "type": "SYMBOL",
4102
+ "name": "_missing_wfile_issue"
4103
+ },
4104
+ "named": true,
4105
+ "value": "syntax_issue"
4106
+ }
4179
4107
  },
4180
- "named": true,
4181
- "value": "syntax_issue"
4182
- }
4108
+ {
4109
+ "type": "FIELD",
4110
+ "name": "issue",
4111
+ "content": {
4112
+ "type": "ALIAS",
4113
+ "content": {
4114
+ "type": "SYMBOL",
4115
+ "name": "_nonconforming_missing_wfile_issue"
4116
+ },
4117
+ "named": true,
4118
+ "value": "syntax_issue"
4119
+ }
4120
+ }
4121
+ ]
4183
4122
  }
4184
4123
  ]
4185
4124
  }
@@ -4308,40 +4247,6 @@
4308
4247
  }
4309
4248
  ]
4310
4249
  },
4311
- "comment_function": {
4312
- "type": "SEQ",
4313
- "members": [
4314
- {
4315
- "type": "FIELD",
4316
- "name": "verb",
4317
- "content": {
4318
- "type": "ALIAS",
4319
- "content": {
4320
- "type": "STRING",
4321
- "value": "#"
4322
- },
4323
- "named": true,
4324
- "value": "function_verb"
4325
- }
4326
- },
4327
- {
4328
- "type": "CHOICE",
4329
- "members": [
4330
- {
4331
- "type": "FIELD",
4332
- "name": "comment",
4333
- "content": {
4334
- "type": "SYMBOL",
4335
- "name": "comment"
4336
- }
4337
- },
4338
- {
4339
- "type": "BLANK"
4340
- }
4341
- ]
4342
- }
4343
- ]
4344
- },
4345
4250
  "_chainable_editing_command": {
4346
4251
  "type": "SEQ",
4347
4252
  "members": [
@@ -4349,170 +4254,86 @@
4349
4254
  "type": "CHOICE",
4350
4255
  "members": [
4351
4256
  {
4352
- "type": "CHOICE",
4257
+ "type": "SEQ",
4353
4258
  "members": [
4354
4259
  {
4355
- "type": "SEQ",
4356
- "members": [
4357
- {
4358
- "type": "CHOICE",
4359
- "members": [
4360
- {
4361
- "type": "SYMBOL",
4362
- "name": "_blanks"
4363
- },
4364
- {
4365
- "type": "BLANK"
4366
- }
4367
- ]
4368
- },
4369
- {
4370
- "type": "CHOICE",
4371
- "members": [
4372
- {
4373
- "type": "SEQ",
4374
- "members": [
4375
- {
4376
- "type": "FIELD",
4377
- "name": "addresses",
4378
- "content": {
4379
- "type": "ALIAS",
4380
- "content": {
4381
- "type": "SYMBOL",
4382
- "name": "_max1_address_clause"
4383
- },
4384
- "named": true,
4385
- "value": "address_clause"
4386
- }
4387
- },
4388
- {
4389
- "type": "CHOICE",
4390
- "members": [
4391
- {
4392
- "type": "SYMBOL",
4393
- "name": "_blanks"
4394
- },
4395
- {
4396
- "type": "BLANK"
4397
- }
4398
- ]
4399
- }
4400
- ]
4401
- },
4402
- {
4403
- "type": "BLANK"
4404
- }
4405
- ]
4406
- },
4407
- {
4408
- "type": "CHOICE",
4409
- "members": [
4410
- {
4411
- "type": "FIELD",
4412
- "name": "negation",
4413
- "content": {
4414
- "type": "SYMBOL",
4415
- "name": "negation"
4416
- }
4417
- },
4418
- {
4419
- "type": "BLANK"
4420
- }
4421
- ]
4422
- },
4423
- {
4424
- "type": "FIELD",
4425
- "name": "function",
4426
- "content": {
4427
- "type": "ALIAS",
4428
- "content": {
4429
- "type": "SYMBOL",
4430
- "name": "_chainable_1_address_function"
4431
- },
4432
- "named": true,
4433
- "value": "function"
4434
- }
4260
+ "type": "CHOICE",
4261
+ "members": [
4262
+ {
4263
+ "type": "SYMBOL",
4264
+ "name": "_blanks"
4265
+ },
4266
+ {
4267
+ "type": "BLANK"
4435
4268
  }
4436
4269
  ]
4437
4270
  },
4438
4271
  {
4439
- "type": "SEQ",
4272
+ "type": "CHOICE",
4440
4273
  "members": [
4441
4274
  {
4442
- "type": "CHOICE",
4275
+ "type": "SEQ",
4443
4276
  "members": [
4444
4277
  {
4445
- "type": "SYMBOL",
4446
- "name": "_blanks"
4278
+ "type": "FIELD",
4279
+ "name": "addresses",
4280
+ "content": {
4281
+ "type": "ALIAS",
4282
+ "content": {
4283
+ "type": "SYMBOL",
4284
+ "name": "_max1_address_clause"
4285
+ },
4286
+ "named": true,
4287
+ "value": "address_clause"
4288
+ }
4447
4289
  },
4448
4290
  {
4449
- "type": "BLANK"
4450
- }
4451
- ]
4452
- },
4453
- {
4454
- "type": "CHOICE",
4455
- "members": [
4456
- {
4457
- "type": "SEQ",
4291
+ "type": "CHOICE",
4458
4292
  "members": [
4459
4293
  {
4460
- "type": "FIELD",
4461
- "name": "addresses",
4462
- "content": {
4463
- "type": "SYMBOL",
4464
- "name": "address_clause"
4465
- }
4294
+ "type": "SYMBOL",
4295
+ "name": "_blanks"
4466
4296
  },
4467
4297
  {
4468
- "type": "CHOICE",
4469
- "members": [
4470
- {
4471
- "type": "SYMBOL",
4472
- "name": "_blanks"
4473
- },
4474
- {
4475
- "type": "BLANK"
4476
- }
4477
- ]
4298
+ "type": "BLANK"
4478
4299
  }
4479
4300
  ]
4480
- },
4481
- {
4482
- "type": "BLANK"
4483
4301
  }
4484
4302
  ]
4485
4303
  },
4486
4304
  {
4487
- "type": "CHOICE",
4488
- "members": [
4489
- {
4490
- "type": "FIELD",
4491
- "name": "negation",
4492
- "content": {
4493
- "type": "SYMBOL",
4494
- "name": "negation"
4495
- }
4496
- },
4497
- {
4498
- "type": "BLANK"
4499
- }
4500
- ]
4501
- },
4305
+ "type": "BLANK"
4306
+ }
4307
+ ]
4308
+ },
4309
+ {
4310
+ "type": "CHOICE",
4311
+ "members": [
4502
4312
  {
4503
4313
  "type": "FIELD",
4504
- "name": "function",
4314
+ "name": "negation",
4505
4315
  "content": {
4506
- "type": "ALIAS",
4507
- "content": {
4508
- "type": "SYMBOL",
4509
- "name": "_chainable_2_address_function"
4510
- },
4511
- "named": true,
4512
- "value": "function"
4316
+ "type": "SYMBOL",
4317
+ "name": "negation"
4513
4318
  }
4319
+ },
4320
+ {
4321
+ "type": "BLANK"
4514
4322
  }
4515
4323
  ]
4324
+ },
4325
+ {
4326
+ "type": "FIELD",
4327
+ "name": "function",
4328
+ "content": {
4329
+ "type": "ALIAS",
4330
+ "content": {
4331
+ "type": "SYMBOL",
4332
+ "name": "_chainable_1_address_function"
4333
+ },
4334
+ "named": true,
4335
+ "value": "function"
4336
+ }
4516
4337
  }
4517
4338
  ]
4518
4339
  },
@@ -4587,7 +4408,7 @@
4587
4408
  "type": "ALIAS",
4588
4409
  "content": {
4589
4410
  "type": "SYMBOL",
4590
- "name": "_chainable_substitute_function"
4411
+ "name": "_chainable_2_address_function"
4591
4412
  },
4592
4413
  "named": true,
4593
4414
  "value": "function"
@@ -4899,42 +4720,26 @@
4899
4720
  ]
4900
4721
  },
4901
4722
  "_recovered_line_terminated_editing_command": {
4902
- "type": "PREC_RIGHT",
4903
- "value": 0,
4904
- "content": {
4905
- "type": "SEQ",
4906
- "members": [
4907
- {
4908
- "type": "SYMBOL",
4909
- "name": "_line_terminated_editing_command"
4910
- },
4911
- {
4912
- "type": "FIELD",
4913
- "name": "issue",
4723
+ "type": "SEQ",
4724
+ "members": [
4725
+ {
4726
+ "type": "SYMBOL",
4727
+ "name": "_line_terminated_editing_command"
4728
+ },
4729
+ {
4730
+ "type": "FIELD",
4731
+ "name": "issue",
4732
+ "content": {
4733
+ "type": "ALIAS",
4914
4734
  "content": {
4915
- "type": "ALIAS",
4916
- "content": {
4917
- "type": "SYMBOL",
4918
- "name": "_forbidden_command_separator_issue"
4919
- },
4920
- "named": true,
4921
- "value": "syntax_issue"
4922
- }
4923
- },
4924
- {
4925
- "type": "CHOICE",
4926
- "members": [
4927
- {
4928
- "type": "SYMBOL",
4929
- "name": "_blanks"
4930
- },
4931
- {
4932
- "type": "BLANK"
4933
- }
4934
- ]
4735
+ "type": "SYMBOL",
4736
+ "name": "_forbidden_command_separator_issue"
4737
+ },
4738
+ "named": true,
4739
+ "value": "syntax_issue"
4935
4740
  }
4936
- ]
4937
- }
4741
+ }
4742
+ ]
4938
4743
  },
4939
4744
  "_recovered_editing_command": {
4940
4745
  "type": "CHOICE",
@@ -5089,61 +4894,6 @@
5089
4894
  }
5090
4895
  ]
5091
4896
  },
5092
- {
5093
- "type": "SEQ",
5094
- "members": [
5095
- {
5096
- "type": "CHOICE",
5097
- "members": [
5098
- {
5099
- "type": "SYMBOL",
5100
- "name": "_blanks"
5101
- },
5102
- {
5103
- "type": "BLANK"
5104
- }
5105
- ]
5106
- },
5107
- {
5108
- "type": "FIELD",
5109
- "name": "addresses",
5110
- "content": {
5111
- "type": "ALIAS",
5112
- "content": {
5113
- "type": "SYMBOL",
5114
- "name": "_double_address_clause"
5115
- },
5116
- "named": true,
5117
- "value": "address_clause"
5118
- }
5119
- },
5120
- {
5121
- "type": "CHOICE",
5122
- "members": [
5123
- {
5124
- "type": "SYMBOL",
5125
- "name": "_blanks"
5126
- },
5127
- {
5128
- "type": "BLANK"
5129
- }
5130
- ]
5131
- },
5132
- {
5133
- "type": "FIELD",
5134
- "name": "function",
5135
- "content": {
5136
- "type": "ALIAS",
5137
- "content": {
5138
- "type": "SYMBOL",
5139
- "name": "_reserved_unknown_function"
5140
- },
5141
- "named": true,
5142
- "value": "function"
5143
- }
5144
- }
5145
- ]
5146
- },
5147
4897
  {
5148
4898
  "type": "SEQ",
5149
4899
  "members": [
@@ -5166,22 +4916,27 @@
5166
4916
  "type": "SEQ",
5167
4917
  "members": [
5168
4918
  {
5169
- "type": "FIELD",
5170
- "name": "addresses",
5171
- "content": {
5172
- "type": "SYMBOL",
5173
- "name": "address_clause"
5174
- }
5175
- },
5176
- {
5177
- "type": "CHOICE",
4919
+ "type": "SEQ",
5178
4920
  "members": [
5179
4921
  {
5180
- "type": "SYMBOL",
5181
- "name": "_blanks"
4922
+ "type": "FIELD",
4923
+ "name": "addresses",
4924
+ "content": {
4925
+ "type": "SYMBOL",
4926
+ "name": "address_clause"
4927
+ }
5182
4928
  },
5183
4929
  {
5184
- "type": "BLANK"
4930
+ "type": "CHOICE",
4931
+ "members": [
4932
+ {
4933
+ "type": "SYMBOL",
4934
+ "name": "_blanks"
4935
+ },
4936
+ {
4937
+ "type": "BLANK"
4938
+ }
4939
+ ]
5185
4940
  }
5186
4941
  ]
5187
4942
  },
@@ -5339,15 +5094,6 @@
5339
5094
  }
5340
5095
  ]
5341
5096
  },
5342
- "_chainable_substitute_function": {
5343
- "type": "ALIAS",
5344
- "content": {
5345
- "type": "SYMBOL",
5346
- "name": "_substitute_function"
5347
- },
5348
- "named": true,
5349
- "value": "substitute_function"
5350
- },
5351
5097
  "negation": {
5352
5098
  "type": "SEQ",
5353
5099
  "members": [
@@ -5493,6 +5239,10 @@
5493
5239
  "type": "SYMBOL",
5494
5240
  "name": "print_first_line_function"
5495
5241
  },
5242
+ {
5243
+ "type": "SYMBOL",
5244
+ "name": "substitute_function"
5245
+ },
5496
5246
  {
5497
5247
  "type": "SYMBOL",
5498
5248
  "name": "exchange_function"
@@ -5555,22 +5305,12 @@
5555
5305
  ]
5556
5306
  },
5557
5307
  "dup_count": {
5558
- "type": "ALIAS",
5559
- "content": {
5560
- "type": "SYMBOL",
5561
- "name": "_regex_dup_count"
5562
- },
5563
- "named": true,
5564
- "value": "dup_count_token"
5308
+ "type": "SYMBOL",
5309
+ "name": "_regex_dup_count"
5565
5310
  },
5566
5311
  "ordinary_character": {
5567
- "type": "ALIAS",
5568
- "content": {
5569
- "type": "SYMBOL",
5570
- "name": "_regex_literal"
5571
- },
5572
- "named": true,
5573
- "value": "ordinary_character_token"
5312
+ "type": "SYMBOL",
5313
+ "name": "_regex_literal"
5574
5314
  },
5575
5315
  "quoted_character": {
5576
5316
  "type": "CHOICE",
@@ -5584,6 +5324,28 @@
5584
5324
  "named": true,
5585
5325
  "value": "quoted_character_token"
5586
5326
  },
5327
+ {
5328
+ "type": "SEQ",
5329
+ "members": [
5330
+ {
5331
+ "type": "SYMBOL",
5332
+ "name": "_escape_prefix"
5333
+ },
5334
+ {
5335
+ "type": "FIELD",
5336
+ "name": "issue",
5337
+ "content": {
5338
+ "type": "ALIAS",
5339
+ "content": {
5340
+ "type": "SYMBOL",
5341
+ "name": "_invalid_regular_expression_character_issue"
5342
+ },
5343
+ "named": true,
5344
+ "value": "syntax_issue"
5345
+ }
5346
+ }
5347
+ ]
5348
+ },
5587
5349
  {
5588
5350
  "type": "SYMBOL",
5589
5351
  "name": "escaped_delimiter"
@@ -5630,66 +5392,24 @@
5630
5392
  ]
5631
5393
  },
5632
5394
  "escaped_delimiter": {
5633
- "type": "FIELD",
5634
- "name": "token",
5635
- "content": {
5636
- "type": "ALIAS",
5637
- "content": {
5638
- "type": "SYMBOL",
5639
- "name": "_regex_escaped_delimiter"
5640
- },
5641
- "named": true,
5642
- "value": "escaped_delimiter_token"
5643
- }
5644
- },
5645
- "ambiguous_delimiter_escape": {
5646
- "type": "FIELD",
5647
- "name": "issue",
5648
- "content": {
5649
- "type": "ALIAS",
5650
- "content": {
5651
- "type": "SYMBOL",
5652
- "name": "_special_delimiter_escape_issue"
5653
- },
5654
- "named": true,
5655
- "value": "syntax_issue"
5656
- }
5395
+ "type": "SYMBOL",
5396
+ "name": "_regex_escaped_delimiter"
5657
5397
  },
5658
5398
  "sed_newline_escape": {
5659
- "type": "ALIAS",
5660
- "content": {
5661
- "type": "SYMBOL",
5662
- "name": "_regex_newline_escape"
5663
- },
5664
- "named": true,
5665
- "value": "sed_newline_escape_token"
5399
+ "type": "SYMBOL",
5400
+ "name": "_regex_newline_escape"
5666
5401
  },
5667
5402
  "period": {
5668
- "type": "ALIAS",
5669
- "content": {
5670
- "type": "SYMBOL",
5671
- "name": "_regex_period"
5672
- },
5673
- "named": true,
5674
- "value": "period_token"
5403
+ "type": "SYMBOL",
5404
+ "name": "_regex_period"
5675
5405
  },
5676
5406
  "left_anchor": {
5677
- "type": "ALIAS",
5678
- "content": {
5679
- "type": "SYMBOL",
5680
- "name": "_regex_beginning_anchor"
5681
- },
5682
- "named": true,
5683
- "value": "left_anchor_token"
5407
+ "type": "SYMBOL",
5408
+ "name": "_regex_beginning_anchor"
5684
5409
  },
5685
5410
  "right_anchor": {
5686
- "type": "ALIAS",
5687
- "content": {
5688
- "type": "SYMBOL",
5689
- "name": "_regex_end_anchor"
5690
- },
5691
- "named": true,
5692
- "value": "right_anchor_token"
5411
+ "type": "SYMBOL",
5412
+ "name": "_regex_end_anchor"
5693
5413
  },
5694
5414
  "bracket_expression": {
5695
5415
  "type": "SEQ",
@@ -5725,25 +5445,51 @@
5725
5445
  }
5726
5446
  },
5727
5447
  {
5728
- "type": "CHOICE",
5729
- "members": [
5730
- {
5731
- "type": "FIELD",
5732
- "name": "issue",
5733
- "content": {
5734
- "type": "ALIAS",
5735
- "content": {
5736
- "type": "SYMBOL",
5737
- "name": "_ambiguous_bracket_expression_issue"
5738
- },
5739
- "named": true,
5740
- "value": "syntax_issue"
5741
- }
5448
+ "type": "FIELD",
5449
+ "name": "closing",
5450
+ "content": {
5451
+ "type": "SYMBOL",
5452
+ "name": "close_bracket"
5453
+ }
5454
+ }
5455
+ ]
5456
+ },
5457
+ "_ambiguous_bracket_expression": {
5458
+ "type": "SEQ",
5459
+ "members": [
5460
+ {
5461
+ "type": "FIELD",
5462
+ "name": "opening",
5463
+ "content": {
5464
+ "type": "ALIAS",
5465
+ "content": {
5466
+ "type": "SYMBOL",
5467
+ "name": "_regex_bracket_open"
5742
5468
  },
5743
- {
5744
- "type": "BLANK"
5745
- }
5746
- ]
5469
+ "named": true,
5470
+ "value": "open_bracket"
5471
+ }
5472
+ },
5473
+ {
5474
+ "type": "FIELD",
5475
+ "name": "list",
5476
+ "content": {
5477
+ "type": "CHOICE",
5478
+ "members": [
5479
+ {
5480
+ "type": "SYMBOL",
5481
+ "name": "matching_list"
5482
+ },
5483
+ {
5484
+ "type": "SYMBOL",
5485
+ "name": "nonmatching_list"
5486
+ }
5487
+ ]
5488
+ }
5489
+ },
5490
+ {
5491
+ "type": "SYMBOL",
5492
+ "name": "_ambiguous_bracket_expression_marker"
5747
5493
  },
5748
5494
  {
5749
5495
  "type": "FIELD",
@@ -5755,6 +5501,28 @@
5755
5501
  }
5756
5502
  ]
5757
5503
  },
5504
+ "_bracket_expression": {
5505
+ "type": "CHOICE",
5506
+ "members": [
5507
+ {
5508
+ "type": "SYMBOL",
5509
+ "name": "bracket_expression"
5510
+ },
5511
+ {
5512
+ "type": "FIELD",
5513
+ "name": "issue",
5514
+ "content": {
5515
+ "type": "ALIAS",
5516
+ "content": {
5517
+ "type": "SYMBOL",
5518
+ "name": "_ambiguous_bracket_expression_issue"
5519
+ },
5520
+ "named": true,
5521
+ "value": "syntax_issue"
5522
+ }
5523
+ }
5524
+ ]
5525
+ },
5758
5526
  "close_bracket": {
5759
5527
  "type": "CHOICE",
5760
5528
  "members": [
@@ -6103,14 +5871,6 @@
6103
5871
  {
6104
5872
  "type": "FIELD",
6105
5873
  "name": "start",
6106
- "content": {
6107
- "type": "SYMBOL",
6108
- "name": "character_class"
6109
- }
6110
- },
6111
- {
6112
- "type": "FIELD",
6113
- "name": "issue",
6114
5874
  "content": {
6115
5875
  "type": "ALIAS",
6116
5876
  "content": {
@@ -6142,14 +5902,6 @@
6142
5902
  {
6143
5903
  "type": "FIELD",
6144
5904
  "name": "start",
6145
- "content": {
6146
- "type": "SYMBOL",
6147
- "name": "equivalence_class"
6148
- }
6149
- },
6150
- {
6151
- "type": "FIELD",
6152
- "name": "issue",
6153
5905
  "content": {
6154
5906
  "type": "ALIAS",
6155
5907
  "content": {
@@ -6176,56 +5928,30 @@
6176
5928
  ]
6177
5929
  },
6178
5930
  "_character_class_end_range": {
6179
- "type": "SEQ",
6180
- "members": [
6181
- {
6182
- "type": "FIELD",
6183
- "name": "issue",
6184
- "content": {
6185
- "type": "ALIAS",
6186
- "content": {
6187
- "type": "SYMBOL",
6188
- "name": "_character_class_range_end_issue"
6189
- },
6190
- "named": true,
6191
- "value": "syntax_issue"
6192
- }
5931
+ "type": "FIELD",
5932
+ "name": "term",
5933
+ "content": {
5934
+ "type": "ALIAS",
5935
+ "content": {
5936
+ "type": "SYMBOL",
5937
+ "name": "_character_class_range_end_issue"
6193
5938
  },
6194
- {
6195
- "type": "FIELD",
6196
- "name": "term",
6197
- "content": {
6198
- "type": "SYMBOL",
6199
- "name": "character_class"
6200
- }
6201
- }
6202
- ]
5939
+ "named": true,
5940
+ "value": "syntax_issue"
5941
+ }
6203
5942
  },
6204
5943
  "_equivalence_class_end_range": {
6205
- "type": "SEQ",
6206
- "members": [
6207
- {
6208
- "type": "FIELD",
6209
- "name": "issue",
6210
- "content": {
6211
- "type": "ALIAS",
6212
- "content": {
6213
- "type": "SYMBOL",
6214
- "name": "_equivalence_class_range_end_issue"
6215
- },
6216
- "named": true,
6217
- "value": "syntax_issue"
6218
- }
5944
+ "type": "FIELD",
5945
+ "name": "term",
5946
+ "content": {
5947
+ "type": "ALIAS",
5948
+ "content": {
5949
+ "type": "SYMBOL",
5950
+ "name": "_equivalence_class_range_end_issue"
6219
5951
  },
6220
- {
6221
- "type": "FIELD",
6222
- "name": "term",
6223
- "content": {
6224
- "type": "SYMBOL",
6225
- "name": "equivalence_class"
6226
- }
6227
- }
6228
- ]
5952
+ "named": true,
5953
+ "value": "syntax_issue"
5954
+ }
6229
5955
  },
6230
5956
  "start_range": {
6231
5957
  "type": "SEQ",
@@ -6267,13 +5993,31 @@
6267
5993
  ]
6268
5994
  },
6269
5995
  "collating_element": {
6270
- "type": "ALIAS",
6271
- "content": {
6272
- "type": "SYMBOL",
6273
- "name": "_regex_bracket_literal"
6274
- },
6275
- "named": true,
6276
- "value": "collating_element_token"
5996
+ "type": "CHOICE",
5997
+ "members": [
5998
+ {
5999
+ "type": "ALIAS",
6000
+ "content": {
6001
+ "type": "SYMBOL",
6002
+ "name": "_regex_bracket_literal"
6003
+ },
6004
+ "named": true,
6005
+ "value": "collating_element_token"
6006
+ },
6007
+ {
6008
+ "type": "FIELD",
6009
+ "name": "issue",
6010
+ "content": {
6011
+ "type": "ALIAS",
6012
+ "content": {
6013
+ "type": "SYMBOL",
6014
+ "name": "_invalid_regular_expression_character_issue"
6015
+ },
6016
+ "named": true,
6017
+ "value": "syntax_issue"
6018
+ }
6019
+ }
6020
+ ]
6277
6021
  },
6278
6022
  "collating_symbol": {
6279
6023
  "type": "SEQ",
@@ -6298,37 +6042,58 @@
6298
6042
  "type": "SEQ",
6299
6043
  "members": [
6300
6044
  {
6301
- "type": "FIELD",
6302
- "name": "element",
6045
+ "type": "REPEAT1",
6303
6046
  "content": {
6304
6047
  "type": "CHOICE",
6305
6048
  "members": [
6306
6049
  {
6307
- "type": "ALIAS",
6308
- "content": {
6309
- "type": "SYMBOL",
6310
- "name": "_regex_coll_elem_single"
6311
- },
6312
- "named": true,
6313
- "value": "coll_elem_single"
6314
- },
6315
- {
6316
- "type": "ALIAS",
6050
+ "type": "FIELD",
6051
+ "name": "element",
6317
6052
  "content": {
6318
- "type": "SYMBOL",
6319
- "name": "_regex_coll_elem_multi"
6320
- },
6321
- "named": true,
6322
- "value": "coll_elem_multi"
6053
+ "type": "CHOICE",
6054
+ "members": [
6055
+ {
6056
+ "type": "ALIAS",
6057
+ "content": {
6058
+ "type": "SYMBOL",
6059
+ "name": "_regex_coll_elem_single"
6060
+ },
6061
+ "named": true,
6062
+ "value": "coll_elem_single"
6063
+ },
6064
+ {
6065
+ "type": "ALIAS",
6066
+ "content": {
6067
+ "type": "SYMBOL",
6068
+ "name": "_regex_coll_elem_multi"
6069
+ },
6070
+ "named": true,
6071
+ "value": "coll_elem_multi"
6072
+ },
6073
+ {
6074
+ "type": "ALIAS",
6075
+ "content": {
6076
+ "type": "SYMBOL",
6077
+ "name": "_regex_meta_char"
6078
+ },
6079
+ "named": true,
6080
+ "value": "meta_char"
6081
+ }
6082
+ ]
6083
+ }
6323
6084
  },
6324
6085
  {
6325
- "type": "ALIAS",
6086
+ "type": "FIELD",
6087
+ "name": "issue",
6326
6088
  "content": {
6327
- "type": "SYMBOL",
6328
- "name": "_regex_meta_char"
6329
- },
6330
- "named": true,
6331
- "value": "meta_char"
6089
+ "type": "ALIAS",
6090
+ "content": {
6091
+ "type": "SYMBOL",
6092
+ "name": "_invalid_regular_expression_character_issue"
6093
+ },
6094
+ "named": true,
6095
+ "value": "syntax_issue"
6096
+ }
6332
6097
  }
6333
6098
  ]
6334
6099
  }
@@ -6504,28 +6269,49 @@
6504
6269
  "type": "SEQ",
6505
6270
  "members": [
6506
6271
  {
6507
- "type": "FIELD",
6508
- "name": "element",
6272
+ "type": "REPEAT1",
6509
6273
  "content": {
6510
6274
  "type": "CHOICE",
6511
6275
  "members": [
6512
6276
  {
6513
- "type": "ALIAS",
6277
+ "type": "FIELD",
6278
+ "name": "element",
6514
6279
  "content": {
6515
- "type": "SYMBOL",
6516
- "name": "_regex_coll_elem_single"
6517
- },
6518
- "named": true,
6519
- "value": "coll_elem_single"
6280
+ "type": "CHOICE",
6281
+ "members": [
6282
+ {
6283
+ "type": "ALIAS",
6284
+ "content": {
6285
+ "type": "SYMBOL",
6286
+ "name": "_regex_coll_elem_single"
6287
+ },
6288
+ "named": true,
6289
+ "value": "coll_elem_single"
6290
+ },
6291
+ {
6292
+ "type": "ALIAS",
6293
+ "content": {
6294
+ "type": "SYMBOL",
6295
+ "name": "_regex_coll_elem_multi"
6296
+ },
6297
+ "named": true,
6298
+ "value": "coll_elem_multi"
6299
+ }
6300
+ ]
6301
+ }
6520
6302
  },
6521
6303
  {
6522
- "type": "ALIAS",
6304
+ "type": "FIELD",
6305
+ "name": "issue",
6523
6306
  "content": {
6524
- "type": "SYMBOL",
6525
- "name": "_regex_coll_elem_multi"
6526
- },
6527
- "named": true,
6528
- "value": "coll_elem_multi"
6307
+ "type": "ALIAS",
6308
+ "content": {
6309
+ "type": "SYMBOL",
6310
+ "name": "_invalid_regular_expression_character_issue"
6311
+ },
6312
+ "named": true,
6313
+ "value": "syntax_issue"
6314
+ }
6529
6315
  }
6530
6316
  ]
6531
6317
  }
@@ -6701,16 +6487,50 @@
6701
6487
  "type": "SEQ",
6702
6488
  "members": [
6703
6489
  {
6704
- "type": "FIELD",
6705
- "name": "name",
6490
+ "type": "REPEAT1",
6706
6491
  "content": {
6707
- "type": "ALIAS",
6708
- "content": {
6709
- "type": "SYMBOL",
6710
- "name": "_regex_class_name"
6711
- },
6712
- "named": true,
6713
- "value": "class_name"
6492
+ "type": "CHOICE",
6493
+ "members": [
6494
+ {
6495
+ "type": "FIELD",
6496
+ "name": "name",
6497
+ "content": {
6498
+ "type": "ALIAS",
6499
+ "content": {
6500
+ "type": "SYMBOL",
6501
+ "name": "_regex_class_name"
6502
+ },
6503
+ "named": true,
6504
+ "value": "class_name"
6505
+ }
6506
+ },
6507
+ {
6508
+ "type": "FIELD",
6509
+ "name": "issue",
6510
+ "content": {
6511
+ "type": "ALIAS",
6512
+ "content": {
6513
+ "type": "SYMBOL",
6514
+ "name": "_invalid_regular_expression_character_issue"
6515
+ },
6516
+ "named": true,
6517
+ "value": "syntax_issue"
6518
+ }
6519
+ },
6520
+ {
6521
+ "type": "FIELD",
6522
+ "name": "issue",
6523
+ "content": {
6524
+ "type": "ALIAS",
6525
+ "content": {
6526
+ "type": "SYMBOL",
6527
+ "name": "_invalid_character_class_name_issue"
6528
+ },
6529
+ "named": true,
6530
+ "value": "syntax_issue"
6531
+ }
6532
+ }
6533
+ ]
6714
6534
  }
6715
6535
  },
6716
6536
  {
@@ -6791,191 +6611,82 @@
6791
6611
  "value": "syntax_issue"
6792
6612
  }
6793
6613
  }
6794
- ]
6795
- }
6796
- ]
6797
- },
6798
- {
6799
- "type": "SEQ",
6800
- "members": [
6801
- {
6802
- "type": "CHOICE",
6803
- "members": [
6804
- {
6805
- "type": "FIELD",
6806
- "name": "issue",
6807
- "content": {
6808
- "type": "ALIAS",
6809
- "content": {
6810
- "type": "SYMBOL",
6811
- "name": "_malformed_bracket_term_issue"
6812
- },
6813
- "named": true,
6814
- "value": "syntax_issue"
6815
- }
6816
- },
6817
- {
6818
- "type": "FIELD",
6819
- "name": "issue",
6820
- "content": {
6821
- "type": "ALIAS",
6822
- "content": {
6823
- "type": "SYMBOL",
6824
- "name": "_incomplete_bracket_term_issue"
6825
- },
6826
- "named": true,
6827
- "value": "syntax_issue"
6828
- }
6829
- }
6830
- ]
6831
- },
6832
- {
6833
- "type": "CHOICE",
6834
- "members": [
6835
- {
6836
- "type": "SEQ",
6837
- "members": [
6838
- {
6839
- "type": "ALIAS",
6840
- "content": {
6841
- "type": "SYMBOL",
6842
- "name": "_regex_colon_close"
6843
- },
6844
- "named": false,
6845
- "value": ":"
6846
- },
6847
- {
6848
- "type": "STRING",
6849
- "value": "]"
6850
- }
6851
- ]
6852
- },
6853
- {
6854
- "type": "BLANK"
6855
- }
6856
- ]
6857
- }
6858
- ]
6859
- }
6860
- ]
6861
- }
6862
- ]
6863
- },
6864
- "extended_reg_exp": {
6865
- "type": "CHOICE",
6866
- "members": [
6867
- {
6868
- "type": "SYMBOL",
6869
- "name": "ere_branch"
6870
- },
6871
- {
6872
- "type": "PREC_LEFT",
6873
- "value": 1,
6874
- "content": {
6875
- "type": "SEQ",
6876
- "members": [
6877
- {
6878
- "type": "FIELD",
6879
- "name": "left",
6880
- "content": {
6881
- "type": "SYMBOL",
6882
- "name": "extended_reg_exp"
6883
- }
6884
- },
6885
- {
6886
- "type": "FIELD",
6887
- "name": "operator",
6888
- "content": {
6889
- "type": "SYMBOL",
6890
- "name": "ere_alternation_operator"
6891
- }
6892
- },
6893
- {
6894
- "type": "FIELD",
6895
- "name": "right",
6896
- "content": {
6897
- "type": "SYMBOL",
6898
- "name": "ere_branch"
6899
- }
6900
- }
6901
- ]
6902
- }
6903
- },
6904
- {
6905
- "type": "PREC_LEFT",
6906
- "value": 1,
6907
- "content": {
6908
- "type": "SEQ",
6909
- "members": [
6910
- {
6911
- "type": "FIELD",
6912
- "name": "left",
6913
- "content": {
6914
- "type": "ALIAS",
6915
- "content": {
6916
- "type": "SYMBOL",
6917
- "name": "_empty_ere_branch"
6918
- },
6919
- "named": true,
6920
- "value": "ere_branch"
6921
- }
6922
- },
6923
- {
6924
- "type": "FIELD",
6925
- "name": "operator",
6926
- "content": {
6927
- "type": "SYMBOL",
6928
- "name": "ere_alternation_operator"
6929
- }
6930
- },
6931
- {
6932
- "type": "FIELD",
6933
- "name": "right",
6934
- "content": {
6935
- "type": "SYMBOL",
6936
- "name": "ere_branch"
6937
- }
6938
- }
6939
- ]
6940
- }
6941
- },
6942
- {
6943
- "type": "PREC_LEFT",
6944
- "value": 1,
6945
- "content": {
6946
- "type": "SEQ",
6947
- "members": [
6948
- {
6949
- "type": "FIELD",
6950
- "name": "left",
6951
- "content": {
6952
- "type": "SYMBOL",
6953
- "name": "extended_reg_exp"
6954
- }
6955
- },
6956
- {
6957
- "type": "FIELD",
6958
- "name": "operator",
6959
- "content": {
6960
- "type": "SYMBOL",
6961
- "name": "ere_alternation_operator"
6614
+ ]
6962
6615
  }
6963
- },
6964
- {
6965
- "type": "FIELD",
6966
- "name": "right",
6967
- "content": {
6968
- "type": "ALIAS",
6969
- "content": {
6970
- "type": "SYMBOL",
6971
- "name": "_empty_ere_branch"
6972
- },
6973
- "named": true,
6974
- "value": "ere_branch"
6616
+ ]
6617
+ },
6618
+ {
6619
+ "type": "SEQ",
6620
+ "members": [
6621
+ {
6622
+ "type": "CHOICE",
6623
+ "members": [
6624
+ {
6625
+ "type": "FIELD",
6626
+ "name": "issue",
6627
+ "content": {
6628
+ "type": "ALIAS",
6629
+ "content": {
6630
+ "type": "SYMBOL",
6631
+ "name": "_malformed_bracket_term_issue"
6632
+ },
6633
+ "named": true,
6634
+ "value": "syntax_issue"
6635
+ }
6636
+ },
6637
+ {
6638
+ "type": "FIELD",
6639
+ "name": "issue",
6640
+ "content": {
6641
+ "type": "ALIAS",
6642
+ "content": {
6643
+ "type": "SYMBOL",
6644
+ "name": "_incomplete_bracket_term_issue"
6645
+ },
6646
+ "named": true,
6647
+ "value": "syntax_issue"
6648
+ }
6649
+ }
6650
+ ]
6651
+ },
6652
+ {
6653
+ "type": "CHOICE",
6654
+ "members": [
6655
+ {
6656
+ "type": "SEQ",
6657
+ "members": [
6658
+ {
6659
+ "type": "ALIAS",
6660
+ "content": {
6661
+ "type": "SYMBOL",
6662
+ "name": "_regex_colon_close"
6663
+ },
6664
+ "named": false,
6665
+ "value": ":"
6666
+ },
6667
+ {
6668
+ "type": "STRING",
6669
+ "value": "]"
6670
+ }
6671
+ ]
6672
+ },
6673
+ {
6674
+ "type": "BLANK"
6675
+ }
6676
+ ]
6975
6677
  }
6976
- }
6977
- ]
6978
- }
6678
+ ]
6679
+ }
6680
+ ]
6681
+ }
6682
+ ]
6683
+ },
6684
+ "extended_reg_exp": {
6685
+ "type": "CHOICE",
6686
+ "members": [
6687
+ {
6688
+ "type": "SYMBOL",
6689
+ "name": "ere_branch"
6979
6690
  },
6980
6691
  {
6981
6692
  "type": "PREC_LEFT",
@@ -6987,13 +6698,22 @@
6987
6698
  "type": "FIELD",
6988
6699
  "name": "left",
6989
6700
  "content": {
6990
- "type": "ALIAS",
6991
- "content": {
6992
- "type": "SYMBOL",
6993
- "name": "_empty_ere_branch"
6994
- },
6995
- "named": true,
6996
- "value": "ere_branch"
6701
+ "type": "CHOICE",
6702
+ "members": [
6703
+ {
6704
+ "type": "SYMBOL",
6705
+ "name": "extended_reg_exp"
6706
+ },
6707
+ {
6708
+ "type": "ALIAS",
6709
+ "content": {
6710
+ "type": "SYMBOL",
6711
+ "name": "_empty_ere_branch"
6712
+ },
6713
+ "named": true,
6714
+ "value": "ere_branch"
6715
+ }
6716
+ ]
6997
6717
  }
6998
6718
  },
6999
6719
  {
@@ -7008,13 +6728,22 @@
7008
6728
  "type": "FIELD",
7009
6729
  "name": "right",
7010
6730
  "content": {
7011
- "type": "ALIAS",
7012
- "content": {
7013
- "type": "SYMBOL",
7014
- "name": "_empty_ere_branch"
7015
- },
7016
- "named": true,
7017
- "value": "ere_branch"
6731
+ "type": "CHOICE",
6732
+ "members": [
6733
+ {
6734
+ "type": "SYMBOL",
6735
+ "name": "ere_branch"
6736
+ },
6737
+ {
6738
+ "type": "ALIAS",
6739
+ "content": {
6740
+ "type": "SYMBOL",
6741
+ "name": "_empty_ere_branch"
6742
+ },
6743
+ "named": true,
6744
+ "value": "ere_branch"
6745
+ }
6746
+ ]
7018
6747
  }
7019
6748
  }
7020
6749
  ]
@@ -7054,13 +6783,8 @@
7054
6783
  ]
7055
6784
  },
7056
6785
  "ere_alternation_operator": {
7057
- "type": "ALIAS",
7058
- "content": {
7059
- "type": "SYMBOL",
7060
- "name": "_regex_alternation_operator"
7061
- },
7062
- "named": true,
7063
- "value": "ere_alternation_operator_token"
6786
+ "type": "SYMBOL",
6787
+ "name": "_regex_alternation_operator"
7064
6788
  },
7065
6789
  "ere_branch": {
7066
6790
  "type": "CHOICE",
@@ -7206,8 +6930,22 @@
7206
6930
  "type": "FIELD",
7207
6931
  "name": "operator",
7208
6932
  "content": {
7209
- "type": "SYMBOL",
7210
- "name": "ere_dupl_symbol"
6933
+ "type": "CHOICE",
6934
+ "members": [
6935
+ {
6936
+ "type": "SYMBOL",
6937
+ "name": "ere_dupl_symbol"
6938
+ },
6939
+ {
6940
+ "type": "ALIAS",
6941
+ "content": {
6942
+ "type": "SYMBOL",
6943
+ "name": "_adjacent_duplication_symbol_issue"
6944
+ },
6945
+ "named": true,
6946
+ "value": "syntax_issue"
6947
+ }
6948
+ ]
7211
6949
  }
7212
6950
  }
7213
6951
  ]
@@ -7217,8 +6955,13 @@
7217
6955
  "type": "FIELD",
7218
6956
  "name": "operator",
7219
6957
  "content": {
7220
- "type": "SYMBOL",
7221
- "name": "leading_ere_dupl_symbol"
6958
+ "type": "ALIAS",
6959
+ "content": {
6960
+ "type": "SYMBOL",
6961
+ "name": "_leading_duplication_symbol_issue"
6962
+ },
6963
+ "named": true,
6964
+ "value": "syntax_issue"
7222
6965
  }
7223
6966
  }
7224
6967
  ]
@@ -7266,6 +7009,19 @@
7266
7009
  "one_char_or_coll_elem_ere": {
7267
7010
  "type": "CHOICE",
7268
7011
  "members": [
7012
+ {
7013
+ "type": "FIELD",
7014
+ "name": "issue",
7015
+ "content": {
7016
+ "type": "ALIAS",
7017
+ "content": {
7018
+ "type": "SYMBOL",
7019
+ "name": "_invalid_regular_expression_character_issue"
7020
+ },
7021
+ "named": true,
7022
+ "value": "syntax_issue"
7023
+ }
7024
+ },
7269
7025
  {
7270
7026
  "type": "SYMBOL",
7271
7027
  "name": "ordinary_character"
@@ -7284,11 +7040,20 @@
7284
7040
  },
7285
7041
  {
7286
7042
  "type": "SYMBOL",
7287
- "name": "bracket_expression"
7043
+ "name": "_bracket_expression"
7288
7044
  },
7289
7045
  {
7290
- "type": "SYMBOL",
7291
- "name": "ambiguous_delimiter_escape"
7046
+ "type": "FIELD",
7047
+ "name": "issue",
7048
+ "content": {
7049
+ "type": "ALIAS",
7050
+ "content": {
7051
+ "type": "SYMBOL",
7052
+ "name": "_special_delimiter_escape_issue"
7053
+ },
7054
+ "named": true,
7055
+ "value": "syntax_issue"
7056
+ }
7292
7057
  }
7293
7058
  ]
7294
7059
  },
@@ -7299,120 +7064,35 @@
7299
7064
  "type": "CHOICE",
7300
7065
  "members": [
7301
7066
  {
7302
- "type": "CHOICE",
7303
- "members": [
7304
- {
7305
- "type": "ALIAS",
7306
- "content": {
7307
- "type": "SYMBOL",
7308
- "name": "_regex_zero_or_more"
7309
- },
7310
- "named": true,
7311
- "value": "zero_or_more_operator"
7312
- },
7313
- {
7314
- "type": "ALIAS",
7315
- "content": {
7316
- "type": "SYMBOL",
7317
- "name": "_regex_one_or_more"
7318
- },
7319
- "named": true,
7320
- "value": "one_or_more_operator"
7321
- },
7322
- {
7323
- "type": "ALIAS",
7324
- "content": {
7325
- "type": "SYMBOL",
7326
- "name": "_regex_zero_or_one"
7327
- },
7328
- "named": true,
7329
- "value": "zero_or_one_operator"
7330
- },
7331
- {
7332
- "type": "SYMBOL",
7333
- "name": "_ere_interval"
7334
- }
7335
- ]
7336
- },
7337
- {
7338
- "type": "SEQ",
7339
- "members": [
7340
- {
7341
- "type": "FIELD",
7342
- "name": "issue",
7343
- "content": {
7344
- "type": "ALIAS",
7345
- "content": {
7346
- "type": "SYMBOL",
7347
- "name": "_adjacent_duplication_symbol_issue"
7348
- },
7349
- "named": true,
7350
- "value": "syntax_issue"
7351
- }
7352
- },
7353
- {
7354
- "type": "CHOICE",
7355
- "members": [
7356
- {
7357
- "type": "ALIAS",
7358
- "content": {
7359
- "type": "SYMBOL",
7360
- "name": "_regex_zero_or_more"
7361
- },
7362
- "named": true,
7363
- "value": "zero_or_more_operator"
7364
- },
7365
- {
7366
- "type": "ALIAS",
7367
- "content": {
7368
- "type": "SYMBOL",
7369
- "name": "_regex_one_or_more"
7370
- },
7371
- "named": true,
7372
- "value": "one_or_more_operator"
7373
- },
7374
- {
7375
- "type": "ALIAS",
7376
- "content": {
7377
- "type": "SYMBOL",
7378
- "name": "_regex_zero_or_one"
7379
- },
7380
- "named": true,
7381
- "value": "zero_or_one_operator"
7382
- },
7383
- {
7384
- "type": "SYMBOL",
7385
- "name": "_ere_interval"
7386
- }
7387
- ]
7388
- }
7389
- ]
7067
+ "type": "ALIAS",
7068
+ "content": {
7069
+ "type": "SYMBOL",
7070
+ "name": "_regex_zero_or_more"
7071
+ },
7072
+ "named": true,
7073
+ "value": "zero_or_more_operator"
7390
7074
  },
7391
7075
  {
7392
- "type": "FIELD",
7393
- "name": "issue",
7076
+ "type": "ALIAS",
7394
7077
  "content": {
7395
- "type": "ALIAS",
7396
- "content": {
7397
- "type": "SYMBOL",
7398
- "name": "_malformed_interval_issue"
7399
- },
7400
- "named": true,
7401
- "value": "syntax_issue"
7402
- }
7078
+ "type": "SYMBOL",
7079
+ "name": "_regex_one_or_more"
7080
+ },
7081
+ "named": true,
7082
+ "value": "one_or_more_operator"
7403
7083
  },
7404
7084
  {
7405
- "type": "FIELD",
7406
- "name": "issue",
7085
+ "type": "ALIAS",
7407
7086
  "content": {
7408
- "type": "ALIAS",
7409
- "content": {
7410
- "type": "SYMBOL",
7411
- "name": "_incomplete_interval_issue"
7412
- },
7413
- "named": true,
7414
- "value": "syntax_issue"
7415
- }
7087
+ "type": "SYMBOL",
7088
+ "name": "_regex_zero_or_one"
7089
+ },
7090
+ "named": true,
7091
+ "value": "zero_or_one_operator"
7092
+ },
7093
+ {
7094
+ "type": "SYMBOL",
7095
+ "name": "_ere_interval"
7416
7096
  }
7417
7097
  ]
7418
7098
  },
@@ -7519,268 +7199,119 @@
7519
7199
  "name": "_regex_interval_close"
7520
7200
  },
7521
7201
  "named": true,
7522
- "value": "close_brace"
7523
- }
7524
- },
7525
- {
7526
- "type": "SEQ",
7527
- "members": [
7528
- {
7529
- "type": "FIELD",
7530
- "name": "issue",
7531
- "content": {
7532
- "type": "ALIAS",
7533
- "content": {
7534
- "type": "SYMBOL",
7535
- "name": "_malformed_interval_issue"
7536
- },
7537
- "named": true,
7538
- "value": "syntax_issue"
7539
- }
7540
- },
7541
- {
7542
- "type": "CHOICE",
7543
- "members": [
7544
- {
7545
- "type": "FIELD",
7546
- "name": "closing",
7547
- "content": {
7548
- "type": "ALIAS",
7549
- "content": {
7550
- "type": "SYMBOL",
7551
- "name": "_regex_interval_close"
7552
- },
7553
- "named": true,
7554
- "value": "close_brace"
7555
- }
7556
- },
7557
- {
7558
- "type": "BLANK"
7559
- }
7560
- ]
7561
- }
7562
- ]
7563
- },
7564
- {
7565
- "type": "FIELD",
7566
- "name": "issue",
7567
- "content": {
7568
- "type": "ALIAS",
7569
- "content": {
7570
- "type": "SYMBOL",
7571
- "name": "_incomplete_interval_issue"
7572
- },
7573
- "named": true,
7574
- "value": "syntax_issue"
7575
- }
7576
- }
7577
- ]
7578
- }
7579
- ]
7580
- },
7581
- {
7582
- "type": "SEQ",
7583
- "members": [
7584
- {
7585
- "type": "CHOICE",
7586
- "members": [
7587
- {
7588
- "type": "FIELD",
7589
- "name": "issue",
7590
- "content": {
7591
- "type": "ALIAS",
7592
- "content": {
7593
- "type": "SYMBOL",
7594
- "name": "_malformed_interval_issue"
7595
- },
7596
- "named": true,
7597
- "value": "syntax_issue"
7598
- }
7599
- },
7600
- {
7601
- "type": "FIELD",
7602
- "name": "issue",
7603
- "content": {
7604
- "type": "ALIAS",
7605
- "content": {
7606
- "type": "SYMBOL",
7607
- "name": "_incomplete_interval_issue"
7608
- },
7609
- "named": true,
7610
- "value": "syntax_issue"
7611
- }
7612
- }
7613
- ]
7614
- },
7615
- {
7616
- "type": "CHOICE",
7617
- "members": [
7618
- {
7619
- "type": "FIELD",
7620
- "name": "closing",
7621
- "content": {
7622
- "type": "ALIAS",
7623
- "content": {
7624
- "type": "SYMBOL",
7625
- "name": "_regex_interval_close"
7626
- },
7627
- "named": true,
7628
- "value": "close_brace"
7629
- }
7630
- },
7631
- {
7632
- "type": "BLANK"
7633
- }
7634
- ]
7635
- }
7636
- ]
7637
- }
7638
- ]
7639
- }
7640
- ]
7641
- },
7642
- "repetition_modifier": {
7643
- "type": "SYMBOL",
7644
- "name": "_regex_repetition_modifier"
7645
- },
7646
- "_leading_ere_dupl_symbol": {
7647
- "type": "SEQ",
7648
- "members": [
7649
- {
7650
- "type": "CHOICE",
7651
- "members": [
7652
- {
7653
- "type": "ALIAS",
7654
- "content": {
7655
- "type": "SYMBOL",
7656
- "name": "_regex_zero_or_more"
7657
- },
7658
- "named": true,
7659
- "value": "zero_or_more_operator"
7660
- },
7661
- {
7662
- "type": "ALIAS",
7663
- "content": {
7664
- "type": "SYMBOL",
7665
- "name": "_regex_one_or_more"
7666
- },
7667
- "named": true,
7668
- "value": "one_or_more_operator"
7669
- },
7670
- {
7671
- "type": "ALIAS",
7672
- "content": {
7673
- "type": "SYMBOL",
7674
- "name": "_regex_zero_or_one"
7675
- },
7676
- "named": true,
7677
- "value": "zero_or_one_operator"
7678
- },
7679
- {
7680
- "type": "SYMBOL",
7681
- "name": "_ere_interval"
7682
- }
7683
- ]
7684
- },
7685
- {
7686
- "type": "CHOICE",
7687
- "members": [
7688
- {
7689
- "type": "FIELD",
7690
- "name": "modifier",
7691
- "content": {
7692
- "type": "SYMBOL",
7693
- "name": "repetition_modifier"
7694
- }
7695
- },
7696
- {
7697
- "type": "BLANK"
7698
- }
7699
- ]
7700
- }
7701
- ]
7702
- },
7703
- "leading_ere_dupl_symbol": {
7704
- "type": "CHOICE",
7705
- "members": [
7706
- {
7707
- "type": "SEQ",
7708
- "members": [
7709
- {
7710
- "type": "FIELD",
7711
- "name": "issue",
7712
- "content": {
7713
- "type": "ALIAS",
7714
- "content": {
7715
- "type": "SYMBOL",
7716
- "name": "_leading_duplication_symbol_issue"
7717
- },
7718
- "named": true,
7719
- "value": "syntax_issue"
7720
- }
7721
- },
7722
- {
7723
- "type": "FIELD",
7724
- "name": "operator",
7725
- "content": {
7726
- "type": "ALIAS",
7727
- "content": {
7728
- "type": "SYMBOL",
7729
- "name": "_leading_ere_dupl_symbol"
7730
- },
7731
- "named": true,
7732
- "value": "ere_dupl_symbol"
7733
- }
7734
- }
7735
- ]
7736
- },
7737
- {
7738
- "type": "SEQ",
7739
- "members": [
7740
- {
7741
- "type": "CHOICE",
7742
- "members": [
7743
- {
7744
- "type": "FIELD",
7745
- "name": "issue",
7746
- "content": {
7747
- "type": "ALIAS",
7748
- "content": {
7749
- "type": "SYMBOL",
7750
- "name": "_malformed_interval_issue"
7202
+ "value": "close_brace"
7203
+ }
7751
7204
  },
7752
- "named": true,
7753
- "value": "syntax_issue"
7754
- }
7755
- },
7756
- {
7757
- "type": "FIELD",
7758
- "name": "issue",
7759
- "content": {
7760
- "type": "ALIAS",
7761
- "content": {
7762
- "type": "SYMBOL",
7763
- "name": "_incomplete_interval_issue"
7205
+ {
7206
+ "type": "SEQ",
7207
+ "members": [
7208
+ {
7209
+ "type": "FIELD",
7210
+ "name": "issue",
7211
+ "content": {
7212
+ "type": "ALIAS",
7213
+ "content": {
7214
+ "type": "SYMBOL",
7215
+ "name": "_malformed_interval_issue"
7216
+ },
7217
+ "named": true,
7218
+ "value": "syntax_issue"
7219
+ }
7220
+ },
7221
+ {
7222
+ "type": "CHOICE",
7223
+ "members": [
7224
+ {
7225
+ "type": "FIELD",
7226
+ "name": "closing",
7227
+ "content": {
7228
+ "type": "ALIAS",
7229
+ "content": {
7230
+ "type": "SYMBOL",
7231
+ "name": "_regex_interval_close"
7232
+ },
7233
+ "named": true,
7234
+ "value": "close_brace"
7235
+ }
7236
+ },
7237
+ {
7238
+ "type": "BLANK"
7239
+ }
7240
+ ]
7241
+ }
7242
+ ]
7764
7243
  },
7765
- "named": true,
7766
- "value": "syntax_issue"
7767
- }
7244
+ {
7245
+ "type": "FIELD",
7246
+ "name": "issue",
7247
+ "content": {
7248
+ "type": "ALIAS",
7249
+ "content": {
7250
+ "type": "SYMBOL",
7251
+ "name": "_incomplete_interval_issue"
7252
+ },
7253
+ "named": true,
7254
+ "value": "syntax_issue"
7255
+ }
7256
+ }
7257
+ ]
7768
7258
  }
7769
7259
  ]
7770
7260
  },
7771
7261
  {
7772
- "type": "CHOICE",
7262
+ "type": "SEQ",
7773
7263
  "members": [
7774
7264
  {
7775
- "type": "FIELD",
7776
- "name": "modifier",
7777
- "content": {
7778
- "type": "SYMBOL",
7779
- "name": "repetition_modifier"
7780
- }
7265
+ "type": "CHOICE",
7266
+ "members": [
7267
+ {
7268
+ "type": "FIELD",
7269
+ "name": "issue",
7270
+ "content": {
7271
+ "type": "ALIAS",
7272
+ "content": {
7273
+ "type": "SYMBOL",
7274
+ "name": "_malformed_interval_issue"
7275
+ },
7276
+ "named": true,
7277
+ "value": "syntax_issue"
7278
+ }
7279
+ },
7280
+ {
7281
+ "type": "FIELD",
7282
+ "name": "issue",
7283
+ "content": {
7284
+ "type": "ALIAS",
7285
+ "content": {
7286
+ "type": "SYMBOL",
7287
+ "name": "_incomplete_interval_issue"
7288
+ },
7289
+ "named": true,
7290
+ "value": "syntax_issue"
7291
+ }
7292
+ }
7293
+ ]
7781
7294
  },
7782
7295
  {
7783
- "type": "BLANK"
7296
+ "type": "CHOICE",
7297
+ "members": [
7298
+ {
7299
+ "type": "FIELD",
7300
+ "name": "closing",
7301
+ "content": {
7302
+ "type": "ALIAS",
7303
+ "content": {
7304
+ "type": "SYMBOL",
7305
+ "name": "_regex_interval_close"
7306
+ },
7307
+ "named": true,
7308
+ "value": "close_brace"
7309
+ }
7310
+ },
7311
+ {
7312
+ "type": "BLANK"
7313
+ }
7314
+ ]
7784
7315
  }
7785
7316
  ]
7786
7317
  }
@@ -7788,6 +7319,10 @@
7788
7319
  }
7789
7320
  ]
7790
7321
  },
7322
+ "repetition_modifier": {
7323
+ "type": "SYMBOL",
7324
+ "name": "_regex_repetition_modifier"
7325
+ },
7791
7326
  "_malformed_bracket_term_reason": {
7792
7327
  "type": "SYMBOL",
7793
7328
  "name": "_regex_malformed_bracket_term"
@@ -7810,9 +7345,89 @@
7810
7345
  "named": true,
7811
7346
  "value": "undefined_syntax"
7812
7347
  },
7813
- "_character_class_range_start_reason": {
7348
+ "_invalid_character_class_name_reason": {
7349
+ "type": "ALIAS",
7350
+ "content": {
7351
+ "type": "SYMBOL",
7352
+ "name": "_regex_invalid_class_name"
7353
+ },
7354
+ "named": true,
7355
+ "value": "class_name"
7356
+ },
7357
+ "_invalid_character_class_name_outcome": {
7358
+ "type": "ALIAS",
7359
+ "content": {
7360
+ "type": "SYMBOL",
7361
+ "name": "_invalid_character_class_name_reason"
7362
+ },
7363
+ "named": true,
7364
+ "value": "malformed_bracket_term"
7365
+ },
7366
+ "_invalid_character_class_name_issue": {
7367
+ "type": "ALIAS",
7368
+ "content": {
7369
+ "type": "SYMBOL",
7370
+ "name": "_invalid_character_class_name_outcome"
7371
+ },
7372
+ "named": true,
7373
+ "value": "undefined_syntax"
7374
+ },
7375
+ "_nul_character_reason": {
7814
7376
  "type": "SYMBOL",
7815
- "name": "_nonportable_range_start_marker"
7377
+ "name": "_nul_character"
7378
+ },
7379
+ "_nul_character_outcome": {
7380
+ "type": "ALIAS",
7381
+ "content": {
7382
+ "type": "SYMBOL",
7383
+ "name": "_nul_character_reason"
7384
+ },
7385
+ "named": true,
7386
+ "value": "nul_character"
7387
+ },
7388
+ "_nul_character_issue": {
7389
+ "type": "ALIAS",
7390
+ "content": {
7391
+ "type": "SYMBOL",
7392
+ "name": "_nul_character_outcome"
7393
+ },
7394
+ "named": true,
7395
+ "value": "nonconforming_syntax"
7396
+ },
7397
+ "_invalid_regular_expression_character_reason": {
7398
+ "type": "SYMBOL",
7399
+ "name": "_invalid_character"
7400
+ },
7401
+ "_invalid_regular_expression_character_outcome": {
7402
+ "type": "ALIAS",
7403
+ "content": {
7404
+ "type": "SYMBOL",
7405
+ "name": "_invalid_regular_expression_character_reason"
7406
+ },
7407
+ "named": true,
7408
+ "value": "invalid_regular_expression_character"
7409
+ },
7410
+ "_invalid_regular_expression_character_issue": {
7411
+ "type": "ALIAS",
7412
+ "content": {
7413
+ "type": "SYMBOL",
7414
+ "name": "_invalid_regular_expression_character_outcome"
7415
+ },
7416
+ "named": true,
7417
+ "value": "invalid_syntax"
7418
+ },
7419
+ "_character_class_range_start_reason": {
7420
+ "type": "SEQ",
7421
+ "members": [
7422
+ {
7423
+ "type": "SYMBOL",
7424
+ "name": "character_class"
7425
+ },
7426
+ {
7427
+ "type": "SYMBOL",
7428
+ "name": "_nonportable_range_start_marker"
7429
+ }
7430
+ ]
7816
7431
  },
7817
7432
  "_character_class_range_start_outcome": {
7818
7433
  "type": "ALIAS",
@@ -7833,8 +7448,17 @@
7833
7448
  "value": "undefined_syntax"
7834
7449
  },
7835
7450
  "_character_class_range_end_reason": {
7836
- "type": "SYMBOL",
7837
- "name": "_nonportable_range_end_marker"
7451
+ "type": "SEQ",
7452
+ "members": [
7453
+ {
7454
+ "type": "SYMBOL",
7455
+ "name": "_nonportable_range_end_marker"
7456
+ },
7457
+ {
7458
+ "type": "SYMBOL",
7459
+ "name": "character_class"
7460
+ }
7461
+ ]
7838
7462
  },
7839
7463
  "_character_class_range_end_outcome": {
7840
7464
  "type": "ALIAS",
@@ -8053,8 +7677,33 @@
8053
7677
  "value": "undefined_syntax"
8054
7678
  },
8055
7679
  "_malformed_interval_reason": {
8056
- "type": "SYMBOL",
8057
- "name": "_regex_invalid_interval"
7680
+ "type": "PREC_RIGHT",
7681
+ "value": 0,
7682
+ "content": {
7683
+ "type": "REPEAT1",
7684
+ "content": {
7685
+ "type": "CHOICE",
7686
+ "members": [
7687
+ {
7688
+ "type": "SYMBOL",
7689
+ "name": "_regex_invalid_interval"
7690
+ },
7691
+ {
7692
+ "type": "FIELD",
7693
+ "name": "issue",
7694
+ "content": {
7695
+ "type": "ALIAS",
7696
+ "content": {
7697
+ "type": "SYMBOL",
7698
+ "name": "_invalid_regular_expression_character_issue"
7699
+ },
7700
+ "named": true,
7701
+ "value": "syntax_issue"
7702
+ }
7703
+ }
7704
+ ]
7705
+ }
7706
+ }
8058
7707
  },
8059
7708
  "_malformed_interval_outcome": {
8060
7709
  "type": "ALIAS",
@@ -8075,8 +7724,21 @@
8075
7724
  "value": "undefined_syntax"
8076
7725
  },
8077
7726
  "_leading_duplication_symbol_reason": {
8078
- "type": "SYMBOL",
8079
- "name": "_regex_leading_duplication_marker"
7727
+ "type": "SEQ",
7728
+ "members": [
7729
+ {
7730
+ "type": "SYMBOL",
7731
+ "name": "_regex_leading_duplication_marker"
7732
+ },
7733
+ {
7734
+ "type": "FIELD",
7735
+ "name": "operator",
7736
+ "content": {
7737
+ "type": "SYMBOL",
7738
+ "name": "ere_dupl_symbol"
7739
+ }
7740
+ }
7741
+ ]
8080
7742
  },
8081
7743
  "_leading_duplication_symbol_outcome": {
8082
7744
  "type": "ALIAS",
@@ -8097,8 +7759,21 @@
8097
7759
  "value": "undefined_syntax"
8098
7760
  },
8099
7761
  "_adjacent_duplication_symbol_reason": {
8100
- "type": "SYMBOL",
8101
- "name": "_regex_adjacent_duplication_marker"
7762
+ "type": "SEQ",
7763
+ "members": [
7764
+ {
7765
+ "type": "SYMBOL",
7766
+ "name": "_regex_adjacent_duplication_marker"
7767
+ },
7768
+ {
7769
+ "type": "FIELD",
7770
+ "name": "operator",
7771
+ "content": {
7772
+ "type": "SYMBOL",
7773
+ "name": "ere_dupl_symbol"
7774
+ }
7775
+ }
7776
+ ]
8102
7777
  },
8103
7778
  "_adjacent_duplication_symbol_outcome": {
8104
7779
  "type": "ALIAS",
@@ -8185,8 +7860,35 @@
8185
7860
  "value": "undefined_syntax"
8186
7861
  },
8187
7862
  "_undefined_translation_escape_reason": {
8188
- "type": "SYMBOL",
8189
- "name": "_translate_nonportable_escape"
7863
+ "type": "CHOICE",
7864
+ "members": [
7865
+ {
7866
+ "type": "SYMBOL",
7867
+ "name": "_translate_nonportable_escape"
7868
+ },
7869
+ {
7870
+ "type": "SEQ",
7871
+ "members": [
7872
+ {
7873
+ "type": "SYMBOL",
7874
+ "name": "_escape_prefix"
7875
+ },
7876
+ {
7877
+ "type": "FIELD",
7878
+ "name": "issue",
7879
+ "content": {
7880
+ "type": "ALIAS",
7881
+ "content": {
7882
+ "type": "SYMBOL",
7883
+ "name": "_nul_character_issue"
7884
+ },
7885
+ "named": true,
7886
+ "value": "syntax_issue"
7887
+ }
7888
+ }
7889
+ ]
7890
+ }
7891
+ ]
8190
7892
  },
8191
7893
  "_undefined_translation_escape_outcome": {
8192
7894
  "type": "ALIAS",
@@ -8207,8 +7909,17 @@
8207
7909
  "value": "undefined_syntax"
8208
7910
  },
8209
7911
  "_equivalence_class_range_start_reason": {
8210
- "type": "SYMBOL",
8211
- "name": "_nonportable_range_start_marker"
7912
+ "type": "SEQ",
7913
+ "members": [
7914
+ {
7915
+ "type": "SYMBOL",
7916
+ "name": "equivalence_class"
7917
+ },
7918
+ {
7919
+ "type": "SYMBOL",
7920
+ "name": "_nonportable_range_start_marker"
7921
+ }
7922
+ ]
8212
7923
  },
8213
7924
  "_equivalence_class_range_start_outcome": {
8214
7925
  "type": "ALIAS",
@@ -8229,8 +7940,17 @@
8229
7940
  "value": "unspecified_syntax"
8230
7941
  },
8231
7942
  "_equivalence_class_range_end_reason": {
8232
- "type": "SYMBOL",
8233
- "name": "_nonportable_range_end_marker"
7943
+ "type": "SEQ",
7944
+ "members": [
7945
+ {
7946
+ "type": "SYMBOL",
7947
+ "name": "_nonportable_range_end_marker"
7948
+ },
7949
+ {
7950
+ "type": "SYMBOL",
7951
+ "name": "equivalence_class"
7952
+ }
7953
+ ]
8234
7954
  },
8235
7955
  "_equivalence_class_range_end_outcome": {
8236
7956
  "type": "ALIAS",
@@ -8251,8 +7971,13 @@
8251
7971
  "value": "unspecified_syntax"
8252
7972
  },
8253
7973
  "_ambiguous_bracket_expression_reason": {
8254
- "type": "SYMBOL",
8255
- "name": "_ambiguous_bracket_expression_marker"
7974
+ "type": "ALIAS",
7975
+ "content": {
7976
+ "type": "SYMBOL",
7977
+ "name": "_ambiguous_bracket_expression"
7978
+ },
7979
+ "named": true,
7980
+ "value": "bracket_expression"
8256
7981
  },
8257
7982
  "_ambiguous_bracket_expression_outcome": {
8258
7983
  "type": "ALIAS",
@@ -8303,8 +8028,35 @@
8303
8028
  "value": "unspecified_syntax"
8304
8029
  },
8305
8030
  "_unspecified_replacement_escape_reason": {
8306
- "type": "SYMBOL",
8307
- "name": "_replacement_nonportable_escape"
8031
+ "type": "CHOICE",
8032
+ "members": [
8033
+ {
8034
+ "type": "SYMBOL",
8035
+ "name": "_replacement_nonportable_escape"
8036
+ },
8037
+ {
8038
+ "type": "SEQ",
8039
+ "members": [
8040
+ {
8041
+ "type": "SYMBOL",
8042
+ "name": "_escape_prefix"
8043
+ },
8044
+ {
8045
+ "type": "FIELD",
8046
+ "name": "issue",
8047
+ "content": {
8048
+ "type": "ALIAS",
8049
+ "content": {
8050
+ "type": "SYMBOL",
8051
+ "name": "_nul_character_issue"
8052
+ },
8053
+ "named": true,
8054
+ "value": "syntax_issue"
8055
+ }
8056
+ }
8057
+ ]
8058
+ }
8059
+ ]
8308
8060
  },
8309
8061
  "_unspecified_replacement_escape_outcome": {
8310
8062
  "type": "ALIAS",
@@ -8369,8 +8121,35 @@
8369
8121
  "value": "unspecified_syntax"
8370
8122
  },
8371
8123
  "_unspecified_text_escape_reason": {
8372
- "type": "SYMBOL",
8373
- "name": "_text_unspecified_escape"
8124
+ "type": "CHOICE",
8125
+ "members": [
8126
+ {
8127
+ "type": "SYMBOL",
8128
+ "name": "_text_unspecified_escape"
8129
+ },
8130
+ {
8131
+ "type": "SEQ",
8132
+ "members": [
8133
+ {
8134
+ "type": "SYMBOL",
8135
+ "name": "_escape_prefix"
8136
+ },
8137
+ {
8138
+ "type": "FIELD",
8139
+ "name": "issue",
8140
+ "content": {
8141
+ "type": "ALIAS",
8142
+ "content": {
8143
+ "type": "SYMBOL",
8144
+ "name": "_nul_character_issue"
8145
+ },
8146
+ "named": true,
8147
+ "value": "syntax_issue"
8148
+ }
8149
+ }
8150
+ ]
8151
+ }
8152
+ ]
8374
8153
  },
8375
8154
  "_unspecified_text_escape_outcome": {
8376
8155
  "type": "ALIAS",
@@ -8672,15 +8451,24 @@
8672
8451
  "value": "nonconforming_syntax"
8673
8452
  },
8674
8453
  "_unknown_function_reason": {
8675
- "type": "TOKEN",
8676
- "content": {
8677
- "type": "PREC",
8678
- "value": -2,
8679
- "content": {
8680
- "type": "PATTERN",
8681
- "value": "[^[:blank:][:digit:]$\\/\\\\!;{}#\\n]"
8454
+ "type": "CHOICE",
8455
+ "members": [
8456
+ {
8457
+ "type": "TOKEN",
8458
+ "content": {
8459
+ "type": "PREC",
8460
+ "value": -2,
8461
+ "content": {
8462
+ "type": "PATTERN",
8463
+ "value": "[^[:blank:][:digit:]$\\/\\\\!;}\\n{abcdDgGhHilnNpPqrstwxy:=#]"
8464
+ }
8465
+ }
8466
+ },
8467
+ {
8468
+ "type": "SYMBOL",
8469
+ "name": "_invalid_character"
8682
8470
  }
8683
- }
8471
+ ]
8684
8472
  },
8685
8473
  "_unknown_function_outcome": {
8686
8474
  "type": "ALIAS",
@@ -8723,31 +8511,51 @@
8723
8511
  "value": "nonconforming_syntax"
8724
8512
  },
8725
8513
  "_unexpected_command_text_reason": {
8726
- "type": "CHOICE",
8727
- "members": [
8728
- {
8729
- "type": "IMMEDIATE_TOKEN",
8730
- "content": {
8731
- "type": "PREC",
8732
- "value": -10,
8514
+ "type": "REPEAT1",
8515
+ "content": {
8516
+ "type": "CHOICE",
8517
+ "members": [
8518
+ {
8519
+ "type": "IMMEDIATE_TOKEN",
8733
8520
  "content": {
8734
- "type": "PATTERN",
8735
- "value": "[[:blank:]]+"
8521
+ "type": "PREC",
8522
+ "value": -10,
8523
+ "content": {
8524
+ "type": "PATTERN",
8525
+ "value": "[[:blank:]]+"
8526
+ }
8736
8527
  }
8737
- }
8738
- },
8739
- {
8740
- "type": "IMMEDIATE_TOKEN",
8741
- "content": {
8742
- "type": "PREC",
8743
- "value": -10,
8528
+ },
8529
+ {
8530
+ "type": "IMMEDIATE_TOKEN",
8744
8531
  "content": {
8745
- "type": "PATTERN",
8746
- "value": "[[:blank:]]*[^[:blank:];}\\n][^;}\\n]*"
8532
+ "type": "PREC",
8533
+ "value": -10,
8534
+ "content": {
8535
+ "type": "PATTERN",
8536
+ "value": "[[:blank:]]*[^[:blank:];}\\n\\x00][^;}\\n\\x00]*"
8537
+ }
8538
+ }
8539
+ },
8540
+ {
8541
+ "type": "FIELD",
8542
+ "name": "issue",
8543
+ "content": {
8544
+ "type": "ALIAS",
8545
+ "content": {
8546
+ "type": "SYMBOL",
8547
+ "name": "_nul_character_issue"
8548
+ },
8549
+ "named": true,
8550
+ "value": "syntax_issue"
8747
8551
  }
8552
+ },
8553
+ {
8554
+ "type": "SYMBOL",
8555
+ "name": "_invalid_character"
8748
8556
  }
8749
- }
8750
- ]
8557
+ ]
8558
+ }
8751
8559
  },
8752
8560
  "_unexpected_command_text_outcome": {
8753
8561
  "type": "ALIAS",
@@ -8768,11 +8576,16 @@
8768
8576
  "value": "nonconforming_syntax"
8769
8577
  },
8770
8578
  "_forbidden_command_separator_reason": {
8771
- "type": "IMMEDIATE_TOKEN",
8579
+ "type": "ALIAS",
8772
8580
  "content": {
8773
- "type": "STRING",
8774
- "value": ";"
8775
- }
8581
+ "type": "IMMEDIATE_TOKEN",
8582
+ "content": {
8583
+ "type": "STRING",
8584
+ "value": ";"
8585
+ }
8586
+ },
8587
+ "named": true,
8588
+ "value": "command_separator"
8776
8589
  },
8777
8590
  "_forbidden_command_separator_outcome": {
8778
8591
  "type": "ALIAS",
@@ -8873,8 +8686,13 @@
8873
8686
  "value": "nonconforming_syntax"
8874
8687
  },
8875
8688
  "_unmatched_closing_brace_reason": {
8876
- "type": "SYMBOL",
8877
- "name": "_right_brace"
8689
+ "type": "ALIAS",
8690
+ "content": {
8691
+ "type": "SYMBOL",
8692
+ "name": "_present_closing_brace"
8693
+ },
8694
+ "named": true,
8695
+ "value": "closing_brace"
8878
8696
  },
8879
8697
  "_unmatched_closing_brace_outcome": {
8880
8698
  "type": "ALIAS",
@@ -8983,8 +8801,26 @@
8983
8801
  "value": "nonconforming_syntax"
8984
8802
  },
8985
8803
  "_invalid_delimiter_reason": {
8986
- "type": "STRING",
8987
- "value": "\\"
8804
+ "type": "FIELD",
8805
+ "name": "token",
8806
+ "content": {
8807
+ "type": "ALIAS",
8808
+ "content": {
8809
+ "type": "CHOICE",
8810
+ "members": [
8811
+ {
8812
+ "type": "STRING",
8813
+ "value": "\\"
8814
+ },
8815
+ {
8816
+ "type": "SYMBOL",
8817
+ "name": "_invalid_character"
8818
+ }
8819
+ ]
8820
+ },
8821
+ "named": true,
8822
+ "value": "delimiter_token"
8823
+ }
8988
8824
  },
8989
8825
  "_invalid_delimiter_outcome": {
8990
8826
  "type": "ALIAS",
@@ -9352,6 +9188,28 @@
9352
9188
  "named": true,
9353
9189
  "value": "incomplete_syntax"
9354
9190
  },
9191
+ "_incomplete_text_introducer_reason": {
9192
+ "type": "SYMBOL",
9193
+ "name": "_text_incomplete_introducer"
9194
+ },
9195
+ "_incomplete_text_introducer_outcome": {
9196
+ "type": "ALIAS",
9197
+ "content": {
9198
+ "type": "SYMBOL",
9199
+ "name": "_incomplete_text_introducer_reason"
9200
+ },
9201
+ "named": true,
9202
+ "value": "incomplete_text_introducer"
9203
+ },
9204
+ "_incomplete_text_introducer_issue": {
9205
+ "type": "ALIAS",
9206
+ "content": {
9207
+ "type": "SYMBOL",
9208
+ "name": "_incomplete_text_introducer_outcome"
9209
+ },
9210
+ "named": true,
9211
+ "value": "incomplete_syntax"
9212
+ },
9355
9213
  "_missing_text_reason": {
9356
9214
  "type": "SYMBOL",
9357
9215
  "name": "_missing_text_marker"
@@ -9747,10 +9605,6 @@
9747
9605
  },
9748
9606
  "extras": [],
9749
9607
  "conflicts": [
9750
- [
9751
- "address_clause",
9752
- "_recovered_editing_command"
9753
- ],
9754
9608
  [
9755
9609
  "address_clause",
9756
9610
  "_max1_address_clause"
@@ -9819,6 +9673,14 @@
9819
9673
  "type": "SYMBOL",
9820
9674
  "name": "_regex_literal"
9821
9675
  },
9676
+ {
9677
+ "type": "SYMBOL",
9678
+ "name": "_invalid_character"
9679
+ },
9680
+ {
9681
+ "type": "SYMBOL",
9682
+ "name": "_nul_character"
9683
+ },
9822
9684
  {
9823
9685
  "type": "SYMBOL",
9824
9686
  "name": "_regex_beginning_anchor"
@@ -9835,6 +9697,10 @@
9835
9697
  "type": "SYMBOL",
9836
9698
  "name": "_regex_quoted_escape"
9837
9699
  },
9700
+ {
9701
+ "type": "SYMBOL",
9702
+ "name": "_escape_prefix"
9703
+ },
9838
9704
  {
9839
9705
  "type": "SYMBOL",
9840
9706
  "name": "_regex_newline_escape"
@@ -9951,6 +9817,10 @@
9951
9817
  "type": "SYMBOL",
9952
9818
  "name": "_regex_class_name"
9953
9819
  },
9820
+ {
9821
+ "type": "SYMBOL",
9822
+ "name": "_regex_invalid_class_name"
9823
+ },
9954
9824
  {
9955
9825
  "type": "SYMBOL",
9956
9826
  "name": "_regex_colon_close"
@@ -10099,6 +9969,10 @@
10099
9969
  "type": "SYMBOL",
10100
9970
  "name": "_text_command_start"
10101
9971
  },
9972
+ {
9973
+ "type": "SYMBOL",
9974
+ "name": "_text_incomplete_introducer"
9975
+ },
10102
9976
  {
10103
9977
  "type": "SYMBOL",
10104
9978
  "name": "_text_literal"
@@ -10139,14 +10013,26 @@
10139
10013
  "type": "SYMBOL",
10140
10014
  "name": "_substitution_wfile_argument"
10141
10015
  },
10016
+ {
10017
+ "type": "SYMBOL",
10018
+ "name": "_substitution_wfile_continuation"
10019
+ },
10142
10020
  {
10143
10021
  "type": "SYMBOL",
10144
10022
  "name": "_line_word"
10145
10023
  },
10024
+ {
10025
+ "type": "SYMBOL",
10026
+ "name": "_argument_separator"
10027
+ },
10146
10028
  {
10147
10029
  "type": "SYMBOL",
10148
10030
  "name": "_right_brace"
10149
10031
  },
10032
+ {
10033
+ "type": "SYMBOL",
10034
+ "name": "_empty_command_marker"
10035
+ },
10150
10036
  {
10151
10037
  "type": "SYMBOL",
10152
10038
  "name": "_reserved_unknown_function_token"