oxc-parser 0.69.0 → 0.71.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/README.md +13 -5
- package/bindings.js +2 -1
- package/generated/deserialize/js.js +221 -210
- package/generated/deserialize/ts.js +262 -252
- package/index.d.ts +2 -1
- package/package.json +21 -18
|
@@ -35,8 +35,8 @@ function deserialize(buffer, sourceTextInput, sourceLenInput) {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
function deserializeProgram(pos) {
|
|
38
|
-
const body = deserializeVecDirective(pos +
|
|
39
|
-
body.push(...deserializeVecStatement(pos +
|
|
38
|
+
const body = deserializeVecDirective(pos + 72);
|
|
39
|
+
body.push(...deserializeVecStatement(pos + 96));
|
|
40
40
|
|
|
41
41
|
const start = deserializeU32(pos);
|
|
42
42
|
const end = deserializeU32(pos + 4);
|
|
@@ -46,8 +46,8 @@ function deserializeProgram(pos) {
|
|
|
46
46
|
start,
|
|
47
47
|
end,
|
|
48
48
|
body,
|
|
49
|
-
sourceType: deserializeModuleKind(pos +
|
|
50
|
-
hashbang: deserializeOptionHashbang(pos +
|
|
49
|
+
sourceType: deserializeModuleKind(pos + 125),
|
|
50
|
+
hashbang: deserializeOptionHashbang(pos + 48),
|
|
51
51
|
};
|
|
52
52
|
return program;
|
|
53
53
|
}
|
|
@@ -123,12 +123,12 @@ function deserializeObjectProperty(pos) {
|
|
|
123
123
|
type: 'Property',
|
|
124
124
|
start: deserializeU32(pos),
|
|
125
125
|
end: deserializeU32(pos + 4),
|
|
126
|
-
method: deserializeBool(pos +
|
|
127
|
-
shorthand: deserializeBool(pos +
|
|
128
|
-
computed: deserializeBool(pos +
|
|
129
|
-
key: deserializePropertyKey(pos +
|
|
130
|
-
value: deserializeExpression(pos +
|
|
131
|
-
kind: deserializePropertyKind(pos +
|
|
126
|
+
method: deserializeBool(pos + 41),
|
|
127
|
+
shorthand: deserializeBool(pos + 42),
|
|
128
|
+
computed: deserializeBool(pos + 43),
|
|
129
|
+
key: deserializePropertyKey(pos + 8),
|
|
130
|
+
value: deserializeExpression(pos + 24),
|
|
131
|
+
kind: deserializePropertyKind(pos + 40),
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -137,7 +137,7 @@ function deserializeTemplateLiteral(pos) {
|
|
|
137
137
|
type: 'TemplateLiteral',
|
|
138
138
|
start: deserializeU32(pos),
|
|
139
139
|
end: deserializeU32(pos + 4),
|
|
140
|
-
expressions: deserializeVecExpression(pos +
|
|
140
|
+
expressions: deserializeVecExpression(pos + 32),
|
|
141
141
|
quasis: deserializeVecTemplateElement(pos + 8),
|
|
142
142
|
};
|
|
143
143
|
}
|
|
@@ -214,7 +214,7 @@ function deserializeCallExpression(pos) {
|
|
|
214
214
|
end: deserializeU32(pos + 4),
|
|
215
215
|
callee: deserializeExpression(pos + 8),
|
|
216
216
|
arguments: deserializeVecArgument(pos + 32),
|
|
217
|
-
optional: deserializeBool(pos +
|
|
217
|
+
optional: deserializeBool(pos + 56),
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -252,9 +252,9 @@ function deserializeUpdateExpression(pos) {
|
|
|
252
252
|
type: 'UpdateExpression',
|
|
253
253
|
start: deserializeU32(pos),
|
|
254
254
|
end: deserializeU32(pos + 4),
|
|
255
|
-
operator: deserializeUpdateOperator(pos +
|
|
256
|
-
prefix: deserializeBool(pos +
|
|
257
|
-
argument: deserializeSimpleAssignmentTarget(pos +
|
|
255
|
+
operator: deserializeUpdateOperator(pos + 24),
|
|
256
|
+
prefix: deserializeBool(pos + 25),
|
|
257
|
+
argument: deserializeSimpleAssignmentTarget(pos + 8),
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -263,9 +263,9 @@ function deserializeUnaryExpression(pos) {
|
|
|
263
263
|
type: 'UnaryExpression',
|
|
264
264
|
start: deserializeU32(pos),
|
|
265
265
|
end: deserializeU32(pos + 4),
|
|
266
|
-
operator: deserializeUnaryOperator(pos +
|
|
266
|
+
operator: deserializeUnaryOperator(pos + 24),
|
|
267
267
|
prefix: true,
|
|
268
|
-
argument: deserializeExpression(pos +
|
|
268
|
+
argument: deserializeExpression(pos + 8),
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
271
|
|
|
@@ -275,8 +275,8 @@ function deserializeBinaryExpression(pos) {
|
|
|
275
275
|
start: deserializeU32(pos),
|
|
276
276
|
end: deserializeU32(pos + 4),
|
|
277
277
|
left: deserializeExpression(pos + 8),
|
|
278
|
-
operator: deserializeBinaryOperator(pos +
|
|
279
|
-
right: deserializeExpression(pos +
|
|
278
|
+
operator: deserializeBinaryOperator(pos + 40),
|
|
279
|
+
right: deserializeExpression(pos + 24),
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
282
|
|
|
@@ -297,8 +297,8 @@ function deserializeLogicalExpression(pos) {
|
|
|
297
297
|
start: deserializeU32(pos),
|
|
298
298
|
end: deserializeU32(pos + 4),
|
|
299
299
|
left: deserializeExpression(pos + 8),
|
|
300
|
-
operator: deserializeLogicalOperator(pos +
|
|
301
|
-
right: deserializeExpression(pos +
|
|
300
|
+
operator: deserializeLogicalOperator(pos + 40),
|
|
301
|
+
right: deserializeExpression(pos + 24),
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -318,15 +318,15 @@ function deserializeAssignmentExpression(pos) {
|
|
|
318
318
|
type: 'AssignmentExpression',
|
|
319
319
|
start: deserializeU32(pos),
|
|
320
320
|
end: deserializeU32(pos + 4),
|
|
321
|
-
operator: deserializeAssignmentOperator(pos +
|
|
322
|
-
left: deserializeAssignmentTarget(pos +
|
|
323
|
-
right: deserializeExpression(pos +
|
|
321
|
+
operator: deserializeAssignmentOperator(pos + 40),
|
|
322
|
+
left: deserializeAssignmentTarget(pos + 8),
|
|
323
|
+
right: deserializeExpression(pos + 24),
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
function deserializeArrayAssignmentTarget(pos) {
|
|
328
328
|
const elements = deserializeVecOptionAssignmentTargetMaybeDefault(pos + 8);
|
|
329
|
-
const rest = deserializeOptionAssignmentTargetRest(pos +
|
|
329
|
+
const rest = deserializeOptionAssignmentTargetRest(pos + 32);
|
|
330
330
|
if (rest !== null) elements.push(rest);
|
|
331
331
|
return {
|
|
332
332
|
type: 'ArrayPattern',
|
|
@@ -338,7 +338,7 @@ function deserializeArrayAssignmentTarget(pos) {
|
|
|
338
338
|
|
|
339
339
|
function deserializeObjectAssignmentTarget(pos) {
|
|
340
340
|
const properties = deserializeVecAssignmentTargetProperty(pos + 8);
|
|
341
|
-
const rest = deserializeOptionAssignmentTargetRest(pos +
|
|
341
|
+
const rest = deserializeOptionAssignmentTargetRest(pos + 32);
|
|
342
342
|
if (rest !== null) properties.push(rest);
|
|
343
343
|
return {
|
|
344
344
|
type: 'ObjectPattern',
|
|
@@ -486,8 +486,8 @@ function deserializeVariableDeclaration(pos) {
|
|
|
486
486
|
type: 'VariableDeclaration',
|
|
487
487
|
start: deserializeU32(pos),
|
|
488
488
|
end: deserializeU32(pos + 4),
|
|
489
|
-
declarations: deserializeVecVariableDeclarator(pos +
|
|
490
|
-
kind: deserializeVariableDeclarationKind(pos +
|
|
489
|
+
declarations: deserializeVecVariableDeclarator(pos + 8),
|
|
490
|
+
kind: deserializeVariableDeclarationKind(pos + 32),
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
493
|
|
|
@@ -496,8 +496,8 @@ function deserializeVariableDeclarator(pos) {
|
|
|
496
496
|
type: 'VariableDeclarator',
|
|
497
497
|
start: deserializeU32(pos),
|
|
498
498
|
end: deserializeU32(pos + 4),
|
|
499
|
-
id: deserializeBindingPattern(pos +
|
|
500
|
-
init: deserializeOptionExpression(pos +
|
|
499
|
+
id: deserializeBindingPattern(pos + 8),
|
|
500
|
+
init: deserializeOptionExpression(pos + 40),
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
503
|
|
|
@@ -577,10 +577,10 @@ function deserializeForOfStatement(pos) {
|
|
|
577
577
|
type: 'ForOfStatement',
|
|
578
578
|
start: deserializeU32(pos),
|
|
579
579
|
end: deserializeU32(pos + 4),
|
|
580
|
-
await: deserializeBool(pos +
|
|
581
|
-
left: deserializeForStatementLeft(pos +
|
|
582
|
-
right: deserializeExpression(pos +
|
|
583
|
-
body: deserializeStatement(pos +
|
|
580
|
+
await: deserializeBool(pos + 60),
|
|
581
|
+
left: deserializeForStatementLeft(pos + 8),
|
|
582
|
+
right: deserializeExpression(pos + 24),
|
|
583
|
+
body: deserializeStatement(pos + 40),
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
586
|
|
|
@@ -713,7 +713,7 @@ function deserializeAssignmentPattern(pos) {
|
|
|
713
713
|
|
|
714
714
|
function deserializeObjectPattern(pos) {
|
|
715
715
|
const properties = deserializeVecBindingProperty(pos + 8);
|
|
716
|
-
const rest = deserializeOptionBoxBindingRestElement(pos +
|
|
716
|
+
const rest = deserializeOptionBoxBindingRestElement(pos + 32);
|
|
717
717
|
if (rest !== null) properties.push(rest);
|
|
718
718
|
return {
|
|
719
719
|
type: 'ObjectPattern',
|
|
@@ -739,7 +739,7 @@ function deserializeBindingProperty(pos) {
|
|
|
739
739
|
|
|
740
740
|
function deserializeArrayPattern(pos) {
|
|
741
741
|
const elements = deserializeVecOptionBindingPattern(pos + 8);
|
|
742
|
-
const rest = deserializeOptionBoxBindingRestElement(pos +
|
|
742
|
+
const rest = deserializeOptionBoxBindingRestElement(pos + 32);
|
|
743
743
|
if (rest !== null) elements.push(rest);
|
|
744
744
|
return {
|
|
745
745
|
type: 'ArrayPattern',
|
|
@@ -759,24 +759,24 @@ function deserializeBindingRestElement(pos) {
|
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
function deserializeFunction(pos) {
|
|
762
|
-
const params = deserializeBoxFormalParameters(pos +
|
|
762
|
+
const params = deserializeBoxFormalParameters(pos + 56);
|
|
763
763
|
return {
|
|
764
|
-
type: deserializeFunctionType(pos +
|
|
764
|
+
type: deserializeFunctionType(pos + 84),
|
|
765
765
|
start: deserializeU32(pos),
|
|
766
766
|
end: deserializeU32(pos + 4),
|
|
767
|
-
id: deserializeOptionBindingIdentifier(pos +
|
|
767
|
+
id: deserializeOptionBindingIdentifier(pos + 8),
|
|
768
768
|
expression: false,
|
|
769
|
-
generator: deserializeBool(pos +
|
|
770
|
-
async: deserializeBool(pos +
|
|
769
|
+
generator: deserializeBool(pos + 85),
|
|
770
|
+
async: deserializeBool(pos + 86),
|
|
771
771
|
params,
|
|
772
|
-
body: deserializeOptionBoxFunctionBody(pos +
|
|
772
|
+
body: deserializeOptionBoxFunctionBody(pos + 72),
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
function deserializeFormalParameters(pos) {
|
|
777
|
-
const params = deserializeVecFormalParameter(pos +
|
|
778
|
-
if (uint32[(pos +
|
|
779
|
-
pos = uint32[(pos +
|
|
777
|
+
const params = deserializeVecFormalParameter(pos + 8);
|
|
778
|
+
if (uint32[(pos + 32) >> 2] !== 0 && uint32[(pos + 36) >> 2] !== 0) {
|
|
779
|
+
pos = uint32[(pos + 32) >> 2];
|
|
780
780
|
params.push({
|
|
781
781
|
type: 'RestElement',
|
|
782
782
|
start: deserializeU32(pos),
|
|
@@ -788,12 +788,12 @@ function deserializeFormalParameters(pos) {
|
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
function deserializeFormalParameter(pos) {
|
|
791
|
-
return deserializeBindingPatternKind(pos +
|
|
791
|
+
return deserializeBindingPatternKind(pos + 32);
|
|
792
792
|
}
|
|
793
793
|
|
|
794
794
|
function deserializeFunctionBody(pos) {
|
|
795
795
|
const body = deserializeVecDirective(pos + 8);
|
|
796
|
-
body.push(...deserializeVecStatement(pos +
|
|
796
|
+
body.push(...deserializeVecStatement(pos + 32));
|
|
797
797
|
return {
|
|
798
798
|
type: 'BlockStatement',
|
|
799
799
|
start: deserializeU32(pos),
|
|
@@ -803,8 +803,8 @@ function deserializeFunctionBody(pos) {
|
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
function deserializeArrowFunctionExpression(pos) {
|
|
806
|
-
const expression = deserializeBool(pos +
|
|
807
|
-
let body = deserializeBoxFunctionBody(pos +
|
|
806
|
+
const expression = deserializeBool(pos + 44);
|
|
807
|
+
let body = deserializeBoxFunctionBody(pos + 32);
|
|
808
808
|
return {
|
|
809
809
|
type: 'ArrowFunctionExpression',
|
|
810
810
|
start: deserializeU32(pos),
|
|
@@ -812,8 +812,8 @@ function deserializeArrowFunctionExpression(pos) {
|
|
|
812
812
|
id: null,
|
|
813
813
|
expression,
|
|
814
814
|
generator: false,
|
|
815
|
-
async: deserializeBool(pos +
|
|
816
|
-
params: deserializeBoxFormalParameters(pos +
|
|
815
|
+
async: deserializeBool(pos + 45),
|
|
816
|
+
params: deserializeBoxFormalParameters(pos + 16),
|
|
817
817
|
body: expression ? body.body[0].expression : body,
|
|
818
818
|
};
|
|
819
819
|
}
|
|
@@ -823,19 +823,19 @@ function deserializeYieldExpression(pos) {
|
|
|
823
823
|
type: 'YieldExpression',
|
|
824
824
|
start: deserializeU32(pos),
|
|
825
825
|
end: deserializeU32(pos + 4),
|
|
826
|
-
delegate: deserializeBool(pos +
|
|
827
|
-
argument: deserializeOptionExpression(pos +
|
|
826
|
+
delegate: deserializeBool(pos + 24),
|
|
827
|
+
argument: deserializeOptionExpression(pos + 8),
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
function deserializeClass(pos) {
|
|
832
832
|
return {
|
|
833
|
-
type: deserializeClassType(pos +
|
|
833
|
+
type: deserializeClassType(pos + 132),
|
|
834
834
|
start: deserializeU32(pos),
|
|
835
835
|
end: deserializeU32(pos + 4),
|
|
836
|
-
id: deserializeOptionBindingIdentifier(pos +
|
|
837
|
-
superClass: deserializeOptionExpression(pos +
|
|
838
|
-
body: deserializeBoxClassBody(pos +
|
|
836
|
+
id: deserializeOptionBindingIdentifier(pos + 32),
|
|
837
|
+
superClass: deserializeOptionExpression(pos + 72),
|
|
838
|
+
body: deserializeBoxClassBody(pos + 120),
|
|
839
839
|
};
|
|
840
840
|
}
|
|
841
841
|
|
|
@@ -850,26 +850,26 @@ function deserializeClassBody(pos) {
|
|
|
850
850
|
|
|
851
851
|
function deserializeMethodDefinition(pos) {
|
|
852
852
|
return {
|
|
853
|
-
type: deserializeMethodDefinitionType(pos +
|
|
853
|
+
type: deserializeMethodDefinitionType(pos + 56),
|
|
854
854
|
start: deserializeU32(pos),
|
|
855
855
|
end: deserializeU32(pos + 4),
|
|
856
|
-
static: deserializeBool(pos +
|
|
857
|
-
computed: deserializeBool(pos +
|
|
858
|
-
key: deserializePropertyKey(pos +
|
|
859
|
-
kind: deserializeMethodDefinitionKind(pos +
|
|
860
|
-
value: deserializeBoxFunction(pos +
|
|
856
|
+
static: deserializeBool(pos + 59),
|
|
857
|
+
computed: deserializeBool(pos + 58),
|
|
858
|
+
key: deserializePropertyKey(pos + 32),
|
|
859
|
+
kind: deserializeMethodDefinitionKind(pos + 57),
|
|
860
|
+
value: deserializeBoxFunction(pos + 48),
|
|
861
861
|
};
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
function deserializePropertyDefinition(pos) {
|
|
865
865
|
return {
|
|
866
|
-
type: deserializePropertyDefinitionType(pos +
|
|
866
|
+
type: deserializePropertyDefinitionType(pos + 72),
|
|
867
867
|
start: deserializeU32(pos),
|
|
868
868
|
end: deserializeU32(pos + 4),
|
|
869
|
-
static: deserializeBool(pos +
|
|
870
|
-
computed: deserializeBool(pos +
|
|
871
|
-
key: deserializePropertyKey(pos +
|
|
872
|
-
value: deserializeOptionExpression(pos +
|
|
869
|
+
static: deserializeBool(pos + 74),
|
|
870
|
+
computed: deserializeBool(pos + 73),
|
|
871
|
+
key: deserializePropertyKey(pos + 32),
|
|
872
|
+
value: deserializeOptionExpression(pos + 56),
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
875
|
|
|
@@ -893,13 +893,13 @@ function deserializeStaticBlock(pos) {
|
|
|
893
893
|
|
|
894
894
|
function deserializeAccessorProperty(pos) {
|
|
895
895
|
return {
|
|
896
|
-
type: deserializeAccessorPropertyType(pos +
|
|
896
|
+
type: deserializeAccessorPropertyType(pos + 72),
|
|
897
897
|
start: deserializeU32(pos),
|
|
898
898
|
end: deserializeU32(pos + 4),
|
|
899
|
-
key: deserializePropertyKey(pos +
|
|
900
|
-
value: deserializeOptionExpression(pos +
|
|
901
|
-
computed: deserializeBool(pos +
|
|
902
|
-
static: deserializeBool(pos +
|
|
899
|
+
key: deserializePropertyKey(pos + 32),
|
|
900
|
+
value: deserializeOptionExpression(pos + 56),
|
|
901
|
+
computed: deserializeBool(pos + 73),
|
|
902
|
+
static: deserializeBool(pos + 74),
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
905
|
|
|
@@ -910,20 +910,22 @@ function deserializeImportExpression(pos) {
|
|
|
910
910
|
end: deserializeU32(pos + 4),
|
|
911
911
|
source: deserializeExpression(pos + 8),
|
|
912
912
|
options: deserializeOptionExpression(pos + 24),
|
|
913
|
+
phase: deserializeOptionImportPhase(pos + 40),
|
|
913
914
|
};
|
|
914
915
|
}
|
|
915
916
|
|
|
916
917
|
function deserializeImportDeclaration(pos) {
|
|
917
918
|
let specifiers = deserializeOptionVecImportDeclarationSpecifier(pos + 8);
|
|
918
919
|
if (specifiers === null) specifiers = [];
|
|
919
|
-
const withClause = deserializeOptionBoxWithClause(pos +
|
|
920
|
+
const withClause = deserializeOptionBoxWithClause(pos + 80);
|
|
920
921
|
return {
|
|
921
922
|
type: 'ImportDeclaration',
|
|
922
923
|
start: deserializeU32(pos),
|
|
923
924
|
end: deserializeU32(pos + 4),
|
|
924
925
|
specifiers,
|
|
925
|
-
source: deserializeStringLiteral(pos +
|
|
926
|
-
attributes: withClause === null ? [] : withClause.
|
|
926
|
+
source: deserializeStringLiteral(pos + 32),
|
|
927
|
+
attributes: withClause === null ? [] : withClause.attributes,
|
|
928
|
+
phase: deserializeOptionImportPhase(pos + 88),
|
|
927
929
|
};
|
|
928
930
|
}
|
|
929
931
|
|
|
@@ -957,11 +959,7 @@ function deserializeImportNamespaceSpecifier(pos) {
|
|
|
957
959
|
|
|
958
960
|
function deserializeWithClause(pos) {
|
|
959
961
|
return {
|
|
960
|
-
|
|
961
|
-
start: deserializeU32(pos),
|
|
962
|
-
end: deserializeU32(pos + 4),
|
|
963
|
-
attributesKeyword: deserializeIdentifierName(pos + 8),
|
|
964
|
-
withEntries: deserializeVecImportAttribute(pos + 32),
|
|
962
|
+
attributes: deserializeVecImportAttribute(pos + 32),
|
|
965
963
|
};
|
|
966
964
|
}
|
|
967
965
|
|
|
@@ -976,15 +974,15 @@ function deserializeImportAttribute(pos) {
|
|
|
976
974
|
}
|
|
977
975
|
|
|
978
976
|
function deserializeExportNamedDeclaration(pos) {
|
|
979
|
-
const withClause = deserializeOptionBoxWithClause(pos +
|
|
977
|
+
const withClause = deserializeOptionBoxWithClause(pos + 96);
|
|
980
978
|
return {
|
|
981
979
|
type: 'ExportNamedDeclaration',
|
|
982
980
|
start: deserializeU32(pos),
|
|
983
981
|
end: deserializeU32(pos + 4),
|
|
984
982
|
declaration: deserializeOptionDeclaration(pos + 8),
|
|
985
983
|
specifiers: deserializeVecExportSpecifier(pos + 24),
|
|
986
|
-
source: deserializeOptionStringLiteral(pos +
|
|
987
|
-
attributes: withClause === null ? [] : withClause.
|
|
984
|
+
source: deserializeOptionStringLiteral(pos + 48),
|
|
985
|
+
attributes: withClause === null ? [] : withClause.attributes,
|
|
988
986
|
};
|
|
989
987
|
}
|
|
990
988
|
|
|
@@ -1005,7 +1003,7 @@ function deserializeExportAllDeclaration(pos) {
|
|
|
1005
1003
|
end: deserializeU32(pos + 4),
|
|
1006
1004
|
exported: deserializeOptionModuleExportName(pos + 8),
|
|
1007
1005
|
source: deserializeStringLiteral(pos + 64),
|
|
1008
|
-
attributes: withClause === null ? [] : withClause.
|
|
1006
|
+
attributes: withClause === null ? [] : withClause.attributes,
|
|
1009
1007
|
};
|
|
1010
1008
|
}
|
|
1011
1009
|
|
|
@@ -1136,7 +1134,7 @@ function deserializeRegExpFlags(pos) {
|
|
|
1136
1134
|
}
|
|
1137
1135
|
|
|
1138
1136
|
function deserializeJSXElement(pos) {
|
|
1139
|
-
const closingElement = deserializeOptionBoxJSXClosingElement(pos +
|
|
1137
|
+
const closingElement = deserializeOptionBoxJSXClosingElement(pos + 40);
|
|
1140
1138
|
const openingElement = deserializeBoxJSXOpeningElement(pos + 8);
|
|
1141
1139
|
if (closingElement === null) openingElement.selfClosing = true;
|
|
1142
1140
|
return {
|
|
@@ -1175,20 +1173,19 @@ function deserializeJSXFragment(pos) {
|
|
|
1175
1173
|
start: deserializeU32(pos),
|
|
1176
1174
|
end: deserializeU32(pos + 4),
|
|
1177
1175
|
openingFragment: deserializeJSXOpeningFragment(pos + 8),
|
|
1178
|
-
closingFragment: deserializeJSXClosingFragment(pos +
|
|
1176
|
+
closingFragment: deserializeJSXClosingFragment(pos + 40),
|
|
1179
1177
|
children: deserializeVecJSXChild(pos + 16),
|
|
1180
1178
|
};
|
|
1181
1179
|
}
|
|
1182
1180
|
|
|
1183
1181
|
function deserializeJSXOpeningFragment(pos) {
|
|
1184
|
-
|
|
1182
|
+
return {
|
|
1185
1183
|
type: 'JSXOpeningFragment',
|
|
1186
1184
|
start: deserializeU32(pos),
|
|
1187
1185
|
end: deserializeU32(pos + 4),
|
|
1188
1186
|
attributes: [],
|
|
1189
1187
|
selfClosing: false,
|
|
1190
1188
|
};
|
|
1191
|
-
return node;
|
|
1192
1189
|
}
|
|
1193
1190
|
|
|
1194
1191
|
function deserializeJSXClosingFragment(pos) {
|
|
@@ -1302,8 +1299,8 @@ function deserializeTSEnumDeclaration(pos) {
|
|
|
1302
1299
|
end: deserializeU32(pos + 4),
|
|
1303
1300
|
id: deserializeBindingIdentifier(pos + 8),
|
|
1304
1301
|
body: deserializeTSEnumBody(pos + 40),
|
|
1305
|
-
const: deserializeBool(pos +
|
|
1306
|
-
declare: deserializeBool(pos +
|
|
1302
|
+
const: deserializeBool(pos + 76),
|
|
1303
|
+
declare: deserializeBool(pos + 77),
|
|
1307
1304
|
};
|
|
1308
1305
|
}
|
|
1309
1306
|
|
|
@@ -1389,8 +1386,8 @@ function deserializeTSTypeOperator(pos) {
|
|
|
1389
1386
|
type: 'TSTypeOperator',
|
|
1390
1387
|
start: deserializeU32(pos),
|
|
1391
1388
|
end: deserializeU32(pos + 4),
|
|
1392
|
-
operator: deserializeTSTypeOperatorOperator(pos +
|
|
1393
|
-
typeAnnotation: deserializeTSType(pos +
|
|
1389
|
+
operator: deserializeTSTypeOperatorOperator(pos + 24),
|
|
1390
|
+
typeAnnotation: deserializeTSType(pos + 8),
|
|
1394
1391
|
};
|
|
1395
1392
|
}
|
|
1396
1393
|
|
|
@@ -1623,7 +1620,7 @@ function deserializeTSTypeAliasDeclaration(pos) {
|
|
|
1623
1620
|
id: deserializeBindingIdentifier(pos + 8),
|
|
1624
1621
|
typeParameters: deserializeOptionBoxTSTypeParameterDeclaration(pos + 40),
|
|
1625
1622
|
typeAnnotation: deserializeTSType(pos + 48),
|
|
1626
|
-
declare: deserializeBool(pos +
|
|
1623
|
+
declare: deserializeBool(pos + 68),
|
|
1627
1624
|
};
|
|
1628
1625
|
}
|
|
1629
1626
|
|
|
@@ -1670,8 +1667,8 @@ function deserializeTSInterfaceDeclaration(pos) {
|
|
|
1670
1667
|
id: deserializeBindingIdentifier(pos + 8),
|
|
1671
1668
|
typeParameters: deserializeOptionBoxTSTypeParameterDeclaration(pos + 40),
|
|
1672
1669
|
extends: deserializeVecTSInterfaceHeritage(pos + 48),
|
|
1673
|
-
body: deserializeBoxTSInterfaceBody(pos +
|
|
1674
|
-
declare: deserializeBool(pos +
|
|
1670
|
+
body: deserializeBoxTSInterfaceBody(pos + 72),
|
|
1671
|
+
declare: deserializeBool(pos + 84),
|
|
1675
1672
|
};
|
|
1676
1673
|
}
|
|
1677
1674
|
|
|
@@ -1689,11 +1686,11 @@ function deserializeTSPropertySignature(pos) {
|
|
|
1689
1686
|
type: 'TSPropertySignature',
|
|
1690
1687
|
start: deserializeU32(pos),
|
|
1691
1688
|
end: deserializeU32(pos + 4),
|
|
1692
|
-
computed: deserializeBool(pos +
|
|
1693
|
-
optional: deserializeBool(pos +
|
|
1694
|
-
readonly: deserializeBool(pos +
|
|
1695
|
-
key: deserializePropertyKey(pos +
|
|
1696
|
-
typeAnnotation: deserializeOptionBoxTSTypeAnnotation(pos +
|
|
1689
|
+
computed: deserializeBool(pos + 32),
|
|
1690
|
+
optional: deserializeBool(pos + 33),
|
|
1691
|
+
readonly: deserializeBool(pos + 34),
|
|
1692
|
+
key: deserializePropertyKey(pos + 8),
|
|
1693
|
+
typeAnnotation: deserializeOptionBoxTSTypeAnnotation(pos + 24),
|
|
1697
1694
|
accessibility: null,
|
|
1698
1695
|
static: false,
|
|
1699
1696
|
};
|
|
@@ -1705,9 +1702,9 @@ function deserializeTSIndexSignature(pos) {
|
|
|
1705
1702
|
start: deserializeU32(pos),
|
|
1706
1703
|
end: deserializeU32(pos + 4),
|
|
1707
1704
|
parameters: deserializeVecTSIndexSignatureName(pos + 8),
|
|
1708
|
-
typeAnnotation: deserializeBoxTSTypeAnnotation(pos +
|
|
1709
|
-
readonly: deserializeBool(pos +
|
|
1710
|
-
static: deserializeBool(pos +
|
|
1705
|
+
typeAnnotation: deserializeBoxTSTypeAnnotation(pos + 32),
|
|
1706
|
+
readonly: deserializeBool(pos + 40),
|
|
1707
|
+
static: deserializeBool(pos + 41),
|
|
1711
1708
|
accessibility: null,
|
|
1712
1709
|
};
|
|
1713
1710
|
}
|
|
@@ -1727,20 +1724,20 @@ function deserializeTSCallSignatureDeclaration(pos) {
|
|
|
1727
1724
|
}
|
|
1728
1725
|
|
|
1729
1726
|
function deserializeTSMethodSignature(pos) {
|
|
1730
|
-
const params = deserializeBoxFormalParameters(pos +
|
|
1731
|
-
const thisParam = deserializeOptionBoxTSThisParameter(pos +
|
|
1727
|
+
const params = deserializeBoxFormalParameters(pos + 40);
|
|
1728
|
+
const thisParam = deserializeOptionBoxTSThisParameter(pos + 32);
|
|
1732
1729
|
if (thisParam !== null) params.unshift(thisParam);
|
|
1733
1730
|
return {
|
|
1734
1731
|
type: 'TSMethodSignature',
|
|
1735
1732
|
start: deserializeU32(pos),
|
|
1736
1733
|
end: deserializeU32(pos + 4),
|
|
1737
1734
|
key: deserializePropertyKey(pos + 8),
|
|
1738
|
-
computed: deserializeBool(pos +
|
|
1739
|
-
optional: deserializeBool(pos +
|
|
1740
|
-
kind: deserializeTSMethodSignatureKind(pos +
|
|
1741
|
-
typeParameters: deserializeOptionBoxTSTypeParameterDeclaration(pos +
|
|
1735
|
+
computed: deserializeBool(pos + 60),
|
|
1736
|
+
optional: deserializeBool(pos + 61),
|
|
1737
|
+
kind: deserializeTSMethodSignatureKind(pos + 62),
|
|
1738
|
+
typeParameters: deserializeOptionBoxTSTypeParameterDeclaration(pos + 24),
|
|
1742
1739
|
params,
|
|
1743
|
-
returnType: deserializeOptionBoxTSTypeAnnotation(pos +
|
|
1740
|
+
returnType: deserializeOptionBoxTSTypeAnnotation(pos + 48),
|
|
1744
1741
|
accessibility: null,
|
|
1745
1742
|
readonly: false,
|
|
1746
1743
|
static: false,
|
|
@@ -1786,29 +1783,48 @@ function deserializeTSTypePredicate(pos) {
|
|
|
1786
1783
|
start: deserializeU32(pos),
|
|
1787
1784
|
end: deserializeU32(pos + 4),
|
|
1788
1785
|
parameterName: deserializeTSTypePredicateName(pos + 8),
|
|
1789
|
-
asserts: deserializeBool(pos +
|
|
1790
|
-
typeAnnotation: deserializeOptionBoxTSTypeAnnotation(pos +
|
|
1786
|
+
asserts: deserializeBool(pos + 32),
|
|
1787
|
+
typeAnnotation: deserializeOptionBoxTSTypeAnnotation(pos + 24),
|
|
1791
1788
|
};
|
|
1792
1789
|
}
|
|
1793
1790
|
|
|
1794
1791
|
function deserializeTSModuleDeclaration(pos) {
|
|
1795
|
-
const kind = deserializeTSModuleDeclarationKind(pos +
|
|
1792
|
+
const kind = deserializeTSModuleDeclarationKind(pos + 84),
|
|
1796
1793
|
global = kind === 'global',
|
|
1797
1794
|
start = deserializeU32(pos),
|
|
1798
1795
|
end = deserializeU32(pos + 4),
|
|
1799
|
-
declare = deserializeBool(pos +
|
|
1796
|
+
declare = deserializeBool(pos + 85);
|
|
1800
1797
|
let id = deserializeTSModuleDeclarationName(pos + 8),
|
|
1801
1798
|
body = deserializeOptionTSModuleDeclarationBody(pos + 64);
|
|
1802
1799
|
|
|
1803
1800
|
// Flatten `body`, and nest `id`
|
|
1804
1801
|
if (body !== null && body.type === 'TSModuleDeclaration') {
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1802
|
+
let innerId = body.id;
|
|
1803
|
+
if (innerId.type === 'Identifier') {
|
|
1804
|
+
id = {
|
|
1805
|
+
type: 'TSQualifiedName',
|
|
1806
|
+
start: id.start,
|
|
1807
|
+
end: innerId.end,
|
|
1808
|
+
left: id,
|
|
1809
|
+
right: innerId,
|
|
1810
|
+
};
|
|
1811
|
+
} else {
|
|
1812
|
+
// Replace `left` of innermost `TSQualifiedName` with a nested `TSQualifiedName` with `id` of
|
|
1813
|
+
// this module on left, and previous `left` of innermost `TSQualifiedName` on right
|
|
1814
|
+
while (true) {
|
|
1815
|
+
innerId.start = id.start;
|
|
1816
|
+
if (innerId.left.type === 'Identifier') break;
|
|
1817
|
+
innerId = innerId.left;
|
|
1818
|
+
}
|
|
1819
|
+
innerId.left = {
|
|
1820
|
+
type: 'TSQualifiedName',
|
|
1821
|
+
start: id.start,
|
|
1822
|
+
end: innerId.left.end,
|
|
1823
|
+
left: id,
|
|
1824
|
+
right: innerId.left,
|
|
1825
|
+
};
|
|
1826
|
+
id = body.id;
|
|
1827
|
+
}
|
|
1812
1828
|
body = Object.hasOwn(body, 'body') ? body.body : null;
|
|
1813
1829
|
}
|
|
1814
1830
|
|
|
@@ -1821,7 +1837,7 @@ function deserializeTSModuleDeclaration(pos) {
|
|
|
1821
1837
|
|
|
1822
1838
|
function deserializeTSModuleBlock(pos) {
|
|
1823
1839
|
const body = deserializeVecDirective(pos + 8);
|
|
1824
|
-
body.push(...deserializeVecStatement(pos +
|
|
1840
|
+
body.push(...deserializeVecStatement(pos + 32));
|
|
1825
1841
|
return {
|
|
1826
1842
|
type: 'TSModuleBlock',
|
|
1827
1843
|
start: deserializeU32(pos),
|
|
@@ -1889,15 +1905,15 @@ function deserializeTSConstructorType(pos) {
|
|
|
1889
1905
|
type: 'TSConstructorType',
|
|
1890
1906
|
start: deserializeU32(pos),
|
|
1891
1907
|
end: deserializeU32(pos + 4),
|
|
1892
|
-
abstract: deserializeBool(pos +
|
|
1893
|
-
typeParameters: deserializeOptionBoxTSTypeParameterDeclaration(pos +
|
|
1894
|
-
params: deserializeBoxFormalParameters(pos +
|
|
1895
|
-
returnType: deserializeBoxTSTypeAnnotation(pos +
|
|
1908
|
+
abstract: deserializeBool(pos + 32),
|
|
1909
|
+
typeParameters: deserializeOptionBoxTSTypeParameterDeclaration(pos + 8),
|
|
1910
|
+
params: deserializeBoxFormalParameters(pos + 16),
|
|
1911
|
+
returnType: deserializeBoxTSTypeAnnotation(pos + 24),
|
|
1896
1912
|
};
|
|
1897
1913
|
}
|
|
1898
1914
|
|
|
1899
1915
|
function deserializeTSMappedType(pos) {
|
|
1900
|
-
let optional = deserializeOptionTSMappedTypeModifierOperator(pos +
|
|
1916
|
+
let optional = deserializeOptionTSMappedTypeModifierOperator(pos + 52);
|
|
1901
1917
|
if (optional === null) optional = false;
|
|
1902
1918
|
const typeParameter = deserializeBoxTSTypeParameter(pos + 8);
|
|
1903
1919
|
return {
|
|
@@ -1907,7 +1923,7 @@ function deserializeTSMappedType(pos) {
|
|
|
1907
1923
|
nameType: deserializeOptionTSType(pos + 16),
|
|
1908
1924
|
typeAnnotation: deserializeOptionTSType(pos + 32),
|
|
1909
1925
|
optional,
|
|
1910
|
-
readonly: deserializeOptionTSMappedTypeModifierOperator(pos +
|
|
1926
|
+
readonly: deserializeOptionTSMappedTypeModifierOperator(pos + 53),
|
|
1911
1927
|
key: typeParameter.name,
|
|
1912
1928
|
constraint: typeParameter.constraint,
|
|
1913
1929
|
};
|
|
@@ -1919,7 +1935,7 @@ function deserializeTSTemplateLiteralType(pos) {
|
|
|
1919
1935
|
start: deserializeU32(pos),
|
|
1920
1936
|
end: deserializeU32(pos + 4),
|
|
1921
1937
|
quasis: deserializeVecTemplateElement(pos + 8),
|
|
1922
|
-
types: deserializeVecTSType(pos +
|
|
1938
|
+
types: deserializeVecTSType(pos + 32),
|
|
1923
1939
|
};
|
|
1924
1940
|
}
|
|
1925
1941
|
|
|
@@ -2062,9 +2078,9 @@ function deserializeComment(pos) {
|
|
|
2062
2078
|
|
|
2063
2079
|
function deserializeNameSpan(pos) {
|
|
2064
2080
|
return {
|
|
2065
|
-
value: deserializeStr(pos),
|
|
2066
|
-
start: deserializeU32(pos
|
|
2067
|
-
end: deserializeU32(pos +
|
|
2081
|
+
value: deserializeStr(pos + 8),
|
|
2082
|
+
start: deserializeU32(pos),
|
|
2083
|
+
end: deserializeU32(pos + 4),
|
|
2068
2084
|
};
|
|
2069
2085
|
}
|
|
2070
2086
|
|
|
@@ -2078,8 +2094,8 @@ function deserializeImportEntry(pos) {
|
|
|
2078
2094
|
|
|
2079
2095
|
function deserializeExportEntry(pos) {
|
|
2080
2096
|
return {
|
|
2081
|
-
start: deserializeU32(pos
|
|
2082
|
-
end: deserializeU32(pos +
|
|
2097
|
+
start: deserializeU32(pos),
|
|
2098
|
+
end: deserializeU32(pos + 4),
|
|
2083
2099
|
moduleRequest: deserializeOptionNameSpan(pos + 16),
|
|
2084
2100
|
importName: deserializeExportImportName(pos + 40),
|
|
2085
2101
|
exportName: deserializeExportExportName(pos + 72),
|
|
@@ -2112,36 +2128,36 @@ function deserializeSourceType(pos) {
|
|
|
2112
2128
|
function deserializeRawTransferData(pos) {
|
|
2113
2129
|
return {
|
|
2114
2130
|
program: deserializeProgram(pos),
|
|
2115
|
-
comments: deserializeVecComment(pos +
|
|
2116
|
-
module: deserializeEcmaScriptModule(pos +
|
|
2117
|
-
errors: deserializeVecError(pos +
|
|
2131
|
+
comments: deserializeVecComment(pos + 128),
|
|
2132
|
+
module: deserializeEcmaScriptModule(pos + 152),
|
|
2133
|
+
errors: deserializeVecError(pos + 256),
|
|
2118
2134
|
};
|
|
2119
2135
|
}
|
|
2120
2136
|
|
|
2121
2137
|
function deserializeError(pos) {
|
|
2122
2138
|
return {
|
|
2123
|
-
severity: deserializeErrorSeverity(pos),
|
|
2124
|
-
message: deserializeStr(pos
|
|
2125
|
-
labels: deserializeVecErrorLabel(pos +
|
|
2126
|
-
helpMessage: deserializeOptionStr(pos +
|
|
2139
|
+
severity: deserializeErrorSeverity(pos + 56),
|
|
2140
|
+
message: deserializeStr(pos),
|
|
2141
|
+
labels: deserializeVecErrorLabel(pos + 16),
|
|
2142
|
+
helpMessage: deserializeOptionStr(pos + 40),
|
|
2127
2143
|
};
|
|
2128
2144
|
}
|
|
2129
2145
|
|
|
2130
2146
|
function deserializeErrorLabel(pos) {
|
|
2131
2147
|
return {
|
|
2132
|
-
message: deserializeOptionStr(pos),
|
|
2133
|
-
start: deserializeU32(pos
|
|
2134
|
-
end: deserializeU32(pos +
|
|
2148
|
+
message: deserializeOptionStr(pos + 8),
|
|
2149
|
+
start: deserializeU32(pos),
|
|
2150
|
+
end: deserializeU32(pos + 4),
|
|
2135
2151
|
};
|
|
2136
2152
|
}
|
|
2137
2153
|
|
|
2138
2154
|
function deserializeEcmaScriptModule(pos) {
|
|
2139
2155
|
return {
|
|
2140
|
-
hasModuleSyntax: deserializeBool(pos),
|
|
2141
|
-
staticImports: deserializeVecStaticImport(pos
|
|
2142
|
-
staticExports: deserializeVecStaticExport(pos +
|
|
2143
|
-
dynamicImports: deserializeVecDynamicImport(pos +
|
|
2144
|
-
importMetas: deserializeVecSpan(pos +
|
|
2156
|
+
hasModuleSyntax: deserializeBool(pos + 96),
|
|
2157
|
+
staticImports: deserializeVecStaticImport(pos),
|
|
2158
|
+
staticExports: deserializeVecStaticExport(pos + 24),
|
|
2159
|
+
dynamicImports: deserializeVecDynamicImport(pos + 48),
|
|
2160
|
+
importMetas: deserializeVecSpan(pos + 72),
|
|
2145
2161
|
};
|
|
2146
2162
|
}
|
|
2147
2163
|
|
|
@@ -4036,11 +4052,11 @@ function deserializeStr(pos) {
|
|
|
4036
4052
|
function deserializeVecComment(pos) {
|
|
4037
4053
|
const arr = [],
|
|
4038
4054
|
pos32 = pos >> 2,
|
|
4039
|
-
len = uint32[pos32 +
|
|
4055
|
+
len = uint32[pos32 + 2];
|
|
4040
4056
|
pos = uint32[pos32];
|
|
4041
4057
|
for (let i = 0; i < len; i++) {
|
|
4042
4058
|
arr.push(deserializeComment(pos));
|
|
4043
|
-
pos +=
|
|
4059
|
+
pos += 16;
|
|
4044
4060
|
}
|
|
4045
4061
|
return arr;
|
|
4046
4062
|
}
|
|
@@ -4053,7 +4069,7 @@ function deserializeOptionHashbang(pos) {
|
|
|
4053
4069
|
function deserializeVecDirective(pos) {
|
|
4054
4070
|
const arr = [],
|
|
4055
4071
|
pos32 = pos >> 2,
|
|
4056
|
-
len = uint32[pos32 +
|
|
4072
|
+
len = uint32[pos32 + 2];
|
|
4057
4073
|
pos = uint32[pos32];
|
|
4058
4074
|
for (let i = 0; i < len; i++) {
|
|
4059
4075
|
arr.push(deserializeDirective(pos));
|
|
@@ -4065,7 +4081,7 @@ function deserializeVecDirective(pos) {
|
|
|
4065
4081
|
function deserializeVecStatement(pos) {
|
|
4066
4082
|
const arr = [],
|
|
4067
4083
|
pos32 = pos >> 2,
|
|
4068
|
-
len = uint32[pos32 +
|
|
4084
|
+
len = uint32[pos32 + 2];
|
|
4069
4085
|
pos = uint32[pos32];
|
|
4070
4086
|
for (let i = 0; i < len; i++) {
|
|
4071
4087
|
arr.push(deserializeStatement(pos));
|
|
@@ -4252,7 +4268,7 @@ function deserializeOptionSymbolId(pos) {
|
|
|
4252
4268
|
function deserializeVecArrayExpressionElement(pos) {
|
|
4253
4269
|
const arr = [],
|
|
4254
4270
|
pos32 = pos >> 2,
|
|
4255
|
-
len = uint32[pos32 +
|
|
4271
|
+
len = uint32[pos32 + 2];
|
|
4256
4272
|
pos = uint32[pos32];
|
|
4257
4273
|
for (let i = 0; i < len; i++) {
|
|
4258
4274
|
arr.push(deserializeArrayExpressionElement(pos));
|
|
@@ -4268,7 +4284,7 @@ function deserializeBoxSpreadElement(pos) {
|
|
|
4268
4284
|
function deserializeVecObjectPropertyKind(pos) {
|
|
4269
4285
|
const arr = [],
|
|
4270
4286
|
pos32 = pos >> 2,
|
|
4271
|
-
len = uint32[pos32 +
|
|
4287
|
+
len = uint32[pos32 + 2];
|
|
4272
4288
|
pos = uint32[pos32];
|
|
4273
4289
|
for (let i = 0; i < len; i++) {
|
|
4274
4290
|
arr.push(deserializeObjectPropertyKind(pos));
|
|
@@ -4296,7 +4312,7 @@ function deserializeBoxPrivateIdentifier(pos) {
|
|
|
4296
4312
|
function deserializeVecTemplateElement(pos) {
|
|
4297
4313
|
const arr = [],
|
|
4298
4314
|
pos32 = pos >> 2,
|
|
4299
|
-
len = uint32[pos32 +
|
|
4315
|
+
len = uint32[pos32 + 2];
|
|
4300
4316
|
pos = uint32[pos32];
|
|
4301
4317
|
for (let i = 0; i < len; i++) {
|
|
4302
4318
|
arr.push(deserializeTemplateElement(pos));
|
|
@@ -4308,7 +4324,7 @@ function deserializeVecTemplateElement(pos) {
|
|
|
4308
4324
|
function deserializeVecExpression(pos) {
|
|
4309
4325
|
const arr = [],
|
|
4310
4326
|
pos32 = pos >> 2,
|
|
4311
|
-
len = uint32[pos32 +
|
|
4327
|
+
len = uint32[pos32 + 2];
|
|
4312
4328
|
pos = uint32[pos32];
|
|
4313
4329
|
for (let i = 0; i < len; i++) {
|
|
4314
4330
|
arr.push(deserializeExpression(pos));
|
|
@@ -4346,7 +4362,7 @@ function deserializeBoxPrivateFieldExpression(pos) {
|
|
|
4346
4362
|
function deserializeVecArgument(pos) {
|
|
4347
4363
|
const arr = [],
|
|
4348
4364
|
pos32 = pos >> 2,
|
|
4349
|
-
len = uint32[pos32 +
|
|
4365
|
+
len = uint32[pos32 + 2];
|
|
4350
4366
|
pos = uint32[pos32];
|
|
4351
4367
|
for (let i = 0; i < len; i++) {
|
|
4352
4368
|
arr.push(deserializeArgument(pos));
|
|
@@ -4371,7 +4387,7 @@ function deserializeOptionAssignmentTargetMaybeDefault(pos) {
|
|
|
4371
4387
|
function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
|
|
4372
4388
|
const arr = [],
|
|
4373
4389
|
pos32 = pos >> 2,
|
|
4374
|
-
len = uint32[pos32 +
|
|
4390
|
+
len = uint32[pos32 + 2];
|
|
4375
4391
|
pos = uint32[pos32];
|
|
4376
4392
|
for (let i = 0; i < len; i++) {
|
|
4377
4393
|
arr.push(deserializeOptionAssignmentTargetMaybeDefault(pos));
|
|
@@ -4388,7 +4404,7 @@ function deserializeOptionAssignmentTargetRest(pos) {
|
|
|
4388
4404
|
function deserializeVecAssignmentTargetProperty(pos) {
|
|
4389
4405
|
const arr = [],
|
|
4390
4406
|
pos32 = pos >> 2,
|
|
4391
|
-
len = uint32[pos32 +
|
|
4407
|
+
len = uint32[pos32 + 2];
|
|
4392
4408
|
pos = uint32[pos32];
|
|
4393
4409
|
for (let i = 0; i < len; i++) {
|
|
4394
4410
|
arr.push(deserializeAssignmentTargetProperty(pos));
|
|
@@ -4513,11 +4529,11 @@ function deserializeBoxTSImportEqualsDeclaration(pos) {
|
|
|
4513
4529
|
function deserializeVecVariableDeclarator(pos) {
|
|
4514
4530
|
const arr = [],
|
|
4515
4531
|
pos32 = pos >> 2,
|
|
4516
|
-
len = uint32[pos32 +
|
|
4532
|
+
len = uint32[pos32 + 2];
|
|
4517
4533
|
pos = uint32[pos32];
|
|
4518
4534
|
for (let i = 0; i < len; i++) {
|
|
4519
4535
|
arr.push(deserializeVariableDeclarator(pos));
|
|
4520
|
-
pos +=
|
|
4536
|
+
pos += 64;
|
|
4521
4537
|
}
|
|
4522
4538
|
return arr;
|
|
4523
4539
|
}
|
|
@@ -4540,11 +4556,11 @@ function deserializeOptionLabelIdentifier(pos) {
|
|
|
4540
4556
|
function deserializeVecSwitchCase(pos) {
|
|
4541
4557
|
const arr = [],
|
|
4542
4558
|
pos32 = pos >> 2,
|
|
4543
|
-
len = uint32[pos32 +
|
|
4559
|
+
len = uint32[pos32 + 2];
|
|
4544
4560
|
pos = uint32[pos32];
|
|
4545
4561
|
for (let i = 0; i < len; i++) {
|
|
4546
4562
|
arr.push(deserializeSwitchCase(pos));
|
|
4547
|
-
pos +=
|
|
4563
|
+
pos += 48;
|
|
4548
4564
|
}
|
|
4549
4565
|
return arr;
|
|
4550
4566
|
}
|
|
@@ -4596,7 +4612,7 @@ function deserializeBoxAssignmentPattern(pos) {
|
|
|
4596
4612
|
function deserializeVecBindingProperty(pos) {
|
|
4597
4613
|
const arr = [],
|
|
4598
4614
|
pos32 = pos >> 2,
|
|
4599
|
-
len = uint32[pos32 +
|
|
4615
|
+
len = uint32[pos32 + 2];
|
|
4600
4616
|
pos = uint32[pos32];
|
|
4601
4617
|
for (let i = 0; i < len; i++) {
|
|
4602
4618
|
arr.push(deserializeBindingProperty(pos));
|
|
@@ -4622,7 +4638,7 @@ function deserializeOptionBindingPattern(pos) {
|
|
|
4622
4638
|
function deserializeVecOptionBindingPattern(pos) {
|
|
4623
4639
|
const arr = [],
|
|
4624
4640
|
pos32 = pos >> 2,
|
|
4625
|
-
len = uint32[pos32 +
|
|
4641
|
+
len = uint32[pos32 + 2];
|
|
4626
4642
|
pos = uint32[pos32];
|
|
4627
4643
|
for (let i = 0; i < len; i++) {
|
|
4628
4644
|
arr.push(deserializeOptionBindingPattern(pos));
|
|
@@ -4670,11 +4686,11 @@ function deserializeOptionBoxFunctionBody(pos) {
|
|
|
4670
4686
|
function deserializeVecFormalParameter(pos) {
|
|
4671
4687
|
const arr = [],
|
|
4672
4688
|
pos32 = pos >> 2,
|
|
4673
|
-
len = uint32[pos32 +
|
|
4689
|
+
len = uint32[pos32 + 2];
|
|
4674
4690
|
pos = uint32[pos32];
|
|
4675
4691
|
for (let i = 0; i < len; i++) {
|
|
4676
4692
|
arr.push(deserializeFormalParameter(pos));
|
|
4677
|
-
pos +=
|
|
4693
|
+
pos += 72;
|
|
4678
4694
|
}
|
|
4679
4695
|
return arr;
|
|
4680
4696
|
}
|
|
@@ -4682,7 +4698,7 @@ function deserializeVecFormalParameter(pos) {
|
|
|
4682
4698
|
function deserializeVecDecorator(pos) {
|
|
4683
4699
|
const arr = [],
|
|
4684
4700
|
pos32 = pos >> 2,
|
|
4685
|
-
len = uint32[pos32 +
|
|
4701
|
+
len = uint32[pos32 + 2];
|
|
4686
4702
|
pos = uint32[pos32];
|
|
4687
4703
|
for (let i = 0; i < len; i++) {
|
|
4688
4704
|
arr.push(deserializeDecorator(pos));
|
|
@@ -4699,7 +4715,7 @@ function deserializeOptionTSAccessibility(pos) {
|
|
|
4699
4715
|
function deserializeVecTSClassImplements(pos) {
|
|
4700
4716
|
const arr = [],
|
|
4701
4717
|
pos32 = pos >> 2,
|
|
4702
|
-
len = uint32[pos32 +
|
|
4718
|
+
len = uint32[pos32 + 2];
|
|
4703
4719
|
pos = uint32[pos32];
|
|
4704
4720
|
for (let i = 0; i < len; i++) {
|
|
4705
4721
|
arr.push(deserializeTSClassImplements(pos));
|
|
@@ -4715,7 +4731,7 @@ function deserializeBoxClassBody(pos) {
|
|
|
4715
4731
|
function deserializeVecClassElement(pos) {
|
|
4716
4732
|
const arr = [],
|
|
4717
4733
|
pos32 = pos >> 2,
|
|
4718
|
-
len = uint32[pos32 +
|
|
4734
|
+
len = uint32[pos32 + 2];
|
|
4719
4735
|
pos = uint32[pos32];
|
|
4720
4736
|
for (let i = 0; i < len; i++) {
|
|
4721
4737
|
arr.push(deserializeClassElement(pos));
|
|
@@ -4776,7 +4792,7 @@ function deserializeOptionImportPhase(pos) {
|
|
|
4776
4792
|
function deserializeVecImportDeclarationSpecifier(pos) {
|
|
4777
4793
|
const arr = [],
|
|
4778
4794
|
pos32 = pos >> 2,
|
|
4779
|
-
len = uint32[pos32 +
|
|
4795
|
+
len = uint32[pos32 + 2];
|
|
4780
4796
|
pos = uint32[pos32];
|
|
4781
4797
|
for (let i = 0; i < len; i++) {
|
|
4782
4798
|
arr.push(deserializeImportDeclarationSpecifier(pos));
|
|
@@ -4814,7 +4830,7 @@ function deserializeBoxImportNamespaceSpecifier(pos) {
|
|
|
4814
4830
|
function deserializeVecImportAttribute(pos) {
|
|
4815
4831
|
const arr = [],
|
|
4816
4832
|
pos32 = pos >> 2,
|
|
4817
|
-
len = uint32[pos32 +
|
|
4833
|
+
len = uint32[pos32 + 2];
|
|
4818
4834
|
pos = uint32[pos32];
|
|
4819
4835
|
for (let i = 0; i < len; i++) {
|
|
4820
4836
|
arr.push(deserializeImportAttribute(pos));
|
|
@@ -4831,7 +4847,7 @@ function deserializeOptionDeclaration(pos) {
|
|
|
4831
4847
|
function deserializeVecExportSpecifier(pos) {
|
|
4832
4848
|
const arr = [],
|
|
4833
4849
|
pos32 = pos >> 2,
|
|
4834
|
-
len = uint32[pos32 +
|
|
4850
|
+
len = uint32[pos32 + 2];
|
|
4835
4851
|
pos = uint32[pos32];
|
|
4836
4852
|
for (let i = 0; i < len; i++) {
|
|
4837
4853
|
arr.push(deserializeExportSpecifier(pos));
|
|
@@ -4874,7 +4890,7 @@ function deserializeBoxJSXOpeningElement(pos) {
|
|
|
4874
4890
|
function deserializeVecJSXChild(pos) {
|
|
4875
4891
|
const arr = [],
|
|
4876
4892
|
pos32 = pos >> 2,
|
|
4877
|
-
len = uint32[pos32 +
|
|
4893
|
+
len = uint32[pos32 + 2];
|
|
4878
4894
|
pos = uint32[pos32];
|
|
4879
4895
|
for (let i = 0; i < len; i++) {
|
|
4880
4896
|
arr.push(deserializeJSXChild(pos));
|
|
@@ -4895,7 +4911,7 @@ function deserializeOptionBoxJSXClosingElement(pos) {
|
|
|
4895
4911
|
function deserializeVecJSXAttributeItem(pos) {
|
|
4896
4912
|
const arr = [],
|
|
4897
4913
|
pos32 = pos >> 2,
|
|
4898
|
-
len = uint32[pos32 +
|
|
4914
|
+
len = uint32[pos32 + 2];
|
|
4899
4915
|
pos = uint32[pos32];
|
|
4900
4916
|
for (let i = 0; i < len; i++) {
|
|
4901
4917
|
arr.push(deserializeJSXAttributeItem(pos));
|
|
@@ -4944,7 +4960,7 @@ function deserializeBoxJSXSpreadChild(pos) {
|
|
|
4944
4960
|
function deserializeVecTSEnumMember(pos) {
|
|
4945
4961
|
const arr = [],
|
|
4946
4962
|
pos32 = pos >> 2,
|
|
4947
|
-
len = uint32[pos32 +
|
|
4963
|
+
len = uint32[pos32 + 2];
|
|
4948
4964
|
pos = uint32[pos32];
|
|
4949
4965
|
for (let i = 0; i < len; i++) {
|
|
4950
4966
|
arr.push(deserializeTSEnumMember(pos));
|
|
@@ -5104,7 +5120,7 @@ function deserializeBoxJSDocUnknownType(pos) {
|
|
|
5104
5120
|
function deserializeVecTSType(pos) {
|
|
5105
5121
|
const arr = [],
|
|
5106
5122
|
pos32 = pos >> 2,
|
|
5107
|
-
len = uint32[pos32 +
|
|
5123
|
+
len = uint32[pos32 + 2];
|
|
5108
5124
|
pos = uint32[pos32];
|
|
5109
5125
|
for (let i = 0; i < len; i++) {
|
|
5110
5126
|
arr.push(deserializeTSType(pos));
|
|
@@ -5116,7 +5132,7 @@ function deserializeVecTSType(pos) {
|
|
|
5116
5132
|
function deserializeVecTSTupleElement(pos) {
|
|
5117
5133
|
const arr = [],
|
|
5118
5134
|
pos32 = pos >> 2,
|
|
5119
|
-
len = uint32[pos32 +
|
|
5135
|
+
len = uint32[pos32 + 2];
|
|
5120
5136
|
pos = uint32[pos32];
|
|
5121
5137
|
for (let i = 0; i < len; i++) {
|
|
5122
5138
|
arr.push(deserializeTSTupleElement(pos));
|
|
@@ -5145,7 +5161,7 @@ function deserializeOptionTSType(pos) {
|
|
|
5145
5161
|
function deserializeVecTSTypeParameter(pos) {
|
|
5146
5162
|
const arr = [],
|
|
5147
5163
|
pos32 = pos >> 2,
|
|
5148
|
-
len = uint32[pos32 +
|
|
5164
|
+
len = uint32[pos32 + 2];
|
|
5149
5165
|
pos = uint32[pos32];
|
|
5150
5166
|
for (let i = 0; i < len; i++) {
|
|
5151
5167
|
arr.push(deserializeTSTypeParameter(pos));
|
|
@@ -5157,7 +5173,7 @@ function deserializeVecTSTypeParameter(pos) {
|
|
|
5157
5173
|
function deserializeVecTSInterfaceHeritage(pos) {
|
|
5158
5174
|
const arr = [],
|
|
5159
5175
|
pos32 = pos >> 2,
|
|
5160
|
-
len = uint32[pos32 +
|
|
5176
|
+
len = uint32[pos32 + 2];
|
|
5161
5177
|
pos = uint32[pos32];
|
|
5162
5178
|
for (let i = 0; i < len; i++) {
|
|
5163
5179
|
arr.push(deserializeTSInterfaceHeritage(pos));
|
|
@@ -5173,7 +5189,7 @@ function deserializeBoxTSInterfaceBody(pos) {
|
|
|
5173
5189
|
function deserializeVecTSSignature(pos) {
|
|
5174
5190
|
const arr = [],
|
|
5175
5191
|
pos32 = pos >> 2,
|
|
5176
|
-
len = uint32[pos32 +
|
|
5192
|
+
len = uint32[pos32 + 2];
|
|
5177
5193
|
pos = uint32[pos32];
|
|
5178
5194
|
for (let i = 0; i < len; i++) {
|
|
5179
5195
|
arr.push(deserializeTSSignature(pos));
|
|
@@ -5201,7 +5217,7 @@ function deserializeBoxTSMethodSignature(pos) {
|
|
|
5201
5217
|
function deserializeVecTSIndexSignatureName(pos) {
|
|
5202
5218
|
const arr = [],
|
|
5203
5219
|
pos32 = pos >> 2,
|
|
5204
|
-
len = uint32[pos32 +
|
|
5220
|
+
len = uint32[pos32 + 2];
|
|
5205
5221
|
pos = uint32[pos32];
|
|
5206
5222
|
for (let i = 0; i < len; i++) {
|
|
5207
5223
|
arr.push(deserializeTSIndexSignatureName(pos));
|
|
@@ -5247,18 +5263,18 @@ function deserializeU32(pos) {
|
|
|
5247
5263
|
}
|
|
5248
5264
|
|
|
5249
5265
|
function deserializeOptionNameSpan(pos) {
|
|
5250
|
-
if (uint32[pos >> 2] === 0 && uint32[(pos +
|
|
5266
|
+
if (uint32[(pos + 8) >> 2] === 0 && uint32[(pos + 12) >> 2] === 0) return null;
|
|
5251
5267
|
return deserializeNameSpan(pos);
|
|
5252
5268
|
}
|
|
5253
5269
|
|
|
5254
5270
|
function deserializeVecAlternative(pos) {
|
|
5255
5271
|
const arr = [],
|
|
5256
5272
|
pos32 = pos >> 2,
|
|
5257
|
-
len = uint32[pos32 +
|
|
5273
|
+
len = uint32[pos32 + 2];
|
|
5258
5274
|
pos = uint32[pos32];
|
|
5259
5275
|
for (let i = 0; i < len; i++) {
|
|
5260
5276
|
arr.push(deserializeAlternative(pos));
|
|
5261
|
-
pos +=
|
|
5277
|
+
pos += 32;
|
|
5262
5278
|
}
|
|
5263
5279
|
return arr;
|
|
5264
5280
|
}
|
|
@@ -5266,7 +5282,7 @@ function deserializeVecAlternative(pos) {
|
|
|
5266
5282
|
function deserializeVecTerm(pos) {
|
|
5267
5283
|
const arr = [],
|
|
5268
5284
|
pos32 = pos >> 2,
|
|
5269
|
-
len = uint32[pos32 +
|
|
5285
|
+
len = uint32[pos32 + 2];
|
|
5270
5286
|
pos = uint32[pos32];
|
|
5271
5287
|
for (let i = 0; i < len; i++) {
|
|
5272
5288
|
arr.push(deserializeTerm(pos));
|
|
@@ -5332,7 +5348,7 @@ function deserializeOptionU64(pos) {
|
|
|
5332
5348
|
function deserializeVecCharacterClassContents(pos) {
|
|
5333
5349
|
const arr = [],
|
|
5334
5350
|
pos32 = pos >> 2,
|
|
5335
|
-
len = uint32[pos32 +
|
|
5351
|
+
len = uint32[pos32 + 2];
|
|
5336
5352
|
pos = uint32[pos32];
|
|
5337
5353
|
for (let i = 0; i < len; i++) {
|
|
5338
5354
|
arr.push(deserializeCharacterClassContents(pos));
|
|
@@ -5352,11 +5368,11 @@ function deserializeBoxClassStringDisjunction(pos) {
|
|
|
5352
5368
|
function deserializeVecClassString(pos) {
|
|
5353
5369
|
const arr = [],
|
|
5354
5370
|
pos32 = pos >> 2,
|
|
5355
|
-
len = uint32[pos32 +
|
|
5371
|
+
len = uint32[pos32 + 2];
|
|
5356
5372
|
pos = uint32[pos32];
|
|
5357
5373
|
for (let i = 0; i < len; i++) {
|
|
5358
5374
|
arr.push(deserializeClassString(pos));
|
|
5359
|
-
pos +=
|
|
5375
|
+
pos += 40;
|
|
5360
5376
|
}
|
|
5361
5377
|
return arr;
|
|
5362
5378
|
}
|
|
@@ -5364,7 +5380,7 @@ function deserializeVecClassString(pos) {
|
|
|
5364
5380
|
function deserializeVecCharacter(pos) {
|
|
5365
5381
|
const arr = [],
|
|
5366
5382
|
pos32 = pos >> 2,
|
|
5367
|
-
len = uint32[pos32 +
|
|
5383
|
+
len = uint32[pos32 + 2];
|
|
5368
5384
|
pos = uint32[pos32];
|
|
5369
5385
|
for (let i = 0; i < len; i++) {
|
|
5370
5386
|
arr.push(deserializeCharacter(pos));
|
|
@@ -5374,23 +5390,18 @@ function deserializeVecCharacter(pos) {
|
|
|
5374
5390
|
}
|
|
5375
5391
|
|
|
5376
5392
|
function deserializeOptionModifiers(pos) {
|
|
5377
|
-
if (uint8[pos
|
|
5378
|
-
return deserializeModifiers(pos);
|
|
5379
|
-
}
|
|
5380
|
-
|
|
5381
|
-
function deserializeOptionModifier(pos) {
|
|
5382
|
-
if (uint8[pos] === 2) return null;
|
|
5383
|
-
return deserializeModifier(pos);
|
|
5393
|
+
if (uint8[pos] === 0) return null;
|
|
5394
|
+
return deserializeModifiers(pos + 8);
|
|
5384
5395
|
}
|
|
5385
5396
|
|
|
5386
5397
|
function deserializeVecError(pos) {
|
|
5387
5398
|
const arr = [],
|
|
5388
5399
|
pos32 = pos >> 2,
|
|
5389
|
-
len = uint32[pos32 +
|
|
5400
|
+
len = uint32[pos32 + 2];
|
|
5390
5401
|
pos = uint32[pos32];
|
|
5391
5402
|
for (let i = 0; i < len; i++) {
|
|
5392
5403
|
arr.push(deserializeError(pos));
|
|
5393
|
-
pos +=
|
|
5404
|
+
pos += 64;
|
|
5394
5405
|
}
|
|
5395
5406
|
return arr;
|
|
5396
5407
|
}
|
|
@@ -5398,7 +5409,7 @@ function deserializeVecError(pos) {
|
|
|
5398
5409
|
function deserializeVecErrorLabel(pos) {
|
|
5399
5410
|
const arr = [],
|
|
5400
5411
|
pos32 = pos >> 2,
|
|
5401
|
-
len = uint32[pos32 +
|
|
5412
|
+
len = uint32[pos32 + 2];
|
|
5402
5413
|
pos = uint32[pos32];
|
|
5403
5414
|
for (let i = 0; i < len; i++) {
|
|
5404
5415
|
arr.push(deserializeErrorLabel(pos));
|
|
@@ -5410,11 +5421,11 @@ function deserializeVecErrorLabel(pos) {
|
|
|
5410
5421
|
function deserializeVecStaticImport(pos) {
|
|
5411
5422
|
const arr = [],
|
|
5412
5423
|
pos32 = pos >> 2,
|
|
5413
|
-
len = uint32[pos32 +
|
|
5424
|
+
len = uint32[pos32 + 2];
|
|
5414
5425
|
pos = uint32[pos32];
|
|
5415
5426
|
for (let i = 0; i < len; i++) {
|
|
5416
5427
|
arr.push(deserializeStaticImport(pos));
|
|
5417
|
-
pos +=
|
|
5428
|
+
pos += 56;
|
|
5418
5429
|
}
|
|
5419
5430
|
return arr;
|
|
5420
5431
|
}
|
|
@@ -5422,11 +5433,11 @@ function deserializeVecStaticImport(pos) {
|
|
|
5422
5433
|
function deserializeVecStaticExport(pos) {
|
|
5423
5434
|
const arr = [],
|
|
5424
5435
|
pos32 = pos >> 2,
|
|
5425
|
-
len = uint32[pos32 +
|
|
5436
|
+
len = uint32[pos32 + 2];
|
|
5426
5437
|
pos = uint32[pos32];
|
|
5427
5438
|
for (let i = 0; i < len; i++) {
|
|
5428
5439
|
arr.push(deserializeStaticExport(pos));
|
|
5429
|
-
pos +=
|
|
5440
|
+
pos += 32;
|
|
5430
5441
|
}
|
|
5431
5442
|
return arr;
|
|
5432
5443
|
}
|
|
@@ -5434,7 +5445,7 @@ function deserializeVecStaticExport(pos) {
|
|
|
5434
5445
|
function deserializeVecDynamicImport(pos) {
|
|
5435
5446
|
const arr = [],
|
|
5436
5447
|
pos32 = pos >> 2,
|
|
5437
|
-
len = uint32[pos32 +
|
|
5448
|
+
len = uint32[pos32 + 2];
|
|
5438
5449
|
pos = uint32[pos32];
|
|
5439
5450
|
for (let i = 0; i < len; i++) {
|
|
5440
5451
|
arr.push(deserializeDynamicImport(pos));
|
|
@@ -5446,7 +5457,7 @@ function deserializeVecDynamicImport(pos) {
|
|
|
5446
5457
|
function deserializeVecSpan(pos) {
|
|
5447
5458
|
const arr = [],
|
|
5448
5459
|
pos32 = pos >> 2,
|
|
5449
|
-
len = uint32[pos32 +
|
|
5460
|
+
len = uint32[pos32 + 2];
|
|
5450
5461
|
pos = uint32[pos32];
|
|
5451
5462
|
for (let i = 0; i < len; i++) {
|
|
5452
5463
|
arr.push(deserializeSpan(pos));
|
|
@@ -5458,7 +5469,7 @@ function deserializeVecSpan(pos) {
|
|
|
5458
5469
|
function deserializeVecImportEntry(pos) {
|
|
5459
5470
|
const arr = [],
|
|
5460
5471
|
pos32 = pos >> 2,
|
|
5461
|
-
len = uint32[pos32 +
|
|
5472
|
+
len = uint32[pos32 + 2];
|
|
5462
5473
|
pos = uint32[pos32];
|
|
5463
5474
|
for (let i = 0; i < len; i++) {
|
|
5464
5475
|
arr.push(deserializeImportEntry(pos));
|
|
@@ -5470,7 +5481,7 @@ function deserializeVecImportEntry(pos) {
|
|
|
5470
5481
|
function deserializeVecExportEntry(pos) {
|
|
5471
5482
|
const arr = [],
|
|
5472
5483
|
pos32 = pos >> 2,
|
|
5473
|
-
len = uint32[pos32 +
|
|
5484
|
+
len = uint32[pos32 + 2];
|
|
5474
5485
|
pos = uint32[pos32];
|
|
5475
5486
|
for (let i = 0; i < len; i++) {
|
|
5476
5487
|
arr.push(deserializeExportEntry(pos));
|