oxc-parser 0.95.0 → 0.96.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.
@@ -2,192 +2,194 @@
2
2
  // To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer_lazy.rs`.
3
3
 
4
4
  import {
5
- AccessorProperty,
6
- ArrayAssignmentTarget,
5
+ Program,
6
+ IdentifierName,
7
+ IdentifierReference,
8
+ BindingIdentifier,
9
+ LabelIdentifier,
10
+ ThisExpression,
7
11
  ArrayExpression,
8
- ArrayPattern,
9
- ArrowFunctionExpression,
12
+ Elision,
13
+ ObjectExpression,
14
+ ObjectProperty,
15
+ TemplateLiteral,
16
+ TaggedTemplateExpression,
17
+ TemplateElement,
18
+ ComputedMemberExpression,
19
+ StaticMemberExpression,
20
+ PrivateFieldExpression,
21
+ CallExpression,
22
+ NewExpression,
23
+ MetaProperty,
24
+ SpreadElement,
25
+ UpdateExpression,
26
+ UnaryExpression,
27
+ BinaryExpression,
28
+ PrivateInExpression,
29
+ LogicalExpression,
30
+ ConditionalExpression,
10
31
  AssignmentExpression,
11
- AssignmentPattern,
32
+ ArrayAssignmentTarget,
33
+ ObjectAssignmentTarget,
34
+ AssignmentTargetWithDefault,
12
35
  AssignmentTargetPropertyIdentifier,
13
36
  AssignmentTargetPropertyProperty,
14
- AssignmentTargetWithDefault,
37
+ SequenceExpression,
38
+ Super,
15
39
  AwaitExpression,
16
- BigIntLiteral,
17
- BinaryExpression,
18
- BindingIdentifier,
19
- BindingProperty,
20
- BlockStatement,
21
- BooleanLiteral,
22
- BreakStatement,
23
- CallExpression,
24
- CatchClause,
25
40
  ChainExpression,
26
- Class,
27
- ClassBody,
28
- ComputedMemberExpression,
29
- ConditionalExpression,
30
- ContinueStatement,
31
- DebuggerStatement,
32
- Decorator,
33
- DoWhileStatement,
34
- Elision,
41
+ ParenthesizedExpression,
42
+ Hashbang,
43
+ BlockStatement,
44
+ VariableDeclaration,
45
+ VariableDeclarator,
35
46
  EmptyStatement,
36
- ExportAllDeclaration,
37
- ExportDefaultDeclaration,
38
- ExportNamedDeclaration,
39
- ExportSpecifier,
40
47
  ExpressionStatement,
48
+ IfStatement,
49
+ DoWhileStatement,
50
+ WhileStatement,
51
+ ForStatement,
41
52
  ForInStatement,
42
- FormalParameters,
43
53
  ForOfStatement,
44
- ForStatement,
54
+ ContinueStatement,
55
+ BreakStatement,
56
+ ReturnStatement,
57
+ WithStatement,
58
+ SwitchStatement,
59
+ SwitchCase,
60
+ LabeledStatement,
61
+ ThrowStatement,
62
+ TryStatement,
63
+ CatchClause,
64
+ DebuggerStatement,
65
+ AssignmentPattern,
66
+ ObjectPattern,
67
+ BindingProperty,
68
+ ArrayPattern,
45
69
  Function,
70
+ FormalParameters,
46
71
  FunctionBody,
47
- Hashbang,
48
- IdentifierName,
49
- IdentifierReference,
50
- IfStatement,
51
- ImportAttribute,
72
+ ArrowFunctionExpression,
73
+ YieldExpression,
74
+ Class,
75
+ ClassBody,
76
+ MethodDefinition,
77
+ PropertyDefinition,
78
+ PrivateIdentifier,
79
+ StaticBlock,
80
+ AccessorProperty,
81
+ ImportExpression,
52
82
  ImportDeclaration,
83
+ ImportSpecifier,
53
84
  ImportDefaultSpecifier,
54
- ImportExpression,
55
85
  ImportNamespaceSpecifier,
56
- ImportSpecifier,
57
- JSDocNonNullableType,
58
- JSDocNullableType,
59
- JSDocUnknownType,
60
- JSXAttribute,
61
- JSXClosingElement,
62
- JSXClosingFragment,
86
+ ImportAttribute,
87
+ ExportNamedDeclaration,
88
+ ExportDefaultDeclaration,
89
+ ExportAllDeclaration,
90
+ ExportSpecifier,
91
+ V8IntrinsicExpression,
92
+ BooleanLiteral,
93
+ NullLiteral,
94
+ NumericLiteral,
95
+ StringLiteral,
96
+ BigIntLiteral,
97
+ RegExpLiteral,
63
98
  JSXElement,
64
- JSXEmptyExpression,
65
- JSXExpressionContainer,
66
- JSXFragment,
67
- JSXIdentifier,
68
- JSXMemberExpression,
69
- JSXNamespacedName,
70
99
  JSXOpeningElement,
100
+ JSXClosingElement,
101
+ JSXFragment,
71
102
  JSXOpeningFragment,
103
+ JSXClosingFragment,
104
+ JSXNamespacedName,
105
+ JSXMemberExpression,
106
+ JSXExpressionContainer,
107
+ JSXEmptyExpression,
108
+ JSXAttribute,
72
109
  JSXSpreadAttribute,
110
+ JSXIdentifier,
73
111
  JSXSpreadChild,
74
112
  JSXText,
75
- LabeledStatement,
76
- LabelIdentifier,
77
- LogicalExpression,
78
- MetaProperty,
79
- MethodDefinition,
80
- NewExpression,
81
- NullLiteral,
82
- NumericLiteral,
83
- ObjectAssignmentTarget,
84
- ObjectExpression,
85
- ObjectPattern,
86
- ObjectProperty,
87
- ParenthesizedExpression,
88
- PrivateFieldExpression,
89
- PrivateIdentifier,
90
- PrivateInExpression,
91
- Program,
92
- PropertyDefinition,
93
- RegExpLiteral,
94
- ReturnStatement,
95
- SequenceExpression,
96
- SpreadElement,
97
- StaticBlock,
98
- StaticMemberExpression,
99
- StringLiteral,
100
- Super,
101
- SwitchCase,
102
- SwitchStatement,
103
- TaggedTemplateExpression,
104
- TemplateElement,
105
- TemplateLiteral,
106
- ThisExpression,
107
- ThrowStatement,
108
- TryStatement,
109
- TSAnyKeyword,
110
- TSArrayType,
111
- TSAsExpression,
112
- TSBigIntKeyword,
113
- TSBooleanKeyword,
114
- TSCallSignatureDeclaration,
115
- TSClassImplements,
116
- TSConditionalType,
117
- TSConstructorType,
118
- TSConstructSignatureDeclaration,
119
- TSEnumBody,
120
113
  TSEnumDeclaration,
114
+ TSEnumBody,
121
115
  TSEnumMember,
122
- TSExportAssignment,
123
- TSExternalModuleReference,
124
- TSFunctionType,
125
- TSImportEqualsDeclaration,
126
- TSImportType,
127
- TSImportTypeQualifiedName,
128
- TSIndexedAccessType,
129
- TSIndexSignature,
130
- TSIndexSignatureName,
131
- TSInferType,
132
- TSInstantiationExpression,
133
- TSInterfaceBody,
134
- TSInterfaceDeclaration,
135
- TSInterfaceHeritage,
136
- TSIntersectionType,
137
- TSIntrinsicKeyword,
116
+ TSTypeAnnotation,
138
117
  TSLiteralType,
139
- TSMappedType,
140
- TSMethodSignature,
141
- TSModuleBlock,
142
- TSModuleDeclaration,
118
+ TSConditionalType,
119
+ TSUnionType,
120
+ TSIntersectionType,
121
+ TSParenthesizedType,
122
+ TSTypeOperator,
123
+ TSArrayType,
124
+ TSIndexedAccessType,
125
+ TSTupleType,
143
126
  TSNamedTupleMember,
144
- TSNamespaceExportDeclaration,
145
- TSNeverKeyword,
146
- TSNonNullExpression,
147
- TSNullKeyword,
148
- TSNumberKeyword,
149
- TSObjectKeyword,
150
127
  TSOptionalType,
151
- TSParenthesizedType,
152
- TSPropertySignature,
153
- TSQualifiedName,
154
128
  TSRestType,
155
- TSSatisfiesExpression,
129
+ TSAnyKeyword,
156
130
  TSStringKeyword,
131
+ TSBooleanKeyword,
132
+ TSNumberKeyword,
133
+ TSNeverKeyword,
134
+ TSIntrinsicKeyword,
135
+ TSUnknownKeyword,
136
+ TSNullKeyword,
137
+ TSUndefinedKeyword,
138
+ TSVoidKeyword,
157
139
  TSSymbolKeyword,
158
- TSTemplateLiteralType,
159
140
  TSThisType,
160
- TSTupleType,
161
- TSTypeAliasDeclaration,
162
- TSTypeAnnotation,
163
- TSTypeAssertion,
164
- TSTypeLiteral,
165
- TSTypeOperator,
141
+ TSObjectKeyword,
142
+ TSBigIntKeyword,
143
+ TSTypeReference,
144
+ TSQualifiedName,
145
+ TSTypeParameterInstantiation,
166
146
  TSTypeParameter,
167
147
  TSTypeParameterDeclaration,
168
- TSTypeParameterInstantiation,
148
+ TSTypeAliasDeclaration,
149
+ TSClassImplements,
150
+ TSInterfaceDeclaration,
151
+ TSInterfaceBody,
152
+ TSPropertySignature,
153
+ TSIndexSignature,
154
+ TSCallSignatureDeclaration,
155
+ TSMethodSignature,
156
+ TSConstructSignatureDeclaration,
157
+ TSIndexSignatureName,
158
+ TSInterfaceHeritage,
169
159
  TSTypePredicate,
160
+ TSModuleDeclaration,
161
+ TSModuleBlock,
162
+ TSTypeLiteral,
163
+ TSInferType,
170
164
  TSTypeQuery,
171
- TSTypeReference,
172
- TSUndefinedKeyword,
173
- TSUnionType,
174
- TSUnknownKeyword,
175
- TSVoidKeyword,
176
- UnaryExpression,
177
- UpdateExpression,
178
- V8IntrinsicExpression,
179
- VariableDeclaration,
180
- VariableDeclarator,
181
- WhileStatement,
182
- WithStatement,
183
- YieldExpression,
165
+ TSImportType,
166
+ TSImportTypeQualifiedName,
167
+ TSFunctionType,
168
+ TSConstructorType,
169
+ TSMappedType,
170
+ TSTemplateLiteralType,
171
+ TSAsExpression,
172
+ TSSatisfiesExpression,
173
+ TSTypeAssertion,
174
+ TSImportEqualsDeclaration,
175
+ TSExternalModuleReference,
176
+ TSNonNullExpression,
177
+ Decorator,
178
+ TSExportAssignment,
179
+ TSNamespaceExportDeclaration,
180
+ TSInstantiationExpression,
181
+ JSDocNullableType,
182
+ JSDocNonNullableType,
183
+ JSDocUnknownType,
184
184
  } from './constructors.js';
185
185
 
186
186
  export { walkProgram };
187
187
 
188
188
  function walkProgram(pos, ast, visitors) {
189
189
  const enterExit = visitors[38];
190
- let node, enter, exit = null;
190
+ let node,
191
+ enter,
192
+ exit = null;
191
193
  if (enterExit !== null) {
192
194
  ({ enter, exit } = enterExit);
193
195
  node = new Program(pos, ast);
@@ -363,7 +365,9 @@ function walkThisExpression(pos, ast, visitors) {
363
365
 
364
366
  function walkArrayExpression(pos, ast, visitors) {
365
367
  const enterExit = visitors[39];
366
- let node, enter, exit = null;
368
+ let node,
369
+ enter,
370
+ exit = null;
367
371
  if (enterExit !== null) {
368
372
  ({ enter, exit } = enterExit);
369
373
  node = new ArrayExpression(pos, ast);
@@ -524,7 +528,9 @@ function walkElision(pos, ast, visitors) {
524
528
 
525
529
  function walkObjectExpression(pos, ast, visitors) {
526
530
  const enterExit = visitors[40];
527
- let node, enter, exit = null;
531
+ let node,
532
+ enter,
533
+ exit = null;
528
534
  if (enterExit !== null) {
529
535
  ({ enter, exit } = enterExit);
530
536
  node = new ObjectExpression(pos, ast);
@@ -551,7 +557,9 @@ function walkObjectPropertyKind(pos, ast, visitors) {
551
557
 
552
558
  function walkObjectProperty(pos, ast, visitors) {
553
559
  const enterExit = visitors[41];
554
- let node, enter, exit = null;
560
+ let node,
561
+ enter,
562
+ exit = null;
555
563
  if (enterExit !== null) {
556
564
  ({ enter, exit } = enterExit);
557
565
  node = new ObjectProperty(pos, ast);
@@ -708,7 +716,9 @@ function walkPropertyKey(pos, ast, visitors) {
708
716
 
709
717
  function walkTemplateLiteral(pos, ast, visitors) {
710
718
  const enterExit = visitors[42];
711
- let node, enter, exit = null;
719
+ let node,
720
+ enter,
721
+ exit = null;
712
722
  if (enterExit !== null) {
713
723
  ({ enter, exit } = enterExit);
714
724
  node = new TemplateLiteral(pos, ast);
@@ -723,7 +733,9 @@ function walkTemplateLiteral(pos, ast, visitors) {
723
733
 
724
734
  function walkTaggedTemplateExpression(pos, ast, visitors) {
725
735
  const enterExit = visitors[43];
726
- let node, enter, exit = null;
736
+ let node,
737
+ enter,
738
+ exit = null;
727
739
  if (enterExit !== null) {
728
740
  ({ enter, exit } = enterExit);
729
741
  node = new TaggedTemplateExpression(pos, ast);
@@ -744,7 +756,9 @@ function walkTemplateElement(pos, ast, visitors) {
744
756
 
745
757
  function walkComputedMemberExpression(pos, ast, visitors) {
746
758
  const enterExit = visitors[44];
747
- let node, enter, exit = null;
759
+ let node,
760
+ enter,
761
+ exit = null;
748
762
  if (enterExit !== null) {
749
763
  ({ enter, exit } = enterExit);
750
764
  node = new ComputedMemberExpression(pos, ast);
@@ -759,7 +773,9 @@ function walkComputedMemberExpression(pos, ast, visitors) {
759
773
 
760
774
  function walkStaticMemberExpression(pos, ast, visitors) {
761
775
  const enterExit = visitors[45];
762
- let node, enter, exit = null;
776
+ let node,
777
+ enter,
778
+ exit = null;
763
779
  if (enterExit !== null) {
764
780
  ({ enter, exit } = enterExit);
765
781
  node = new StaticMemberExpression(pos, ast);
@@ -774,7 +790,9 @@ function walkStaticMemberExpression(pos, ast, visitors) {
774
790
 
775
791
  function walkPrivateFieldExpression(pos, ast, visitors) {
776
792
  const enterExit = visitors[46];
777
- let node, enter, exit = null;
793
+ let node,
794
+ enter,
795
+ exit = null;
778
796
  if (enterExit !== null) {
779
797
  ({ enter, exit } = enterExit);
780
798
  node = new PrivateFieldExpression(pos, ast);
@@ -789,7 +807,9 @@ function walkPrivateFieldExpression(pos, ast, visitors) {
789
807
 
790
808
  function walkCallExpression(pos, ast, visitors) {
791
809
  const enterExit = visitors[47];
792
- let node, enter, exit = null;
810
+ let node,
811
+ enter,
812
+ exit = null;
793
813
  if (enterExit !== null) {
794
814
  ({ enter, exit } = enterExit);
795
815
  node = new CallExpression(pos, ast);
@@ -805,7 +825,9 @@ function walkCallExpression(pos, ast, visitors) {
805
825
 
806
826
  function walkNewExpression(pos, ast, visitors) {
807
827
  const enterExit = visitors[48];
808
- let node, enter, exit = null;
828
+ let node,
829
+ enter,
830
+ exit = null;
809
831
  if (enterExit !== null) {
810
832
  ({ enter, exit } = enterExit);
811
833
  node = new NewExpression(pos, ast);
@@ -821,7 +843,9 @@ function walkNewExpression(pos, ast, visitors) {
821
843
 
822
844
  function walkMetaProperty(pos, ast, visitors) {
823
845
  const enterExit = visitors[49];
824
- let node, enter, exit = null;
846
+ let node,
847
+ enter,
848
+ exit = null;
825
849
  if (enterExit !== null) {
826
850
  ({ enter, exit } = enterExit);
827
851
  node = new MetaProperty(pos, ast);
@@ -836,7 +860,9 @@ function walkMetaProperty(pos, ast, visitors) {
836
860
 
837
861
  function walkSpreadElement(pos, ast, visitors) {
838
862
  const enterExit = visitors[50];
839
- let node, enter, exit = null;
863
+ let node,
864
+ enter,
865
+ exit = null;
840
866
  if (enterExit !== null) {
841
867
  ({ enter, exit } = enterExit);
842
868
  node = new SpreadElement(pos, ast);
@@ -989,7 +1015,9 @@ function walkArgument(pos, ast, visitors) {
989
1015
 
990
1016
  function walkUpdateExpression(pos, ast, visitors) {
991
1017
  const enterExit = visitors[51];
992
- let node, enter, exit = null;
1018
+ let node,
1019
+ enter,
1020
+ exit = null;
993
1021
  if (enterExit !== null) {
994
1022
  ({ enter, exit } = enterExit);
995
1023
  node = new UpdateExpression(pos, ast);
@@ -1003,7 +1031,9 @@ function walkUpdateExpression(pos, ast, visitors) {
1003
1031
 
1004
1032
  function walkUnaryExpression(pos, ast, visitors) {
1005
1033
  const enterExit = visitors[52];
1006
- let node, enter, exit = null;
1034
+ let node,
1035
+ enter,
1036
+ exit = null;
1007
1037
  if (enterExit !== null) {
1008
1038
  ({ enter, exit } = enterExit);
1009
1039
  node = new UnaryExpression(pos, ast);
@@ -1017,7 +1047,9 @@ function walkUnaryExpression(pos, ast, visitors) {
1017
1047
 
1018
1048
  function walkBinaryExpression(pos, ast, visitors) {
1019
1049
  const enterExit = visitors[53];
1020
- let node, enter, exit = null;
1050
+ let node,
1051
+ enter,
1052
+ exit = null;
1021
1053
  if (enterExit !== null) {
1022
1054
  ({ enter, exit } = enterExit);
1023
1055
  node = new BinaryExpression(pos, ast);
@@ -1032,7 +1064,9 @@ function walkBinaryExpression(pos, ast, visitors) {
1032
1064
 
1033
1065
  function walkPrivateInExpression(pos, ast, visitors) {
1034
1066
  const enterExit = visitors[54];
1035
- let node, enter, exit = null;
1067
+ let node,
1068
+ enter,
1069
+ exit = null;
1036
1070
  if (enterExit !== null) {
1037
1071
  ({ enter, exit } = enterExit);
1038
1072
  node = new PrivateInExpression(pos, ast);
@@ -1047,7 +1081,9 @@ function walkPrivateInExpression(pos, ast, visitors) {
1047
1081
 
1048
1082
  function walkLogicalExpression(pos, ast, visitors) {
1049
1083
  const enterExit = visitors[55];
1050
- let node, enter, exit = null;
1084
+ let node,
1085
+ enter,
1086
+ exit = null;
1051
1087
  if (enterExit !== null) {
1052
1088
  ({ enter, exit } = enterExit);
1053
1089
  node = new LogicalExpression(pos, ast);
@@ -1062,7 +1098,9 @@ function walkLogicalExpression(pos, ast, visitors) {
1062
1098
 
1063
1099
  function walkConditionalExpression(pos, ast, visitors) {
1064
1100
  const enterExit = visitors[56];
1065
- let node, enter, exit = null;
1101
+ let node,
1102
+ enter,
1103
+ exit = null;
1066
1104
  if (enterExit !== null) {
1067
1105
  ({ enter, exit } = enterExit);
1068
1106
  node = new ConditionalExpression(pos, ast);
@@ -1078,7 +1116,9 @@ function walkConditionalExpression(pos, ast, visitors) {
1078
1116
 
1079
1117
  function walkAssignmentExpression(pos, ast, visitors) {
1080
1118
  const enterExit = visitors[57];
1081
- let node, enter, exit = null;
1119
+ let node,
1120
+ enter,
1121
+ exit = null;
1082
1122
  if (enterExit !== null) {
1083
1123
  ({ enter, exit } = enterExit);
1084
1124
  node = new AssignmentExpression(pos, ast);
@@ -1161,7 +1201,9 @@ function walkSimpleAssignmentTarget(pos, ast, visitors) {
1161
1201
 
1162
1202
  function walkArrayAssignmentTarget(pos, ast, visitors) {
1163
1203
  const enterExit = visitors[58];
1164
- let node, enter, exit = null;
1204
+ let node,
1205
+ enter,
1206
+ exit = null;
1165
1207
  if (enterExit !== null) {
1166
1208
  ({ enter, exit } = enterExit);
1167
1209
  node = new ArrayAssignmentTarget(pos, ast);
@@ -1175,7 +1217,9 @@ function walkArrayAssignmentTarget(pos, ast, visitors) {
1175
1217
 
1176
1218
  function walkObjectAssignmentTarget(pos, ast, visitors) {
1177
1219
  const enterExit = visitors[59];
1178
- let node, enter, exit = null;
1220
+ let node,
1221
+ enter,
1222
+ exit = null;
1179
1223
  if (enterExit !== null) {
1180
1224
  ({ enter, exit } = enterExit);
1181
1225
  node = new ObjectAssignmentTarget(pos, ast);
@@ -1229,7 +1273,9 @@ function walkAssignmentTargetMaybeDefault(pos, ast, visitors) {
1229
1273
 
1230
1274
  function walkAssignmentTargetWithDefault(pos, ast, visitors) {
1231
1275
  const enterExit = visitors[60];
1232
- let node, enter, exit = null;
1276
+ let node,
1277
+ enter,
1278
+ exit = null;
1233
1279
  if (enterExit !== null) {
1234
1280
  ({ enter, exit } = enterExit);
1235
1281
  node = new AssignmentTargetWithDefault(pos, ast);
@@ -1257,7 +1303,9 @@ function walkAssignmentTargetProperty(pos, ast, visitors) {
1257
1303
 
1258
1304
  function walkAssignmentTargetPropertyIdentifier(pos, ast, visitors) {
1259
1305
  const enterExit = visitors[61];
1260
- let node, enter, exit = null;
1306
+ let node,
1307
+ enter,
1308
+ exit = null;
1261
1309
  if (enterExit !== null) {
1262
1310
  ({ enter, exit } = enterExit);
1263
1311
  node = new AssignmentTargetPropertyIdentifier(pos, ast);
@@ -1272,7 +1320,9 @@ function walkAssignmentTargetPropertyIdentifier(pos, ast, visitors) {
1272
1320
 
1273
1321
  function walkAssignmentTargetPropertyProperty(pos, ast, visitors) {
1274
1322
  const enterExit = visitors[62];
1275
- let node, enter, exit = null;
1323
+ let node,
1324
+ enter,
1325
+ exit = null;
1276
1326
  if (enterExit !== null) {
1277
1327
  ({ enter, exit } = enterExit);
1278
1328
  node = new AssignmentTargetPropertyProperty(pos, ast);
@@ -1287,7 +1337,9 @@ function walkAssignmentTargetPropertyProperty(pos, ast, visitors) {
1287
1337
 
1288
1338
  function walkSequenceExpression(pos, ast, visitors) {
1289
1339
  const enterExit = visitors[63];
1290
- let node, enter, exit = null;
1340
+ let node,
1341
+ enter,
1342
+ exit = null;
1291
1343
  if (enterExit !== null) {
1292
1344
  ({ enter, exit } = enterExit);
1293
1345
  node = new SequenceExpression(pos, ast);
@@ -1306,7 +1358,9 @@ function walkSuper(pos, ast, visitors) {
1306
1358
 
1307
1359
  function walkAwaitExpression(pos, ast, visitors) {
1308
1360
  const enterExit = visitors[64];
1309
- let node, enter, exit = null;
1361
+ let node,
1362
+ enter,
1363
+ exit = null;
1310
1364
  if (enterExit !== null) {
1311
1365
  ({ enter, exit } = enterExit);
1312
1366
  node = new AwaitExpression(pos, ast);
@@ -1320,7 +1374,9 @@ function walkAwaitExpression(pos, ast, visitors) {
1320
1374
 
1321
1375
  function walkChainExpression(pos, ast, visitors) {
1322
1376
  const enterExit = visitors[65];
1323
- let node, enter, exit = null;
1377
+ let node,
1378
+ enter,
1379
+ exit = null;
1324
1380
  if (enterExit !== null) {
1325
1381
  ({ enter, exit } = enterExit);
1326
1382
  node = new ChainExpression(pos, ast);
@@ -1356,7 +1412,9 @@ function walkChainElement(pos, ast, visitors) {
1356
1412
 
1357
1413
  function walkParenthesizedExpression(pos, ast, visitors) {
1358
1414
  const enterExit = visitors[66];
1359
- let node, enter, exit = null;
1415
+ let node,
1416
+ enter,
1417
+ exit = null;
1360
1418
  if (enterExit !== null) {
1361
1419
  ({ enter, exit } = enterExit);
1362
1420
  node = new ParenthesizedExpression(pos, ast);
@@ -1478,7 +1536,9 @@ function walkHashbang(pos, ast, visitors) {
1478
1536
 
1479
1537
  function walkBlockStatement(pos, ast, visitors) {
1480
1538
  const enterExit = visitors[67];
1481
- let node, enter, exit = null;
1539
+ let node,
1540
+ enter,
1541
+ exit = null;
1482
1542
  if (enterExit !== null) {
1483
1543
  ({ enter, exit } = enterExit);
1484
1544
  node = new BlockStatement(pos, ast);
@@ -1523,7 +1583,9 @@ function walkDeclaration(pos, ast, visitors) {
1523
1583
 
1524
1584
  function walkVariableDeclaration(pos, ast, visitors) {
1525
1585
  const enterExit = visitors[68];
1526
- let node, enter, exit = null;
1586
+ let node,
1587
+ enter,
1588
+ exit = null;
1527
1589
  if (enterExit !== null) {
1528
1590
  ({ enter, exit } = enterExit);
1529
1591
  node = new VariableDeclaration(pos, ast);
@@ -1537,7 +1599,9 @@ function walkVariableDeclaration(pos, ast, visitors) {
1537
1599
 
1538
1600
  function walkVariableDeclarator(pos, ast, visitors) {
1539
1601
  const enterExit = visitors[69];
1540
- let node, enter, exit = null;
1602
+ let node,
1603
+ enter,
1604
+ exit = null;
1541
1605
  if (enterExit !== null) {
1542
1606
  ({ enter, exit } = enterExit);
1543
1607
  node = new VariableDeclarator(pos, ast);
@@ -1557,7 +1621,9 @@ function walkEmptyStatement(pos, ast, visitors) {
1557
1621
 
1558
1622
  function walkExpressionStatement(pos, ast, visitors) {
1559
1623
  const enterExit = visitors[70];
1560
- let node, enter, exit = null;
1624
+ let node,
1625
+ enter,
1626
+ exit = null;
1561
1627
  if (enterExit !== null) {
1562
1628
  ({ enter, exit } = enterExit);
1563
1629
  node = new ExpressionStatement(pos, ast);
@@ -1571,7 +1637,9 @@ function walkExpressionStatement(pos, ast, visitors) {
1571
1637
 
1572
1638
  function walkIfStatement(pos, ast, visitors) {
1573
1639
  const enterExit = visitors[71];
1574
- let node, enter, exit = null;
1640
+ let node,
1641
+ enter,
1642
+ exit = null;
1575
1643
  if (enterExit !== null) {
1576
1644
  ({ enter, exit } = enterExit);
1577
1645
  node = new IfStatement(pos, ast);
@@ -1587,7 +1655,9 @@ function walkIfStatement(pos, ast, visitors) {
1587
1655
 
1588
1656
  function walkDoWhileStatement(pos, ast, visitors) {
1589
1657
  const enterExit = visitors[72];
1590
- let node, enter, exit = null;
1658
+ let node,
1659
+ enter,
1660
+ exit = null;
1591
1661
  if (enterExit !== null) {
1592
1662
  ({ enter, exit } = enterExit);
1593
1663
  node = new DoWhileStatement(pos, ast);
@@ -1602,7 +1672,9 @@ function walkDoWhileStatement(pos, ast, visitors) {
1602
1672
 
1603
1673
  function walkWhileStatement(pos, ast, visitors) {
1604
1674
  const enterExit = visitors[73];
1605
- let node, enter, exit = null;
1675
+ let node,
1676
+ enter,
1677
+ exit = null;
1606
1678
  if (enterExit !== null) {
1607
1679
  ({ enter, exit } = enterExit);
1608
1680
  node = new WhileStatement(pos, ast);
@@ -1617,7 +1689,9 @@ function walkWhileStatement(pos, ast, visitors) {
1617
1689
 
1618
1690
  function walkForStatement(pos, ast, visitors) {
1619
1691
  const enterExit = visitors[74];
1620
- let node, enter, exit = null;
1692
+ let node,
1693
+ enter,
1694
+ exit = null;
1621
1695
  if (enterExit !== null) {
1622
1696
  ({ enter, exit } = enterExit);
1623
1697
  node = new ForStatement(pos, ast);
@@ -1773,7 +1847,9 @@ function walkForStatementInit(pos, ast, visitors) {
1773
1847
 
1774
1848
  function walkForInStatement(pos, ast, visitors) {
1775
1849
  const enterExit = visitors[75];
1776
- let node, enter, exit = null;
1850
+ let node,
1851
+ enter,
1852
+ exit = null;
1777
1853
  if (enterExit !== null) {
1778
1854
  ({ enter, exit } = enterExit);
1779
1855
  node = new ForInStatement(pos, ast);
@@ -1829,7 +1905,9 @@ function walkForStatementLeft(pos, ast, visitors) {
1829
1905
 
1830
1906
  function walkForOfStatement(pos, ast, visitors) {
1831
1907
  const enterExit = visitors[76];
1832
- let node, enter, exit = null;
1908
+ let node,
1909
+ enter,
1910
+ exit = null;
1833
1911
  if (enterExit !== null) {
1834
1912
  ({ enter, exit } = enterExit);
1835
1913
  node = new ForOfStatement(pos, ast);
@@ -1845,7 +1923,9 @@ function walkForOfStatement(pos, ast, visitors) {
1845
1923
 
1846
1924
  function walkContinueStatement(pos, ast, visitors) {
1847
1925
  const enterExit = visitors[77];
1848
- let node, enter, exit = null;
1926
+ let node,
1927
+ enter,
1928
+ exit = null;
1849
1929
  if (enterExit !== null) {
1850
1930
  ({ enter, exit } = enterExit);
1851
1931
  node = new ContinueStatement(pos, ast);
@@ -1859,7 +1939,9 @@ function walkContinueStatement(pos, ast, visitors) {
1859
1939
 
1860
1940
  function walkBreakStatement(pos, ast, visitors) {
1861
1941
  const enterExit = visitors[78];
1862
- let node, enter, exit = null;
1942
+ let node,
1943
+ enter,
1944
+ exit = null;
1863
1945
  if (enterExit !== null) {
1864
1946
  ({ enter, exit } = enterExit);
1865
1947
  node = new BreakStatement(pos, ast);
@@ -1873,7 +1955,9 @@ function walkBreakStatement(pos, ast, visitors) {
1873
1955
 
1874
1956
  function walkReturnStatement(pos, ast, visitors) {
1875
1957
  const enterExit = visitors[79];
1876
- let node, enter, exit = null;
1958
+ let node,
1959
+ enter,
1960
+ exit = null;
1877
1961
  if (enterExit !== null) {
1878
1962
  ({ enter, exit } = enterExit);
1879
1963
  node = new ReturnStatement(pos, ast);
@@ -1887,7 +1971,9 @@ function walkReturnStatement(pos, ast, visitors) {
1887
1971
 
1888
1972
  function walkWithStatement(pos, ast, visitors) {
1889
1973
  const enterExit = visitors[80];
1890
- let node, enter, exit = null;
1974
+ let node,
1975
+ enter,
1976
+ exit = null;
1891
1977
  if (enterExit !== null) {
1892
1978
  ({ enter, exit } = enterExit);
1893
1979
  node = new WithStatement(pos, ast);
@@ -1902,7 +1988,9 @@ function walkWithStatement(pos, ast, visitors) {
1902
1988
 
1903
1989
  function walkSwitchStatement(pos, ast, visitors) {
1904
1990
  const enterExit = visitors[81];
1905
- let node, enter, exit = null;
1991
+ let node,
1992
+ enter,
1993
+ exit = null;
1906
1994
  if (enterExit !== null) {
1907
1995
  ({ enter, exit } = enterExit);
1908
1996
  node = new SwitchStatement(pos, ast);
@@ -1917,7 +2005,9 @@ function walkSwitchStatement(pos, ast, visitors) {
1917
2005
 
1918
2006
  function walkSwitchCase(pos, ast, visitors) {
1919
2007
  const enterExit = visitors[82];
1920
- let node, enter, exit = null;
2008
+ let node,
2009
+ enter,
2010
+ exit = null;
1921
2011
  if (enterExit !== null) {
1922
2012
  ({ enter, exit } = enterExit);
1923
2013
  node = new SwitchCase(pos, ast);
@@ -1932,7 +2022,9 @@ function walkSwitchCase(pos, ast, visitors) {
1932
2022
 
1933
2023
  function walkLabeledStatement(pos, ast, visitors) {
1934
2024
  const enterExit = visitors[83];
1935
- let node, enter, exit = null;
2025
+ let node,
2026
+ enter,
2027
+ exit = null;
1936
2028
  if (enterExit !== null) {
1937
2029
  ({ enter, exit } = enterExit);
1938
2030
  node = new LabeledStatement(pos, ast);
@@ -1947,7 +2039,9 @@ function walkLabeledStatement(pos, ast, visitors) {
1947
2039
 
1948
2040
  function walkThrowStatement(pos, ast, visitors) {
1949
2041
  const enterExit = visitors[84];
1950
- let node, enter, exit = null;
2042
+ let node,
2043
+ enter,
2044
+ exit = null;
1951
2045
  if (enterExit !== null) {
1952
2046
  ({ enter, exit } = enterExit);
1953
2047
  node = new ThrowStatement(pos, ast);
@@ -1961,7 +2055,9 @@ function walkThrowStatement(pos, ast, visitors) {
1961
2055
 
1962
2056
  function walkTryStatement(pos, ast, visitors) {
1963
2057
  const enterExit = visitors[85];
1964
- let node, enter, exit = null;
2058
+ let node,
2059
+ enter,
2060
+ exit = null;
1965
2061
  if (enterExit !== null) {
1966
2062
  ({ enter, exit } = enterExit);
1967
2063
  node = new TryStatement(pos, ast);
@@ -1977,7 +2073,9 @@ function walkTryStatement(pos, ast, visitors) {
1977
2073
 
1978
2074
  function walkCatchClause(pos, ast, visitors) {
1979
2075
  const enterExit = visitors[86];
1980
- let node, enter, exit = null;
2076
+ let node,
2077
+ enter,
2078
+ exit = null;
1981
2079
  if (enterExit !== null) {
1982
2080
  ({ enter, exit } = enterExit);
1983
2081
  node = new CatchClause(pos, ast);
@@ -2025,7 +2123,9 @@ function walkBindingPatternKind(pos, ast, visitors) {
2025
2123
 
2026
2124
  function walkAssignmentPattern(pos, ast, visitors) {
2027
2125
  const enterExit = visitors[87];
2028
- let node, enter, exit = null;
2126
+ let node,
2127
+ enter,
2128
+ exit = null;
2029
2129
  if (enterExit !== null) {
2030
2130
  ({ enter, exit } = enterExit);
2031
2131
  node = new AssignmentPattern(pos, ast);
@@ -2040,7 +2140,9 @@ function walkAssignmentPattern(pos, ast, visitors) {
2040
2140
 
2041
2141
  function walkObjectPattern(pos, ast, visitors) {
2042
2142
  const enterExit = visitors[88];
2043
- let node, enter, exit = null;
2143
+ let node,
2144
+ enter,
2145
+ exit = null;
2044
2146
  if (enterExit !== null) {
2045
2147
  ({ enter, exit } = enterExit);
2046
2148
  node = new ObjectPattern(pos, ast);
@@ -2054,7 +2156,9 @@ function walkObjectPattern(pos, ast, visitors) {
2054
2156
 
2055
2157
  function walkBindingProperty(pos, ast, visitors) {
2056
2158
  const enterExit = visitors[89];
2057
- let node, enter, exit = null;
2159
+ let node,
2160
+ enter,
2161
+ exit = null;
2058
2162
  if (enterExit !== null) {
2059
2163
  ({ enter, exit } = enterExit);
2060
2164
  node = new BindingProperty(pos, ast);
@@ -2069,7 +2173,9 @@ function walkBindingProperty(pos, ast, visitors) {
2069
2173
 
2070
2174
  function walkArrayPattern(pos, ast, visitors) {
2071
2175
  const enterExit = visitors[90];
2072
- let node, enter, exit = null;
2176
+ let node,
2177
+ enter,
2178
+ exit = null;
2073
2179
  if (enterExit !== null) {
2074
2180
  ({ enter, exit } = enterExit);
2075
2181
  node = new ArrayPattern(pos, ast);
@@ -2083,7 +2189,9 @@ function walkArrayPattern(pos, ast, visitors) {
2083
2189
 
2084
2190
  function walkFunction(pos, ast, visitors) {
2085
2191
  const enterExit = visitors[91];
2086
- let node, enter, exit = null;
2192
+ let node,
2193
+ enter,
2194
+ exit = null;
2087
2195
  if (enterExit !== null) {
2088
2196
  ({ enter, exit } = enterExit);
2089
2197
  node = new Function(pos, ast);
@@ -2101,7 +2209,9 @@ function walkFunction(pos, ast, visitors) {
2101
2209
 
2102
2210
  function walkFormalParameters(pos, ast, visitors) {
2103
2211
  const enterExit = visitors[92];
2104
- let node, enter, exit = null;
2212
+ let node,
2213
+ enter,
2214
+ exit = null;
2105
2215
  if (enterExit !== null) {
2106
2216
  ({ enter, exit } = enterExit);
2107
2217
  node = new FormalParameters(pos, ast);
@@ -2120,7 +2230,9 @@ function walkFormalParameter(pos, ast, visitors) {
2120
2230
 
2121
2231
  function walkFunctionBody(pos, ast, visitors) {
2122
2232
  const enterExit = visitors[93];
2123
- let node, enter, exit = null;
2233
+ let node,
2234
+ enter,
2235
+ exit = null;
2124
2236
  if (enterExit !== null) {
2125
2237
  ({ enter, exit } = enterExit);
2126
2238
  node = new FunctionBody(pos, ast);
@@ -2134,7 +2246,9 @@ function walkFunctionBody(pos, ast, visitors) {
2134
2246
 
2135
2247
  function walkArrowFunctionExpression(pos, ast, visitors) {
2136
2248
  const enterExit = visitors[94];
2137
- let node, enter, exit = null;
2249
+ let node,
2250
+ enter,
2251
+ exit = null;
2138
2252
  if (enterExit !== null) {
2139
2253
  ({ enter, exit } = enterExit);
2140
2254
  node = new ArrowFunctionExpression(pos, ast);
@@ -2151,7 +2265,9 @@ function walkArrowFunctionExpression(pos, ast, visitors) {
2151
2265
 
2152
2266
  function walkYieldExpression(pos, ast, visitors) {
2153
2267
  const enterExit = visitors[95];
2154
- let node, enter, exit = null;
2268
+ let node,
2269
+ enter,
2270
+ exit = null;
2155
2271
  if (enterExit !== null) {
2156
2272
  ({ enter, exit } = enterExit);
2157
2273
  node = new YieldExpression(pos, ast);
@@ -2165,7 +2281,9 @@ function walkYieldExpression(pos, ast, visitors) {
2165
2281
 
2166
2282
  function walkClass(pos, ast, visitors) {
2167
2283
  const enterExit = visitors[96];
2168
- let node, enter, exit = null;
2284
+ let node,
2285
+ enter,
2286
+ exit = null;
2169
2287
  if (enterExit !== null) {
2170
2288
  ({ enter, exit } = enterExit);
2171
2289
  node = new Class(pos, ast);
@@ -2185,7 +2303,9 @@ function walkClass(pos, ast, visitors) {
2185
2303
 
2186
2304
  function walkClassBody(pos, ast, visitors) {
2187
2305
  const enterExit = visitors[97];
2188
- let node, enter, exit = null;
2306
+ let node,
2307
+ enter,
2308
+ exit = null;
2189
2309
  if (enterExit !== null) {
2190
2310
  ({ enter, exit } = enterExit);
2191
2311
  node = new ClassBody(pos, ast);
@@ -2221,7 +2341,9 @@ function walkClassElement(pos, ast, visitors) {
2221
2341
 
2222
2342
  function walkMethodDefinition(pos, ast, visitors) {
2223
2343
  const enterExit = visitors[98];
2224
- let node, enter, exit = null;
2344
+ let node,
2345
+ enter,
2346
+ exit = null;
2225
2347
  if (enterExit !== null) {
2226
2348
  ({ enter, exit } = enterExit);
2227
2349
  node = new MethodDefinition(pos, ast);
@@ -2237,7 +2359,9 @@ function walkMethodDefinition(pos, ast, visitors) {
2237
2359
 
2238
2360
  function walkPropertyDefinition(pos, ast, visitors) {
2239
2361
  const enterExit = visitors[99];
2240
- let node, enter, exit = null;
2362
+ let node,
2363
+ enter,
2364
+ exit = null;
2241
2365
  if (enterExit !== null) {
2242
2366
  ({ enter, exit } = enterExit);
2243
2367
  node = new PropertyDefinition(pos, ast);
@@ -2259,7 +2383,9 @@ function walkPrivateIdentifier(pos, ast, visitors) {
2259
2383
 
2260
2384
  function walkStaticBlock(pos, ast, visitors) {
2261
2385
  const enterExit = visitors[100];
2262
- let node, enter, exit = null;
2386
+ let node,
2387
+ enter,
2388
+ exit = null;
2263
2389
  if (enterExit !== null) {
2264
2390
  ({ enter, exit } = enterExit);
2265
2391
  node = new StaticBlock(pos, ast);
@@ -2273,7 +2399,9 @@ function walkStaticBlock(pos, ast, visitors) {
2273
2399
 
2274
2400
  function walkAccessorProperty(pos, ast, visitors) {
2275
2401
  const enterExit = visitors[101];
2276
- let node, enter, exit = null;
2402
+ let node,
2403
+ enter,
2404
+ exit = null;
2277
2405
  if (enterExit !== null) {
2278
2406
  ({ enter, exit } = enterExit);
2279
2407
  node = new AccessorProperty(pos, ast);
@@ -2290,7 +2418,9 @@ function walkAccessorProperty(pos, ast, visitors) {
2290
2418
 
2291
2419
  function walkImportExpression(pos, ast, visitors) {
2292
2420
  const enterExit = visitors[102];
2293
- let node, enter, exit = null;
2421
+ let node,
2422
+ enter,
2423
+ exit = null;
2294
2424
  if (enterExit !== null) {
2295
2425
  ({ enter, exit } = enterExit);
2296
2426
  node = new ImportExpression(pos, ast);
@@ -2305,7 +2435,9 @@ function walkImportExpression(pos, ast, visitors) {
2305
2435
 
2306
2436
  function walkImportDeclaration(pos, ast, visitors) {
2307
2437
  const enterExit = visitors[103];
2308
- let node, enter, exit = null;
2438
+ let node,
2439
+ enter,
2440
+ exit = null;
2309
2441
  if (enterExit !== null) {
2310
2442
  ({ enter, exit } = enterExit);
2311
2443
  node = new ImportDeclaration(pos, ast);
@@ -2337,7 +2469,9 @@ function walkImportDeclarationSpecifier(pos, ast, visitors) {
2337
2469
 
2338
2470
  function walkImportSpecifier(pos, ast, visitors) {
2339
2471
  const enterExit = visitors[104];
2340
- let node, enter, exit = null;
2472
+ let node,
2473
+ enter,
2474
+ exit = null;
2341
2475
  if (enterExit !== null) {
2342
2476
  ({ enter, exit } = enterExit);
2343
2477
  node = new ImportSpecifier(pos, ast);
@@ -2352,7 +2486,9 @@ function walkImportSpecifier(pos, ast, visitors) {
2352
2486
 
2353
2487
  function walkImportDefaultSpecifier(pos, ast, visitors) {
2354
2488
  const enterExit = visitors[105];
2355
- let node, enter, exit = null;
2489
+ let node,
2490
+ enter,
2491
+ exit = null;
2356
2492
  if (enterExit !== null) {
2357
2493
  ({ enter, exit } = enterExit);
2358
2494
  node = new ImportDefaultSpecifier(pos, ast);
@@ -2366,7 +2502,9 @@ function walkImportDefaultSpecifier(pos, ast, visitors) {
2366
2502
 
2367
2503
  function walkImportNamespaceSpecifier(pos, ast, visitors) {
2368
2504
  const enterExit = visitors[106];
2369
- let node, enter, exit = null;
2505
+ let node,
2506
+ enter,
2507
+ exit = null;
2370
2508
  if (enterExit !== null) {
2371
2509
  ({ enter, exit } = enterExit);
2372
2510
  node = new ImportNamespaceSpecifier(pos, ast);
@@ -2384,7 +2522,9 @@ function walkWithClause(pos, ast, visitors) {
2384
2522
 
2385
2523
  function walkImportAttribute(pos, ast, visitors) {
2386
2524
  const enterExit = visitors[107];
2387
- let node, enter, exit = null;
2525
+ let node,
2526
+ enter,
2527
+ exit = null;
2388
2528
  if (enterExit !== null) {
2389
2529
  ({ enter, exit } = enterExit);
2390
2530
  node = new ImportAttribute(pos, ast);
@@ -2412,7 +2552,9 @@ function walkImportAttributeKey(pos, ast, visitors) {
2412
2552
 
2413
2553
  function walkExportNamedDeclaration(pos, ast, visitors) {
2414
2554
  const enterExit = visitors[108];
2415
- let node, enter, exit = null;
2555
+ let node,
2556
+ enter,
2557
+ exit = null;
2416
2558
  if (enterExit !== null) {
2417
2559
  ({ enter, exit } = enterExit);
2418
2560
  node = new ExportNamedDeclaration(pos, ast);
@@ -2429,7 +2571,9 @@ function walkExportNamedDeclaration(pos, ast, visitors) {
2429
2571
 
2430
2572
  function walkExportDefaultDeclaration(pos, ast, visitors) {
2431
2573
  const enterExit = visitors[109];
2432
- let node, enter, exit = null;
2574
+ let node,
2575
+ enter,
2576
+ exit = null;
2433
2577
  if (enterExit !== null) {
2434
2578
  ({ enter, exit } = enterExit);
2435
2579
  node = new ExportDefaultDeclaration(pos, ast);
@@ -2443,7 +2587,9 @@ function walkExportDefaultDeclaration(pos, ast, visitors) {
2443
2587
 
2444
2588
  function walkExportAllDeclaration(pos, ast, visitors) {
2445
2589
  const enterExit = visitors[110];
2446
- let node, enter, exit = null;
2590
+ let node,
2591
+ enter,
2592
+ exit = null;
2447
2593
  if (enterExit !== null) {
2448
2594
  ({ enter, exit } = enterExit);
2449
2595
  node = new ExportAllDeclaration(pos, ast);
@@ -2459,7 +2605,9 @@ function walkExportAllDeclaration(pos, ast, visitors) {
2459
2605
 
2460
2606
  function walkExportSpecifier(pos, ast, visitors) {
2461
2607
  const enterExit = visitors[111];
2462
- let node, enter, exit = null;
2608
+ let node,
2609
+ enter,
2610
+ exit = null;
2463
2611
  if (enterExit !== null) {
2464
2612
  ({ enter, exit } = enterExit);
2465
2613
  node = new ExportSpecifier(pos, ast);
@@ -2635,7 +2783,9 @@ function walkModuleExportName(pos, ast, visitors) {
2635
2783
 
2636
2784
  function walkV8IntrinsicExpression(pos, ast, visitors) {
2637
2785
  const enterExit = visitors[112];
2638
- let node, enter, exit = null;
2786
+ let node,
2787
+ enter,
2788
+ exit = null;
2639
2789
  if (enterExit !== null) {
2640
2790
  ({ enter, exit } = enterExit);
2641
2791
  node = new V8IntrinsicExpression(pos, ast);
@@ -2680,7 +2830,9 @@ function walkRegExpLiteral(pos, ast, visitors) {
2680
2830
 
2681
2831
  function walkJSXElement(pos, ast, visitors) {
2682
2832
  const enterExit = visitors[113];
2683
- let node, enter, exit = null;
2833
+ let node,
2834
+ enter,
2835
+ exit = null;
2684
2836
  if (enterExit !== null) {
2685
2837
  ({ enter, exit } = enterExit);
2686
2838
  node = new JSXElement(pos, ast);
@@ -2696,7 +2848,9 @@ function walkJSXElement(pos, ast, visitors) {
2696
2848
 
2697
2849
  function walkJSXOpeningElement(pos, ast, visitors) {
2698
2850
  const enterExit = visitors[114];
2699
- let node, enter, exit = null;
2851
+ let node,
2852
+ enter,
2853
+ exit = null;
2700
2854
  if (enterExit !== null) {
2701
2855
  ({ enter, exit } = enterExit);
2702
2856
  node = new JSXOpeningElement(pos, ast);
@@ -2712,7 +2866,9 @@ function walkJSXOpeningElement(pos, ast, visitors) {
2712
2866
 
2713
2867
  function walkJSXClosingElement(pos, ast, visitors) {
2714
2868
  const enterExit = visitors[115];
2715
- let node, enter, exit = null;
2869
+ let node,
2870
+ enter,
2871
+ exit = null;
2716
2872
  if (enterExit !== null) {
2717
2873
  ({ enter, exit } = enterExit);
2718
2874
  node = new JSXClosingElement(pos, ast);
@@ -2726,7 +2882,9 @@ function walkJSXClosingElement(pos, ast, visitors) {
2726
2882
 
2727
2883
  function walkJSXFragment(pos, ast, visitors) {
2728
2884
  const enterExit = visitors[116];
2729
- let node, enter, exit = null;
2885
+ let node,
2886
+ enter,
2887
+ exit = null;
2730
2888
  if (enterExit !== null) {
2731
2889
  ({ enter, exit } = enterExit);
2732
2890
  node = new JSXFragment(pos, ast);
@@ -2774,7 +2932,9 @@ function walkJSXElementName(pos, ast, visitors) {
2774
2932
 
2775
2933
  function walkJSXNamespacedName(pos, ast, visitors) {
2776
2934
  const enterExit = visitors[117];
2777
- let node, enter, exit = null;
2935
+ let node,
2936
+ enter,
2937
+ exit = null;
2778
2938
  if (enterExit !== null) {
2779
2939
  ({ enter, exit } = enterExit);
2780
2940
  node = new JSXNamespacedName(pos, ast);
@@ -2789,7 +2949,9 @@ function walkJSXNamespacedName(pos, ast, visitors) {
2789
2949
 
2790
2950
  function walkJSXMemberExpression(pos, ast, visitors) {
2791
2951
  const enterExit = visitors[118];
2792
- let node, enter, exit = null;
2952
+ let node,
2953
+ enter,
2954
+ exit = null;
2793
2955
  if (enterExit !== null) {
2794
2956
  ({ enter, exit } = enterExit);
2795
2957
  node = new JSXMemberExpression(pos, ast);
@@ -2820,7 +2982,9 @@ function walkJSXMemberExpressionObject(pos, ast, visitors) {
2820
2982
 
2821
2983
  function walkJSXExpressionContainer(pos, ast, visitors) {
2822
2984
  const enterExit = visitors[119];
2823
- let node, enter, exit = null;
2985
+ let node,
2986
+ enter,
2987
+ exit = null;
2824
2988
  if (enterExit !== null) {
2825
2989
  ({ enter, exit } = enterExit);
2826
2990
  node = new JSXExpressionContainer(pos, ast);
@@ -2991,7 +3155,9 @@ function walkJSXAttributeItem(pos, ast, visitors) {
2991
3155
 
2992
3156
  function walkJSXAttribute(pos, ast, visitors) {
2993
3157
  const enterExit = visitors[120];
2994
- let node, enter, exit = null;
3158
+ let node,
3159
+ enter,
3160
+ exit = null;
2995
3161
  if (enterExit !== null) {
2996
3162
  ({ enter, exit } = enterExit);
2997
3163
  node = new JSXAttribute(pos, ast);
@@ -3006,7 +3172,9 @@ function walkJSXAttribute(pos, ast, visitors) {
3006
3172
 
3007
3173
  function walkJSXSpreadAttribute(pos, ast, visitors) {
3008
3174
  const enterExit = visitors[121];
3009
- let node, enter, exit = null;
3175
+ let node,
3176
+ enter,
3177
+ exit = null;
3010
3178
  if (enterExit !== null) {
3011
3179
  ({ enter, exit } = enterExit);
3012
3180
  node = new JSXSpreadAttribute(pos, ast);
@@ -3079,7 +3247,9 @@ function walkJSXChild(pos, ast, visitors) {
3079
3247
 
3080
3248
  function walkJSXSpreadChild(pos, ast, visitors) {
3081
3249
  const enterExit = visitors[122];
3082
- let node, enter, exit = null;
3250
+ let node,
3251
+ enter,
3252
+ exit = null;
3083
3253
  if (enterExit !== null) {
3084
3254
  ({ enter, exit } = enterExit);
3085
3255
  node = new JSXSpreadChild(pos, ast);
@@ -3098,7 +3268,9 @@ function walkJSXText(pos, ast, visitors) {
3098
3268
 
3099
3269
  function walkTSEnumDeclaration(pos, ast, visitors) {
3100
3270
  const enterExit = visitors[123];
3101
- let node, enter, exit = null;
3271
+ let node,
3272
+ enter,
3273
+ exit = null;
3102
3274
  if (enterExit !== null) {
3103
3275
  ({ enter, exit } = enterExit);
3104
3276
  node = new TSEnumDeclaration(pos, ast);
@@ -3113,7 +3285,9 @@ function walkTSEnumDeclaration(pos, ast, visitors) {
3113
3285
 
3114
3286
  function walkTSEnumBody(pos, ast, visitors) {
3115
3287
  const enterExit = visitors[124];
3116
- let node, enter, exit = null;
3288
+ let node,
3289
+ enter,
3290
+ exit = null;
3117
3291
  if (enterExit !== null) {
3118
3292
  ({ enter, exit } = enterExit);
3119
3293
  node = new TSEnumBody(pos, ast);
@@ -3127,7 +3301,9 @@ function walkTSEnumBody(pos, ast, visitors) {
3127
3301
 
3128
3302
  function walkTSEnumMember(pos, ast, visitors) {
3129
3303
  const enterExit = visitors[125];
3130
- let node, enter, exit = null;
3304
+ let node,
3305
+ enter,
3306
+ exit = null;
3131
3307
  if (enterExit !== null) {
3132
3308
  ({ enter, exit } = enterExit);
3133
3309
  node = new TSEnumMember(pos, ast);
@@ -3161,7 +3337,9 @@ function walkTSEnumMemberName(pos, ast, visitors) {
3161
3337
 
3162
3338
  function walkTSTypeAnnotation(pos, ast, visitors) {
3163
3339
  const enterExit = visitors[126];
3164
- let node, enter, exit = null;
3340
+ let node,
3341
+ enter,
3342
+ exit = null;
3165
3343
  if (enterExit !== null) {
3166
3344
  ({ enter, exit } = enterExit);
3167
3345
  node = new TSTypeAnnotation(pos, ast);
@@ -3175,7 +3353,9 @@ function walkTSTypeAnnotation(pos, ast, visitors) {
3175
3353
 
3176
3354
  function walkTSLiteralType(pos, ast, visitors) {
3177
3355
  const enterExit = visitors[127];
3178
- let node, enter, exit = null;
3356
+ let node,
3357
+ enter,
3358
+ exit = null;
3179
3359
  if (enterExit !== null) {
3180
3360
  ({ enter, exit } = enterExit);
3181
3361
  node = new TSLiteralType(pos, ast);
@@ -3332,7 +3512,9 @@ function walkTSType(pos, ast, visitors) {
3332
3512
 
3333
3513
  function walkTSConditionalType(pos, ast, visitors) {
3334
3514
  const enterExit = visitors[128];
3335
- let node, enter, exit = null;
3515
+ let node,
3516
+ enter,
3517
+ exit = null;
3336
3518
  if (enterExit !== null) {
3337
3519
  ({ enter, exit } = enterExit);
3338
3520
  node = new TSConditionalType(pos, ast);
@@ -3349,7 +3531,9 @@ function walkTSConditionalType(pos, ast, visitors) {
3349
3531
 
3350
3532
  function walkTSUnionType(pos, ast, visitors) {
3351
3533
  const enterExit = visitors[129];
3352
- let node, enter, exit = null;
3534
+ let node,
3535
+ enter,
3536
+ exit = null;
3353
3537
  if (enterExit !== null) {
3354
3538
  ({ enter, exit } = enterExit);
3355
3539
  node = new TSUnionType(pos, ast);
@@ -3363,7 +3547,9 @@ function walkTSUnionType(pos, ast, visitors) {
3363
3547
 
3364
3548
  function walkTSIntersectionType(pos, ast, visitors) {
3365
3549
  const enterExit = visitors[130];
3366
- let node, enter, exit = null;
3550
+ let node,
3551
+ enter,
3552
+ exit = null;
3367
3553
  if (enterExit !== null) {
3368
3554
  ({ enter, exit } = enterExit);
3369
3555
  node = new TSIntersectionType(pos, ast);
@@ -3377,7 +3563,9 @@ function walkTSIntersectionType(pos, ast, visitors) {
3377
3563
 
3378
3564
  function walkTSParenthesizedType(pos, ast, visitors) {
3379
3565
  const enterExit = visitors[131];
3380
- let node, enter, exit = null;
3566
+ let node,
3567
+ enter,
3568
+ exit = null;
3381
3569
  if (enterExit !== null) {
3382
3570
  ({ enter, exit } = enterExit);
3383
3571
  node = new TSParenthesizedType(pos, ast);
@@ -3391,7 +3579,9 @@ function walkTSParenthesizedType(pos, ast, visitors) {
3391
3579
 
3392
3580
  function walkTSTypeOperator(pos, ast, visitors) {
3393
3581
  const enterExit = visitors[132];
3394
- let node, enter, exit = null;
3582
+ let node,
3583
+ enter,
3584
+ exit = null;
3395
3585
  if (enterExit !== null) {
3396
3586
  ({ enter, exit } = enterExit);
3397
3587
  node = new TSTypeOperator(pos, ast);
@@ -3405,7 +3595,9 @@ function walkTSTypeOperator(pos, ast, visitors) {
3405
3595
 
3406
3596
  function walkTSArrayType(pos, ast, visitors) {
3407
3597
  const enterExit = visitors[133];
3408
- let node, enter, exit = null;
3598
+ let node,
3599
+ enter,
3600
+ exit = null;
3409
3601
  if (enterExit !== null) {
3410
3602
  ({ enter, exit } = enterExit);
3411
3603
  node = new TSArrayType(pos, ast);
@@ -3419,7 +3611,9 @@ function walkTSArrayType(pos, ast, visitors) {
3419
3611
 
3420
3612
  function walkTSIndexedAccessType(pos, ast, visitors) {
3421
3613
  const enterExit = visitors[134];
3422
- let node, enter, exit = null;
3614
+ let node,
3615
+ enter,
3616
+ exit = null;
3423
3617
  if (enterExit !== null) {
3424
3618
  ({ enter, exit } = enterExit);
3425
3619
  node = new TSIndexedAccessType(pos, ast);
@@ -3434,7 +3628,9 @@ function walkTSIndexedAccessType(pos, ast, visitors) {
3434
3628
 
3435
3629
  function walkTSTupleType(pos, ast, visitors) {
3436
3630
  const enterExit = visitors[135];
3437
- let node, enter, exit = null;
3631
+ let node,
3632
+ enter,
3633
+ exit = null;
3438
3634
  if (enterExit !== null) {
3439
3635
  ({ enter, exit } = enterExit);
3440
3636
  node = new TSTupleType(pos, ast);
@@ -3448,7 +3644,9 @@ function walkTSTupleType(pos, ast, visitors) {
3448
3644
 
3449
3645
  function walkTSNamedTupleMember(pos, ast, visitors) {
3450
3646
  const enterExit = visitors[136];
3451
- let node, enter, exit = null;
3647
+ let node,
3648
+ enter,
3649
+ exit = null;
3452
3650
  if (enterExit !== null) {
3453
3651
  ({ enter, exit } = enterExit);
3454
3652
  node = new TSNamedTupleMember(pos, ast);
@@ -3463,7 +3661,9 @@ function walkTSNamedTupleMember(pos, ast, visitors) {
3463
3661
 
3464
3662
  function walkTSOptionalType(pos, ast, visitors) {
3465
3663
  const enterExit = visitors[137];
3466
- let node, enter, exit = null;
3664
+ let node,
3665
+ enter,
3666
+ exit = null;
3467
3667
  if (enterExit !== null) {
3468
3668
  ({ enter, exit } = enterExit);
3469
3669
  node = new TSOptionalType(pos, ast);
@@ -3477,7 +3677,9 @@ function walkTSOptionalType(pos, ast, visitors) {
3477
3677
 
3478
3678
  function walkTSRestType(pos, ast, visitors) {
3479
3679
  const enterExit = visitors[138];
3480
- let node, enter, exit = null;
3680
+ let node,
3681
+ enter,
3682
+ exit = null;
3481
3683
  if (enterExit !== null) {
3482
3684
  ({ enter, exit } = enterExit);
3483
3685
  node = new TSRestType(pos, ast);
@@ -3685,7 +3887,9 @@ function walkTSBigIntKeyword(pos, ast, visitors) {
3685
3887
 
3686
3888
  function walkTSTypeReference(pos, ast, visitors) {
3687
3889
  const enterExit = visitors[139];
3688
- let node, enter, exit = null;
3890
+ let node,
3891
+ enter,
3892
+ exit = null;
3689
3893
  if (enterExit !== null) {
3690
3894
  ({ enter, exit } = enterExit);
3691
3895
  node = new TSTypeReference(pos, ast);
@@ -3716,7 +3920,9 @@ function walkTSTypeName(pos, ast, visitors) {
3716
3920
 
3717
3921
  function walkTSQualifiedName(pos, ast, visitors) {
3718
3922
  const enterExit = visitors[140];
3719
- let node, enter, exit = null;
3923
+ let node,
3924
+ enter,
3925
+ exit = null;
3720
3926
  if (enterExit !== null) {
3721
3927
  ({ enter, exit } = enterExit);
3722
3928
  node = new TSQualifiedName(pos, ast);
@@ -3731,7 +3937,9 @@ function walkTSQualifiedName(pos, ast, visitors) {
3731
3937
 
3732
3938
  function walkTSTypeParameterInstantiation(pos, ast, visitors) {
3733
3939
  const enterExit = visitors[141];
3734
- let node, enter, exit = null;
3940
+ let node,
3941
+ enter,
3942
+ exit = null;
3735
3943
  if (enterExit !== null) {
3736
3944
  ({ enter, exit } = enterExit);
3737
3945
  node = new TSTypeParameterInstantiation(pos, ast);
@@ -3745,7 +3953,9 @@ function walkTSTypeParameterInstantiation(pos, ast, visitors) {
3745
3953
 
3746
3954
  function walkTSTypeParameter(pos, ast, visitors) {
3747
3955
  const enterExit = visitors[142];
3748
- let node, enter, exit = null;
3956
+ let node,
3957
+ enter,
3958
+ exit = null;
3749
3959
  if (enterExit !== null) {
3750
3960
  ({ enter, exit } = enterExit);
3751
3961
  node = new TSTypeParameter(pos, ast);
@@ -3761,7 +3971,9 @@ function walkTSTypeParameter(pos, ast, visitors) {
3761
3971
 
3762
3972
  function walkTSTypeParameterDeclaration(pos, ast, visitors) {
3763
3973
  const enterExit = visitors[143];
3764
- let node, enter, exit = null;
3974
+ let node,
3975
+ enter,
3976
+ exit = null;
3765
3977
  if (enterExit !== null) {
3766
3978
  ({ enter, exit } = enterExit);
3767
3979
  node = new TSTypeParameterDeclaration(pos, ast);
@@ -3775,7 +3987,9 @@ function walkTSTypeParameterDeclaration(pos, ast, visitors) {
3775
3987
 
3776
3988
  function walkTSTypeAliasDeclaration(pos, ast, visitors) {
3777
3989
  const enterExit = visitors[144];
3778
- let node, enter, exit = null;
3990
+ let node,
3991
+ enter,
3992
+ exit = null;
3779
3993
  if (enterExit !== null) {
3780
3994
  ({ enter, exit } = enterExit);
3781
3995
  node = new TSTypeAliasDeclaration(pos, ast);
@@ -3791,7 +4005,9 @@ function walkTSTypeAliasDeclaration(pos, ast, visitors) {
3791
4005
 
3792
4006
  function walkTSClassImplements(pos, ast, visitors) {
3793
4007
  const enterExit = visitors[145];
3794
- let node, enter, exit = null;
4008
+ let node,
4009
+ enter,
4010
+ exit = null;
3795
4011
  if (enterExit !== null) {
3796
4012
  ({ enter, exit } = enterExit);
3797
4013
  node = new TSClassImplements(pos, ast);
@@ -3806,7 +4022,9 @@ function walkTSClassImplements(pos, ast, visitors) {
3806
4022
 
3807
4023
  function walkTSInterfaceDeclaration(pos, ast, visitors) {
3808
4024
  const enterExit = visitors[146];
3809
- let node, enter, exit = null;
4025
+ let node,
4026
+ enter,
4027
+ exit = null;
3810
4028
  if (enterExit !== null) {
3811
4029
  ({ enter, exit } = enterExit);
3812
4030
  node = new TSInterfaceDeclaration(pos, ast);
@@ -3823,7 +4041,9 @@ function walkTSInterfaceDeclaration(pos, ast, visitors) {
3823
4041
 
3824
4042
  function walkTSInterfaceBody(pos, ast, visitors) {
3825
4043
  const enterExit = visitors[147];
3826
- let node, enter, exit = null;
4044
+ let node,
4045
+ enter,
4046
+ exit = null;
3827
4047
  if (enterExit !== null) {
3828
4048
  ({ enter, exit } = enterExit);
3829
4049
  node = new TSInterfaceBody(pos, ast);
@@ -3837,7 +4057,9 @@ function walkTSInterfaceBody(pos, ast, visitors) {
3837
4057
 
3838
4058
  function walkTSPropertySignature(pos, ast, visitors) {
3839
4059
  const enterExit = visitors[148];
3840
- let node, enter, exit = null;
4060
+ let node,
4061
+ enter,
4062
+ exit = null;
3841
4063
  if (enterExit !== null) {
3842
4064
  ({ enter, exit } = enterExit);
3843
4065
  node = new TSPropertySignature(pos, ast);
@@ -3874,7 +4096,9 @@ function walkTSSignature(pos, ast, visitors) {
3874
4096
 
3875
4097
  function walkTSIndexSignature(pos, ast, visitors) {
3876
4098
  const enterExit = visitors[149];
3877
- let node, enter, exit = null;
4099
+ let node,
4100
+ enter,
4101
+ exit = null;
3878
4102
  if (enterExit !== null) {
3879
4103
  ({ enter, exit } = enterExit);
3880
4104
  node = new TSIndexSignature(pos, ast);
@@ -3889,7 +4113,9 @@ function walkTSIndexSignature(pos, ast, visitors) {
3889
4113
 
3890
4114
  function walkTSCallSignatureDeclaration(pos, ast, visitors) {
3891
4115
  const enterExit = visitors[150];
3892
- let node, enter, exit = null;
4116
+ let node,
4117
+ enter,
4118
+ exit = null;
3893
4119
  if (enterExit !== null) {
3894
4120
  ({ enter, exit } = enterExit);
3895
4121
  node = new TSCallSignatureDeclaration(pos, ast);
@@ -3905,7 +4131,9 @@ function walkTSCallSignatureDeclaration(pos, ast, visitors) {
3905
4131
 
3906
4132
  function walkTSMethodSignature(pos, ast, visitors) {
3907
4133
  const enterExit = visitors[151];
3908
- let node, enter, exit = null;
4134
+ let node,
4135
+ enter,
4136
+ exit = null;
3909
4137
  if (enterExit !== null) {
3910
4138
  ({ enter, exit } = enterExit);
3911
4139
  node = new TSMethodSignature(pos, ast);
@@ -3922,7 +4150,9 @@ function walkTSMethodSignature(pos, ast, visitors) {
3922
4150
 
3923
4151
  function walkTSConstructSignatureDeclaration(pos, ast, visitors) {
3924
4152
  const enterExit = visitors[152];
3925
- let node, enter, exit = null;
4153
+ let node,
4154
+ enter,
4155
+ exit = null;
3926
4156
  if (enterExit !== null) {
3927
4157
  ({ enter, exit } = enterExit);
3928
4158
  node = new TSConstructSignatureDeclaration(pos, ast);
@@ -3938,7 +4168,9 @@ function walkTSConstructSignatureDeclaration(pos, ast, visitors) {
3938
4168
 
3939
4169
  function walkTSIndexSignatureName(pos, ast, visitors) {
3940
4170
  const enterExit = visitors[153];
3941
- let node, enter, exit = null;
4171
+ let node,
4172
+ enter,
4173
+ exit = null;
3942
4174
  if (enterExit !== null) {
3943
4175
  ({ enter, exit } = enterExit);
3944
4176
  node = new TSIndexSignatureName(pos, ast);
@@ -3952,7 +4184,9 @@ function walkTSIndexSignatureName(pos, ast, visitors) {
3952
4184
 
3953
4185
  function walkTSInterfaceHeritage(pos, ast, visitors) {
3954
4186
  const enterExit = visitors[154];
3955
- let node, enter, exit = null;
4187
+ let node,
4188
+ enter,
4189
+ exit = null;
3956
4190
  if (enterExit !== null) {
3957
4191
  ({ enter, exit } = enterExit);
3958
4192
  node = new TSInterfaceHeritage(pos, ast);
@@ -3967,7 +4201,9 @@ function walkTSInterfaceHeritage(pos, ast, visitors) {
3967
4201
 
3968
4202
  function walkTSTypePredicate(pos, ast, visitors) {
3969
4203
  const enterExit = visitors[155];
3970
- let node, enter, exit = null;
4204
+ let node,
4205
+ enter,
4206
+ exit = null;
3971
4207
  if (enterExit !== null) {
3972
4208
  ({ enter, exit } = enterExit);
3973
4209
  node = new TSTypePredicate(pos, ast);
@@ -3995,7 +4231,9 @@ function walkTSTypePredicateName(pos, ast, visitors) {
3995
4231
 
3996
4232
  function walkTSModuleDeclaration(pos, ast, visitors) {
3997
4233
  const enterExit = visitors[156];
3998
- let node, enter, exit = null;
4234
+ let node,
4235
+ enter,
4236
+ exit = null;
3999
4237
  if (enterExit !== null) {
4000
4238
  ({ enter, exit } = enterExit);
4001
4239
  node = new TSModuleDeclaration(pos, ast);
@@ -4036,7 +4274,9 @@ function walkTSModuleDeclarationBody(pos, ast, visitors) {
4036
4274
 
4037
4275
  function walkTSModuleBlock(pos, ast, visitors) {
4038
4276
  const enterExit = visitors[157];
4039
- let node, enter, exit = null;
4277
+ let node,
4278
+ enter,
4279
+ exit = null;
4040
4280
  if (enterExit !== null) {
4041
4281
  ({ enter, exit } = enterExit);
4042
4282
  node = new TSModuleBlock(pos, ast);
@@ -4050,7 +4290,9 @@ function walkTSModuleBlock(pos, ast, visitors) {
4050
4290
 
4051
4291
  function walkTSTypeLiteral(pos, ast, visitors) {
4052
4292
  const enterExit = visitors[158];
4053
- let node, enter, exit = null;
4293
+ let node,
4294
+ enter,
4295
+ exit = null;
4054
4296
  if (enterExit !== null) {
4055
4297
  ({ enter, exit } = enterExit);
4056
4298
  node = new TSTypeLiteral(pos, ast);
@@ -4064,7 +4306,9 @@ function walkTSTypeLiteral(pos, ast, visitors) {
4064
4306
 
4065
4307
  function walkTSInferType(pos, ast, visitors) {
4066
4308
  const enterExit = visitors[159];
4067
- let node, enter, exit = null;
4309
+ let node,
4310
+ enter,
4311
+ exit = null;
4068
4312
  if (enterExit !== null) {
4069
4313
  ({ enter, exit } = enterExit);
4070
4314
  node = new TSInferType(pos, ast);
@@ -4078,7 +4322,9 @@ function walkTSInferType(pos, ast, visitors) {
4078
4322
 
4079
4323
  function walkTSTypeQuery(pos, ast, visitors) {
4080
4324
  const enterExit = visitors[160];
4081
- let node, enter, exit = null;
4325
+ let node,
4326
+ enter,
4327
+ exit = null;
4082
4328
  if (enterExit !== null) {
4083
4329
  ({ enter, exit } = enterExit);
4084
4330
  node = new TSTypeQuery(pos, ast);
@@ -4112,7 +4358,9 @@ function walkTSTypeQueryExprName(pos, ast, visitors) {
4112
4358
 
4113
4359
  function walkTSImportType(pos, ast, visitors) {
4114
4360
  const enterExit = visitors[161];
4115
- let node, enter, exit = null;
4361
+ let node,
4362
+ enter,
4363
+ exit = null;
4116
4364
  if (enterExit !== null) {
4117
4365
  ({ enter, exit } = enterExit);
4118
4366
  node = new TSImportType(pos, ast);
@@ -4142,7 +4390,9 @@ function walkTSImportTypeQualifier(pos, ast, visitors) {
4142
4390
 
4143
4391
  function walkTSImportTypeQualifiedName(pos, ast, visitors) {
4144
4392
  const enterExit = visitors[162];
4145
- let node, enter, exit = null;
4393
+ let node,
4394
+ enter,
4395
+ exit = null;
4146
4396
  if (enterExit !== null) {
4147
4397
  ({ enter, exit } = enterExit);
4148
4398
  node = new TSImportTypeQualifiedName(pos, ast);
@@ -4157,7 +4407,9 @@ function walkTSImportTypeQualifiedName(pos, ast, visitors) {
4157
4407
 
4158
4408
  function walkTSFunctionType(pos, ast, visitors) {
4159
4409
  const enterExit = visitors[163];
4160
- let node, enter, exit = null;
4410
+ let node,
4411
+ enter,
4412
+ exit = null;
4161
4413
  if (enterExit !== null) {
4162
4414
  ({ enter, exit } = enterExit);
4163
4415
  node = new TSFunctionType(pos, ast);
@@ -4173,7 +4425,9 @@ function walkTSFunctionType(pos, ast, visitors) {
4173
4425
 
4174
4426
  function walkTSConstructorType(pos, ast, visitors) {
4175
4427
  const enterExit = visitors[164];
4176
- let node, enter, exit = null;
4428
+ let node,
4429
+ enter,
4430
+ exit = null;
4177
4431
  if (enterExit !== null) {
4178
4432
  ({ enter, exit } = enterExit);
4179
4433
  node = new TSConstructorType(pos, ast);
@@ -4189,7 +4443,9 @@ function walkTSConstructorType(pos, ast, visitors) {
4189
4443
 
4190
4444
  function walkTSMappedType(pos, ast, visitors) {
4191
4445
  const enterExit = visitors[165];
4192
- let node, enter, exit = null;
4446
+ let node,
4447
+ enter,
4448
+ exit = null;
4193
4449
  if (enterExit !== null) {
4194
4450
  ({ enter, exit } = enterExit);
4195
4451
  node = new TSMappedType(pos, ast);
@@ -4204,7 +4460,9 @@ function walkTSMappedType(pos, ast, visitors) {
4204
4460
 
4205
4461
  function walkTSTemplateLiteralType(pos, ast, visitors) {
4206
4462
  const enterExit = visitors[166];
4207
- let node, enter, exit = null;
4463
+ let node,
4464
+ enter,
4465
+ exit = null;
4208
4466
  if (enterExit !== null) {
4209
4467
  ({ enter, exit } = enterExit);
4210
4468
  node = new TSTemplateLiteralType(pos, ast);
@@ -4219,7 +4477,9 @@ function walkTSTemplateLiteralType(pos, ast, visitors) {
4219
4477
 
4220
4478
  function walkTSAsExpression(pos, ast, visitors) {
4221
4479
  const enterExit = visitors[167];
4222
- let node, enter, exit = null;
4480
+ let node,
4481
+ enter,
4482
+ exit = null;
4223
4483
  if (enterExit !== null) {
4224
4484
  ({ enter, exit } = enterExit);
4225
4485
  node = new TSAsExpression(pos, ast);
@@ -4234,7 +4494,9 @@ function walkTSAsExpression(pos, ast, visitors) {
4234
4494
 
4235
4495
  function walkTSSatisfiesExpression(pos, ast, visitors) {
4236
4496
  const enterExit = visitors[168];
4237
- let node, enter, exit = null;
4497
+ let node,
4498
+ enter,
4499
+ exit = null;
4238
4500
  if (enterExit !== null) {
4239
4501
  ({ enter, exit } = enterExit);
4240
4502
  node = new TSSatisfiesExpression(pos, ast);
@@ -4249,7 +4511,9 @@ function walkTSSatisfiesExpression(pos, ast, visitors) {
4249
4511
 
4250
4512
  function walkTSTypeAssertion(pos, ast, visitors) {
4251
4513
  const enterExit = visitors[169];
4252
- let node, enter, exit = null;
4514
+ let node,
4515
+ enter,
4516
+ exit = null;
4253
4517
  if (enterExit !== null) {
4254
4518
  ({ enter, exit } = enterExit);
4255
4519
  node = new TSTypeAssertion(pos, ast);
@@ -4264,7 +4528,9 @@ function walkTSTypeAssertion(pos, ast, visitors) {
4264
4528
 
4265
4529
  function walkTSImportEqualsDeclaration(pos, ast, visitors) {
4266
4530
  const enterExit = visitors[170];
4267
- let node, enter, exit = null;
4531
+ let node,
4532
+ enter,
4533
+ exit = null;
4268
4534
  if (enterExit !== null) {
4269
4535
  ({ enter, exit } = enterExit);
4270
4536
  node = new TSImportEqualsDeclaration(pos, ast);
@@ -4298,7 +4564,9 @@ function walkTSModuleReference(pos, ast, visitors) {
4298
4564
 
4299
4565
  function walkTSExternalModuleReference(pos, ast, visitors) {
4300
4566
  const enterExit = visitors[171];
4301
- let node, enter, exit = null;
4567
+ let node,
4568
+ enter,
4569
+ exit = null;
4302
4570
  if (enterExit !== null) {
4303
4571
  ({ enter, exit } = enterExit);
4304
4572
  node = new TSExternalModuleReference(pos, ast);
@@ -4312,7 +4580,9 @@ function walkTSExternalModuleReference(pos, ast, visitors) {
4312
4580
 
4313
4581
  function walkTSNonNullExpression(pos, ast, visitors) {
4314
4582
  const enterExit = visitors[172];
4315
- let node, enter, exit = null;
4583
+ let node,
4584
+ enter,
4585
+ exit = null;
4316
4586
  if (enterExit !== null) {
4317
4587
  ({ enter, exit } = enterExit);
4318
4588
  node = new TSNonNullExpression(pos, ast);
@@ -4326,7 +4596,9 @@ function walkTSNonNullExpression(pos, ast, visitors) {
4326
4596
 
4327
4597
  function walkDecorator(pos, ast, visitors) {
4328
4598
  const enterExit = visitors[173];
4329
- let node, enter, exit = null;
4599
+ let node,
4600
+ enter,
4601
+ exit = null;
4330
4602
  if (enterExit !== null) {
4331
4603
  ({ enter, exit } = enterExit);
4332
4604
  node = new Decorator(pos, ast);
@@ -4340,7 +4612,9 @@ function walkDecorator(pos, ast, visitors) {
4340
4612
 
4341
4613
  function walkTSExportAssignment(pos, ast, visitors) {
4342
4614
  const enterExit = visitors[174];
4343
- let node, enter, exit = null;
4615
+ let node,
4616
+ enter,
4617
+ exit = null;
4344
4618
  if (enterExit !== null) {
4345
4619
  ({ enter, exit } = enterExit);
4346
4620
  node = new TSExportAssignment(pos, ast);
@@ -4354,7 +4628,9 @@ function walkTSExportAssignment(pos, ast, visitors) {
4354
4628
 
4355
4629
  function walkTSNamespaceExportDeclaration(pos, ast, visitors) {
4356
4630
  const enterExit = visitors[175];
4357
- let node, enter, exit = null;
4631
+ let node,
4632
+ enter,
4633
+ exit = null;
4358
4634
  if (enterExit !== null) {
4359
4635
  ({ enter, exit } = enterExit);
4360
4636
  node = new TSNamespaceExportDeclaration(pos, ast);
@@ -4368,7 +4644,9 @@ function walkTSNamespaceExportDeclaration(pos, ast, visitors) {
4368
4644
 
4369
4645
  function walkTSInstantiationExpression(pos, ast, visitors) {
4370
4646
  const enterExit = visitors[176];
4371
- let node, enter, exit = null;
4647
+ let node,
4648
+ enter,
4649
+ exit = null;
4372
4650
  if (enterExit !== null) {
4373
4651
  ({ enter, exit } = enterExit);
4374
4652
  node = new TSInstantiationExpression(pos, ast);
@@ -4383,7 +4661,9 @@ function walkTSInstantiationExpression(pos, ast, visitors) {
4383
4661
 
4384
4662
  function walkJSDocNullableType(pos, ast, visitors) {
4385
4663
  const enterExit = visitors[177];
4386
- let node, enter, exit = null;
4664
+ let node,
4665
+ enter,
4666
+ exit = null;
4387
4667
  if (enterExit !== null) {
4388
4668
  ({ enter, exit } = enterExit);
4389
4669
  node = new JSDocNullableType(pos, ast);
@@ -4397,7 +4677,9 @@ function walkJSDocNullableType(pos, ast, visitors) {
4397
4677
 
4398
4678
  function walkJSDocNonNullableType(pos, ast, visitors) {
4399
4679
  const enterExit = visitors[178];
4400
- let node, enter, exit = null;
4680
+ let node,
4681
+ enter,
4682
+ exit = null;
4401
4683
  if (enterExit !== null) {
4402
4684
  ({ enter, exit } = enterExit);
4403
4685
  node = new JSDocNonNullableType(pos, ast);
@@ -4415,9 +4697,8 @@ function walkJSDocUnknownType(pos, ast, visitors) {
4415
4697
  }
4416
4698
 
4417
4699
  function walkOptionHashbang(pos, ast, visitors) {
4418
- if (!(ast.buffer.uint32[(pos + 8) >> 2] === 0 && ast.buffer.uint32[(pos + 12) >> 2] === 0)) {
4700
+ if (!(ast.buffer.uint32[(pos + 8) >> 2] === 0 && ast.buffer.uint32[(pos + 12) >> 2] === 0))
4419
4701
  walkHashbang(pos, ast, visitors);
4420
- }
4421
4702
  }
4422
4703
 
4423
4704
  function walkVecStatement(pos, ast, visitors) {
@@ -4656,9 +4937,8 @@ function walkBoxTSTypeParameterInstantiation(pos, ast, visitors) {
4656
4937
  }
4657
4938
 
4658
4939
  function walkOptionBoxTSTypeParameterInstantiation(pos, ast, visitors) {
4659
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
4940
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
4660
4941
  walkBoxTSTypeParameterInstantiation(pos, ast, visitors);
4661
- }
4662
4942
  }
4663
4943
 
4664
4944
  function walkBoxComputedMemberExpression(pos, ast, visitors) {
@@ -4850,9 +5130,8 @@ function walkOptionForStatementInit(pos, ast, visitors) {
4850
5130
  }
4851
5131
 
4852
5132
  function walkOptionLabelIdentifier(pos, ast, visitors) {
4853
- if (!(ast.buffer.uint32[(pos + 8) >> 2] === 0 && ast.buffer.uint32[(pos + 12) >> 2] === 0)) {
5133
+ if (!(ast.buffer.uint32[(pos + 8) >> 2] === 0 && ast.buffer.uint32[(pos + 12) >> 2] === 0))
4854
5134
  walkLabelIdentifier(pos, ast, visitors);
4855
- }
4856
5135
  }
4857
5136
 
4858
5137
  function walkVecSwitchCase(pos, ast, visitors) {
@@ -4871,15 +5150,13 @@ function walkBoxCatchClause(pos, ast, visitors) {
4871
5150
  }
4872
5151
 
4873
5152
  function walkOptionBoxCatchClause(pos, ast, visitors) {
4874
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5153
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
4875
5154
  walkBoxCatchClause(pos, ast, visitors);
4876
- }
4877
5155
  }
4878
5156
 
4879
5157
  function walkOptionBoxBlockStatement(pos, ast, visitors) {
4880
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5158
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
4881
5159
  walkBoxBlockStatement(pos, ast, visitors);
4882
- }
4883
5160
  }
4884
5161
 
4885
5162
  function walkOptionCatchParameter(pos, ast, visitors) {
@@ -4891,9 +5168,8 @@ function walkBoxTSTypeAnnotation(pos, ast, visitors) {
4891
5168
  }
4892
5169
 
4893
5170
  function walkOptionBoxTSTypeAnnotation(pos, ast, visitors) {
4894
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5171
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
4895
5172
  walkBoxTSTypeAnnotation(pos, ast, visitors);
4896
- }
4897
5173
  }
4898
5174
 
4899
5175
  function walkBoxBindingIdentifier(pos, ast, visitors) {
@@ -4939,9 +5215,8 @@ function walkVecOptionBindingPattern(pos, ast, visitors) {
4939
5215
  }
4940
5216
 
4941
5217
  function walkOptionBindingIdentifier(pos, ast, visitors) {
4942
- if (!(ast.buffer.uint32[(pos + 8) >> 2] === 0 && ast.buffer.uint32[(pos + 12) >> 2] === 0)) {
5218
+ if (!(ast.buffer.uint32[(pos + 8) >> 2] === 0 && ast.buffer.uint32[(pos + 12) >> 2] === 0))
4943
5219
  walkBindingIdentifier(pos, ast, visitors);
4944
- }
4945
5220
  }
4946
5221
 
4947
5222
  function walkBoxTSTypeParameterDeclaration(pos, ast, visitors) {
@@ -4949,9 +5224,8 @@ function walkBoxTSTypeParameterDeclaration(pos, ast, visitors) {
4949
5224
  }
4950
5225
 
4951
5226
  function walkOptionBoxTSTypeParameterDeclaration(pos, ast, visitors) {
4952
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5227
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
4953
5228
  walkBoxTSTypeParameterDeclaration(pos, ast, visitors);
4954
- }
4955
5229
  }
4956
5230
 
4957
5231
  function walkBoxFormalParameters(pos, ast, visitors) {
@@ -4963,9 +5237,8 @@ function walkBoxFunctionBody(pos, ast, visitors) {
4963
5237
  }
4964
5238
 
4965
5239
  function walkOptionBoxFunctionBody(pos, ast, visitors) {
4966
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5240
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
4967
5241
  walkBoxFunctionBody(pos, ast, visitors);
4968
- }
4969
5242
  }
4970
5243
 
4971
5244
  function walkVecFormalParameter(pos, ast, visitors) {
@@ -5072,9 +5345,8 @@ function walkVecImportDeclarationSpecifier(pos, ast, visitors) {
5072
5345
  }
5073
5346
 
5074
5347
  function walkOptionVecImportDeclarationSpecifier(pos, ast, visitors) {
5075
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5348
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
5076
5349
  walkVecImportDeclarationSpecifier(pos, ast, visitors);
5077
- }
5078
5350
  }
5079
5351
 
5080
5352
  function walkBoxWithClause(pos, ast, visitors) {
@@ -5082,9 +5354,8 @@ function walkBoxWithClause(pos, ast, visitors) {
5082
5354
  }
5083
5355
 
5084
5356
  function walkOptionBoxWithClause(pos, ast, visitors) {
5085
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5357
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
5086
5358
  walkBoxWithClause(pos, ast, visitors);
5087
- }
5088
5359
  }
5089
5360
 
5090
5361
  function walkBoxImportSpecifier(pos, ast, visitors) {
@@ -5153,9 +5424,8 @@ function walkBoxJSXClosingElement(pos, ast, visitors) {
5153
5424
  }
5154
5425
 
5155
5426
  function walkOptionBoxJSXClosingElement(pos, ast, visitors) {
5156
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5427
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
5157
5428
  walkBoxJSXClosingElement(pos, ast, visitors);
5158
- }
5159
5429
  }
5160
5430
 
5161
5431
  function walkVecJSXAttributeItem(pos, ast, visitors) {
@@ -5479,9 +5749,8 @@ function walkBoxTSTypeParameter(pos, ast, visitors) {
5479
5749
  }
5480
5750
 
5481
5751
  function walkOptionBoxObjectExpression(pos, ast, visitors) {
5482
- if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0)) {
5752
+ if (!(ast.buffer.uint32[pos >> 2] === 0 && ast.buffer.uint32[(pos + 4) >> 2] === 0))
5483
5753
  walkBoxObjectExpression(pos, ast, visitors);
5484
- }
5485
5754
  }
5486
5755
 
5487
5756
  function walkOptionTSImportTypeQualifier(pos, ast, visitors) {