oxc-parser 0.124.0 → 0.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +27 -27
- package/src-js/bindings.js +52 -52
- package/src-js/generated/constants.js +3 -3
- package/src-js/generated/deserialize/js.js +711 -745
- package/src-js/generated/deserialize/js_range.js +717 -752
- package/src-js/generated/deserialize/ts.js +750 -817
- package/src-js/generated/deserialize/ts_range.js +777 -848
- package/src-js/generated/lazy/constructors.js +661 -667
- package/src-js/generated/lazy/walk.js +261 -261
- package/src-js/raw-transfer/common.js +1 -1
- package/src-js/raw-transfer/eager.js +21 -16
- package/src-js/raw-transfer/lazy.js +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`.
|
|
3
3
|
|
|
4
4
|
let uint8,
|
|
5
|
-
|
|
5
|
+
int32,
|
|
6
6
|
float64,
|
|
7
7
|
sourceText,
|
|
8
8
|
sourceTextLatin,
|
|
@@ -21,7 +21,7 @@ export function deserialize(buffer, sourceText, sourceByteLen) {
|
|
|
21
21
|
|
|
22
22
|
function deserializeWith(buffer, sourceTextInput, sourceByteLen, deserialize) {
|
|
23
23
|
uint8 = buffer;
|
|
24
|
-
|
|
24
|
+
int32 = buffer.int32;
|
|
25
25
|
float64 = buffer.float64;
|
|
26
26
|
sourceText = sourceTextInput;
|
|
27
27
|
if (sourceText.length === sourceByteLen) {
|
|
@@ -33,19 +33,19 @@ function deserializeWith(buffer, sourceTextInput, sourceByteLen, deserialize) {
|
|
|
33
33
|
firstNonAsciiPos = i;
|
|
34
34
|
sourceTextLatin = latin1Slice.call(uint8, 0, sourceByteLen);
|
|
35
35
|
}
|
|
36
|
-
let data = deserialize(
|
|
36
|
+
let data = deserialize(int32[536870900]);
|
|
37
37
|
resetBuffer();
|
|
38
38
|
return data;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export function resetBuffer() {
|
|
42
42
|
// Clear buffer and source text strings to allow them to be garbage collected
|
|
43
|
-
uint8 =
|
|
43
|
+
uint8 = int32 = float64 = sourceText = sourceTextLatin = void 0;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
function deserializeProgram(pos) {
|
|
47
|
-
let start =
|
|
48
|
-
end =
|
|
47
|
+
let start = deserializeI32(pos),
|
|
48
|
+
end = deserializeI32(pos + 4),
|
|
49
49
|
program = {
|
|
50
50
|
type: "Program",
|
|
51
51
|
body: null,
|
|
@@ -158,8 +158,8 @@ function deserializeIdentifierName(pos) {
|
|
|
158
158
|
return {
|
|
159
159
|
type: "Identifier",
|
|
160
160
|
name: deserializeStr(pos + 16),
|
|
161
|
-
start: (start =
|
|
162
|
-
end: (end =
|
|
161
|
+
start: (start = deserializeI32(pos)),
|
|
162
|
+
end: (end = deserializeI32(pos + 4)),
|
|
163
163
|
range: [start, end],
|
|
164
164
|
};
|
|
165
165
|
}
|
|
@@ -169,8 +169,8 @@ function deserializeIdentifierReference(pos) {
|
|
|
169
169
|
return {
|
|
170
170
|
type: "Identifier",
|
|
171
171
|
name: deserializeStr(pos + 16),
|
|
172
|
-
start: (start =
|
|
173
|
-
end: (end =
|
|
172
|
+
start: (start = deserializeI32(pos)),
|
|
173
|
+
end: (end = deserializeI32(pos + 4)),
|
|
174
174
|
range: [start, end],
|
|
175
175
|
};
|
|
176
176
|
}
|
|
@@ -180,8 +180,8 @@ function deserializeBindingIdentifier(pos) {
|
|
|
180
180
|
return {
|
|
181
181
|
type: "Identifier",
|
|
182
182
|
name: deserializeStr(pos + 16),
|
|
183
|
-
start: (start =
|
|
184
|
-
end: (end =
|
|
183
|
+
start: (start = deserializeI32(pos)),
|
|
184
|
+
end: (end = deserializeI32(pos + 4)),
|
|
185
185
|
range: [start, end],
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -191,8 +191,8 @@ function deserializeLabelIdentifier(pos) {
|
|
|
191
191
|
return {
|
|
192
192
|
type: "Identifier",
|
|
193
193
|
name: deserializeStr(pos + 16),
|
|
194
|
-
start: (start =
|
|
195
|
-
end: (end =
|
|
194
|
+
start: (start = deserializeI32(pos)),
|
|
195
|
+
end: (end = deserializeI32(pos + 4)),
|
|
196
196
|
range: [start, end],
|
|
197
197
|
};
|
|
198
198
|
}
|
|
@@ -201,8 +201,8 @@ function deserializeThisExpression(pos) {
|
|
|
201
201
|
let start, end;
|
|
202
202
|
return {
|
|
203
203
|
type: "ThisExpression",
|
|
204
|
-
start: (start =
|
|
205
|
-
end: (end =
|
|
204
|
+
start: (start = deserializeI32(pos)),
|
|
205
|
+
end: (end = deserializeI32(pos + 4)),
|
|
206
206
|
range: [start, end],
|
|
207
207
|
};
|
|
208
208
|
}
|
|
@@ -213,8 +213,8 @@ function deserializeArrayExpression(pos) {
|
|
|
213
213
|
node = {
|
|
214
214
|
type: "ArrayExpression",
|
|
215
215
|
elements: null,
|
|
216
|
-
start: (start =
|
|
217
|
-
end: (end =
|
|
216
|
+
start: (start = deserializeI32(pos)),
|
|
217
|
+
end: (end = deserializeI32(pos + 4)),
|
|
218
218
|
range: [start, end],
|
|
219
219
|
};
|
|
220
220
|
node.elements = deserializeVecArrayExpressionElement(pos + 16);
|
|
@@ -328,8 +328,8 @@ function deserializeObjectExpression(pos) {
|
|
|
328
328
|
node = {
|
|
329
329
|
type: "ObjectExpression",
|
|
330
330
|
properties: null,
|
|
331
|
-
start: (start =
|
|
332
|
-
end: (end =
|
|
331
|
+
start: (start = deserializeI32(pos)),
|
|
332
|
+
end: (end = deserializeI32(pos + 4)),
|
|
333
333
|
range: [start, end],
|
|
334
334
|
};
|
|
335
335
|
node.properties = deserializeVecObjectPropertyKind(pos + 16);
|
|
@@ -358,8 +358,8 @@ function deserializeObjectProperty(pos) {
|
|
|
358
358
|
method: deserializeBool(pos + 13),
|
|
359
359
|
shorthand: deserializeBool(pos + 14),
|
|
360
360
|
computed: deserializeBool(pos + 15),
|
|
361
|
-
start: (start =
|
|
362
|
-
end: (end =
|
|
361
|
+
start: (start = deserializeI32(pos)),
|
|
362
|
+
end: (end = deserializeI32(pos + 4)),
|
|
363
363
|
range: [start, end],
|
|
364
364
|
};
|
|
365
365
|
node.key = deserializePropertyKey(pos + 16);
|
|
@@ -484,8 +484,8 @@ function deserializeTemplateLiteral(pos) {
|
|
|
484
484
|
type: "TemplateLiteral",
|
|
485
485
|
quasis: null,
|
|
486
486
|
expressions: null,
|
|
487
|
-
start: (start =
|
|
488
|
-
end: (end =
|
|
487
|
+
start: (start = deserializeI32(pos)),
|
|
488
|
+
end: (end = deserializeI32(pos + 4)),
|
|
489
489
|
range: [start, end],
|
|
490
490
|
};
|
|
491
491
|
node.quasis = deserializeVecTemplateElement(pos + 16);
|
|
@@ -500,8 +500,8 @@ function deserializeTaggedTemplateExpression(pos) {
|
|
|
500
500
|
type: "TaggedTemplateExpression",
|
|
501
501
|
tag: null,
|
|
502
502
|
quasi: null,
|
|
503
|
-
start: (start =
|
|
504
|
-
end: (end =
|
|
503
|
+
start: (start = deserializeI32(pos)),
|
|
504
|
+
end: (end = deserializeI32(pos + 4)),
|
|
505
505
|
range: [start, end],
|
|
506
506
|
};
|
|
507
507
|
node.tag = deserializeExpression(pos + 16);
|
|
@@ -511,8 +511,8 @@ function deserializeTaggedTemplateExpression(pos) {
|
|
|
511
511
|
|
|
512
512
|
function deserializeTemplateElement(pos) {
|
|
513
513
|
let tail = deserializeBool(pos + 12),
|
|
514
|
-
start =
|
|
515
|
-
end =
|
|
514
|
+
start = deserializeI32(pos),
|
|
515
|
+
end = deserializeI32(pos + 4),
|
|
516
516
|
value = deserializeTemplateElementValue(pos + 16);
|
|
517
517
|
value.cooked !== null &&
|
|
518
518
|
deserializeBool(pos + 13) &&
|
|
@@ -544,14 +544,13 @@ function deserializeComputedMemberExpression(pos) {
|
|
|
544
544
|
object: null,
|
|
545
545
|
property: null,
|
|
546
546
|
optional: deserializeBool(pos + 12),
|
|
547
|
-
computed:
|
|
548
|
-
start: (start =
|
|
549
|
-
end: (end =
|
|
547
|
+
computed: true,
|
|
548
|
+
start: (start = deserializeI32(pos)),
|
|
549
|
+
end: (end = deserializeI32(pos + 4)),
|
|
550
550
|
range: [start, end],
|
|
551
551
|
};
|
|
552
552
|
node.object = deserializeExpression(pos + 16);
|
|
553
553
|
node.property = deserializeExpression(pos + 32);
|
|
554
|
-
node.computed = true;
|
|
555
554
|
return node;
|
|
556
555
|
}
|
|
557
556
|
|
|
@@ -563,14 +562,13 @@ function deserializeStaticMemberExpression(pos) {
|
|
|
563
562
|
object: null,
|
|
564
563
|
property: null,
|
|
565
564
|
optional: deserializeBool(pos + 12),
|
|
566
|
-
computed:
|
|
567
|
-
start: (start =
|
|
568
|
-
end: (end =
|
|
565
|
+
computed: false,
|
|
566
|
+
start: (start = deserializeI32(pos)),
|
|
567
|
+
end: (end = deserializeI32(pos + 4)),
|
|
569
568
|
range: [start, end],
|
|
570
569
|
};
|
|
571
570
|
node.object = deserializeExpression(pos + 16);
|
|
572
571
|
node.property = deserializeIdentifierName(pos + 32);
|
|
573
|
-
node.computed = false;
|
|
574
572
|
return node;
|
|
575
573
|
}
|
|
576
574
|
|
|
@@ -582,14 +580,13 @@ function deserializePrivateFieldExpression(pos) {
|
|
|
582
580
|
object: null,
|
|
583
581
|
property: null,
|
|
584
582
|
optional: deserializeBool(pos + 12),
|
|
585
|
-
computed:
|
|
586
|
-
start: (start =
|
|
587
|
-
end: (end =
|
|
583
|
+
computed: false,
|
|
584
|
+
start: (start = deserializeI32(pos)),
|
|
585
|
+
end: (end = deserializeI32(pos + 4)),
|
|
588
586
|
range: [start, end],
|
|
589
587
|
};
|
|
590
588
|
node.object = deserializeExpression(pos + 16);
|
|
591
589
|
node.property = deserializePrivateIdentifier(pos + 32);
|
|
592
|
-
node.computed = false;
|
|
593
590
|
return node;
|
|
594
591
|
}
|
|
595
592
|
|
|
@@ -601,8 +598,8 @@ function deserializeCallExpression(pos) {
|
|
|
601
598
|
callee: null,
|
|
602
599
|
arguments: null,
|
|
603
600
|
optional: deserializeBool(pos + 12),
|
|
604
|
-
start: (start =
|
|
605
|
-
end: (end =
|
|
601
|
+
start: (start = deserializeI32(pos)),
|
|
602
|
+
end: (end = deserializeI32(pos + 4)),
|
|
606
603
|
range: [start, end],
|
|
607
604
|
};
|
|
608
605
|
node.callee = deserializeExpression(pos + 16);
|
|
@@ -617,8 +614,8 @@ function deserializeNewExpression(pos) {
|
|
|
617
614
|
type: "NewExpression",
|
|
618
615
|
callee: null,
|
|
619
616
|
arguments: null,
|
|
620
|
-
start: (start =
|
|
621
|
-
end: (end =
|
|
617
|
+
start: (start = deserializeI32(pos)),
|
|
618
|
+
end: (end = deserializeI32(pos + 4)),
|
|
622
619
|
range: [start, end],
|
|
623
620
|
};
|
|
624
621
|
node.callee = deserializeExpression(pos + 16);
|
|
@@ -633,8 +630,8 @@ function deserializeMetaProperty(pos) {
|
|
|
633
630
|
type: "MetaProperty",
|
|
634
631
|
meta: null,
|
|
635
632
|
property: null,
|
|
636
|
-
start: (start =
|
|
637
|
-
end: (end =
|
|
633
|
+
start: (start = deserializeI32(pos)),
|
|
634
|
+
end: (end = deserializeI32(pos + 4)),
|
|
638
635
|
range: [start, end],
|
|
639
636
|
};
|
|
640
637
|
node.meta = deserializeIdentifierName(pos + 16);
|
|
@@ -648,8 +645,8 @@ function deserializeSpreadElement(pos) {
|
|
|
648
645
|
node = {
|
|
649
646
|
type: "SpreadElement",
|
|
650
647
|
argument: null,
|
|
651
|
-
start: (start =
|
|
652
|
-
end: (end =
|
|
648
|
+
start: (start = deserializeI32(pos)),
|
|
649
|
+
end: (end = deserializeI32(pos + 4)),
|
|
653
650
|
range: [start, end],
|
|
654
651
|
};
|
|
655
652
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -759,8 +756,8 @@ function deserializeUpdateExpression(pos) {
|
|
|
759
756
|
operator: deserializeUpdateOperator(pos + 12),
|
|
760
757
|
prefix: deserializeBool(pos + 13),
|
|
761
758
|
argument: null,
|
|
762
|
-
start: (start =
|
|
763
|
-
end: (end =
|
|
759
|
+
start: (start = deserializeI32(pos)),
|
|
760
|
+
end: (end = deserializeI32(pos + 4)),
|
|
764
761
|
range: [start, end],
|
|
765
762
|
};
|
|
766
763
|
node.argument = deserializeSimpleAssignmentTarget(pos + 16);
|
|
@@ -774,13 +771,12 @@ function deserializeUnaryExpression(pos) {
|
|
|
774
771
|
type: "UnaryExpression",
|
|
775
772
|
operator: deserializeUnaryOperator(pos + 12),
|
|
776
773
|
argument: null,
|
|
777
|
-
prefix:
|
|
778
|
-
start: (start =
|
|
779
|
-
end: (end =
|
|
774
|
+
prefix: true,
|
|
775
|
+
start: (start = deserializeI32(pos)),
|
|
776
|
+
end: (end = deserializeI32(pos + 4)),
|
|
780
777
|
range: [start, end],
|
|
781
778
|
};
|
|
782
779
|
node.argument = deserializeExpression(pos + 16);
|
|
783
|
-
node.prefix = true;
|
|
784
780
|
return node;
|
|
785
781
|
}
|
|
786
782
|
|
|
@@ -792,8 +788,8 @@ function deserializeBinaryExpression(pos) {
|
|
|
792
788
|
left: null,
|
|
793
789
|
operator: deserializeBinaryOperator(pos + 12),
|
|
794
790
|
right: null,
|
|
795
|
-
start: (start =
|
|
796
|
-
end: (end =
|
|
791
|
+
start: (start = deserializeI32(pos)),
|
|
792
|
+
end: (end = deserializeI32(pos + 4)),
|
|
797
793
|
range: [start, end],
|
|
798
794
|
};
|
|
799
795
|
node.left = deserializeExpression(pos + 16);
|
|
@@ -807,14 +803,13 @@ function deserializePrivateInExpression(pos) {
|
|
|
807
803
|
node = {
|
|
808
804
|
type: "BinaryExpression",
|
|
809
805
|
left: null,
|
|
810
|
-
operator:
|
|
806
|
+
operator: "in",
|
|
811
807
|
right: null,
|
|
812
|
-
start: (start =
|
|
813
|
-
end: (end =
|
|
808
|
+
start: (start = deserializeI32(pos)),
|
|
809
|
+
end: (end = deserializeI32(pos + 4)),
|
|
814
810
|
range: [start, end],
|
|
815
811
|
};
|
|
816
812
|
node.left = deserializePrivateIdentifier(pos + 16);
|
|
817
|
-
node.operator = "in";
|
|
818
813
|
node.right = deserializeExpression(pos + 48);
|
|
819
814
|
return node;
|
|
820
815
|
}
|
|
@@ -827,8 +822,8 @@ function deserializeLogicalExpression(pos) {
|
|
|
827
822
|
left: null,
|
|
828
823
|
operator: deserializeLogicalOperator(pos + 12),
|
|
829
824
|
right: null,
|
|
830
|
-
start: (start =
|
|
831
|
-
end: (end =
|
|
825
|
+
start: (start = deserializeI32(pos)),
|
|
826
|
+
end: (end = deserializeI32(pos + 4)),
|
|
832
827
|
range: [start, end],
|
|
833
828
|
};
|
|
834
829
|
node.left = deserializeExpression(pos + 16);
|
|
@@ -844,8 +839,8 @@ function deserializeConditionalExpression(pos) {
|
|
|
844
839
|
test: null,
|
|
845
840
|
consequent: null,
|
|
846
841
|
alternate: null,
|
|
847
|
-
start: (start =
|
|
848
|
-
end: (end =
|
|
842
|
+
start: (start = deserializeI32(pos)),
|
|
843
|
+
end: (end = deserializeI32(pos + 4)),
|
|
849
844
|
range: [start, end],
|
|
850
845
|
};
|
|
851
846
|
node.test = deserializeExpression(pos + 16);
|
|
@@ -862,8 +857,8 @@ function deserializeAssignmentExpression(pos) {
|
|
|
862
857
|
operator: deserializeAssignmentOperator(pos + 12),
|
|
863
858
|
left: null,
|
|
864
859
|
right: null,
|
|
865
|
-
start: (start =
|
|
866
|
-
end: (end =
|
|
860
|
+
start: (start = deserializeI32(pos)),
|
|
861
|
+
end: (end = deserializeI32(pos + 4)),
|
|
867
862
|
range: [start, end],
|
|
868
863
|
};
|
|
869
864
|
node.left = deserializeAssignmentTarget(pos + 16);
|
|
@@ -927,8 +922,8 @@ function deserializeArrayAssignmentTarget(pos) {
|
|
|
927
922
|
node = {
|
|
928
923
|
type: "ArrayPattern",
|
|
929
924
|
elements: null,
|
|
930
|
-
start: (start =
|
|
931
|
-
end: (end =
|
|
925
|
+
start: (start = deserializeI32(pos)),
|
|
926
|
+
end: (end = deserializeI32(pos + 4)),
|
|
932
927
|
range: [start, end],
|
|
933
928
|
},
|
|
934
929
|
elements = deserializeVecOptionAssignmentTargetMaybeDefault(pos + 16),
|
|
@@ -944,8 +939,8 @@ function deserializeObjectAssignmentTarget(pos) {
|
|
|
944
939
|
node = {
|
|
945
940
|
type: "ObjectPattern",
|
|
946
941
|
properties: null,
|
|
947
|
-
start: (start =
|
|
948
|
-
end: (end =
|
|
942
|
+
start: (start = deserializeI32(pos)),
|
|
943
|
+
end: (end = deserializeI32(pos + 4)),
|
|
949
944
|
range: [start, end],
|
|
950
945
|
},
|
|
951
946
|
properties = deserializeVecAssignmentTargetProperty(pos + 16),
|
|
@@ -961,8 +956,8 @@ function deserializeAssignmentTargetRest(pos) {
|
|
|
961
956
|
node = {
|
|
962
957
|
type: "RestElement",
|
|
963
958
|
argument: null,
|
|
964
|
-
start: (start =
|
|
965
|
-
end: (end =
|
|
959
|
+
start: (start = deserializeI32(pos)),
|
|
960
|
+
end: (end = deserializeI32(pos + 4)),
|
|
966
961
|
range: [start, end],
|
|
967
962
|
};
|
|
968
963
|
node.argument = deserializeAssignmentTarget(pos + 16);
|
|
@@ -1005,8 +1000,8 @@ function deserializeAssignmentTargetWithDefault(pos) {
|
|
|
1005
1000
|
type: "AssignmentPattern",
|
|
1006
1001
|
left: null,
|
|
1007
1002
|
right: null,
|
|
1008
|
-
start: (start =
|
|
1009
|
-
end: (end =
|
|
1003
|
+
start: (start = deserializeI32(pos)),
|
|
1004
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1010
1005
|
range: [start, end],
|
|
1011
1006
|
};
|
|
1012
1007
|
node.left = deserializeAssignmentTarget(pos + 16);
|
|
@@ -1026,16 +1021,16 @@ function deserializeAssignmentTargetProperty(pos) {
|
|
|
1026
1021
|
}
|
|
1027
1022
|
|
|
1028
1023
|
function deserializeAssignmentTargetPropertyIdentifier(pos) {
|
|
1029
|
-
let start =
|
|
1030
|
-
end =
|
|
1024
|
+
let start = deserializeI32(pos),
|
|
1025
|
+
end = deserializeI32(pos + 4),
|
|
1031
1026
|
node = {
|
|
1032
1027
|
type: "Property",
|
|
1033
|
-
kind:
|
|
1028
|
+
kind: "init",
|
|
1034
1029
|
key: null,
|
|
1035
1030
|
value: null,
|
|
1036
|
-
method:
|
|
1037
|
-
shorthand:
|
|
1038
|
-
computed:
|
|
1031
|
+
method: false,
|
|
1032
|
+
shorthand: true,
|
|
1033
|
+
computed: false,
|
|
1039
1034
|
start,
|
|
1040
1035
|
end,
|
|
1041
1036
|
range: [start, end],
|
|
@@ -1060,12 +1055,8 @@ function deserializeAssignmentTargetPropertyIdentifier(pos) {
|
|
|
1060
1055
|
end,
|
|
1061
1056
|
range: [start, end],
|
|
1062
1057
|
});
|
|
1063
|
-
node.kind = "init";
|
|
1064
1058
|
node.key = key;
|
|
1065
1059
|
node.value = value;
|
|
1066
|
-
node.method = false;
|
|
1067
|
-
node.shorthand = true;
|
|
1068
|
-
node.computed = false;
|
|
1069
1060
|
return node;
|
|
1070
1061
|
}
|
|
1071
1062
|
|
|
@@ -1074,21 +1065,18 @@ function deserializeAssignmentTargetPropertyProperty(pos) {
|
|
|
1074
1065
|
end,
|
|
1075
1066
|
node = {
|
|
1076
1067
|
type: "Property",
|
|
1077
|
-
kind:
|
|
1068
|
+
kind: "init",
|
|
1078
1069
|
key: null,
|
|
1079
1070
|
value: null,
|
|
1080
|
-
method:
|
|
1081
|
-
shorthand:
|
|
1071
|
+
method: false,
|
|
1072
|
+
shorthand: false,
|
|
1082
1073
|
computed: deserializeBool(pos + 12),
|
|
1083
|
-
start: (start =
|
|
1084
|
-
end: (end =
|
|
1074
|
+
start: (start = deserializeI32(pos)),
|
|
1075
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1085
1076
|
range: [start, end],
|
|
1086
1077
|
};
|
|
1087
|
-
node.kind = "init";
|
|
1088
1078
|
node.key = deserializePropertyKey(pos + 16);
|
|
1089
1079
|
node.value = deserializeAssignmentTargetMaybeDefault(pos + 32);
|
|
1090
|
-
node.method = false;
|
|
1091
|
-
node.shorthand = false;
|
|
1092
1080
|
return node;
|
|
1093
1081
|
}
|
|
1094
1082
|
|
|
@@ -1098,8 +1086,8 @@ function deserializeSequenceExpression(pos) {
|
|
|
1098
1086
|
node = {
|
|
1099
1087
|
type: "SequenceExpression",
|
|
1100
1088
|
expressions: null,
|
|
1101
|
-
start: (start =
|
|
1102
|
-
end: (end =
|
|
1089
|
+
start: (start = deserializeI32(pos)),
|
|
1090
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1103
1091
|
range: [start, end],
|
|
1104
1092
|
};
|
|
1105
1093
|
node.expressions = deserializeVecExpression(pos + 16);
|
|
@@ -1110,8 +1098,8 @@ function deserializeSuper(pos) {
|
|
|
1110
1098
|
let start, end;
|
|
1111
1099
|
return {
|
|
1112
1100
|
type: "Super",
|
|
1113
|
-
start: (start =
|
|
1114
|
-
end: (end =
|
|
1101
|
+
start: (start = deserializeI32(pos)),
|
|
1102
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1115
1103
|
range: [start, end],
|
|
1116
1104
|
};
|
|
1117
1105
|
}
|
|
@@ -1122,8 +1110,8 @@ function deserializeAwaitExpression(pos) {
|
|
|
1122
1110
|
node = {
|
|
1123
1111
|
type: "AwaitExpression",
|
|
1124
1112
|
argument: null,
|
|
1125
|
-
start: (start =
|
|
1126
|
-
end: (end =
|
|
1113
|
+
start: (start = deserializeI32(pos)),
|
|
1114
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1127
1115
|
range: [start, end],
|
|
1128
1116
|
};
|
|
1129
1117
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -1136,8 +1124,8 @@ function deserializeChainExpression(pos) {
|
|
|
1136
1124
|
node = {
|
|
1137
1125
|
type: "ChainExpression",
|
|
1138
1126
|
expression: null,
|
|
1139
|
-
start: (start =
|
|
1140
|
-
end: (end =
|
|
1127
|
+
start: (start = deserializeI32(pos)),
|
|
1128
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1141
1129
|
range: [start, end],
|
|
1142
1130
|
};
|
|
1143
1131
|
node.expression = deserializeChainElement(pos + 16);
|
|
@@ -1168,8 +1156,8 @@ function deserializeParenthesizedExpression(pos) {
|
|
|
1168
1156
|
node = {
|
|
1169
1157
|
type: "ParenthesizedExpression",
|
|
1170
1158
|
expression: null,
|
|
1171
|
-
start: (start =
|
|
1172
|
-
end: (end =
|
|
1159
|
+
start: (start = deserializeI32(pos)),
|
|
1160
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1173
1161
|
range: [start, end],
|
|
1174
1162
|
};
|
|
1175
1163
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -1257,8 +1245,8 @@ function deserializeDirective(pos) {
|
|
|
1257
1245
|
type: "ExpressionStatement",
|
|
1258
1246
|
expression: null,
|
|
1259
1247
|
directive: deserializeStr(pos + 64),
|
|
1260
|
-
start: (start =
|
|
1261
|
-
end: (end =
|
|
1248
|
+
start: (start = deserializeI32(pos)),
|
|
1249
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1262
1250
|
range: [start, end],
|
|
1263
1251
|
};
|
|
1264
1252
|
node.expression = deserializeStringLiteral(pos + 16);
|
|
@@ -1270,8 +1258,8 @@ function deserializeHashbang(pos) {
|
|
|
1270
1258
|
return {
|
|
1271
1259
|
type: "Hashbang",
|
|
1272
1260
|
value: deserializeStr(pos + 16),
|
|
1273
|
-
start: (start =
|
|
1274
|
-
end: (end =
|
|
1261
|
+
start: (start = deserializeI32(pos)),
|
|
1262
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1275
1263
|
range: [start, end],
|
|
1276
1264
|
};
|
|
1277
1265
|
}
|
|
@@ -1282,8 +1270,8 @@ function deserializeBlockStatement(pos) {
|
|
|
1282
1270
|
node = {
|
|
1283
1271
|
type: "BlockStatement",
|
|
1284
1272
|
body: null,
|
|
1285
|
-
start: (start =
|
|
1286
|
-
end: (end =
|
|
1273
|
+
start: (start = deserializeI32(pos)),
|
|
1274
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1287
1275
|
range: [start, end],
|
|
1288
1276
|
};
|
|
1289
1277
|
node.body = deserializeVecStatement(pos + 16);
|
|
@@ -1322,8 +1310,8 @@ function deserializeVariableDeclaration(pos) {
|
|
|
1322
1310
|
type: "VariableDeclaration",
|
|
1323
1311
|
kind: deserializeVariableDeclarationKind(pos + 12),
|
|
1324
1312
|
declarations: null,
|
|
1325
|
-
start: (start =
|
|
1326
|
-
end: (end =
|
|
1313
|
+
start: (start = deserializeI32(pos)),
|
|
1314
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1327
1315
|
range: [start, end],
|
|
1328
1316
|
};
|
|
1329
1317
|
node.declarations = deserializeVecVariableDeclarator(pos + 16);
|
|
@@ -1354,8 +1342,8 @@ function deserializeVariableDeclarator(pos) {
|
|
|
1354
1342
|
type: "VariableDeclarator",
|
|
1355
1343
|
id: null,
|
|
1356
1344
|
init: null,
|
|
1357
|
-
start: (start =
|
|
1358
|
-
end: (end =
|
|
1345
|
+
start: (start = deserializeI32(pos)),
|
|
1346
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1359
1347
|
range: [start, end],
|
|
1360
1348
|
};
|
|
1361
1349
|
node.id = deserializeBindingPattern(pos + 16);
|
|
@@ -1367,8 +1355,8 @@ function deserializeEmptyStatement(pos) {
|
|
|
1367
1355
|
let start, end;
|
|
1368
1356
|
return {
|
|
1369
1357
|
type: "EmptyStatement",
|
|
1370
|
-
start: (start =
|
|
1371
|
-
end: (end =
|
|
1358
|
+
start: (start = deserializeI32(pos)),
|
|
1359
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1372
1360
|
range: [start, end],
|
|
1373
1361
|
};
|
|
1374
1362
|
}
|
|
@@ -1379,8 +1367,8 @@ function deserializeExpressionStatement(pos) {
|
|
|
1379
1367
|
node = {
|
|
1380
1368
|
type: "ExpressionStatement",
|
|
1381
1369
|
expression: null,
|
|
1382
|
-
start: (start =
|
|
1383
|
-
end: (end =
|
|
1370
|
+
start: (start = deserializeI32(pos)),
|
|
1371
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1384
1372
|
range: [start, end],
|
|
1385
1373
|
};
|
|
1386
1374
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -1395,8 +1383,8 @@ function deserializeIfStatement(pos) {
|
|
|
1395
1383
|
test: null,
|
|
1396
1384
|
consequent: null,
|
|
1397
1385
|
alternate: null,
|
|
1398
|
-
start: (start =
|
|
1399
|
-
end: (end =
|
|
1386
|
+
start: (start = deserializeI32(pos)),
|
|
1387
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1400
1388
|
range: [start, end],
|
|
1401
1389
|
};
|
|
1402
1390
|
node.test = deserializeExpression(pos + 16);
|
|
@@ -1412,8 +1400,8 @@ function deserializeDoWhileStatement(pos) {
|
|
|
1412
1400
|
type: "DoWhileStatement",
|
|
1413
1401
|
body: null,
|
|
1414
1402
|
test: null,
|
|
1415
|
-
start: (start =
|
|
1416
|
-
end: (end =
|
|
1403
|
+
start: (start = deserializeI32(pos)),
|
|
1404
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1417
1405
|
range: [start, end],
|
|
1418
1406
|
};
|
|
1419
1407
|
node.body = deserializeStatement(pos + 16);
|
|
@@ -1428,8 +1416,8 @@ function deserializeWhileStatement(pos) {
|
|
|
1428
1416
|
type: "WhileStatement",
|
|
1429
1417
|
test: null,
|
|
1430
1418
|
body: null,
|
|
1431
|
-
start: (start =
|
|
1432
|
-
end: (end =
|
|
1419
|
+
start: (start = deserializeI32(pos)),
|
|
1420
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1433
1421
|
range: [start, end],
|
|
1434
1422
|
};
|
|
1435
1423
|
node.test = deserializeExpression(pos + 16);
|
|
@@ -1446,8 +1434,8 @@ function deserializeForStatement(pos) {
|
|
|
1446
1434
|
test: null,
|
|
1447
1435
|
update: null,
|
|
1448
1436
|
body: null,
|
|
1449
|
-
start: (start =
|
|
1450
|
-
end: (end =
|
|
1437
|
+
start: (start = deserializeI32(pos)),
|
|
1438
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1451
1439
|
range: [start, end],
|
|
1452
1440
|
};
|
|
1453
1441
|
node.init = deserializeOptionForStatementInit(pos + 16);
|
|
@@ -1560,8 +1548,8 @@ function deserializeForInStatement(pos) {
|
|
|
1560
1548
|
left: null,
|
|
1561
1549
|
right: null,
|
|
1562
1550
|
body: null,
|
|
1563
|
-
start: (start =
|
|
1564
|
-
end: (end =
|
|
1551
|
+
start: (start = deserializeI32(pos)),
|
|
1552
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1565
1553
|
range: [start, end],
|
|
1566
1554
|
};
|
|
1567
1555
|
node.left = deserializeForStatementLeft(pos + 16);
|
|
@@ -1608,8 +1596,8 @@ function deserializeForOfStatement(pos) {
|
|
|
1608
1596
|
left: null,
|
|
1609
1597
|
right: null,
|
|
1610
1598
|
body: null,
|
|
1611
|
-
start: (start =
|
|
1612
|
-
end: (end =
|
|
1599
|
+
start: (start = deserializeI32(pos)),
|
|
1600
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1613
1601
|
range: [start, end],
|
|
1614
1602
|
};
|
|
1615
1603
|
node.left = deserializeForStatementLeft(pos + 16);
|
|
@@ -1624,8 +1612,8 @@ function deserializeContinueStatement(pos) {
|
|
|
1624
1612
|
node = {
|
|
1625
1613
|
type: "ContinueStatement",
|
|
1626
1614
|
label: null,
|
|
1627
|
-
start: (start =
|
|
1628
|
-
end: (end =
|
|
1615
|
+
start: (start = deserializeI32(pos)),
|
|
1616
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1629
1617
|
range: [start, end],
|
|
1630
1618
|
};
|
|
1631
1619
|
node.label = deserializeOptionLabelIdentifier(pos + 16);
|
|
@@ -1638,8 +1626,8 @@ function deserializeBreakStatement(pos) {
|
|
|
1638
1626
|
node = {
|
|
1639
1627
|
type: "BreakStatement",
|
|
1640
1628
|
label: null,
|
|
1641
|
-
start: (start =
|
|
1642
|
-
end: (end =
|
|
1629
|
+
start: (start = deserializeI32(pos)),
|
|
1630
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1643
1631
|
range: [start, end],
|
|
1644
1632
|
};
|
|
1645
1633
|
node.label = deserializeOptionLabelIdentifier(pos + 16);
|
|
@@ -1652,8 +1640,8 @@ function deserializeReturnStatement(pos) {
|
|
|
1652
1640
|
node = {
|
|
1653
1641
|
type: "ReturnStatement",
|
|
1654
1642
|
argument: null,
|
|
1655
|
-
start: (start =
|
|
1656
|
-
end: (end =
|
|
1643
|
+
start: (start = deserializeI32(pos)),
|
|
1644
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1657
1645
|
range: [start, end],
|
|
1658
1646
|
};
|
|
1659
1647
|
node.argument = deserializeOptionExpression(pos + 16);
|
|
@@ -1667,8 +1655,8 @@ function deserializeWithStatement(pos) {
|
|
|
1667
1655
|
type: "WithStatement",
|
|
1668
1656
|
object: null,
|
|
1669
1657
|
body: null,
|
|
1670
|
-
start: (start =
|
|
1671
|
-
end: (end =
|
|
1658
|
+
start: (start = deserializeI32(pos)),
|
|
1659
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1672
1660
|
range: [start, end],
|
|
1673
1661
|
};
|
|
1674
1662
|
node.object = deserializeExpression(pos + 16);
|
|
@@ -1683,8 +1671,8 @@ function deserializeSwitchStatement(pos) {
|
|
|
1683
1671
|
type: "SwitchStatement",
|
|
1684
1672
|
discriminant: null,
|
|
1685
1673
|
cases: null,
|
|
1686
|
-
start: (start =
|
|
1687
|
-
end: (end =
|
|
1674
|
+
start: (start = deserializeI32(pos)),
|
|
1675
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1688
1676
|
range: [start, end],
|
|
1689
1677
|
};
|
|
1690
1678
|
node.discriminant = deserializeExpression(pos + 16);
|
|
@@ -1699,8 +1687,8 @@ function deserializeSwitchCase(pos) {
|
|
|
1699
1687
|
type: "SwitchCase",
|
|
1700
1688
|
test: null,
|
|
1701
1689
|
consequent: null,
|
|
1702
|
-
start: (start =
|
|
1703
|
-
end: (end =
|
|
1690
|
+
start: (start = deserializeI32(pos)),
|
|
1691
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1704
1692
|
range: [start, end],
|
|
1705
1693
|
};
|
|
1706
1694
|
node.test = deserializeOptionExpression(pos + 16);
|
|
@@ -1715,8 +1703,8 @@ function deserializeLabeledStatement(pos) {
|
|
|
1715
1703
|
type: "LabeledStatement",
|
|
1716
1704
|
label: null,
|
|
1717
1705
|
body: null,
|
|
1718
|
-
start: (start =
|
|
1719
|
-
end: (end =
|
|
1706
|
+
start: (start = deserializeI32(pos)),
|
|
1707
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1720
1708
|
range: [start, end],
|
|
1721
1709
|
};
|
|
1722
1710
|
node.label = deserializeLabelIdentifier(pos + 16);
|
|
@@ -1730,8 +1718,8 @@ function deserializeThrowStatement(pos) {
|
|
|
1730
1718
|
node = {
|
|
1731
1719
|
type: "ThrowStatement",
|
|
1732
1720
|
argument: null,
|
|
1733
|
-
start: (start =
|
|
1734
|
-
end: (end =
|
|
1721
|
+
start: (start = deserializeI32(pos)),
|
|
1722
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1735
1723
|
range: [start, end],
|
|
1736
1724
|
};
|
|
1737
1725
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -1746,8 +1734,8 @@ function deserializeTryStatement(pos) {
|
|
|
1746
1734
|
block: null,
|
|
1747
1735
|
handler: null,
|
|
1748
1736
|
finalizer: null,
|
|
1749
|
-
start: (start =
|
|
1750
|
-
end: (end =
|
|
1737
|
+
start: (start = deserializeI32(pos)),
|
|
1738
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1751
1739
|
range: [start, end],
|
|
1752
1740
|
};
|
|
1753
1741
|
node.block = deserializeBoxBlockStatement(pos + 16);
|
|
@@ -1763,8 +1751,8 @@ function deserializeCatchClause(pos) {
|
|
|
1763
1751
|
type: "CatchClause",
|
|
1764
1752
|
param: null,
|
|
1765
1753
|
body: null,
|
|
1766
|
-
start: (start =
|
|
1767
|
-
end: (end =
|
|
1754
|
+
start: (start = deserializeI32(pos)),
|
|
1755
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1768
1756
|
range: [start, end],
|
|
1769
1757
|
};
|
|
1770
1758
|
node.param = deserializeOptionCatchParameter(pos + 16);
|
|
@@ -1780,8 +1768,8 @@ function deserializeDebuggerStatement(pos) {
|
|
|
1780
1768
|
let start, end;
|
|
1781
1769
|
return {
|
|
1782
1770
|
type: "DebuggerStatement",
|
|
1783
|
-
start: (start =
|
|
1784
|
-
end: (end =
|
|
1771
|
+
start: (start = deserializeI32(pos)),
|
|
1772
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1785
1773
|
range: [start, end],
|
|
1786
1774
|
};
|
|
1787
1775
|
}
|
|
@@ -1808,8 +1796,8 @@ function deserializeAssignmentPattern(pos) {
|
|
|
1808
1796
|
type: "AssignmentPattern",
|
|
1809
1797
|
left: null,
|
|
1810
1798
|
right: null,
|
|
1811
|
-
start: (start =
|
|
1812
|
-
end: (end =
|
|
1799
|
+
start: (start = deserializeI32(pos)),
|
|
1800
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1813
1801
|
range: [start, end],
|
|
1814
1802
|
};
|
|
1815
1803
|
node.left = deserializeBindingPattern(pos + 16);
|
|
@@ -1823,8 +1811,8 @@ function deserializeObjectPattern(pos) {
|
|
|
1823
1811
|
node = {
|
|
1824
1812
|
type: "ObjectPattern",
|
|
1825
1813
|
properties: null,
|
|
1826
|
-
start: (start =
|
|
1827
|
-
end: (end =
|
|
1814
|
+
start: (start = deserializeI32(pos)),
|
|
1815
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1828
1816
|
range: [start, end],
|
|
1829
1817
|
},
|
|
1830
1818
|
properties = deserializeVecBindingProperty(pos + 16),
|
|
@@ -1839,20 +1827,18 @@ function deserializeBindingProperty(pos) {
|
|
|
1839
1827
|
end,
|
|
1840
1828
|
node = {
|
|
1841
1829
|
type: "Property",
|
|
1842
|
-
kind:
|
|
1830
|
+
kind: "init",
|
|
1843
1831
|
key: null,
|
|
1844
1832
|
value: null,
|
|
1845
|
-
method:
|
|
1833
|
+
method: false,
|
|
1846
1834
|
shorthand: deserializeBool(pos + 12),
|
|
1847
1835
|
computed: deserializeBool(pos + 13),
|
|
1848
|
-
start: (start =
|
|
1849
|
-
end: (end =
|
|
1836
|
+
start: (start = deserializeI32(pos)),
|
|
1837
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1850
1838
|
range: [start, end],
|
|
1851
1839
|
};
|
|
1852
|
-
node.kind = "init";
|
|
1853
1840
|
node.key = deserializePropertyKey(pos + 16);
|
|
1854
1841
|
node.value = deserializeBindingPattern(pos + 32);
|
|
1855
|
-
node.method = false;
|
|
1856
1842
|
return node;
|
|
1857
1843
|
}
|
|
1858
1844
|
|
|
@@ -1862,8 +1848,8 @@ function deserializeArrayPattern(pos) {
|
|
|
1862
1848
|
node = {
|
|
1863
1849
|
type: "ArrayPattern",
|
|
1864
1850
|
elements: null,
|
|
1865
|
-
start: (start =
|
|
1866
|
-
end: (end =
|
|
1851
|
+
start: (start = deserializeI32(pos)),
|
|
1852
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1867
1853
|
range: [start, end],
|
|
1868
1854
|
},
|
|
1869
1855
|
elements = deserializeVecOptionBindingPattern(pos + 16),
|
|
@@ -1879,8 +1865,8 @@ function deserializeBindingRestElement(pos) {
|
|
|
1879
1865
|
node = {
|
|
1880
1866
|
type: "RestElement",
|
|
1881
1867
|
argument: null,
|
|
1882
|
-
start: (start =
|
|
1883
|
-
end: (end =
|
|
1868
|
+
start: (start = deserializeI32(pos)),
|
|
1869
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1884
1870
|
range: [start, end],
|
|
1885
1871
|
};
|
|
1886
1872
|
node.argument = deserializeBindingPattern(pos + 16);
|
|
@@ -1897,16 +1883,15 @@ function deserializeFunction(pos) {
|
|
|
1897
1883
|
async: deserializeBool(pos + 90),
|
|
1898
1884
|
params: null,
|
|
1899
1885
|
body: null,
|
|
1900
|
-
expression:
|
|
1901
|
-
start: (start =
|
|
1902
|
-
end: (end =
|
|
1886
|
+
expression: false,
|
|
1887
|
+
start: (start = deserializeI32(pos)),
|
|
1888
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1903
1889
|
range: [start, end],
|
|
1904
1890
|
},
|
|
1905
1891
|
params = deserializeBoxFormalParameters(pos + 64);
|
|
1906
1892
|
node.id = deserializeOptionBindingIdentifier(pos + 16);
|
|
1907
1893
|
node.params = params;
|
|
1908
1894
|
node.body = deserializeOptionBoxFunctionBody(pos + 80);
|
|
1909
|
-
node.expression = false;
|
|
1910
1895
|
return node;
|
|
1911
1896
|
}
|
|
1912
1897
|
|
|
@@ -1926,16 +1911,17 @@ function deserializeFunctionType(pos) {
|
|
|
1926
1911
|
}
|
|
1927
1912
|
|
|
1928
1913
|
function deserializeFormalParameters(pos) {
|
|
1929
|
-
let params = deserializeVecFormalParameter(pos + 16)
|
|
1930
|
-
|
|
1931
|
-
|
|
1914
|
+
let params = deserializeVecFormalParameter(pos + 16),
|
|
1915
|
+
restFieldPos32 = (pos >> 2) + 10;
|
|
1916
|
+
if (int32[restFieldPos32] !== 0 && int32[restFieldPos32 + 1] !== 0) {
|
|
1917
|
+
pos = int32[restFieldPos32];
|
|
1932
1918
|
let start,
|
|
1933
1919
|
end,
|
|
1934
1920
|
rest = {
|
|
1935
1921
|
type: "RestElement",
|
|
1936
1922
|
argument: null,
|
|
1937
|
-
start: (start =
|
|
1938
|
-
end: (end =
|
|
1923
|
+
start: (start = deserializeI32(pos + 40)),
|
|
1924
|
+
end: (end = deserializeI32(pos + 44)),
|
|
1939
1925
|
range: [start, end],
|
|
1940
1926
|
};
|
|
1941
1927
|
rest.argument = deserializeBindingPattern(pos + 56);
|
|
@@ -1945,15 +1931,16 @@ function deserializeFormalParameters(pos) {
|
|
|
1945
1931
|
}
|
|
1946
1932
|
|
|
1947
1933
|
function deserializeFormalParameter(pos) {
|
|
1948
|
-
let param
|
|
1949
|
-
|
|
1934
|
+
let param,
|
|
1935
|
+
initializerFieldPos32 = (pos >> 2) + 16;
|
|
1936
|
+
if (int32[initializerFieldPos32] !== 0 && int32[initializerFieldPos32 + 1] !== 0) {
|
|
1950
1937
|
let start, end;
|
|
1951
1938
|
param = {
|
|
1952
1939
|
type: "AssignmentPattern",
|
|
1953
1940
|
left: null,
|
|
1954
1941
|
right: null,
|
|
1955
|
-
start: (start =
|
|
1956
|
-
end: (end =
|
|
1942
|
+
start: (start = deserializeI32(pos)),
|
|
1943
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1957
1944
|
range: [start, end],
|
|
1958
1945
|
};
|
|
1959
1946
|
param.left = deserializeBindingPattern(pos + 40);
|
|
@@ -1968,8 +1955,8 @@ function deserializeFunctionBody(pos) {
|
|
|
1968
1955
|
node = {
|
|
1969
1956
|
type: "BlockStatement",
|
|
1970
1957
|
body: null,
|
|
1971
|
-
start: (start =
|
|
1972
|
-
end: (end =
|
|
1958
|
+
start: (start = deserializeI32(pos)),
|
|
1959
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1973
1960
|
range: [start, end],
|
|
1974
1961
|
},
|
|
1975
1962
|
body = deserializeVecDirective(pos + 16);
|
|
@@ -1989,16 +1976,15 @@ function deserializeArrowFunctionExpression(pos) {
|
|
|
1989
1976
|
params: null,
|
|
1990
1977
|
body: null,
|
|
1991
1978
|
id: null,
|
|
1992
|
-
generator:
|
|
1993
|
-
start: (start =
|
|
1994
|
-
end: (end =
|
|
1979
|
+
generator: false,
|
|
1980
|
+
start: (start = deserializeI32(pos)),
|
|
1981
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1995
1982
|
range: [start, end],
|
|
1996
1983
|
},
|
|
1997
1984
|
body = deserializeBoxFunctionBody(pos + 40);
|
|
1998
1985
|
expression === true && (body = body.body[0].expression);
|
|
1999
1986
|
node.params = deserializeBoxFormalParameters(pos + 24);
|
|
2000
1987
|
node.body = body;
|
|
2001
|
-
node.generator = false;
|
|
2002
1988
|
return node;
|
|
2003
1989
|
}
|
|
2004
1990
|
|
|
@@ -2009,8 +1995,8 @@ function deserializeYieldExpression(pos) {
|
|
|
2009
1995
|
type: "YieldExpression",
|
|
2010
1996
|
delegate: deserializeBool(pos + 12),
|
|
2011
1997
|
argument: null,
|
|
2012
|
-
start: (start =
|
|
2013
|
-
end: (end =
|
|
1998
|
+
start: (start = deserializeI32(pos)),
|
|
1999
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2014
2000
|
range: [start, end],
|
|
2015
2001
|
};
|
|
2016
2002
|
node.argument = deserializeOptionExpression(pos + 16);
|
|
@@ -2026,8 +2012,8 @@ function deserializeClass(pos) {
|
|
|
2026
2012
|
id: null,
|
|
2027
2013
|
superClass: null,
|
|
2028
2014
|
body: null,
|
|
2029
|
-
start: (start =
|
|
2030
|
-
end: (end =
|
|
2015
|
+
start: (start = deserializeI32(pos)),
|
|
2016
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2031
2017
|
range: [start, end],
|
|
2032
2018
|
};
|
|
2033
2019
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2054,8 +2040,8 @@ function deserializeClassBody(pos) {
|
|
|
2054
2040
|
node = {
|
|
2055
2041
|
type: "ClassBody",
|
|
2056
2042
|
body: null,
|
|
2057
|
-
start: (start =
|
|
2058
|
-
end: (end =
|
|
2043
|
+
start: (start = deserializeI32(pos)),
|
|
2044
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2059
2045
|
range: [start, end],
|
|
2060
2046
|
};
|
|
2061
2047
|
node.body = deserializeVecClassElement(pos + 16);
|
|
@@ -2090,8 +2076,8 @@ function deserializeMethodDefinition(pos) {
|
|
|
2090
2076
|
kind: deserializeMethodDefinitionKind(pos + 13),
|
|
2091
2077
|
computed: deserializeBool(pos + 14),
|
|
2092
2078
|
static: deserializeBool(pos + 15),
|
|
2093
|
-
start: (start =
|
|
2094
|
-
end: (end =
|
|
2079
|
+
start: (start = deserializeI32(pos)),
|
|
2080
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2095
2081
|
range: [start, end],
|
|
2096
2082
|
};
|
|
2097
2083
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2121,8 +2107,8 @@ function deserializePropertyDefinition(pos) {
|
|
|
2121
2107
|
value: null,
|
|
2122
2108
|
computed: deserializeBool(pos + 13),
|
|
2123
2109
|
static: deserializeBool(pos + 14),
|
|
2124
|
-
start: (start =
|
|
2125
|
-
end: (end =
|
|
2110
|
+
start: (start = deserializeI32(pos)),
|
|
2111
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2126
2112
|
range: [start, end],
|
|
2127
2113
|
};
|
|
2128
2114
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2162,8 +2148,8 @@ function deserializePrivateIdentifier(pos) {
|
|
|
2162
2148
|
return {
|
|
2163
2149
|
type: "PrivateIdentifier",
|
|
2164
2150
|
name: deserializeStr(pos + 16),
|
|
2165
|
-
start: (start =
|
|
2166
|
-
end: (end =
|
|
2151
|
+
start: (start = deserializeI32(pos)),
|
|
2152
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2167
2153
|
range: [start, end],
|
|
2168
2154
|
};
|
|
2169
2155
|
}
|
|
@@ -2174,8 +2160,8 @@ function deserializeStaticBlock(pos) {
|
|
|
2174
2160
|
node = {
|
|
2175
2161
|
type: "StaticBlock",
|
|
2176
2162
|
body: null,
|
|
2177
|
-
start: (start =
|
|
2178
|
-
end: (end =
|
|
2163
|
+
start: (start = deserializeI32(pos)),
|
|
2164
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2179
2165
|
range: [start, end],
|
|
2180
2166
|
};
|
|
2181
2167
|
node.body = deserializeVecStatement(pos + 16);
|
|
@@ -2203,8 +2189,8 @@ function deserializeAccessorProperty(pos) {
|
|
|
2203
2189
|
value: null,
|
|
2204
2190
|
computed: deserializeBool(pos + 13),
|
|
2205
2191
|
static: deserializeBool(pos + 14),
|
|
2206
|
-
start: (start =
|
|
2207
|
-
end: (end =
|
|
2192
|
+
start: (start = deserializeI32(pos)),
|
|
2193
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2208
2194
|
range: [start, end],
|
|
2209
2195
|
};
|
|
2210
2196
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2221,8 +2207,8 @@ function deserializeImportExpression(pos) {
|
|
|
2221
2207
|
source: null,
|
|
2222
2208
|
options: null,
|
|
2223
2209
|
phase: deserializeOptionImportPhase(pos + 12),
|
|
2224
|
-
start: (start =
|
|
2225
|
-
end: (end =
|
|
2210
|
+
start: (start = deserializeI32(pos)),
|
|
2211
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2226
2212
|
range: [start, end],
|
|
2227
2213
|
};
|
|
2228
2214
|
node.source = deserializeExpression(pos + 16);
|
|
@@ -2239,8 +2225,8 @@ function deserializeImportDeclaration(pos) {
|
|
|
2239
2225
|
source: null,
|
|
2240
2226
|
phase: deserializeOptionImportPhase(pos + 12),
|
|
2241
2227
|
attributes: null,
|
|
2242
|
-
start: (start =
|
|
2243
|
-
end: (end =
|
|
2228
|
+
start: (start = deserializeI32(pos)),
|
|
2229
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2244
2230
|
range: [start, end],
|
|
2245
2231
|
},
|
|
2246
2232
|
specifiers = deserializeOptionVecImportDeclarationSpecifier(pos + 16);
|
|
@@ -2283,8 +2269,8 @@ function deserializeImportSpecifier(pos) {
|
|
|
2283
2269
|
type: "ImportSpecifier",
|
|
2284
2270
|
imported: null,
|
|
2285
2271
|
local: null,
|
|
2286
|
-
start: (start =
|
|
2287
|
-
end: (end =
|
|
2272
|
+
start: (start = deserializeI32(pos)),
|
|
2273
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2288
2274
|
range: [start, end],
|
|
2289
2275
|
};
|
|
2290
2276
|
node.imported = deserializeModuleExportName(pos + 16);
|
|
@@ -2298,8 +2284,8 @@ function deserializeImportDefaultSpecifier(pos) {
|
|
|
2298
2284
|
node = {
|
|
2299
2285
|
type: "ImportDefaultSpecifier",
|
|
2300
2286
|
local: null,
|
|
2301
|
-
start: (start =
|
|
2302
|
-
end: (end =
|
|
2287
|
+
start: (start = deserializeI32(pos)),
|
|
2288
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2303
2289
|
range: [start, end],
|
|
2304
2290
|
};
|
|
2305
2291
|
node.local = deserializeBindingIdentifier(pos + 16);
|
|
@@ -2312,8 +2298,8 @@ function deserializeImportNamespaceSpecifier(pos) {
|
|
|
2312
2298
|
node = {
|
|
2313
2299
|
type: "ImportNamespaceSpecifier",
|
|
2314
2300
|
local: null,
|
|
2315
|
-
start: (start =
|
|
2316
|
-
end: (end =
|
|
2301
|
+
start: (start = deserializeI32(pos)),
|
|
2302
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2317
2303
|
range: [start, end],
|
|
2318
2304
|
};
|
|
2319
2305
|
node.local = deserializeBindingIdentifier(pos + 16);
|
|
@@ -2331,8 +2317,8 @@ function deserializeImportAttribute(pos) {
|
|
|
2331
2317
|
type: "ImportAttribute",
|
|
2332
2318
|
key: null,
|
|
2333
2319
|
value: null,
|
|
2334
|
-
start: (start =
|
|
2335
|
-
end: (end =
|
|
2320
|
+
start: (start = deserializeI32(pos)),
|
|
2321
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2336
2322
|
range: [start, end],
|
|
2337
2323
|
};
|
|
2338
2324
|
node.key = deserializeImportAttributeKey(pos + 16);
|
|
@@ -2360,8 +2346,8 @@ function deserializeExportNamedDeclaration(pos) {
|
|
|
2360
2346
|
specifiers: null,
|
|
2361
2347
|
source: null,
|
|
2362
2348
|
attributes: null,
|
|
2363
|
-
start: (start =
|
|
2364
|
-
end: (end =
|
|
2349
|
+
start: (start = deserializeI32(pos)),
|
|
2350
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2365
2351
|
range: [start, end],
|
|
2366
2352
|
},
|
|
2367
2353
|
withClause = deserializeOptionBoxWithClause(pos + 104);
|
|
@@ -2378,8 +2364,8 @@ function deserializeExportDefaultDeclaration(pos) {
|
|
|
2378
2364
|
node = {
|
|
2379
2365
|
type: "ExportDefaultDeclaration",
|
|
2380
2366
|
declaration: null,
|
|
2381
|
-
start: (start =
|
|
2382
|
-
end: (end =
|
|
2367
|
+
start: (start = deserializeI32(pos)),
|
|
2368
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2383
2369
|
range: [start, end],
|
|
2384
2370
|
};
|
|
2385
2371
|
node.declaration = deserializeExportDefaultDeclarationKind(pos + 16);
|
|
@@ -2394,8 +2380,8 @@ function deserializeExportAllDeclaration(pos) {
|
|
|
2394
2380
|
exported: null,
|
|
2395
2381
|
source: null,
|
|
2396
2382
|
attributes: null,
|
|
2397
|
-
start: (start =
|
|
2398
|
-
end: (end =
|
|
2383
|
+
start: (start = deserializeI32(pos)),
|
|
2384
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2399
2385
|
range: [start, end],
|
|
2400
2386
|
},
|
|
2401
2387
|
withClause = deserializeOptionBoxWithClause(pos + 120);
|
|
@@ -2412,8 +2398,8 @@ function deserializeExportSpecifier(pos) {
|
|
|
2412
2398
|
type: "ExportSpecifier",
|
|
2413
2399
|
local: null,
|
|
2414
2400
|
exported: null,
|
|
2415
|
-
start: (start =
|
|
2416
|
-
end: (end =
|
|
2401
|
+
start: (start = deserializeI32(pos)),
|
|
2402
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2417
2403
|
range: [start, end],
|
|
2418
2404
|
};
|
|
2419
2405
|
node.local = deserializeModuleExportName(pos + 16);
|
|
@@ -2540,8 +2526,8 @@ function deserializeV8IntrinsicExpression(pos) {
|
|
|
2540
2526
|
type: "V8IntrinsicExpression",
|
|
2541
2527
|
name: null,
|
|
2542
2528
|
arguments: null,
|
|
2543
|
-
start: (start =
|
|
2544
|
-
end: (end =
|
|
2529
|
+
start: (start = deserializeI32(pos)),
|
|
2530
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2545
2531
|
range: [start, end],
|
|
2546
2532
|
};
|
|
2547
2533
|
node.name = deserializeIdentifierName(pos + 16);
|
|
@@ -2551,8 +2537,8 @@ function deserializeV8IntrinsicExpression(pos) {
|
|
|
2551
2537
|
|
|
2552
2538
|
function deserializeBooleanLiteral(pos) {
|
|
2553
2539
|
let value = deserializeBool(pos + 12),
|
|
2554
|
-
start =
|
|
2555
|
-
end =
|
|
2540
|
+
start = deserializeI32(pos),
|
|
2541
|
+
end = deserializeI32(pos + 4),
|
|
2556
2542
|
node = {
|
|
2557
2543
|
type: "Literal",
|
|
2558
2544
|
value,
|
|
@@ -2566,28 +2552,26 @@ function deserializeBooleanLiteral(pos) {
|
|
|
2566
2552
|
}
|
|
2567
2553
|
|
|
2568
2554
|
function deserializeNullLiteral(pos) {
|
|
2569
|
-
let start =
|
|
2570
|
-
end =
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
node.raw = start === 0 && end === 0 ? null : "null";
|
|
2580
|
-
return node;
|
|
2555
|
+
let start = deserializeI32(pos),
|
|
2556
|
+
end = deserializeI32(pos + 4);
|
|
2557
|
+
return {
|
|
2558
|
+
type: "Literal",
|
|
2559
|
+
value: null,
|
|
2560
|
+
raw: start === 0 && end === 0 ? null : "null",
|
|
2561
|
+
start,
|
|
2562
|
+
end,
|
|
2563
|
+
range: [start, end],
|
|
2564
|
+
};
|
|
2581
2565
|
}
|
|
2582
2566
|
|
|
2583
2567
|
function deserializeNumericLiteral(pos) {
|
|
2584
|
-
let start =
|
|
2585
|
-
end =
|
|
2568
|
+
let start = deserializeI32(pos),
|
|
2569
|
+
end = deserializeI32(pos + 4);
|
|
2586
2570
|
return {
|
|
2587
2571
|
type: "Literal",
|
|
2588
2572
|
value: deserializeF64(pos + 32),
|
|
2589
2573
|
raw:
|
|
2590
|
-
|
|
2574
|
+
int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
2591
2575
|
? null
|
|
2592
2576
|
: sourceText.slice(start, end),
|
|
2593
2577
|
start,
|
|
@@ -2597,13 +2581,13 @@ function deserializeNumericLiteral(pos) {
|
|
|
2597
2581
|
}
|
|
2598
2582
|
|
|
2599
2583
|
function deserializeStringLiteral(pos) {
|
|
2600
|
-
let start =
|
|
2601
|
-
end =
|
|
2584
|
+
let start = deserializeI32(pos),
|
|
2585
|
+
end = deserializeI32(pos + 4),
|
|
2602
2586
|
node = {
|
|
2603
2587
|
type: "Literal",
|
|
2604
2588
|
value: null,
|
|
2605
2589
|
raw:
|
|
2606
|
-
|
|
2590
|
+
int32[(pos >> 2) + 8] === 0 && int32[(pos >> 2) + 9] === 0
|
|
2607
2591
|
? null
|
|
2608
2592
|
: sourceText.slice(start, end),
|
|
2609
2593
|
start,
|
|
@@ -2618,34 +2602,31 @@ function deserializeStringLiteral(pos) {
|
|
|
2618
2602
|
}
|
|
2619
2603
|
|
|
2620
2604
|
function deserializeBigIntLiteral(pos) {
|
|
2621
|
-
let start =
|
|
2622
|
-
end =
|
|
2623
|
-
node = {
|
|
2624
|
-
type: "Literal",
|
|
2625
|
-
value: null,
|
|
2626
|
-
raw:
|
|
2627
|
-
uint32[(pos + 32) >> 2] === 0 && uint32[(pos + 36) >> 2] === 0
|
|
2628
|
-
? null
|
|
2629
|
-
: sourceText.slice(start, end),
|
|
2630
|
-
bigint: null,
|
|
2631
|
-
start,
|
|
2632
|
-
end,
|
|
2633
|
-
range: [start, end],
|
|
2634
|
-
},
|
|
2605
|
+
let start = deserializeI32(pos),
|
|
2606
|
+
end = deserializeI32(pos + 4),
|
|
2635
2607
|
bigint = deserializeStr(pos + 16);
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2608
|
+
return {
|
|
2609
|
+
type: "Literal",
|
|
2610
|
+
value: BigInt(bigint),
|
|
2611
|
+
raw:
|
|
2612
|
+
int32[(pos >> 2) + 8] === 0 && int32[(pos >> 2) + 9] === 0
|
|
2613
|
+
? null
|
|
2614
|
+
: sourceText.slice(start, end),
|
|
2615
|
+
bigint,
|
|
2616
|
+
start,
|
|
2617
|
+
end,
|
|
2618
|
+
range: [start, end],
|
|
2619
|
+
};
|
|
2639
2620
|
}
|
|
2640
2621
|
|
|
2641
2622
|
function deserializeRegExpLiteral(pos) {
|
|
2642
|
-
let start =
|
|
2643
|
-
end =
|
|
2623
|
+
let start = deserializeI32(pos),
|
|
2624
|
+
end = deserializeI32(pos + 4),
|
|
2644
2625
|
node = {
|
|
2645
2626
|
type: "Literal",
|
|
2646
2627
|
value: null,
|
|
2647
2628
|
raw:
|
|
2648
|
-
|
|
2629
|
+
int32[(pos >> 2) + 12] === 0 && int32[(pos >> 2) + 13] === 0
|
|
2649
2630
|
? null
|
|
2650
2631
|
: sourceText.slice(start, end),
|
|
2651
2632
|
regex: null,
|
|
@@ -2693,8 +2674,8 @@ function deserializeJSXElement(pos) {
|
|
|
2693
2674
|
openingElement: null,
|
|
2694
2675
|
children: null,
|
|
2695
2676
|
closingElement: null,
|
|
2696
|
-
start: (start =
|
|
2697
|
-
end: (end =
|
|
2677
|
+
start: (start = deserializeI32(pos)),
|
|
2678
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2698
2679
|
range: [start, end],
|
|
2699
2680
|
},
|
|
2700
2681
|
closingElement = deserializeOptionBoxJSXClosingElement(pos + 48),
|
|
@@ -2713,14 +2694,13 @@ function deserializeJSXOpeningElement(pos) {
|
|
|
2713
2694
|
type: "JSXOpeningElement",
|
|
2714
2695
|
name: null,
|
|
2715
2696
|
attributes: null,
|
|
2716
|
-
selfClosing:
|
|
2717
|
-
start: (start =
|
|
2718
|
-
end: (end =
|
|
2697
|
+
selfClosing: false,
|
|
2698
|
+
start: (start = deserializeI32(pos)),
|
|
2699
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2719
2700
|
range: [start, end],
|
|
2720
2701
|
};
|
|
2721
2702
|
node.name = deserializeJSXElementName(pos + 16);
|
|
2722
2703
|
node.attributes = deserializeVecJSXAttributeItem(pos + 40);
|
|
2723
|
-
node.selfClosing = false;
|
|
2724
2704
|
return node;
|
|
2725
2705
|
}
|
|
2726
2706
|
|
|
@@ -2730,8 +2710,8 @@ function deserializeJSXClosingElement(pos) {
|
|
|
2730
2710
|
node = {
|
|
2731
2711
|
type: "JSXClosingElement",
|
|
2732
2712
|
name: null,
|
|
2733
|
-
start: (start =
|
|
2734
|
-
end: (end =
|
|
2713
|
+
start: (start = deserializeI32(pos)),
|
|
2714
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2735
2715
|
range: [start, end],
|
|
2736
2716
|
};
|
|
2737
2717
|
node.name = deserializeJSXElementName(pos + 16);
|
|
@@ -2746,8 +2726,8 @@ function deserializeJSXFragment(pos) {
|
|
|
2746
2726
|
openingFragment: null,
|
|
2747
2727
|
children: null,
|
|
2748
2728
|
closingFragment: null,
|
|
2749
|
-
start: (start =
|
|
2750
|
-
end: (end =
|
|
2729
|
+
start: (start = deserializeI32(pos)),
|
|
2730
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2751
2731
|
range: [start, end],
|
|
2752
2732
|
};
|
|
2753
2733
|
node.openingFragment = deserializeJSXOpeningFragment(pos + 16);
|
|
@@ -2757,27 +2737,23 @@ function deserializeJSXFragment(pos) {
|
|
|
2757
2737
|
}
|
|
2758
2738
|
|
|
2759
2739
|
function deserializeJSXOpeningFragment(pos) {
|
|
2760
|
-
let start,
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
};
|
|
2770
|
-
node.attributes = [];
|
|
2771
|
-
node.selfClosing = false;
|
|
2772
|
-
return node;
|
|
2740
|
+
let start, end;
|
|
2741
|
+
return {
|
|
2742
|
+
type: "JSXOpeningFragment",
|
|
2743
|
+
attributes: [],
|
|
2744
|
+
selfClosing: false,
|
|
2745
|
+
start: (start = deserializeI32(pos)),
|
|
2746
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2747
|
+
range: [start, end],
|
|
2748
|
+
};
|
|
2773
2749
|
}
|
|
2774
2750
|
|
|
2775
2751
|
function deserializeJSXClosingFragment(pos) {
|
|
2776
2752
|
let start, end;
|
|
2777
2753
|
return {
|
|
2778
2754
|
type: "JSXClosingFragment",
|
|
2779
|
-
start: (start =
|
|
2780
|
-
end: (end =
|
|
2755
|
+
start: (start = deserializeI32(pos)),
|
|
2756
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2781
2757
|
range: [start, end],
|
|
2782
2758
|
};
|
|
2783
2759
|
}
|
|
@@ -2820,8 +2796,8 @@ function deserializeJSXNamespacedName(pos) {
|
|
|
2820
2796
|
type: "JSXNamespacedName",
|
|
2821
2797
|
namespace: null,
|
|
2822
2798
|
name: null,
|
|
2823
|
-
start: (start =
|
|
2824
|
-
end: (end =
|
|
2799
|
+
start: (start = deserializeI32(pos)),
|
|
2800
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2825
2801
|
range: [start, end],
|
|
2826
2802
|
};
|
|
2827
2803
|
node.namespace = deserializeJSXIdentifier(pos + 16);
|
|
@@ -2836,8 +2812,8 @@ function deserializeJSXMemberExpression(pos) {
|
|
|
2836
2812
|
type: "JSXMemberExpression",
|
|
2837
2813
|
object: null,
|
|
2838
2814
|
property: null,
|
|
2839
|
-
start: (start =
|
|
2840
|
-
end: (end =
|
|
2815
|
+
start: (start = deserializeI32(pos)),
|
|
2816
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2841
2817
|
range: [start, end],
|
|
2842
2818
|
};
|
|
2843
2819
|
node.object = deserializeJSXMemberExpressionObject(pos + 16);
|
|
@@ -2878,8 +2854,8 @@ function deserializeJSXExpressionContainer(pos) {
|
|
|
2878
2854
|
node = {
|
|
2879
2855
|
type: "JSXExpressionContainer",
|
|
2880
2856
|
expression: null,
|
|
2881
|
-
start: (start =
|
|
2882
|
-
end: (end =
|
|
2857
|
+
start: (start = deserializeI32(pos)),
|
|
2858
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2883
2859
|
range: [start, end],
|
|
2884
2860
|
};
|
|
2885
2861
|
node.expression = deserializeJSXExpression(pos + 16);
|
|
@@ -2985,8 +2961,8 @@ function deserializeJSXEmptyExpression(pos) {
|
|
|
2985
2961
|
let start, end;
|
|
2986
2962
|
return {
|
|
2987
2963
|
type: "JSXEmptyExpression",
|
|
2988
|
-
start: (start =
|
|
2989
|
-
end: (end =
|
|
2964
|
+
start: (start = deserializeI32(pos)),
|
|
2965
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2990
2966
|
range: [start, end],
|
|
2991
2967
|
};
|
|
2992
2968
|
}
|
|
@@ -3009,8 +2985,8 @@ function deserializeJSXAttribute(pos) {
|
|
|
3009
2985
|
type: "JSXAttribute",
|
|
3010
2986
|
name: null,
|
|
3011
2987
|
value: null,
|
|
3012
|
-
start: (start =
|
|
3013
|
-
end: (end =
|
|
2988
|
+
start: (start = deserializeI32(pos)),
|
|
2989
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3014
2990
|
range: [start, end],
|
|
3015
2991
|
};
|
|
3016
2992
|
node.name = deserializeJSXAttributeName(pos + 16);
|
|
@@ -3024,8 +3000,8 @@ function deserializeJSXSpreadAttribute(pos) {
|
|
|
3024
3000
|
node = {
|
|
3025
3001
|
type: "JSXSpreadAttribute",
|
|
3026
3002
|
argument: null,
|
|
3027
|
-
start: (start =
|
|
3028
|
-
end: (end =
|
|
3003
|
+
start: (start = deserializeI32(pos)),
|
|
3004
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3029
3005
|
range: [start, end],
|
|
3030
3006
|
};
|
|
3031
3007
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -3063,8 +3039,8 @@ function deserializeJSXIdentifier(pos) {
|
|
|
3063
3039
|
return {
|
|
3064
3040
|
type: "JSXIdentifier",
|
|
3065
3041
|
name: deserializeStr(pos + 16),
|
|
3066
|
-
start: (start =
|
|
3067
|
-
end: (end =
|
|
3042
|
+
start: (start = deserializeI32(pos)),
|
|
3043
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3068
3044
|
range: [start, end],
|
|
3069
3045
|
};
|
|
3070
3046
|
}
|
|
@@ -3092,8 +3068,8 @@ function deserializeJSXSpreadChild(pos) {
|
|
|
3092
3068
|
node = {
|
|
3093
3069
|
type: "JSXSpreadChild",
|
|
3094
3070
|
expression: null,
|
|
3095
|
-
start: (start =
|
|
3096
|
-
end: (end =
|
|
3071
|
+
start: (start = deserializeI32(pos)),
|
|
3072
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3097
3073
|
range: [start, end],
|
|
3098
3074
|
};
|
|
3099
3075
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -3101,13 +3077,13 @@ function deserializeJSXSpreadChild(pos) {
|
|
|
3101
3077
|
}
|
|
3102
3078
|
|
|
3103
3079
|
function deserializeJSXText(pos) {
|
|
3104
|
-
let start =
|
|
3105
|
-
end =
|
|
3080
|
+
let start = deserializeI32(pos),
|
|
3081
|
+
end = deserializeI32(pos + 4);
|
|
3106
3082
|
return {
|
|
3107
3083
|
type: "JSXText",
|
|
3108
3084
|
value: deserializeStr(pos + 16),
|
|
3109
3085
|
raw:
|
|
3110
|
-
|
|
3086
|
+
int32[(pos >> 2) + 8] === 0 && int32[(pos >> 2) + 9] === 0
|
|
3111
3087
|
? null
|
|
3112
3088
|
: sourceText.slice(start, end),
|
|
3113
3089
|
start,
|
|
@@ -3121,17 +3097,14 @@ function deserializeTSThisParameter(pos) {
|
|
|
3121
3097
|
end,
|
|
3122
3098
|
node = {
|
|
3123
3099
|
type: "Identifier",
|
|
3124
|
-
decorators:
|
|
3125
|
-
name:
|
|
3126
|
-
optional:
|
|
3100
|
+
decorators: [],
|
|
3101
|
+
name: "this",
|
|
3102
|
+
optional: false,
|
|
3127
3103
|
typeAnnotation: null,
|
|
3128
|
-
start: (start =
|
|
3129
|
-
end: (end =
|
|
3104
|
+
start: (start = deserializeI32(pos)),
|
|
3105
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3130
3106
|
range: [start, end],
|
|
3131
3107
|
};
|
|
3132
|
-
node.decorators = [];
|
|
3133
|
-
node.name = "this";
|
|
3134
|
-
node.optional = false;
|
|
3135
3108
|
node.typeAnnotation = deserializeOptionBoxTSTypeAnnotation(pos + 24);
|
|
3136
3109
|
return node;
|
|
3137
3110
|
}
|
|
@@ -3145,8 +3118,8 @@ function deserializeTSEnumDeclaration(pos) {
|
|
|
3145
3118
|
body: null,
|
|
3146
3119
|
const: deserializeBool(pos + 12),
|
|
3147
3120
|
declare: deserializeBool(pos + 13),
|
|
3148
|
-
start: (start =
|
|
3149
|
-
end: (end =
|
|
3121
|
+
start: (start = deserializeI32(pos)),
|
|
3122
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3150
3123
|
range: [start, end],
|
|
3151
3124
|
};
|
|
3152
3125
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -3160,8 +3133,8 @@ function deserializeTSEnumBody(pos) {
|
|
|
3160
3133
|
node = {
|
|
3161
3134
|
type: "TSEnumBody",
|
|
3162
3135
|
members: null,
|
|
3163
|
-
start: (start =
|
|
3164
|
-
end: (end =
|
|
3136
|
+
start: (start = deserializeI32(pos)),
|
|
3137
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3165
3138
|
range: [start, end],
|
|
3166
3139
|
};
|
|
3167
3140
|
node.members = deserializeVecTSEnumMember(pos + 16);
|
|
@@ -3175,14 +3148,13 @@ function deserializeTSEnumMember(pos) {
|
|
|
3175
3148
|
type: "TSEnumMember",
|
|
3176
3149
|
id: null,
|
|
3177
3150
|
initializer: null,
|
|
3178
|
-
computed:
|
|
3179
|
-
start: (start =
|
|
3180
|
-
end: (end =
|
|
3151
|
+
computed: deserializeU8(pos + 16) > 1,
|
|
3152
|
+
start: (start = deserializeI32(pos)),
|
|
3153
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3181
3154
|
range: [start, end],
|
|
3182
3155
|
};
|
|
3183
3156
|
node.id = deserializeTSEnumMemberName(pos + 16);
|
|
3184
3157
|
node.initializer = deserializeOptionExpression(pos + 32);
|
|
3185
|
-
node.computed = deserializeU8(pos + 16) > 1;
|
|
3186
3158
|
return node;
|
|
3187
3159
|
}
|
|
3188
3160
|
|
|
@@ -3207,8 +3179,8 @@ function deserializeTSTypeAnnotation(pos) {
|
|
|
3207
3179
|
node = {
|
|
3208
3180
|
type: "TSTypeAnnotation",
|
|
3209
3181
|
typeAnnotation: null,
|
|
3210
|
-
start: (start =
|
|
3211
|
-
end: (end =
|
|
3182
|
+
start: (start = deserializeI32(pos)),
|
|
3183
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3212
3184
|
range: [start, end],
|
|
3213
3185
|
};
|
|
3214
3186
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3221,8 +3193,8 @@ function deserializeTSLiteralType(pos) {
|
|
|
3221
3193
|
node = {
|
|
3222
3194
|
type: "TSLiteralType",
|
|
3223
3195
|
literal: null,
|
|
3224
|
-
start: (start =
|
|
3225
|
-
end: (end =
|
|
3196
|
+
start: (start = deserializeI32(pos)),
|
|
3197
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3226
3198
|
range: [start, end],
|
|
3227
3199
|
};
|
|
3228
3200
|
node.literal = deserializeTSLiteral(pos + 16);
|
|
@@ -3338,8 +3310,8 @@ function deserializeTSConditionalType(pos) {
|
|
|
3338
3310
|
extendsType: null,
|
|
3339
3311
|
trueType: null,
|
|
3340
3312
|
falseType: null,
|
|
3341
|
-
start: (start =
|
|
3342
|
-
end: (end =
|
|
3313
|
+
start: (start = deserializeI32(pos)),
|
|
3314
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3343
3315
|
range: [start, end],
|
|
3344
3316
|
};
|
|
3345
3317
|
node.checkType = deserializeTSType(pos + 16);
|
|
@@ -3355,8 +3327,8 @@ function deserializeTSUnionType(pos) {
|
|
|
3355
3327
|
node = {
|
|
3356
3328
|
type: "TSUnionType",
|
|
3357
3329
|
types: null,
|
|
3358
|
-
start: (start =
|
|
3359
|
-
end: (end =
|
|
3330
|
+
start: (start = deserializeI32(pos)),
|
|
3331
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3360
3332
|
range: [start, end],
|
|
3361
3333
|
};
|
|
3362
3334
|
node.types = deserializeVecTSType(pos + 16);
|
|
@@ -3369,8 +3341,8 @@ function deserializeTSIntersectionType(pos) {
|
|
|
3369
3341
|
node = {
|
|
3370
3342
|
type: "TSIntersectionType",
|
|
3371
3343
|
types: null,
|
|
3372
|
-
start: (start =
|
|
3373
|
-
end: (end =
|
|
3344
|
+
start: (start = deserializeI32(pos)),
|
|
3345
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3374
3346
|
range: [start, end],
|
|
3375
3347
|
};
|
|
3376
3348
|
node.types = deserializeVecTSType(pos + 16);
|
|
@@ -3384,8 +3356,8 @@ function deserializeTSParenthesizedType(pos) {
|
|
|
3384
3356
|
node = {
|
|
3385
3357
|
type: "TSParenthesizedType",
|
|
3386
3358
|
typeAnnotation: null,
|
|
3387
|
-
start: (start =
|
|
3388
|
-
end: (end =
|
|
3359
|
+
start: (start = deserializeI32(pos)),
|
|
3360
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3389
3361
|
range: [start, end],
|
|
3390
3362
|
};
|
|
3391
3363
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3400,8 +3372,8 @@ function deserializeTSTypeOperator(pos) {
|
|
|
3400
3372
|
type: "TSTypeOperator",
|
|
3401
3373
|
operator: deserializeTSTypeOperatorOperator(pos + 12),
|
|
3402
3374
|
typeAnnotation: null,
|
|
3403
|
-
start: (start =
|
|
3404
|
-
end: (end =
|
|
3375
|
+
start: (start = deserializeI32(pos)),
|
|
3376
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3405
3377
|
range: [start, end],
|
|
3406
3378
|
};
|
|
3407
3379
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3427,8 +3399,8 @@ function deserializeTSArrayType(pos) {
|
|
|
3427
3399
|
node = {
|
|
3428
3400
|
type: "TSArrayType",
|
|
3429
3401
|
elementType: null,
|
|
3430
|
-
start: (start =
|
|
3431
|
-
end: (end =
|
|
3402
|
+
start: (start = deserializeI32(pos)),
|
|
3403
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3432
3404
|
range: [start, end],
|
|
3433
3405
|
};
|
|
3434
3406
|
node.elementType = deserializeTSType(pos + 16);
|
|
@@ -3442,8 +3414,8 @@ function deserializeTSIndexedAccessType(pos) {
|
|
|
3442
3414
|
type: "TSIndexedAccessType",
|
|
3443
3415
|
objectType: null,
|
|
3444
3416
|
indexType: null,
|
|
3445
|
-
start: (start =
|
|
3446
|
-
end: (end =
|
|
3417
|
+
start: (start = deserializeI32(pos)),
|
|
3418
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3447
3419
|
range: [start, end],
|
|
3448
3420
|
};
|
|
3449
3421
|
node.objectType = deserializeTSType(pos + 16);
|
|
@@ -3457,8 +3429,8 @@ function deserializeTSTupleType(pos) {
|
|
|
3457
3429
|
node = {
|
|
3458
3430
|
type: "TSTupleType",
|
|
3459
3431
|
elementTypes: null,
|
|
3460
|
-
start: (start =
|
|
3461
|
-
end: (end =
|
|
3432
|
+
start: (start = deserializeI32(pos)),
|
|
3433
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3462
3434
|
range: [start, end],
|
|
3463
3435
|
};
|
|
3464
3436
|
node.elementTypes = deserializeVecTSTupleElement(pos + 16);
|
|
@@ -3473,8 +3445,8 @@ function deserializeTSNamedTupleMember(pos) {
|
|
|
3473
3445
|
label: null,
|
|
3474
3446
|
elementType: null,
|
|
3475
3447
|
optional: deserializeBool(pos + 12),
|
|
3476
|
-
start: (start =
|
|
3477
|
-
end: (end =
|
|
3448
|
+
start: (start = deserializeI32(pos)),
|
|
3449
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3478
3450
|
range: [start, end],
|
|
3479
3451
|
};
|
|
3480
3452
|
node.label = deserializeIdentifierName(pos + 16);
|
|
@@ -3488,8 +3460,8 @@ function deserializeTSOptionalType(pos) {
|
|
|
3488
3460
|
node = {
|
|
3489
3461
|
type: "TSOptionalType",
|
|
3490
3462
|
typeAnnotation: null,
|
|
3491
|
-
start: (start =
|
|
3492
|
-
end: (end =
|
|
3463
|
+
start: (start = deserializeI32(pos)),
|
|
3464
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3493
3465
|
range: [start, end],
|
|
3494
3466
|
};
|
|
3495
3467
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3502,8 +3474,8 @@ function deserializeTSRestType(pos) {
|
|
|
3502
3474
|
node = {
|
|
3503
3475
|
type: "TSRestType",
|
|
3504
3476
|
typeAnnotation: null,
|
|
3505
|
-
start: (start =
|
|
3506
|
-
end: (end =
|
|
3477
|
+
start: (start = deserializeI32(pos)),
|
|
3478
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3507
3479
|
range: [start, end],
|
|
3508
3480
|
};
|
|
3509
3481
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3599,8 +3571,8 @@ function deserializeTSAnyKeyword(pos) {
|
|
|
3599
3571
|
let start, end;
|
|
3600
3572
|
return {
|
|
3601
3573
|
type: "TSAnyKeyword",
|
|
3602
|
-
start: (start =
|
|
3603
|
-
end: (end =
|
|
3574
|
+
start: (start = deserializeI32(pos)),
|
|
3575
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3604
3576
|
range: [start, end],
|
|
3605
3577
|
};
|
|
3606
3578
|
}
|
|
@@ -3609,8 +3581,8 @@ function deserializeTSStringKeyword(pos) {
|
|
|
3609
3581
|
let start, end;
|
|
3610
3582
|
return {
|
|
3611
3583
|
type: "TSStringKeyword",
|
|
3612
|
-
start: (start =
|
|
3613
|
-
end: (end =
|
|
3584
|
+
start: (start = deserializeI32(pos)),
|
|
3585
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3614
3586
|
range: [start, end],
|
|
3615
3587
|
};
|
|
3616
3588
|
}
|
|
@@ -3619,8 +3591,8 @@ function deserializeTSBooleanKeyword(pos) {
|
|
|
3619
3591
|
let start, end;
|
|
3620
3592
|
return {
|
|
3621
3593
|
type: "TSBooleanKeyword",
|
|
3622
|
-
start: (start =
|
|
3623
|
-
end: (end =
|
|
3594
|
+
start: (start = deserializeI32(pos)),
|
|
3595
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3624
3596
|
range: [start, end],
|
|
3625
3597
|
};
|
|
3626
3598
|
}
|
|
@@ -3629,8 +3601,8 @@ function deserializeTSNumberKeyword(pos) {
|
|
|
3629
3601
|
let start, end;
|
|
3630
3602
|
return {
|
|
3631
3603
|
type: "TSNumberKeyword",
|
|
3632
|
-
start: (start =
|
|
3633
|
-
end: (end =
|
|
3604
|
+
start: (start = deserializeI32(pos)),
|
|
3605
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3634
3606
|
range: [start, end],
|
|
3635
3607
|
};
|
|
3636
3608
|
}
|
|
@@ -3639,8 +3611,8 @@ function deserializeTSNeverKeyword(pos) {
|
|
|
3639
3611
|
let start, end;
|
|
3640
3612
|
return {
|
|
3641
3613
|
type: "TSNeverKeyword",
|
|
3642
|
-
start: (start =
|
|
3643
|
-
end: (end =
|
|
3614
|
+
start: (start = deserializeI32(pos)),
|
|
3615
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3644
3616
|
range: [start, end],
|
|
3645
3617
|
};
|
|
3646
3618
|
}
|
|
@@ -3649,8 +3621,8 @@ function deserializeTSIntrinsicKeyword(pos) {
|
|
|
3649
3621
|
let start, end;
|
|
3650
3622
|
return {
|
|
3651
3623
|
type: "TSIntrinsicKeyword",
|
|
3652
|
-
start: (start =
|
|
3653
|
-
end: (end =
|
|
3624
|
+
start: (start = deserializeI32(pos)),
|
|
3625
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3654
3626
|
range: [start, end],
|
|
3655
3627
|
};
|
|
3656
3628
|
}
|
|
@@ -3659,8 +3631,8 @@ function deserializeTSUnknownKeyword(pos) {
|
|
|
3659
3631
|
let start, end;
|
|
3660
3632
|
return {
|
|
3661
3633
|
type: "TSUnknownKeyword",
|
|
3662
|
-
start: (start =
|
|
3663
|
-
end: (end =
|
|
3634
|
+
start: (start = deserializeI32(pos)),
|
|
3635
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3664
3636
|
range: [start, end],
|
|
3665
3637
|
};
|
|
3666
3638
|
}
|
|
@@ -3669,8 +3641,8 @@ function deserializeTSNullKeyword(pos) {
|
|
|
3669
3641
|
let start, end;
|
|
3670
3642
|
return {
|
|
3671
3643
|
type: "TSNullKeyword",
|
|
3672
|
-
start: (start =
|
|
3673
|
-
end: (end =
|
|
3644
|
+
start: (start = deserializeI32(pos)),
|
|
3645
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3674
3646
|
range: [start, end],
|
|
3675
3647
|
};
|
|
3676
3648
|
}
|
|
@@ -3679,8 +3651,8 @@ function deserializeTSUndefinedKeyword(pos) {
|
|
|
3679
3651
|
let start, end;
|
|
3680
3652
|
return {
|
|
3681
3653
|
type: "TSUndefinedKeyword",
|
|
3682
|
-
start: (start =
|
|
3683
|
-
end: (end =
|
|
3654
|
+
start: (start = deserializeI32(pos)),
|
|
3655
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3684
3656
|
range: [start, end],
|
|
3685
3657
|
};
|
|
3686
3658
|
}
|
|
@@ -3689,8 +3661,8 @@ function deserializeTSVoidKeyword(pos) {
|
|
|
3689
3661
|
let start, end;
|
|
3690
3662
|
return {
|
|
3691
3663
|
type: "TSVoidKeyword",
|
|
3692
|
-
start: (start =
|
|
3693
|
-
end: (end =
|
|
3664
|
+
start: (start = deserializeI32(pos)),
|
|
3665
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3694
3666
|
range: [start, end],
|
|
3695
3667
|
};
|
|
3696
3668
|
}
|
|
@@ -3699,8 +3671,8 @@ function deserializeTSSymbolKeyword(pos) {
|
|
|
3699
3671
|
let start, end;
|
|
3700
3672
|
return {
|
|
3701
3673
|
type: "TSSymbolKeyword",
|
|
3702
|
-
start: (start =
|
|
3703
|
-
end: (end =
|
|
3674
|
+
start: (start = deserializeI32(pos)),
|
|
3675
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3704
3676
|
range: [start, end],
|
|
3705
3677
|
};
|
|
3706
3678
|
}
|
|
@@ -3709,8 +3681,8 @@ function deserializeTSThisType(pos) {
|
|
|
3709
3681
|
let start, end;
|
|
3710
3682
|
return {
|
|
3711
3683
|
type: "TSThisType",
|
|
3712
|
-
start: (start =
|
|
3713
|
-
end: (end =
|
|
3684
|
+
start: (start = deserializeI32(pos)),
|
|
3685
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3714
3686
|
range: [start, end],
|
|
3715
3687
|
};
|
|
3716
3688
|
}
|
|
@@ -3719,8 +3691,8 @@ function deserializeTSObjectKeyword(pos) {
|
|
|
3719
3691
|
let start, end;
|
|
3720
3692
|
return {
|
|
3721
3693
|
type: "TSObjectKeyword",
|
|
3722
|
-
start: (start =
|
|
3723
|
-
end: (end =
|
|
3694
|
+
start: (start = deserializeI32(pos)),
|
|
3695
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3724
3696
|
range: [start, end],
|
|
3725
3697
|
};
|
|
3726
3698
|
}
|
|
@@ -3729,8 +3701,8 @@ function deserializeTSBigIntKeyword(pos) {
|
|
|
3729
3701
|
let start, end;
|
|
3730
3702
|
return {
|
|
3731
3703
|
type: "TSBigIntKeyword",
|
|
3732
|
-
start: (start =
|
|
3733
|
-
end: (end =
|
|
3704
|
+
start: (start = deserializeI32(pos)),
|
|
3705
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3734
3706
|
range: [start, end],
|
|
3735
3707
|
};
|
|
3736
3708
|
}
|
|
@@ -3742,8 +3714,8 @@ function deserializeTSTypeReference(pos) {
|
|
|
3742
3714
|
type: "TSTypeReference",
|
|
3743
3715
|
typeName: null,
|
|
3744
3716
|
typeArguments: null,
|
|
3745
|
-
start: (start =
|
|
3746
|
-
end: (end =
|
|
3717
|
+
start: (start = deserializeI32(pos)),
|
|
3718
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3747
3719
|
range: [start, end],
|
|
3748
3720
|
};
|
|
3749
3721
|
node.typeName = deserializeTSTypeName(pos + 16);
|
|
@@ -3771,8 +3743,8 @@ function deserializeTSQualifiedName(pos) {
|
|
|
3771
3743
|
type: "TSQualifiedName",
|
|
3772
3744
|
left: null,
|
|
3773
3745
|
right: null,
|
|
3774
|
-
start: (start =
|
|
3775
|
-
end: (end =
|
|
3746
|
+
start: (start = deserializeI32(pos)),
|
|
3747
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3776
3748
|
range: [start, end],
|
|
3777
3749
|
};
|
|
3778
3750
|
node.left = deserializeTSTypeName(pos + 16);
|
|
@@ -3786,8 +3758,8 @@ function deserializeTSTypeParameterInstantiation(pos) {
|
|
|
3786
3758
|
node = {
|
|
3787
3759
|
type: "TSTypeParameterInstantiation",
|
|
3788
3760
|
params: null,
|
|
3789
|
-
start: (start =
|
|
3790
|
-
end: (end =
|
|
3761
|
+
start: (start = deserializeI32(pos)),
|
|
3762
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3791
3763
|
range: [start, end],
|
|
3792
3764
|
};
|
|
3793
3765
|
node.params = deserializeVecTSType(pos + 16);
|
|
@@ -3805,8 +3777,8 @@ function deserializeTSTypeParameter(pos) {
|
|
|
3805
3777
|
in: deserializeBool(pos + 12),
|
|
3806
3778
|
out: deserializeBool(pos + 13),
|
|
3807
3779
|
const: deserializeBool(pos + 14),
|
|
3808
|
-
start: (start =
|
|
3809
|
-
end: (end =
|
|
3780
|
+
start: (start = deserializeI32(pos)),
|
|
3781
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3810
3782
|
range: [start, end],
|
|
3811
3783
|
};
|
|
3812
3784
|
node.name = deserializeBindingIdentifier(pos + 16);
|
|
@@ -3821,8 +3793,8 @@ function deserializeTSTypeParameterDeclaration(pos) {
|
|
|
3821
3793
|
node = {
|
|
3822
3794
|
type: "TSTypeParameterDeclaration",
|
|
3823
3795
|
params: null,
|
|
3824
|
-
start: (start =
|
|
3825
|
-
end: (end =
|
|
3796
|
+
start: (start = deserializeI32(pos)),
|
|
3797
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3826
3798
|
range: [start, end],
|
|
3827
3799
|
};
|
|
3828
3800
|
node.params = deserializeVecTSTypeParameter(pos + 16);
|
|
@@ -3838,8 +3810,8 @@ function deserializeTSTypeAliasDeclaration(pos) {
|
|
|
3838
3810
|
typeParameters: null,
|
|
3839
3811
|
typeAnnotation: null,
|
|
3840
3812
|
declare: deserializeBool(pos + 72),
|
|
3841
|
-
start: (start =
|
|
3842
|
-
end: (end =
|
|
3813
|
+
start: (start = deserializeI32(pos)),
|
|
3814
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3843
3815
|
range: [start, end],
|
|
3844
3816
|
};
|
|
3845
3817
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -3858,8 +3830,8 @@ function deserializeTSInterfaceDeclaration(pos) {
|
|
|
3858
3830
|
extends: null,
|
|
3859
3831
|
body: null,
|
|
3860
3832
|
declare: deserializeBool(pos + 88),
|
|
3861
|
-
start: (start =
|
|
3862
|
-
end: (end =
|
|
3833
|
+
start: (start = deserializeI32(pos)),
|
|
3834
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3863
3835
|
range: [start, end],
|
|
3864
3836
|
};
|
|
3865
3837
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -3875,8 +3847,8 @@ function deserializeTSInterfaceBody(pos) {
|
|
|
3875
3847
|
node = {
|
|
3876
3848
|
type: "TSInterfaceBody",
|
|
3877
3849
|
body: null,
|
|
3878
|
-
start: (start =
|
|
3879
|
-
end: (end =
|
|
3850
|
+
start: (start = deserializeI32(pos)),
|
|
3851
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3880
3852
|
range: [start, end],
|
|
3881
3853
|
};
|
|
3882
3854
|
node.body = deserializeVecTSSignature(pos + 16);
|
|
@@ -3894,14 +3866,13 @@ function deserializeTSPropertySignature(pos) {
|
|
|
3894
3866
|
key: null,
|
|
3895
3867
|
typeAnnotation: null,
|
|
3896
3868
|
accessibility: null,
|
|
3897
|
-
static:
|
|
3898
|
-
start: (start =
|
|
3899
|
-
end: (end =
|
|
3869
|
+
static: false,
|
|
3870
|
+
start: (start = deserializeI32(pos)),
|
|
3871
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3900
3872
|
range: [start, end],
|
|
3901
3873
|
};
|
|
3902
3874
|
node.key = deserializePropertyKey(pos + 16);
|
|
3903
3875
|
node.typeAnnotation = deserializeOptionBoxTSTypeAnnotation(pos + 32);
|
|
3904
|
-
node.static = false;
|
|
3905
3876
|
return node;
|
|
3906
3877
|
}
|
|
3907
3878
|
|
|
@@ -3932,8 +3903,8 @@ function deserializeTSIndexSignature(pos) {
|
|
|
3932
3903
|
readonly: deserializeBool(pos + 12),
|
|
3933
3904
|
static: deserializeBool(pos + 13),
|
|
3934
3905
|
accessibility: null,
|
|
3935
|
-
start: (start =
|
|
3936
|
-
end: (end =
|
|
3906
|
+
start: (start = deserializeI32(pos)),
|
|
3907
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3937
3908
|
range: [start, end],
|
|
3938
3909
|
};
|
|
3939
3910
|
node.parameters = deserializeVecTSIndexSignatureName(pos + 16);
|
|
@@ -3949,8 +3920,8 @@ function deserializeTSCallSignatureDeclaration(pos) {
|
|
|
3949
3920
|
typeParameters: null,
|
|
3950
3921
|
params: null,
|
|
3951
3922
|
returnType: null,
|
|
3952
|
-
start: (start =
|
|
3953
|
-
end: (end =
|
|
3923
|
+
start: (start = deserializeI32(pos)),
|
|
3924
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3954
3925
|
range: [start, end],
|
|
3955
3926
|
},
|
|
3956
3927
|
params = deserializeBoxFormalParameters(pos + 32),
|
|
@@ -3988,10 +3959,10 @@ function deserializeTSMethodSignature(pos) {
|
|
|
3988
3959
|
params: null,
|
|
3989
3960
|
returnType: null,
|
|
3990
3961
|
accessibility: null,
|
|
3991
|
-
readonly:
|
|
3992
|
-
static:
|
|
3993
|
-
start: (start =
|
|
3994
|
-
end: (end =
|
|
3962
|
+
readonly: false,
|
|
3963
|
+
static: false,
|
|
3964
|
+
start: (start = deserializeI32(pos)),
|
|
3965
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3995
3966
|
range: [start, end],
|
|
3996
3967
|
},
|
|
3997
3968
|
params = deserializeBoxFormalParameters(pos + 48),
|
|
@@ -4001,8 +3972,6 @@ function deserializeTSMethodSignature(pos) {
|
|
|
4001
3972
|
node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 32);
|
|
4002
3973
|
node.params = params;
|
|
4003
3974
|
node.returnType = deserializeOptionBoxTSTypeAnnotation(pos + 56);
|
|
4004
|
-
node.readonly = false;
|
|
4005
|
-
node.static = false;
|
|
4006
3975
|
return node;
|
|
4007
3976
|
}
|
|
4008
3977
|
|
|
@@ -4014,8 +3983,8 @@ function deserializeTSConstructSignatureDeclaration(pos) {
|
|
|
4014
3983
|
typeParameters: null,
|
|
4015
3984
|
params: null,
|
|
4016
3985
|
returnType: null,
|
|
4017
|
-
start: (start =
|
|
4018
|
-
end: (end =
|
|
3986
|
+
start: (start = deserializeI32(pos)),
|
|
3987
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4019
3988
|
range: [start, end],
|
|
4020
3989
|
};
|
|
4021
3990
|
node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 16);
|
|
@@ -4029,16 +3998,14 @@ function deserializeTSIndexSignatureName(pos) {
|
|
|
4029
3998
|
end,
|
|
4030
3999
|
node = {
|
|
4031
4000
|
type: "Identifier",
|
|
4032
|
-
decorators:
|
|
4001
|
+
decorators: [],
|
|
4033
4002
|
name: deserializeStr(pos + 16),
|
|
4034
|
-
optional:
|
|
4003
|
+
optional: false,
|
|
4035
4004
|
typeAnnotation: null,
|
|
4036
|
-
start: (start =
|
|
4037
|
-
end: (end =
|
|
4005
|
+
start: (start = deserializeI32(pos)),
|
|
4006
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4038
4007
|
range: [start, end],
|
|
4039
4008
|
};
|
|
4040
|
-
node.decorators = [];
|
|
4041
|
-
node.optional = false;
|
|
4042
4009
|
node.typeAnnotation = deserializeBoxTSTypeAnnotation(pos + 32);
|
|
4043
4010
|
return node;
|
|
4044
4011
|
}
|
|
@@ -4050,8 +4017,8 @@ function deserializeTSInterfaceHeritage(pos) {
|
|
|
4050
4017
|
type: "TSInterfaceHeritage",
|
|
4051
4018
|
expression: null,
|
|
4052
4019
|
typeArguments: null,
|
|
4053
|
-
start: (start =
|
|
4054
|
-
end: (end =
|
|
4020
|
+
start: (start = deserializeI32(pos)),
|
|
4021
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4055
4022
|
range: [start, end],
|
|
4056
4023
|
};
|
|
4057
4024
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4067,8 +4034,8 @@ function deserializeTSTypePredicate(pos) {
|
|
|
4067
4034
|
parameterName: null,
|
|
4068
4035
|
asserts: deserializeBool(pos + 12),
|
|
4069
4036
|
typeAnnotation: null,
|
|
4070
|
-
start: (start =
|
|
4071
|
-
end: (end =
|
|
4037
|
+
start: (start = deserializeI32(pos)),
|
|
4038
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4072
4039
|
range: [start, end],
|
|
4073
4040
|
};
|
|
4074
4041
|
node.parameterName = deserializeTSTypePredicateName(pos + 16);
|
|
@@ -4089,8 +4056,8 @@ function deserializeTSTypePredicateName(pos) {
|
|
|
4089
4056
|
|
|
4090
4057
|
function deserializeTSModuleDeclaration(pos) {
|
|
4091
4058
|
let kind = deserializeTSModuleDeclarationKind(pos + 88),
|
|
4092
|
-
start =
|
|
4093
|
-
end =
|
|
4059
|
+
start = deserializeI32(pos),
|
|
4060
|
+
end = deserializeI32(pos + 4),
|
|
4094
4061
|
declare = deserializeBool(pos + 89),
|
|
4095
4062
|
node,
|
|
4096
4063
|
body = deserializeOptionTSModuleDeclarationBody(pos + 72);
|
|
@@ -4202,11 +4169,11 @@ function deserializeTSGlobalDeclaration(pos) {
|
|
|
4202
4169
|
type: "TSModuleDeclaration",
|
|
4203
4170
|
id: null,
|
|
4204
4171
|
body: null,
|
|
4205
|
-
kind:
|
|
4172
|
+
kind: "global",
|
|
4206
4173
|
declare: deserializeBool(pos + 88),
|
|
4207
|
-
global:
|
|
4208
|
-
start: (start =
|
|
4209
|
-
end: (end =
|
|
4174
|
+
global: true,
|
|
4175
|
+
start: (start = deserializeI32(pos)),
|
|
4176
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4210
4177
|
range: [start, end],
|
|
4211
4178
|
},
|
|
4212
4179
|
keywordStart,
|
|
@@ -4214,13 +4181,11 @@ function deserializeTSGlobalDeclaration(pos) {
|
|
|
4214
4181
|
node.id = {
|
|
4215
4182
|
type: "Identifier",
|
|
4216
4183
|
name: "global",
|
|
4217
|
-
start: (keywordStart =
|
|
4218
|
-
end: (keywordEnd =
|
|
4184
|
+
start: (keywordStart = deserializeI32(pos + 16)),
|
|
4185
|
+
end: (keywordEnd = deserializeI32(pos + 20)),
|
|
4219
4186
|
range: [keywordStart, keywordEnd],
|
|
4220
4187
|
};
|
|
4221
4188
|
node.body = deserializeTSModuleBlock(pos + 24);
|
|
4222
|
-
node.kind = "global";
|
|
4223
|
-
node.global = true;
|
|
4224
4189
|
return node;
|
|
4225
4190
|
}
|
|
4226
4191
|
|
|
@@ -4230,8 +4195,8 @@ function deserializeTSModuleBlock(pos) {
|
|
|
4230
4195
|
node = {
|
|
4231
4196
|
type: "TSModuleBlock",
|
|
4232
4197
|
body: null,
|
|
4233
|
-
start: (start =
|
|
4234
|
-
end: (end =
|
|
4198
|
+
start: (start = deserializeI32(pos)),
|
|
4199
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4235
4200
|
range: [start, end],
|
|
4236
4201
|
},
|
|
4237
4202
|
body = deserializeVecDirective(pos + 16);
|
|
@@ -4246,8 +4211,8 @@ function deserializeTSTypeLiteral(pos) {
|
|
|
4246
4211
|
node = {
|
|
4247
4212
|
type: "TSTypeLiteral",
|
|
4248
4213
|
members: null,
|
|
4249
|
-
start: (start =
|
|
4250
|
-
end: (end =
|
|
4214
|
+
start: (start = deserializeI32(pos)),
|
|
4215
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4251
4216
|
range: [start, end],
|
|
4252
4217
|
};
|
|
4253
4218
|
node.members = deserializeVecTSSignature(pos + 16);
|
|
@@ -4260,8 +4225,8 @@ function deserializeTSInferType(pos) {
|
|
|
4260
4225
|
node = {
|
|
4261
4226
|
type: "TSInferType",
|
|
4262
4227
|
typeParameter: null,
|
|
4263
|
-
start: (start =
|
|
4264
|
-
end: (end =
|
|
4228
|
+
start: (start = deserializeI32(pos)),
|
|
4229
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4265
4230
|
range: [start, end],
|
|
4266
4231
|
};
|
|
4267
4232
|
node.typeParameter = deserializeBoxTSTypeParameter(pos + 16);
|
|
@@ -4275,8 +4240,8 @@ function deserializeTSTypeQuery(pos) {
|
|
|
4275
4240
|
type: "TSTypeQuery",
|
|
4276
4241
|
exprName: null,
|
|
4277
4242
|
typeArguments: null,
|
|
4278
|
-
start: (start =
|
|
4279
|
-
end: (end =
|
|
4243
|
+
start: (start = deserializeI32(pos)),
|
|
4244
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4280
4245
|
range: [start, end],
|
|
4281
4246
|
};
|
|
4282
4247
|
node.exprName = deserializeTSTypeQueryExprName(pos + 16);
|
|
@@ -4308,8 +4273,8 @@ function deserializeTSImportType(pos) {
|
|
|
4308
4273
|
options: null,
|
|
4309
4274
|
qualifier: null,
|
|
4310
4275
|
typeArguments: null,
|
|
4311
|
-
start: (start =
|
|
4312
|
-
end: (end =
|
|
4276
|
+
start: (start = deserializeI32(pos)),
|
|
4277
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4313
4278
|
range: [start, end],
|
|
4314
4279
|
};
|
|
4315
4280
|
node.source = deserializeStringLiteral(pos + 16);
|
|
@@ -4337,8 +4302,8 @@ function deserializeTSImportTypeQualifiedName(pos) {
|
|
|
4337
4302
|
type: "TSQualifiedName",
|
|
4338
4303
|
left: null,
|
|
4339
4304
|
right: null,
|
|
4340
|
-
start: (start =
|
|
4341
|
-
end: (end =
|
|
4305
|
+
start: (start = deserializeI32(pos)),
|
|
4306
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4342
4307
|
range: [start, end],
|
|
4343
4308
|
};
|
|
4344
4309
|
node.left = deserializeTSImportTypeQualifier(pos + 16);
|
|
@@ -4354,8 +4319,8 @@ function deserializeTSFunctionType(pos) {
|
|
|
4354
4319
|
typeParameters: null,
|
|
4355
4320
|
params: null,
|
|
4356
4321
|
returnType: null,
|
|
4357
|
-
start: (start =
|
|
4358
|
-
end: (end =
|
|
4322
|
+
start: (start = deserializeI32(pos)),
|
|
4323
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4359
4324
|
range: [start, end],
|
|
4360
4325
|
},
|
|
4361
4326
|
params = deserializeBoxFormalParameters(pos + 32),
|
|
@@ -4376,8 +4341,8 @@ function deserializeTSConstructorType(pos) {
|
|
|
4376
4341
|
typeParameters: null,
|
|
4377
4342
|
params: null,
|
|
4378
4343
|
returnType: null,
|
|
4379
|
-
start: (start =
|
|
4380
|
-
end: (end =
|
|
4344
|
+
start: (start = deserializeI32(pos)),
|
|
4345
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4381
4346
|
range: [start, end],
|
|
4382
4347
|
};
|
|
4383
4348
|
node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 16);
|
|
@@ -4397,8 +4362,8 @@ function deserializeTSMappedType(pos) {
|
|
|
4397
4362
|
typeAnnotation: null,
|
|
4398
4363
|
optional: null,
|
|
4399
4364
|
readonly: deserializeOptionTSMappedTypeModifierOperator(pos + 97),
|
|
4400
|
-
start: (start =
|
|
4401
|
-
end: (end =
|
|
4365
|
+
start: (start = deserializeI32(pos)),
|
|
4366
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4402
4367
|
range: [start, end],
|
|
4403
4368
|
},
|
|
4404
4369
|
optional = deserializeOptionTSMappedTypeModifierOperator(pos + 96);
|
|
@@ -4431,8 +4396,8 @@ function deserializeTSTemplateLiteralType(pos) {
|
|
|
4431
4396
|
type: "TSTemplateLiteralType",
|
|
4432
4397
|
quasis: null,
|
|
4433
4398
|
types: null,
|
|
4434
|
-
start: (start =
|
|
4435
|
-
end: (end =
|
|
4399
|
+
start: (start = deserializeI32(pos)),
|
|
4400
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4436
4401
|
range: [start, end],
|
|
4437
4402
|
};
|
|
4438
4403
|
node.quasis = deserializeVecTemplateElement(pos + 16);
|
|
@@ -4447,8 +4412,8 @@ function deserializeTSAsExpression(pos) {
|
|
|
4447
4412
|
type: "TSAsExpression",
|
|
4448
4413
|
expression: null,
|
|
4449
4414
|
typeAnnotation: null,
|
|
4450
|
-
start: (start =
|
|
4451
|
-
end: (end =
|
|
4415
|
+
start: (start = deserializeI32(pos)),
|
|
4416
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4452
4417
|
range: [start, end],
|
|
4453
4418
|
};
|
|
4454
4419
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4463,8 +4428,8 @@ function deserializeTSSatisfiesExpression(pos) {
|
|
|
4463
4428
|
type: "TSSatisfiesExpression",
|
|
4464
4429
|
expression: null,
|
|
4465
4430
|
typeAnnotation: null,
|
|
4466
|
-
start: (start =
|
|
4467
|
-
end: (end =
|
|
4431
|
+
start: (start = deserializeI32(pos)),
|
|
4432
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4468
4433
|
range: [start, end],
|
|
4469
4434
|
};
|
|
4470
4435
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4479,8 +4444,8 @@ function deserializeTSTypeAssertion(pos) {
|
|
|
4479
4444
|
type: "TSTypeAssertion",
|
|
4480
4445
|
typeAnnotation: null,
|
|
4481
4446
|
expression: null,
|
|
4482
|
-
start: (start =
|
|
4483
|
-
end: (end =
|
|
4447
|
+
start: (start = deserializeI32(pos)),
|
|
4448
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4484
4449
|
range: [start, end],
|
|
4485
4450
|
};
|
|
4486
4451
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -4496,8 +4461,8 @@ function deserializeTSImportEqualsDeclaration(pos) {
|
|
|
4496
4461
|
id: null,
|
|
4497
4462
|
moduleReference: null,
|
|
4498
4463
|
importKind: deserializeImportOrExportKind(pos + 12),
|
|
4499
|
-
start: (start =
|
|
4500
|
-
end: (end =
|
|
4464
|
+
start: (start = deserializeI32(pos)),
|
|
4465
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4501
4466
|
range: [start, end],
|
|
4502
4467
|
};
|
|
4503
4468
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -4524,8 +4489,8 @@ function deserializeTSExternalModuleReference(pos) {
|
|
|
4524
4489
|
node = {
|
|
4525
4490
|
type: "TSExternalModuleReference",
|
|
4526
4491
|
expression: null,
|
|
4527
|
-
start: (start =
|
|
4528
|
-
end: (end =
|
|
4492
|
+
start: (start = deserializeI32(pos)),
|
|
4493
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4529
4494
|
range: [start, end],
|
|
4530
4495
|
};
|
|
4531
4496
|
node.expression = deserializeStringLiteral(pos + 16);
|
|
@@ -4538,8 +4503,8 @@ function deserializeTSNonNullExpression(pos) {
|
|
|
4538
4503
|
node = {
|
|
4539
4504
|
type: "TSNonNullExpression",
|
|
4540
4505
|
expression: null,
|
|
4541
|
-
start: (start =
|
|
4542
|
-
end: (end =
|
|
4506
|
+
start: (start = deserializeI32(pos)),
|
|
4507
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4543
4508
|
range: [start, end],
|
|
4544
4509
|
};
|
|
4545
4510
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4552,8 +4517,8 @@ function deserializeDecorator(pos) {
|
|
|
4552
4517
|
node = {
|
|
4553
4518
|
type: "Decorator",
|
|
4554
4519
|
expression: null,
|
|
4555
|
-
start: (start =
|
|
4556
|
-
end: (end =
|
|
4520
|
+
start: (start = deserializeI32(pos)),
|
|
4521
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4557
4522
|
range: [start, end],
|
|
4558
4523
|
};
|
|
4559
4524
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4566,8 +4531,8 @@ function deserializeTSExportAssignment(pos) {
|
|
|
4566
4531
|
node = {
|
|
4567
4532
|
type: "TSExportAssignment",
|
|
4568
4533
|
expression: null,
|
|
4569
|
-
start: (start =
|
|
4570
|
-
end: (end =
|
|
4534
|
+
start: (start = deserializeI32(pos)),
|
|
4535
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4571
4536
|
range: [start, end],
|
|
4572
4537
|
};
|
|
4573
4538
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4580,8 +4545,8 @@ function deserializeTSNamespaceExportDeclaration(pos) {
|
|
|
4580
4545
|
node = {
|
|
4581
4546
|
type: "TSNamespaceExportDeclaration",
|
|
4582
4547
|
id: null,
|
|
4583
|
-
start: (start =
|
|
4584
|
-
end: (end =
|
|
4548
|
+
start: (start = deserializeI32(pos)),
|
|
4549
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4585
4550
|
range: [start, end],
|
|
4586
4551
|
};
|
|
4587
4552
|
node.id = deserializeIdentifierName(pos + 16);
|
|
@@ -4595,8 +4560,8 @@ function deserializeTSInstantiationExpression(pos) {
|
|
|
4595
4560
|
type: "TSInstantiationExpression",
|
|
4596
4561
|
expression: null,
|
|
4597
4562
|
typeArguments: null,
|
|
4598
|
-
start: (start =
|
|
4599
|
-
end: (end =
|
|
4563
|
+
start: (start = deserializeI32(pos)),
|
|
4564
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4600
4565
|
range: [start, end],
|
|
4601
4566
|
};
|
|
4602
4567
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4622,8 +4587,8 @@ function deserializeJSDocNullableType(pos) {
|
|
|
4622
4587
|
type: "TSJSDocNullableType",
|
|
4623
4588
|
typeAnnotation: null,
|
|
4624
4589
|
postfix: deserializeBool(pos + 12),
|
|
4625
|
-
start: (start =
|
|
4626
|
-
end: (end =
|
|
4590
|
+
start: (start = deserializeI32(pos)),
|
|
4591
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4627
4592
|
range: [start, end],
|
|
4628
4593
|
};
|
|
4629
4594
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -4637,8 +4602,8 @@ function deserializeJSDocNonNullableType(pos) {
|
|
|
4637
4602
|
type: "TSJSDocNonNullableType",
|
|
4638
4603
|
typeAnnotation: null,
|
|
4639
4604
|
postfix: deserializeBool(pos + 12),
|
|
4640
|
-
start: (start =
|
|
4641
|
-
end: (end =
|
|
4605
|
+
start: (start = deserializeI32(pos)),
|
|
4606
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4642
4607
|
range: [start, end],
|
|
4643
4608
|
};
|
|
4644
4609
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -4649,8 +4614,8 @@ function deserializeJSDocUnknownType(pos) {
|
|
|
4649
4614
|
let start, end;
|
|
4650
4615
|
return {
|
|
4651
4616
|
type: "TSJSDocUnknownType",
|
|
4652
|
-
start: (start =
|
|
4653
|
-
end: (end =
|
|
4617
|
+
start: (start = deserializeI32(pos)),
|
|
4618
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4654
4619
|
range: [start, end],
|
|
4655
4620
|
};
|
|
4656
4621
|
}
|
|
@@ -4670,8 +4635,8 @@ function deserializeCommentKind(pos) {
|
|
|
4670
4635
|
|
|
4671
4636
|
function deserializeComment(pos) {
|
|
4672
4637
|
let type = deserializeCommentKind(pos + 12),
|
|
4673
|
-
start =
|
|
4674
|
-
end =
|
|
4638
|
+
start = deserializeI32(pos),
|
|
4639
|
+
end = deserializeI32(pos + 4);
|
|
4675
4640
|
return {
|
|
4676
4641
|
type,
|
|
4677
4642
|
value: sourceText.slice(start + 2, end - (type === "Line" ? 0 : 2)),
|
|
@@ -4696,8 +4661,8 @@ function deserializeModuleKind(pos) {
|
|
|
4696
4661
|
|
|
4697
4662
|
function deserializeSpan(pos) {
|
|
4698
4663
|
return {
|
|
4699
|
-
start:
|
|
4700
|
-
end:
|
|
4664
|
+
start: deserializeI32(pos),
|
|
4665
|
+
end: deserializeI32(pos + 4),
|
|
4701
4666
|
};
|
|
4702
4667
|
}
|
|
4703
4668
|
|
|
@@ -4705,8 +4670,8 @@ function deserializeNameSpan(pos) {
|
|
|
4705
4670
|
let start, end;
|
|
4706
4671
|
return {
|
|
4707
4672
|
value: deserializeStr(pos + 8),
|
|
4708
|
-
start: (start =
|
|
4709
|
-
end: (end =
|
|
4673
|
+
start: (start = deserializeI32(pos)),
|
|
4674
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4710
4675
|
range: [start, end],
|
|
4711
4676
|
};
|
|
4712
4677
|
}
|
|
@@ -4760,8 +4725,8 @@ function deserializeExportEntry(pos) {
|
|
|
4760
4725
|
exportName: deserializeExportExportName(pos + 72),
|
|
4761
4726
|
localName: deserializeExportLocalName(pos + 104),
|
|
4762
4727
|
isType: deserializeBool(pos + 136),
|
|
4763
|
-
start: (start =
|
|
4764
|
-
end: (end =
|
|
4728
|
+
start: (start = deserializeI32(pos)),
|
|
4729
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4765
4730
|
range: [start, end],
|
|
4766
4731
|
};
|
|
4767
4732
|
}
|
|
@@ -4876,8 +4841,8 @@ function deserializeDynamicImport(pos) {
|
|
|
4876
4841
|
let start, end;
|
|
4877
4842
|
return {
|
|
4878
4843
|
moduleRequest: deserializeSpan(pos + 8),
|
|
4879
|
-
start: (start =
|
|
4880
|
-
end: (end =
|
|
4844
|
+
start: (start = deserializeI32(pos)),
|
|
4845
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4881
4846
|
range: [start, end],
|
|
4882
4847
|
};
|
|
4883
4848
|
}
|
|
@@ -5053,8 +5018,8 @@ function deserializeErrorLabel(pos) {
|
|
|
5053
5018
|
let start, end;
|
|
5054
5019
|
return {
|
|
5055
5020
|
message: deserializeOptionStr(pos + 8),
|
|
5056
|
-
start: (start =
|
|
5057
|
-
end: (end =
|
|
5021
|
+
start: (start = deserializeI32(pos)),
|
|
5022
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5058
5023
|
range: [start, end],
|
|
5059
5024
|
};
|
|
5060
5025
|
}
|
|
@@ -5074,8 +5039,8 @@ function deserializeStaticImport(pos) {
|
|
|
5074
5039
|
return {
|
|
5075
5040
|
moduleRequest: deserializeNameSpan(pos + 8),
|
|
5076
5041
|
entries: deserializeVecImportEntry(pos + 32),
|
|
5077
|
-
start: (start =
|
|
5078
|
-
end: (end =
|
|
5042
|
+
start: (start = deserializeI32(pos)),
|
|
5043
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5079
5044
|
range: [start, end],
|
|
5080
5045
|
};
|
|
5081
5046
|
}
|
|
@@ -5084,17 +5049,17 @@ function deserializeStaticExport(pos) {
|
|
|
5084
5049
|
let start, end;
|
|
5085
5050
|
return {
|
|
5086
5051
|
entries: deserializeVecExportEntry(pos + 8),
|
|
5087
|
-
start: (start =
|
|
5088
|
-
end: (end =
|
|
5052
|
+
start: (start = deserializeI32(pos)),
|
|
5053
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5089
5054
|
range: [start, end],
|
|
5090
5055
|
};
|
|
5091
5056
|
}
|
|
5092
5057
|
|
|
5093
5058
|
function deserializeStr(pos) {
|
|
5094
5059
|
let pos32 = pos >> 2,
|
|
5095
|
-
len =
|
|
5060
|
+
len = int32[pos32 + 2];
|
|
5096
5061
|
if (len === 0) return "";
|
|
5097
|
-
pos =
|
|
5062
|
+
pos = int32[pos32];
|
|
5098
5063
|
let end = pos + len;
|
|
5099
5064
|
if (end <= firstNonAsciiPos) return sourceTextLatin.substr(pos, len);
|
|
5100
5065
|
// Use `utf8Slice` for strings longer than 64 bytes
|
|
@@ -5121,8 +5086,8 @@ function deserializeStr(pos) {
|
|
|
5121
5086
|
function deserializeVecComment(pos) {
|
|
5122
5087
|
let arr = [],
|
|
5123
5088
|
pos32 = pos >> 2;
|
|
5124
|
-
pos =
|
|
5125
|
-
let endPos = pos +
|
|
5089
|
+
pos = int32[pos32];
|
|
5090
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5126
5091
|
for (; pos !== endPos; ) {
|
|
5127
5092
|
arr.push(deserializeComment(pos));
|
|
5128
5093
|
pos += 16;
|
|
@@ -5131,7 +5096,7 @@ function deserializeVecComment(pos) {
|
|
|
5131
5096
|
}
|
|
5132
5097
|
|
|
5133
5098
|
function deserializeOptionHashbang(pos) {
|
|
5134
|
-
return
|
|
5099
|
+
return int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
5135
5100
|
? null
|
|
5136
5101
|
: deserializeHashbang(pos);
|
|
5137
5102
|
}
|
|
@@ -5139,8 +5104,8 @@ function deserializeOptionHashbang(pos) {
|
|
|
5139
5104
|
function deserializeVecDirective(pos) {
|
|
5140
5105
|
let arr = [],
|
|
5141
5106
|
pos32 = pos >> 2;
|
|
5142
|
-
pos =
|
|
5143
|
-
let endPos = pos +
|
|
5107
|
+
pos = int32[pos32];
|
|
5108
|
+
let endPos = pos + int32[pos32 + 2] * 80;
|
|
5144
5109
|
for (; pos !== endPos; ) {
|
|
5145
5110
|
arr.push(deserializeDirective(pos));
|
|
5146
5111
|
pos += 80;
|
|
@@ -5151,8 +5116,8 @@ function deserializeVecDirective(pos) {
|
|
|
5151
5116
|
function deserializeVecStatement(pos) {
|
|
5152
5117
|
let arr = [],
|
|
5153
5118
|
pos32 = pos >> 2;
|
|
5154
|
-
pos =
|
|
5155
|
-
let endPos = pos +
|
|
5119
|
+
pos = int32[pos32];
|
|
5120
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5156
5121
|
for (; pos !== endPos; ) {
|
|
5157
5122
|
arr.push(deserializeStatement(pos));
|
|
5158
5123
|
pos += 16;
|
|
@@ -5161,170 +5126,170 @@ function deserializeVecStatement(pos) {
|
|
|
5161
5126
|
}
|
|
5162
5127
|
|
|
5163
5128
|
function deserializeBoxBooleanLiteral(pos) {
|
|
5164
|
-
return deserializeBooleanLiteral(
|
|
5129
|
+
return deserializeBooleanLiteral(int32[pos >> 2]);
|
|
5165
5130
|
}
|
|
5166
5131
|
|
|
5167
5132
|
function deserializeBoxNullLiteral(pos) {
|
|
5168
|
-
return deserializeNullLiteral(
|
|
5133
|
+
return deserializeNullLiteral(int32[pos >> 2]);
|
|
5169
5134
|
}
|
|
5170
5135
|
|
|
5171
5136
|
function deserializeBoxNumericLiteral(pos) {
|
|
5172
|
-
return deserializeNumericLiteral(
|
|
5137
|
+
return deserializeNumericLiteral(int32[pos >> 2]);
|
|
5173
5138
|
}
|
|
5174
5139
|
|
|
5175
5140
|
function deserializeBoxBigIntLiteral(pos) {
|
|
5176
|
-
return deserializeBigIntLiteral(
|
|
5141
|
+
return deserializeBigIntLiteral(int32[pos >> 2]);
|
|
5177
5142
|
}
|
|
5178
5143
|
|
|
5179
5144
|
function deserializeBoxRegExpLiteral(pos) {
|
|
5180
|
-
return deserializeRegExpLiteral(
|
|
5145
|
+
return deserializeRegExpLiteral(int32[pos >> 2]);
|
|
5181
5146
|
}
|
|
5182
5147
|
|
|
5183
5148
|
function deserializeBoxStringLiteral(pos) {
|
|
5184
|
-
return deserializeStringLiteral(
|
|
5149
|
+
return deserializeStringLiteral(int32[pos >> 2]);
|
|
5185
5150
|
}
|
|
5186
5151
|
|
|
5187
5152
|
function deserializeBoxTemplateLiteral(pos) {
|
|
5188
|
-
return deserializeTemplateLiteral(
|
|
5153
|
+
return deserializeTemplateLiteral(int32[pos >> 2]);
|
|
5189
5154
|
}
|
|
5190
5155
|
|
|
5191
5156
|
function deserializeBoxIdentifierReference(pos) {
|
|
5192
|
-
return deserializeIdentifierReference(
|
|
5157
|
+
return deserializeIdentifierReference(int32[pos >> 2]);
|
|
5193
5158
|
}
|
|
5194
5159
|
|
|
5195
5160
|
function deserializeBoxMetaProperty(pos) {
|
|
5196
|
-
return deserializeMetaProperty(
|
|
5161
|
+
return deserializeMetaProperty(int32[pos >> 2]);
|
|
5197
5162
|
}
|
|
5198
5163
|
|
|
5199
5164
|
function deserializeBoxSuper(pos) {
|
|
5200
|
-
return deserializeSuper(
|
|
5165
|
+
return deserializeSuper(int32[pos >> 2]);
|
|
5201
5166
|
}
|
|
5202
5167
|
|
|
5203
5168
|
function deserializeBoxArrayExpression(pos) {
|
|
5204
|
-
return deserializeArrayExpression(
|
|
5169
|
+
return deserializeArrayExpression(int32[pos >> 2]);
|
|
5205
5170
|
}
|
|
5206
5171
|
|
|
5207
5172
|
function deserializeBoxArrowFunctionExpression(pos) {
|
|
5208
|
-
return deserializeArrowFunctionExpression(
|
|
5173
|
+
return deserializeArrowFunctionExpression(int32[pos >> 2]);
|
|
5209
5174
|
}
|
|
5210
5175
|
|
|
5211
5176
|
function deserializeBoxAssignmentExpression(pos) {
|
|
5212
|
-
return deserializeAssignmentExpression(
|
|
5177
|
+
return deserializeAssignmentExpression(int32[pos >> 2]);
|
|
5213
5178
|
}
|
|
5214
5179
|
|
|
5215
5180
|
function deserializeBoxAwaitExpression(pos) {
|
|
5216
|
-
return deserializeAwaitExpression(
|
|
5181
|
+
return deserializeAwaitExpression(int32[pos >> 2]);
|
|
5217
5182
|
}
|
|
5218
5183
|
|
|
5219
5184
|
function deserializeBoxBinaryExpression(pos) {
|
|
5220
|
-
return deserializeBinaryExpression(
|
|
5185
|
+
return deserializeBinaryExpression(int32[pos >> 2]);
|
|
5221
5186
|
}
|
|
5222
5187
|
|
|
5223
5188
|
function deserializeBoxCallExpression(pos) {
|
|
5224
|
-
return deserializeCallExpression(
|
|
5189
|
+
return deserializeCallExpression(int32[pos >> 2]);
|
|
5225
5190
|
}
|
|
5226
5191
|
|
|
5227
5192
|
function deserializeBoxChainExpression(pos) {
|
|
5228
|
-
return deserializeChainExpression(
|
|
5193
|
+
return deserializeChainExpression(int32[pos >> 2]);
|
|
5229
5194
|
}
|
|
5230
5195
|
|
|
5231
5196
|
function deserializeBoxClass(pos) {
|
|
5232
|
-
return deserializeClass(
|
|
5197
|
+
return deserializeClass(int32[pos >> 2]);
|
|
5233
5198
|
}
|
|
5234
5199
|
|
|
5235
5200
|
function deserializeBoxConditionalExpression(pos) {
|
|
5236
|
-
return deserializeConditionalExpression(
|
|
5201
|
+
return deserializeConditionalExpression(int32[pos >> 2]);
|
|
5237
5202
|
}
|
|
5238
5203
|
|
|
5239
5204
|
function deserializeBoxFunction(pos) {
|
|
5240
|
-
return deserializeFunction(
|
|
5205
|
+
return deserializeFunction(int32[pos >> 2]);
|
|
5241
5206
|
}
|
|
5242
5207
|
|
|
5243
5208
|
function deserializeBoxImportExpression(pos) {
|
|
5244
|
-
return deserializeImportExpression(
|
|
5209
|
+
return deserializeImportExpression(int32[pos >> 2]);
|
|
5245
5210
|
}
|
|
5246
5211
|
|
|
5247
5212
|
function deserializeBoxLogicalExpression(pos) {
|
|
5248
|
-
return deserializeLogicalExpression(
|
|
5213
|
+
return deserializeLogicalExpression(int32[pos >> 2]);
|
|
5249
5214
|
}
|
|
5250
5215
|
|
|
5251
5216
|
function deserializeBoxNewExpression(pos) {
|
|
5252
|
-
return deserializeNewExpression(
|
|
5217
|
+
return deserializeNewExpression(int32[pos >> 2]);
|
|
5253
5218
|
}
|
|
5254
5219
|
|
|
5255
5220
|
function deserializeBoxObjectExpression(pos) {
|
|
5256
|
-
return deserializeObjectExpression(
|
|
5221
|
+
return deserializeObjectExpression(int32[pos >> 2]);
|
|
5257
5222
|
}
|
|
5258
5223
|
|
|
5259
5224
|
function deserializeBoxParenthesizedExpression(pos) {
|
|
5260
|
-
return deserializeParenthesizedExpression(
|
|
5225
|
+
return deserializeParenthesizedExpression(int32[pos >> 2]);
|
|
5261
5226
|
}
|
|
5262
5227
|
|
|
5263
5228
|
function deserializeBoxSequenceExpression(pos) {
|
|
5264
|
-
return deserializeSequenceExpression(
|
|
5229
|
+
return deserializeSequenceExpression(int32[pos >> 2]);
|
|
5265
5230
|
}
|
|
5266
5231
|
|
|
5267
5232
|
function deserializeBoxTaggedTemplateExpression(pos) {
|
|
5268
|
-
return deserializeTaggedTemplateExpression(
|
|
5233
|
+
return deserializeTaggedTemplateExpression(int32[pos >> 2]);
|
|
5269
5234
|
}
|
|
5270
5235
|
|
|
5271
5236
|
function deserializeBoxThisExpression(pos) {
|
|
5272
|
-
return deserializeThisExpression(
|
|
5237
|
+
return deserializeThisExpression(int32[pos >> 2]);
|
|
5273
5238
|
}
|
|
5274
5239
|
|
|
5275
5240
|
function deserializeBoxUnaryExpression(pos) {
|
|
5276
|
-
return deserializeUnaryExpression(
|
|
5241
|
+
return deserializeUnaryExpression(int32[pos >> 2]);
|
|
5277
5242
|
}
|
|
5278
5243
|
|
|
5279
5244
|
function deserializeBoxUpdateExpression(pos) {
|
|
5280
|
-
return deserializeUpdateExpression(
|
|
5245
|
+
return deserializeUpdateExpression(int32[pos >> 2]);
|
|
5281
5246
|
}
|
|
5282
5247
|
|
|
5283
5248
|
function deserializeBoxYieldExpression(pos) {
|
|
5284
|
-
return deserializeYieldExpression(
|
|
5249
|
+
return deserializeYieldExpression(int32[pos >> 2]);
|
|
5285
5250
|
}
|
|
5286
5251
|
|
|
5287
5252
|
function deserializeBoxPrivateInExpression(pos) {
|
|
5288
|
-
return deserializePrivateInExpression(
|
|
5253
|
+
return deserializePrivateInExpression(int32[pos >> 2]);
|
|
5289
5254
|
}
|
|
5290
5255
|
|
|
5291
5256
|
function deserializeBoxJSXElement(pos) {
|
|
5292
|
-
return deserializeJSXElement(
|
|
5257
|
+
return deserializeJSXElement(int32[pos >> 2]);
|
|
5293
5258
|
}
|
|
5294
5259
|
|
|
5295
5260
|
function deserializeBoxJSXFragment(pos) {
|
|
5296
|
-
return deserializeJSXFragment(
|
|
5261
|
+
return deserializeJSXFragment(int32[pos >> 2]);
|
|
5297
5262
|
}
|
|
5298
5263
|
|
|
5299
5264
|
function deserializeBoxTSAsExpression(pos) {
|
|
5300
|
-
return deserializeTSAsExpression(
|
|
5265
|
+
return deserializeTSAsExpression(int32[pos >> 2]);
|
|
5301
5266
|
}
|
|
5302
5267
|
|
|
5303
5268
|
function deserializeBoxTSSatisfiesExpression(pos) {
|
|
5304
|
-
return deserializeTSSatisfiesExpression(
|
|
5269
|
+
return deserializeTSSatisfiesExpression(int32[pos >> 2]);
|
|
5305
5270
|
}
|
|
5306
5271
|
|
|
5307
5272
|
function deserializeBoxTSTypeAssertion(pos) {
|
|
5308
|
-
return deserializeTSTypeAssertion(
|
|
5273
|
+
return deserializeTSTypeAssertion(int32[pos >> 2]);
|
|
5309
5274
|
}
|
|
5310
5275
|
|
|
5311
5276
|
function deserializeBoxTSNonNullExpression(pos) {
|
|
5312
|
-
return deserializeTSNonNullExpression(
|
|
5277
|
+
return deserializeTSNonNullExpression(int32[pos >> 2]);
|
|
5313
5278
|
}
|
|
5314
5279
|
|
|
5315
5280
|
function deserializeBoxTSInstantiationExpression(pos) {
|
|
5316
|
-
return deserializeTSInstantiationExpression(
|
|
5281
|
+
return deserializeTSInstantiationExpression(int32[pos >> 2]);
|
|
5317
5282
|
}
|
|
5318
5283
|
|
|
5319
5284
|
function deserializeBoxV8IntrinsicExpression(pos) {
|
|
5320
|
-
return deserializeV8IntrinsicExpression(
|
|
5285
|
+
return deserializeV8IntrinsicExpression(int32[pos >> 2]);
|
|
5321
5286
|
}
|
|
5322
5287
|
|
|
5323
5288
|
function deserializeVecArrayExpressionElement(pos) {
|
|
5324
5289
|
let arr = [],
|
|
5325
5290
|
pos32 = pos >> 2;
|
|
5326
|
-
pos =
|
|
5327
|
-
let endPos = pos +
|
|
5291
|
+
pos = int32[pos32];
|
|
5292
|
+
let endPos = pos + int32[pos32 + 2] * 24;
|
|
5328
5293
|
for (; pos !== endPos; ) {
|
|
5329
5294
|
arr.push(deserializeArrayExpressionElement(pos));
|
|
5330
5295
|
pos += 24;
|
|
@@ -5333,14 +5298,14 @@ function deserializeVecArrayExpressionElement(pos) {
|
|
|
5333
5298
|
}
|
|
5334
5299
|
|
|
5335
5300
|
function deserializeBoxSpreadElement(pos) {
|
|
5336
|
-
return deserializeSpreadElement(
|
|
5301
|
+
return deserializeSpreadElement(int32[pos >> 2]);
|
|
5337
5302
|
}
|
|
5338
5303
|
|
|
5339
5304
|
function deserializeVecObjectPropertyKind(pos) {
|
|
5340
5305
|
let arr = [],
|
|
5341
5306
|
pos32 = pos >> 2;
|
|
5342
|
-
pos =
|
|
5343
|
-
let endPos = pos +
|
|
5307
|
+
pos = int32[pos32];
|
|
5308
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5344
5309
|
for (; pos !== endPos; ) {
|
|
5345
5310
|
arr.push(deserializeObjectPropertyKind(pos));
|
|
5346
5311
|
pos += 16;
|
|
@@ -5349,7 +5314,7 @@ function deserializeVecObjectPropertyKind(pos) {
|
|
|
5349
5314
|
}
|
|
5350
5315
|
|
|
5351
5316
|
function deserializeBoxObjectProperty(pos) {
|
|
5352
|
-
return deserializeObjectProperty(
|
|
5317
|
+
return deserializeObjectProperty(int32[pos >> 2]);
|
|
5353
5318
|
}
|
|
5354
5319
|
|
|
5355
5320
|
function deserializeBool(pos) {
|
|
@@ -5357,18 +5322,18 @@ function deserializeBool(pos) {
|
|
|
5357
5322
|
}
|
|
5358
5323
|
|
|
5359
5324
|
function deserializeBoxIdentifierName(pos) {
|
|
5360
|
-
return deserializeIdentifierName(
|
|
5325
|
+
return deserializeIdentifierName(int32[pos >> 2]);
|
|
5361
5326
|
}
|
|
5362
5327
|
|
|
5363
5328
|
function deserializeBoxPrivateIdentifier(pos) {
|
|
5364
|
-
return deserializePrivateIdentifier(
|
|
5329
|
+
return deserializePrivateIdentifier(int32[pos >> 2]);
|
|
5365
5330
|
}
|
|
5366
5331
|
|
|
5367
5332
|
function deserializeVecTemplateElement(pos) {
|
|
5368
5333
|
let arr = [],
|
|
5369
5334
|
pos32 = pos >> 2;
|
|
5370
|
-
pos =
|
|
5371
|
-
let endPos = pos +
|
|
5335
|
+
pos = int32[pos32];
|
|
5336
|
+
let endPos = pos + int32[pos32 + 2] * 48;
|
|
5372
5337
|
for (; pos !== endPos; ) {
|
|
5373
5338
|
arr.push(deserializeTemplateElement(pos));
|
|
5374
5339
|
pos += 48;
|
|
@@ -5379,8 +5344,8 @@ function deserializeVecTemplateElement(pos) {
|
|
|
5379
5344
|
function deserializeVecExpression(pos) {
|
|
5380
5345
|
let arr = [],
|
|
5381
5346
|
pos32 = pos >> 2;
|
|
5382
|
-
pos =
|
|
5383
|
-
let endPos = pos +
|
|
5347
|
+
pos = int32[pos32];
|
|
5348
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5384
5349
|
for (; pos !== endPos; ) {
|
|
5385
5350
|
arr.push(deserializeExpression(pos));
|
|
5386
5351
|
pos += 16;
|
|
@@ -5389,36 +5354,36 @@ function deserializeVecExpression(pos) {
|
|
|
5389
5354
|
}
|
|
5390
5355
|
|
|
5391
5356
|
function deserializeBoxTSTypeParameterInstantiation(pos) {
|
|
5392
|
-
return deserializeTSTypeParameterInstantiation(
|
|
5357
|
+
return deserializeTSTypeParameterInstantiation(int32[pos >> 2]);
|
|
5393
5358
|
}
|
|
5394
5359
|
|
|
5395
5360
|
function deserializeOptionBoxTSTypeParameterInstantiation(pos) {
|
|
5396
|
-
return
|
|
5361
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5397
5362
|
? null
|
|
5398
5363
|
: deserializeBoxTSTypeParameterInstantiation(pos);
|
|
5399
5364
|
}
|
|
5400
5365
|
|
|
5401
5366
|
function deserializeOptionStr(pos) {
|
|
5402
|
-
return
|
|
5367
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0 ? null : deserializeStr(pos);
|
|
5403
5368
|
}
|
|
5404
5369
|
|
|
5405
5370
|
function deserializeBoxComputedMemberExpression(pos) {
|
|
5406
|
-
return deserializeComputedMemberExpression(
|
|
5371
|
+
return deserializeComputedMemberExpression(int32[pos >> 2]);
|
|
5407
5372
|
}
|
|
5408
5373
|
|
|
5409
5374
|
function deserializeBoxStaticMemberExpression(pos) {
|
|
5410
|
-
return deserializeStaticMemberExpression(
|
|
5375
|
+
return deserializeStaticMemberExpression(int32[pos >> 2]);
|
|
5411
5376
|
}
|
|
5412
5377
|
|
|
5413
5378
|
function deserializeBoxPrivateFieldExpression(pos) {
|
|
5414
|
-
return deserializePrivateFieldExpression(
|
|
5379
|
+
return deserializePrivateFieldExpression(int32[pos >> 2]);
|
|
5415
5380
|
}
|
|
5416
5381
|
|
|
5417
5382
|
function deserializeVecArgument(pos) {
|
|
5418
5383
|
let arr = [],
|
|
5419
5384
|
pos32 = pos >> 2;
|
|
5420
|
-
pos =
|
|
5421
|
-
let endPos = pos +
|
|
5385
|
+
pos = int32[pos32];
|
|
5386
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5422
5387
|
for (; pos !== endPos; ) {
|
|
5423
5388
|
arr.push(deserializeArgument(pos));
|
|
5424
5389
|
pos += 16;
|
|
@@ -5427,11 +5392,11 @@ function deserializeVecArgument(pos) {
|
|
|
5427
5392
|
}
|
|
5428
5393
|
|
|
5429
5394
|
function deserializeBoxArrayAssignmentTarget(pos) {
|
|
5430
|
-
return deserializeArrayAssignmentTarget(
|
|
5395
|
+
return deserializeArrayAssignmentTarget(int32[pos >> 2]);
|
|
5431
5396
|
}
|
|
5432
5397
|
|
|
5433
5398
|
function deserializeBoxObjectAssignmentTarget(pos) {
|
|
5434
|
-
return deserializeObjectAssignmentTarget(
|
|
5399
|
+
return deserializeObjectAssignmentTarget(int32[pos >> 2]);
|
|
5435
5400
|
}
|
|
5436
5401
|
|
|
5437
5402
|
function deserializeOptionAssignmentTargetMaybeDefault(pos) {
|
|
@@ -5441,8 +5406,8 @@ function deserializeOptionAssignmentTargetMaybeDefault(pos) {
|
|
|
5441
5406
|
function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
|
|
5442
5407
|
let arr = [],
|
|
5443
5408
|
pos32 = pos >> 2;
|
|
5444
|
-
pos =
|
|
5445
|
-
let endPos = pos +
|
|
5409
|
+
pos = int32[pos32];
|
|
5410
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5446
5411
|
for (; pos !== endPos; ) {
|
|
5447
5412
|
arr.push(deserializeOptionAssignmentTargetMaybeDefault(pos));
|
|
5448
5413
|
pos += 16;
|
|
@@ -5451,11 +5416,11 @@ function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
|
|
|
5451
5416
|
}
|
|
5452
5417
|
|
|
5453
5418
|
function deserializeBoxAssignmentTargetRest(pos) {
|
|
5454
|
-
return deserializeAssignmentTargetRest(
|
|
5419
|
+
return deserializeAssignmentTargetRest(int32[pos >> 2]);
|
|
5455
5420
|
}
|
|
5456
5421
|
|
|
5457
5422
|
function deserializeOptionBoxAssignmentTargetRest(pos) {
|
|
5458
|
-
return
|
|
5423
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5459
5424
|
? null
|
|
5460
5425
|
: deserializeBoxAssignmentTargetRest(pos);
|
|
5461
5426
|
}
|
|
@@ -5463,8 +5428,8 @@ function deserializeOptionBoxAssignmentTargetRest(pos) {
|
|
|
5463
5428
|
function deserializeVecAssignmentTargetProperty(pos) {
|
|
5464
5429
|
let arr = [],
|
|
5465
5430
|
pos32 = pos >> 2;
|
|
5466
|
-
pos =
|
|
5467
|
-
let endPos = pos +
|
|
5431
|
+
pos = int32[pos32];
|
|
5432
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5468
5433
|
for (; pos !== endPos; ) {
|
|
5469
5434
|
arr.push(deserializeAssignmentTargetProperty(pos));
|
|
5470
5435
|
pos += 16;
|
|
@@ -5473,15 +5438,15 @@ function deserializeVecAssignmentTargetProperty(pos) {
|
|
|
5473
5438
|
}
|
|
5474
5439
|
|
|
5475
5440
|
function deserializeBoxAssignmentTargetWithDefault(pos) {
|
|
5476
|
-
return deserializeAssignmentTargetWithDefault(
|
|
5441
|
+
return deserializeAssignmentTargetWithDefault(int32[pos >> 2]);
|
|
5477
5442
|
}
|
|
5478
5443
|
|
|
5479
5444
|
function deserializeBoxAssignmentTargetPropertyIdentifier(pos) {
|
|
5480
|
-
return deserializeAssignmentTargetPropertyIdentifier(
|
|
5445
|
+
return deserializeAssignmentTargetPropertyIdentifier(int32[pos >> 2]);
|
|
5481
5446
|
}
|
|
5482
5447
|
|
|
5483
5448
|
function deserializeBoxAssignmentTargetPropertyProperty(pos) {
|
|
5484
|
-
return deserializeAssignmentTargetPropertyProperty(
|
|
5449
|
+
return deserializeAssignmentTargetPropertyProperty(int32[pos >> 2]);
|
|
5485
5450
|
}
|
|
5486
5451
|
|
|
5487
5452
|
function deserializeOptionExpression(pos) {
|
|
@@ -5489,110 +5454,110 @@ function deserializeOptionExpression(pos) {
|
|
|
5489
5454
|
}
|
|
5490
5455
|
|
|
5491
5456
|
function deserializeBoxBlockStatement(pos) {
|
|
5492
|
-
return deserializeBlockStatement(
|
|
5457
|
+
return deserializeBlockStatement(int32[pos >> 2]);
|
|
5493
5458
|
}
|
|
5494
5459
|
|
|
5495
5460
|
function deserializeBoxBreakStatement(pos) {
|
|
5496
|
-
return deserializeBreakStatement(
|
|
5461
|
+
return deserializeBreakStatement(int32[pos >> 2]);
|
|
5497
5462
|
}
|
|
5498
5463
|
|
|
5499
5464
|
function deserializeBoxContinueStatement(pos) {
|
|
5500
|
-
return deserializeContinueStatement(
|
|
5465
|
+
return deserializeContinueStatement(int32[pos >> 2]);
|
|
5501
5466
|
}
|
|
5502
5467
|
|
|
5503
5468
|
function deserializeBoxDebuggerStatement(pos) {
|
|
5504
|
-
return deserializeDebuggerStatement(
|
|
5469
|
+
return deserializeDebuggerStatement(int32[pos >> 2]);
|
|
5505
5470
|
}
|
|
5506
5471
|
|
|
5507
5472
|
function deserializeBoxDoWhileStatement(pos) {
|
|
5508
|
-
return deserializeDoWhileStatement(
|
|
5473
|
+
return deserializeDoWhileStatement(int32[pos >> 2]);
|
|
5509
5474
|
}
|
|
5510
5475
|
|
|
5511
5476
|
function deserializeBoxEmptyStatement(pos) {
|
|
5512
|
-
return deserializeEmptyStatement(
|
|
5477
|
+
return deserializeEmptyStatement(int32[pos >> 2]);
|
|
5513
5478
|
}
|
|
5514
5479
|
|
|
5515
5480
|
function deserializeBoxExpressionStatement(pos) {
|
|
5516
|
-
return deserializeExpressionStatement(
|
|
5481
|
+
return deserializeExpressionStatement(int32[pos >> 2]);
|
|
5517
5482
|
}
|
|
5518
5483
|
|
|
5519
5484
|
function deserializeBoxForInStatement(pos) {
|
|
5520
|
-
return deserializeForInStatement(
|
|
5485
|
+
return deserializeForInStatement(int32[pos >> 2]);
|
|
5521
5486
|
}
|
|
5522
5487
|
|
|
5523
5488
|
function deserializeBoxForOfStatement(pos) {
|
|
5524
|
-
return deserializeForOfStatement(
|
|
5489
|
+
return deserializeForOfStatement(int32[pos >> 2]);
|
|
5525
5490
|
}
|
|
5526
5491
|
|
|
5527
5492
|
function deserializeBoxForStatement(pos) {
|
|
5528
|
-
return deserializeForStatement(
|
|
5493
|
+
return deserializeForStatement(int32[pos >> 2]);
|
|
5529
5494
|
}
|
|
5530
5495
|
|
|
5531
5496
|
function deserializeBoxIfStatement(pos) {
|
|
5532
|
-
return deserializeIfStatement(
|
|
5497
|
+
return deserializeIfStatement(int32[pos >> 2]);
|
|
5533
5498
|
}
|
|
5534
5499
|
|
|
5535
5500
|
function deserializeBoxLabeledStatement(pos) {
|
|
5536
|
-
return deserializeLabeledStatement(
|
|
5501
|
+
return deserializeLabeledStatement(int32[pos >> 2]);
|
|
5537
5502
|
}
|
|
5538
5503
|
|
|
5539
5504
|
function deserializeBoxReturnStatement(pos) {
|
|
5540
|
-
return deserializeReturnStatement(
|
|
5505
|
+
return deserializeReturnStatement(int32[pos >> 2]);
|
|
5541
5506
|
}
|
|
5542
5507
|
|
|
5543
5508
|
function deserializeBoxSwitchStatement(pos) {
|
|
5544
|
-
return deserializeSwitchStatement(
|
|
5509
|
+
return deserializeSwitchStatement(int32[pos >> 2]);
|
|
5545
5510
|
}
|
|
5546
5511
|
|
|
5547
5512
|
function deserializeBoxThrowStatement(pos) {
|
|
5548
|
-
return deserializeThrowStatement(
|
|
5513
|
+
return deserializeThrowStatement(int32[pos >> 2]);
|
|
5549
5514
|
}
|
|
5550
5515
|
|
|
5551
5516
|
function deserializeBoxTryStatement(pos) {
|
|
5552
|
-
return deserializeTryStatement(
|
|
5517
|
+
return deserializeTryStatement(int32[pos >> 2]);
|
|
5553
5518
|
}
|
|
5554
5519
|
|
|
5555
5520
|
function deserializeBoxWhileStatement(pos) {
|
|
5556
|
-
return deserializeWhileStatement(
|
|
5521
|
+
return deserializeWhileStatement(int32[pos >> 2]);
|
|
5557
5522
|
}
|
|
5558
5523
|
|
|
5559
5524
|
function deserializeBoxWithStatement(pos) {
|
|
5560
|
-
return deserializeWithStatement(
|
|
5525
|
+
return deserializeWithStatement(int32[pos >> 2]);
|
|
5561
5526
|
}
|
|
5562
5527
|
|
|
5563
5528
|
function deserializeBoxVariableDeclaration(pos) {
|
|
5564
|
-
return deserializeVariableDeclaration(
|
|
5529
|
+
return deserializeVariableDeclaration(int32[pos >> 2]);
|
|
5565
5530
|
}
|
|
5566
5531
|
|
|
5567
5532
|
function deserializeBoxTSTypeAliasDeclaration(pos) {
|
|
5568
|
-
return deserializeTSTypeAliasDeclaration(
|
|
5533
|
+
return deserializeTSTypeAliasDeclaration(int32[pos >> 2]);
|
|
5569
5534
|
}
|
|
5570
5535
|
|
|
5571
5536
|
function deserializeBoxTSInterfaceDeclaration(pos) {
|
|
5572
|
-
return deserializeTSInterfaceDeclaration(
|
|
5537
|
+
return deserializeTSInterfaceDeclaration(int32[pos >> 2]);
|
|
5573
5538
|
}
|
|
5574
5539
|
|
|
5575
5540
|
function deserializeBoxTSEnumDeclaration(pos) {
|
|
5576
|
-
return deserializeTSEnumDeclaration(
|
|
5541
|
+
return deserializeTSEnumDeclaration(int32[pos >> 2]);
|
|
5577
5542
|
}
|
|
5578
5543
|
|
|
5579
5544
|
function deserializeBoxTSModuleDeclaration(pos) {
|
|
5580
|
-
return deserializeTSModuleDeclaration(
|
|
5545
|
+
return deserializeTSModuleDeclaration(int32[pos >> 2]);
|
|
5581
5546
|
}
|
|
5582
5547
|
|
|
5583
5548
|
function deserializeBoxTSGlobalDeclaration(pos) {
|
|
5584
|
-
return deserializeTSGlobalDeclaration(
|
|
5549
|
+
return deserializeTSGlobalDeclaration(int32[pos >> 2]);
|
|
5585
5550
|
}
|
|
5586
5551
|
|
|
5587
5552
|
function deserializeBoxTSImportEqualsDeclaration(pos) {
|
|
5588
|
-
return deserializeTSImportEqualsDeclaration(
|
|
5553
|
+
return deserializeTSImportEqualsDeclaration(int32[pos >> 2]);
|
|
5589
5554
|
}
|
|
5590
5555
|
|
|
5591
5556
|
function deserializeVecVariableDeclarator(pos) {
|
|
5592
5557
|
let arr = [],
|
|
5593
5558
|
pos32 = pos >> 2;
|
|
5594
|
-
pos =
|
|
5595
|
-
let endPos = pos +
|
|
5559
|
+
pos = int32[pos32];
|
|
5560
|
+
let endPos = pos + int32[pos32 + 2] * 56;
|
|
5596
5561
|
for (; pos !== endPos; ) {
|
|
5597
5562
|
arr.push(deserializeVariableDeclarator(pos));
|
|
5598
5563
|
pos += 56;
|
|
@@ -5601,11 +5566,11 @@ function deserializeVecVariableDeclarator(pos) {
|
|
|
5601
5566
|
}
|
|
5602
5567
|
|
|
5603
5568
|
function deserializeBoxTSTypeAnnotation(pos) {
|
|
5604
|
-
return deserializeTSTypeAnnotation(
|
|
5569
|
+
return deserializeTSTypeAnnotation(int32[pos >> 2]);
|
|
5605
5570
|
}
|
|
5606
5571
|
|
|
5607
5572
|
function deserializeOptionBoxTSTypeAnnotation(pos) {
|
|
5608
|
-
return
|
|
5573
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5609
5574
|
? null
|
|
5610
5575
|
: deserializeBoxTSTypeAnnotation(pos);
|
|
5611
5576
|
}
|
|
@@ -5619,7 +5584,7 @@ function deserializeOptionForStatementInit(pos) {
|
|
|
5619
5584
|
}
|
|
5620
5585
|
|
|
5621
5586
|
function deserializeOptionLabelIdentifier(pos) {
|
|
5622
|
-
return
|
|
5587
|
+
return int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
5623
5588
|
? null
|
|
5624
5589
|
: deserializeLabelIdentifier(pos);
|
|
5625
5590
|
}
|
|
@@ -5627,8 +5592,8 @@ function deserializeOptionLabelIdentifier(pos) {
|
|
|
5627
5592
|
function deserializeVecSwitchCase(pos) {
|
|
5628
5593
|
let arr = [],
|
|
5629
5594
|
pos32 = pos >> 2;
|
|
5630
|
-
pos =
|
|
5631
|
-
let endPos = pos +
|
|
5595
|
+
pos = int32[pos32];
|
|
5596
|
+
let endPos = pos + int32[pos32 + 2] * 56;
|
|
5632
5597
|
for (; pos !== endPos; ) {
|
|
5633
5598
|
arr.push(deserializeSwitchCase(pos));
|
|
5634
5599
|
pos += 56;
|
|
@@ -5637,17 +5602,17 @@ function deserializeVecSwitchCase(pos) {
|
|
|
5637
5602
|
}
|
|
5638
5603
|
|
|
5639
5604
|
function deserializeBoxCatchClause(pos) {
|
|
5640
|
-
return deserializeCatchClause(
|
|
5605
|
+
return deserializeCatchClause(int32[pos >> 2]);
|
|
5641
5606
|
}
|
|
5642
5607
|
|
|
5643
5608
|
function deserializeOptionBoxCatchClause(pos) {
|
|
5644
|
-
return
|
|
5609
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5645
5610
|
? null
|
|
5646
5611
|
: deserializeBoxCatchClause(pos);
|
|
5647
5612
|
}
|
|
5648
5613
|
|
|
5649
5614
|
function deserializeOptionBoxBlockStatement(pos) {
|
|
5650
|
-
return
|
|
5615
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5651
5616
|
? null
|
|
5652
5617
|
: deserializeBoxBlockStatement(pos);
|
|
5653
5618
|
}
|
|
@@ -5657,26 +5622,26 @@ function deserializeOptionCatchParameter(pos) {
|
|
|
5657
5622
|
}
|
|
5658
5623
|
|
|
5659
5624
|
function deserializeBoxBindingIdentifier(pos) {
|
|
5660
|
-
return deserializeBindingIdentifier(
|
|
5625
|
+
return deserializeBindingIdentifier(int32[pos >> 2]);
|
|
5661
5626
|
}
|
|
5662
5627
|
|
|
5663
5628
|
function deserializeBoxObjectPattern(pos) {
|
|
5664
|
-
return deserializeObjectPattern(
|
|
5629
|
+
return deserializeObjectPattern(int32[pos >> 2]);
|
|
5665
5630
|
}
|
|
5666
5631
|
|
|
5667
5632
|
function deserializeBoxArrayPattern(pos) {
|
|
5668
|
-
return deserializeArrayPattern(
|
|
5633
|
+
return deserializeArrayPattern(int32[pos >> 2]);
|
|
5669
5634
|
}
|
|
5670
5635
|
|
|
5671
5636
|
function deserializeBoxAssignmentPattern(pos) {
|
|
5672
|
-
return deserializeAssignmentPattern(
|
|
5637
|
+
return deserializeAssignmentPattern(int32[pos >> 2]);
|
|
5673
5638
|
}
|
|
5674
5639
|
|
|
5675
5640
|
function deserializeVecBindingProperty(pos) {
|
|
5676
5641
|
let arr = [],
|
|
5677
5642
|
pos32 = pos >> 2;
|
|
5678
|
-
pos =
|
|
5679
|
-
let endPos = pos +
|
|
5643
|
+
pos = int32[pos32];
|
|
5644
|
+
let endPos = pos + int32[pos32 + 2] * 48;
|
|
5680
5645
|
for (; pos !== endPos; ) {
|
|
5681
5646
|
arr.push(deserializeBindingProperty(pos));
|
|
5682
5647
|
pos += 48;
|
|
@@ -5685,11 +5650,11 @@ function deserializeVecBindingProperty(pos) {
|
|
|
5685
5650
|
}
|
|
5686
5651
|
|
|
5687
5652
|
function deserializeBoxBindingRestElement(pos) {
|
|
5688
|
-
return deserializeBindingRestElement(
|
|
5653
|
+
return deserializeBindingRestElement(int32[pos >> 2]);
|
|
5689
5654
|
}
|
|
5690
5655
|
|
|
5691
5656
|
function deserializeOptionBoxBindingRestElement(pos) {
|
|
5692
|
-
return
|
|
5657
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5693
5658
|
? null
|
|
5694
5659
|
: deserializeBoxBindingRestElement(pos);
|
|
5695
5660
|
}
|
|
@@ -5701,8 +5666,8 @@ function deserializeOptionBindingPattern(pos) {
|
|
|
5701
5666
|
function deserializeVecOptionBindingPattern(pos) {
|
|
5702
5667
|
let arr = [],
|
|
5703
5668
|
pos32 = pos >> 2;
|
|
5704
|
-
pos =
|
|
5705
|
-
let endPos = pos +
|
|
5669
|
+
pos = int32[pos32];
|
|
5670
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5706
5671
|
for (; pos !== endPos; ) {
|
|
5707
5672
|
arr.push(deserializeOptionBindingPattern(pos));
|
|
5708
5673
|
pos += 16;
|
|
@@ -5711,41 +5676,41 @@ function deserializeVecOptionBindingPattern(pos) {
|
|
|
5711
5676
|
}
|
|
5712
5677
|
|
|
5713
5678
|
function deserializeOptionBindingIdentifier(pos) {
|
|
5714
|
-
return
|
|
5679
|
+
return int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
5715
5680
|
? null
|
|
5716
5681
|
: deserializeBindingIdentifier(pos);
|
|
5717
5682
|
}
|
|
5718
5683
|
|
|
5719
5684
|
function deserializeBoxTSTypeParameterDeclaration(pos) {
|
|
5720
|
-
return deserializeTSTypeParameterDeclaration(
|
|
5685
|
+
return deserializeTSTypeParameterDeclaration(int32[pos >> 2]);
|
|
5721
5686
|
}
|
|
5722
5687
|
|
|
5723
5688
|
function deserializeOptionBoxTSTypeParameterDeclaration(pos) {
|
|
5724
|
-
return
|
|
5689
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5725
5690
|
? null
|
|
5726
5691
|
: deserializeBoxTSTypeParameterDeclaration(pos);
|
|
5727
5692
|
}
|
|
5728
5693
|
|
|
5729
5694
|
function deserializeBoxTSThisParameter(pos) {
|
|
5730
|
-
return deserializeTSThisParameter(
|
|
5695
|
+
return deserializeTSThisParameter(int32[pos >> 2]);
|
|
5731
5696
|
}
|
|
5732
5697
|
|
|
5733
5698
|
function deserializeOptionBoxTSThisParameter(pos) {
|
|
5734
|
-
return
|
|
5699
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5735
5700
|
? null
|
|
5736
5701
|
: deserializeBoxTSThisParameter(pos);
|
|
5737
5702
|
}
|
|
5738
5703
|
|
|
5739
5704
|
function deserializeBoxFormalParameters(pos) {
|
|
5740
|
-
return deserializeFormalParameters(
|
|
5705
|
+
return deserializeFormalParameters(int32[pos >> 2]);
|
|
5741
5706
|
}
|
|
5742
5707
|
|
|
5743
5708
|
function deserializeBoxFunctionBody(pos) {
|
|
5744
|
-
return deserializeFunctionBody(
|
|
5709
|
+
return deserializeFunctionBody(int32[pos >> 2]);
|
|
5745
5710
|
}
|
|
5746
5711
|
|
|
5747
5712
|
function deserializeOptionBoxFunctionBody(pos) {
|
|
5748
|
-
return
|
|
5713
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5749
5714
|
? null
|
|
5750
5715
|
: deserializeBoxFunctionBody(pos);
|
|
5751
5716
|
}
|
|
@@ -5753,8 +5718,8 @@ function deserializeOptionBoxFunctionBody(pos) {
|
|
|
5753
5718
|
function deserializeVecFormalParameter(pos) {
|
|
5754
5719
|
let arr = [],
|
|
5755
5720
|
pos32 = pos >> 2;
|
|
5756
|
-
pos =
|
|
5757
|
-
let endPos = pos +
|
|
5721
|
+
pos = int32[pos32];
|
|
5722
|
+
let endPos = pos + int32[pos32 + 2] * 72;
|
|
5758
5723
|
for (; pos !== endPos; ) {
|
|
5759
5724
|
arr.push(deserializeFormalParameter(pos));
|
|
5760
5725
|
pos += 72;
|
|
@@ -5765,8 +5730,8 @@ function deserializeVecFormalParameter(pos) {
|
|
|
5765
5730
|
function deserializeVecDecorator(pos) {
|
|
5766
5731
|
let arr = [],
|
|
5767
5732
|
pos32 = pos >> 2;
|
|
5768
|
-
pos =
|
|
5769
|
-
let endPos = pos +
|
|
5733
|
+
pos = int32[pos32];
|
|
5734
|
+
let endPos = pos + (int32[pos32 + 2] << 5);
|
|
5770
5735
|
for (; pos !== endPos; ) {
|
|
5771
5736
|
arr.push(deserializeDecorator(pos));
|
|
5772
5737
|
pos += 32;
|
|
@@ -5775,24 +5740,24 @@ function deserializeVecDecorator(pos) {
|
|
|
5775
5740
|
}
|
|
5776
5741
|
|
|
5777
5742
|
function deserializeBoxExpression(pos) {
|
|
5778
|
-
return deserializeExpression(
|
|
5743
|
+
return deserializeExpression(int32[pos >> 2]);
|
|
5779
5744
|
}
|
|
5780
5745
|
|
|
5781
5746
|
function deserializeOptionBoxExpression(pos) {
|
|
5782
|
-
return
|
|
5747
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5783
5748
|
? null
|
|
5784
5749
|
: deserializeBoxExpression(pos);
|
|
5785
5750
|
}
|
|
5786
5751
|
|
|
5787
5752
|
function deserializeBoxClassBody(pos) {
|
|
5788
|
-
return deserializeClassBody(
|
|
5753
|
+
return deserializeClassBody(int32[pos >> 2]);
|
|
5789
5754
|
}
|
|
5790
5755
|
|
|
5791
5756
|
function deserializeVecClassElement(pos) {
|
|
5792
5757
|
let arr = [],
|
|
5793
5758
|
pos32 = pos >> 2;
|
|
5794
|
-
pos =
|
|
5795
|
-
let endPos = pos +
|
|
5759
|
+
pos = int32[pos32];
|
|
5760
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5796
5761
|
for (; pos !== endPos; ) {
|
|
5797
5762
|
arr.push(deserializeClassElement(pos));
|
|
5798
5763
|
pos += 16;
|
|
@@ -5801,47 +5766,47 @@ function deserializeVecClassElement(pos) {
|
|
|
5801
5766
|
}
|
|
5802
5767
|
|
|
5803
5768
|
function deserializeBoxStaticBlock(pos) {
|
|
5804
|
-
return deserializeStaticBlock(
|
|
5769
|
+
return deserializeStaticBlock(int32[pos >> 2]);
|
|
5805
5770
|
}
|
|
5806
5771
|
|
|
5807
5772
|
function deserializeBoxMethodDefinition(pos) {
|
|
5808
|
-
return deserializeMethodDefinition(
|
|
5773
|
+
return deserializeMethodDefinition(int32[pos >> 2]);
|
|
5809
5774
|
}
|
|
5810
5775
|
|
|
5811
5776
|
function deserializeBoxPropertyDefinition(pos) {
|
|
5812
|
-
return deserializePropertyDefinition(
|
|
5777
|
+
return deserializePropertyDefinition(int32[pos >> 2]);
|
|
5813
5778
|
}
|
|
5814
5779
|
|
|
5815
5780
|
function deserializeBoxAccessorProperty(pos) {
|
|
5816
|
-
return deserializeAccessorProperty(
|
|
5781
|
+
return deserializeAccessorProperty(int32[pos >> 2]);
|
|
5817
5782
|
}
|
|
5818
5783
|
|
|
5819
5784
|
function deserializeBoxTSIndexSignature(pos) {
|
|
5820
|
-
return deserializeTSIndexSignature(
|
|
5785
|
+
return deserializeTSIndexSignature(int32[pos >> 2]);
|
|
5821
5786
|
}
|
|
5822
5787
|
|
|
5823
5788
|
function deserializeBoxImportDeclaration(pos) {
|
|
5824
|
-
return deserializeImportDeclaration(
|
|
5789
|
+
return deserializeImportDeclaration(int32[pos >> 2]);
|
|
5825
5790
|
}
|
|
5826
5791
|
|
|
5827
5792
|
function deserializeBoxExportAllDeclaration(pos) {
|
|
5828
|
-
return deserializeExportAllDeclaration(
|
|
5793
|
+
return deserializeExportAllDeclaration(int32[pos >> 2]);
|
|
5829
5794
|
}
|
|
5830
5795
|
|
|
5831
5796
|
function deserializeBoxExportDefaultDeclaration(pos) {
|
|
5832
|
-
return deserializeExportDefaultDeclaration(
|
|
5797
|
+
return deserializeExportDefaultDeclaration(int32[pos >> 2]);
|
|
5833
5798
|
}
|
|
5834
5799
|
|
|
5835
5800
|
function deserializeBoxExportNamedDeclaration(pos) {
|
|
5836
|
-
return deserializeExportNamedDeclaration(
|
|
5801
|
+
return deserializeExportNamedDeclaration(int32[pos >> 2]);
|
|
5837
5802
|
}
|
|
5838
5803
|
|
|
5839
5804
|
function deserializeBoxTSExportAssignment(pos) {
|
|
5840
|
-
return deserializeTSExportAssignment(
|
|
5805
|
+
return deserializeTSExportAssignment(int32[pos >> 2]);
|
|
5841
5806
|
}
|
|
5842
5807
|
|
|
5843
5808
|
function deserializeBoxTSNamespaceExportDeclaration(pos) {
|
|
5844
|
-
return deserializeTSNamespaceExportDeclaration(
|
|
5809
|
+
return deserializeTSNamespaceExportDeclaration(int32[pos >> 2]);
|
|
5845
5810
|
}
|
|
5846
5811
|
|
|
5847
5812
|
function deserializeOptionImportPhase(pos) {
|
|
@@ -5851,8 +5816,8 @@ function deserializeOptionImportPhase(pos) {
|
|
|
5851
5816
|
function deserializeVecImportDeclarationSpecifier(pos) {
|
|
5852
5817
|
let arr = [],
|
|
5853
5818
|
pos32 = pos >> 2;
|
|
5854
|
-
pos =
|
|
5855
|
-
let endPos = pos +
|
|
5819
|
+
pos = int32[pos32];
|
|
5820
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5856
5821
|
for (; pos !== endPos; ) {
|
|
5857
5822
|
arr.push(deserializeImportDeclarationSpecifier(pos));
|
|
5858
5823
|
pos += 16;
|
|
@@ -5861,38 +5826,38 @@ function deserializeVecImportDeclarationSpecifier(pos) {
|
|
|
5861
5826
|
}
|
|
5862
5827
|
|
|
5863
5828
|
function deserializeOptionVecImportDeclarationSpecifier(pos) {
|
|
5864
|
-
return
|
|
5829
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5865
5830
|
? null
|
|
5866
5831
|
: deserializeVecImportDeclarationSpecifier(pos);
|
|
5867
5832
|
}
|
|
5868
5833
|
|
|
5869
5834
|
function deserializeBoxWithClause(pos) {
|
|
5870
|
-
return deserializeWithClause(
|
|
5835
|
+
return deserializeWithClause(int32[pos >> 2]);
|
|
5871
5836
|
}
|
|
5872
5837
|
|
|
5873
5838
|
function deserializeOptionBoxWithClause(pos) {
|
|
5874
|
-
return
|
|
5839
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5875
5840
|
? null
|
|
5876
5841
|
: deserializeBoxWithClause(pos);
|
|
5877
5842
|
}
|
|
5878
5843
|
|
|
5879
5844
|
function deserializeBoxImportSpecifier(pos) {
|
|
5880
|
-
return deserializeImportSpecifier(
|
|
5845
|
+
return deserializeImportSpecifier(int32[pos >> 2]);
|
|
5881
5846
|
}
|
|
5882
5847
|
|
|
5883
5848
|
function deserializeBoxImportDefaultSpecifier(pos) {
|
|
5884
|
-
return deserializeImportDefaultSpecifier(
|
|
5849
|
+
return deserializeImportDefaultSpecifier(int32[pos >> 2]);
|
|
5885
5850
|
}
|
|
5886
5851
|
|
|
5887
5852
|
function deserializeBoxImportNamespaceSpecifier(pos) {
|
|
5888
|
-
return deserializeImportNamespaceSpecifier(
|
|
5853
|
+
return deserializeImportNamespaceSpecifier(int32[pos >> 2]);
|
|
5889
5854
|
}
|
|
5890
5855
|
|
|
5891
5856
|
function deserializeVecImportAttribute(pos) {
|
|
5892
5857
|
let arr = [],
|
|
5893
5858
|
pos32 = pos >> 2;
|
|
5894
|
-
pos =
|
|
5895
|
-
let endPos = pos +
|
|
5859
|
+
pos = int32[pos32];
|
|
5860
|
+
let endPos = pos + int32[pos32 + 2] * 120;
|
|
5896
5861
|
for (; pos !== endPos; ) {
|
|
5897
5862
|
arr.push(deserializeImportAttribute(pos));
|
|
5898
5863
|
pos += 120;
|
|
@@ -5907,8 +5872,8 @@ function deserializeOptionDeclaration(pos) {
|
|
|
5907
5872
|
function deserializeVecExportSpecifier(pos) {
|
|
5908
5873
|
let arr = [],
|
|
5909
5874
|
pos32 = pos >> 2;
|
|
5910
|
-
pos =
|
|
5911
|
-
let endPos = pos +
|
|
5875
|
+
pos = int32[pos32];
|
|
5876
|
+
let endPos = pos + (int32[pos32 + 2] << 7);
|
|
5912
5877
|
for (; pos !== endPos; ) {
|
|
5913
5878
|
arr.push(deserializeExportSpecifier(pos));
|
|
5914
5879
|
pos += 128;
|
|
@@ -5933,14 +5898,14 @@ function deserializeU8(pos) {
|
|
|
5933
5898
|
}
|
|
5934
5899
|
|
|
5935
5900
|
function deserializeBoxJSXOpeningElement(pos) {
|
|
5936
|
-
return deserializeJSXOpeningElement(
|
|
5901
|
+
return deserializeJSXOpeningElement(int32[pos >> 2]);
|
|
5937
5902
|
}
|
|
5938
5903
|
|
|
5939
5904
|
function deserializeVecJSXChild(pos) {
|
|
5940
5905
|
let arr = [],
|
|
5941
5906
|
pos32 = pos >> 2;
|
|
5942
|
-
pos =
|
|
5943
|
-
let endPos = pos +
|
|
5907
|
+
pos = int32[pos32];
|
|
5908
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5944
5909
|
for (; pos !== endPos; ) {
|
|
5945
5910
|
arr.push(deserializeJSXChild(pos));
|
|
5946
5911
|
pos += 16;
|
|
@@ -5949,11 +5914,11 @@ function deserializeVecJSXChild(pos) {
|
|
|
5949
5914
|
}
|
|
5950
5915
|
|
|
5951
5916
|
function deserializeBoxJSXClosingElement(pos) {
|
|
5952
|
-
return deserializeJSXClosingElement(
|
|
5917
|
+
return deserializeJSXClosingElement(int32[pos >> 2]);
|
|
5953
5918
|
}
|
|
5954
5919
|
|
|
5955
5920
|
function deserializeOptionBoxJSXClosingElement(pos) {
|
|
5956
|
-
return
|
|
5921
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5957
5922
|
? null
|
|
5958
5923
|
: deserializeBoxJSXClosingElement(pos);
|
|
5959
5924
|
}
|
|
@@ -5961,8 +5926,8 @@ function deserializeOptionBoxJSXClosingElement(pos) {
|
|
|
5961
5926
|
function deserializeVecJSXAttributeItem(pos) {
|
|
5962
5927
|
let arr = [],
|
|
5963
5928
|
pos32 = pos >> 2;
|
|
5964
|
-
pos =
|
|
5965
|
-
let endPos = pos +
|
|
5929
|
+
pos = int32[pos32];
|
|
5930
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5966
5931
|
for (; pos !== endPos; ) {
|
|
5967
5932
|
arr.push(deserializeJSXAttributeItem(pos));
|
|
5968
5933
|
pos += 16;
|
|
@@ -5971,23 +5936,23 @@ function deserializeVecJSXAttributeItem(pos) {
|
|
|
5971
5936
|
}
|
|
5972
5937
|
|
|
5973
5938
|
function deserializeBoxJSXIdentifier(pos) {
|
|
5974
|
-
return deserializeJSXIdentifier(
|
|
5939
|
+
return deserializeJSXIdentifier(int32[pos >> 2]);
|
|
5975
5940
|
}
|
|
5976
5941
|
|
|
5977
5942
|
function deserializeBoxJSXNamespacedName(pos) {
|
|
5978
|
-
return deserializeJSXNamespacedName(
|
|
5943
|
+
return deserializeJSXNamespacedName(int32[pos >> 2]);
|
|
5979
5944
|
}
|
|
5980
5945
|
|
|
5981
5946
|
function deserializeBoxJSXMemberExpression(pos) {
|
|
5982
|
-
return deserializeJSXMemberExpression(
|
|
5947
|
+
return deserializeJSXMemberExpression(int32[pos >> 2]);
|
|
5983
5948
|
}
|
|
5984
5949
|
|
|
5985
5950
|
function deserializeBoxJSXAttribute(pos) {
|
|
5986
|
-
return deserializeJSXAttribute(
|
|
5951
|
+
return deserializeJSXAttribute(int32[pos >> 2]);
|
|
5987
5952
|
}
|
|
5988
5953
|
|
|
5989
5954
|
function deserializeBoxJSXSpreadAttribute(pos) {
|
|
5990
|
-
return deserializeJSXSpreadAttribute(
|
|
5955
|
+
return deserializeJSXSpreadAttribute(int32[pos >> 2]);
|
|
5991
5956
|
}
|
|
5992
5957
|
|
|
5993
5958
|
function deserializeOptionJSXAttributeValue(pos) {
|
|
@@ -5995,22 +5960,22 @@ function deserializeOptionJSXAttributeValue(pos) {
|
|
|
5995
5960
|
}
|
|
5996
5961
|
|
|
5997
5962
|
function deserializeBoxJSXExpressionContainer(pos) {
|
|
5998
|
-
return deserializeJSXExpressionContainer(
|
|
5963
|
+
return deserializeJSXExpressionContainer(int32[pos >> 2]);
|
|
5999
5964
|
}
|
|
6000
5965
|
|
|
6001
5966
|
function deserializeBoxJSXText(pos) {
|
|
6002
|
-
return deserializeJSXText(
|
|
5967
|
+
return deserializeJSXText(int32[pos >> 2]);
|
|
6003
5968
|
}
|
|
6004
5969
|
|
|
6005
5970
|
function deserializeBoxJSXSpreadChild(pos) {
|
|
6006
|
-
return deserializeJSXSpreadChild(
|
|
5971
|
+
return deserializeJSXSpreadChild(int32[pos >> 2]);
|
|
6007
5972
|
}
|
|
6008
5973
|
|
|
6009
5974
|
function deserializeVecTSEnumMember(pos) {
|
|
6010
5975
|
let arr = [],
|
|
6011
5976
|
pos32 = pos >> 2;
|
|
6012
|
-
pos =
|
|
6013
|
-
let endPos = pos +
|
|
5977
|
+
pos = int32[pos32];
|
|
5978
|
+
let endPos = pos + int32[pos32 + 2] * 48;
|
|
6014
5979
|
for (; pos !== endPos; ) {
|
|
6015
5980
|
arr.push(deserializeTSEnumMember(pos));
|
|
6016
5981
|
pos += 48;
|
|
@@ -6019,158 +5984,158 @@ function deserializeVecTSEnumMember(pos) {
|
|
|
6019
5984
|
}
|
|
6020
5985
|
|
|
6021
5986
|
function deserializeBoxTSAnyKeyword(pos) {
|
|
6022
|
-
return deserializeTSAnyKeyword(
|
|
5987
|
+
return deserializeTSAnyKeyword(int32[pos >> 2]);
|
|
6023
5988
|
}
|
|
6024
5989
|
|
|
6025
5990
|
function deserializeBoxTSBigIntKeyword(pos) {
|
|
6026
|
-
return deserializeTSBigIntKeyword(
|
|
5991
|
+
return deserializeTSBigIntKeyword(int32[pos >> 2]);
|
|
6027
5992
|
}
|
|
6028
5993
|
|
|
6029
5994
|
function deserializeBoxTSBooleanKeyword(pos) {
|
|
6030
|
-
return deserializeTSBooleanKeyword(
|
|
5995
|
+
return deserializeTSBooleanKeyword(int32[pos >> 2]);
|
|
6031
5996
|
}
|
|
6032
5997
|
|
|
6033
5998
|
function deserializeBoxTSIntrinsicKeyword(pos) {
|
|
6034
|
-
return deserializeTSIntrinsicKeyword(
|
|
5999
|
+
return deserializeTSIntrinsicKeyword(int32[pos >> 2]);
|
|
6035
6000
|
}
|
|
6036
6001
|
|
|
6037
6002
|
function deserializeBoxTSNeverKeyword(pos) {
|
|
6038
|
-
return deserializeTSNeverKeyword(
|
|
6003
|
+
return deserializeTSNeverKeyword(int32[pos >> 2]);
|
|
6039
6004
|
}
|
|
6040
6005
|
|
|
6041
6006
|
function deserializeBoxTSNullKeyword(pos) {
|
|
6042
|
-
return deserializeTSNullKeyword(
|
|
6007
|
+
return deserializeTSNullKeyword(int32[pos >> 2]);
|
|
6043
6008
|
}
|
|
6044
6009
|
|
|
6045
6010
|
function deserializeBoxTSNumberKeyword(pos) {
|
|
6046
|
-
return deserializeTSNumberKeyword(
|
|
6011
|
+
return deserializeTSNumberKeyword(int32[pos >> 2]);
|
|
6047
6012
|
}
|
|
6048
6013
|
|
|
6049
6014
|
function deserializeBoxTSObjectKeyword(pos) {
|
|
6050
|
-
return deserializeTSObjectKeyword(
|
|
6015
|
+
return deserializeTSObjectKeyword(int32[pos >> 2]);
|
|
6051
6016
|
}
|
|
6052
6017
|
|
|
6053
6018
|
function deserializeBoxTSStringKeyword(pos) {
|
|
6054
|
-
return deserializeTSStringKeyword(
|
|
6019
|
+
return deserializeTSStringKeyword(int32[pos >> 2]);
|
|
6055
6020
|
}
|
|
6056
6021
|
|
|
6057
6022
|
function deserializeBoxTSSymbolKeyword(pos) {
|
|
6058
|
-
return deserializeTSSymbolKeyword(
|
|
6023
|
+
return deserializeTSSymbolKeyword(int32[pos >> 2]);
|
|
6059
6024
|
}
|
|
6060
6025
|
|
|
6061
6026
|
function deserializeBoxTSUndefinedKeyword(pos) {
|
|
6062
|
-
return deserializeTSUndefinedKeyword(
|
|
6027
|
+
return deserializeTSUndefinedKeyword(int32[pos >> 2]);
|
|
6063
6028
|
}
|
|
6064
6029
|
|
|
6065
6030
|
function deserializeBoxTSUnknownKeyword(pos) {
|
|
6066
|
-
return deserializeTSUnknownKeyword(
|
|
6031
|
+
return deserializeTSUnknownKeyword(int32[pos >> 2]);
|
|
6067
6032
|
}
|
|
6068
6033
|
|
|
6069
6034
|
function deserializeBoxTSVoidKeyword(pos) {
|
|
6070
|
-
return deserializeTSVoidKeyword(
|
|
6035
|
+
return deserializeTSVoidKeyword(int32[pos >> 2]);
|
|
6071
6036
|
}
|
|
6072
6037
|
|
|
6073
6038
|
function deserializeBoxTSArrayType(pos) {
|
|
6074
|
-
return deserializeTSArrayType(
|
|
6039
|
+
return deserializeTSArrayType(int32[pos >> 2]);
|
|
6075
6040
|
}
|
|
6076
6041
|
|
|
6077
6042
|
function deserializeBoxTSConditionalType(pos) {
|
|
6078
|
-
return deserializeTSConditionalType(
|
|
6043
|
+
return deserializeTSConditionalType(int32[pos >> 2]);
|
|
6079
6044
|
}
|
|
6080
6045
|
|
|
6081
6046
|
function deserializeBoxTSConstructorType(pos) {
|
|
6082
|
-
return deserializeTSConstructorType(
|
|
6047
|
+
return deserializeTSConstructorType(int32[pos >> 2]);
|
|
6083
6048
|
}
|
|
6084
6049
|
|
|
6085
6050
|
function deserializeBoxTSFunctionType(pos) {
|
|
6086
|
-
return deserializeTSFunctionType(
|
|
6051
|
+
return deserializeTSFunctionType(int32[pos >> 2]);
|
|
6087
6052
|
}
|
|
6088
6053
|
|
|
6089
6054
|
function deserializeBoxTSImportType(pos) {
|
|
6090
|
-
return deserializeTSImportType(
|
|
6055
|
+
return deserializeTSImportType(int32[pos >> 2]);
|
|
6091
6056
|
}
|
|
6092
6057
|
|
|
6093
6058
|
function deserializeBoxTSIndexedAccessType(pos) {
|
|
6094
|
-
return deserializeTSIndexedAccessType(
|
|
6059
|
+
return deserializeTSIndexedAccessType(int32[pos >> 2]);
|
|
6095
6060
|
}
|
|
6096
6061
|
|
|
6097
6062
|
function deserializeBoxTSInferType(pos) {
|
|
6098
|
-
return deserializeTSInferType(
|
|
6063
|
+
return deserializeTSInferType(int32[pos >> 2]);
|
|
6099
6064
|
}
|
|
6100
6065
|
|
|
6101
6066
|
function deserializeBoxTSIntersectionType(pos) {
|
|
6102
|
-
return deserializeTSIntersectionType(
|
|
6067
|
+
return deserializeTSIntersectionType(int32[pos >> 2]);
|
|
6103
6068
|
}
|
|
6104
6069
|
|
|
6105
6070
|
function deserializeBoxTSLiteralType(pos) {
|
|
6106
|
-
return deserializeTSLiteralType(
|
|
6071
|
+
return deserializeTSLiteralType(int32[pos >> 2]);
|
|
6107
6072
|
}
|
|
6108
6073
|
|
|
6109
6074
|
function deserializeBoxTSMappedType(pos) {
|
|
6110
|
-
return deserializeTSMappedType(
|
|
6075
|
+
return deserializeTSMappedType(int32[pos >> 2]);
|
|
6111
6076
|
}
|
|
6112
6077
|
|
|
6113
6078
|
function deserializeBoxTSNamedTupleMember(pos) {
|
|
6114
|
-
return deserializeTSNamedTupleMember(
|
|
6079
|
+
return deserializeTSNamedTupleMember(int32[pos >> 2]);
|
|
6115
6080
|
}
|
|
6116
6081
|
|
|
6117
6082
|
function deserializeBoxTSTemplateLiteralType(pos) {
|
|
6118
|
-
return deserializeTSTemplateLiteralType(
|
|
6083
|
+
return deserializeTSTemplateLiteralType(int32[pos >> 2]);
|
|
6119
6084
|
}
|
|
6120
6085
|
|
|
6121
6086
|
function deserializeBoxTSThisType(pos) {
|
|
6122
|
-
return deserializeTSThisType(
|
|
6087
|
+
return deserializeTSThisType(int32[pos >> 2]);
|
|
6123
6088
|
}
|
|
6124
6089
|
|
|
6125
6090
|
function deserializeBoxTSTupleType(pos) {
|
|
6126
|
-
return deserializeTSTupleType(
|
|
6091
|
+
return deserializeTSTupleType(int32[pos >> 2]);
|
|
6127
6092
|
}
|
|
6128
6093
|
|
|
6129
6094
|
function deserializeBoxTSTypeLiteral(pos) {
|
|
6130
|
-
return deserializeTSTypeLiteral(
|
|
6095
|
+
return deserializeTSTypeLiteral(int32[pos >> 2]);
|
|
6131
6096
|
}
|
|
6132
6097
|
|
|
6133
6098
|
function deserializeBoxTSTypeOperator(pos) {
|
|
6134
|
-
return deserializeTSTypeOperator(
|
|
6099
|
+
return deserializeTSTypeOperator(int32[pos >> 2]);
|
|
6135
6100
|
}
|
|
6136
6101
|
|
|
6137
6102
|
function deserializeBoxTSTypePredicate(pos) {
|
|
6138
|
-
return deserializeTSTypePredicate(
|
|
6103
|
+
return deserializeTSTypePredicate(int32[pos >> 2]);
|
|
6139
6104
|
}
|
|
6140
6105
|
|
|
6141
6106
|
function deserializeBoxTSTypeQuery(pos) {
|
|
6142
|
-
return deserializeTSTypeQuery(
|
|
6107
|
+
return deserializeTSTypeQuery(int32[pos >> 2]);
|
|
6143
6108
|
}
|
|
6144
6109
|
|
|
6145
6110
|
function deserializeBoxTSTypeReference(pos) {
|
|
6146
|
-
return deserializeTSTypeReference(
|
|
6111
|
+
return deserializeTSTypeReference(int32[pos >> 2]);
|
|
6147
6112
|
}
|
|
6148
6113
|
|
|
6149
6114
|
function deserializeBoxTSUnionType(pos) {
|
|
6150
|
-
return deserializeTSUnionType(
|
|
6115
|
+
return deserializeTSUnionType(int32[pos >> 2]);
|
|
6151
6116
|
}
|
|
6152
6117
|
|
|
6153
6118
|
function deserializeBoxTSParenthesizedType(pos) {
|
|
6154
|
-
return deserializeTSParenthesizedType(
|
|
6119
|
+
return deserializeTSParenthesizedType(int32[pos >> 2]);
|
|
6155
6120
|
}
|
|
6156
6121
|
|
|
6157
6122
|
function deserializeBoxJSDocNullableType(pos) {
|
|
6158
|
-
return deserializeJSDocNullableType(
|
|
6123
|
+
return deserializeJSDocNullableType(int32[pos >> 2]);
|
|
6159
6124
|
}
|
|
6160
6125
|
|
|
6161
6126
|
function deserializeBoxJSDocNonNullableType(pos) {
|
|
6162
|
-
return deserializeJSDocNonNullableType(
|
|
6127
|
+
return deserializeJSDocNonNullableType(int32[pos >> 2]);
|
|
6163
6128
|
}
|
|
6164
6129
|
|
|
6165
6130
|
function deserializeBoxJSDocUnknownType(pos) {
|
|
6166
|
-
return deserializeJSDocUnknownType(
|
|
6131
|
+
return deserializeJSDocUnknownType(int32[pos >> 2]);
|
|
6167
6132
|
}
|
|
6168
6133
|
|
|
6169
6134
|
function deserializeVecTSType(pos) {
|
|
6170
6135
|
let arr = [],
|
|
6171
6136
|
pos32 = pos >> 2;
|
|
6172
|
-
pos =
|
|
6173
|
-
let endPos = pos +
|
|
6137
|
+
pos = int32[pos32];
|
|
6138
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6174
6139
|
for (; pos !== endPos; ) {
|
|
6175
6140
|
arr.push(deserializeTSType(pos));
|
|
6176
6141
|
pos += 16;
|
|
@@ -6181,8 +6146,8 @@ function deserializeVecTSType(pos) {
|
|
|
6181
6146
|
function deserializeVecTSTupleElement(pos) {
|
|
6182
6147
|
let arr = [],
|
|
6183
6148
|
pos32 = pos >> 2;
|
|
6184
|
-
pos =
|
|
6185
|
-
let endPos = pos +
|
|
6149
|
+
pos = int32[pos32];
|
|
6150
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6186
6151
|
for (; pos !== endPos; ) {
|
|
6187
6152
|
arr.push(deserializeTSTupleElement(pos));
|
|
6188
6153
|
pos += 16;
|
|
@@ -6191,15 +6156,15 @@ function deserializeVecTSTupleElement(pos) {
|
|
|
6191
6156
|
}
|
|
6192
6157
|
|
|
6193
6158
|
function deserializeBoxTSOptionalType(pos) {
|
|
6194
|
-
return deserializeTSOptionalType(
|
|
6159
|
+
return deserializeTSOptionalType(int32[pos >> 2]);
|
|
6195
6160
|
}
|
|
6196
6161
|
|
|
6197
6162
|
function deserializeBoxTSRestType(pos) {
|
|
6198
|
-
return deserializeTSRestType(
|
|
6163
|
+
return deserializeTSRestType(int32[pos >> 2]);
|
|
6199
6164
|
}
|
|
6200
6165
|
|
|
6201
6166
|
function deserializeBoxTSQualifiedName(pos) {
|
|
6202
|
-
return deserializeTSQualifiedName(
|
|
6167
|
+
return deserializeTSQualifiedName(int32[pos >> 2]);
|
|
6203
6168
|
}
|
|
6204
6169
|
|
|
6205
6170
|
function deserializeOptionTSType(pos) {
|
|
@@ -6209,8 +6174,8 @@ function deserializeOptionTSType(pos) {
|
|
|
6209
6174
|
function deserializeVecTSTypeParameter(pos) {
|
|
6210
6175
|
let arr = [],
|
|
6211
6176
|
pos32 = pos >> 2;
|
|
6212
|
-
pos =
|
|
6213
|
-
let endPos = pos +
|
|
6177
|
+
pos = int32[pos32];
|
|
6178
|
+
let endPos = pos + int32[pos32 + 2] * 80;
|
|
6214
6179
|
for (; pos !== endPos; ) {
|
|
6215
6180
|
arr.push(deserializeTSTypeParameter(pos));
|
|
6216
6181
|
pos += 80;
|
|
@@ -6221,8 +6186,8 @@ function deserializeVecTSTypeParameter(pos) {
|
|
|
6221
6186
|
function deserializeVecTSInterfaceHeritage(pos) {
|
|
6222
6187
|
let arr = [],
|
|
6223
6188
|
pos32 = pos >> 2;
|
|
6224
|
-
pos =
|
|
6225
|
-
let endPos = pos +
|
|
6189
|
+
pos = int32[pos32];
|
|
6190
|
+
let endPos = pos + int32[pos32 + 2] * 40;
|
|
6226
6191
|
for (; pos !== endPos; ) {
|
|
6227
6192
|
arr.push(deserializeTSInterfaceHeritage(pos));
|
|
6228
6193
|
pos += 40;
|
|
@@ -6231,14 +6196,14 @@ function deserializeVecTSInterfaceHeritage(pos) {
|
|
|
6231
6196
|
}
|
|
6232
6197
|
|
|
6233
6198
|
function deserializeBoxTSInterfaceBody(pos) {
|
|
6234
|
-
return deserializeTSInterfaceBody(
|
|
6199
|
+
return deserializeTSInterfaceBody(int32[pos >> 2]);
|
|
6235
6200
|
}
|
|
6236
6201
|
|
|
6237
6202
|
function deserializeVecTSSignature(pos) {
|
|
6238
6203
|
let arr = [],
|
|
6239
6204
|
pos32 = pos >> 2;
|
|
6240
|
-
pos =
|
|
6241
|
-
let endPos = pos +
|
|
6205
|
+
pos = int32[pos32];
|
|
6206
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6242
6207
|
for (; pos !== endPos; ) {
|
|
6243
6208
|
arr.push(deserializeTSSignature(pos));
|
|
6244
6209
|
pos += 16;
|
|
@@ -6247,26 +6212,26 @@ function deserializeVecTSSignature(pos) {
|
|
|
6247
6212
|
}
|
|
6248
6213
|
|
|
6249
6214
|
function deserializeBoxTSPropertySignature(pos) {
|
|
6250
|
-
return deserializeTSPropertySignature(
|
|
6215
|
+
return deserializeTSPropertySignature(int32[pos >> 2]);
|
|
6251
6216
|
}
|
|
6252
6217
|
|
|
6253
6218
|
function deserializeBoxTSCallSignatureDeclaration(pos) {
|
|
6254
|
-
return deserializeTSCallSignatureDeclaration(
|
|
6219
|
+
return deserializeTSCallSignatureDeclaration(int32[pos >> 2]);
|
|
6255
6220
|
}
|
|
6256
6221
|
|
|
6257
6222
|
function deserializeBoxTSConstructSignatureDeclaration(pos) {
|
|
6258
|
-
return deserializeTSConstructSignatureDeclaration(
|
|
6223
|
+
return deserializeTSConstructSignatureDeclaration(int32[pos >> 2]);
|
|
6259
6224
|
}
|
|
6260
6225
|
|
|
6261
6226
|
function deserializeBoxTSMethodSignature(pos) {
|
|
6262
|
-
return deserializeTSMethodSignature(
|
|
6227
|
+
return deserializeTSMethodSignature(int32[pos >> 2]);
|
|
6263
6228
|
}
|
|
6264
6229
|
|
|
6265
6230
|
function deserializeVecTSIndexSignatureName(pos) {
|
|
6266
6231
|
let arr = [],
|
|
6267
6232
|
pos32 = pos >> 2;
|
|
6268
|
-
pos =
|
|
6269
|
-
let endPos = pos +
|
|
6233
|
+
pos = int32[pos32];
|
|
6234
|
+
let endPos = pos + int32[pos32 + 2] * 40;
|
|
6270
6235
|
for (; pos !== endPos; ) {
|
|
6271
6236
|
arr.push(deserializeTSIndexSignatureName(pos));
|
|
6272
6237
|
pos += 40;
|
|
@@ -6279,15 +6244,15 @@ function deserializeOptionTSModuleDeclarationBody(pos) {
|
|
|
6279
6244
|
}
|
|
6280
6245
|
|
|
6281
6246
|
function deserializeBoxTSModuleBlock(pos) {
|
|
6282
|
-
return deserializeTSModuleBlock(
|
|
6247
|
+
return deserializeTSModuleBlock(int32[pos >> 2]);
|
|
6283
6248
|
}
|
|
6284
6249
|
|
|
6285
6250
|
function deserializeBoxTSTypeParameter(pos) {
|
|
6286
|
-
return deserializeTSTypeParameter(
|
|
6251
|
+
return deserializeTSTypeParameter(int32[pos >> 2]);
|
|
6287
6252
|
}
|
|
6288
6253
|
|
|
6289
6254
|
function deserializeOptionBoxObjectExpression(pos) {
|
|
6290
|
-
return
|
|
6255
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6291
6256
|
? null
|
|
6292
6257
|
: deserializeBoxObjectExpression(pos);
|
|
6293
6258
|
}
|
|
@@ -6297,7 +6262,7 @@ function deserializeOptionTSImportTypeQualifier(pos) {
|
|
|
6297
6262
|
}
|
|
6298
6263
|
|
|
6299
6264
|
function deserializeBoxTSImportTypeQualifiedName(pos) {
|
|
6300
|
-
return deserializeTSImportTypeQualifiedName(
|
|
6265
|
+
return deserializeTSImportTypeQualifiedName(int32[pos >> 2]);
|
|
6301
6266
|
}
|
|
6302
6267
|
|
|
6303
6268
|
function deserializeOptionTSMappedTypeModifierOperator(pos) {
|
|
@@ -6305,15 +6270,15 @@ function deserializeOptionTSMappedTypeModifierOperator(pos) {
|
|
|
6305
6270
|
}
|
|
6306
6271
|
|
|
6307
6272
|
function deserializeBoxTSExternalModuleReference(pos) {
|
|
6308
|
-
return deserializeTSExternalModuleReference(
|
|
6273
|
+
return deserializeTSExternalModuleReference(int32[pos >> 2]);
|
|
6309
6274
|
}
|
|
6310
6275
|
|
|
6311
|
-
function
|
|
6312
|
-
return
|
|
6276
|
+
function deserializeI32(pos) {
|
|
6277
|
+
return int32[pos >> 2];
|
|
6313
6278
|
}
|
|
6314
6279
|
|
|
6315
6280
|
function deserializeOptionNameSpan(pos) {
|
|
6316
|
-
return
|
|
6281
|
+
return int32[(pos >> 2) + 2] === 0 && int32[(pos >> 2) + 3] === 0
|
|
6317
6282
|
? null
|
|
6318
6283
|
: deserializeNameSpan(pos);
|
|
6319
6284
|
}
|
|
@@ -6321,8 +6286,8 @@ function deserializeOptionNameSpan(pos) {
|
|
|
6321
6286
|
function deserializeVecError(pos) {
|
|
6322
6287
|
let arr = [],
|
|
6323
6288
|
pos32 = pos >> 2;
|
|
6324
|
-
pos =
|
|
6325
|
-
let endPos = pos +
|
|
6289
|
+
pos = int32[pos32];
|
|
6290
|
+
let endPos = pos + int32[pos32 + 2] * 80;
|
|
6326
6291
|
for (; pos !== endPos; ) {
|
|
6327
6292
|
arr.push(deserializeError(pos));
|
|
6328
6293
|
pos += 80;
|
|
@@ -6333,8 +6298,8 @@ function deserializeVecError(pos) {
|
|
|
6333
6298
|
function deserializeVecErrorLabel(pos) {
|
|
6334
6299
|
let arr = [],
|
|
6335
6300
|
pos32 = pos >> 2;
|
|
6336
|
-
pos =
|
|
6337
|
-
let endPos = pos +
|
|
6301
|
+
pos = int32[pos32];
|
|
6302
|
+
let endPos = pos + int32[pos32 + 2] * 24;
|
|
6338
6303
|
for (; pos !== endPos; ) {
|
|
6339
6304
|
arr.push(deserializeErrorLabel(pos));
|
|
6340
6305
|
pos += 24;
|
|
@@ -6345,8 +6310,8 @@ function deserializeVecErrorLabel(pos) {
|
|
|
6345
6310
|
function deserializeVecStaticImport(pos) {
|
|
6346
6311
|
let arr = [],
|
|
6347
6312
|
pos32 = pos >> 2;
|
|
6348
|
-
pos =
|
|
6349
|
-
let endPos = pos +
|
|
6313
|
+
pos = int32[pos32];
|
|
6314
|
+
let endPos = pos + int32[pos32 + 2] * 56;
|
|
6350
6315
|
for (; pos !== endPos; ) {
|
|
6351
6316
|
arr.push(deserializeStaticImport(pos));
|
|
6352
6317
|
pos += 56;
|
|
@@ -6357,8 +6322,8 @@ function deserializeVecStaticImport(pos) {
|
|
|
6357
6322
|
function deserializeVecStaticExport(pos) {
|
|
6358
6323
|
let arr = [],
|
|
6359
6324
|
pos32 = pos >> 2;
|
|
6360
|
-
pos =
|
|
6361
|
-
let endPos = pos +
|
|
6325
|
+
pos = int32[pos32];
|
|
6326
|
+
let endPos = pos + (int32[pos32 + 2] << 5);
|
|
6362
6327
|
for (; pos !== endPos; ) {
|
|
6363
6328
|
arr.push(deserializeStaticExport(pos));
|
|
6364
6329
|
pos += 32;
|
|
@@ -6369,8 +6334,8 @@ function deserializeVecStaticExport(pos) {
|
|
|
6369
6334
|
function deserializeVecDynamicImport(pos) {
|
|
6370
6335
|
let arr = [],
|
|
6371
6336
|
pos32 = pos >> 2;
|
|
6372
|
-
pos =
|
|
6373
|
-
let endPos = pos +
|
|
6337
|
+
pos = int32[pos32];
|
|
6338
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6374
6339
|
for (; pos !== endPos; ) {
|
|
6375
6340
|
arr.push(deserializeDynamicImport(pos));
|
|
6376
6341
|
pos += 16;
|
|
@@ -6381,8 +6346,8 @@ function deserializeVecDynamicImport(pos) {
|
|
|
6381
6346
|
function deserializeVecSpan(pos) {
|
|
6382
6347
|
let arr = [],
|
|
6383
6348
|
pos32 = pos >> 2;
|
|
6384
|
-
pos =
|
|
6385
|
-
let endPos = pos +
|
|
6349
|
+
pos = int32[pos32];
|
|
6350
|
+
let endPos = pos + (int32[pos32 + 2] << 3);
|
|
6386
6351
|
for (; pos !== endPos; ) {
|
|
6387
6352
|
arr.push(deserializeSpan(pos));
|
|
6388
6353
|
pos += 8;
|
|
@@ -6393,8 +6358,8 @@ function deserializeVecSpan(pos) {
|
|
|
6393
6358
|
function deserializeVecImportEntry(pos) {
|
|
6394
6359
|
let arr = [],
|
|
6395
6360
|
pos32 = pos >> 2;
|
|
6396
|
-
pos =
|
|
6397
|
-
let endPos = pos +
|
|
6361
|
+
pos = int32[pos32];
|
|
6362
|
+
let endPos = pos + int32[pos32 + 2] * 96;
|
|
6398
6363
|
for (; pos !== endPos; ) {
|
|
6399
6364
|
arr.push(deserializeImportEntry(pos));
|
|
6400
6365
|
pos += 96;
|
|
@@ -6405,8 +6370,8 @@ function deserializeVecImportEntry(pos) {
|
|
|
6405
6370
|
function deserializeVecExportEntry(pos) {
|
|
6406
6371
|
let arr = [],
|
|
6407
6372
|
pos32 = pos >> 2;
|
|
6408
|
-
pos =
|
|
6409
|
-
let endPos = pos +
|
|
6373
|
+
pos = int32[pos32];
|
|
6374
|
+
let endPos = pos + int32[pos32 + 2] * 144;
|
|
6410
6375
|
for (; pos !== endPos; ) {
|
|
6411
6376
|
arr.push(deserializeExportEntry(pos));
|
|
6412
6377
|
pos += 144;
|