@konomanoasa/tree-sitter-gitattributes 0.2.0 → 0.4.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/Cargo.toml +1 -1
- package/README.md +5 -1
- package/grammar.js +62 -49
- package/package.json +7 -6
- package/src/grammar.json +206 -112
- package/src/node-types.json +19 -4
- package/src/parser.c +2896 -2663
- package/src/scanner.c +298 -345
- package/test/bindings.test.rs +0 -13
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
"line_ending": {
|
|
39
|
+
"type": "PATTERN",
|
|
40
|
+
"value": "\\r?\\n"
|
|
41
|
+
},
|
|
38
42
|
"_end": {
|
|
39
43
|
"type": "SEQ",
|
|
40
44
|
"members": [
|
|
@@ -205,7 +209,7 @@
|
|
|
205
209
|
"type": "ALIAS",
|
|
206
210
|
"content": {
|
|
207
211
|
"type": "SYMBOL",
|
|
208
|
-
"name": "
|
|
212
|
+
"name": "_missing_attribute_name_issue"
|
|
209
213
|
},
|
|
210
214
|
"named": true,
|
|
211
215
|
"value": "syntax_issue"
|
|
@@ -218,7 +222,7 @@
|
|
|
218
222
|
"type": "ALIAS",
|
|
219
223
|
"content": {
|
|
220
224
|
"type": "SYMBOL",
|
|
221
|
-
"name": "
|
|
225
|
+
"name": "_incomplete_attribute_name_issue"
|
|
222
226
|
},
|
|
223
227
|
"named": true,
|
|
224
228
|
"value": "syntax_issue"
|
|
@@ -243,30 +247,35 @@
|
|
|
243
247
|
}
|
|
244
248
|
},
|
|
245
249
|
{
|
|
246
|
-
"type": "
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"name": "issue",
|
|
261
|
-
"content": {
|
|
262
|
-
"type": "ALIAS",
|
|
263
|
-
"content": {
|
|
264
|
-
"type": "SYMBOL",
|
|
265
|
-
"name": "_incomplete_quote_issue"
|
|
250
|
+
"type": "CHOICE",
|
|
251
|
+
"members": [
|
|
252
|
+
{
|
|
253
|
+
"type": "FIELD",
|
|
254
|
+
"name": "issue",
|
|
255
|
+
"content": {
|
|
256
|
+
"type": "ALIAS",
|
|
257
|
+
"content": {
|
|
258
|
+
"type": "SYMBOL",
|
|
259
|
+
"name": "_missing_quote_close_issue"
|
|
260
|
+
},
|
|
261
|
+
"named": true,
|
|
262
|
+
"value": "syntax_issue"
|
|
263
|
+
}
|
|
266
264
|
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
265
|
+
{
|
|
266
|
+
"type": "FIELD",
|
|
267
|
+
"name": "issue",
|
|
268
|
+
"content": {
|
|
269
|
+
"type": "ALIAS",
|
|
270
|
+
"content": {
|
|
271
|
+
"type": "SYMBOL",
|
|
272
|
+
"name": "_incomplete_quote_close_issue"
|
|
273
|
+
},
|
|
274
|
+
"named": true,
|
|
275
|
+
"value": "syntax_issue"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
]
|
|
270
279
|
}
|
|
271
280
|
]
|
|
272
281
|
},
|
|
@@ -312,7 +321,7 @@
|
|
|
312
321
|
"type": "ALIAS",
|
|
313
322
|
"content": {
|
|
314
323
|
"type": "SYMBOL",
|
|
315
|
-
"name": "
|
|
324
|
+
"name": "_missing_attribute_separator_issue"
|
|
316
325
|
},
|
|
317
326
|
"named": true,
|
|
318
327
|
"value": "syntax_issue"
|
|
@@ -380,7 +389,7 @@
|
|
|
380
389
|
"type": "ALIAS",
|
|
381
390
|
"content": {
|
|
382
391
|
"type": "SYMBOL",
|
|
383
|
-
"name": "
|
|
392
|
+
"name": "_missing_attribute_name_issue"
|
|
384
393
|
},
|
|
385
394
|
"named": true,
|
|
386
395
|
"value": "syntax_issue"
|
|
@@ -393,7 +402,7 @@
|
|
|
393
402
|
"type": "ALIAS",
|
|
394
403
|
"content": {
|
|
395
404
|
"type": "SYMBOL",
|
|
396
|
-
"name": "
|
|
405
|
+
"name": "_incomplete_attribute_name_issue"
|
|
397
406
|
},
|
|
398
407
|
"named": true,
|
|
399
408
|
"value": "syntax_issue"
|
|
@@ -492,6 +501,32 @@
|
|
|
492
501
|
"value": "syntax_issue"
|
|
493
502
|
}
|
|
494
503
|
},
|
|
504
|
+
{
|
|
505
|
+
"type": "FIELD",
|
|
506
|
+
"name": "issue",
|
|
507
|
+
"content": {
|
|
508
|
+
"type": "ALIAS",
|
|
509
|
+
"content": {
|
|
510
|
+
"type": "SYMBOL",
|
|
511
|
+
"name": "_incomplete_name_character_issue"
|
|
512
|
+
},
|
|
513
|
+
"named": true,
|
|
514
|
+
"value": "syntax_issue"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"type": "FIELD",
|
|
519
|
+
"name": "issue",
|
|
520
|
+
"content": {
|
|
521
|
+
"type": "ALIAS",
|
|
522
|
+
"content": {
|
|
523
|
+
"type": "SYMBOL",
|
|
524
|
+
"name": "_invalid_name_escape_issue"
|
|
525
|
+
},
|
|
526
|
+
"named": true,
|
|
527
|
+
"value": "syntax_issue"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
495
530
|
{
|
|
496
531
|
"type": "FIELD",
|
|
497
532
|
"name": "issue",
|
|
@@ -678,7 +713,7 @@
|
|
|
678
713
|
"type": "ALIAS",
|
|
679
714
|
"content": {
|
|
680
715
|
"type": "SYMBOL",
|
|
681
|
-
"name": "
|
|
716
|
+
"name": "_negative_pattern_issue"
|
|
682
717
|
},
|
|
683
718
|
"named": true,
|
|
684
719
|
"value": "syntax_issue"
|
|
@@ -691,7 +726,7 @@
|
|
|
691
726
|
"type": "ALIAS",
|
|
692
727
|
"content": {
|
|
693
728
|
"type": "SYMBOL",
|
|
694
|
-
"name": "
|
|
729
|
+
"name": "_invalid_encoding_issue"
|
|
695
730
|
},
|
|
696
731
|
"named": true,
|
|
697
732
|
"value": "syntax_issue"
|
|
@@ -704,7 +739,7 @@
|
|
|
704
739
|
"type": "ALIAS",
|
|
705
740
|
"content": {
|
|
706
741
|
"type": "SYMBOL",
|
|
707
|
-
"name": "
|
|
742
|
+
"name": "_ended_escape_issue"
|
|
708
743
|
},
|
|
709
744
|
"named": true,
|
|
710
745
|
"value": "syntax_issue"
|
|
@@ -850,30 +885,35 @@
|
|
|
850
885
|
}
|
|
851
886
|
},
|
|
852
887
|
{
|
|
853
|
-
"type": "
|
|
854
|
-
"
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
"
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
"name": "issue",
|
|
868
|
-
"content": {
|
|
869
|
-
"type": "ALIAS",
|
|
870
|
-
"content": {
|
|
871
|
-
"type": "SYMBOL",
|
|
872
|
-
"name": "_incomplete_quote_issue"
|
|
888
|
+
"type": "CHOICE",
|
|
889
|
+
"members": [
|
|
890
|
+
{
|
|
891
|
+
"type": "FIELD",
|
|
892
|
+
"name": "issue",
|
|
893
|
+
"content": {
|
|
894
|
+
"type": "ALIAS",
|
|
895
|
+
"content": {
|
|
896
|
+
"type": "SYMBOL",
|
|
897
|
+
"name": "_missing_quote_close_issue"
|
|
898
|
+
},
|
|
899
|
+
"named": true,
|
|
900
|
+
"value": "syntax_issue"
|
|
901
|
+
}
|
|
873
902
|
},
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
903
|
+
{
|
|
904
|
+
"type": "FIELD",
|
|
905
|
+
"name": "issue",
|
|
906
|
+
"content": {
|
|
907
|
+
"type": "ALIAS",
|
|
908
|
+
"content": {
|
|
909
|
+
"type": "SYMBOL",
|
|
910
|
+
"name": "_incomplete_quote_close_issue"
|
|
911
|
+
},
|
|
912
|
+
"named": true,
|
|
913
|
+
"value": "syntax_issue"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
]
|
|
877
917
|
}
|
|
878
918
|
]
|
|
879
919
|
},
|
|
@@ -971,7 +1011,7 @@
|
|
|
971
1011
|
"type": "ALIAS",
|
|
972
1012
|
"content": {
|
|
973
1013
|
"type": "SYMBOL",
|
|
974
|
-
"name": "
|
|
1014
|
+
"name": "_ended_escape_issue"
|
|
975
1015
|
},
|
|
976
1016
|
"named": true,
|
|
977
1017
|
"value": "syntax_issue"
|
|
@@ -1112,30 +1152,35 @@
|
|
|
1112
1152
|
}
|
|
1113
1153
|
},
|
|
1114
1154
|
{
|
|
1115
|
-
"type": "
|
|
1116
|
-
"
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
"name": "issue",
|
|
1130
|
-
"content": {
|
|
1131
|
-
"type": "ALIAS",
|
|
1132
|
-
"content": {
|
|
1133
|
-
"type": "SYMBOL",
|
|
1134
|
-
"name": "_incomplete_set_close_issue"
|
|
1155
|
+
"type": "CHOICE",
|
|
1156
|
+
"members": [
|
|
1157
|
+
{
|
|
1158
|
+
"type": "FIELD",
|
|
1159
|
+
"name": "issue",
|
|
1160
|
+
"content": {
|
|
1161
|
+
"type": "ALIAS",
|
|
1162
|
+
"content": {
|
|
1163
|
+
"type": "SYMBOL",
|
|
1164
|
+
"name": "_missing_set_close_issue"
|
|
1165
|
+
},
|
|
1166
|
+
"named": true,
|
|
1167
|
+
"value": "syntax_issue"
|
|
1168
|
+
}
|
|
1135
1169
|
},
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1170
|
+
{
|
|
1171
|
+
"type": "FIELD",
|
|
1172
|
+
"name": "issue",
|
|
1173
|
+
"content": {
|
|
1174
|
+
"type": "ALIAS",
|
|
1175
|
+
"content": {
|
|
1176
|
+
"type": "SYMBOL",
|
|
1177
|
+
"name": "_incomplete_set_close_issue"
|
|
1178
|
+
},
|
|
1179
|
+
"named": true,
|
|
1180
|
+
"value": "syntax_issue"
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
]
|
|
1139
1184
|
}
|
|
1140
1185
|
]
|
|
1141
1186
|
}
|
|
@@ -1391,20 +1436,20 @@
|
|
|
1391
1436
|
"named": true,
|
|
1392
1437
|
"value": "invalid_syntax"
|
|
1393
1438
|
},
|
|
1394
|
-
"
|
|
1439
|
+
"_ended_escape_outcome": {
|
|
1395
1440
|
"type": "ALIAS",
|
|
1396
1441
|
"content": {
|
|
1397
1442
|
"type": "SYMBOL",
|
|
1398
|
-
"name": "
|
|
1443
|
+
"name": "_ended_escape"
|
|
1399
1444
|
},
|
|
1400
1445
|
"named": true,
|
|
1401
1446
|
"value": "incomplete_escape"
|
|
1402
1447
|
},
|
|
1403
|
-
"
|
|
1448
|
+
"_ended_escape_issue": {
|
|
1404
1449
|
"type": "ALIAS",
|
|
1405
1450
|
"content": {
|
|
1406
1451
|
"type": "SYMBOL",
|
|
1407
|
-
"name": "
|
|
1452
|
+
"name": "_ended_escape_outcome"
|
|
1408
1453
|
},
|
|
1409
1454
|
"named": true,
|
|
1410
1455
|
"value": "invalid_syntax"
|
|
@@ -1481,92 +1526,92 @@
|
|
|
1481
1526
|
"named": true,
|
|
1482
1527
|
"value": "incomplete_syntax"
|
|
1483
1528
|
},
|
|
1484
|
-
"
|
|
1529
|
+
"_missing_quote_close_outcome": {
|
|
1485
1530
|
"type": "ALIAS",
|
|
1486
1531
|
"content": {
|
|
1487
1532
|
"type": "SYMBOL",
|
|
1488
|
-
"name": "
|
|
1533
|
+
"name": "_missing_quote_close"
|
|
1489
1534
|
},
|
|
1490
1535
|
"named": true,
|
|
1491
1536
|
"value": "missing_quote_close"
|
|
1492
1537
|
},
|
|
1493
|
-
"
|
|
1538
|
+
"_missing_quote_close_issue": {
|
|
1494
1539
|
"type": "ALIAS",
|
|
1495
1540
|
"content": {
|
|
1496
1541
|
"type": "SYMBOL",
|
|
1497
|
-
"name": "
|
|
1542
|
+
"name": "_missing_quote_close_outcome"
|
|
1498
1543
|
},
|
|
1499
1544
|
"named": true,
|
|
1500
1545
|
"value": "invalid_syntax"
|
|
1501
1546
|
},
|
|
1502
|
-
"
|
|
1547
|
+
"_incomplete_quote_close_outcome": {
|
|
1503
1548
|
"type": "ALIAS",
|
|
1504
1549
|
"content": {
|
|
1505
1550
|
"type": "SYMBOL",
|
|
1506
|
-
"name": "
|
|
1551
|
+
"name": "_incomplete_quote_close"
|
|
1507
1552
|
},
|
|
1508
1553
|
"named": true,
|
|
1509
1554
|
"value": "missing_quote_close"
|
|
1510
1555
|
},
|
|
1511
|
-
"
|
|
1556
|
+
"_incomplete_quote_close_issue": {
|
|
1512
1557
|
"type": "ALIAS",
|
|
1513
1558
|
"content": {
|
|
1514
1559
|
"type": "SYMBOL",
|
|
1515
|
-
"name": "
|
|
1560
|
+
"name": "_incomplete_quote_close_outcome"
|
|
1516
1561
|
},
|
|
1517
1562
|
"named": true,
|
|
1518
1563
|
"value": "incomplete_syntax"
|
|
1519
1564
|
},
|
|
1520
|
-
"
|
|
1565
|
+
"_missing_attribute_separator_outcome": {
|
|
1521
1566
|
"type": "ALIAS",
|
|
1522
1567
|
"content": {
|
|
1523
1568
|
"type": "SYMBOL",
|
|
1524
|
-
"name": "
|
|
1569
|
+
"name": "_missing_attribute_separator"
|
|
1525
1570
|
},
|
|
1526
1571
|
"named": true,
|
|
1527
1572
|
"value": "missing_attribute_separator"
|
|
1528
1573
|
},
|
|
1529
|
-
"
|
|
1574
|
+
"_missing_attribute_separator_issue": {
|
|
1530
1575
|
"type": "ALIAS",
|
|
1531
1576
|
"content": {
|
|
1532
1577
|
"type": "SYMBOL",
|
|
1533
|
-
"name": "
|
|
1578
|
+
"name": "_missing_attribute_separator_outcome"
|
|
1534
1579
|
},
|
|
1535
1580
|
"named": true,
|
|
1536
1581
|
"value": "invalid_syntax"
|
|
1537
1582
|
},
|
|
1538
|
-
"
|
|
1583
|
+
"_missing_attribute_name_outcome": {
|
|
1539
1584
|
"type": "ALIAS",
|
|
1540
1585
|
"content": {
|
|
1541
1586
|
"type": "SYMBOL",
|
|
1542
|
-
"name": "
|
|
1587
|
+
"name": "_missing_attribute_name"
|
|
1543
1588
|
},
|
|
1544
1589
|
"named": true,
|
|
1545
1590
|
"value": "missing_attribute_name"
|
|
1546
1591
|
},
|
|
1547
|
-
"
|
|
1592
|
+
"_missing_attribute_name_issue": {
|
|
1548
1593
|
"type": "ALIAS",
|
|
1549
1594
|
"content": {
|
|
1550
1595
|
"type": "SYMBOL",
|
|
1551
|
-
"name": "
|
|
1596
|
+
"name": "_missing_attribute_name_outcome"
|
|
1552
1597
|
},
|
|
1553
1598
|
"named": true,
|
|
1554
1599
|
"value": "invalid_syntax"
|
|
1555
1600
|
},
|
|
1556
|
-
"
|
|
1601
|
+
"_incomplete_attribute_name_outcome": {
|
|
1557
1602
|
"type": "ALIAS",
|
|
1558
1603
|
"content": {
|
|
1559
1604
|
"type": "SYMBOL",
|
|
1560
|
-
"name": "
|
|
1605
|
+
"name": "_incomplete_attribute_name"
|
|
1561
1606
|
},
|
|
1562
1607
|
"named": true,
|
|
1563
1608
|
"value": "missing_attribute_name"
|
|
1564
1609
|
},
|
|
1565
|
-
"
|
|
1610
|
+
"_incomplete_attribute_name_issue": {
|
|
1566
1611
|
"type": "ALIAS",
|
|
1567
1612
|
"content": {
|
|
1568
1613
|
"type": "SYMBOL",
|
|
1569
|
-
"name": "
|
|
1614
|
+
"name": "_incomplete_attribute_name_outcome"
|
|
1570
1615
|
},
|
|
1571
1616
|
"named": true,
|
|
1572
1617
|
"value": "incomplete_syntax"
|
|
@@ -1588,6 +1633,51 @@
|
|
|
1588
1633
|
},
|
|
1589
1634
|
"named": true,
|
|
1590
1635
|
"value": "invalid_syntax"
|
|
1636
|
+
},
|
|
1637
|
+
"_incomplete_name_character_outcome": {
|
|
1638
|
+
"type": "ALIAS",
|
|
1639
|
+
"content": {
|
|
1640
|
+
"type": "SYMBOL",
|
|
1641
|
+
"name": "_incomplete_name_character"
|
|
1642
|
+
},
|
|
1643
|
+
"named": true,
|
|
1644
|
+
"value": "invalid_name_character"
|
|
1645
|
+
},
|
|
1646
|
+
"_incomplete_name_character_issue": {
|
|
1647
|
+
"type": "ALIAS",
|
|
1648
|
+
"content": {
|
|
1649
|
+
"type": "SYMBOL",
|
|
1650
|
+
"name": "_incomplete_name_character_outcome"
|
|
1651
|
+
},
|
|
1652
|
+
"named": true,
|
|
1653
|
+
"value": "incomplete_syntax"
|
|
1654
|
+
},
|
|
1655
|
+
"_invalid_name_escape_reason": {
|
|
1656
|
+
"type": "ALIAS",
|
|
1657
|
+
"content": {
|
|
1658
|
+
"type": "SYMBOL",
|
|
1659
|
+
"name": "_invalid_name_escape"
|
|
1660
|
+
},
|
|
1661
|
+
"named": true,
|
|
1662
|
+
"value": "quoted_escape"
|
|
1663
|
+
},
|
|
1664
|
+
"_invalid_name_escape_outcome": {
|
|
1665
|
+
"type": "ALIAS",
|
|
1666
|
+
"content": {
|
|
1667
|
+
"type": "SYMBOL",
|
|
1668
|
+
"name": "_invalid_name_escape_reason"
|
|
1669
|
+
},
|
|
1670
|
+
"named": true,
|
|
1671
|
+
"value": "invalid_name_character"
|
|
1672
|
+
},
|
|
1673
|
+
"_invalid_name_escape_issue": {
|
|
1674
|
+
"type": "ALIAS",
|
|
1675
|
+
"content": {
|
|
1676
|
+
"type": "SYMBOL",
|
|
1677
|
+
"name": "_invalid_name_escape_outcome"
|
|
1678
|
+
},
|
|
1679
|
+
"named": true,
|
|
1680
|
+
"value": "invalid_syntax"
|
|
1591
1681
|
}
|
|
1592
1682
|
},
|
|
1593
1683
|
"extras": [],
|
|
@@ -1618,10 +1708,6 @@
|
|
|
1618
1708
|
"type": "SYMBOL",
|
|
1619
1709
|
"name": "_eof"
|
|
1620
1710
|
},
|
|
1621
|
-
{
|
|
1622
|
-
"type": "SYMBOL",
|
|
1623
|
-
"name": "line_ending"
|
|
1624
|
-
},
|
|
1625
1711
|
{
|
|
1626
1712
|
"type": "SYMBOL",
|
|
1627
1713
|
"name": "_layout"
|
|
@@ -1804,7 +1890,7 @@
|
|
|
1804
1890
|
},
|
|
1805
1891
|
{
|
|
1806
1892
|
"type": "SYMBOL",
|
|
1807
|
-
"name": "
|
|
1893
|
+
"name": "_ended_escape"
|
|
1808
1894
|
},
|
|
1809
1895
|
{
|
|
1810
1896
|
"type": "SYMBOL",
|
|
@@ -1824,28 +1910,36 @@
|
|
|
1824
1910
|
},
|
|
1825
1911
|
{
|
|
1826
1912
|
"type": "SYMBOL",
|
|
1827
|
-
"name": "
|
|
1913
|
+
"name": "_missing_quote_close"
|
|
1828
1914
|
},
|
|
1829
1915
|
{
|
|
1830
1916
|
"type": "SYMBOL",
|
|
1831
|
-
"name": "
|
|
1917
|
+
"name": "_incomplete_quote_close"
|
|
1832
1918
|
},
|
|
1833
1919
|
{
|
|
1834
1920
|
"type": "SYMBOL",
|
|
1835
|
-
"name": "
|
|
1921
|
+
"name": "_missing_attribute_separator"
|
|
1836
1922
|
},
|
|
1837
1923
|
{
|
|
1838
1924
|
"type": "SYMBOL",
|
|
1839
|
-
"name": "
|
|
1925
|
+
"name": "_missing_attribute_name"
|
|
1840
1926
|
},
|
|
1841
1927
|
{
|
|
1842
1928
|
"type": "SYMBOL",
|
|
1843
|
-
"name": "
|
|
1929
|
+
"name": "_incomplete_attribute_name"
|
|
1844
1930
|
},
|
|
1845
1931
|
{
|
|
1846
1932
|
"type": "SYMBOL",
|
|
1847
1933
|
"name": "_invalid_name_character"
|
|
1848
1934
|
},
|
|
1935
|
+
{
|
|
1936
|
+
"type": "SYMBOL",
|
|
1937
|
+
"name": "_incomplete_name_character"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"type": "SYMBOL",
|
|
1941
|
+
"name": "_invalid_name_escape"
|
|
1942
|
+
},
|
|
1849
1943
|
{
|
|
1850
1944
|
"type": "SYMBOL",
|
|
1851
1945
|
"name": "_error_sentinel"
|
package/src/node-types.json
CHANGED
|
@@ -407,6 +407,10 @@
|
|
|
407
407
|
"type": "incomplete_quoted_escape",
|
|
408
408
|
"named": true
|
|
409
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"type": "invalid_name_character",
|
|
412
|
+
"named": true
|
|
413
|
+
},
|
|
410
414
|
{
|
|
411
415
|
"type": "missing_attribute_name",
|
|
412
416
|
"named": true
|
|
@@ -422,6 +426,21 @@
|
|
|
422
426
|
]
|
|
423
427
|
}
|
|
424
428
|
},
|
|
429
|
+
{
|
|
430
|
+
"type": "invalid_name_character",
|
|
431
|
+
"named": true,
|
|
432
|
+
"fields": {},
|
|
433
|
+
"children": {
|
|
434
|
+
"multiple": false,
|
|
435
|
+
"required": false,
|
|
436
|
+
"types": [
|
|
437
|
+
{
|
|
438
|
+
"type": "quoted_escape",
|
|
439
|
+
"named": true
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
},
|
|
425
444
|
{
|
|
426
445
|
"type": "invalid_syntax",
|
|
427
446
|
"named": true,
|
|
@@ -680,10 +699,6 @@
|
|
|
680
699
|
"type": "invalid_encoding",
|
|
681
700
|
"named": true
|
|
682
701
|
},
|
|
683
|
-
{
|
|
684
|
-
"type": "invalid_name_character",
|
|
685
|
-
"named": true
|
|
686
|
-
},
|
|
687
702
|
{
|
|
688
703
|
"type": "invalid_quoted_escape",
|
|
689
704
|
"named": true
|