oxc-parser 0.94.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.
- package/generated/deserialize/js.js +871 -1038
- package/generated/deserialize/js_range.js +250 -176
- package/generated/deserialize/ts.js +859 -1020
- package/generated/deserialize/ts_range.js +260 -188
- package/generated/lazy/constructors.js +119 -347
- package/generated/lazy/walk.js +581 -312
- package/generated/visit/walk.js +280 -140
- package/package.json +24 -23
- package/src-js/bindings.js +68 -50
- package/src-js/raw-transfer/common.js +2 -1
- package/src-js/raw-transfer/eager.js +1 -1
- package/src-js/raw-transfer/lazy.js +2 -3
- package/src-js/raw-transfer/node-array.js +3 -2
- package/src-js/raw-transfer/supported.js +1 -1
- package/src-js/raw-transfer/visitor.js +3 -3
- package/src-js/visit/index.js +4 -1
- package/src-js/visit/visitor.js +3 -4
- package/src-js/webcontainer-fallback.cjs +1 -3
- package/src-js/wrap.js +1 -1
- /package/generated/lazy/{types.js → type_ids.js} +0 -0
- /package/generated/visit/{types.js → type_ids.js} +0 -0
|
@@ -48,7 +48,7 @@ export class Program {
|
|
|
48
48
|
const internal = this.#internal,
|
|
49
49
|
cached = internal.$body;
|
|
50
50
|
if (cached !== void 0) return cached;
|
|
51
|
-
return internal.$body = constructVecStatement(internal.pos + 96, internal.ast);
|
|
51
|
+
return (internal.$body = constructVecStatement(internal.pos + 96, internal.ast));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
toJSON() {
|
|
@@ -191,7 +191,7 @@ export class IdentifierName {
|
|
|
191
191
|
const internal = this.#internal,
|
|
192
192
|
cached = internal.$name;
|
|
193
193
|
if (cached !== void 0) return cached;
|
|
194
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
194
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
toJSON() {
|
|
@@ -239,7 +239,7 @@ export class IdentifierReference {
|
|
|
239
239
|
const internal = this.#internal,
|
|
240
240
|
cached = internal.$name;
|
|
241
241
|
if (cached !== void 0) return cached;
|
|
242
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
242
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
toJSON() {
|
|
@@ -287,7 +287,7 @@ export class BindingIdentifier {
|
|
|
287
287
|
const internal = this.#internal,
|
|
288
288
|
cached = internal.$name;
|
|
289
289
|
if (cached !== void 0) return cached;
|
|
290
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
290
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
toJSON() {
|
|
@@ -335,7 +335,7 @@ export class LabelIdentifier {
|
|
|
335
335
|
const internal = this.#internal,
|
|
336
336
|
cached = internal.$name;
|
|
337
337
|
if (cached !== void 0) return cached;
|
|
338
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
338
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
toJSON() {
|
|
@@ -423,7 +423,7 @@ export class ArrayExpression {
|
|
|
423
423
|
const internal = this.#internal,
|
|
424
424
|
cached = internal.$elements;
|
|
425
425
|
if (cached !== void 0) return cached;
|
|
426
|
-
return internal.$elements = constructVecArrayExpressionElement(internal.pos + 8, internal.ast);
|
|
426
|
+
return (internal.$elements = constructVecArrayExpressionElement(internal.pos + 8, internal.ast));
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
toJSON() {
|
|
@@ -608,7 +608,7 @@ export class ObjectExpression {
|
|
|
608
608
|
const internal = this.#internal,
|
|
609
609
|
cached = internal.$properties;
|
|
610
610
|
if (cached !== void 0) return cached;
|
|
611
|
-
return internal.$properties = constructVecObjectPropertyKind(internal.pos + 8, internal.ast);
|
|
611
|
+
return (internal.$properties = constructVecObjectPropertyKind(internal.pos + 8, internal.ast));
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
toJSON() {
|
|
@@ -853,14 +853,14 @@ export class TemplateLiteral {
|
|
|
853
853
|
const internal = this.#internal,
|
|
854
854
|
cached = internal.$quasis;
|
|
855
855
|
if (cached !== void 0) return cached;
|
|
856
|
-
return internal.$quasis = constructVecTemplateElement(internal.pos + 8, internal.ast);
|
|
856
|
+
return (internal.$quasis = constructVecTemplateElement(internal.pos + 8, internal.ast));
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
get expressions() {
|
|
860
860
|
const internal = this.#internal,
|
|
861
861
|
cached = internal.$expressions;
|
|
862
862
|
if (cached !== void 0) return cached;
|
|
863
|
-
return internal.$expressions = constructVecExpression(internal.pos + 32, internal.ast);
|
|
863
|
+
return (internal.$expressions = constructVecExpression(internal.pos + 32, internal.ast));
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
toJSON() {
|
|
@@ -1008,14 +1008,14 @@ export class TemplateElementValue {
|
|
|
1008
1008
|
const internal = this.#internal,
|
|
1009
1009
|
cached = internal.$raw;
|
|
1010
1010
|
if (cached !== void 0) return cached;
|
|
1011
|
-
return internal.$raw = constructStr(internal.pos, internal.ast);
|
|
1011
|
+
return (internal.$raw = constructStr(internal.pos, internal.ast));
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
1014
|
get cooked() {
|
|
1015
1015
|
const internal = this.#internal,
|
|
1016
1016
|
cached = internal.$cooked;
|
|
1017
1017
|
if (cached !== void 0) return cached;
|
|
1018
|
-
return internal.$cooked = constructOptionStr(internal.pos + 16, internal.ast);
|
|
1018
|
+
return (internal.$cooked = constructOptionStr(internal.pos + 16, internal.ast));
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
1021
|
toJSON() {
|
|
@@ -1258,7 +1258,7 @@ export class CallExpression {
|
|
|
1258
1258
|
const internal = this.#internal,
|
|
1259
1259
|
cached = internal.$arguments;
|
|
1260
1260
|
if (cached !== void 0) return cached;
|
|
1261
|
-
return internal.$arguments = constructVecArgument(internal.pos + 32, internal.ast);
|
|
1261
|
+
return (internal.$arguments = constructVecArgument(internal.pos + 32, internal.ast));
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
1264
|
get optional() {
|
|
@@ -1324,7 +1324,7 @@ export class NewExpression {
|
|
|
1324
1324
|
const internal = this.#internal,
|
|
1325
1325
|
cached = internal.$arguments;
|
|
1326
1326
|
if (cached !== void 0) return cached;
|
|
1327
|
-
return internal.$arguments = constructVecArgument(internal.pos + 32, internal.ast);
|
|
1327
|
+
return (internal.$arguments = constructVecArgument(internal.pos + 32, internal.ast));
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
1330
|
toJSON() {
|
|
@@ -2022,7 +2022,7 @@ export class ArrayAssignmentTarget {
|
|
|
2022
2022
|
const internal = this.#internal,
|
|
2023
2023
|
cached = internal.$elements;
|
|
2024
2024
|
if (cached !== void 0) return cached;
|
|
2025
|
-
return internal.$elements = constructVecOptionAssignmentTargetMaybeDefault(internal.pos + 8, internal.ast);
|
|
2025
|
+
return (internal.$elements = constructVecOptionAssignmentTargetMaybeDefault(internal.pos + 8, internal.ast));
|
|
2026
2026
|
}
|
|
2027
2027
|
|
|
2028
2028
|
toJSON() {
|
|
@@ -2070,7 +2070,7 @@ export class ObjectAssignmentTarget {
|
|
|
2070
2070
|
const internal = this.#internal,
|
|
2071
2071
|
cached = internal.$properties;
|
|
2072
2072
|
if (cached !== void 0) return cached;
|
|
2073
|
-
return internal.$properties = constructVecAssignmentTargetProperty(internal.pos + 8, internal.ast);
|
|
2073
|
+
return (internal.$properties = constructVecAssignmentTargetProperty(internal.pos + 8, internal.ast));
|
|
2074
2074
|
}
|
|
2075
2075
|
|
|
2076
2076
|
toJSON() {
|
|
@@ -2366,7 +2366,7 @@ export class SequenceExpression {
|
|
|
2366
2366
|
const internal = this.#internal,
|
|
2367
2367
|
cached = internal.$expressions;
|
|
2368
2368
|
if (cached !== void 0) return cached;
|
|
2369
|
-
return internal.$expressions = constructVecExpression(internal.pos + 8, internal.ast);
|
|
2369
|
+
return (internal.$expressions = constructVecExpression(internal.pos + 8, internal.ast));
|
|
2370
2370
|
}
|
|
2371
2371
|
|
|
2372
2372
|
toJSON() {
|
|
@@ -2685,7 +2685,7 @@ export class Directive {
|
|
|
2685
2685
|
const internal = this.#internal,
|
|
2686
2686
|
cached = internal.$directive;
|
|
2687
2687
|
if (cached !== void 0) return cached;
|
|
2688
|
-
return internal.$directive = constructStr(internal.pos + 56, internal.ast);
|
|
2688
|
+
return (internal.$directive = constructStr(internal.pos + 56, internal.ast));
|
|
2689
2689
|
}
|
|
2690
2690
|
|
|
2691
2691
|
toJSON() {
|
|
@@ -2734,7 +2734,7 @@ export class Hashbang {
|
|
|
2734
2734
|
const internal = this.#internal,
|
|
2735
2735
|
cached = internal.$value;
|
|
2736
2736
|
if (cached !== void 0) return cached;
|
|
2737
|
-
return internal.$value = constructStr(internal.pos + 8, internal.ast);
|
|
2737
|
+
return (internal.$value = constructStr(internal.pos + 8, internal.ast));
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
2740
2740
|
toJSON() {
|
|
@@ -2782,7 +2782,7 @@ export class BlockStatement {
|
|
|
2782
2782
|
const internal = this.#internal,
|
|
2783
2783
|
cached = internal.$body;
|
|
2784
2784
|
if (cached !== void 0) return cached;
|
|
2785
|
-
return internal.$body = constructVecStatement(internal.pos + 8, internal.ast);
|
|
2785
|
+
return (internal.$body = constructVecStatement(internal.pos + 8, internal.ast));
|
|
2786
2786
|
}
|
|
2787
2787
|
|
|
2788
2788
|
toJSON() {
|
|
@@ -2858,7 +2858,7 @@ export class VariableDeclaration {
|
|
|
2858
2858
|
const internal = this.#internal,
|
|
2859
2859
|
cached = internal.$declarations;
|
|
2860
2860
|
if (cached !== void 0) return cached;
|
|
2861
|
-
return internal.$declarations = constructVecVariableDeclarator(internal.pos + 8, internal.ast);
|
|
2861
|
+
return (internal.$declarations = constructVecVariableDeclarator(internal.pos + 8, internal.ast));
|
|
2862
2862
|
}
|
|
2863
2863
|
|
|
2864
2864
|
get declare() {
|
|
@@ -3741,7 +3741,7 @@ export class SwitchStatement {
|
|
|
3741
3741
|
const internal = this.#internal,
|
|
3742
3742
|
cached = internal.$cases;
|
|
3743
3743
|
if (cached !== void 0) return cached;
|
|
3744
|
-
return internal.$cases = constructVecSwitchCase(internal.pos + 24, internal.ast);
|
|
3744
|
+
return (internal.$cases = constructVecSwitchCase(internal.pos + 24, internal.ast));
|
|
3745
3745
|
}
|
|
3746
3746
|
|
|
3747
3747
|
toJSON() {
|
|
@@ -3795,7 +3795,7 @@ export class SwitchCase {
|
|
|
3795
3795
|
const internal = this.#internal,
|
|
3796
3796
|
cached = internal.$consequent;
|
|
3797
3797
|
if (cached !== void 0) return cached;
|
|
3798
|
-
return internal.$consequent = constructVecStatement(internal.pos + 24, internal.ast);
|
|
3798
|
+
return (internal.$consequent = constructVecStatement(internal.pos + 24, internal.ast));
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
3801
|
toJSON() {
|
|
@@ -4235,7 +4235,7 @@ export class ObjectPattern {
|
|
|
4235
4235
|
const internal = this.#internal,
|
|
4236
4236
|
cached = internal.$properties;
|
|
4237
4237
|
if (cached !== void 0) return cached;
|
|
4238
|
-
return internal.$properties = constructVecBindingProperty(internal.pos + 8, internal.ast);
|
|
4238
|
+
return (internal.$properties = constructVecBindingProperty(internal.pos + 8, internal.ast));
|
|
4239
4239
|
}
|
|
4240
4240
|
|
|
4241
4241
|
toJSON() {
|
|
@@ -4347,7 +4347,7 @@ export class ArrayPattern {
|
|
|
4347
4347
|
const internal = this.#internal,
|
|
4348
4348
|
cached = internal.$elements;
|
|
4349
4349
|
if (cached !== void 0) return cached;
|
|
4350
|
-
return internal.$elements = constructVecOptionBindingPattern(internal.pos + 8, internal.ast);
|
|
4350
|
+
return (internal.$elements = constructVecOptionBindingPattern(internal.pos + 8, internal.ast));
|
|
4351
4351
|
}
|
|
4352
4352
|
|
|
4353
4353
|
toJSON() {
|
|
@@ -4553,7 +4553,7 @@ export class FormalParameters {
|
|
|
4553
4553
|
const internal = this.#internal,
|
|
4554
4554
|
cached = internal.$items;
|
|
4555
4555
|
if (cached !== void 0) return cached;
|
|
4556
|
-
return internal.$items = constructVecFormalParameter(internal.pos + 8, internal.ast);
|
|
4556
|
+
return (internal.$items = constructVecFormalParameter(internal.pos + 8, internal.ast));
|
|
4557
4557
|
}
|
|
4558
4558
|
|
|
4559
4559
|
toJSON() {
|
|
@@ -4591,7 +4591,7 @@ export class FormalParameter {
|
|
|
4591
4591
|
const internal = this.#internal,
|
|
4592
4592
|
cached = internal.$decorators;
|
|
4593
4593
|
if (cached !== void 0) return cached;
|
|
4594
|
-
return internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast);
|
|
4594
|
+
return (internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast));
|
|
4595
4595
|
}
|
|
4596
4596
|
|
|
4597
4597
|
get pattern() {
|
|
@@ -4657,7 +4657,7 @@ export class FunctionBody {
|
|
|
4657
4657
|
const internal = this.#internal,
|
|
4658
4658
|
cached = internal.$body;
|
|
4659
4659
|
if (cached !== void 0) return cached;
|
|
4660
|
-
return internal.$body = constructVecStatement(internal.pos + 32, internal.ast);
|
|
4660
|
+
return (internal.$body = constructVecStatement(internal.pos + 32, internal.ast));
|
|
4661
4661
|
}
|
|
4662
4662
|
|
|
4663
4663
|
toJSON() {
|
|
@@ -4837,7 +4837,7 @@ export class Class {
|
|
|
4837
4837
|
const internal = this.#internal,
|
|
4838
4838
|
cached = internal.$decorators;
|
|
4839
4839
|
if (cached !== void 0) return cached;
|
|
4840
|
-
return internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast);
|
|
4840
|
+
return (internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast));
|
|
4841
4841
|
}
|
|
4842
4842
|
|
|
4843
4843
|
get id() {
|
|
@@ -4864,7 +4864,7 @@ export class Class {
|
|
|
4864
4864
|
const internal = this.#internal,
|
|
4865
4865
|
cached = internal.$implements;
|
|
4866
4866
|
if (cached !== void 0) return cached;
|
|
4867
|
-
return internal.$implements = constructVecTSClassImplements(internal.pos + 96, internal.ast);
|
|
4867
|
+
return (internal.$implements = constructVecTSClassImplements(internal.pos + 96, internal.ast));
|
|
4868
4868
|
}
|
|
4869
4869
|
|
|
4870
4870
|
get body() {
|
|
@@ -4946,7 +4946,7 @@ export class ClassBody {
|
|
|
4946
4946
|
const internal = this.#internal,
|
|
4947
4947
|
cached = internal.$body;
|
|
4948
4948
|
if (cached !== void 0) return cached;
|
|
4949
|
-
return internal.$body = constructVecClassElement(internal.pos + 8, internal.ast);
|
|
4949
|
+
return (internal.$body = constructVecClassElement(internal.pos + 8, internal.ast));
|
|
4950
4950
|
}
|
|
4951
4951
|
|
|
4952
4952
|
toJSON() {
|
|
@@ -5015,7 +5015,7 @@ export class MethodDefinition {
|
|
|
5015
5015
|
const internal = this.#internal,
|
|
5016
5016
|
cached = internal.$decorators;
|
|
5017
5017
|
if (cached !== void 0) return cached;
|
|
5018
|
-
return internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast);
|
|
5018
|
+
return (internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast));
|
|
5019
5019
|
}
|
|
5020
5020
|
|
|
5021
5021
|
get key() {
|
|
@@ -5126,7 +5126,7 @@ export class PropertyDefinition {
|
|
|
5126
5126
|
const internal = this.#internal,
|
|
5127
5127
|
cached = internal.$decorators;
|
|
5128
5128
|
if (cached !== void 0) return cached;
|
|
5129
|
-
return internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast);
|
|
5129
|
+
return (internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast));
|
|
5130
5130
|
}
|
|
5131
5131
|
|
|
5132
5132
|
get key() {
|
|
@@ -5266,7 +5266,7 @@ export class PrivateIdentifier {
|
|
|
5266
5266
|
const internal = this.#internal,
|
|
5267
5267
|
cached = internal.$name;
|
|
5268
5268
|
if (cached !== void 0) return cached;
|
|
5269
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
5269
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
5270
5270
|
}
|
|
5271
5271
|
|
|
5272
5272
|
toJSON() {
|
|
@@ -5314,7 +5314,7 @@ export class StaticBlock {
|
|
|
5314
5314
|
const internal = this.#internal,
|
|
5315
5315
|
cached = internal.$body;
|
|
5316
5316
|
if (cached !== void 0) return cached;
|
|
5317
|
-
return internal.$body = constructVecStatement(internal.pos + 8, internal.ast);
|
|
5317
|
+
return (internal.$body = constructVecStatement(internal.pos + 8, internal.ast));
|
|
5318
5318
|
}
|
|
5319
5319
|
|
|
5320
5320
|
toJSON() {
|
|
@@ -5396,7 +5396,7 @@ export class AccessorProperty {
|
|
|
5396
5396
|
const internal = this.#internal,
|
|
5397
5397
|
cached = internal.$decorators;
|
|
5398
5398
|
if (cached !== void 0) return cached;
|
|
5399
|
-
return internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast);
|
|
5399
|
+
return (internal.$decorators = constructVecDecorator(internal.pos + 8, internal.ast));
|
|
5400
5400
|
}
|
|
5401
5401
|
|
|
5402
5402
|
get key() {
|
|
@@ -5550,7 +5550,7 @@ export class ImportDeclaration {
|
|
|
5550
5550
|
const internal = this.#internal,
|
|
5551
5551
|
cached = internal.$specifiers;
|
|
5552
5552
|
if (cached !== void 0) return cached;
|
|
5553
|
-
return internal.$specifiers = constructOptionVecImportDeclarationSpecifier(internal.pos + 8, internal.ast);
|
|
5553
|
+
return (internal.$specifiers = constructOptionVecImportDeclarationSpecifier(internal.pos + 8, internal.ast));
|
|
5554
5554
|
}
|
|
5555
5555
|
|
|
5556
5556
|
get source() {
|
|
@@ -5785,7 +5785,7 @@ export class WithClause {
|
|
|
5785
5785
|
const internal = this.#internal,
|
|
5786
5786
|
cached = internal.$attributes;
|
|
5787
5787
|
if (cached !== void 0) return cached;
|
|
5788
|
-
return internal.$attributes = constructVecImportAttribute(internal.pos + 8, internal.ast);
|
|
5788
|
+
return (internal.$attributes = constructVecImportAttribute(internal.pos + 8, internal.ast));
|
|
5789
5789
|
}
|
|
5790
5790
|
|
|
5791
5791
|
toJSON() {
|
|
@@ -5898,7 +5898,7 @@ export class ExportNamedDeclaration {
|
|
|
5898
5898
|
const internal = this.#internal,
|
|
5899
5899
|
cached = internal.$specifiers;
|
|
5900
5900
|
if (cached !== void 0) return cached;
|
|
5901
|
-
return internal.$specifiers = constructVecExportSpecifier(internal.pos + 24, internal.ast);
|
|
5901
|
+
return (internal.$specifiers = constructVecExportSpecifier(internal.pos + 24, internal.ast));
|
|
5902
5902
|
}
|
|
5903
5903
|
|
|
5904
5904
|
get source() {
|
|
@@ -6250,7 +6250,7 @@ export class V8IntrinsicExpression {
|
|
|
6250
6250
|
const internal = this.#internal,
|
|
6251
6251
|
cached = internal.$arguments;
|
|
6252
6252
|
if (cached !== void 0) return cached;
|
|
6253
|
-
return internal.$arguments = constructVecArgument(internal.pos + 32, internal.ast);
|
|
6253
|
+
return (internal.$arguments = constructVecArgument(internal.pos + 32, internal.ast));
|
|
6254
6254
|
}
|
|
6255
6255
|
|
|
6256
6256
|
toJSON() {
|
|
@@ -6390,7 +6390,7 @@ export class NumericLiteral {
|
|
|
6390
6390
|
const internal = this.#internal,
|
|
6391
6391
|
cached = internal.$raw;
|
|
6392
6392
|
if (cached !== void 0) return cached;
|
|
6393
|
-
return internal.$raw = constructOptionStr(internal.pos + 16, internal.ast);
|
|
6393
|
+
return (internal.$raw = constructOptionStr(internal.pos + 16, internal.ast));
|
|
6394
6394
|
}
|
|
6395
6395
|
|
|
6396
6396
|
toJSON() {
|
|
@@ -6439,14 +6439,14 @@ export class StringLiteral {
|
|
|
6439
6439
|
const internal = this.#internal,
|
|
6440
6440
|
cached = internal.$value;
|
|
6441
6441
|
if (cached !== void 0) return cached;
|
|
6442
|
-
return internal.$value = constructStr(internal.pos + 8, internal.ast);
|
|
6442
|
+
return (internal.$value = constructStr(internal.pos + 8, internal.ast));
|
|
6443
6443
|
}
|
|
6444
6444
|
|
|
6445
6445
|
get raw() {
|
|
6446
6446
|
const internal = this.#internal,
|
|
6447
6447
|
cached = internal.$raw;
|
|
6448
6448
|
if (cached !== void 0) return cached;
|
|
6449
|
-
return internal.$raw = constructOptionStr(internal.pos + 24, internal.ast);
|
|
6449
|
+
return (internal.$raw = constructOptionStr(internal.pos + 24, internal.ast));
|
|
6450
6450
|
}
|
|
6451
6451
|
|
|
6452
6452
|
toJSON() {
|
|
@@ -6495,14 +6495,14 @@ export class BigIntLiteral {
|
|
|
6495
6495
|
const internal = this.#internal,
|
|
6496
6496
|
cached = internal.$value;
|
|
6497
6497
|
if (cached !== void 0) return cached;
|
|
6498
|
-
return internal.$value = constructStr(internal.pos + 8, internal.ast);
|
|
6498
|
+
return (internal.$value = constructStr(internal.pos + 8, internal.ast));
|
|
6499
6499
|
}
|
|
6500
6500
|
|
|
6501
6501
|
get raw() {
|
|
6502
6502
|
const internal = this.#internal,
|
|
6503
6503
|
cached = internal.$raw;
|
|
6504
6504
|
if (cached !== void 0) return cached;
|
|
6505
|
-
return internal.$raw = constructOptionStr(internal.pos + 24, internal.ast);
|
|
6505
|
+
return (internal.$raw = constructOptionStr(internal.pos + 24, internal.ast));
|
|
6506
6506
|
}
|
|
6507
6507
|
|
|
6508
6508
|
toJSON() {
|
|
@@ -6556,7 +6556,7 @@ export class RegExpLiteral {
|
|
|
6556
6556
|
const internal = this.#internal,
|
|
6557
6557
|
cached = internal.$raw;
|
|
6558
6558
|
if (cached !== void 0) return cached;
|
|
6559
|
-
return internal.$raw = constructOptionStr(internal.pos + 40, internal.ast);
|
|
6559
|
+
return (internal.$raw = constructOptionStr(internal.pos + 40, internal.ast));
|
|
6560
6560
|
}
|
|
6561
6561
|
|
|
6562
6562
|
toJSON() {
|
|
@@ -6633,7 +6633,7 @@ export class RegExpPattern {
|
|
|
6633
6633
|
const internal = this.#internal,
|
|
6634
6634
|
cached = internal.$pattern;
|
|
6635
6635
|
if (cached !== void 0) return cached;
|
|
6636
|
-
return internal.$pattern = constructStr(internal.pos, internal.ast);
|
|
6636
|
+
return (internal.$pattern = constructStr(internal.pos, internal.ast));
|
|
6637
6637
|
}
|
|
6638
6638
|
|
|
6639
6639
|
toJSON() {
|
|
@@ -6708,7 +6708,7 @@ export class JSXElement {
|
|
|
6708
6708
|
const internal = this.#internal,
|
|
6709
6709
|
cached = internal.$children;
|
|
6710
6710
|
if (cached !== void 0) return cached;
|
|
6711
|
-
return internal.$children = constructVecJSXChild(internal.pos + 16, internal.ast);
|
|
6711
|
+
return (internal.$children = constructVecJSXChild(internal.pos + 16, internal.ast));
|
|
6712
6712
|
}
|
|
6713
6713
|
|
|
6714
6714
|
get closingElement() {
|
|
@@ -6773,7 +6773,7 @@ export class JSXOpeningElement {
|
|
|
6773
6773
|
const internal = this.#internal,
|
|
6774
6774
|
cached = internal.$attributes;
|
|
6775
6775
|
if (cached !== void 0) return cached;
|
|
6776
|
-
return internal.$attributes = constructVecJSXAttributeItem(internal.pos + 32, internal.ast);
|
|
6776
|
+
return (internal.$attributes = constructVecJSXAttributeItem(internal.pos + 32, internal.ast));
|
|
6777
6777
|
}
|
|
6778
6778
|
|
|
6779
6779
|
toJSON() {
|
|
@@ -6874,7 +6874,7 @@ export class JSXFragment {
|
|
|
6874
6874
|
const internal = this.#internal,
|
|
6875
6875
|
cached = internal.$children;
|
|
6876
6876
|
if (cached !== void 0) return cached;
|
|
6877
|
-
return internal.$children = constructVecJSXChild(internal.pos + 16, internal.ast);
|
|
6877
|
+
return (internal.$children = constructVecJSXChild(internal.pos + 16, internal.ast));
|
|
6878
6878
|
}
|
|
6879
6879
|
|
|
6880
6880
|
get closingFragment() {
|
|
@@ -7459,7 +7459,7 @@ export class JSXIdentifier {
|
|
|
7459
7459
|
const internal = this.#internal,
|
|
7460
7460
|
cached = internal.$name;
|
|
7461
7461
|
if (cached !== void 0) return cached;
|
|
7462
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
7462
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
7463
7463
|
}
|
|
7464
7464
|
|
|
7465
7465
|
toJSON() {
|
|
@@ -7570,14 +7570,14 @@ export class JSXText {
|
|
|
7570
7570
|
const internal = this.#internal,
|
|
7571
7571
|
cached = internal.$value;
|
|
7572
7572
|
if (cached !== void 0) return cached;
|
|
7573
|
-
return internal.$value = constructStr(internal.pos + 8, internal.ast);
|
|
7573
|
+
return (internal.$value = constructStr(internal.pos + 8, internal.ast));
|
|
7574
7574
|
}
|
|
7575
7575
|
|
|
7576
7576
|
get raw() {
|
|
7577
7577
|
const internal = this.#internal,
|
|
7578
7578
|
cached = internal.$raw;
|
|
7579
7579
|
if (cached !== void 0) return cached;
|
|
7580
|
-
return internal.$raw = constructOptionStr(internal.pos + 24, internal.ast);
|
|
7580
|
+
return (internal.$raw = constructOptionStr(internal.pos + 24, internal.ast));
|
|
7581
7581
|
}
|
|
7582
7582
|
|
|
7583
7583
|
toJSON() {
|
|
@@ -7736,7 +7736,7 @@ export class TSEnumBody {
|
|
|
7736
7736
|
const internal = this.#internal,
|
|
7737
7737
|
cached = internal.$members;
|
|
7738
7738
|
if (cached !== void 0) return cached;
|
|
7739
|
-
return internal.$members = constructVecTSEnumMember(internal.pos + 8, internal.ast);
|
|
7739
|
+
return (internal.$members = constructVecTSEnumMember(internal.pos + 8, internal.ast));
|
|
7740
7740
|
}
|
|
7741
7741
|
|
|
7742
7742
|
toJSON() {
|
|
@@ -8107,7 +8107,7 @@ export class TSUnionType {
|
|
|
8107
8107
|
const internal = this.#internal,
|
|
8108
8108
|
cached = internal.$types;
|
|
8109
8109
|
if (cached !== void 0) return cached;
|
|
8110
|
-
return internal.$types = constructVecTSType(internal.pos + 8, internal.ast);
|
|
8110
|
+
return (internal.$types = constructVecTSType(internal.pos + 8, internal.ast));
|
|
8111
8111
|
}
|
|
8112
8112
|
|
|
8113
8113
|
toJSON() {
|
|
@@ -8155,7 +8155,7 @@ export class TSIntersectionType {
|
|
|
8155
8155
|
const internal = this.#internal,
|
|
8156
8156
|
cached = internal.$types;
|
|
8157
8157
|
if (cached !== void 0) return cached;
|
|
8158
|
-
return internal.$types = constructVecTSType(internal.pos + 8, internal.ast);
|
|
8158
|
+
return (internal.$types = constructVecTSType(internal.pos + 8, internal.ast));
|
|
8159
8159
|
}
|
|
8160
8160
|
|
|
8161
8161
|
toJSON() {
|
|
@@ -8412,7 +8412,7 @@ export class TSTupleType {
|
|
|
8412
8412
|
const internal = this.#internal,
|
|
8413
8413
|
cached = internal.$elementTypes;
|
|
8414
8414
|
if (cached !== void 0) return cached;
|
|
8415
|
-
return internal.$elementTypes = constructVecTSTupleElement(internal.pos + 8, internal.ast);
|
|
8415
|
+
return (internal.$elementTypes = constructVecTSTupleElement(internal.pos + 8, internal.ast));
|
|
8416
8416
|
}
|
|
8417
8417
|
|
|
8418
8418
|
toJSON() {
|
|
@@ -9372,7 +9372,7 @@ export class TSTypeParameterInstantiation {
|
|
|
9372
9372
|
const internal = this.#internal,
|
|
9373
9373
|
cached = internal.$params;
|
|
9374
9374
|
if (cached !== void 0) return cached;
|
|
9375
|
-
return internal.$params = constructVecTSType(internal.pos + 8, internal.ast);
|
|
9375
|
+
return (internal.$params = constructVecTSType(internal.pos + 8, internal.ast));
|
|
9376
9376
|
}
|
|
9377
9377
|
|
|
9378
9378
|
toJSON() {
|
|
@@ -9496,7 +9496,7 @@ export class TSTypeParameterDeclaration {
|
|
|
9496
9496
|
const internal = this.#internal,
|
|
9497
9497
|
cached = internal.$params;
|
|
9498
9498
|
if (cached !== void 0) return cached;
|
|
9499
|
-
return internal.$params = constructVecTSTypeParameter(internal.pos + 8, internal.ast);
|
|
9499
|
+
return (internal.$params = constructVecTSTypeParameter(internal.pos + 8, internal.ast));
|
|
9500
9500
|
}
|
|
9501
9501
|
|
|
9502
9502
|
toJSON() {
|
|
@@ -9683,7 +9683,7 @@ export class TSInterfaceDeclaration {
|
|
|
9683
9683
|
const internal = this.#internal,
|
|
9684
9684
|
cached = internal.$extends;
|
|
9685
9685
|
if (cached !== void 0) return cached;
|
|
9686
|
-
return internal.$extends = constructVecTSInterfaceHeritage(internal.pos + 48, internal.ast);
|
|
9686
|
+
return (internal.$extends = constructVecTSInterfaceHeritage(internal.pos + 48, internal.ast));
|
|
9687
9687
|
}
|
|
9688
9688
|
|
|
9689
9689
|
get body() {
|
|
@@ -9745,7 +9745,7 @@ export class TSInterfaceBody {
|
|
|
9745
9745
|
const internal = this.#internal,
|
|
9746
9746
|
cached = internal.$body;
|
|
9747
9747
|
if (cached !== void 0) return cached;
|
|
9748
|
-
return internal.$body = constructVecTSSignature(internal.pos + 8, internal.ast);
|
|
9748
|
+
return (internal.$body = constructVecTSSignature(internal.pos + 8, internal.ast));
|
|
9749
9749
|
}
|
|
9750
9750
|
|
|
9751
9751
|
toJSON() {
|
|
@@ -9880,7 +9880,7 @@ export class TSIndexSignature {
|
|
|
9880
9880
|
const internal = this.#internal,
|
|
9881
9881
|
cached = internal.$parameters;
|
|
9882
9882
|
if (cached !== void 0) return cached;
|
|
9883
|
-
return internal.$parameters = constructVecTSIndexSignatureName(internal.pos + 8, internal.ast);
|
|
9883
|
+
return (internal.$parameters = constructVecTSIndexSignatureName(internal.pos + 8, internal.ast));
|
|
9884
9884
|
}
|
|
9885
9885
|
|
|
9886
9886
|
get typeAnnotation() {
|
|
@@ -10157,7 +10157,7 @@ export class TSIndexSignatureName {
|
|
|
10157
10157
|
const internal = this.#internal,
|
|
10158
10158
|
cached = internal.$name;
|
|
10159
10159
|
if (cached !== void 0) return cached;
|
|
10160
|
-
return internal.$name = constructStr(internal.pos + 8, internal.ast);
|
|
10160
|
+
return (internal.$name = constructStr(internal.pos + 8, internal.ast));
|
|
10161
10161
|
}
|
|
10162
10162
|
|
|
10163
10163
|
get typeAnnotation() {
|
|
@@ -10431,7 +10431,7 @@ export class TSModuleBlock {
|
|
|
10431
10431
|
const internal = this.#internal,
|
|
10432
10432
|
cached = internal.$body;
|
|
10433
10433
|
if (cached !== void 0) return cached;
|
|
10434
|
-
return internal.$body = constructVecStatement(internal.pos + 32, internal.ast);
|
|
10434
|
+
return (internal.$body = constructVecStatement(internal.pos + 32, internal.ast));
|
|
10435
10435
|
}
|
|
10436
10436
|
|
|
10437
10437
|
toJSON() {
|
|
@@ -10479,7 +10479,7 @@ export class TSTypeLiteral {
|
|
|
10479
10479
|
const internal = this.#internal,
|
|
10480
10480
|
cached = internal.$members;
|
|
10481
10481
|
if (cached !== void 0) return cached;
|
|
10482
|
-
return internal.$members = constructVecTSSignature(internal.pos + 8, internal.ast);
|
|
10482
|
+
return (internal.$members = constructVecTSSignature(internal.pos + 8, internal.ast));
|
|
10483
10483
|
}
|
|
10484
10484
|
|
|
10485
10485
|
toJSON() {
|
|
@@ -10823,7 +10823,7 @@ export class TSConstructorType {
|
|
|
10823
10823
|
|
|
10824
10824
|
get abstract() {
|
|
10825
10825
|
const internal = this.#internal;
|
|
10826
|
-
return constructBool(internal.pos +
|
|
10826
|
+
return constructBool(internal.pos + 36, internal.ast);
|
|
10827
10827
|
}
|
|
10828
10828
|
|
|
10829
10829
|
get typeParameters() {
|
|
@@ -10966,14 +10966,14 @@ export class TSTemplateLiteralType {
|
|
|
10966
10966
|
const internal = this.#internal,
|
|
10967
10967
|
cached = internal.$quasis;
|
|
10968
10968
|
if (cached !== void 0) return cached;
|
|
10969
|
-
return internal.$quasis = constructVecTemplateElement(internal.pos + 8, internal.ast);
|
|
10969
|
+
return (internal.$quasis = constructVecTemplateElement(internal.pos + 8, internal.ast));
|
|
10970
10970
|
}
|
|
10971
10971
|
|
|
10972
10972
|
get types() {
|
|
10973
10973
|
const internal = this.#internal,
|
|
10974
10974
|
cached = internal.$types;
|
|
10975
10975
|
if (cached !== void 0) return cached;
|
|
10976
|
-
return internal.$types = constructVecTSType(internal.pos + 32, internal.ast);
|
|
10976
|
+
return (internal.$types = constructVecTSType(internal.pos + 32, internal.ast));
|
|
10977
10977
|
}
|
|
10978
10978
|
|
|
10979
10979
|
toJSON() {
|
|
@@ -11732,7 +11732,7 @@ export class NameSpan {
|
|
|
11732
11732
|
const internal = this.#internal,
|
|
11733
11733
|
cached = internal.$value;
|
|
11734
11734
|
if (cached !== void 0) return cached;
|
|
11735
|
-
return internal.$value = constructStr(internal.pos + 8, internal.ast);
|
|
11735
|
+
return (internal.$value = constructStr(internal.pos + 8, internal.ast));
|
|
11736
11736
|
}
|
|
11737
11737
|
|
|
11738
11738
|
get start() {
|
|
@@ -12210,7 +12210,7 @@ export class RawTransferData {
|
|
|
12210
12210
|
const internal = this.#internal,
|
|
12211
12211
|
cached = internal.$comments;
|
|
12212
12212
|
if (cached !== void 0) return cached;
|
|
12213
|
-
return internal.$comments = constructVecComment(internal.pos + 128, internal.ast);
|
|
12213
|
+
return (internal.$comments = constructVecComment(internal.pos + 128, internal.ast));
|
|
12214
12214
|
}
|
|
12215
12215
|
|
|
12216
12216
|
get module() {
|
|
@@ -12222,7 +12222,7 @@ export class RawTransferData {
|
|
|
12222
12222
|
const internal = this.#internal,
|
|
12223
12223
|
cached = internal.$errors;
|
|
12224
12224
|
if (cached !== void 0) return cached;
|
|
12225
|
-
return internal.$errors = constructVecError(internal.pos + 256, internal.ast);
|
|
12225
|
+
return (internal.$errors = constructVecError(internal.pos + 256, internal.ast));
|
|
12226
12226
|
}
|
|
12227
12227
|
|
|
12228
12228
|
toJSON() {
|
|
@@ -12264,28 +12264,28 @@ export class Error {
|
|
|
12264
12264
|
const internal = this.#internal,
|
|
12265
12265
|
cached = internal.$message;
|
|
12266
12266
|
if (cached !== void 0) return cached;
|
|
12267
|
-
return internal.$message = constructStr(internal.pos, internal.ast);
|
|
12267
|
+
return (internal.$message = constructStr(internal.pos, internal.ast));
|
|
12268
12268
|
}
|
|
12269
12269
|
|
|
12270
12270
|
get labels() {
|
|
12271
12271
|
const internal = this.#internal,
|
|
12272
12272
|
cached = internal.$labels;
|
|
12273
12273
|
if (cached !== void 0) return cached;
|
|
12274
|
-
return internal.$labels = constructVecErrorLabel(internal.pos + 16, internal.ast);
|
|
12274
|
+
return (internal.$labels = constructVecErrorLabel(internal.pos + 16, internal.ast));
|
|
12275
12275
|
}
|
|
12276
12276
|
|
|
12277
12277
|
get helpMessage() {
|
|
12278
12278
|
const internal = this.#internal,
|
|
12279
12279
|
cached = internal.$helpMessage;
|
|
12280
12280
|
if (cached !== void 0) return cached;
|
|
12281
|
-
return internal.$helpMessage = constructOptionStr(internal.pos + 40, internal.ast);
|
|
12281
|
+
return (internal.$helpMessage = constructOptionStr(internal.pos + 40, internal.ast));
|
|
12282
12282
|
}
|
|
12283
12283
|
|
|
12284
12284
|
get codeframe() {
|
|
12285
12285
|
const internal = this.#internal,
|
|
12286
12286
|
cached = internal.$codeframe;
|
|
12287
12287
|
if (cached !== void 0) return cached;
|
|
12288
|
-
return internal.$codeframe = constructStr(internal.pos + 56, internal.ast);
|
|
12288
|
+
return (internal.$codeframe = constructStr(internal.pos + 56, internal.ast));
|
|
12289
12289
|
}
|
|
12290
12290
|
|
|
12291
12291
|
toJSON() {
|
|
@@ -12336,7 +12336,7 @@ export class ErrorLabel {
|
|
|
12336
12336
|
const internal = this.#internal,
|
|
12337
12337
|
cached = internal.$message;
|
|
12338
12338
|
if (cached !== void 0) return cached;
|
|
12339
|
-
return internal.$message = constructOptionStr(internal.pos + 8, internal.ast);
|
|
12339
|
+
return (internal.$message = constructOptionStr(internal.pos + 8, internal.ast));
|
|
12340
12340
|
}
|
|
12341
12341
|
|
|
12342
12342
|
get start() {
|
|
@@ -12394,28 +12394,28 @@ export class EcmaScriptModule {
|
|
|
12394
12394
|
const internal = this.#internal,
|
|
12395
12395
|
cached = internal.$staticImports;
|
|
12396
12396
|
if (cached !== void 0) return cached;
|
|
12397
|
-
return internal.$staticImports = constructVecStaticImport(internal.pos, internal.ast);
|
|
12397
|
+
return (internal.$staticImports = constructVecStaticImport(internal.pos, internal.ast));
|
|
12398
12398
|
}
|
|
12399
12399
|
|
|
12400
12400
|
get staticExports() {
|
|
12401
12401
|
const internal = this.#internal,
|
|
12402
12402
|
cached = internal.$staticExports;
|
|
12403
12403
|
if (cached !== void 0) return cached;
|
|
12404
|
-
return internal.$staticExports = constructVecStaticExport(internal.pos + 24, internal.ast);
|
|
12404
|
+
return (internal.$staticExports = constructVecStaticExport(internal.pos + 24, internal.ast));
|
|
12405
12405
|
}
|
|
12406
12406
|
|
|
12407
12407
|
get dynamicImports() {
|
|
12408
12408
|
const internal = this.#internal,
|
|
12409
12409
|
cached = internal.$dynamicImports;
|
|
12410
12410
|
if (cached !== void 0) return cached;
|
|
12411
|
-
return internal.$dynamicImports = constructVecDynamicImport(internal.pos + 48, internal.ast);
|
|
12411
|
+
return (internal.$dynamicImports = constructVecDynamicImport(internal.pos + 48, internal.ast));
|
|
12412
12412
|
}
|
|
12413
12413
|
|
|
12414
12414
|
get importMetas() {
|
|
12415
12415
|
const internal = this.#internal,
|
|
12416
12416
|
cached = internal.$importMetas;
|
|
12417
12417
|
if (cached !== void 0) return cached;
|
|
12418
|
-
return internal.$importMetas = constructVecSpan(internal.pos + 72, internal.ast);
|
|
12418
|
+
return (internal.$importMetas = constructVecSpan(internal.pos + 72, internal.ast));
|
|
12419
12419
|
}
|
|
12420
12420
|
|
|
12421
12421
|
toJSON() {
|
|
@@ -12468,7 +12468,7 @@ export class StaticImport {
|
|
|
12468
12468
|
const internal = this.#internal,
|
|
12469
12469
|
cached = internal.$entries;
|
|
12470
12470
|
if (cached !== void 0) return cached;
|
|
12471
|
-
return internal.$entries = constructVecImportEntry(internal.pos + 32, internal.ast);
|
|
12471
|
+
return (internal.$entries = constructVecImportEntry(internal.pos + 32, internal.ast));
|
|
12472
12472
|
}
|
|
12473
12473
|
|
|
12474
12474
|
toJSON() {
|
|
@@ -12515,7 +12515,7 @@ export class StaticExport {
|
|
|
12515
12515
|
const internal = this.#internal,
|
|
12516
12516
|
cached = internal.$entries;
|
|
12517
12517
|
if (cached !== void 0) return cached;
|
|
12518
|
-
return internal.$entries = constructVecExportEntry(internal.pos + 8, internal.ast);
|
|
12518
|
+
return (internal.$entries = constructVecExportEntry(internal.pos + 8, internal.ast));
|
|
12519
12519
|
}
|
|
12520
12520
|
|
|
12521
12521
|
toJSON() {
|
|
@@ -12575,13 +12575,7 @@ function constructStr(pos, ast) {
|
|
|
12575
12575
|
function constructVecComment(pos, ast) {
|
|
12576
12576
|
const { uint32 } = ast.buffer,
|
|
12577
12577
|
pos32 = pos >> 2;
|
|
12578
|
-
return new NodeArray(
|
|
12579
|
-
uint32[pos32],
|
|
12580
|
-
uint32[pos32 + 2],
|
|
12581
|
-
16,
|
|
12582
|
-
constructComment,
|
|
12583
|
-
ast,
|
|
12584
|
-
);
|
|
12578
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructComment, ast);
|
|
12585
12579
|
}
|
|
12586
12580
|
|
|
12587
12581
|
function constructComment(pos, ast) {
|
|
@@ -12596,13 +12590,7 @@ function constructOptionHashbang(pos, ast) {
|
|
|
12596
12590
|
function constructVecDirective(pos, ast) {
|
|
12597
12591
|
const { uint32 } = ast.buffer,
|
|
12598
12592
|
pos32 = pos >> 2;
|
|
12599
|
-
return new NodeArray(
|
|
12600
|
-
uint32[pos32],
|
|
12601
|
-
uint32[pos32 + 2],
|
|
12602
|
-
72,
|
|
12603
|
-
constructDirective,
|
|
12604
|
-
ast,
|
|
12605
|
-
);
|
|
12593
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 72, constructDirective, ast);
|
|
12606
12594
|
}
|
|
12607
12595
|
|
|
12608
12596
|
function constructDirective(pos, ast) {
|
|
@@ -12612,13 +12600,7 @@ function constructDirective(pos, ast) {
|
|
|
12612
12600
|
function constructVecStatement(pos, ast) {
|
|
12613
12601
|
const { uint32 } = ast.buffer,
|
|
12614
12602
|
pos32 = pos >> 2;
|
|
12615
|
-
return new NodeArray(
|
|
12616
|
-
uint32[pos32],
|
|
12617
|
-
uint32[pos32 + 2],
|
|
12618
|
-
16,
|
|
12619
|
-
constructStatement,
|
|
12620
|
-
ast,
|
|
12621
|
-
);
|
|
12603
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructStatement, ast);
|
|
12622
12604
|
}
|
|
12623
12605
|
|
|
12624
12606
|
function constructBoxBooleanLiteral(pos, ast) {
|
|
@@ -12784,13 +12766,7 @@ function constructBoxV8IntrinsicExpression(pos, ast) {
|
|
|
12784
12766
|
function constructVecArrayExpressionElement(pos, ast) {
|
|
12785
12767
|
const { uint32 } = ast.buffer,
|
|
12786
12768
|
pos32 = pos >> 2;
|
|
12787
|
-
return new NodeArray(
|
|
12788
|
-
uint32[pos32],
|
|
12789
|
-
uint32[pos32 + 2],
|
|
12790
|
-
16,
|
|
12791
|
-
constructArrayExpressionElement,
|
|
12792
|
-
ast,
|
|
12793
|
-
);
|
|
12769
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructArrayExpressionElement, ast);
|
|
12794
12770
|
}
|
|
12795
12771
|
|
|
12796
12772
|
function constructBoxSpreadElement(pos, ast) {
|
|
@@ -12800,13 +12776,7 @@ function constructBoxSpreadElement(pos, ast) {
|
|
|
12800
12776
|
function constructVecObjectPropertyKind(pos, ast) {
|
|
12801
12777
|
const { uint32 } = ast.buffer,
|
|
12802
12778
|
pos32 = pos >> 2;
|
|
12803
|
-
return new NodeArray(
|
|
12804
|
-
uint32[pos32],
|
|
12805
|
-
uint32[pos32 + 2],
|
|
12806
|
-
16,
|
|
12807
|
-
constructObjectPropertyKind,
|
|
12808
|
-
ast,
|
|
12809
|
-
);
|
|
12779
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructObjectPropertyKind, ast);
|
|
12810
12780
|
}
|
|
12811
12781
|
|
|
12812
12782
|
function constructBoxObjectProperty(pos, ast) {
|
|
@@ -12828,13 +12798,7 @@ function constructBoxPrivateIdentifier(pos, ast) {
|
|
|
12828
12798
|
function constructVecTemplateElement(pos, ast) {
|
|
12829
12799
|
const { uint32 } = ast.buffer,
|
|
12830
12800
|
pos32 = pos >> 2;
|
|
12831
|
-
return new NodeArray(
|
|
12832
|
-
uint32[pos32],
|
|
12833
|
-
uint32[pos32 + 2],
|
|
12834
|
-
48,
|
|
12835
|
-
constructTemplateElement,
|
|
12836
|
-
ast,
|
|
12837
|
-
);
|
|
12801
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 48, constructTemplateElement, ast);
|
|
12838
12802
|
}
|
|
12839
12803
|
|
|
12840
12804
|
function constructTemplateElement(pos, ast) {
|
|
@@ -12844,13 +12808,7 @@ function constructTemplateElement(pos, ast) {
|
|
|
12844
12808
|
function constructVecExpression(pos, ast) {
|
|
12845
12809
|
const { uint32 } = ast.buffer,
|
|
12846
12810
|
pos32 = pos >> 2;
|
|
12847
|
-
return new NodeArray(
|
|
12848
|
-
uint32[pos32],
|
|
12849
|
-
uint32[pos32 + 2],
|
|
12850
|
-
16,
|
|
12851
|
-
constructExpression,
|
|
12852
|
-
ast,
|
|
12853
|
-
);
|
|
12811
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructExpression, ast);
|
|
12854
12812
|
}
|
|
12855
12813
|
|
|
12856
12814
|
function constructBoxTSTypeParameterInstantiation(pos, ast) {
|
|
@@ -12882,13 +12840,7 @@ function constructBoxPrivateFieldExpression(pos, ast) {
|
|
|
12882
12840
|
function constructVecArgument(pos, ast) {
|
|
12883
12841
|
const { uint32 } = ast.buffer,
|
|
12884
12842
|
pos32 = pos >> 2;
|
|
12885
|
-
return new NodeArray(
|
|
12886
|
-
uint32[pos32],
|
|
12887
|
-
uint32[pos32 + 2],
|
|
12888
|
-
16,
|
|
12889
|
-
constructArgument,
|
|
12890
|
-
ast,
|
|
12891
|
-
);
|
|
12843
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructArgument, ast);
|
|
12892
12844
|
}
|
|
12893
12845
|
|
|
12894
12846
|
function constructBoxArrayAssignmentTarget(pos, ast) {
|
|
@@ -12907,13 +12859,7 @@ function constructOptionAssignmentTargetMaybeDefault(pos, ast) {
|
|
|
12907
12859
|
function constructVecOptionAssignmentTargetMaybeDefault(pos, ast) {
|
|
12908
12860
|
const { uint32 } = ast.buffer,
|
|
12909
12861
|
pos32 = pos >> 2;
|
|
12910
|
-
return new NodeArray(
|
|
12911
|
-
uint32[pos32],
|
|
12912
|
-
uint32[pos32 + 2],
|
|
12913
|
-
16,
|
|
12914
|
-
constructOptionAssignmentTargetMaybeDefault,
|
|
12915
|
-
ast,
|
|
12916
|
-
);
|
|
12862
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructOptionAssignmentTargetMaybeDefault, ast);
|
|
12917
12863
|
}
|
|
12918
12864
|
|
|
12919
12865
|
function constructBoxAssignmentTargetRest(pos, ast) {
|
|
@@ -12928,13 +12874,7 @@ function constructOptionBoxAssignmentTargetRest(pos, ast) {
|
|
|
12928
12874
|
function constructVecAssignmentTargetProperty(pos, ast) {
|
|
12929
12875
|
const { uint32 } = ast.buffer,
|
|
12930
12876
|
pos32 = pos >> 2;
|
|
12931
|
-
return new NodeArray(
|
|
12932
|
-
uint32[pos32],
|
|
12933
|
-
uint32[pos32 + 2],
|
|
12934
|
-
16,
|
|
12935
|
-
constructAssignmentTargetProperty,
|
|
12936
|
-
ast,
|
|
12937
|
-
);
|
|
12877
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructAssignmentTargetProperty, ast);
|
|
12938
12878
|
}
|
|
12939
12879
|
|
|
12940
12880
|
function constructBoxAssignmentTargetWithDefault(pos, ast) {
|
|
@@ -13053,13 +12993,7 @@ function constructBoxTSImportEqualsDeclaration(pos, ast) {
|
|
|
13053
12993
|
function constructVecVariableDeclarator(pos, ast) {
|
|
13054
12994
|
const { uint32 } = ast.buffer,
|
|
13055
12995
|
pos32 = pos >> 2;
|
|
13056
|
-
return new NodeArray(
|
|
13057
|
-
uint32[pos32],
|
|
13058
|
-
uint32[pos32 + 2],
|
|
13059
|
-
64,
|
|
13060
|
-
constructVariableDeclarator,
|
|
13061
|
-
ast,
|
|
13062
|
-
);
|
|
12996
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 64, constructVariableDeclarator, ast);
|
|
13063
12997
|
}
|
|
13064
12998
|
|
|
13065
12999
|
function constructVariableDeclarator(pos, ast) {
|
|
@@ -13084,13 +13018,7 @@ function constructOptionLabelIdentifier(pos, ast) {
|
|
|
13084
13018
|
function constructVecSwitchCase(pos, ast) {
|
|
13085
13019
|
const { uint32 } = ast.buffer,
|
|
13086
13020
|
pos32 = pos >> 2;
|
|
13087
|
-
return new NodeArray(
|
|
13088
|
-
uint32[pos32],
|
|
13089
|
-
uint32[pos32 + 2],
|
|
13090
|
-
48,
|
|
13091
|
-
constructSwitchCase,
|
|
13092
|
-
ast,
|
|
13093
|
-
);
|
|
13021
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 48, constructSwitchCase, ast);
|
|
13094
13022
|
}
|
|
13095
13023
|
|
|
13096
13024
|
function constructSwitchCase(pos, ast) {
|
|
@@ -13144,13 +13072,7 @@ function constructBoxAssignmentPattern(pos, ast) {
|
|
|
13144
13072
|
function constructVecBindingProperty(pos, ast) {
|
|
13145
13073
|
const { uint32 } = ast.buffer,
|
|
13146
13074
|
pos32 = pos >> 2;
|
|
13147
|
-
return new NodeArray(
|
|
13148
|
-
uint32[pos32],
|
|
13149
|
-
uint32[pos32 + 2],
|
|
13150
|
-
64,
|
|
13151
|
-
constructBindingProperty,
|
|
13152
|
-
ast,
|
|
13153
|
-
);
|
|
13075
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 64, constructBindingProperty, ast);
|
|
13154
13076
|
}
|
|
13155
13077
|
|
|
13156
13078
|
function constructBindingProperty(pos, ast) {
|
|
@@ -13174,13 +13096,7 @@ function constructOptionBindingPattern(pos, ast) {
|
|
|
13174
13096
|
function constructVecOptionBindingPattern(pos, ast) {
|
|
13175
13097
|
const { uint32 } = ast.buffer,
|
|
13176
13098
|
pos32 = pos >> 2;
|
|
13177
|
-
return new NodeArray(
|
|
13178
|
-
uint32[pos32],
|
|
13179
|
-
uint32[pos32 + 2],
|
|
13180
|
-
32,
|
|
13181
|
-
constructOptionBindingPattern,
|
|
13182
|
-
ast,
|
|
13183
|
-
);
|
|
13099
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 32, constructOptionBindingPattern, ast);
|
|
13184
13100
|
}
|
|
13185
13101
|
|
|
13186
13102
|
function constructOptionBindingIdentifier(pos, ast) {
|
|
@@ -13222,13 +13138,7 @@ function constructOptionBoxFunctionBody(pos, ast) {
|
|
|
13222
13138
|
function constructVecFormalParameter(pos, ast) {
|
|
13223
13139
|
const { uint32 } = ast.buffer,
|
|
13224
13140
|
pos32 = pos >> 2;
|
|
13225
|
-
return new NodeArray(
|
|
13226
|
-
uint32[pos32],
|
|
13227
|
-
uint32[pos32 + 2],
|
|
13228
|
-
72,
|
|
13229
|
-
constructFormalParameter,
|
|
13230
|
-
ast,
|
|
13231
|
-
);
|
|
13141
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 72, constructFormalParameter, ast);
|
|
13232
13142
|
}
|
|
13233
13143
|
|
|
13234
13144
|
function constructFormalParameter(pos, ast) {
|
|
@@ -13238,13 +13148,7 @@ function constructFormalParameter(pos, ast) {
|
|
|
13238
13148
|
function constructVecDecorator(pos, ast) {
|
|
13239
13149
|
const { uint32 } = ast.buffer,
|
|
13240
13150
|
pos32 = pos >> 2;
|
|
13241
|
-
return new NodeArray(
|
|
13242
|
-
uint32[pos32],
|
|
13243
|
-
uint32[pos32 + 2],
|
|
13244
|
-
24,
|
|
13245
|
-
constructDecorator,
|
|
13246
|
-
ast,
|
|
13247
|
-
);
|
|
13151
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 24, constructDecorator, ast);
|
|
13248
13152
|
}
|
|
13249
13153
|
|
|
13250
13154
|
function constructDecorator(pos, ast) {
|
|
@@ -13259,13 +13163,7 @@ function constructOptionTSAccessibility(pos, ast) {
|
|
|
13259
13163
|
function constructVecTSClassImplements(pos, ast) {
|
|
13260
13164
|
const { uint32 } = ast.buffer,
|
|
13261
13165
|
pos32 = pos >> 2;
|
|
13262
|
-
return new NodeArray(
|
|
13263
|
-
uint32[pos32],
|
|
13264
|
-
uint32[pos32 + 2],
|
|
13265
|
-
32,
|
|
13266
|
-
constructTSClassImplements,
|
|
13267
|
-
ast,
|
|
13268
|
-
);
|
|
13166
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 32, constructTSClassImplements, ast);
|
|
13269
13167
|
}
|
|
13270
13168
|
|
|
13271
13169
|
function constructTSClassImplements(pos, ast) {
|
|
@@ -13279,13 +13177,7 @@ function constructBoxClassBody(pos, ast) {
|
|
|
13279
13177
|
function constructVecClassElement(pos, ast) {
|
|
13280
13178
|
const { uint32 } = ast.buffer,
|
|
13281
13179
|
pos32 = pos >> 2;
|
|
13282
|
-
return new NodeArray(
|
|
13283
|
-
uint32[pos32],
|
|
13284
|
-
uint32[pos32 + 2],
|
|
13285
|
-
16,
|
|
13286
|
-
constructClassElement,
|
|
13287
|
-
ast,
|
|
13288
|
-
);
|
|
13180
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructClassElement, ast);
|
|
13289
13181
|
}
|
|
13290
13182
|
|
|
13291
13183
|
function constructBoxStaticBlock(pos, ast) {
|
|
@@ -13340,13 +13232,7 @@ function constructOptionImportPhase(pos, ast) {
|
|
|
13340
13232
|
function constructVecImportDeclarationSpecifier(pos, ast) {
|
|
13341
13233
|
const { uint32 } = ast.buffer,
|
|
13342
13234
|
pos32 = pos >> 2;
|
|
13343
|
-
return new NodeArray(
|
|
13344
|
-
uint32[pos32],
|
|
13345
|
-
uint32[pos32 + 2],
|
|
13346
|
-
16,
|
|
13347
|
-
constructImportDeclarationSpecifier,
|
|
13348
|
-
ast,
|
|
13349
|
-
);
|
|
13235
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructImportDeclarationSpecifier, ast);
|
|
13350
13236
|
}
|
|
13351
13237
|
|
|
13352
13238
|
function constructOptionVecImportDeclarationSpecifier(pos, ast) {
|
|
@@ -13378,13 +13264,7 @@ function constructBoxImportNamespaceSpecifier(pos, ast) {
|
|
|
13378
13264
|
function constructVecImportAttribute(pos, ast) {
|
|
13379
13265
|
const { uint32 } = ast.buffer,
|
|
13380
13266
|
pos32 = pos >> 2;
|
|
13381
|
-
return new NodeArray(
|
|
13382
|
-
uint32[pos32],
|
|
13383
|
-
uint32[pos32 + 2],
|
|
13384
|
-
112,
|
|
13385
|
-
constructImportAttribute,
|
|
13386
|
-
ast,
|
|
13387
|
-
);
|
|
13267
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 112, constructImportAttribute, ast);
|
|
13388
13268
|
}
|
|
13389
13269
|
|
|
13390
13270
|
function constructImportAttribute(pos, ast) {
|
|
@@ -13399,13 +13279,7 @@ function constructOptionDeclaration(pos, ast) {
|
|
|
13399
13279
|
function constructVecExportSpecifier(pos, ast) {
|
|
13400
13280
|
const { uint32 } = ast.buffer,
|
|
13401
13281
|
pos32 = pos >> 2;
|
|
13402
|
-
return new NodeArray(
|
|
13403
|
-
uint32[pos32],
|
|
13404
|
-
uint32[pos32 + 2],
|
|
13405
|
-
128,
|
|
13406
|
-
constructExportSpecifier,
|
|
13407
|
-
ast,
|
|
13408
|
-
);
|
|
13282
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 128, constructExportSpecifier, ast);
|
|
13409
13283
|
}
|
|
13410
13284
|
|
|
13411
13285
|
function constructExportSpecifier(pos, ast) {
|
|
@@ -13433,13 +13307,7 @@ function constructBoxJSXOpeningElement(pos, ast) {
|
|
|
13433
13307
|
function constructVecJSXChild(pos, ast) {
|
|
13434
13308
|
const { uint32 } = ast.buffer,
|
|
13435
13309
|
pos32 = pos >> 2;
|
|
13436
|
-
return new NodeArray(
|
|
13437
|
-
uint32[pos32],
|
|
13438
|
-
uint32[pos32 + 2],
|
|
13439
|
-
16,
|
|
13440
|
-
constructJSXChild,
|
|
13441
|
-
ast,
|
|
13442
|
-
);
|
|
13310
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructJSXChild, ast);
|
|
13443
13311
|
}
|
|
13444
13312
|
|
|
13445
13313
|
function constructBoxJSXClosingElement(pos, ast) {
|
|
@@ -13454,13 +13322,7 @@ function constructOptionBoxJSXClosingElement(pos, ast) {
|
|
|
13454
13322
|
function constructVecJSXAttributeItem(pos, ast) {
|
|
13455
13323
|
const { uint32 } = ast.buffer,
|
|
13456
13324
|
pos32 = pos >> 2;
|
|
13457
|
-
return new NodeArray(
|
|
13458
|
-
uint32[pos32],
|
|
13459
|
-
uint32[pos32 + 2],
|
|
13460
|
-
16,
|
|
13461
|
-
constructJSXAttributeItem,
|
|
13462
|
-
ast,
|
|
13463
|
-
);
|
|
13325
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructJSXAttributeItem, ast);
|
|
13464
13326
|
}
|
|
13465
13327
|
|
|
13466
13328
|
function constructBoxJSXIdentifier(pos, ast) {
|
|
@@ -13503,13 +13365,7 @@ function constructBoxJSXSpreadChild(pos, ast) {
|
|
|
13503
13365
|
function constructVecTSEnumMember(pos, ast) {
|
|
13504
13366
|
const { uint32 } = ast.buffer,
|
|
13505
13367
|
pos32 = pos >> 2;
|
|
13506
|
-
return new NodeArray(
|
|
13507
|
-
uint32[pos32],
|
|
13508
|
-
uint32[pos32 + 2],
|
|
13509
|
-
40,
|
|
13510
|
-
constructTSEnumMember,
|
|
13511
|
-
ast,
|
|
13512
|
-
);
|
|
13368
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 40, constructTSEnumMember, ast);
|
|
13513
13369
|
}
|
|
13514
13370
|
|
|
13515
13371
|
function constructTSEnumMember(pos, ast) {
|
|
@@ -13667,25 +13523,13 @@ function constructBoxJSDocUnknownType(pos, ast) {
|
|
|
13667
13523
|
function constructVecTSType(pos, ast) {
|
|
13668
13524
|
const { uint32 } = ast.buffer,
|
|
13669
13525
|
pos32 = pos >> 2;
|
|
13670
|
-
return new NodeArray(
|
|
13671
|
-
uint32[pos32],
|
|
13672
|
-
uint32[pos32 + 2],
|
|
13673
|
-
16,
|
|
13674
|
-
constructTSType,
|
|
13675
|
-
ast,
|
|
13676
|
-
);
|
|
13526
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructTSType, ast);
|
|
13677
13527
|
}
|
|
13678
13528
|
|
|
13679
13529
|
function constructVecTSTupleElement(pos, ast) {
|
|
13680
13530
|
const { uint32 } = ast.buffer,
|
|
13681
13531
|
pos32 = pos >> 2;
|
|
13682
|
-
return new NodeArray(
|
|
13683
|
-
uint32[pos32],
|
|
13684
|
-
uint32[pos32 + 2],
|
|
13685
|
-
16,
|
|
13686
|
-
constructTSTupleElement,
|
|
13687
|
-
ast,
|
|
13688
|
-
);
|
|
13532
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructTSTupleElement, ast);
|
|
13689
13533
|
}
|
|
13690
13534
|
|
|
13691
13535
|
function constructBoxTSOptionalType(pos, ast) {
|
|
@@ -13708,13 +13552,7 @@ function constructOptionTSType(pos, ast) {
|
|
|
13708
13552
|
function constructVecTSTypeParameter(pos, ast) {
|
|
13709
13553
|
const { uint32 } = ast.buffer,
|
|
13710
13554
|
pos32 = pos >> 2;
|
|
13711
|
-
return new NodeArray(
|
|
13712
|
-
uint32[pos32],
|
|
13713
|
-
uint32[pos32 + 2],
|
|
13714
|
-
80,
|
|
13715
|
-
constructTSTypeParameter,
|
|
13716
|
-
ast,
|
|
13717
|
-
);
|
|
13555
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 80, constructTSTypeParameter, ast);
|
|
13718
13556
|
}
|
|
13719
13557
|
|
|
13720
13558
|
function constructTSTypeParameter(pos, ast) {
|
|
@@ -13724,13 +13562,7 @@ function constructTSTypeParameter(pos, ast) {
|
|
|
13724
13562
|
function constructVecTSInterfaceHeritage(pos, ast) {
|
|
13725
13563
|
const { uint32 } = ast.buffer,
|
|
13726
13564
|
pos32 = pos >> 2;
|
|
13727
|
-
return new NodeArray(
|
|
13728
|
-
uint32[pos32],
|
|
13729
|
-
uint32[pos32 + 2],
|
|
13730
|
-
32,
|
|
13731
|
-
constructTSInterfaceHeritage,
|
|
13732
|
-
ast,
|
|
13733
|
-
);
|
|
13565
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 32, constructTSInterfaceHeritage, ast);
|
|
13734
13566
|
}
|
|
13735
13567
|
|
|
13736
13568
|
function constructTSInterfaceHeritage(pos, ast) {
|
|
@@ -13744,13 +13576,7 @@ function constructBoxTSInterfaceBody(pos, ast) {
|
|
|
13744
13576
|
function constructVecTSSignature(pos, ast) {
|
|
13745
13577
|
const { uint32 } = ast.buffer,
|
|
13746
13578
|
pos32 = pos >> 2;
|
|
13747
|
-
return new NodeArray(
|
|
13748
|
-
uint32[pos32],
|
|
13749
|
-
uint32[pos32 + 2],
|
|
13750
|
-
16,
|
|
13751
|
-
constructTSSignature,
|
|
13752
|
-
ast,
|
|
13753
|
-
);
|
|
13579
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructTSSignature, ast);
|
|
13754
13580
|
}
|
|
13755
13581
|
|
|
13756
13582
|
function constructBoxTSPropertySignature(pos, ast) {
|
|
@@ -13772,13 +13598,7 @@ function constructBoxTSMethodSignature(pos, ast) {
|
|
|
13772
13598
|
function constructVecTSIndexSignatureName(pos, ast) {
|
|
13773
13599
|
const { uint32 } = ast.buffer,
|
|
13774
13600
|
pos32 = pos >> 2;
|
|
13775
|
-
return new NodeArray(
|
|
13776
|
-
uint32[pos32],
|
|
13777
|
-
uint32[pos32 + 2],
|
|
13778
|
-
32,
|
|
13779
|
-
constructTSIndexSignatureName,
|
|
13780
|
-
ast,
|
|
13781
|
-
);
|
|
13601
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 32, constructTSIndexSignatureName, ast);
|
|
13782
13602
|
}
|
|
13783
13603
|
|
|
13784
13604
|
function constructTSIndexSignatureName(pos, ast) {
|
|
@@ -13840,13 +13660,7 @@ function constructOptionU64(pos, ast) {
|
|
|
13840
13660
|
function constructVecError(pos, ast) {
|
|
13841
13661
|
const { uint32 } = ast.buffer,
|
|
13842
13662
|
pos32 = pos >> 2;
|
|
13843
|
-
return new NodeArray(
|
|
13844
|
-
uint32[pos32],
|
|
13845
|
-
uint32[pos32 + 2],
|
|
13846
|
-
80,
|
|
13847
|
-
constructError,
|
|
13848
|
-
ast,
|
|
13849
|
-
);
|
|
13663
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 80, constructError, ast);
|
|
13850
13664
|
}
|
|
13851
13665
|
|
|
13852
13666
|
function constructError(pos, ast) {
|
|
@@ -13856,13 +13670,7 @@ function constructError(pos, ast) {
|
|
|
13856
13670
|
function constructVecErrorLabel(pos, ast) {
|
|
13857
13671
|
const { uint32 } = ast.buffer,
|
|
13858
13672
|
pos32 = pos >> 2;
|
|
13859
|
-
return new NodeArray(
|
|
13860
|
-
uint32[pos32],
|
|
13861
|
-
uint32[pos32 + 2],
|
|
13862
|
-
24,
|
|
13863
|
-
constructErrorLabel,
|
|
13864
|
-
ast,
|
|
13865
|
-
);
|
|
13673
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 24, constructErrorLabel, ast);
|
|
13866
13674
|
}
|
|
13867
13675
|
|
|
13868
13676
|
function constructErrorLabel(pos, ast) {
|
|
@@ -13872,13 +13680,7 @@ function constructErrorLabel(pos, ast) {
|
|
|
13872
13680
|
function constructVecStaticImport(pos, ast) {
|
|
13873
13681
|
const { uint32 } = ast.buffer,
|
|
13874
13682
|
pos32 = pos >> 2;
|
|
13875
|
-
return new NodeArray(
|
|
13876
|
-
uint32[pos32],
|
|
13877
|
-
uint32[pos32 + 2],
|
|
13878
|
-
56,
|
|
13879
|
-
constructStaticImport,
|
|
13880
|
-
ast,
|
|
13881
|
-
);
|
|
13683
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 56, constructStaticImport, ast);
|
|
13882
13684
|
}
|
|
13883
13685
|
|
|
13884
13686
|
function constructStaticImport(pos, ast) {
|
|
@@ -13888,13 +13690,7 @@ function constructStaticImport(pos, ast) {
|
|
|
13888
13690
|
function constructVecStaticExport(pos, ast) {
|
|
13889
13691
|
const { uint32 } = ast.buffer,
|
|
13890
13692
|
pos32 = pos >> 2;
|
|
13891
|
-
return new NodeArray(
|
|
13892
|
-
uint32[pos32],
|
|
13893
|
-
uint32[pos32 + 2],
|
|
13894
|
-
32,
|
|
13895
|
-
constructStaticExport,
|
|
13896
|
-
ast,
|
|
13897
|
-
);
|
|
13693
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 32, constructStaticExport, ast);
|
|
13898
13694
|
}
|
|
13899
13695
|
|
|
13900
13696
|
function constructStaticExport(pos, ast) {
|
|
@@ -13904,13 +13700,7 @@ function constructStaticExport(pos, ast) {
|
|
|
13904
13700
|
function constructVecDynamicImport(pos, ast) {
|
|
13905
13701
|
const { uint32 } = ast.buffer,
|
|
13906
13702
|
pos32 = pos >> 2;
|
|
13907
|
-
return new NodeArray(
|
|
13908
|
-
uint32[pos32],
|
|
13909
|
-
uint32[pos32 + 2],
|
|
13910
|
-
16,
|
|
13911
|
-
constructDynamicImport,
|
|
13912
|
-
ast,
|
|
13913
|
-
);
|
|
13703
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 16, constructDynamicImport, ast);
|
|
13914
13704
|
}
|
|
13915
13705
|
|
|
13916
13706
|
function constructDynamicImport(pos, ast) {
|
|
@@ -13920,13 +13710,7 @@ function constructDynamicImport(pos, ast) {
|
|
|
13920
13710
|
function constructVecSpan(pos, ast) {
|
|
13921
13711
|
const { uint32 } = ast.buffer,
|
|
13922
13712
|
pos32 = pos >> 2;
|
|
13923
|
-
return new NodeArray(
|
|
13924
|
-
uint32[pos32],
|
|
13925
|
-
uint32[pos32 + 2],
|
|
13926
|
-
8,
|
|
13927
|
-
constructSpan,
|
|
13928
|
-
ast,
|
|
13929
|
-
);
|
|
13713
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 8, constructSpan, ast);
|
|
13930
13714
|
}
|
|
13931
13715
|
|
|
13932
13716
|
function constructSpan(pos, ast) {
|
|
@@ -13936,13 +13720,7 @@ function constructSpan(pos, ast) {
|
|
|
13936
13720
|
function constructVecImportEntry(pos, ast) {
|
|
13937
13721
|
const { uint32 } = ast.buffer,
|
|
13938
13722
|
pos32 = pos >> 2;
|
|
13939
|
-
return new NodeArray(
|
|
13940
|
-
uint32[pos32],
|
|
13941
|
-
uint32[pos32 + 2],
|
|
13942
|
-
96,
|
|
13943
|
-
constructImportEntry,
|
|
13944
|
-
ast,
|
|
13945
|
-
);
|
|
13723
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 96, constructImportEntry, ast);
|
|
13946
13724
|
}
|
|
13947
13725
|
|
|
13948
13726
|
function constructImportEntry(pos, ast) {
|
|
@@ -13952,13 +13730,7 @@ function constructImportEntry(pos, ast) {
|
|
|
13952
13730
|
function constructVecExportEntry(pos, ast) {
|
|
13953
13731
|
const { uint32 } = ast.buffer,
|
|
13954
13732
|
pos32 = pos >> 2;
|
|
13955
|
-
return new NodeArray(
|
|
13956
|
-
uint32[pos32],
|
|
13957
|
-
uint32[pos32 + 2],
|
|
13958
|
-
144,
|
|
13959
|
-
constructExportEntry,
|
|
13960
|
-
ast,
|
|
13961
|
-
);
|
|
13733
|
+
return new NodeArray(uint32[pos32], uint32[pos32 + 2], 144, constructExportEntry, ast);
|
|
13962
13734
|
}
|
|
13963
13735
|
|
|
13964
13736
|
function constructExportEntry(pos, ast) {
|