oxc-parser 0.121.0 → 0.124.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/package.json +27 -27
- package/src-js/bindings.js +52 -52
- package/src-js/generated/constants.js +12 -4
- package/src-js/generated/deserialize/js.js +543 -501
- package/src-js/generated/deserialize/js_range.js +549 -515
- package/src-js/generated/deserialize/ts.js +599 -556
- package/src-js/generated/deserialize/ts_range.js +597 -565
- package/src-js/generated/lazy/constructors.js +462 -474
- package/src-js/generated/lazy/walk.js +285 -285
|
@@ -197,8 +197,8 @@ function walkProgram(pos, ast, visitors) {
|
|
|
197
197
|
if (enter !== null) enter(node);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
walkOptionHashbang(pos +
|
|
201
|
-
walkVecStatement(pos +
|
|
200
|
+
walkOptionHashbang(pos + 56, ast, visitors);
|
|
201
|
+
walkVecStatement(pos + 112, ast, visitors);
|
|
202
202
|
|
|
203
203
|
if (exit !== null) exit(node);
|
|
204
204
|
}
|
|
@@ -375,7 +375,7 @@ function walkArrayExpression(pos, ast, visitors) {
|
|
|
375
375
|
if (enter !== null) enter(node);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
walkVecArrayExpressionElement(pos +
|
|
378
|
+
walkVecArrayExpressionElement(pos + 16, ast, visitors);
|
|
379
379
|
|
|
380
380
|
if (exit !== null) exit(node);
|
|
381
381
|
}
|
|
@@ -538,7 +538,7 @@ function walkObjectExpression(pos, ast, visitors) {
|
|
|
538
538
|
if (enter !== null) enter(node);
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
walkVecObjectPropertyKind(pos +
|
|
541
|
+
walkVecObjectPropertyKind(pos + 16, ast, visitors);
|
|
542
542
|
|
|
543
543
|
if (exit !== null) exit(node);
|
|
544
544
|
}
|
|
@@ -567,8 +567,8 @@ function walkObjectProperty(pos, ast, visitors) {
|
|
|
567
567
|
if (enter !== null) enter(node);
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
walkPropertyKey(pos +
|
|
571
|
-
walkExpression(pos +
|
|
570
|
+
walkPropertyKey(pos + 16, ast, visitors);
|
|
571
|
+
walkExpression(pos + 32, ast, visitors);
|
|
572
572
|
|
|
573
573
|
if (exit !== null) exit(node);
|
|
574
574
|
}
|
|
@@ -726,8 +726,8 @@ function walkTemplateLiteral(pos, ast, visitors) {
|
|
|
726
726
|
if (enter !== null) enter(node);
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
-
walkVecTemplateElement(pos +
|
|
730
|
-
walkVecExpression(pos +
|
|
729
|
+
walkVecTemplateElement(pos + 16, ast, visitors);
|
|
730
|
+
walkVecExpression(pos + 40, ast, visitors);
|
|
731
731
|
|
|
732
732
|
if (exit !== null) exit(node);
|
|
733
733
|
}
|
|
@@ -743,9 +743,9 @@ function walkTaggedTemplateExpression(pos, ast, visitors) {
|
|
|
743
743
|
if (enter !== null) enter(node);
|
|
744
744
|
}
|
|
745
745
|
|
|
746
|
-
walkExpression(pos +
|
|
747
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
748
|
-
walkTemplateLiteral(pos +
|
|
746
|
+
walkExpression(pos + 16, ast, visitors);
|
|
747
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
748
|
+
walkTemplateLiteral(pos + 40, ast, visitors);
|
|
749
749
|
|
|
750
750
|
if (exit !== null) exit(node);
|
|
751
751
|
}
|
|
@@ -766,8 +766,8 @@ function walkComputedMemberExpression(pos, ast, visitors) {
|
|
|
766
766
|
if (enter !== null) enter(node);
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
-
walkExpression(pos +
|
|
770
|
-
walkExpression(pos +
|
|
769
|
+
walkExpression(pos + 16, ast, visitors);
|
|
770
|
+
walkExpression(pos + 32, ast, visitors);
|
|
771
771
|
|
|
772
772
|
if (exit !== null) exit(node);
|
|
773
773
|
}
|
|
@@ -783,8 +783,8 @@ function walkStaticMemberExpression(pos, ast, visitors) {
|
|
|
783
783
|
if (enter !== null) enter(node);
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
-
walkExpression(pos +
|
|
787
|
-
walkIdentifierName(pos +
|
|
786
|
+
walkExpression(pos + 16, ast, visitors);
|
|
787
|
+
walkIdentifierName(pos + 32, ast, visitors);
|
|
788
788
|
|
|
789
789
|
if (exit !== null) exit(node);
|
|
790
790
|
}
|
|
@@ -800,8 +800,8 @@ function walkPrivateFieldExpression(pos, ast, visitors) {
|
|
|
800
800
|
if (enter !== null) enter(node);
|
|
801
801
|
}
|
|
802
802
|
|
|
803
|
-
walkExpression(pos +
|
|
804
|
-
walkPrivateIdentifier(pos +
|
|
803
|
+
walkExpression(pos + 16, ast, visitors);
|
|
804
|
+
walkPrivateIdentifier(pos + 32, ast, visitors);
|
|
805
805
|
|
|
806
806
|
if (exit !== null) exit(node);
|
|
807
807
|
}
|
|
@@ -817,9 +817,9 @@ function walkCallExpression(pos, ast, visitors) {
|
|
|
817
817
|
if (enter !== null) enter(node);
|
|
818
818
|
}
|
|
819
819
|
|
|
820
|
-
walkExpression(pos +
|
|
821
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
822
|
-
walkVecArgument(pos +
|
|
820
|
+
walkExpression(pos + 16, ast, visitors);
|
|
821
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
822
|
+
walkVecArgument(pos + 40, ast, visitors);
|
|
823
823
|
|
|
824
824
|
if (exit !== null) exit(node);
|
|
825
825
|
}
|
|
@@ -835,9 +835,9 @@ function walkNewExpression(pos, ast, visitors) {
|
|
|
835
835
|
if (enter !== null) enter(node);
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
walkExpression(pos +
|
|
839
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
840
|
-
walkVecArgument(pos +
|
|
838
|
+
walkExpression(pos + 16, ast, visitors);
|
|
839
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
840
|
+
walkVecArgument(pos + 40, ast, visitors);
|
|
841
841
|
|
|
842
842
|
if (exit !== null) exit(node);
|
|
843
843
|
}
|
|
@@ -853,8 +853,8 @@ function walkMetaProperty(pos, ast, visitors) {
|
|
|
853
853
|
if (enter !== null) enter(node);
|
|
854
854
|
}
|
|
855
855
|
|
|
856
|
-
walkIdentifierName(pos +
|
|
857
|
-
walkIdentifierName(pos +
|
|
856
|
+
walkIdentifierName(pos + 16, ast, visitors);
|
|
857
|
+
walkIdentifierName(pos + 48, ast, visitors);
|
|
858
858
|
|
|
859
859
|
if (exit !== null) exit(node);
|
|
860
860
|
}
|
|
@@ -870,7 +870,7 @@ function walkSpreadElement(pos, ast, visitors) {
|
|
|
870
870
|
if (enter !== null) enter(node);
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
-
walkExpression(pos +
|
|
873
|
+
walkExpression(pos + 16, ast, visitors);
|
|
874
874
|
|
|
875
875
|
if (exit !== null) exit(node);
|
|
876
876
|
}
|
|
@@ -1025,7 +1025,7 @@ function walkUpdateExpression(pos, ast, visitors) {
|
|
|
1025
1025
|
if (enter !== null) enter(node);
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
|
-
walkSimpleAssignmentTarget(pos +
|
|
1028
|
+
walkSimpleAssignmentTarget(pos + 16, ast, visitors);
|
|
1029
1029
|
|
|
1030
1030
|
if (exit !== null) exit(node);
|
|
1031
1031
|
}
|
|
@@ -1041,7 +1041,7 @@ function walkUnaryExpression(pos, ast, visitors) {
|
|
|
1041
1041
|
if (enter !== null) enter(node);
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
|
-
walkExpression(pos +
|
|
1044
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1045
1045
|
|
|
1046
1046
|
if (exit !== null) exit(node);
|
|
1047
1047
|
}
|
|
@@ -1057,8 +1057,8 @@ function walkBinaryExpression(pos, ast, visitors) {
|
|
|
1057
1057
|
if (enter !== null) enter(node);
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
walkExpression(pos +
|
|
1061
|
-
walkExpression(pos +
|
|
1060
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1061
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1062
1062
|
|
|
1063
1063
|
if (exit !== null) exit(node);
|
|
1064
1064
|
}
|
|
@@ -1074,8 +1074,8 @@ function walkPrivateInExpression(pos, ast, visitors) {
|
|
|
1074
1074
|
if (enter !== null) enter(node);
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
|
-
walkPrivateIdentifier(pos +
|
|
1078
|
-
walkExpression(pos +
|
|
1077
|
+
walkPrivateIdentifier(pos + 16, ast, visitors);
|
|
1078
|
+
walkExpression(pos + 48, ast, visitors);
|
|
1079
1079
|
|
|
1080
1080
|
if (exit !== null) exit(node);
|
|
1081
1081
|
}
|
|
@@ -1091,8 +1091,8 @@ function walkLogicalExpression(pos, ast, visitors) {
|
|
|
1091
1091
|
if (enter !== null) enter(node);
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
-
walkExpression(pos +
|
|
1095
|
-
walkExpression(pos +
|
|
1094
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1095
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1096
1096
|
|
|
1097
1097
|
if (exit !== null) exit(node);
|
|
1098
1098
|
}
|
|
@@ -1108,9 +1108,9 @@ function walkConditionalExpression(pos, ast, visitors) {
|
|
|
1108
1108
|
if (enter !== null) enter(node);
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
|
-
walkExpression(pos +
|
|
1112
|
-
walkExpression(pos +
|
|
1113
|
-
walkExpression(pos +
|
|
1111
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1112
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1113
|
+
walkExpression(pos + 48, ast, visitors);
|
|
1114
1114
|
|
|
1115
1115
|
if (exit !== null) exit(node);
|
|
1116
1116
|
}
|
|
@@ -1126,8 +1126,8 @@ function walkAssignmentExpression(pos, ast, visitors) {
|
|
|
1126
1126
|
if (enter !== null) enter(node);
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
walkAssignmentTarget(pos +
|
|
1130
|
-
walkExpression(pos +
|
|
1129
|
+
walkAssignmentTarget(pos + 16, ast, visitors);
|
|
1130
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1131
1131
|
|
|
1132
1132
|
if (exit !== null) exit(node);
|
|
1133
1133
|
}
|
|
@@ -1211,7 +1211,7 @@ function walkArrayAssignmentTarget(pos, ast, visitors) {
|
|
|
1211
1211
|
if (enter !== null) enter(node);
|
|
1212
1212
|
}
|
|
1213
1213
|
|
|
1214
|
-
walkVecOptionAssignmentTargetMaybeDefault(pos +
|
|
1214
|
+
walkVecOptionAssignmentTargetMaybeDefault(pos + 16, ast, visitors);
|
|
1215
1215
|
|
|
1216
1216
|
if (exit !== null) exit(node);
|
|
1217
1217
|
}
|
|
@@ -1227,7 +1227,7 @@ function walkObjectAssignmentTarget(pos, ast, visitors) {
|
|
|
1227
1227
|
if (enter !== null) enter(node);
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
walkVecAssignmentTargetProperty(pos +
|
|
1230
|
+
walkVecAssignmentTargetProperty(pos + 16, ast, visitors);
|
|
1231
1231
|
|
|
1232
1232
|
if (exit !== null) exit(node);
|
|
1233
1233
|
}
|
|
@@ -1285,8 +1285,8 @@ function walkAssignmentTargetWithDefault(pos, ast, visitors) {
|
|
|
1285
1285
|
if (enter !== null) enter(node);
|
|
1286
1286
|
}
|
|
1287
1287
|
|
|
1288
|
-
walkAssignmentTarget(pos +
|
|
1289
|
-
walkExpression(pos +
|
|
1288
|
+
walkAssignmentTarget(pos + 16, ast, visitors);
|
|
1289
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1290
1290
|
|
|
1291
1291
|
if (exit !== null) exit(node);
|
|
1292
1292
|
}
|
|
@@ -1315,8 +1315,8 @@ function walkAssignmentTargetPropertyIdentifier(pos, ast, visitors) {
|
|
|
1315
1315
|
if (enter !== null) enter(node);
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
-
walkIdentifierReference(pos +
|
|
1319
|
-
walkOptionExpression(pos +
|
|
1318
|
+
walkIdentifierReference(pos + 16, ast, visitors);
|
|
1319
|
+
walkOptionExpression(pos + 48, ast, visitors);
|
|
1320
1320
|
|
|
1321
1321
|
if (exit !== null) exit(node);
|
|
1322
1322
|
}
|
|
@@ -1332,8 +1332,8 @@ function walkAssignmentTargetPropertyProperty(pos, ast, visitors) {
|
|
|
1332
1332
|
if (enter !== null) enter(node);
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
|
-
walkPropertyKey(pos +
|
|
1336
|
-
walkAssignmentTargetMaybeDefault(pos +
|
|
1335
|
+
walkPropertyKey(pos + 16, ast, visitors);
|
|
1336
|
+
walkAssignmentTargetMaybeDefault(pos + 32, ast, visitors);
|
|
1337
1337
|
|
|
1338
1338
|
if (exit !== null) exit(node);
|
|
1339
1339
|
}
|
|
@@ -1349,7 +1349,7 @@ function walkSequenceExpression(pos, ast, visitors) {
|
|
|
1349
1349
|
if (enter !== null) enter(node);
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
|
-
walkVecExpression(pos +
|
|
1352
|
+
walkVecExpression(pos + 16, ast, visitors);
|
|
1353
1353
|
|
|
1354
1354
|
if (exit !== null) exit(node);
|
|
1355
1355
|
}
|
|
@@ -1370,7 +1370,7 @@ function walkAwaitExpression(pos, ast, visitors) {
|
|
|
1370
1370
|
if (enter !== null) enter(node);
|
|
1371
1371
|
}
|
|
1372
1372
|
|
|
1373
|
-
walkExpression(pos +
|
|
1373
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1374
1374
|
|
|
1375
1375
|
if (exit !== null) exit(node);
|
|
1376
1376
|
}
|
|
@@ -1386,7 +1386,7 @@ function walkChainExpression(pos, ast, visitors) {
|
|
|
1386
1386
|
if (enter !== null) enter(node);
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
|
-
walkChainElement(pos +
|
|
1389
|
+
walkChainElement(pos + 16, ast, visitors);
|
|
1390
1390
|
|
|
1391
1391
|
if (exit !== null) exit(node);
|
|
1392
1392
|
}
|
|
@@ -1424,7 +1424,7 @@ function walkParenthesizedExpression(pos, ast, visitors) {
|
|
|
1424
1424
|
if (enter !== null) enter(node);
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
-
walkExpression(pos +
|
|
1427
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1428
1428
|
|
|
1429
1429
|
if (exit !== null) exit(node);
|
|
1430
1430
|
}
|
|
@@ -1551,7 +1551,7 @@ function walkBlockStatement(pos, ast, visitors) {
|
|
|
1551
1551
|
if (enter !== null) enter(node);
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
|
-
walkVecStatement(pos +
|
|
1554
|
+
walkVecStatement(pos + 16, ast, visitors);
|
|
1555
1555
|
|
|
1556
1556
|
if (exit !== null) exit(node);
|
|
1557
1557
|
}
|
|
@@ -1601,7 +1601,7 @@ function walkVariableDeclaration(pos, ast, visitors) {
|
|
|
1601
1601
|
if (enter !== null) enter(node);
|
|
1602
1602
|
}
|
|
1603
1603
|
|
|
1604
|
-
walkVecVariableDeclarator(pos +
|
|
1604
|
+
walkVecVariableDeclarator(pos + 16, ast, visitors);
|
|
1605
1605
|
|
|
1606
1606
|
if (exit !== null) exit(node);
|
|
1607
1607
|
}
|
|
@@ -1617,8 +1617,8 @@ function walkVariableDeclarator(pos, ast, visitors) {
|
|
|
1617
1617
|
if (enter !== null) enter(node);
|
|
1618
1618
|
}
|
|
1619
1619
|
|
|
1620
|
-
walkBindingPattern(pos +
|
|
1621
|
-
walkOptionExpression(pos +
|
|
1620
|
+
walkBindingPattern(pos + 16, ast, visitors);
|
|
1621
|
+
walkOptionExpression(pos + 40, ast, visitors);
|
|
1622
1622
|
|
|
1623
1623
|
if (exit !== null) exit(node);
|
|
1624
1624
|
}
|
|
@@ -1639,7 +1639,7 @@ function walkExpressionStatement(pos, ast, visitors) {
|
|
|
1639
1639
|
if (enter !== null) enter(node);
|
|
1640
1640
|
}
|
|
1641
1641
|
|
|
1642
|
-
walkExpression(pos +
|
|
1642
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1643
1643
|
|
|
1644
1644
|
if (exit !== null) exit(node);
|
|
1645
1645
|
}
|
|
@@ -1655,9 +1655,9 @@ function walkIfStatement(pos, ast, visitors) {
|
|
|
1655
1655
|
if (enter !== null) enter(node);
|
|
1656
1656
|
}
|
|
1657
1657
|
|
|
1658
|
-
walkExpression(pos +
|
|
1659
|
-
walkStatement(pos +
|
|
1660
|
-
walkOptionStatement(pos +
|
|
1658
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1659
|
+
walkStatement(pos + 32, ast, visitors);
|
|
1660
|
+
walkOptionStatement(pos + 48, ast, visitors);
|
|
1661
1661
|
|
|
1662
1662
|
if (exit !== null) exit(node);
|
|
1663
1663
|
}
|
|
@@ -1673,8 +1673,8 @@ function walkDoWhileStatement(pos, ast, visitors) {
|
|
|
1673
1673
|
if (enter !== null) enter(node);
|
|
1674
1674
|
}
|
|
1675
1675
|
|
|
1676
|
-
walkStatement(pos +
|
|
1677
|
-
walkExpression(pos +
|
|
1676
|
+
walkStatement(pos + 16, ast, visitors);
|
|
1677
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1678
1678
|
|
|
1679
1679
|
if (exit !== null) exit(node);
|
|
1680
1680
|
}
|
|
@@ -1690,8 +1690,8 @@ function walkWhileStatement(pos, ast, visitors) {
|
|
|
1690
1690
|
if (enter !== null) enter(node);
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
walkExpression(pos +
|
|
1694
|
-
walkStatement(pos +
|
|
1693
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1694
|
+
walkStatement(pos + 32, ast, visitors);
|
|
1695
1695
|
|
|
1696
1696
|
if (exit !== null) exit(node);
|
|
1697
1697
|
}
|
|
@@ -1707,10 +1707,10 @@ function walkForStatement(pos, ast, visitors) {
|
|
|
1707
1707
|
if (enter !== null) enter(node);
|
|
1708
1708
|
}
|
|
1709
1709
|
|
|
1710
|
-
walkOptionForStatementInit(pos +
|
|
1711
|
-
walkOptionExpression(pos +
|
|
1712
|
-
walkOptionExpression(pos +
|
|
1713
|
-
walkStatement(pos +
|
|
1710
|
+
walkOptionForStatementInit(pos + 16, ast, visitors);
|
|
1711
|
+
walkOptionExpression(pos + 32, ast, visitors);
|
|
1712
|
+
walkOptionExpression(pos + 48, ast, visitors);
|
|
1713
|
+
walkStatement(pos + 64, ast, visitors);
|
|
1714
1714
|
|
|
1715
1715
|
if (exit !== null) exit(node);
|
|
1716
1716
|
}
|
|
@@ -1865,9 +1865,9 @@ function walkForInStatement(pos, ast, visitors) {
|
|
|
1865
1865
|
if (enter !== null) enter(node);
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
|
-
walkForStatementLeft(pos +
|
|
1869
|
-
walkExpression(pos +
|
|
1870
|
-
walkStatement(pos +
|
|
1868
|
+
walkForStatementLeft(pos + 16, ast, visitors);
|
|
1869
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1870
|
+
walkStatement(pos + 48, ast, visitors);
|
|
1871
1871
|
|
|
1872
1872
|
if (exit !== null) exit(node);
|
|
1873
1873
|
}
|
|
@@ -1923,9 +1923,9 @@ function walkForOfStatement(pos, ast, visitors) {
|
|
|
1923
1923
|
if (enter !== null) enter(node);
|
|
1924
1924
|
}
|
|
1925
1925
|
|
|
1926
|
-
walkForStatementLeft(pos +
|
|
1927
|
-
walkExpression(pos +
|
|
1928
|
-
walkStatement(pos +
|
|
1926
|
+
walkForStatementLeft(pos + 16, ast, visitors);
|
|
1927
|
+
walkExpression(pos + 32, ast, visitors);
|
|
1928
|
+
walkStatement(pos + 48, ast, visitors);
|
|
1929
1929
|
|
|
1930
1930
|
if (exit !== null) exit(node);
|
|
1931
1931
|
}
|
|
@@ -1941,7 +1941,7 @@ function walkContinueStatement(pos, ast, visitors) {
|
|
|
1941
1941
|
if (enter !== null) enter(node);
|
|
1942
1942
|
}
|
|
1943
1943
|
|
|
1944
|
-
walkOptionLabelIdentifier(pos +
|
|
1944
|
+
walkOptionLabelIdentifier(pos + 16, ast, visitors);
|
|
1945
1945
|
|
|
1946
1946
|
if (exit !== null) exit(node);
|
|
1947
1947
|
}
|
|
@@ -1957,7 +1957,7 @@ function walkBreakStatement(pos, ast, visitors) {
|
|
|
1957
1957
|
if (enter !== null) enter(node);
|
|
1958
1958
|
}
|
|
1959
1959
|
|
|
1960
|
-
walkOptionLabelIdentifier(pos +
|
|
1960
|
+
walkOptionLabelIdentifier(pos + 16, ast, visitors);
|
|
1961
1961
|
|
|
1962
1962
|
if (exit !== null) exit(node);
|
|
1963
1963
|
}
|
|
@@ -1973,7 +1973,7 @@ function walkReturnStatement(pos, ast, visitors) {
|
|
|
1973
1973
|
if (enter !== null) enter(node);
|
|
1974
1974
|
}
|
|
1975
1975
|
|
|
1976
|
-
walkOptionExpression(pos +
|
|
1976
|
+
walkOptionExpression(pos + 16, ast, visitors);
|
|
1977
1977
|
|
|
1978
1978
|
if (exit !== null) exit(node);
|
|
1979
1979
|
}
|
|
@@ -1989,8 +1989,8 @@ function walkWithStatement(pos, ast, visitors) {
|
|
|
1989
1989
|
if (enter !== null) enter(node);
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
|
-
walkExpression(pos +
|
|
1993
|
-
walkStatement(pos +
|
|
1992
|
+
walkExpression(pos + 16, ast, visitors);
|
|
1993
|
+
walkStatement(pos + 32, ast, visitors);
|
|
1994
1994
|
|
|
1995
1995
|
if (exit !== null) exit(node);
|
|
1996
1996
|
}
|
|
@@ -2006,8 +2006,8 @@ function walkSwitchStatement(pos, ast, visitors) {
|
|
|
2006
2006
|
if (enter !== null) enter(node);
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
2009
|
-
walkExpression(pos +
|
|
2010
|
-
walkVecSwitchCase(pos +
|
|
2009
|
+
walkExpression(pos + 16, ast, visitors);
|
|
2010
|
+
walkVecSwitchCase(pos + 32, ast, visitors);
|
|
2011
2011
|
|
|
2012
2012
|
if (exit !== null) exit(node);
|
|
2013
2013
|
}
|
|
@@ -2023,8 +2023,8 @@ function walkSwitchCase(pos, ast, visitors) {
|
|
|
2023
2023
|
if (enter !== null) enter(node);
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
|
-
walkOptionExpression(pos +
|
|
2027
|
-
walkVecStatement(pos +
|
|
2026
|
+
walkOptionExpression(pos + 16, ast, visitors);
|
|
2027
|
+
walkVecStatement(pos + 32, ast, visitors);
|
|
2028
2028
|
|
|
2029
2029
|
if (exit !== null) exit(node);
|
|
2030
2030
|
}
|
|
@@ -2040,8 +2040,8 @@ function walkLabeledStatement(pos, ast, visitors) {
|
|
|
2040
2040
|
if (enter !== null) enter(node);
|
|
2041
2041
|
}
|
|
2042
2042
|
|
|
2043
|
-
walkLabelIdentifier(pos +
|
|
2044
|
-
walkStatement(pos +
|
|
2043
|
+
walkLabelIdentifier(pos + 16, ast, visitors);
|
|
2044
|
+
walkStatement(pos + 48, ast, visitors);
|
|
2045
2045
|
|
|
2046
2046
|
if (exit !== null) exit(node);
|
|
2047
2047
|
}
|
|
@@ -2057,7 +2057,7 @@ function walkThrowStatement(pos, ast, visitors) {
|
|
|
2057
2057
|
if (enter !== null) enter(node);
|
|
2058
2058
|
}
|
|
2059
2059
|
|
|
2060
|
-
walkExpression(pos +
|
|
2060
|
+
walkExpression(pos + 16, ast, visitors);
|
|
2061
2061
|
|
|
2062
2062
|
if (exit !== null) exit(node);
|
|
2063
2063
|
}
|
|
@@ -2073,9 +2073,9 @@ function walkTryStatement(pos, ast, visitors) {
|
|
|
2073
2073
|
if (enter !== null) enter(node);
|
|
2074
2074
|
}
|
|
2075
2075
|
|
|
2076
|
-
walkBoxBlockStatement(pos +
|
|
2077
|
-
walkOptionBoxCatchClause(pos +
|
|
2078
|
-
walkOptionBoxBlockStatement(pos +
|
|
2076
|
+
walkBoxBlockStatement(pos + 16, ast, visitors);
|
|
2077
|
+
walkOptionBoxCatchClause(pos + 24, ast, visitors);
|
|
2078
|
+
walkOptionBoxBlockStatement(pos + 32, ast, visitors);
|
|
2079
2079
|
|
|
2080
2080
|
if (exit !== null) exit(node);
|
|
2081
2081
|
}
|
|
@@ -2091,14 +2091,14 @@ function walkCatchClause(pos, ast, visitors) {
|
|
|
2091
2091
|
if (enter !== null) enter(node);
|
|
2092
2092
|
}
|
|
2093
2093
|
|
|
2094
|
-
walkOptionCatchParameter(pos +
|
|
2095
|
-
walkBoxBlockStatement(pos +
|
|
2094
|
+
walkOptionCatchParameter(pos + 16, ast, visitors);
|
|
2095
|
+
walkBoxBlockStatement(pos + 56, ast, visitors);
|
|
2096
2096
|
|
|
2097
2097
|
if (exit !== null) exit(node);
|
|
2098
2098
|
}
|
|
2099
2099
|
|
|
2100
2100
|
function walkCatchParameter(pos, ast, visitors) {
|
|
2101
|
-
walkBindingPattern(pos +
|
|
2101
|
+
walkBindingPattern(pos + 16, ast, visitors);
|
|
2102
2102
|
}
|
|
2103
2103
|
|
|
2104
2104
|
function walkDebuggerStatement(pos, ast, visitors) {
|
|
@@ -2136,8 +2136,8 @@ function walkAssignmentPattern(pos, ast, visitors) {
|
|
|
2136
2136
|
if (enter !== null) enter(node);
|
|
2137
2137
|
}
|
|
2138
2138
|
|
|
2139
|
-
walkBindingPattern(pos +
|
|
2140
|
-
walkExpression(pos +
|
|
2139
|
+
walkBindingPattern(pos + 16, ast, visitors);
|
|
2140
|
+
walkExpression(pos + 32, ast, visitors);
|
|
2141
2141
|
|
|
2142
2142
|
if (exit !== null) exit(node);
|
|
2143
2143
|
}
|
|
@@ -2153,7 +2153,7 @@ function walkObjectPattern(pos, ast, visitors) {
|
|
|
2153
2153
|
if (enter !== null) enter(node);
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
|
-
walkVecBindingProperty(pos +
|
|
2156
|
+
walkVecBindingProperty(pos + 16, ast, visitors);
|
|
2157
2157
|
|
|
2158
2158
|
if (exit !== null) exit(node);
|
|
2159
2159
|
}
|
|
@@ -2169,8 +2169,8 @@ function walkBindingProperty(pos, ast, visitors) {
|
|
|
2169
2169
|
if (enter !== null) enter(node);
|
|
2170
2170
|
}
|
|
2171
2171
|
|
|
2172
|
-
walkPropertyKey(pos +
|
|
2173
|
-
walkBindingPattern(pos +
|
|
2172
|
+
walkPropertyKey(pos + 16, ast, visitors);
|
|
2173
|
+
walkBindingPattern(pos + 32, ast, visitors);
|
|
2174
2174
|
|
|
2175
2175
|
if (exit !== null) exit(node);
|
|
2176
2176
|
}
|
|
@@ -2186,7 +2186,7 @@ function walkArrayPattern(pos, ast, visitors) {
|
|
|
2186
2186
|
if (enter !== null) enter(node);
|
|
2187
2187
|
}
|
|
2188
2188
|
|
|
2189
|
-
walkVecOptionBindingPattern(pos +
|
|
2189
|
+
walkVecOptionBindingPattern(pos + 16, ast, visitors);
|
|
2190
2190
|
|
|
2191
2191
|
if (exit !== null) exit(node);
|
|
2192
2192
|
}
|
|
@@ -2202,11 +2202,11 @@ function walkFunction(pos, ast, visitors) {
|
|
|
2202
2202
|
if (enter !== null) enter(node);
|
|
2203
2203
|
}
|
|
2204
2204
|
|
|
2205
|
-
walkOptionBindingIdentifier(pos +
|
|
2206
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
2207
|
-
walkBoxFormalParameters(pos +
|
|
2208
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
2209
|
-
walkOptionBoxFunctionBody(pos +
|
|
2205
|
+
walkOptionBindingIdentifier(pos + 16, ast, visitors);
|
|
2206
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 48, ast, visitors);
|
|
2207
|
+
walkBoxFormalParameters(pos + 64, ast, visitors);
|
|
2208
|
+
walkOptionBoxTSTypeAnnotation(pos + 72, ast, visitors);
|
|
2209
|
+
walkOptionBoxFunctionBody(pos + 80, ast, visitors);
|
|
2210
2210
|
|
|
2211
2211
|
if (exit !== null) exit(node);
|
|
2212
2212
|
}
|
|
@@ -2222,16 +2222,16 @@ function walkFormalParameters(pos, ast, visitors) {
|
|
|
2222
2222
|
if (enter !== null) enter(node);
|
|
2223
2223
|
}
|
|
2224
2224
|
|
|
2225
|
-
walkVecFormalParameter(pos +
|
|
2225
|
+
walkVecFormalParameter(pos + 16, ast, visitors);
|
|
2226
2226
|
|
|
2227
2227
|
if (exit !== null) exit(node);
|
|
2228
2228
|
}
|
|
2229
2229
|
|
|
2230
2230
|
function walkFormalParameter(pos, ast, visitors) {
|
|
2231
|
-
walkVecDecorator(pos +
|
|
2232
|
-
walkBindingPattern(pos +
|
|
2233
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
2234
|
-
walkOptionBoxExpression(pos +
|
|
2231
|
+
walkVecDecorator(pos + 16, ast, visitors);
|
|
2232
|
+
walkBindingPattern(pos + 40, ast, visitors);
|
|
2233
|
+
walkOptionBoxTSTypeAnnotation(pos + 56, ast, visitors);
|
|
2234
|
+
walkOptionBoxExpression(pos + 64, ast, visitors);
|
|
2235
2235
|
}
|
|
2236
2236
|
|
|
2237
2237
|
function walkFunctionBody(pos, ast, visitors) {
|
|
@@ -2245,7 +2245,7 @@ function walkFunctionBody(pos, ast, visitors) {
|
|
|
2245
2245
|
if (enter !== null) enter(node);
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
|
-
walkVecStatement(pos +
|
|
2248
|
+
walkVecStatement(pos + 40, ast, visitors);
|
|
2249
2249
|
|
|
2250
2250
|
if (exit !== null) exit(node);
|
|
2251
2251
|
}
|
|
@@ -2261,10 +2261,10 @@ function walkArrowFunctionExpression(pos, ast, visitors) {
|
|
|
2261
2261
|
if (enter !== null) enter(node);
|
|
2262
2262
|
}
|
|
2263
2263
|
|
|
2264
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
2265
|
-
walkBoxFormalParameters(pos +
|
|
2266
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
2267
|
-
walkBoxFunctionBody(pos +
|
|
2264
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 16, ast, visitors);
|
|
2265
|
+
walkBoxFormalParameters(pos + 24, ast, visitors);
|
|
2266
|
+
walkOptionBoxTSTypeAnnotation(pos + 32, ast, visitors);
|
|
2267
|
+
walkBoxFunctionBody(pos + 40, ast, visitors);
|
|
2268
2268
|
|
|
2269
2269
|
if (exit !== null) exit(node);
|
|
2270
2270
|
}
|
|
@@ -2280,7 +2280,7 @@ function walkYieldExpression(pos, ast, visitors) {
|
|
|
2280
2280
|
if (enter !== null) enter(node);
|
|
2281
2281
|
}
|
|
2282
2282
|
|
|
2283
|
-
walkOptionExpression(pos +
|
|
2283
|
+
walkOptionExpression(pos + 16, ast, visitors);
|
|
2284
2284
|
|
|
2285
2285
|
if (exit !== null) exit(node);
|
|
2286
2286
|
}
|
|
@@ -2296,13 +2296,13 @@ function walkClass(pos, ast, visitors) {
|
|
|
2296
2296
|
if (enter !== null) enter(node);
|
|
2297
2297
|
}
|
|
2298
2298
|
|
|
2299
|
-
walkVecDecorator(pos +
|
|
2300
|
-
walkOptionBindingIdentifier(pos +
|
|
2301
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
2302
|
-
walkOptionExpression(pos +
|
|
2303
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
2304
|
-
walkVecTSClassImplements(pos +
|
|
2305
|
-
walkBoxClassBody(pos +
|
|
2299
|
+
walkVecDecorator(pos + 16, ast, visitors);
|
|
2300
|
+
walkOptionBindingIdentifier(pos + 40, ast, visitors);
|
|
2301
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 72, ast, visitors);
|
|
2302
|
+
walkOptionExpression(pos + 80, ast, visitors);
|
|
2303
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 96, ast, visitors);
|
|
2304
|
+
walkVecTSClassImplements(pos + 104, ast, visitors);
|
|
2305
|
+
walkBoxClassBody(pos + 128, ast, visitors);
|
|
2306
2306
|
|
|
2307
2307
|
if (exit !== null) exit(node);
|
|
2308
2308
|
}
|
|
@@ -2318,7 +2318,7 @@ function walkClassBody(pos, ast, visitors) {
|
|
|
2318
2318
|
if (enter !== null) enter(node);
|
|
2319
2319
|
}
|
|
2320
2320
|
|
|
2321
|
-
walkVecClassElement(pos +
|
|
2321
|
+
walkVecClassElement(pos + 16, ast, visitors);
|
|
2322
2322
|
|
|
2323
2323
|
if (exit !== null) exit(node);
|
|
2324
2324
|
}
|
|
@@ -2356,9 +2356,9 @@ function walkMethodDefinition(pos, ast, visitors) {
|
|
|
2356
2356
|
if (enter !== null) enter(node);
|
|
2357
2357
|
}
|
|
2358
2358
|
|
|
2359
|
-
walkVecDecorator(pos +
|
|
2360
|
-
walkPropertyKey(pos +
|
|
2361
|
-
walkBoxFunction(pos +
|
|
2359
|
+
walkVecDecorator(pos + 16, ast, visitors);
|
|
2360
|
+
walkPropertyKey(pos + 40, ast, visitors);
|
|
2361
|
+
walkBoxFunction(pos + 56, ast, visitors);
|
|
2362
2362
|
|
|
2363
2363
|
if (exit !== null) exit(node);
|
|
2364
2364
|
}
|
|
@@ -2374,10 +2374,10 @@ function walkPropertyDefinition(pos, ast, visitors) {
|
|
|
2374
2374
|
if (enter !== null) enter(node);
|
|
2375
2375
|
}
|
|
2376
2376
|
|
|
2377
|
-
walkVecDecorator(pos +
|
|
2378
|
-
walkPropertyKey(pos +
|
|
2379
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
2380
|
-
walkOptionExpression(pos +
|
|
2377
|
+
walkVecDecorator(pos + 16, ast, visitors);
|
|
2378
|
+
walkPropertyKey(pos + 40, ast, visitors);
|
|
2379
|
+
walkOptionBoxTSTypeAnnotation(pos + 56, ast, visitors);
|
|
2380
|
+
walkOptionExpression(pos + 64, ast, visitors);
|
|
2381
2381
|
|
|
2382
2382
|
if (exit !== null) exit(node);
|
|
2383
2383
|
}
|
|
@@ -2398,7 +2398,7 @@ function walkStaticBlock(pos, ast, visitors) {
|
|
|
2398
2398
|
if (enter !== null) enter(node);
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
2401
|
-
walkVecStatement(pos +
|
|
2401
|
+
walkVecStatement(pos + 16, ast, visitors);
|
|
2402
2402
|
|
|
2403
2403
|
if (exit !== null) exit(node);
|
|
2404
2404
|
}
|
|
@@ -2414,10 +2414,10 @@ function walkAccessorProperty(pos, ast, visitors) {
|
|
|
2414
2414
|
if (enter !== null) enter(node);
|
|
2415
2415
|
}
|
|
2416
2416
|
|
|
2417
|
-
walkVecDecorator(pos +
|
|
2418
|
-
walkPropertyKey(pos +
|
|
2419
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
2420
|
-
walkOptionExpression(pos +
|
|
2417
|
+
walkVecDecorator(pos + 16, ast, visitors);
|
|
2418
|
+
walkPropertyKey(pos + 40, ast, visitors);
|
|
2419
|
+
walkOptionBoxTSTypeAnnotation(pos + 56, ast, visitors);
|
|
2420
|
+
walkOptionExpression(pos + 64, ast, visitors);
|
|
2421
2421
|
|
|
2422
2422
|
if (exit !== null) exit(node);
|
|
2423
2423
|
}
|
|
@@ -2433,8 +2433,8 @@ function walkImportExpression(pos, ast, visitors) {
|
|
|
2433
2433
|
if (enter !== null) enter(node);
|
|
2434
2434
|
}
|
|
2435
2435
|
|
|
2436
|
-
walkExpression(pos +
|
|
2437
|
-
walkOptionExpression(pos +
|
|
2436
|
+
walkExpression(pos + 16, ast, visitors);
|
|
2437
|
+
walkOptionExpression(pos + 32, ast, visitors);
|
|
2438
2438
|
|
|
2439
2439
|
if (exit !== null) exit(node);
|
|
2440
2440
|
}
|
|
@@ -2450,9 +2450,9 @@ function walkImportDeclaration(pos, ast, visitors) {
|
|
|
2450
2450
|
if (enter !== null) enter(node);
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
2453
|
-
walkOptionVecImportDeclarationSpecifier(pos +
|
|
2454
|
-
walkStringLiteral(pos +
|
|
2455
|
-
walkOptionBoxWithClause(pos +
|
|
2453
|
+
walkOptionVecImportDeclarationSpecifier(pos + 16, ast, visitors);
|
|
2454
|
+
walkStringLiteral(pos + 40, ast, visitors);
|
|
2455
|
+
walkOptionBoxWithClause(pos + 88, ast, visitors);
|
|
2456
2456
|
|
|
2457
2457
|
if (exit !== null) exit(node);
|
|
2458
2458
|
}
|
|
@@ -2484,8 +2484,8 @@ function walkImportSpecifier(pos, ast, visitors) {
|
|
|
2484
2484
|
if (enter !== null) enter(node);
|
|
2485
2485
|
}
|
|
2486
2486
|
|
|
2487
|
-
walkModuleExportName(pos +
|
|
2488
|
-
walkBindingIdentifier(pos +
|
|
2487
|
+
walkModuleExportName(pos + 16, ast, visitors);
|
|
2488
|
+
walkBindingIdentifier(pos + 72, ast, visitors);
|
|
2489
2489
|
|
|
2490
2490
|
if (exit !== null) exit(node);
|
|
2491
2491
|
}
|
|
@@ -2501,7 +2501,7 @@ function walkImportDefaultSpecifier(pos, ast, visitors) {
|
|
|
2501
2501
|
if (enter !== null) enter(node);
|
|
2502
2502
|
}
|
|
2503
2503
|
|
|
2504
|
-
walkBindingIdentifier(pos +
|
|
2504
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
2505
2505
|
|
|
2506
2506
|
if (exit !== null) exit(node);
|
|
2507
2507
|
}
|
|
@@ -2517,13 +2517,13 @@ function walkImportNamespaceSpecifier(pos, ast, visitors) {
|
|
|
2517
2517
|
if (enter !== null) enter(node);
|
|
2518
2518
|
}
|
|
2519
2519
|
|
|
2520
|
-
walkBindingIdentifier(pos +
|
|
2520
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
2521
2521
|
|
|
2522
2522
|
if (exit !== null) exit(node);
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
2525
|
function walkWithClause(pos, ast, visitors) {
|
|
2526
|
-
walkVecImportAttribute(pos +
|
|
2526
|
+
walkVecImportAttribute(pos + 16, ast, visitors);
|
|
2527
2527
|
}
|
|
2528
2528
|
|
|
2529
2529
|
function walkImportAttribute(pos, ast, visitors) {
|
|
@@ -2537,8 +2537,8 @@ function walkImportAttribute(pos, ast, visitors) {
|
|
|
2537
2537
|
if (enter !== null) enter(node);
|
|
2538
2538
|
}
|
|
2539
2539
|
|
|
2540
|
-
walkImportAttributeKey(pos +
|
|
2541
|
-
walkStringLiteral(pos +
|
|
2540
|
+
walkImportAttributeKey(pos + 16, ast, visitors);
|
|
2541
|
+
walkStringLiteral(pos + 72, ast, visitors);
|
|
2542
2542
|
|
|
2543
2543
|
if (exit !== null) exit(node);
|
|
2544
2544
|
}
|
|
@@ -2567,10 +2567,10 @@ function walkExportNamedDeclaration(pos, ast, visitors) {
|
|
|
2567
2567
|
if (enter !== null) enter(node);
|
|
2568
2568
|
}
|
|
2569
2569
|
|
|
2570
|
-
walkOptionDeclaration(pos +
|
|
2571
|
-
walkVecExportSpecifier(pos +
|
|
2572
|
-
walkOptionStringLiteral(pos +
|
|
2573
|
-
walkOptionBoxWithClause(pos +
|
|
2570
|
+
walkOptionDeclaration(pos + 16, ast, visitors);
|
|
2571
|
+
walkVecExportSpecifier(pos + 32, ast, visitors);
|
|
2572
|
+
walkOptionStringLiteral(pos + 56, ast, visitors);
|
|
2573
|
+
walkOptionBoxWithClause(pos + 104, ast, visitors);
|
|
2574
2574
|
|
|
2575
2575
|
if (exit !== null) exit(node);
|
|
2576
2576
|
}
|
|
@@ -2586,7 +2586,7 @@ function walkExportDefaultDeclaration(pos, ast, visitors) {
|
|
|
2586
2586
|
if (enter !== null) enter(node);
|
|
2587
2587
|
}
|
|
2588
2588
|
|
|
2589
|
-
walkExportDefaultDeclarationKind(pos +
|
|
2589
|
+
walkExportDefaultDeclarationKind(pos + 16, ast, visitors);
|
|
2590
2590
|
|
|
2591
2591
|
if (exit !== null) exit(node);
|
|
2592
2592
|
}
|
|
@@ -2602,9 +2602,9 @@ function walkExportAllDeclaration(pos, ast, visitors) {
|
|
|
2602
2602
|
if (enter !== null) enter(node);
|
|
2603
2603
|
}
|
|
2604
2604
|
|
|
2605
|
-
walkOptionModuleExportName(pos +
|
|
2606
|
-
walkStringLiteral(pos +
|
|
2607
|
-
walkOptionBoxWithClause(pos +
|
|
2605
|
+
walkOptionModuleExportName(pos + 16, ast, visitors);
|
|
2606
|
+
walkStringLiteral(pos + 72, ast, visitors);
|
|
2607
|
+
walkOptionBoxWithClause(pos + 120, ast, visitors);
|
|
2608
2608
|
|
|
2609
2609
|
if (exit !== null) exit(node);
|
|
2610
2610
|
}
|
|
@@ -2620,8 +2620,8 @@ function walkExportSpecifier(pos, ast, visitors) {
|
|
|
2620
2620
|
if (enter !== null) enter(node);
|
|
2621
2621
|
}
|
|
2622
2622
|
|
|
2623
|
-
walkModuleExportName(pos +
|
|
2624
|
-
walkModuleExportName(pos +
|
|
2623
|
+
walkModuleExportName(pos + 16, ast, visitors);
|
|
2624
|
+
walkModuleExportName(pos + 72, ast, visitors);
|
|
2625
2625
|
|
|
2626
2626
|
if (exit !== null) exit(node);
|
|
2627
2627
|
}
|
|
@@ -2800,8 +2800,8 @@ function walkV8IntrinsicExpression(pos, ast, visitors) {
|
|
|
2800
2800
|
if (enter !== null) enter(node);
|
|
2801
2801
|
}
|
|
2802
2802
|
|
|
2803
|
-
walkIdentifierName(pos +
|
|
2804
|
-
walkVecArgument(pos +
|
|
2803
|
+
walkIdentifierName(pos + 16, ast, visitors);
|
|
2804
|
+
walkVecArgument(pos + 48, ast, visitors);
|
|
2805
2805
|
|
|
2806
2806
|
if (exit !== null) exit(node);
|
|
2807
2807
|
}
|
|
@@ -2847,9 +2847,9 @@ function walkJSXElement(pos, ast, visitors) {
|
|
|
2847
2847
|
if (enter !== null) enter(node);
|
|
2848
2848
|
}
|
|
2849
2849
|
|
|
2850
|
-
walkBoxJSXOpeningElement(pos +
|
|
2851
|
-
walkVecJSXChild(pos +
|
|
2852
|
-
walkOptionBoxJSXClosingElement(pos +
|
|
2850
|
+
walkBoxJSXOpeningElement(pos + 16, ast, visitors);
|
|
2851
|
+
walkVecJSXChild(pos + 24, ast, visitors);
|
|
2852
|
+
walkOptionBoxJSXClosingElement(pos + 48, ast, visitors);
|
|
2853
2853
|
|
|
2854
2854
|
if (exit !== null) exit(node);
|
|
2855
2855
|
}
|
|
@@ -2865,9 +2865,9 @@ function walkJSXOpeningElement(pos, ast, visitors) {
|
|
|
2865
2865
|
if (enter !== null) enter(node);
|
|
2866
2866
|
}
|
|
2867
2867
|
|
|
2868
|
-
walkJSXElementName(pos +
|
|
2869
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
2870
|
-
walkVecJSXAttributeItem(pos +
|
|
2868
|
+
walkJSXElementName(pos + 16, ast, visitors);
|
|
2869
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
2870
|
+
walkVecJSXAttributeItem(pos + 40, ast, visitors);
|
|
2871
2871
|
|
|
2872
2872
|
if (exit !== null) exit(node);
|
|
2873
2873
|
}
|
|
@@ -2883,7 +2883,7 @@ function walkJSXClosingElement(pos, ast, visitors) {
|
|
|
2883
2883
|
if (enter !== null) enter(node);
|
|
2884
2884
|
}
|
|
2885
2885
|
|
|
2886
|
-
walkJSXElementName(pos +
|
|
2886
|
+
walkJSXElementName(pos + 16, ast, visitors);
|
|
2887
2887
|
|
|
2888
2888
|
if (exit !== null) exit(node);
|
|
2889
2889
|
}
|
|
@@ -2899,9 +2899,9 @@ function walkJSXFragment(pos, ast, visitors) {
|
|
|
2899
2899
|
if (enter !== null) enter(node);
|
|
2900
2900
|
}
|
|
2901
2901
|
|
|
2902
|
-
walkJSXOpeningFragment(pos +
|
|
2903
|
-
walkVecJSXChild(pos +
|
|
2904
|
-
walkJSXClosingFragment(pos +
|
|
2902
|
+
walkJSXOpeningFragment(pos + 16, ast, visitors);
|
|
2903
|
+
walkVecJSXChild(pos + 32, ast, visitors);
|
|
2904
|
+
walkJSXClosingFragment(pos + 56, ast, visitors);
|
|
2905
2905
|
|
|
2906
2906
|
if (exit !== null) exit(node);
|
|
2907
2907
|
}
|
|
@@ -2949,8 +2949,8 @@ function walkJSXNamespacedName(pos, ast, visitors) {
|
|
|
2949
2949
|
if (enter !== null) enter(node);
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
|
-
walkJSXIdentifier(pos +
|
|
2953
|
-
walkJSXIdentifier(pos +
|
|
2952
|
+
walkJSXIdentifier(pos + 16, ast, visitors);
|
|
2953
|
+
walkJSXIdentifier(pos + 48, ast, visitors);
|
|
2954
2954
|
|
|
2955
2955
|
if (exit !== null) exit(node);
|
|
2956
2956
|
}
|
|
@@ -2966,8 +2966,8 @@ function walkJSXMemberExpression(pos, ast, visitors) {
|
|
|
2966
2966
|
if (enter !== null) enter(node);
|
|
2967
2967
|
}
|
|
2968
2968
|
|
|
2969
|
-
walkJSXMemberExpressionObject(pos +
|
|
2970
|
-
walkJSXIdentifier(pos +
|
|
2969
|
+
walkJSXMemberExpressionObject(pos + 16, ast, visitors);
|
|
2970
|
+
walkJSXIdentifier(pos + 32, ast, visitors);
|
|
2971
2971
|
|
|
2972
2972
|
if (exit !== null) exit(node);
|
|
2973
2973
|
}
|
|
@@ -2999,7 +2999,7 @@ function walkJSXExpressionContainer(pos, ast, visitors) {
|
|
|
2999
2999
|
if (enter !== null) enter(node);
|
|
3000
3000
|
}
|
|
3001
3001
|
|
|
3002
|
-
walkJSXExpression(pos +
|
|
3002
|
+
walkJSXExpression(pos + 16, ast, visitors);
|
|
3003
3003
|
|
|
3004
3004
|
if (exit !== null) exit(node);
|
|
3005
3005
|
}
|
|
@@ -3172,8 +3172,8 @@ function walkJSXAttribute(pos, ast, visitors) {
|
|
|
3172
3172
|
if (enter !== null) enter(node);
|
|
3173
3173
|
}
|
|
3174
3174
|
|
|
3175
|
-
walkJSXAttributeName(pos +
|
|
3176
|
-
walkOptionJSXAttributeValue(pos +
|
|
3175
|
+
walkJSXAttributeName(pos + 16, ast, visitors);
|
|
3176
|
+
walkOptionJSXAttributeValue(pos + 32, ast, visitors);
|
|
3177
3177
|
|
|
3178
3178
|
if (exit !== null) exit(node);
|
|
3179
3179
|
}
|
|
@@ -3189,7 +3189,7 @@ function walkJSXSpreadAttribute(pos, ast, visitors) {
|
|
|
3189
3189
|
if (enter !== null) enter(node);
|
|
3190
3190
|
}
|
|
3191
3191
|
|
|
3192
|
-
walkExpression(pos +
|
|
3192
|
+
walkExpression(pos + 16, ast, visitors);
|
|
3193
3193
|
|
|
3194
3194
|
if (exit !== null) exit(node);
|
|
3195
3195
|
}
|
|
@@ -3264,7 +3264,7 @@ function walkJSXSpreadChild(pos, ast, visitors) {
|
|
|
3264
3264
|
if (enter !== null) enter(node);
|
|
3265
3265
|
}
|
|
3266
3266
|
|
|
3267
|
-
walkExpression(pos +
|
|
3267
|
+
walkExpression(pos + 16, ast, visitors);
|
|
3268
3268
|
|
|
3269
3269
|
if (exit !== null) exit(node);
|
|
3270
3270
|
}
|
|
@@ -3285,8 +3285,8 @@ function walkTSEnumDeclaration(pos, ast, visitors) {
|
|
|
3285
3285
|
if (enter !== null) enter(node);
|
|
3286
3286
|
}
|
|
3287
3287
|
|
|
3288
|
-
walkBindingIdentifier(pos +
|
|
3289
|
-
walkTSEnumBody(pos +
|
|
3288
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
3289
|
+
walkTSEnumBody(pos + 48, ast, visitors);
|
|
3290
3290
|
|
|
3291
3291
|
if (exit !== null) exit(node);
|
|
3292
3292
|
}
|
|
@@ -3302,7 +3302,7 @@ function walkTSEnumBody(pos, ast, visitors) {
|
|
|
3302
3302
|
if (enter !== null) enter(node);
|
|
3303
3303
|
}
|
|
3304
3304
|
|
|
3305
|
-
walkVecTSEnumMember(pos +
|
|
3305
|
+
walkVecTSEnumMember(pos + 16, ast, visitors);
|
|
3306
3306
|
|
|
3307
3307
|
if (exit !== null) exit(node);
|
|
3308
3308
|
}
|
|
@@ -3318,8 +3318,8 @@ function walkTSEnumMember(pos, ast, visitors) {
|
|
|
3318
3318
|
if (enter !== null) enter(node);
|
|
3319
3319
|
}
|
|
3320
3320
|
|
|
3321
|
-
walkTSEnumMemberName(pos +
|
|
3322
|
-
walkOptionExpression(pos +
|
|
3321
|
+
walkTSEnumMemberName(pos + 16, ast, visitors);
|
|
3322
|
+
walkOptionExpression(pos + 32, ast, visitors);
|
|
3323
3323
|
|
|
3324
3324
|
if (exit !== null) exit(node);
|
|
3325
3325
|
}
|
|
@@ -3354,7 +3354,7 @@ function walkTSTypeAnnotation(pos, ast, visitors) {
|
|
|
3354
3354
|
if (enter !== null) enter(node);
|
|
3355
3355
|
}
|
|
3356
3356
|
|
|
3357
|
-
walkTSType(pos +
|
|
3357
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3358
3358
|
|
|
3359
3359
|
if (exit !== null) exit(node);
|
|
3360
3360
|
}
|
|
@@ -3370,7 +3370,7 @@ function walkTSLiteralType(pos, ast, visitors) {
|
|
|
3370
3370
|
if (enter !== null) enter(node);
|
|
3371
3371
|
}
|
|
3372
3372
|
|
|
3373
|
-
walkTSLiteral(pos +
|
|
3373
|
+
walkTSLiteral(pos + 16, ast, visitors);
|
|
3374
3374
|
|
|
3375
3375
|
if (exit !== null) exit(node);
|
|
3376
3376
|
}
|
|
@@ -3529,10 +3529,10 @@ function walkTSConditionalType(pos, ast, visitors) {
|
|
|
3529
3529
|
if (enter !== null) enter(node);
|
|
3530
3530
|
}
|
|
3531
3531
|
|
|
3532
|
-
walkTSType(pos +
|
|
3533
|
-
walkTSType(pos +
|
|
3534
|
-
walkTSType(pos +
|
|
3535
|
-
walkTSType(pos +
|
|
3532
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3533
|
+
walkTSType(pos + 32, ast, visitors);
|
|
3534
|
+
walkTSType(pos + 48, ast, visitors);
|
|
3535
|
+
walkTSType(pos + 64, ast, visitors);
|
|
3536
3536
|
|
|
3537
3537
|
if (exit !== null) exit(node);
|
|
3538
3538
|
}
|
|
@@ -3548,7 +3548,7 @@ function walkTSUnionType(pos, ast, visitors) {
|
|
|
3548
3548
|
if (enter !== null) enter(node);
|
|
3549
3549
|
}
|
|
3550
3550
|
|
|
3551
|
-
walkVecTSType(pos +
|
|
3551
|
+
walkVecTSType(pos + 16, ast, visitors);
|
|
3552
3552
|
|
|
3553
3553
|
if (exit !== null) exit(node);
|
|
3554
3554
|
}
|
|
@@ -3564,7 +3564,7 @@ function walkTSIntersectionType(pos, ast, visitors) {
|
|
|
3564
3564
|
if (enter !== null) enter(node);
|
|
3565
3565
|
}
|
|
3566
3566
|
|
|
3567
|
-
walkVecTSType(pos +
|
|
3567
|
+
walkVecTSType(pos + 16, ast, visitors);
|
|
3568
3568
|
|
|
3569
3569
|
if (exit !== null) exit(node);
|
|
3570
3570
|
}
|
|
@@ -3580,7 +3580,7 @@ function walkTSParenthesizedType(pos, ast, visitors) {
|
|
|
3580
3580
|
if (enter !== null) enter(node);
|
|
3581
3581
|
}
|
|
3582
3582
|
|
|
3583
|
-
walkTSType(pos +
|
|
3583
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3584
3584
|
|
|
3585
3585
|
if (exit !== null) exit(node);
|
|
3586
3586
|
}
|
|
@@ -3596,7 +3596,7 @@ function walkTSTypeOperator(pos, ast, visitors) {
|
|
|
3596
3596
|
if (enter !== null) enter(node);
|
|
3597
3597
|
}
|
|
3598
3598
|
|
|
3599
|
-
walkTSType(pos +
|
|
3599
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3600
3600
|
|
|
3601
3601
|
if (exit !== null) exit(node);
|
|
3602
3602
|
}
|
|
@@ -3612,7 +3612,7 @@ function walkTSArrayType(pos, ast, visitors) {
|
|
|
3612
3612
|
if (enter !== null) enter(node);
|
|
3613
3613
|
}
|
|
3614
3614
|
|
|
3615
|
-
walkTSType(pos +
|
|
3615
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3616
3616
|
|
|
3617
3617
|
if (exit !== null) exit(node);
|
|
3618
3618
|
}
|
|
@@ -3628,8 +3628,8 @@ function walkTSIndexedAccessType(pos, ast, visitors) {
|
|
|
3628
3628
|
if (enter !== null) enter(node);
|
|
3629
3629
|
}
|
|
3630
3630
|
|
|
3631
|
-
walkTSType(pos +
|
|
3632
|
-
walkTSType(pos +
|
|
3631
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3632
|
+
walkTSType(pos + 32, ast, visitors);
|
|
3633
3633
|
|
|
3634
3634
|
if (exit !== null) exit(node);
|
|
3635
3635
|
}
|
|
@@ -3645,7 +3645,7 @@ function walkTSTupleType(pos, ast, visitors) {
|
|
|
3645
3645
|
if (enter !== null) enter(node);
|
|
3646
3646
|
}
|
|
3647
3647
|
|
|
3648
|
-
walkVecTSTupleElement(pos +
|
|
3648
|
+
walkVecTSTupleElement(pos + 16, ast, visitors);
|
|
3649
3649
|
|
|
3650
3650
|
if (exit !== null) exit(node);
|
|
3651
3651
|
}
|
|
@@ -3661,8 +3661,8 @@ function walkTSNamedTupleMember(pos, ast, visitors) {
|
|
|
3661
3661
|
if (enter !== null) enter(node);
|
|
3662
3662
|
}
|
|
3663
3663
|
|
|
3664
|
-
walkIdentifierName(pos +
|
|
3665
|
-
walkTSTupleElement(pos +
|
|
3664
|
+
walkIdentifierName(pos + 16, ast, visitors);
|
|
3665
|
+
walkTSTupleElement(pos + 48, ast, visitors);
|
|
3666
3666
|
|
|
3667
3667
|
if (exit !== null) exit(node);
|
|
3668
3668
|
}
|
|
@@ -3678,7 +3678,7 @@ function walkTSOptionalType(pos, ast, visitors) {
|
|
|
3678
3678
|
if (enter !== null) enter(node);
|
|
3679
3679
|
}
|
|
3680
3680
|
|
|
3681
|
-
walkTSType(pos +
|
|
3681
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3682
3682
|
|
|
3683
3683
|
if (exit !== null) exit(node);
|
|
3684
3684
|
}
|
|
@@ -3694,7 +3694,7 @@ function walkTSRestType(pos, ast, visitors) {
|
|
|
3694
3694
|
if (enter !== null) enter(node);
|
|
3695
3695
|
}
|
|
3696
3696
|
|
|
3697
|
-
walkTSType(pos +
|
|
3697
|
+
walkTSType(pos + 16, ast, visitors);
|
|
3698
3698
|
|
|
3699
3699
|
if (exit !== null) exit(node);
|
|
3700
3700
|
}
|
|
@@ -3904,8 +3904,8 @@ function walkTSTypeReference(pos, ast, visitors) {
|
|
|
3904
3904
|
if (enter !== null) enter(node);
|
|
3905
3905
|
}
|
|
3906
3906
|
|
|
3907
|
-
walkTSTypeName(pos +
|
|
3908
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
3907
|
+
walkTSTypeName(pos + 16, ast, visitors);
|
|
3908
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
3909
3909
|
|
|
3910
3910
|
if (exit !== null) exit(node);
|
|
3911
3911
|
}
|
|
@@ -3937,8 +3937,8 @@ function walkTSQualifiedName(pos, ast, visitors) {
|
|
|
3937
3937
|
if (enter !== null) enter(node);
|
|
3938
3938
|
}
|
|
3939
3939
|
|
|
3940
|
-
walkTSTypeName(pos +
|
|
3941
|
-
walkIdentifierName(pos +
|
|
3940
|
+
walkTSTypeName(pos + 16, ast, visitors);
|
|
3941
|
+
walkIdentifierName(pos + 32, ast, visitors);
|
|
3942
3942
|
|
|
3943
3943
|
if (exit !== null) exit(node);
|
|
3944
3944
|
}
|
|
@@ -3954,7 +3954,7 @@ function walkTSTypeParameterInstantiation(pos, ast, visitors) {
|
|
|
3954
3954
|
if (enter !== null) enter(node);
|
|
3955
3955
|
}
|
|
3956
3956
|
|
|
3957
|
-
walkVecTSType(pos +
|
|
3957
|
+
walkVecTSType(pos + 16, ast, visitors);
|
|
3958
3958
|
|
|
3959
3959
|
if (exit !== null) exit(node);
|
|
3960
3960
|
}
|
|
@@ -3970,9 +3970,9 @@ function walkTSTypeParameter(pos, ast, visitors) {
|
|
|
3970
3970
|
if (enter !== null) enter(node);
|
|
3971
3971
|
}
|
|
3972
3972
|
|
|
3973
|
-
walkBindingIdentifier(pos +
|
|
3974
|
-
walkOptionTSType(pos +
|
|
3975
|
-
walkOptionTSType(pos +
|
|
3973
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
3974
|
+
walkOptionTSType(pos + 48, ast, visitors);
|
|
3975
|
+
walkOptionTSType(pos + 64, ast, visitors);
|
|
3976
3976
|
|
|
3977
3977
|
if (exit !== null) exit(node);
|
|
3978
3978
|
}
|
|
@@ -3988,7 +3988,7 @@ function walkTSTypeParameterDeclaration(pos, ast, visitors) {
|
|
|
3988
3988
|
if (enter !== null) enter(node);
|
|
3989
3989
|
}
|
|
3990
3990
|
|
|
3991
|
-
walkVecTSTypeParameter(pos +
|
|
3991
|
+
walkVecTSTypeParameter(pos + 16, ast, visitors);
|
|
3992
3992
|
|
|
3993
3993
|
if (exit !== null) exit(node);
|
|
3994
3994
|
}
|
|
@@ -4004,9 +4004,9 @@ function walkTSTypeAliasDeclaration(pos, ast, visitors) {
|
|
|
4004
4004
|
if (enter !== null) enter(node);
|
|
4005
4005
|
}
|
|
4006
4006
|
|
|
4007
|
-
walkBindingIdentifier(pos +
|
|
4008
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4009
|
-
walkTSType(pos +
|
|
4007
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
4008
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 48, ast, visitors);
|
|
4009
|
+
walkTSType(pos + 56, ast, visitors);
|
|
4010
4010
|
|
|
4011
4011
|
if (exit !== null) exit(node);
|
|
4012
4012
|
}
|
|
@@ -4022,8 +4022,8 @@ function walkTSClassImplements(pos, ast, visitors) {
|
|
|
4022
4022
|
if (enter !== null) enter(node);
|
|
4023
4023
|
}
|
|
4024
4024
|
|
|
4025
|
-
walkTSTypeName(pos +
|
|
4026
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
4025
|
+
walkTSTypeName(pos + 16, ast, visitors);
|
|
4026
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
4027
4027
|
|
|
4028
4028
|
if (exit !== null) exit(node);
|
|
4029
4029
|
}
|
|
@@ -4039,10 +4039,10 @@ function walkTSInterfaceDeclaration(pos, ast, visitors) {
|
|
|
4039
4039
|
if (enter !== null) enter(node);
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
walkBindingIdentifier(pos +
|
|
4043
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4044
|
-
walkVecTSInterfaceHeritage(pos +
|
|
4045
|
-
walkBoxTSInterfaceBody(pos +
|
|
4042
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
4043
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 48, ast, visitors);
|
|
4044
|
+
walkVecTSInterfaceHeritage(pos + 56, ast, visitors);
|
|
4045
|
+
walkBoxTSInterfaceBody(pos + 80, ast, visitors);
|
|
4046
4046
|
|
|
4047
4047
|
if (exit !== null) exit(node);
|
|
4048
4048
|
}
|
|
@@ -4058,7 +4058,7 @@ function walkTSInterfaceBody(pos, ast, visitors) {
|
|
|
4058
4058
|
if (enter !== null) enter(node);
|
|
4059
4059
|
}
|
|
4060
4060
|
|
|
4061
|
-
walkVecTSSignature(pos +
|
|
4061
|
+
walkVecTSSignature(pos + 16, ast, visitors);
|
|
4062
4062
|
|
|
4063
4063
|
if (exit !== null) exit(node);
|
|
4064
4064
|
}
|
|
@@ -4074,8 +4074,8 @@ function walkTSPropertySignature(pos, ast, visitors) {
|
|
|
4074
4074
|
if (enter !== null) enter(node);
|
|
4075
4075
|
}
|
|
4076
4076
|
|
|
4077
|
-
walkPropertyKey(pos +
|
|
4078
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
4077
|
+
walkPropertyKey(pos + 16, ast, visitors);
|
|
4078
|
+
walkOptionBoxTSTypeAnnotation(pos + 32, ast, visitors);
|
|
4079
4079
|
|
|
4080
4080
|
if (exit !== null) exit(node);
|
|
4081
4081
|
}
|
|
@@ -4113,8 +4113,8 @@ function walkTSIndexSignature(pos, ast, visitors) {
|
|
|
4113
4113
|
if (enter !== null) enter(node);
|
|
4114
4114
|
}
|
|
4115
4115
|
|
|
4116
|
-
walkVecTSIndexSignatureName(pos +
|
|
4117
|
-
walkBoxTSTypeAnnotation(pos +
|
|
4116
|
+
walkVecTSIndexSignatureName(pos + 16, ast, visitors);
|
|
4117
|
+
walkBoxTSTypeAnnotation(pos + 40, ast, visitors);
|
|
4118
4118
|
|
|
4119
4119
|
if (exit !== null) exit(node);
|
|
4120
4120
|
}
|
|
@@ -4130,9 +4130,9 @@ function walkTSCallSignatureDeclaration(pos, ast, visitors) {
|
|
|
4130
4130
|
if (enter !== null) enter(node);
|
|
4131
4131
|
}
|
|
4132
4132
|
|
|
4133
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4134
|
-
walkBoxFormalParameters(pos +
|
|
4135
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
4133
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 16, ast, visitors);
|
|
4134
|
+
walkBoxFormalParameters(pos + 32, ast, visitors);
|
|
4135
|
+
walkOptionBoxTSTypeAnnotation(pos + 40, ast, visitors);
|
|
4136
4136
|
|
|
4137
4137
|
if (exit !== null) exit(node);
|
|
4138
4138
|
}
|
|
@@ -4148,10 +4148,10 @@ function walkTSMethodSignature(pos, ast, visitors) {
|
|
|
4148
4148
|
if (enter !== null) enter(node);
|
|
4149
4149
|
}
|
|
4150
4150
|
|
|
4151
|
-
walkPropertyKey(pos +
|
|
4152
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4153
|
-
walkBoxFormalParameters(pos +
|
|
4154
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
4151
|
+
walkPropertyKey(pos + 16, ast, visitors);
|
|
4152
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 32, ast, visitors);
|
|
4153
|
+
walkBoxFormalParameters(pos + 48, ast, visitors);
|
|
4154
|
+
walkOptionBoxTSTypeAnnotation(pos + 56, ast, visitors);
|
|
4155
4155
|
|
|
4156
4156
|
if (exit !== null) exit(node);
|
|
4157
4157
|
}
|
|
@@ -4167,9 +4167,9 @@ function walkTSConstructSignatureDeclaration(pos, ast, visitors) {
|
|
|
4167
4167
|
if (enter !== null) enter(node);
|
|
4168
4168
|
}
|
|
4169
4169
|
|
|
4170
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4171
|
-
walkBoxFormalParameters(pos +
|
|
4172
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
4170
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 16, ast, visitors);
|
|
4171
|
+
walkBoxFormalParameters(pos + 24, ast, visitors);
|
|
4172
|
+
walkOptionBoxTSTypeAnnotation(pos + 32, ast, visitors);
|
|
4173
4173
|
|
|
4174
4174
|
if (exit !== null) exit(node);
|
|
4175
4175
|
}
|
|
@@ -4185,7 +4185,7 @@ function walkTSIndexSignatureName(pos, ast, visitors) {
|
|
|
4185
4185
|
if (enter !== null) enter(node);
|
|
4186
4186
|
}
|
|
4187
4187
|
|
|
4188
|
-
walkBoxTSTypeAnnotation(pos +
|
|
4188
|
+
walkBoxTSTypeAnnotation(pos + 32, ast, visitors);
|
|
4189
4189
|
|
|
4190
4190
|
if (exit !== null) exit(node);
|
|
4191
4191
|
}
|
|
@@ -4201,8 +4201,8 @@ function walkTSInterfaceHeritage(pos, ast, visitors) {
|
|
|
4201
4201
|
if (enter !== null) enter(node);
|
|
4202
4202
|
}
|
|
4203
4203
|
|
|
4204
|
-
walkExpression(pos +
|
|
4205
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
4204
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4205
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
4206
4206
|
|
|
4207
4207
|
if (exit !== null) exit(node);
|
|
4208
4208
|
}
|
|
@@ -4218,8 +4218,8 @@ function walkTSTypePredicate(pos, ast, visitors) {
|
|
|
4218
4218
|
if (enter !== null) enter(node);
|
|
4219
4219
|
}
|
|
4220
4220
|
|
|
4221
|
-
walkTSTypePredicateName(pos +
|
|
4222
|
-
walkOptionBoxTSTypeAnnotation(pos +
|
|
4221
|
+
walkTSTypePredicateName(pos + 16, ast, visitors);
|
|
4222
|
+
walkOptionBoxTSTypeAnnotation(pos + 40, ast, visitors);
|
|
4223
4223
|
|
|
4224
4224
|
if (exit !== null) exit(node);
|
|
4225
4225
|
}
|
|
@@ -4248,8 +4248,8 @@ function walkTSModuleDeclaration(pos, ast, visitors) {
|
|
|
4248
4248
|
if (enter !== null) enter(node);
|
|
4249
4249
|
}
|
|
4250
4250
|
|
|
4251
|
-
walkTSModuleDeclarationName(pos +
|
|
4252
|
-
walkOptionTSModuleDeclarationBody(pos +
|
|
4251
|
+
walkTSModuleDeclarationName(pos + 16, ast, visitors);
|
|
4252
|
+
walkOptionTSModuleDeclarationBody(pos + 72, ast, visitors);
|
|
4253
4253
|
|
|
4254
4254
|
if (exit !== null) exit(node);
|
|
4255
4255
|
}
|
|
@@ -4291,7 +4291,7 @@ function walkTSGlobalDeclaration(pos, ast, visitors) {
|
|
|
4291
4291
|
if (enter !== null) enter(node);
|
|
4292
4292
|
}
|
|
4293
4293
|
|
|
4294
|
-
walkTSModuleBlock(pos +
|
|
4294
|
+
walkTSModuleBlock(pos + 24, ast, visitors);
|
|
4295
4295
|
|
|
4296
4296
|
if (exit !== null) exit(node);
|
|
4297
4297
|
}
|
|
@@ -4307,7 +4307,7 @@ function walkTSModuleBlock(pos, ast, visitors) {
|
|
|
4307
4307
|
if (enter !== null) enter(node);
|
|
4308
4308
|
}
|
|
4309
4309
|
|
|
4310
|
-
walkVecStatement(pos +
|
|
4310
|
+
walkVecStatement(pos + 40, ast, visitors);
|
|
4311
4311
|
|
|
4312
4312
|
if (exit !== null) exit(node);
|
|
4313
4313
|
}
|
|
@@ -4323,7 +4323,7 @@ function walkTSTypeLiteral(pos, ast, visitors) {
|
|
|
4323
4323
|
if (enter !== null) enter(node);
|
|
4324
4324
|
}
|
|
4325
4325
|
|
|
4326
|
-
walkVecTSSignature(pos +
|
|
4326
|
+
walkVecTSSignature(pos + 16, ast, visitors);
|
|
4327
4327
|
|
|
4328
4328
|
if (exit !== null) exit(node);
|
|
4329
4329
|
}
|
|
@@ -4339,7 +4339,7 @@ function walkTSInferType(pos, ast, visitors) {
|
|
|
4339
4339
|
if (enter !== null) enter(node);
|
|
4340
4340
|
}
|
|
4341
4341
|
|
|
4342
|
-
walkBoxTSTypeParameter(pos +
|
|
4342
|
+
walkBoxTSTypeParameter(pos + 16, ast, visitors);
|
|
4343
4343
|
|
|
4344
4344
|
if (exit !== null) exit(node);
|
|
4345
4345
|
}
|
|
@@ -4355,8 +4355,8 @@ function walkTSTypeQuery(pos, ast, visitors) {
|
|
|
4355
4355
|
if (enter !== null) enter(node);
|
|
4356
4356
|
}
|
|
4357
4357
|
|
|
4358
|
-
walkTSTypeQueryExprName(pos +
|
|
4359
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
4358
|
+
walkTSTypeQueryExprName(pos + 16, ast, visitors);
|
|
4359
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
4360
4360
|
|
|
4361
4361
|
if (exit !== null) exit(node);
|
|
4362
4362
|
}
|
|
@@ -4391,10 +4391,10 @@ function walkTSImportType(pos, ast, visitors) {
|
|
|
4391
4391
|
if (enter !== null) enter(node);
|
|
4392
4392
|
}
|
|
4393
4393
|
|
|
4394
|
-
walkStringLiteral(pos +
|
|
4395
|
-
walkOptionBoxObjectExpression(pos +
|
|
4396
|
-
walkOptionTSImportTypeQualifier(pos +
|
|
4397
|
-
walkOptionBoxTSTypeParameterInstantiation(pos +
|
|
4394
|
+
walkStringLiteral(pos + 16, ast, visitors);
|
|
4395
|
+
walkOptionBoxObjectExpression(pos + 64, ast, visitors);
|
|
4396
|
+
walkOptionTSImportTypeQualifier(pos + 72, ast, visitors);
|
|
4397
|
+
walkOptionBoxTSTypeParameterInstantiation(pos + 88, ast, visitors);
|
|
4398
4398
|
|
|
4399
4399
|
if (exit !== null) exit(node);
|
|
4400
4400
|
}
|
|
@@ -4423,8 +4423,8 @@ function walkTSImportTypeQualifiedName(pos, ast, visitors) {
|
|
|
4423
4423
|
if (enter !== null) enter(node);
|
|
4424
4424
|
}
|
|
4425
4425
|
|
|
4426
|
-
walkTSImportTypeQualifier(pos +
|
|
4427
|
-
walkIdentifierName(pos +
|
|
4426
|
+
walkTSImportTypeQualifier(pos + 16, ast, visitors);
|
|
4427
|
+
walkIdentifierName(pos + 32, ast, visitors);
|
|
4428
4428
|
|
|
4429
4429
|
if (exit !== null) exit(node);
|
|
4430
4430
|
}
|
|
@@ -4440,9 +4440,9 @@ function walkTSFunctionType(pos, ast, visitors) {
|
|
|
4440
4440
|
if (enter !== null) enter(node);
|
|
4441
4441
|
}
|
|
4442
4442
|
|
|
4443
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4444
|
-
walkBoxFormalParameters(pos +
|
|
4445
|
-
walkBoxTSTypeAnnotation(pos +
|
|
4443
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 16, ast, visitors);
|
|
4444
|
+
walkBoxFormalParameters(pos + 32, ast, visitors);
|
|
4445
|
+
walkBoxTSTypeAnnotation(pos + 40, ast, visitors);
|
|
4446
4446
|
|
|
4447
4447
|
if (exit !== null) exit(node);
|
|
4448
4448
|
}
|
|
@@ -4458,9 +4458,9 @@ function walkTSConstructorType(pos, ast, visitors) {
|
|
|
4458
4458
|
if (enter !== null) enter(node);
|
|
4459
4459
|
}
|
|
4460
4460
|
|
|
4461
|
-
walkOptionBoxTSTypeParameterDeclaration(pos +
|
|
4462
|
-
walkBoxFormalParameters(pos +
|
|
4463
|
-
walkBoxTSTypeAnnotation(pos +
|
|
4461
|
+
walkOptionBoxTSTypeParameterDeclaration(pos + 16, ast, visitors);
|
|
4462
|
+
walkBoxFormalParameters(pos + 24, ast, visitors);
|
|
4463
|
+
walkBoxTSTypeAnnotation(pos + 32, ast, visitors);
|
|
4464
4464
|
|
|
4465
4465
|
if (exit !== null) exit(node);
|
|
4466
4466
|
}
|
|
@@ -4476,10 +4476,10 @@ function walkTSMappedType(pos, ast, visitors) {
|
|
|
4476
4476
|
if (enter !== null) enter(node);
|
|
4477
4477
|
}
|
|
4478
4478
|
|
|
4479
|
-
walkBindingIdentifier(pos +
|
|
4480
|
-
walkTSType(pos +
|
|
4481
|
-
walkOptionTSType(pos +
|
|
4482
|
-
walkOptionTSType(pos +
|
|
4479
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
4480
|
+
walkTSType(pos + 48, ast, visitors);
|
|
4481
|
+
walkOptionTSType(pos + 64, ast, visitors);
|
|
4482
|
+
walkOptionTSType(pos + 80, ast, visitors);
|
|
4483
4483
|
|
|
4484
4484
|
if (exit !== null) exit(node);
|
|
4485
4485
|
}
|
|
@@ -4495,8 +4495,8 @@ function walkTSTemplateLiteralType(pos, ast, visitors) {
|
|
|
4495
4495
|
if (enter !== null) enter(node);
|
|
4496
4496
|
}
|
|
4497
4497
|
|
|
4498
|
-
walkVecTemplateElement(pos +
|
|
4499
|
-
walkVecTSType(pos +
|
|
4498
|
+
walkVecTemplateElement(pos + 16, ast, visitors);
|
|
4499
|
+
walkVecTSType(pos + 40, ast, visitors);
|
|
4500
4500
|
|
|
4501
4501
|
if (exit !== null) exit(node);
|
|
4502
4502
|
}
|
|
@@ -4512,8 +4512,8 @@ function walkTSAsExpression(pos, ast, visitors) {
|
|
|
4512
4512
|
if (enter !== null) enter(node);
|
|
4513
4513
|
}
|
|
4514
4514
|
|
|
4515
|
-
walkExpression(pos +
|
|
4516
|
-
walkTSType(pos +
|
|
4515
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4516
|
+
walkTSType(pos + 32, ast, visitors);
|
|
4517
4517
|
|
|
4518
4518
|
if (exit !== null) exit(node);
|
|
4519
4519
|
}
|
|
@@ -4529,8 +4529,8 @@ function walkTSSatisfiesExpression(pos, ast, visitors) {
|
|
|
4529
4529
|
if (enter !== null) enter(node);
|
|
4530
4530
|
}
|
|
4531
4531
|
|
|
4532
|
-
walkExpression(pos +
|
|
4533
|
-
walkTSType(pos +
|
|
4532
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4533
|
+
walkTSType(pos + 32, ast, visitors);
|
|
4534
4534
|
|
|
4535
4535
|
if (exit !== null) exit(node);
|
|
4536
4536
|
}
|
|
@@ -4546,8 +4546,8 @@ function walkTSTypeAssertion(pos, ast, visitors) {
|
|
|
4546
4546
|
if (enter !== null) enter(node);
|
|
4547
4547
|
}
|
|
4548
4548
|
|
|
4549
|
-
walkTSType(pos +
|
|
4550
|
-
walkExpression(pos +
|
|
4549
|
+
walkTSType(pos + 16, ast, visitors);
|
|
4550
|
+
walkExpression(pos + 32, ast, visitors);
|
|
4551
4551
|
|
|
4552
4552
|
if (exit !== null) exit(node);
|
|
4553
4553
|
}
|
|
@@ -4563,8 +4563,8 @@ function walkTSImportEqualsDeclaration(pos, ast, visitors) {
|
|
|
4563
4563
|
if (enter !== null) enter(node);
|
|
4564
4564
|
}
|
|
4565
4565
|
|
|
4566
|
-
walkBindingIdentifier(pos +
|
|
4567
|
-
walkTSModuleReference(pos +
|
|
4566
|
+
walkBindingIdentifier(pos + 16, ast, visitors);
|
|
4567
|
+
walkTSModuleReference(pos + 48, ast, visitors);
|
|
4568
4568
|
|
|
4569
4569
|
if (exit !== null) exit(node);
|
|
4570
4570
|
}
|
|
@@ -4596,7 +4596,7 @@ function walkTSExternalModuleReference(pos, ast, visitors) {
|
|
|
4596
4596
|
if (enter !== null) enter(node);
|
|
4597
4597
|
}
|
|
4598
4598
|
|
|
4599
|
-
walkStringLiteral(pos +
|
|
4599
|
+
walkStringLiteral(pos + 16, ast, visitors);
|
|
4600
4600
|
|
|
4601
4601
|
if (exit !== null) exit(node);
|
|
4602
4602
|
}
|
|
@@ -4612,7 +4612,7 @@ function walkTSNonNullExpression(pos, ast, visitors) {
|
|
|
4612
4612
|
if (enter !== null) enter(node);
|
|
4613
4613
|
}
|
|
4614
4614
|
|
|
4615
|
-
walkExpression(pos +
|
|
4615
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4616
4616
|
|
|
4617
4617
|
if (exit !== null) exit(node);
|
|
4618
4618
|
}
|
|
@@ -4628,7 +4628,7 @@ function walkDecorator(pos, ast, visitors) {
|
|
|
4628
4628
|
if (enter !== null) enter(node);
|
|
4629
4629
|
}
|
|
4630
4630
|
|
|
4631
|
-
walkExpression(pos +
|
|
4631
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4632
4632
|
|
|
4633
4633
|
if (exit !== null) exit(node);
|
|
4634
4634
|
}
|
|
@@ -4644,7 +4644,7 @@ function walkTSExportAssignment(pos, ast, visitors) {
|
|
|
4644
4644
|
if (enter !== null) enter(node);
|
|
4645
4645
|
}
|
|
4646
4646
|
|
|
4647
|
-
walkExpression(pos +
|
|
4647
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4648
4648
|
|
|
4649
4649
|
if (exit !== null) exit(node);
|
|
4650
4650
|
}
|
|
@@ -4660,7 +4660,7 @@ function walkTSNamespaceExportDeclaration(pos, ast, visitors) {
|
|
|
4660
4660
|
if (enter !== null) enter(node);
|
|
4661
4661
|
}
|
|
4662
4662
|
|
|
4663
|
-
walkIdentifierName(pos +
|
|
4663
|
+
walkIdentifierName(pos + 16, ast, visitors);
|
|
4664
4664
|
|
|
4665
4665
|
if (exit !== null) exit(node);
|
|
4666
4666
|
}
|
|
@@ -4676,8 +4676,8 @@ function walkTSInstantiationExpression(pos, ast, visitors) {
|
|
|
4676
4676
|
if (enter !== null) enter(node);
|
|
4677
4677
|
}
|
|
4678
4678
|
|
|
4679
|
-
walkExpression(pos +
|
|
4680
|
-
walkBoxTSTypeParameterInstantiation(pos +
|
|
4679
|
+
walkExpression(pos + 16, ast, visitors);
|
|
4680
|
+
walkBoxTSTypeParameterInstantiation(pos + 32, ast, visitors);
|
|
4681
4681
|
|
|
4682
4682
|
if (exit !== null) exit(node);
|
|
4683
4683
|
}
|
|
@@ -4693,7 +4693,7 @@ function walkJSDocNullableType(pos, ast, visitors) {
|
|
|
4693
4693
|
if (enter !== null) enter(node);
|
|
4694
4694
|
}
|
|
4695
4695
|
|
|
4696
|
-
walkTSType(pos +
|
|
4696
|
+
walkTSType(pos + 16, ast, visitors);
|
|
4697
4697
|
|
|
4698
4698
|
if (exit !== null) exit(node);
|
|
4699
4699
|
}
|
|
@@ -4709,7 +4709,7 @@ function walkJSDocNonNullableType(pos, ast, visitors) {
|
|
|
4709
4709
|
if (enter !== null) enter(node);
|
|
4710
4710
|
}
|
|
4711
4711
|
|
|
4712
|
-
walkTSType(pos +
|
|
4712
|
+
walkTSType(pos + 16, ast, visitors);
|
|
4713
4713
|
|
|
4714
4714
|
if (exit !== null) exit(node);
|
|
4715
4715
|
}
|
|
@@ -4720,7 +4720,7 @@ function walkJSDocUnknownType(pos, ast, visitors) {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
|
|
4722
4722
|
function walkOptionHashbang(pos, ast, visitors) {
|
|
4723
|
-
if (!(ast.buffer.uint32[(pos +
|
|
4723
|
+
if (!(ast.buffer.uint32[(pos + 16) >> 2] === 0 && ast.buffer.uint32[(pos + 20) >> 2] === 0))
|
|
4724
4724
|
walkHashbang(pos, ast, visitors);
|
|
4725
4725
|
}
|
|
4726
4726
|
|
|
@@ -5166,7 +5166,7 @@ function walkOptionForStatementInit(pos, ast, visitors) {
|
|
|
5166
5166
|
}
|
|
5167
5167
|
|
|
5168
5168
|
function walkOptionLabelIdentifier(pos, ast, visitors) {
|
|
5169
|
-
if (!(ast.buffer.uint32[(pos +
|
|
5169
|
+
if (!(ast.buffer.uint32[(pos + 16) >> 2] === 0 && ast.buffer.uint32[(pos + 20) >> 2] === 0))
|
|
5170
5170
|
walkLabelIdentifier(pos, ast, visitors);
|
|
5171
5171
|
}
|
|
5172
5172
|
|
|
@@ -5196,7 +5196,7 @@ function walkOptionBoxBlockStatement(pos, ast, visitors) {
|
|
|
5196
5196
|
}
|
|
5197
5197
|
|
|
5198
5198
|
function walkOptionCatchParameter(pos, ast, visitors) {
|
|
5199
|
-
if (!(ast.buffer[pos +
|
|
5199
|
+
if (!(ast.buffer[pos + 16] === 4)) walkCatchParameter(pos, ast, visitors);
|
|
5200
5200
|
}
|
|
5201
5201
|
|
|
5202
5202
|
function walkBoxBindingIdentifier(pos, ast, visitors) {
|
|
@@ -5242,7 +5242,7 @@ function walkVecOptionBindingPattern(pos, ast, visitors) {
|
|
|
5242
5242
|
}
|
|
5243
5243
|
|
|
5244
5244
|
function walkOptionBindingIdentifier(pos, ast, visitors) {
|
|
5245
|
-
if (!(ast.buffer.uint32[(pos +
|
|
5245
|
+
if (!(ast.buffer.uint32[(pos + 16) >> 2] === 0 && ast.buffer.uint32[(pos + 20) >> 2] === 0))
|
|
5246
5246
|
walkBindingIdentifier(pos, ast, visitors);
|
|
5247
5247
|
}
|
|
5248
5248
|
|
|
@@ -5433,7 +5433,7 @@ function walkVecExportSpecifier(pos, ast, visitors) {
|
|
|
5433
5433
|
}
|
|
5434
5434
|
|
|
5435
5435
|
function walkOptionStringLiteral(pos, ast, visitors) {
|
|
5436
|
-
if (!(ast.buffer[pos +
|
|
5436
|
+
if (!(ast.buffer[pos + 12] === 2)) walkStringLiteral(pos, ast, visitors);
|
|
5437
5437
|
}
|
|
5438
5438
|
|
|
5439
5439
|
function walkOptionModuleExportName(pos, ast, visitors) {
|