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.
package/src/grammar.json CHANGED
@@ -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": "basic_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"
@@ -3130,12 +2881,306 @@
3130
2881
  "value": "syntax_issue"
3131
2882
  }
3132
2883
  }
3133
- ]
3134
- }
3135
- },
3136
- {
2884
+ ]
2885
+ }
2886
+ },
2887
+ {
2888
+ "type": "SYMBOL",
2889
+ "name": "_text_tail"
2890
+ }
2891
+ ]
2892
+ },
2893
+ "_text_tail": {
2894
+ "type": "SEQ",
2895
+ "members": [
2896
+ {
2897
+ "type": "CHOICE",
2898
+ "members": [
2899
+ {
2900
+ "type": "FIELD",
2901
+ "name": "issue",
2902
+ "content": {
2903
+ "type": "ALIAS",
2904
+ "content": {
2905
+ "type": "SYMBOL",
2906
+ "name": "_missing_text_issue"
2907
+ },
2908
+ "named": true,
2909
+ "value": "syntax_issue"
2910
+ }
2911
+ },
2912
+ {
2913
+ "type": "BLANK"
2914
+ }
2915
+ ]
2916
+ },
2917
+ {
2918
+ "type": "SYMBOL",
2919
+ "name": "_text_end"
2920
+ }
2921
+ ]
2922
+ },
2923
+ "_text_end": {
2924
+ "type": "CHOICE",
2925
+ "members": [
2926
+ {
2927
+ "type": "SYMBOL",
2928
+ "name": "_text_line_end"
2929
+ },
2930
+ {
2931
+ "type": "SYMBOL",
2932
+ "name": "_text_eof"
2933
+ }
2934
+ ]
2935
+ },
2936
+ "text_literal": {
2937
+ "type": "SYMBOL",
2938
+ "name": "_text_literal"
2939
+ },
2940
+ "text_backslash_escape": {
2941
+ "type": "SYMBOL",
2942
+ "name": "_text_backslash_escape"
2943
+ },
2944
+ "text_escaped_newline": {
2945
+ "type": "SYMBOL",
2946
+ "name": "_text_escaped_newline"
2947
+ },
2948
+ "text_introducer": {
2949
+ "type": "ALIAS",
2950
+ "content": {
2951
+ "type": "SYMBOL",
2952
+ "name": "_text_command_start"
2953
+ },
2954
+ "named": true,
2955
+ "value": "text_introducer_token"
2956
+ },
2957
+ "_incomplete_text_introducer": {
2958
+ "type": "FIELD",
2959
+ "name": "issue",
2960
+ "content": {
2961
+ "type": "ALIAS",
2962
+ "content": {
2963
+ "type": "SYMBOL",
2964
+ "name": "_incomplete_text_introducer_issue"
2965
+ },
2966
+ "named": true,
2967
+ "value": "syntax_issue"
2968
+ }
2969
+ },
2970
+ "rfile": {
2971
+ "type": "PREC_RIGHT",
2972
+ "value": 0,
2973
+ "content": {
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
+ }
3081
+ },
3082
+ "_substitution_wfile": {
3083
+ "type": "PREC_RIGHT",
3084
+ "value": 0,
3085
+ "content": {
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
+ }
3137
+ },
3138
+ "label": {
3139
+ "type": "PREC_RIGHT",
3140
+ "value": 0,
3141
+ "content": {
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
+ }
3166
+ },
3167
+ "comment": {
3168
+ "type": "PREC_RIGHT",
3169
+ "value": 0,
3170
+ "content": {
3171
+ "type": "REPEAT1",
3172
+ "content": {
3137
3173
  "type": "CHOICE",
3138
3174
  "members": [
3175
+ {
3176
+ "type": "ALIAS",
3177
+ "content": {
3178
+ "type": "SYMBOL",
3179
+ "name": "_comment_text"
3180
+ },
3181
+ "named": true,
3182
+ "value": "comment_text"
3183
+ },
3139
3184
  {
3140
3185
  "type": "FIELD",
3141
3186
  "name": "issue",
@@ -3143,128 +3188,60 @@
3143
3188
  "type": "ALIAS",
3144
3189
  "content": {
3145
3190
  "type": "SYMBOL",
3146
- "name": "_missing_text_issue"
3191
+ "name": "_nul_character_issue"
3147
3192
  },
3148
3193
  "named": true,
3149
3194
  "value": "syntax_issue"
3150
3195
  }
3151
- },
3152
- {
3153
- "type": "BLANK"
3154
3196
  }
3155
3197
  ]
3156
- },
3157
- {
3158
- "type": "SYMBOL",
3159
- "name": "_text_end"
3160
3198
  }
3161
- ]
3162
- },
3163
- "_text_end": {
3164
- "type": "CHOICE",
3165
- "members": [
3166
- {
3167
- "type": "SYMBOL",
3168
- "name": "_text_line_end"
3169
- },
3170
- {
3171
- "type": "SYMBOL",
3172
- "name": "_text_eof"
3173
- }
3174
- ]
3175
- },
3176
- "text_literal": {
3177
- "type": "ALIAS",
3178
- "content": {
3179
- "type": "SYMBOL",
3180
- "name": "_text_literal"
3181
- },
3182
- "named": true,
3183
- "value": "text_literal_token"
3184
- },
3185
- "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"
3193
- },
3194
- "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"
3202
- },
3203
- "text_introducer": {
3204
- "type": "ALIAS",
3205
- "content": {
3206
- "type": "SYMBOL",
3207
- "name": "_text_command_start"
3208
- },
3209
- "named": true,
3210
- "value": "text_introducer_token"
3211
- },
3212
- "rfile": {
3213
- "type": "ALIAS",
3214
- "content": {
3215
- "type": "SYMBOL",
3216
- "name": "_file_argument"
3217
- },
3218
- "named": true,
3219
- "value": "rfile_token"
3220
- },
3221
- "wfile": {
3222
- "type": "ALIAS",
3223
- "content": {
3224
- "type": "SYMBOL",
3225
- "name": "_file_argument"
3226
- },
3227
- "named": true,
3228
- "value": "wfile_token"
3229
- },
3230
- "_substitution_wfile": {
3231
- "type": "ALIAS",
3232
- "content": {
3233
- "type": "SYMBOL",
3234
- "name": "_substitution_wfile_argument"
3235
- },
3236
- "named": true,
3237
- "value": "wfile_token"
3238
- },
3239
- "label": {
3240
- "type": "ALIAS",
3241
- "content": {
3242
- "type": "SYMBOL",
3243
- "name": "_line_word"
3244
- },
3245
- "named": true,
3246
- "value": "label_token"
3199
+ }
3247
3200
  },
3248
- "comment": {
3249
- "type": "ALIAS",
3201
+ "comment_function": {
3202
+ "type": "PREC_RIGHT",
3203
+ "value": 0,
3250
3204
  "content": {
3251
- "type": "SYMBOL",
3252
- "name": "_comment_text"
3253
- },
3254
- "named": true,
3255
- "value": "comment_text"
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": [
@@ -3837,42 +3797,29 @@
3837
3797
  "content": {
3838
3798
  "type": "SYMBOL",
3839
3799
  "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
- ]
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
  }
@@ -4276,243 +4215,125 @@
4276
4215
  {
4277
4216
  "type": "CHOICE",
4278
4217
  "members": [
4279
- {
4280
- "type": "FIELD",
4281
- "name": "issue",
4282
- "content": {
4283
- "type": "ALIAS",
4284
- "content": {
4285
- "type": "SYMBOL",
4286
- "name": "_missing_label_issue"
4287
- },
4288
- "named": true,
4289
- "value": "syntax_issue"
4290
- }
4291
- },
4292
- {
4293
- "type": "FIELD",
4294
- "name": "issue",
4295
- "content": {
4296
- "type": "ALIAS",
4297
- "content": {
4298
- "type": "SYMBOL",
4299
- "name": "_nonconforming_missing_label_issue"
4300
- },
4301
- "named": true,
4302
- "value": "syntax_issue"
4303
- }
4304
- }
4305
- ]
4306
- }
4307
- ]
4308
- }
4309
- ]
4310
- },
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
- "_chainable_editing_command": {
4346
- "type": "SEQ",
4347
- "members": [
4348
- {
4349
- "type": "CHOICE",
4350
- "members": [
4351
- {
4352
- "type": "CHOICE",
4353
- "members": [
4354
- {
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
- ]
4218
+ {
4219
+ "type": "FIELD",
4220
+ "name": "issue",
4221
+ "content": {
4222
+ "type": "ALIAS",
4223
+ "content": {
4224
+ "type": "SYMBOL",
4225
+ "name": "_missing_label_issue"
4226
+ },
4227
+ "named": true,
4228
+ "value": "syntax_issue"
4229
+ }
4230
+ },
4231
+ {
4232
+ "type": "FIELD",
4233
+ "name": "issue",
4234
+ "content": {
4235
+ "type": "ALIAS",
4236
+ "content": {
4237
+ "type": "SYMBOL",
4238
+ "name": "_nonconforming_missing_label_issue"
4406
4239
  },
4240
+ "named": true,
4241
+ "value": "syntax_issue"
4242
+ }
4243
+ }
4244
+ ]
4245
+ }
4246
+ ]
4247
+ }
4248
+ ]
4249
+ },
4250
+ "_chainable_editing_command": {
4251
+ "type": "SEQ",
4252
+ "members": [
4253
+ {
4254
+ "type": "CHOICE",
4255
+ "members": [
4256
+ {
4257
+ "type": "SEQ",
4258
+ "members": [
4259
+ {
4260
+ "type": "CHOICE",
4261
+ "members": [
4407
4262
  {
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
- ]
4263
+ "type": "SYMBOL",
4264
+ "name": "_blanks"
4422
4265
  },
4423
4266
  {
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
- }
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",
@@ -5072,62 +4877,7 @@
5072
4877
  "content": {
5073
4878
  "type": "SYMBOL",
5074
4879
  "name": "negation"
5075
- }
5076
- },
5077
- {
5078
- "type": "FIELD",
5079
- "name": "function",
5080
- "content": {
5081
- "type": "ALIAS",
5082
- "content": {
5083
- "type": "SYMBOL",
5084
- "name": "_reserved_unknown_function"
5085
- },
5086
- "named": true,
5087
- "value": "function"
5088
- }
5089
- }
5090
- ]
5091
- },
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
- ]
4880
+ }
5131
4881
  },
5132
4882
  {
5133
4883
  "type": "FIELD",
@@ -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": {
@@ -6170,63 +5922,37 @@
6170
5922
  "name": "_regex_bracket_hyphen"
6171
5923
  },
6172
5924
  "named": true,
6173
- "value": "range_operator"
6174
- }
6175
- }
6176
- ]
6177
- },
6178
- "_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
- }
6193
- },
6194
- {
6195
- "type": "FIELD",
6196
- "name": "term",
6197
- "content": {
6198
- "type": "SYMBOL",
6199
- "name": "character_class"
6200
- }
6201
- }
6202
- ]
6203
- },
6204
- "_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
- }
6219
- },
6220
- {
6221
- "type": "FIELD",
6222
- "name": "term",
6223
- "content": {
6224
- "type": "SYMBOL",
6225
- "name": "equivalence_class"
5925
+ "value": "range_operator"
6226
5926
  }
6227
5927
  }
6228
5928
  ]
6229
5929
  },
5930
+ "_character_class_end_range": {
5931
+ "type": "FIELD",
5932
+ "name": "term",
5933
+ "content": {
5934
+ "type": "ALIAS",
5935
+ "content": {
5936
+ "type": "SYMBOL",
5937
+ "name": "_character_class_range_end_issue"
5938
+ },
5939
+ "named": true,
5940
+ "value": "syntax_issue"
5941
+ }
5942
+ },
5943
+ "_equivalence_class_end_range": {
5944
+ "type": "FIELD",
5945
+ "name": "term",
5946
+ "content": {
5947
+ "type": "ALIAS",
5948
+ "content": {
5949
+ "type": "SYMBOL",
5950
+ "name": "_equivalence_class_range_end_issue"
5951
+ },
5952
+ "named": true,
5953
+ "value": "syntax_issue"
5954
+ }
5955
+ },
6230
5956
  "start_range": {
6231
5957
  "type": "SEQ",
6232
5958
  "members": [
@@ -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
  {
@@ -6853,143 +6673,14 @@
6853
6673
  {
6854
6674
  "type": "BLANK"
6855
6675
  }
6856
- ]
6857
- }
6858
- ]
6859
- }
6860
- ]
6861
- }
6862
- ]
6863
- },
6864
- "bre_extension_escape": {
6865
- "type": "CHOICE",
6866
- "members": [
6867
- {
6868
- "type": "SEQ",
6869
- "members": [
6870
- {
6871
- "type": "FIELD",
6872
- "name": "token",
6873
- "content": {
6874
- "type": "ALIAS",
6875
- "content": {
6876
- "type": "SYMBOL",
6877
- "name": "_regex_bre_vertical_line_escape"
6878
- },
6879
- "named": true,
6880
- "value": "back_bar"
6881
- }
6882
- },
6883
- {
6884
- "type": "FIELD",
6885
- "name": "issue",
6886
- "content": {
6887
- "type": "ALIAS",
6888
- "content": {
6889
- "type": "SYMBOL",
6890
- "name": "_bre_vertical_line_escape_issue"
6891
- },
6892
- "named": true,
6893
- "value": "syntax_issue"
6894
- }
6895
- }
6896
- ]
6897
- },
6898
- {
6899
- "type": "SEQ",
6900
- "members": [
6901
- {
6902
- "type": "FIELD",
6903
- "name": "token",
6904
- "content": {
6905
- "type": "ALIAS",
6906
- "content": {
6907
- "type": "SYMBOL",
6908
- "name": "_regex_bre_question_mark_escape"
6909
- },
6910
- "named": true,
6911
- "value": "back_qm"
6912
- }
6913
- },
6914
- {
6915
- "type": "FIELD",
6916
- "name": "issue",
6917
- "content": {
6918
- "type": "ALIAS",
6919
- "content": {
6920
- "type": "SYMBOL",
6921
- "name": "_bre_question_mark_escape_issue"
6922
- },
6923
- "named": true,
6924
- "value": "syntax_issue"
6925
- }
6926
- }
6927
- ]
6928
- },
6929
- {
6930
- "type": "SEQ",
6931
- "members": [
6932
- {
6933
- "type": "FIELD",
6934
- "name": "token",
6935
- "content": {
6936
- "type": "ALIAS",
6937
- "content": {
6938
- "type": "SYMBOL",
6939
- "name": "_regex_bre_plus_escape"
6940
- },
6941
- "named": true,
6942
- "value": "back_plus"
6943
- }
6944
- },
6945
- {
6946
- "type": "FIELD",
6947
- "name": "issue",
6948
- "content": {
6949
- "type": "ALIAS",
6950
- "content": {
6951
- "type": "SYMBOL",
6952
- "name": "_bre_plus_escape_issue"
6953
- },
6954
- "named": true,
6955
- "value": "syntax_issue"
6956
- }
6676
+ ]
6677
+ }
6678
+ ]
6957
6679
  }
6958
6680
  ]
6959
6681
  }
6960
6682
  ]
6961
6683
  },
6962
- "bre_subexpression_anchor": {
6963
- "type": "CHOICE",
6964
- "members": [
6965
- {
6966
- "type": "FIELD",
6967
- "name": "issue",
6968
- "content": {
6969
- "type": "ALIAS",
6970
- "content": {
6971
- "type": "SYMBOL",
6972
- "name": "_bre_subexpression_right_anchor_issue"
6973
- },
6974
- "named": true,
6975
- "value": "syntax_issue"
6976
- }
6977
- },
6978
- {
6979
- "type": "FIELD",
6980
- "name": "issue",
6981
- "content": {
6982
- "type": "ALIAS",
6983
- "content": {
6984
- "type": "SYMBOL",
6985
- "name": "_bre_subexpression_left_anchor_issue"
6986
- },
6987
- "named": true,
6988
- "value": "syntax_issue"
6989
- }
6990
- }
6991
- ]
6992
- },
6993
6684
  "basic_reg_exp": {
6994
6685
  "type": "SYMBOL",
6995
6686
  "name": "bre_branch"
@@ -7215,8 +6906,13 @@
7215
6906
  "type": "FIELD",
7216
6907
  "name": "operator",
7217
6908
  "content": {
7218
- "type": "SYMBOL",
7219
- "name": "adjacent_bre_dupl_symbol"
6909
+ "type": "ALIAS",
6910
+ "content": {
6911
+ "type": "SYMBOL",
6912
+ "name": "_adjacent_duplication_symbol_issue"
6913
+ },
6914
+ "named": true,
6915
+ "value": "syntax_issue"
7220
6916
  }
7221
6917
  }
7222
6918
  ]
@@ -7226,8 +6922,13 @@
7226
6922
  "type": "FIELD",
7227
6923
  "name": "operator",
7228
6924
  "content": {
7229
- "type": "SYMBOL",
7230
- "name": "leading_bre_dupl_symbol"
6925
+ "type": "ALIAS",
6926
+ "content": {
6927
+ "type": "SYMBOL",
6928
+ "name": "_leading_duplication_symbol_issue"
6929
+ },
6930
+ "named": true,
6931
+ "value": "syntax_issue"
7231
6932
  }
7232
6933
  }
7233
6934
  ]
@@ -7381,17 +7082,25 @@
7381
7082
  ]
7382
7083
  },
7383
7084
  "backreference": {
7384
- "type": "ALIAS",
7385
- "content": {
7386
- "type": "SYMBOL",
7387
- "name": "_regex_backreference"
7388
- },
7389
- "named": true,
7390
- "value": "backreference_token"
7085
+ "type": "SYMBOL",
7086
+ "name": "_regex_backreference"
7391
7087
  },
7392
7088
  "one_char_or_coll_elem_bre": {
7393
7089
  "type": "CHOICE",
7394
7090
  "members": [
7091
+ {
7092
+ "type": "FIELD",
7093
+ "name": "issue",
7094
+ "content": {
7095
+ "type": "ALIAS",
7096
+ "content": {
7097
+ "type": "SYMBOL",
7098
+ "name": "_invalid_regular_expression_character_issue"
7099
+ },
7100
+ "named": true,
7101
+ "value": "syntax_issue"
7102
+ }
7103
+ },
7395
7104
  {
7396
7105
  "type": "SYMBOL",
7397
7106
  "name": "ordinary_character"
@@ -7410,19 +7119,85 @@
7410
7119
  },
7411
7120
  {
7412
7121
  "type": "SYMBOL",
7413
- "name": "bracket_expression"
7122
+ "name": "_bracket_expression"
7414
7123
  },
7415
7124
  {
7416
- "type": "SYMBOL",
7417
- "name": "ambiguous_delimiter_escape"
7125
+ "type": "FIELD",
7126
+ "name": "issue",
7127
+ "content": {
7128
+ "type": "ALIAS",
7129
+ "content": {
7130
+ "type": "SYMBOL",
7131
+ "name": "_special_delimiter_escape_issue"
7132
+ },
7133
+ "named": true,
7134
+ "value": "syntax_issue"
7135
+ }
7418
7136
  },
7419
7137
  {
7420
- "type": "SYMBOL",
7421
- "name": "bre_extension_escape"
7138
+ "type": "FIELD",
7139
+ "name": "issue",
7140
+ "content": {
7141
+ "type": "ALIAS",
7142
+ "content": {
7143
+ "type": "SYMBOL",
7144
+ "name": "_bre_vertical_line_escape_issue"
7145
+ },
7146
+ "named": true,
7147
+ "value": "syntax_issue"
7148
+ }
7422
7149
  },
7423
7150
  {
7424
- "type": "SYMBOL",
7425
- "name": "bre_subexpression_anchor"
7151
+ "type": "FIELD",
7152
+ "name": "issue",
7153
+ "content": {
7154
+ "type": "ALIAS",
7155
+ "content": {
7156
+ "type": "SYMBOL",
7157
+ "name": "_bre_question_mark_escape_issue"
7158
+ },
7159
+ "named": true,
7160
+ "value": "syntax_issue"
7161
+ }
7162
+ },
7163
+ {
7164
+ "type": "FIELD",
7165
+ "name": "issue",
7166
+ "content": {
7167
+ "type": "ALIAS",
7168
+ "content": {
7169
+ "type": "SYMBOL",
7170
+ "name": "_bre_plus_escape_issue"
7171
+ },
7172
+ "named": true,
7173
+ "value": "syntax_issue"
7174
+ }
7175
+ },
7176
+ {
7177
+ "type": "FIELD",
7178
+ "name": "issue",
7179
+ "content": {
7180
+ "type": "ALIAS",
7181
+ "content": {
7182
+ "type": "SYMBOL",
7183
+ "name": "_bre_subexpression_right_anchor_issue"
7184
+ },
7185
+ "named": true,
7186
+ "value": "syntax_issue"
7187
+ }
7188
+ },
7189
+ {
7190
+ "type": "FIELD",
7191
+ "name": "issue",
7192
+ "content": {
7193
+ "type": "ALIAS",
7194
+ "content": {
7195
+ "type": "SYMBOL",
7196
+ "name": "_bre_subexpression_left_anchor_issue"
7197
+ },
7198
+ "named": true,
7199
+ "value": "syntax_issue"
7200
+ }
7426
7201
  }
7427
7202
  ]
7428
7203
  },
@@ -7594,172 +7369,58 @@
7594
7369
  {
7595
7370
  "type": "CHOICE",
7596
7371
  "members": [
7597
- {
7598
- "type": "FIELD",
7599
- "name": "issue",
7600
- "content": {
7601
- "type": "ALIAS",
7602
- "content": {
7603
- "type": "SYMBOL",
7604
- "name": "_malformed_interval_issue"
7605
- },
7606
- "named": true,
7607
- "value": "syntax_issue"
7608
- }
7609
- },
7610
- {
7611
- "type": "FIELD",
7612
- "name": "issue",
7613
- "content": {
7614
- "type": "ALIAS",
7615
- "content": {
7616
- "type": "SYMBOL",
7617
- "name": "_incomplete_interval_issue"
7618
- },
7619
- "named": true,
7620
- "value": "syntax_issue"
7621
- }
7622
- }
7623
- ]
7624
- },
7625
- {
7626
- "type": "CHOICE",
7627
- "members": [
7628
- {
7629
- "type": "FIELD",
7630
- "name": "closing",
7631
- "content": {
7632
- "type": "ALIAS",
7633
- "content": {
7634
- "type": "SYMBOL",
7635
- "name": "_regex_interval_close"
7636
- },
7637
- "named": true,
7638
- "value": "back_close_brace"
7639
- }
7640
- },
7641
- {
7642
- "type": "BLANK"
7643
- }
7644
- ]
7645
- }
7646
- ]
7647
- }
7648
- ]
7649
- }
7650
- ]
7651
- },
7652
- "leading_bre_dupl_symbol": {
7653
- "type": "CHOICE",
7654
- "members": [
7655
- {
7656
- "type": "SEQ",
7657
- "members": [
7658
- {
7659
- "type": "FIELD",
7660
- "name": "issue",
7661
- "content": {
7662
- "type": "ALIAS",
7663
- "content": {
7664
- "type": "SYMBOL",
7665
- "name": "_leading_duplication_symbol_issue"
7666
- },
7667
- "named": true,
7668
- "value": "syntax_issue"
7669
- }
7670
- },
7671
- {
7672
- "type": "FIELD",
7673
- "name": "operator",
7674
- "content": {
7675
- "type": "SYMBOL",
7676
- "name": "bre_dupl_symbol"
7677
- }
7678
- }
7679
- ]
7680
- },
7681
- {
7682
- "type": "FIELD",
7683
- "name": "issue",
7684
- "content": {
7685
- "type": "ALIAS",
7686
- "content": {
7687
- "type": "SYMBOL",
7688
- "name": "_malformed_interval_issue"
7689
- },
7690
- "named": true,
7691
- "value": "syntax_issue"
7692
- }
7693
- },
7694
- {
7695
- "type": "FIELD",
7696
- "name": "issue",
7697
- "content": {
7698
- "type": "ALIAS",
7699
- "content": {
7700
- "type": "SYMBOL",
7701
- "name": "_incomplete_interval_issue"
7702
- },
7703
- "named": true,
7704
- "value": "syntax_issue"
7705
- }
7706
- }
7707
- ]
7708
- },
7709
- "adjacent_bre_dupl_symbol": {
7710
- "type": "CHOICE",
7711
- "members": [
7712
- {
7713
- "type": "SEQ",
7714
- "members": [
7715
- {
7716
- "type": "FIELD",
7717
- "name": "issue",
7718
- "content": {
7719
- "type": "ALIAS",
7720
- "content": {
7721
- "type": "SYMBOL",
7722
- "name": "_adjacent_duplication_symbol_issue"
7372
+ {
7373
+ "type": "FIELD",
7374
+ "name": "issue",
7375
+ "content": {
7376
+ "type": "ALIAS",
7377
+ "content": {
7378
+ "type": "SYMBOL",
7379
+ "name": "_malformed_interval_issue"
7380
+ },
7381
+ "named": true,
7382
+ "value": "syntax_issue"
7383
+ }
7384
+ },
7385
+ {
7386
+ "type": "FIELD",
7387
+ "name": "issue",
7388
+ "content": {
7389
+ "type": "ALIAS",
7390
+ "content": {
7391
+ "type": "SYMBOL",
7392
+ "name": "_incomplete_interval_issue"
7393
+ },
7394
+ "named": true,
7395
+ "value": "syntax_issue"
7396
+ }
7397
+ }
7398
+ ]
7723
7399
  },
7724
- "named": true,
7725
- "value": "syntax_issue"
7726
- }
7727
- },
7728
- {
7729
- "type": "FIELD",
7730
- "name": "operator",
7731
- "content": {
7732
- "type": "SYMBOL",
7733
- "name": "bre_dupl_symbol"
7734
- }
7400
+ {
7401
+ "type": "CHOICE",
7402
+ "members": [
7403
+ {
7404
+ "type": "FIELD",
7405
+ "name": "closing",
7406
+ "content": {
7407
+ "type": "ALIAS",
7408
+ "content": {
7409
+ "type": "SYMBOL",
7410
+ "name": "_regex_interval_close"
7411
+ },
7412
+ "named": true,
7413
+ "value": "back_close_brace"
7414
+ }
7415
+ },
7416
+ {
7417
+ "type": "BLANK"
7418
+ }
7419
+ ]
7420
+ }
7421
+ ]
7735
7422
  }
7736
7423
  ]
7737
- },
7738
- {
7739
- "type": "FIELD",
7740
- "name": "issue",
7741
- "content": {
7742
- "type": "ALIAS",
7743
- "content": {
7744
- "type": "SYMBOL",
7745
- "name": "_malformed_interval_issue"
7746
- },
7747
- "named": true,
7748
- "value": "syntax_issue"
7749
- }
7750
- },
7751
- {
7752
- "type": "FIELD",
7753
- "name": "issue",
7754
- "content": {
7755
- "type": "ALIAS",
7756
- "content": {
7757
- "type": "SYMBOL",
7758
- "name": "_incomplete_interval_issue"
7759
- },
7760
- "named": true,
7761
- "value": "syntax_issue"
7762
- }
7763
7424
  }
7764
7425
  ]
7765
7426
  },
@@ -7785,9 +7446,89 @@
7785
7446
  "named": true,
7786
7447
  "value": "undefined_syntax"
7787
7448
  },
7788
- "_character_class_range_start_reason": {
7449
+ "_invalid_character_class_name_reason": {
7450
+ "type": "ALIAS",
7451
+ "content": {
7452
+ "type": "SYMBOL",
7453
+ "name": "_regex_invalid_class_name"
7454
+ },
7455
+ "named": true,
7456
+ "value": "class_name"
7457
+ },
7458
+ "_invalid_character_class_name_outcome": {
7459
+ "type": "ALIAS",
7460
+ "content": {
7461
+ "type": "SYMBOL",
7462
+ "name": "_invalid_character_class_name_reason"
7463
+ },
7464
+ "named": true,
7465
+ "value": "malformed_bracket_term"
7466
+ },
7467
+ "_invalid_character_class_name_issue": {
7468
+ "type": "ALIAS",
7469
+ "content": {
7470
+ "type": "SYMBOL",
7471
+ "name": "_invalid_character_class_name_outcome"
7472
+ },
7473
+ "named": true,
7474
+ "value": "undefined_syntax"
7475
+ },
7476
+ "_nul_character_reason": {
7789
7477
  "type": "SYMBOL",
7790
- "name": "_nonportable_range_start_marker"
7478
+ "name": "_nul_character"
7479
+ },
7480
+ "_nul_character_outcome": {
7481
+ "type": "ALIAS",
7482
+ "content": {
7483
+ "type": "SYMBOL",
7484
+ "name": "_nul_character_reason"
7485
+ },
7486
+ "named": true,
7487
+ "value": "nul_character"
7488
+ },
7489
+ "_nul_character_issue": {
7490
+ "type": "ALIAS",
7491
+ "content": {
7492
+ "type": "SYMBOL",
7493
+ "name": "_nul_character_outcome"
7494
+ },
7495
+ "named": true,
7496
+ "value": "nonconforming_syntax"
7497
+ },
7498
+ "_invalid_regular_expression_character_reason": {
7499
+ "type": "SYMBOL",
7500
+ "name": "_invalid_character"
7501
+ },
7502
+ "_invalid_regular_expression_character_outcome": {
7503
+ "type": "ALIAS",
7504
+ "content": {
7505
+ "type": "SYMBOL",
7506
+ "name": "_invalid_regular_expression_character_reason"
7507
+ },
7508
+ "named": true,
7509
+ "value": "invalid_regular_expression_character"
7510
+ },
7511
+ "_invalid_regular_expression_character_issue": {
7512
+ "type": "ALIAS",
7513
+ "content": {
7514
+ "type": "SYMBOL",
7515
+ "name": "_invalid_regular_expression_character_outcome"
7516
+ },
7517
+ "named": true,
7518
+ "value": "invalid_syntax"
7519
+ },
7520
+ "_character_class_range_start_reason": {
7521
+ "type": "SEQ",
7522
+ "members": [
7523
+ {
7524
+ "type": "SYMBOL",
7525
+ "name": "character_class"
7526
+ },
7527
+ {
7528
+ "type": "SYMBOL",
7529
+ "name": "_nonportable_range_start_marker"
7530
+ }
7531
+ ]
7791
7532
  },
7792
7533
  "_character_class_range_start_outcome": {
7793
7534
  "type": "ALIAS",
@@ -7808,8 +7549,17 @@
7808
7549
  "value": "undefined_syntax"
7809
7550
  },
7810
7551
  "_character_class_range_end_reason": {
7811
- "type": "SYMBOL",
7812
- "name": "_nonportable_range_end_marker"
7552
+ "type": "SEQ",
7553
+ "members": [
7554
+ {
7555
+ "type": "SYMBOL",
7556
+ "name": "_nonportable_range_end_marker"
7557
+ },
7558
+ {
7559
+ "type": "SYMBOL",
7560
+ "name": "character_class"
7561
+ }
7562
+ ]
7813
7563
  },
7814
7564
  "_character_class_range_end_outcome": {
7815
7565
  "type": "ALIAS",
@@ -8082,8 +7832,33 @@
8082
7832
  "value": "undefined_syntax"
8083
7833
  },
8084
7834
  "_malformed_interval_reason": {
8085
- "type": "SYMBOL",
8086
- "name": "_regex_invalid_interval"
7835
+ "type": "PREC_RIGHT",
7836
+ "value": 0,
7837
+ "content": {
7838
+ "type": "REPEAT1",
7839
+ "content": {
7840
+ "type": "CHOICE",
7841
+ "members": [
7842
+ {
7843
+ "type": "SYMBOL",
7844
+ "name": "_regex_invalid_interval"
7845
+ },
7846
+ {
7847
+ "type": "FIELD",
7848
+ "name": "issue",
7849
+ "content": {
7850
+ "type": "ALIAS",
7851
+ "content": {
7852
+ "type": "SYMBOL",
7853
+ "name": "_invalid_regular_expression_character_issue"
7854
+ },
7855
+ "named": true,
7856
+ "value": "syntax_issue"
7857
+ }
7858
+ }
7859
+ ]
7860
+ }
7861
+ }
8087
7862
  },
8088
7863
  "_malformed_interval_outcome": {
8089
7864
  "type": "ALIAS",
@@ -8104,8 +7879,21 @@
8104
7879
  "value": "undefined_syntax"
8105
7880
  },
8106
7881
  "_leading_duplication_symbol_reason": {
8107
- "type": "SYMBOL",
8108
- "name": "_regex_leading_duplication_marker"
7882
+ "type": "SEQ",
7883
+ "members": [
7884
+ {
7885
+ "type": "SYMBOL",
7886
+ "name": "_regex_leading_duplication_marker"
7887
+ },
7888
+ {
7889
+ "type": "FIELD",
7890
+ "name": "operator",
7891
+ "content": {
7892
+ "type": "SYMBOL",
7893
+ "name": "bre_dupl_symbol"
7894
+ }
7895
+ }
7896
+ ]
8109
7897
  },
8110
7898
  "_leading_duplication_symbol_outcome": {
8111
7899
  "type": "ALIAS",
@@ -8126,8 +7914,21 @@
8126
7914
  "value": "undefined_syntax"
8127
7915
  },
8128
7916
  "_adjacent_duplication_symbol_reason": {
8129
- "type": "SYMBOL",
8130
- "name": "_regex_adjacent_duplication_marker"
7917
+ "type": "SEQ",
7918
+ "members": [
7919
+ {
7920
+ "type": "SYMBOL",
7921
+ "name": "_regex_adjacent_duplication_marker"
7922
+ },
7923
+ {
7924
+ "type": "FIELD",
7925
+ "name": "operator",
7926
+ "content": {
7927
+ "type": "SYMBOL",
7928
+ "name": "bre_dupl_symbol"
7929
+ }
7930
+ }
7931
+ ]
8131
7932
  },
8132
7933
  "_adjacent_duplication_symbol_outcome": {
8133
7934
  "type": "ALIAS",
@@ -8192,8 +7993,35 @@
8192
7993
  "value": "undefined_syntax"
8193
7994
  },
8194
7995
  "_undefined_translation_escape_reason": {
8195
- "type": "SYMBOL",
8196
- "name": "_translate_nonportable_escape"
7996
+ "type": "CHOICE",
7997
+ "members": [
7998
+ {
7999
+ "type": "SYMBOL",
8000
+ "name": "_translate_nonportable_escape"
8001
+ },
8002
+ {
8003
+ "type": "SEQ",
8004
+ "members": [
8005
+ {
8006
+ "type": "SYMBOL",
8007
+ "name": "_escape_prefix"
8008
+ },
8009
+ {
8010
+ "type": "FIELD",
8011
+ "name": "issue",
8012
+ "content": {
8013
+ "type": "ALIAS",
8014
+ "content": {
8015
+ "type": "SYMBOL",
8016
+ "name": "_nul_character_issue"
8017
+ },
8018
+ "named": true,
8019
+ "value": "syntax_issue"
8020
+ }
8021
+ }
8022
+ ]
8023
+ }
8024
+ ]
8197
8025
  },
8198
8026
  "_undefined_translation_escape_outcome": {
8199
8027
  "type": "ALIAS",
@@ -8214,8 +8042,17 @@
8214
8042
  "value": "undefined_syntax"
8215
8043
  },
8216
8044
  "_equivalence_class_range_start_reason": {
8217
- "type": "SYMBOL",
8218
- "name": "_nonportable_range_start_marker"
8045
+ "type": "SEQ",
8046
+ "members": [
8047
+ {
8048
+ "type": "SYMBOL",
8049
+ "name": "equivalence_class"
8050
+ },
8051
+ {
8052
+ "type": "SYMBOL",
8053
+ "name": "_nonportable_range_start_marker"
8054
+ }
8055
+ ]
8219
8056
  },
8220
8057
  "_equivalence_class_range_start_outcome": {
8221
8058
  "type": "ALIAS",
@@ -8235,9 +8072,18 @@
8235
8072
  "named": true,
8236
8073
  "value": "unspecified_syntax"
8237
8074
  },
8238
- "_equivalence_class_range_end_reason": {
8239
- "type": "SYMBOL",
8240
- "name": "_nonportable_range_end_marker"
8075
+ "_equivalence_class_range_end_reason": {
8076
+ "type": "SEQ",
8077
+ "members": [
8078
+ {
8079
+ "type": "SYMBOL",
8080
+ "name": "_nonportable_range_end_marker"
8081
+ },
8082
+ {
8083
+ "type": "SYMBOL",
8084
+ "name": "equivalence_class"
8085
+ }
8086
+ ]
8241
8087
  },
8242
8088
  "_equivalence_class_range_end_outcome": {
8243
8089
  "type": "ALIAS",
@@ -8258,8 +8104,13 @@
8258
8104
  "value": "unspecified_syntax"
8259
8105
  },
8260
8106
  "_ambiguous_bracket_expression_reason": {
8261
- "type": "SYMBOL",
8262
- "name": "_ambiguous_bracket_expression_marker"
8107
+ "type": "ALIAS",
8108
+ "content": {
8109
+ "type": "SYMBOL",
8110
+ "name": "_ambiguous_bracket_expression"
8111
+ },
8112
+ "named": true,
8113
+ "value": "bracket_expression"
8263
8114
  },
8264
8115
  "_ambiguous_bracket_expression_outcome": {
8265
8116
  "type": "ALIAS",
@@ -8310,8 +8161,35 @@
8310
8161
  "value": "unspecified_syntax"
8311
8162
  },
8312
8163
  "_unspecified_replacement_escape_reason": {
8313
- "type": "SYMBOL",
8314
- "name": "_replacement_nonportable_escape"
8164
+ "type": "CHOICE",
8165
+ "members": [
8166
+ {
8167
+ "type": "SYMBOL",
8168
+ "name": "_replacement_nonportable_escape"
8169
+ },
8170
+ {
8171
+ "type": "SEQ",
8172
+ "members": [
8173
+ {
8174
+ "type": "SYMBOL",
8175
+ "name": "_escape_prefix"
8176
+ },
8177
+ {
8178
+ "type": "FIELD",
8179
+ "name": "issue",
8180
+ "content": {
8181
+ "type": "ALIAS",
8182
+ "content": {
8183
+ "type": "SYMBOL",
8184
+ "name": "_nul_character_issue"
8185
+ },
8186
+ "named": true,
8187
+ "value": "syntax_issue"
8188
+ }
8189
+ }
8190
+ ]
8191
+ }
8192
+ ]
8315
8193
  },
8316
8194
  "_unspecified_replacement_escape_outcome": {
8317
8195
  "type": "ALIAS",
@@ -8376,8 +8254,35 @@
8376
8254
  "value": "unspecified_syntax"
8377
8255
  },
8378
8256
  "_unspecified_text_escape_reason": {
8379
- "type": "SYMBOL",
8380
- "name": "_text_unspecified_escape"
8257
+ "type": "CHOICE",
8258
+ "members": [
8259
+ {
8260
+ "type": "SYMBOL",
8261
+ "name": "_text_unspecified_escape"
8262
+ },
8263
+ {
8264
+ "type": "SEQ",
8265
+ "members": [
8266
+ {
8267
+ "type": "SYMBOL",
8268
+ "name": "_escape_prefix"
8269
+ },
8270
+ {
8271
+ "type": "FIELD",
8272
+ "name": "issue",
8273
+ "content": {
8274
+ "type": "ALIAS",
8275
+ "content": {
8276
+ "type": "SYMBOL",
8277
+ "name": "_nul_character_issue"
8278
+ },
8279
+ "named": true,
8280
+ "value": "syntax_issue"
8281
+ }
8282
+ }
8283
+ ]
8284
+ }
8285
+ ]
8381
8286
  },
8382
8287
  "_unspecified_text_escape_outcome": {
8383
8288
  "type": "ALIAS",
@@ -8398,8 +8303,17 @@
8398
8303
  "value": "unspecified_syntax"
8399
8304
  },
8400
8305
  "_bre_vertical_line_escape_reason": {
8401
- "type": "SYMBOL",
8402
- "name": "_bre_vertical_line_escape_marker"
8306
+ "type": "FIELD",
8307
+ "name": "token",
8308
+ "content": {
8309
+ "type": "ALIAS",
8310
+ "content": {
8311
+ "type": "SYMBOL",
8312
+ "name": "_regex_bre_vertical_line_escape"
8313
+ },
8314
+ "named": true,
8315
+ "value": "back_bar"
8316
+ }
8403
8317
  },
8404
8318
  "_bre_vertical_line_escape_outcome": {
8405
8319
  "type": "ALIAS",
@@ -8420,8 +8334,17 @@
8420
8334
  "value": "implementation_defined_syntax"
8421
8335
  },
8422
8336
  "_bre_question_mark_escape_reason": {
8423
- "type": "SYMBOL",
8424
- "name": "_bre_question_mark_escape_marker"
8337
+ "type": "FIELD",
8338
+ "name": "token",
8339
+ "content": {
8340
+ "type": "ALIAS",
8341
+ "content": {
8342
+ "type": "SYMBOL",
8343
+ "name": "_regex_bre_question_mark_escape"
8344
+ },
8345
+ "named": true,
8346
+ "value": "back_qm"
8347
+ }
8425
8348
  },
8426
8349
  "_bre_question_mark_escape_outcome": {
8427
8350
  "type": "ALIAS",
@@ -8442,8 +8365,17 @@
8442
8365
  "value": "implementation_defined_syntax"
8443
8366
  },
8444
8367
  "_bre_plus_escape_reason": {
8445
- "type": "SYMBOL",
8446
- "name": "_bre_plus_escape_marker"
8368
+ "type": "FIELD",
8369
+ "name": "token",
8370
+ "content": {
8371
+ "type": "ALIAS",
8372
+ "content": {
8373
+ "type": "SYMBOL",
8374
+ "name": "_regex_bre_plus_escape"
8375
+ },
8376
+ "named": true,
8377
+ "value": "back_plus"
8378
+ }
8447
8379
  },
8448
8380
  "_bre_plus_escape_outcome": {
8449
8381
  "type": "ALIAS",
@@ -8483,7 +8415,7 @@
8483
8415
  "name": "_bre_subexpression_left_anchor_outcome"
8484
8416
  },
8485
8417
  "named": true,
8486
- "value": "invalid_syntax"
8418
+ "value": "nonconforming_syntax"
8487
8419
  },
8488
8420
  "_bre_subexpression_right_anchor_reason": {
8489
8421
  "type": "SYMBOL",
@@ -8505,7 +8437,7 @@
8505
8437
  "name": "_bre_subexpression_right_anchor_outcome"
8506
8438
  },
8507
8439
  "named": true,
8508
- "value": "invalid_syntax"
8440
+ "value": "nonconforming_syntax"
8509
8441
  },
8510
8442
  "_omitted_file_separator_reason": {
8511
8443
  "type": "SYMBOL",
@@ -8789,15 +8721,24 @@
8789
8721
  "value": "nonconforming_syntax"
8790
8722
  },
8791
8723
  "_unknown_function_reason": {
8792
- "type": "TOKEN",
8793
- "content": {
8794
- "type": "PREC",
8795
- "value": -2,
8796
- "content": {
8797
- "type": "PATTERN",
8798
- "value": "[^[:blank:][:digit:]$\\/\\\\!;{}#\\n]"
8724
+ "type": "CHOICE",
8725
+ "members": [
8726
+ {
8727
+ "type": "TOKEN",
8728
+ "content": {
8729
+ "type": "PREC",
8730
+ "value": -2,
8731
+ "content": {
8732
+ "type": "PATTERN",
8733
+ "value": "[^[:blank:][:digit:]$\\/\\\\!;}\\n{abcdDgGhHilnNpPqrstwxy:=#]"
8734
+ }
8735
+ }
8736
+ },
8737
+ {
8738
+ "type": "SYMBOL",
8739
+ "name": "_invalid_character"
8799
8740
  }
8800
- }
8741
+ ]
8801
8742
  },
8802
8743
  "_unknown_function_outcome": {
8803
8744
  "type": "ALIAS",
@@ -8840,31 +8781,51 @@
8840
8781
  "value": "nonconforming_syntax"
8841
8782
  },
8842
8783
  "_unexpected_command_text_reason": {
8843
- "type": "CHOICE",
8844
- "members": [
8845
- {
8846
- "type": "IMMEDIATE_TOKEN",
8847
- "content": {
8848
- "type": "PREC",
8849
- "value": -10,
8784
+ "type": "REPEAT1",
8785
+ "content": {
8786
+ "type": "CHOICE",
8787
+ "members": [
8788
+ {
8789
+ "type": "IMMEDIATE_TOKEN",
8850
8790
  "content": {
8851
- "type": "PATTERN",
8852
- "value": "[[:blank:]]+"
8791
+ "type": "PREC",
8792
+ "value": -10,
8793
+ "content": {
8794
+ "type": "PATTERN",
8795
+ "value": "[[:blank:]]+"
8796
+ }
8853
8797
  }
8854
- }
8855
- },
8856
- {
8857
- "type": "IMMEDIATE_TOKEN",
8858
- "content": {
8859
- "type": "PREC",
8860
- "value": -10,
8798
+ },
8799
+ {
8800
+ "type": "IMMEDIATE_TOKEN",
8861
8801
  "content": {
8862
- "type": "PATTERN",
8863
- "value": "[[:blank:]]*[^[:blank:];}\\n][^;}\\n]*"
8802
+ "type": "PREC",
8803
+ "value": -10,
8804
+ "content": {
8805
+ "type": "PATTERN",
8806
+ "value": "[[:blank:]]*[^[:blank:];}\\n\\x00][^;}\\n\\x00]*"
8807
+ }
8808
+ }
8809
+ },
8810
+ {
8811
+ "type": "FIELD",
8812
+ "name": "issue",
8813
+ "content": {
8814
+ "type": "ALIAS",
8815
+ "content": {
8816
+ "type": "SYMBOL",
8817
+ "name": "_nul_character_issue"
8818
+ },
8819
+ "named": true,
8820
+ "value": "syntax_issue"
8864
8821
  }
8822
+ },
8823
+ {
8824
+ "type": "SYMBOL",
8825
+ "name": "_invalid_character"
8865
8826
  }
8866
- }
8867
- ]
8827
+ ]
8828
+ }
8868
8829
  },
8869
8830
  "_unexpected_command_text_outcome": {
8870
8831
  "type": "ALIAS",
@@ -8885,11 +8846,16 @@
8885
8846
  "value": "nonconforming_syntax"
8886
8847
  },
8887
8848
  "_forbidden_command_separator_reason": {
8888
- "type": "IMMEDIATE_TOKEN",
8849
+ "type": "ALIAS",
8889
8850
  "content": {
8890
- "type": "STRING",
8891
- "value": ";"
8892
- }
8851
+ "type": "IMMEDIATE_TOKEN",
8852
+ "content": {
8853
+ "type": "STRING",
8854
+ "value": ";"
8855
+ }
8856
+ },
8857
+ "named": true,
8858
+ "value": "command_separator"
8893
8859
  },
8894
8860
  "_forbidden_command_separator_outcome": {
8895
8861
  "type": "ALIAS",
@@ -8990,8 +8956,13 @@
8990
8956
  "value": "nonconforming_syntax"
8991
8957
  },
8992
8958
  "_unmatched_closing_brace_reason": {
8993
- "type": "SYMBOL",
8994
- "name": "_right_brace"
8959
+ "type": "ALIAS",
8960
+ "content": {
8961
+ "type": "SYMBOL",
8962
+ "name": "_present_closing_brace"
8963
+ },
8964
+ "named": true,
8965
+ "value": "closing_brace"
8995
8966
  },
8996
8967
  "_unmatched_closing_brace_outcome": {
8997
8968
  "type": "ALIAS",
@@ -9100,8 +9071,26 @@
9100
9071
  "value": "nonconforming_syntax"
9101
9072
  },
9102
9073
  "_invalid_delimiter_reason": {
9103
- "type": "STRING",
9104
- "value": "\\"
9074
+ "type": "FIELD",
9075
+ "name": "token",
9076
+ "content": {
9077
+ "type": "ALIAS",
9078
+ "content": {
9079
+ "type": "CHOICE",
9080
+ "members": [
9081
+ {
9082
+ "type": "STRING",
9083
+ "value": "\\"
9084
+ },
9085
+ {
9086
+ "type": "SYMBOL",
9087
+ "name": "_invalid_character"
9088
+ }
9089
+ ]
9090
+ },
9091
+ "named": true,
9092
+ "value": "delimiter_token"
9093
+ }
9105
9094
  },
9106
9095
  "_invalid_delimiter_outcome": {
9107
9096
  "type": "ALIAS",
@@ -9469,6 +9458,28 @@
9469
9458
  "named": true,
9470
9459
  "value": "incomplete_syntax"
9471
9460
  },
9461
+ "_incomplete_text_introducer_reason": {
9462
+ "type": "SYMBOL",
9463
+ "name": "_text_incomplete_introducer"
9464
+ },
9465
+ "_incomplete_text_introducer_outcome": {
9466
+ "type": "ALIAS",
9467
+ "content": {
9468
+ "type": "SYMBOL",
9469
+ "name": "_incomplete_text_introducer_reason"
9470
+ },
9471
+ "named": true,
9472
+ "value": "incomplete_text_introducer"
9473
+ },
9474
+ "_incomplete_text_introducer_issue": {
9475
+ "type": "ALIAS",
9476
+ "content": {
9477
+ "type": "SYMBOL",
9478
+ "name": "_incomplete_text_introducer_outcome"
9479
+ },
9480
+ "named": true,
9481
+ "value": "incomplete_syntax"
9482
+ },
9472
9483
  "_missing_text_reason": {
9473
9484
  "type": "SYMBOL",
9474
9485
  "name": "_missing_text_marker"
@@ -9842,10 +9853,6 @@
9842
9853
  },
9843
9854
  "extras": [],
9844
9855
  "conflicts": [
9845
- [
9846
- "address_clause",
9847
- "_recovered_editing_command"
9848
- ],
9849
9856
  [
9850
9857
  "address_clause",
9851
9858
  "_max1_address_clause"
@@ -9914,6 +9921,14 @@
9914
9921
  "type": "SYMBOL",
9915
9922
  "name": "_regex_literal"
9916
9923
  },
9924
+ {
9925
+ "type": "SYMBOL",
9926
+ "name": "_invalid_character"
9927
+ },
9928
+ {
9929
+ "type": "SYMBOL",
9930
+ "name": "_nul_character"
9931
+ },
9917
9932
  {
9918
9933
  "type": "SYMBOL",
9919
9934
  "name": "_regex_beginning_anchor"
@@ -9930,6 +9945,10 @@
9930
9945
  "type": "SYMBOL",
9931
9946
  "name": "_regex_quoted_escape"
9932
9947
  },
9948
+ {
9949
+ "type": "SYMBOL",
9950
+ "name": "_escape_prefix"
9951
+ },
9933
9952
  {
9934
9953
  "type": "SYMBOL",
9935
9954
  "name": "_regex_newline_escape"
@@ -9978,18 +9997,6 @@
9978
9997
  "type": "SYMBOL",
9979
9998
  "name": "_regex_bre_subexpression_dollar"
9980
9999
  },
9981
- {
9982
- "type": "SYMBOL",
9983
- "name": "_bre_vertical_line_escape_marker"
9984
- },
9985
- {
9986
- "type": "SYMBOL",
9987
- "name": "_bre_question_mark_escape_marker"
9988
- },
9989
- {
9990
- "type": "SYMBOL",
9991
- "name": "_bre_plus_escape_marker"
9992
- },
9993
10000
  {
9994
10001
  "type": "SYMBOL",
9995
10002
  "name": "_regex_unmatched_interval_close"
@@ -10074,6 +10081,10 @@
10074
10081
  "type": "SYMBOL",
10075
10082
  "name": "_regex_class_name"
10076
10083
  },
10084
+ {
10085
+ "type": "SYMBOL",
10086
+ "name": "_regex_invalid_class_name"
10087
+ },
10077
10088
  {
10078
10089
  "type": "SYMBOL",
10079
10090
  "name": "_regex_colon_close"
@@ -10222,6 +10233,10 @@
10222
10233
  "type": "SYMBOL",
10223
10234
  "name": "_text_command_start"
10224
10235
  },
10236
+ {
10237
+ "type": "SYMBOL",
10238
+ "name": "_text_incomplete_introducer"
10239
+ },
10225
10240
  {
10226
10241
  "type": "SYMBOL",
10227
10242
  "name": "_text_literal"
@@ -10262,14 +10277,26 @@
10262
10277
  "type": "SYMBOL",
10263
10278
  "name": "_substitution_wfile_argument"
10264
10279
  },
10280
+ {
10281
+ "type": "SYMBOL",
10282
+ "name": "_substitution_wfile_continuation"
10283
+ },
10265
10284
  {
10266
10285
  "type": "SYMBOL",
10267
10286
  "name": "_line_word"
10268
10287
  },
10288
+ {
10289
+ "type": "SYMBOL",
10290
+ "name": "_argument_separator"
10291
+ },
10269
10292
  {
10270
10293
  "type": "SYMBOL",
10271
10294
  "name": "_right_brace"
10272
10295
  },
10296
+ {
10297
+ "type": "SYMBOL",
10298
+ "name": "_empty_command_marker"
10299
+ },
10273
10300
  {
10274
10301
  "type": "SYMBOL",
10275
10302
  "name": "_reserved_unknown_function_token"