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,18 +33,18 @@ 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 end =
|
|
47
|
+
let end = deserializeI32(pos + 4),
|
|
48
48
|
program = {
|
|
49
49
|
type: "Program",
|
|
50
50
|
body: null,
|
|
@@ -173,83 +173,67 @@ function deserializeExpression(pos) {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
function deserializeIdentifierName(pos) {
|
|
176
|
-
let start,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
};
|
|
188
|
-
node.decorators = [];
|
|
189
|
-
node.optional = false;
|
|
190
|
-
return node;
|
|
176
|
+
let start, end;
|
|
177
|
+
return {
|
|
178
|
+
type: "Identifier",
|
|
179
|
+
decorators: [],
|
|
180
|
+
name: deserializeStr(pos + 16),
|
|
181
|
+
optional: false,
|
|
182
|
+
typeAnnotation: null,
|
|
183
|
+
start: (start = deserializeI32(pos)),
|
|
184
|
+
end: (end = deserializeI32(pos + 4)),
|
|
185
|
+
range: [start, end],
|
|
186
|
+
};
|
|
191
187
|
}
|
|
192
188
|
|
|
193
189
|
function deserializeIdentifierReference(pos) {
|
|
194
|
-
let start,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
};
|
|
206
|
-
node.decorators = [];
|
|
207
|
-
node.optional = false;
|
|
208
|
-
return node;
|
|
190
|
+
let start, end;
|
|
191
|
+
return {
|
|
192
|
+
type: "Identifier",
|
|
193
|
+
decorators: [],
|
|
194
|
+
name: deserializeStr(pos + 16),
|
|
195
|
+
optional: false,
|
|
196
|
+
typeAnnotation: null,
|
|
197
|
+
start: (start = deserializeI32(pos)),
|
|
198
|
+
end: (end = deserializeI32(pos + 4)),
|
|
199
|
+
range: [start, end],
|
|
200
|
+
};
|
|
209
201
|
}
|
|
210
202
|
|
|
211
203
|
function deserializeBindingIdentifier(pos) {
|
|
212
|
-
let start,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
};
|
|
224
|
-
node.decorators = [];
|
|
225
|
-
node.optional = false;
|
|
226
|
-
return node;
|
|
204
|
+
let start, end;
|
|
205
|
+
return {
|
|
206
|
+
type: "Identifier",
|
|
207
|
+
decorators: [],
|
|
208
|
+
name: deserializeStr(pos + 16),
|
|
209
|
+
optional: false,
|
|
210
|
+
typeAnnotation: null,
|
|
211
|
+
start: (start = deserializeI32(pos)),
|
|
212
|
+
end: (end = deserializeI32(pos + 4)),
|
|
213
|
+
range: [start, end],
|
|
214
|
+
};
|
|
227
215
|
}
|
|
228
216
|
|
|
229
217
|
function deserializeLabelIdentifier(pos) {
|
|
230
|
-
let start,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
};
|
|
242
|
-
node.decorators = [];
|
|
243
|
-
node.optional = false;
|
|
244
|
-
return node;
|
|
218
|
+
let start, end;
|
|
219
|
+
return {
|
|
220
|
+
type: "Identifier",
|
|
221
|
+
decorators: [],
|
|
222
|
+
name: deserializeStr(pos + 16),
|
|
223
|
+
optional: false,
|
|
224
|
+
typeAnnotation: null,
|
|
225
|
+
start: (start = deserializeI32(pos)),
|
|
226
|
+
end: (end = deserializeI32(pos + 4)),
|
|
227
|
+
range: [start, end],
|
|
228
|
+
};
|
|
245
229
|
}
|
|
246
230
|
|
|
247
231
|
function deserializeThisExpression(pos) {
|
|
248
232
|
let start, end;
|
|
249
233
|
return {
|
|
250
234
|
type: "ThisExpression",
|
|
251
|
-
start: (start =
|
|
252
|
-
end: (end =
|
|
235
|
+
start: (start = deserializeI32(pos)),
|
|
236
|
+
end: (end = deserializeI32(pos + 4)),
|
|
253
237
|
range: [start, end],
|
|
254
238
|
};
|
|
255
239
|
}
|
|
@@ -260,8 +244,8 @@ function deserializeArrayExpression(pos) {
|
|
|
260
244
|
node = {
|
|
261
245
|
type: "ArrayExpression",
|
|
262
246
|
elements: null,
|
|
263
|
-
start: (start =
|
|
264
|
-
end: (end =
|
|
247
|
+
start: (start = deserializeI32(pos)),
|
|
248
|
+
end: (end = deserializeI32(pos + 4)),
|
|
265
249
|
range: [start, end],
|
|
266
250
|
};
|
|
267
251
|
node.elements = deserializeVecArrayExpressionElement(pos + 16);
|
|
@@ -375,8 +359,8 @@ function deserializeObjectExpression(pos) {
|
|
|
375
359
|
node = {
|
|
376
360
|
type: "ObjectExpression",
|
|
377
361
|
properties: null,
|
|
378
|
-
start: (start =
|
|
379
|
-
end: (end =
|
|
362
|
+
start: (start = deserializeI32(pos)),
|
|
363
|
+
end: (end = deserializeI32(pos + 4)),
|
|
380
364
|
range: [start, end],
|
|
381
365
|
};
|
|
382
366
|
node.properties = deserializeVecObjectPropertyKind(pos + 16);
|
|
@@ -405,14 +389,13 @@ function deserializeObjectProperty(pos) {
|
|
|
405
389
|
method: deserializeBool(pos + 13),
|
|
406
390
|
shorthand: deserializeBool(pos + 14),
|
|
407
391
|
computed: deserializeBool(pos + 15),
|
|
408
|
-
optional:
|
|
409
|
-
start: (start =
|
|
410
|
-
end: (end =
|
|
392
|
+
optional: false,
|
|
393
|
+
start: (start = deserializeI32(pos)),
|
|
394
|
+
end: (end = deserializeI32(pos + 4)),
|
|
411
395
|
range: [start, end],
|
|
412
396
|
};
|
|
413
397
|
node.key = deserializePropertyKey(pos + 16);
|
|
414
398
|
node.value = deserializeExpression(pos + 32);
|
|
415
|
-
node.optional = false;
|
|
416
399
|
return node;
|
|
417
400
|
}
|
|
418
401
|
|
|
@@ -533,8 +516,8 @@ function deserializeTemplateLiteral(pos) {
|
|
|
533
516
|
type: "TemplateLiteral",
|
|
534
517
|
quasis: null,
|
|
535
518
|
expressions: null,
|
|
536
|
-
start: (start =
|
|
537
|
-
end: (end =
|
|
519
|
+
start: (start = deserializeI32(pos)),
|
|
520
|
+
end: (end = deserializeI32(pos + 4)),
|
|
538
521
|
range: [start, end],
|
|
539
522
|
};
|
|
540
523
|
node.quasis = deserializeVecTemplateElement(pos + 16);
|
|
@@ -550,8 +533,8 @@ function deserializeTaggedTemplateExpression(pos) {
|
|
|
550
533
|
tag: null,
|
|
551
534
|
typeArguments: null,
|
|
552
535
|
quasi: null,
|
|
553
|
-
start: (start =
|
|
554
|
-
end: (end =
|
|
536
|
+
start: (start = deserializeI32(pos)),
|
|
537
|
+
end: (end = deserializeI32(pos + 4)),
|
|
555
538
|
range: [start, end],
|
|
556
539
|
};
|
|
557
540
|
node.tag = deserializeExpression(pos + 16);
|
|
@@ -562,8 +545,8 @@ function deserializeTaggedTemplateExpression(pos) {
|
|
|
562
545
|
|
|
563
546
|
function deserializeTemplateElement(pos) {
|
|
564
547
|
let tail = deserializeBool(pos + 12),
|
|
565
|
-
start =
|
|
566
|
-
end =
|
|
548
|
+
start = deserializeI32(pos) - 1,
|
|
549
|
+
end = deserializeI32(pos + 4) + 2 - tail,
|
|
567
550
|
value = deserializeTemplateElementValue(pos + 16);
|
|
568
551
|
value.cooked !== null &&
|
|
569
552
|
deserializeBool(pos + 13) &&
|
|
@@ -595,14 +578,13 @@ function deserializeComputedMemberExpression(pos) {
|
|
|
595
578
|
object: null,
|
|
596
579
|
property: null,
|
|
597
580
|
optional: deserializeBool(pos + 12),
|
|
598
|
-
computed:
|
|
599
|
-
start: (start =
|
|
600
|
-
end: (end =
|
|
581
|
+
computed: true,
|
|
582
|
+
start: (start = deserializeI32(pos)),
|
|
583
|
+
end: (end = deserializeI32(pos + 4)),
|
|
601
584
|
range: [start, end],
|
|
602
585
|
};
|
|
603
586
|
node.object = deserializeExpression(pos + 16);
|
|
604
587
|
node.property = deserializeExpression(pos + 32);
|
|
605
|
-
node.computed = true;
|
|
606
588
|
return node;
|
|
607
589
|
}
|
|
608
590
|
|
|
@@ -614,14 +596,13 @@ function deserializeStaticMemberExpression(pos) {
|
|
|
614
596
|
object: null,
|
|
615
597
|
property: null,
|
|
616
598
|
optional: deserializeBool(pos + 12),
|
|
617
|
-
computed:
|
|
618
|
-
start: (start =
|
|
619
|
-
end: (end =
|
|
599
|
+
computed: false,
|
|
600
|
+
start: (start = deserializeI32(pos)),
|
|
601
|
+
end: (end = deserializeI32(pos + 4)),
|
|
620
602
|
range: [start, end],
|
|
621
603
|
};
|
|
622
604
|
node.object = deserializeExpression(pos + 16);
|
|
623
605
|
node.property = deserializeIdentifierName(pos + 32);
|
|
624
|
-
node.computed = false;
|
|
625
606
|
return node;
|
|
626
607
|
}
|
|
627
608
|
|
|
@@ -633,14 +614,13 @@ function deserializePrivateFieldExpression(pos) {
|
|
|
633
614
|
object: null,
|
|
634
615
|
property: null,
|
|
635
616
|
optional: deserializeBool(pos + 12),
|
|
636
|
-
computed:
|
|
637
|
-
start: (start =
|
|
638
|
-
end: (end =
|
|
617
|
+
computed: false,
|
|
618
|
+
start: (start = deserializeI32(pos)),
|
|
619
|
+
end: (end = deserializeI32(pos + 4)),
|
|
639
620
|
range: [start, end],
|
|
640
621
|
};
|
|
641
622
|
node.object = deserializeExpression(pos + 16);
|
|
642
623
|
node.property = deserializePrivateIdentifier(pos + 32);
|
|
643
|
-
node.computed = false;
|
|
644
624
|
return node;
|
|
645
625
|
}
|
|
646
626
|
|
|
@@ -653,8 +633,8 @@ function deserializeCallExpression(pos) {
|
|
|
653
633
|
typeArguments: null,
|
|
654
634
|
arguments: null,
|
|
655
635
|
optional: deserializeBool(pos + 12),
|
|
656
|
-
start: (start =
|
|
657
|
-
end: (end =
|
|
636
|
+
start: (start = deserializeI32(pos)),
|
|
637
|
+
end: (end = deserializeI32(pos + 4)),
|
|
658
638
|
range: [start, end],
|
|
659
639
|
};
|
|
660
640
|
node.callee = deserializeExpression(pos + 16);
|
|
@@ -671,8 +651,8 @@ function deserializeNewExpression(pos) {
|
|
|
671
651
|
callee: null,
|
|
672
652
|
typeArguments: null,
|
|
673
653
|
arguments: null,
|
|
674
|
-
start: (start =
|
|
675
|
-
end: (end =
|
|
654
|
+
start: (start = deserializeI32(pos)),
|
|
655
|
+
end: (end = deserializeI32(pos + 4)),
|
|
676
656
|
range: [start, end],
|
|
677
657
|
};
|
|
678
658
|
node.callee = deserializeExpression(pos + 16);
|
|
@@ -688,8 +668,8 @@ function deserializeMetaProperty(pos) {
|
|
|
688
668
|
type: "MetaProperty",
|
|
689
669
|
meta: null,
|
|
690
670
|
property: null,
|
|
691
|
-
start: (start =
|
|
692
|
-
end: (end =
|
|
671
|
+
start: (start = deserializeI32(pos)),
|
|
672
|
+
end: (end = deserializeI32(pos + 4)),
|
|
693
673
|
range: [start, end],
|
|
694
674
|
};
|
|
695
675
|
node.meta = deserializeIdentifierName(pos + 16);
|
|
@@ -703,8 +683,8 @@ function deserializeSpreadElement(pos) {
|
|
|
703
683
|
node = {
|
|
704
684
|
type: "SpreadElement",
|
|
705
685
|
argument: null,
|
|
706
|
-
start: (start =
|
|
707
|
-
end: (end =
|
|
686
|
+
start: (start = deserializeI32(pos)),
|
|
687
|
+
end: (end = deserializeI32(pos + 4)),
|
|
708
688
|
range: [start, end],
|
|
709
689
|
};
|
|
710
690
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -814,8 +794,8 @@ function deserializeUpdateExpression(pos) {
|
|
|
814
794
|
operator: deserializeUpdateOperator(pos + 12),
|
|
815
795
|
prefix: deserializeBool(pos + 13),
|
|
816
796
|
argument: null,
|
|
817
|
-
start: (start =
|
|
818
|
-
end: (end =
|
|
797
|
+
start: (start = deserializeI32(pos)),
|
|
798
|
+
end: (end = deserializeI32(pos + 4)),
|
|
819
799
|
range: [start, end],
|
|
820
800
|
};
|
|
821
801
|
node.argument = deserializeSimpleAssignmentTarget(pos + 16);
|
|
@@ -829,13 +809,12 @@ function deserializeUnaryExpression(pos) {
|
|
|
829
809
|
type: "UnaryExpression",
|
|
830
810
|
operator: deserializeUnaryOperator(pos + 12),
|
|
831
811
|
argument: null,
|
|
832
|
-
prefix:
|
|
833
|
-
start: (start =
|
|
834
|
-
end: (end =
|
|
812
|
+
prefix: true,
|
|
813
|
+
start: (start = deserializeI32(pos)),
|
|
814
|
+
end: (end = deserializeI32(pos + 4)),
|
|
835
815
|
range: [start, end],
|
|
836
816
|
};
|
|
837
817
|
node.argument = deserializeExpression(pos + 16);
|
|
838
|
-
node.prefix = true;
|
|
839
818
|
return node;
|
|
840
819
|
}
|
|
841
820
|
|
|
@@ -847,8 +826,8 @@ function deserializeBinaryExpression(pos) {
|
|
|
847
826
|
left: null,
|
|
848
827
|
operator: deserializeBinaryOperator(pos + 12),
|
|
849
828
|
right: null,
|
|
850
|
-
start: (start =
|
|
851
|
-
end: (end =
|
|
829
|
+
start: (start = deserializeI32(pos)),
|
|
830
|
+
end: (end = deserializeI32(pos + 4)),
|
|
852
831
|
range: [start, end],
|
|
853
832
|
};
|
|
854
833
|
node.left = deserializeExpression(pos + 16);
|
|
@@ -862,14 +841,13 @@ function deserializePrivateInExpression(pos) {
|
|
|
862
841
|
node = {
|
|
863
842
|
type: "BinaryExpression",
|
|
864
843
|
left: null,
|
|
865
|
-
operator:
|
|
844
|
+
operator: "in",
|
|
866
845
|
right: null,
|
|
867
|
-
start: (start =
|
|
868
|
-
end: (end =
|
|
846
|
+
start: (start = deserializeI32(pos)),
|
|
847
|
+
end: (end = deserializeI32(pos + 4)),
|
|
869
848
|
range: [start, end],
|
|
870
849
|
};
|
|
871
850
|
node.left = deserializePrivateIdentifier(pos + 16);
|
|
872
|
-
node.operator = "in";
|
|
873
851
|
node.right = deserializeExpression(pos + 48);
|
|
874
852
|
return node;
|
|
875
853
|
}
|
|
@@ -882,8 +860,8 @@ function deserializeLogicalExpression(pos) {
|
|
|
882
860
|
left: null,
|
|
883
861
|
operator: deserializeLogicalOperator(pos + 12),
|
|
884
862
|
right: null,
|
|
885
|
-
start: (start =
|
|
886
|
-
end: (end =
|
|
863
|
+
start: (start = deserializeI32(pos)),
|
|
864
|
+
end: (end = deserializeI32(pos + 4)),
|
|
887
865
|
range: [start, end],
|
|
888
866
|
};
|
|
889
867
|
node.left = deserializeExpression(pos + 16);
|
|
@@ -899,8 +877,8 @@ function deserializeConditionalExpression(pos) {
|
|
|
899
877
|
test: null,
|
|
900
878
|
consequent: null,
|
|
901
879
|
alternate: null,
|
|
902
|
-
start: (start =
|
|
903
|
-
end: (end =
|
|
880
|
+
start: (start = deserializeI32(pos)),
|
|
881
|
+
end: (end = deserializeI32(pos + 4)),
|
|
904
882
|
range: [start, end],
|
|
905
883
|
};
|
|
906
884
|
node.test = deserializeExpression(pos + 16);
|
|
@@ -917,8 +895,8 @@ function deserializeAssignmentExpression(pos) {
|
|
|
917
895
|
operator: deserializeAssignmentOperator(pos + 12),
|
|
918
896
|
left: null,
|
|
919
897
|
right: null,
|
|
920
|
-
start: (start =
|
|
921
|
-
end: (end =
|
|
898
|
+
start: (start = deserializeI32(pos)),
|
|
899
|
+
end: (end = deserializeI32(pos + 4)),
|
|
922
900
|
range: [start, end],
|
|
923
901
|
};
|
|
924
902
|
node.left = deserializeAssignmentTarget(pos + 16);
|
|
@@ -981,20 +959,18 @@ function deserializeArrayAssignmentTarget(pos) {
|
|
|
981
959
|
end,
|
|
982
960
|
node = {
|
|
983
961
|
type: "ArrayPattern",
|
|
984
|
-
decorators:
|
|
962
|
+
decorators: [],
|
|
985
963
|
elements: null,
|
|
986
|
-
optional:
|
|
964
|
+
optional: false,
|
|
987
965
|
typeAnnotation: null,
|
|
988
|
-
start: (start =
|
|
989
|
-
end: (end =
|
|
966
|
+
start: (start = deserializeI32(pos)),
|
|
967
|
+
end: (end = deserializeI32(pos + 4)),
|
|
990
968
|
range: [start, end],
|
|
991
969
|
},
|
|
992
970
|
elements = deserializeVecOptionAssignmentTargetMaybeDefault(pos + 16),
|
|
993
971
|
rest = deserializeOptionBoxAssignmentTargetRest(pos + 40);
|
|
994
972
|
rest !== null && elements.push(rest);
|
|
995
|
-
node.decorators = [];
|
|
996
973
|
node.elements = elements;
|
|
997
|
-
node.optional = false;
|
|
998
974
|
return node;
|
|
999
975
|
}
|
|
1000
976
|
|
|
@@ -1003,20 +979,18 @@ function deserializeObjectAssignmentTarget(pos) {
|
|
|
1003
979
|
end,
|
|
1004
980
|
node = {
|
|
1005
981
|
type: "ObjectPattern",
|
|
1006
|
-
decorators:
|
|
982
|
+
decorators: [],
|
|
1007
983
|
properties: null,
|
|
1008
|
-
optional:
|
|
984
|
+
optional: false,
|
|
1009
985
|
typeAnnotation: null,
|
|
1010
|
-
start: (start =
|
|
1011
|
-
end: (end =
|
|
986
|
+
start: (start = deserializeI32(pos)),
|
|
987
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1012
988
|
range: [start, end],
|
|
1013
989
|
},
|
|
1014
990
|
properties = deserializeVecAssignmentTargetProperty(pos + 16),
|
|
1015
991
|
rest = deserializeOptionBoxAssignmentTargetRest(pos + 40);
|
|
1016
992
|
rest !== null && properties.push(rest);
|
|
1017
|
-
node.decorators = [];
|
|
1018
993
|
node.properties = properties;
|
|
1019
|
-
node.optional = false;
|
|
1020
994
|
return node;
|
|
1021
995
|
}
|
|
1022
996
|
|
|
@@ -1025,18 +999,16 @@ function deserializeAssignmentTargetRest(pos) {
|
|
|
1025
999
|
end,
|
|
1026
1000
|
node = {
|
|
1027
1001
|
type: "RestElement",
|
|
1028
|
-
decorators:
|
|
1002
|
+
decorators: [],
|
|
1029
1003
|
argument: null,
|
|
1030
|
-
optional:
|
|
1004
|
+
optional: false,
|
|
1031
1005
|
typeAnnotation: null,
|
|
1032
1006
|
value: null,
|
|
1033
|
-
start: (start =
|
|
1034
|
-
end: (end =
|
|
1007
|
+
start: (start = deserializeI32(pos)),
|
|
1008
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1035
1009
|
range: [start, end],
|
|
1036
1010
|
};
|
|
1037
|
-
node.decorators = [];
|
|
1038
1011
|
node.argument = deserializeAssignmentTarget(pos + 16);
|
|
1039
|
-
node.optional = false;
|
|
1040
1012
|
return node;
|
|
1041
1013
|
}
|
|
1042
1014
|
|
|
@@ -1074,19 +1046,17 @@ function deserializeAssignmentTargetWithDefault(pos) {
|
|
|
1074
1046
|
end,
|
|
1075
1047
|
node = {
|
|
1076
1048
|
type: "AssignmentPattern",
|
|
1077
|
-
decorators:
|
|
1049
|
+
decorators: [],
|
|
1078
1050
|
left: null,
|
|
1079
1051
|
right: null,
|
|
1080
|
-
optional:
|
|
1052
|
+
optional: false,
|
|
1081
1053
|
typeAnnotation: null,
|
|
1082
|
-
start: (start =
|
|
1083
|
-
end: (end =
|
|
1054
|
+
start: (start = deserializeI32(pos)),
|
|
1055
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1084
1056
|
range: [start, end],
|
|
1085
1057
|
};
|
|
1086
|
-
node.decorators = [];
|
|
1087
1058
|
node.left = deserializeAssignmentTarget(pos + 16);
|
|
1088
1059
|
node.right = deserializeExpression(pos + 32);
|
|
1089
|
-
node.optional = false;
|
|
1090
1060
|
return node;
|
|
1091
1061
|
}
|
|
1092
1062
|
|
|
@@ -1102,17 +1072,17 @@ function deserializeAssignmentTargetProperty(pos) {
|
|
|
1102
1072
|
}
|
|
1103
1073
|
|
|
1104
1074
|
function deserializeAssignmentTargetPropertyIdentifier(pos) {
|
|
1105
|
-
let start =
|
|
1106
|
-
end =
|
|
1075
|
+
let start = deserializeI32(pos),
|
|
1076
|
+
end = deserializeI32(pos + 4),
|
|
1107
1077
|
node = {
|
|
1108
1078
|
type: "Property",
|
|
1109
|
-
kind:
|
|
1079
|
+
kind: "init",
|
|
1110
1080
|
key: null,
|
|
1111
1081
|
value: null,
|
|
1112
|
-
method:
|
|
1113
|
-
shorthand:
|
|
1114
|
-
computed:
|
|
1115
|
-
optional:
|
|
1082
|
+
method: false,
|
|
1083
|
+
shorthand: true,
|
|
1084
|
+
computed: false,
|
|
1085
|
+
optional: false,
|
|
1116
1086
|
start,
|
|
1117
1087
|
end,
|
|
1118
1088
|
range: [start, end],
|
|
@@ -1143,13 +1113,8 @@ function deserializeAssignmentTargetPropertyIdentifier(pos) {
|
|
|
1143
1113
|
end,
|
|
1144
1114
|
range: [start, end],
|
|
1145
1115
|
});
|
|
1146
|
-
node.kind = "init";
|
|
1147
1116
|
node.key = key;
|
|
1148
1117
|
node.value = value;
|
|
1149
|
-
node.method = false;
|
|
1150
|
-
node.shorthand = true;
|
|
1151
|
-
node.computed = false;
|
|
1152
|
-
node.optional = false;
|
|
1153
1118
|
return node;
|
|
1154
1119
|
}
|
|
1155
1120
|
|
|
@@ -1158,23 +1123,19 @@ function deserializeAssignmentTargetPropertyProperty(pos) {
|
|
|
1158
1123
|
end,
|
|
1159
1124
|
node = {
|
|
1160
1125
|
type: "Property",
|
|
1161
|
-
kind:
|
|
1126
|
+
kind: "init",
|
|
1162
1127
|
key: null,
|
|
1163
1128
|
value: null,
|
|
1164
|
-
method:
|
|
1165
|
-
shorthand:
|
|
1129
|
+
method: false,
|
|
1130
|
+
shorthand: false,
|
|
1166
1131
|
computed: deserializeBool(pos + 12),
|
|
1167
|
-
optional:
|
|
1168
|
-
start: (start =
|
|
1169
|
-
end: (end =
|
|
1132
|
+
optional: false,
|
|
1133
|
+
start: (start = deserializeI32(pos)),
|
|
1134
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1170
1135
|
range: [start, end],
|
|
1171
1136
|
};
|
|
1172
|
-
node.kind = "init";
|
|
1173
1137
|
node.key = deserializePropertyKey(pos + 16);
|
|
1174
1138
|
node.value = deserializeAssignmentTargetMaybeDefault(pos + 32);
|
|
1175
|
-
node.method = false;
|
|
1176
|
-
node.shorthand = false;
|
|
1177
|
-
node.optional = false;
|
|
1178
1139
|
return node;
|
|
1179
1140
|
}
|
|
1180
1141
|
|
|
@@ -1184,8 +1145,8 @@ function deserializeSequenceExpression(pos) {
|
|
|
1184
1145
|
node = {
|
|
1185
1146
|
type: "SequenceExpression",
|
|
1186
1147
|
expressions: null,
|
|
1187
|
-
start: (start =
|
|
1188
|
-
end: (end =
|
|
1148
|
+
start: (start = deserializeI32(pos)),
|
|
1149
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1189
1150
|
range: [start, end],
|
|
1190
1151
|
};
|
|
1191
1152
|
node.expressions = deserializeVecExpression(pos + 16);
|
|
@@ -1196,8 +1157,8 @@ function deserializeSuper(pos) {
|
|
|
1196
1157
|
let start, end;
|
|
1197
1158
|
return {
|
|
1198
1159
|
type: "Super",
|
|
1199
|
-
start: (start =
|
|
1200
|
-
end: (end =
|
|
1160
|
+
start: (start = deserializeI32(pos)),
|
|
1161
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1201
1162
|
range: [start, end],
|
|
1202
1163
|
};
|
|
1203
1164
|
}
|
|
@@ -1208,8 +1169,8 @@ function deserializeAwaitExpression(pos) {
|
|
|
1208
1169
|
node = {
|
|
1209
1170
|
type: "AwaitExpression",
|
|
1210
1171
|
argument: null,
|
|
1211
|
-
start: (start =
|
|
1212
|
-
end: (end =
|
|
1172
|
+
start: (start = deserializeI32(pos)),
|
|
1173
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1213
1174
|
range: [start, end],
|
|
1214
1175
|
};
|
|
1215
1176
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -1222,8 +1183,8 @@ function deserializeChainExpression(pos) {
|
|
|
1222
1183
|
node = {
|
|
1223
1184
|
type: "ChainExpression",
|
|
1224
1185
|
expression: null,
|
|
1225
|
-
start: (start =
|
|
1226
|
-
end: (end =
|
|
1186
|
+
start: (start = deserializeI32(pos)),
|
|
1187
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1227
1188
|
range: [start, end],
|
|
1228
1189
|
};
|
|
1229
1190
|
node.expression = deserializeChainElement(pos + 16);
|
|
@@ -1254,8 +1215,8 @@ function deserializeParenthesizedExpression(pos) {
|
|
|
1254
1215
|
node = {
|
|
1255
1216
|
type: "ParenthesizedExpression",
|
|
1256
1217
|
expression: null,
|
|
1257
|
-
start: (start =
|
|
1258
|
-
end: (end =
|
|
1218
|
+
start: (start = deserializeI32(pos)),
|
|
1219
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1259
1220
|
range: [start, end],
|
|
1260
1221
|
};
|
|
1261
1222
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -1343,8 +1304,8 @@ function deserializeDirective(pos) {
|
|
|
1343
1304
|
type: "ExpressionStatement",
|
|
1344
1305
|
expression: null,
|
|
1345
1306
|
directive: deserializeStr(pos + 64),
|
|
1346
|
-
start: (start =
|
|
1347
|
-
end: (end =
|
|
1307
|
+
start: (start = deserializeI32(pos)),
|
|
1308
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1348
1309
|
range: [start, end],
|
|
1349
1310
|
};
|
|
1350
1311
|
node.expression = deserializeStringLiteral(pos + 16);
|
|
@@ -1356,8 +1317,8 @@ function deserializeHashbang(pos) {
|
|
|
1356
1317
|
return {
|
|
1357
1318
|
type: "Hashbang",
|
|
1358
1319
|
value: deserializeStr(pos + 16),
|
|
1359
|
-
start: (start =
|
|
1360
|
-
end: (end =
|
|
1320
|
+
start: (start = deserializeI32(pos)),
|
|
1321
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1361
1322
|
range: [start, end],
|
|
1362
1323
|
};
|
|
1363
1324
|
}
|
|
@@ -1368,8 +1329,8 @@ function deserializeBlockStatement(pos) {
|
|
|
1368
1329
|
node = {
|
|
1369
1330
|
type: "BlockStatement",
|
|
1370
1331
|
body: null,
|
|
1371
|
-
start: (start =
|
|
1372
|
-
end: (end =
|
|
1332
|
+
start: (start = deserializeI32(pos)),
|
|
1333
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1373
1334
|
range: [start, end],
|
|
1374
1335
|
};
|
|
1375
1336
|
node.body = deserializeVecStatement(pos + 16);
|
|
@@ -1409,8 +1370,8 @@ function deserializeVariableDeclaration(pos) {
|
|
|
1409
1370
|
kind: deserializeVariableDeclarationKind(pos + 12),
|
|
1410
1371
|
declarations: null,
|
|
1411
1372
|
declare: deserializeBool(pos + 13),
|
|
1412
|
-
start: (start =
|
|
1413
|
-
end: (end =
|
|
1373
|
+
start: (start = deserializeI32(pos)),
|
|
1374
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1414
1375
|
range: [start, end],
|
|
1415
1376
|
};
|
|
1416
1377
|
node.declarations = deserializeVecVariableDeclarator(pos + 16);
|
|
@@ -1442,8 +1403,8 @@ function deserializeVariableDeclarator(pos) {
|
|
|
1442
1403
|
id: null,
|
|
1443
1404
|
init: null,
|
|
1444
1405
|
definite: deserializeBool(pos + 13),
|
|
1445
|
-
start: (start =
|
|
1446
|
-
end: (end =
|
|
1406
|
+
start: (start = deserializeI32(pos)),
|
|
1407
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1447
1408
|
range: [start, end],
|
|
1448
1409
|
},
|
|
1449
1410
|
pattern = deserializeBindingPattern(pos + 16);
|
|
@@ -1463,8 +1424,8 @@ function deserializeEmptyStatement(pos) {
|
|
|
1463
1424
|
let start, end;
|
|
1464
1425
|
return {
|
|
1465
1426
|
type: "EmptyStatement",
|
|
1466
|
-
start: (start =
|
|
1467
|
-
end: (end =
|
|
1427
|
+
start: (start = deserializeI32(pos)),
|
|
1428
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1468
1429
|
range: [start, end],
|
|
1469
1430
|
};
|
|
1470
1431
|
}
|
|
@@ -1476,8 +1437,8 @@ function deserializeExpressionStatement(pos) {
|
|
|
1476
1437
|
type: "ExpressionStatement",
|
|
1477
1438
|
expression: null,
|
|
1478
1439
|
directive: null,
|
|
1479
|
-
start: (start =
|
|
1480
|
-
end: (end =
|
|
1440
|
+
start: (start = deserializeI32(pos)),
|
|
1441
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1481
1442
|
range: [start, end],
|
|
1482
1443
|
};
|
|
1483
1444
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -1492,8 +1453,8 @@ function deserializeIfStatement(pos) {
|
|
|
1492
1453
|
test: null,
|
|
1493
1454
|
consequent: null,
|
|
1494
1455
|
alternate: null,
|
|
1495
|
-
start: (start =
|
|
1496
|
-
end: (end =
|
|
1456
|
+
start: (start = deserializeI32(pos)),
|
|
1457
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1497
1458
|
range: [start, end],
|
|
1498
1459
|
};
|
|
1499
1460
|
node.test = deserializeExpression(pos + 16);
|
|
@@ -1509,8 +1470,8 @@ function deserializeDoWhileStatement(pos) {
|
|
|
1509
1470
|
type: "DoWhileStatement",
|
|
1510
1471
|
body: null,
|
|
1511
1472
|
test: null,
|
|
1512
|
-
start: (start =
|
|
1513
|
-
end: (end =
|
|
1473
|
+
start: (start = deserializeI32(pos)),
|
|
1474
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1514
1475
|
range: [start, end],
|
|
1515
1476
|
};
|
|
1516
1477
|
node.body = deserializeStatement(pos + 16);
|
|
@@ -1525,8 +1486,8 @@ function deserializeWhileStatement(pos) {
|
|
|
1525
1486
|
type: "WhileStatement",
|
|
1526
1487
|
test: null,
|
|
1527
1488
|
body: null,
|
|
1528
|
-
start: (start =
|
|
1529
|
-
end: (end =
|
|
1489
|
+
start: (start = deserializeI32(pos)),
|
|
1490
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1530
1491
|
range: [start, end],
|
|
1531
1492
|
};
|
|
1532
1493
|
node.test = deserializeExpression(pos + 16);
|
|
@@ -1543,8 +1504,8 @@ function deserializeForStatement(pos) {
|
|
|
1543
1504
|
test: null,
|
|
1544
1505
|
update: null,
|
|
1545
1506
|
body: null,
|
|
1546
|
-
start: (start =
|
|
1547
|
-
end: (end =
|
|
1507
|
+
start: (start = deserializeI32(pos)),
|
|
1508
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1548
1509
|
range: [start, end],
|
|
1549
1510
|
};
|
|
1550
1511
|
node.init = deserializeOptionForStatementInit(pos + 16);
|
|
@@ -1657,8 +1618,8 @@ function deserializeForInStatement(pos) {
|
|
|
1657
1618
|
left: null,
|
|
1658
1619
|
right: null,
|
|
1659
1620
|
body: null,
|
|
1660
|
-
start: (start =
|
|
1661
|
-
end: (end =
|
|
1621
|
+
start: (start = deserializeI32(pos)),
|
|
1622
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1662
1623
|
range: [start, end],
|
|
1663
1624
|
};
|
|
1664
1625
|
node.left = deserializeForStatementLeft(pos + 16);
|
|
@@ -1705,8 +1666,8 @@ function deserializeForOfStatement(pos) {
|
|
|
1705
1666
|
left: null,
|
|
1706
1667
|
right: null,
|
|
1707
1668
|
body: null,
|
|
1708
|
-
start: (start =
|
|
1709
|
-
end: (end =
|
|
1669
|
+
start: (start = deserializeI32(pos)),
|
|
1670
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1710
1671
|
range: [start, end],
|
|
1711
1672
|
};
|
|
1712
1673
|
node.left = deserializeForStatementLeft(pos + 16);
|
|
@@ -1721,8 +1682,8 @@ function deserializeContinueStatement(pos) {
|
|
|
1721
1682
|
node = {
|
|
1722
1683
|
type: "ContinueStatement",
|
|
1723
1684
|
label: null,
|
|
1724
|
-
start: (start =
|
|
1725
|
-
end: (end =
|
|
1685
|
+
start: (start = deserializeI32(pos)),
|
|
1686
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1726
1687
|
range: [start, end],
|
|
1727
1688
|
};
|
|
1728
1689
|
node.label = deserializeOptionLabelIdentifier(pos + 16);
|
|
@@ -1735,8 +1696,8 @@ function deserializeBreakStatement(pos) {
|
|
|
1735
1696
|
node = {
|
|
1736
1697
|
type: "BreakStatement",
|
|
1737
1698
|
label: null,
|
|
1738
|
-
start: (start =
|
|
1739
|
-
end: (end =
|
|
1699
|
+
start: (start = deserializeI32(pos)),
|
|
1700
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1740
1701
|
range: [start, end],
|
|
1741
1702
|
};
|
|
1742
1703
|
node.label = deserializeOptionLabelIdentifier(pos + 16);
|
|
@@ -1749,8 +1710,8 @@ function deserializeReturnStatement(pos) {
|
|
|
1749
1710
|
node = {
|
|
1750
1711
|
type: "ReturnStatement",
|
|
1751
1712
|
argument: null,
|
|
1752
|
-
start: (start =
|
|
1753
|
-
end: (end =
|
|
1713
|
+
start: (start = deserializeI32(pos)),
|
|
1714
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1754
1715
|
range: [start, end],
|
|
1755
1716
|
};
|
|
1756
1717
|
node.argument = deserializeOptionExpression(pos + 16);
|
|
@@ -1764,8 +1725,8 @@ function deserializeWithStatement(pos) {
|
|
|
1764
1725
|
type: "WithStatement",
|
|
1765
1726
|
object: null,
|
|
1766
1727
|
body: null,
|
|
1767
|
-
start: (start =
|
|
1768
|
-
end: (end =
|
|
1728
|
+
start: (start = deserializeI32(pos)),
|
|
1729
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1769
1730
|
range: [start, end],
|
|
1770
1731
|
};
|
|
1771
1732
|
node.object = deserializeExpression(pos + 16);
|
|
@@ -1780,8 +1741,8 @@ function deserializeSwitchStatement(pos) {
|
|
|
1780
1741
|
type: "SwitchStatement",
|
|
1781
1742
|
discriminant: null,
|
|
1782
1743
|
cases: null,
|
|
1783
|
-
start: (start =
|
|
1784
|
-
end: (end =
|
|
1744
|
+
start: (start = deserializeI32(pos)),
|
|
1745
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1785
1746
|
range: [start, end],
|
|
1786
1747
|
};
|
|
1787
1748
|
node.discriminant = deserializeExpression(pos + 16);
|
|
@@ -1796,8 +1757,8 @@ function deserializeSwitchCase(pos) {
|
|
|
1796
1757
|
type: "SwitchCase",
|
|
1797
1758
|
test: null,
|
|
1798
1759
|
consequent: null,
|
|
1799
|
-
start: (start =
|
|
1800
|
-
end: (end =
|
|
1760
|
+
start: (start = deserializeI32(pos)),
|
|
1761
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1801
1762
|
range: [start, end],
|
|
1802
1763
|
};
|
|
1803
1764
|
node.test = deserializeOptionExpression(pos + 16);
|
|
@@ -1812,8 +1773,8 @@ function deserializeLabeledStatement(pos) {
|
|
|
1812
1773
|
type: "LabeledStatement",
|
|
1813
1774
|
label: null,
|
|
1814
1775
|
body: null,
|
|
1815
|
-
start: (start =
|
|
1816
|
-
end: (end =
|
|
1776
|
+
start: (start = deserializeI32(pos)),
|
|
1777
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1817
1778
|
range: [start, end],
|
|
1818
1779
|
};
|
|
1819
1780
|
node.label = deserializeLabelIdentifier(pos + 16);
|
|
@@ -1827,8 +1788,8 @@ function deserializeThrowStatement(pos) {
|
|
|
1827
1788
|
node = {
|
|
1828
1789
|
type: "ThrowStatement",
|
|
1829
1790
|
argument: null,
|
|
1830
|
-
start: (start =
|
|
1831
|
-
end: (end =
|
|
1791
|
+
start: (start = deserializeI32(pos)),
|
|
1792
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1832
1793
|
range: [start, end],
|
|
1833
1794
|
};
|
|
1834
1795
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -1843,8 +1804,8 @@ function deserializeTryStatement(pos) {
|
|
|
1843
1804
|
block: null,
|
|
1844
1805
|
handler: null,
|
|
1845
1806
|
finalizer: null,
|
|
1846
|
-
start: (start =
|
|
1847
|
-
end: (end =
|
|
1807
|
+
start: (start = deserializeI32(pos)),
|
|
1808
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1848
1809
|
range: [start, end],
|
|
1849
1810
|
};
|
|
1850
1811
|
node.block = deserializeBoxBlockStatement(pos + 16);
|
|
@@ -1860,8 +1821,8 @@ function deserializeCatchClause(pos) {
|
|
|
1860
1821
|
type: "CatchClause",
|
|
1861
1822
|
param: null,
|
|
1862
1823
|
body: null,
|
|
1863
|
-
start: (start =
|
|
1864
|
-
end: (end =
|
|
1824
|
+
start: (start = deserializeI32(pos)),
|
|
1825
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1865
1826
|
range: [start, end],
|
|
1866
1827
|
};
|
|
1867
1828
|
node.param = deserializeOptionCatchParameter(pos + 16);
|
|
@@ -1886,8 +1847,8 @@ function deserializeDebuggerStatement(pos) {
|
|
|
1886
1847
|
let start, end;
|
|
1887
1848
|
return {
|
|
1888
1849
|
type: "DebuggerStatement",
|
|
1889
|
-
start: (start =
|
|
1890
|
-
end: (end =
|
|
1850
|
+
start: (start = deserializeI32(pos)),
|
|
1851
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1891
1852
|
range: [start, end],
|
|
1892
1853
|
};
|
|
1893
1854
|
}
|
|
@@ -1912,19 +1873,17 @@ function deserializeAssignmentPattern(pos) {
|
|
|
1912
1873
|
end,
|
|
1913
1874
|
node = {
|
|
1914
1875
|
type: "AssignmentPattern",
|
|
1915
|
-
decorators:
|
|
1876
|
+
decorators: [],
|
|
1916
1877
|
left: null,
|
|
1917
1878
|
right: null,
|
|
1918
|
-
optional:
|
|
1879
|
+
optional: false,
|
|
1919
1880
|
typeAnnotation: null,
|
|
1920
|
-
start: (start =
|
|
1921
|
-
end: (end =
|
|
1881
|
+
start: (start = deserializeI32(pos)),
|
|
1882
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1922
1883
|
range: [start, end],
|
|
1923
1884
|
};
|
|
1924
|
-
node.decorators = [];
|
|
1925
1885
|
node.left = deserializeBindingPattern(pos + 16);
|
|
1926
1886
|
node.right = deserializeExpression(pos + 32);
|
|
1927
|
-
node.optional = false;
|
|
1928
1887
|
return node;
|
|
1929
1888
|
}
|
|
1930
1889
|
|
|
@@ -1933,20 +1892,18 @@ function deserializeObjectPattern(pos) {
|
|
|
1933
1892
|
end,
|
|
1934
1893
|
node = {
|
|
1935
1894
|
type: "ObjectPattern",
|
|
1936
|
-
decorators:
|
|
1895
|
+
decorators: [],
|
|
1937
1896
|
properties: null,
|
|
1938
|
-
optional:
|
|
1897
|
+
optional: false,
|
|
1939
1898
|
typeAnnotation: null,
|
|
1940
|
-
start: (start =
|
|
1941
|
-
end: (end =
|
|
1899
|
+
start: (start = deserializeI32(pos)),
|
|
1900
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1942
1901
|
range: [start, end],
|
|
1943
1902
|
},
|
|
1944
1903
|
properties = deserializeVecBindingProperty(pos + 16),
|
|
1945
1904
|
rest = deserializeOptionBoxBindingRestElement(pos + 40);
|
|
1946
1905
|
rest !== null && properties.push(rest);
|
|
1947
|
-
node.decorators = [];
|
|
1948
1906
|
node.properties = properties;
|
|
1949
|
-
node.optional = false;
|
|
1950
1907
|
return node;
|
|
1951
1908
|
}
|
|
1952
1909
|
|
|
@@ -1955,22 +1912,19 @@ function deserializeBindingProperty(pos) {
|
|
|
1955
1912
|
end,
|
|
1956
1913
|
node = {
|
|
1957
1914
|
type: "Property",
|
|
1958
|
-
kind:
|
|
1915
|
+
kind: "init",
|
|
1959
1916
|
key: null,
|
|
1960
1917
|
value: null,
|
|
1961
|
-
method:
|
|
1918
|
+
method: false,
|
|
1962
1919
|
shorthand: deserializeBool(pos + 12),
|
|
1963
1920
|
computed: deserializeBool(pos + 13),
|
|
1964
|
-
optional:
|
|
1965
|
-
start: (start =
|
|
1966
|
-
end: (end =
|
|
1921
|
+
optional: false,
|
|
1922
|
+
start: (start = deserializeI32(pos)),
|
|
1923
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1967
1924
|
range: [start, end],
|
|
1968
1925
|
};
|
|
1969
|
-
node.kind = "init";
|
|
1970
1926
|
node.key = deserializePropertyKey(pos + 16);
|
|
1971
1927
|
node.value = deserializeBindingPattern(pos + 32);
|
|
1972
|
-
node.method = false;
|
|
1973
|
-
node.optional = false;
|
|
1974
1928
|
return node;
|
|
1975
1929
|
}
|
|
1976
1930
|
|
|
@@ -1979,20 +1933,18 @@ function deserializeArrayPattern(pos) {
|
|
|
1979
1933
|
end,
|
|
1980
1934
|
node = {
|
|
1981
1935
|
type: "ArrayPattern",
|
|
1982
|
-
decorators:
|
|
1936
|
+
decorators: [],
|
|
1983
1937
|
elements: null,
|
|
1984
|
-
optional:
|
|
1938
|
+
optional: false,
|
|
1985
1939
|
typeAnnotation: null,
|
|
1986
|
-
start: (start =
|
|
1987
|
-
end: (end =
|
|
1940
|
+
start: (start = deserializeI32(pos)),
|
|
1941
|
+
end: (end = deserializeI32(pos + 4)),
|
|
1988
1942
|
range: [start, end],
|
|
1989
1943
|
},
|
|
1990
1944
|
elements = deserializeVecOptionBindingPattern(pos + 16),
|
|
1991
1945
|
rest = deserializeOptionBoxBindingRestElement(pos + 40);
|
|
1992
1946
|
rest !== null && elements.push(rest);
|
|
1993
|
-
node.decorators = [];
|
|
1994
1947
|
node.elements = elements;
|
|
1995
|
-
node.optional = false;
|
|
1996
1948
|
return node;
|
|
1997
1949
|
}
|
|
1998
1950
|
|
|
@@ -2001,18 +1953,16 @@ function deserializeBindingRestElement(pos) {
|
|
|
2001
1953
|
end,
|
|
2002
1954
|
node = {
|
|
2003
1955
|
type: "RestElement",
|
|
2004
|
-
decorators:
|
|
1956
|
+
decorators: [],
|
|
2005
1957
|
argument: null,
|
|
2006
|
-
optional:
|
|
1958
|
+
optional: false,
|
|
2007
1959
|
typeAnnotation: null,
|
|
2008
1960
|
value: null,
|
|
2009
|
-
start: (start =
|
|
2010
|
-
end: (end =
|
|
1961
|
+
start: (start = deserializeI32(pos)),
|
|
1962
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2011
1963
|
range: [start, end],
|
|
2012
1964
|
};
|
|
2013
|
-
node.decorators = [];
|
|
2014
1965
|
node.argument = deserializeBindingPattern(pos + 16);
|
|
2015
|
-
node.optional = false;
|
|
2016
1966
|
return node;
|
|
2017
1967
|
}
|
|
2018
1968
|
|
|
@@ -2029,9 +1979,9 @@ function deserializeFunction(pos) {
|
|
|
2029
1979
|
params: null,
|
|
2030
1980
|
returnType: null,
|
|
2031
1981
|
body: null,
|
|
2032
|
-
expression:
|
|
2033
|
-
start: (start =
|
|
2034
|
-
end: (end =
|
|
1982
|
+
expression: false,
|
|
1983
|
+
start: (start = deserializeI32(pos)),
|
|
1984
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2035
1985
|
range: [start, end],
|
|
2036
1986
|
},
|
|
2037
1987
|
params = deserializeBoxFormalParameters(pos + 64);
|
|
@@ -2044,7 +1994,6 @@ function deserializeFunction(pos) {
|
|
|
2044
1994
|
node.params = params;
|
|
2045
1995
|
node.returnType = deserializeOptionBoxTSTypeAnnotation(pos + 72);
|
|
2046
1996
|
node.body = deserializeOptionBoxFunctionBody(pos + 80);
|
|
2047
|
-
node.expression = false;
|
|
2048
1997
|
return node;
|
|
2049
1998
|
}
|
|
2050
1999
|
|
|
@@ -2064,9 +2013,10 @@ function deserializeFunctionType(pos) {
|
|
|
2064
2013
|
}
|
|
2065
2014
|
|
|
2066
2015
|
function deserializeFormalParameters(pos) {
|
|
2067
|
-
let params = deserializeVecFormalParameter(pos + 16)
|
|
2068
|
-
|
|
2069
|
-
|
|
2016
|
+
let params = deserializeVecFormalParameter(pos + 16),
|
|
2017
|
+
restFieldPos32 = (pos >> 2) + 10;
|
|
2018
|
+
if (int32[restFieldPos32] !== 0 && int32[restFieldPos32 + 1] !== 0) {
|
|
2019
|
+
pos = int32[restFieldPos32];
|
|
2070
2020
|
let start,
|
|
2071
2021
|
end,
|
|
2072
2022
|
rest = {
|
|
@@ -2076,8 +2026,8 @@ function deserializeFormalParameters(pos) {
|
|
|
2076
2026
|
optional: false,
|
|
2077
2027
|
typeAnnotation: null,
|
|
2078
2028
|
value: null,
|
|
2079
|
-
start: (start =
|
|
2080
|
-
end: (end =
|
|
2029
|
+
start: (start = deserializeI32(pos + 40)),
|
|
2030
|
+
end: (end = deserializeI32(pos + 44)),
|
|
2081
2031
|
range: [start, end],
|
|
2082
2032
|
};
|
|
2083
2033
|
rest.argument = deserializeBindingPattern(pos + 56);
|
|
@@ -2094,7 +2044,8 @@ function deserializeFormalParameters(pos) {
|
|
|
2094
2044
|
|
|
2095
2045
|
function deserializeFormalParameter(pos) {
|
|
2096
2046
|
let param,
|
|
2097
|
-
|
|
2047
|
+
initializerFieldPos32 = (pos >> 2) + 16,
|
|
2048
|
+
hasInitializer = int32[initializerFieldPos32] !== 0 && int32[initializerFieldPos32 + 1] !== 0;
|
|
2098
2049
|
{
|
|
2099
2050
|
let accessibility = deserializeOptionTSAccessibility(pos + 13),
|
|
2100
2051
|
readonly = deserializeBool(pos + 14),
|
|
@@ -2110,8 +2061,8 @@ function deserializeFormalParameter(pos) {
|
|
|
2110
2061
|
right: null,
|
|
2111
2062
|
optional,
|
|
2112
2063
|
typeAnnotation: null,
|
|
2113
|
-
start: (start =
|
|
2114
|
-
end: (end =
|
|
2064
|
+
start: (start = deserializeI32(pos)),
|
|
2065
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2115
2066
|
range: [start, end],
|
|
2116
2067
|
};
|
|
2117
2068
|
param.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2135,8 +2086,8 @@ function deserializeFormalParameter(pos) {
|
|
|
2135
2086
|
param.end = typeAnnotation.end;
|
|
2136
2087
|
param.range[1] = typeAnnotation.end;
|
|
2137
2088
|
} else if (optional) {
|
|
2138
|
-
param.end =
|
|
2139
|
-
param.range[1] =
|
|
2089
|
+
param.end = deserializeI32(pos + 4);
|
|
2090
|
+
param.range[1] = deserializeI32(pos + 4);
|
|
2140
2091
|
}
|
|
2141
2092
|
}
|
|
2142
2093
|
} else {
|
|
@@ -2149,8 +2100,8 @@ function deserializeFormalParameter(pos) {
|
|
|
2149
2100
|
parameter: null,
|
|
2150
2101
|
readonly,
|
|
2151
2102
|
static: false,
|
|
2152
|
-
start: (start =
|
|
2153
|
-
end: (end =
|
|
2103
|
+
start: (start = deserializeI32(pos)),
|
|
2104
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2154
2105
|
range: [start, end],
|
|
2155
2106
|
};
|
|
2156
2107
|
param.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2192,7 +2143,7 @@ function deserializeFormalParameter(pos) {
|
|
|
2192
2143
|
param.parameter.end = paramTypeAnnotation.end;
|
|
2193
2144
|
param.parameter.range[1] = paramTypeAnnotation.end;
|
|
2194
2145
|
} else if (paramOptional) {
|
|
2195
|
-
let paramEnd =
|
|
2146
|
+
let paramEnd = deserializeI32(pos + 4);
|
|
2196
2147
|
param.parameter.end = paramEnd;
|
|
2197
2148
|
param.parameter.range[1] = paramEnd;
|
|
2198
2149
|
}
|
|
@@ -2208,8 +2159,8 @@ function deserializeFunctionBody(pos) {
|
|
|
2208
2159
|
node = {
|
|
2209
2160
|
type: "BlockStatement",
|
|
2210
2161
|
body: null,
|
|
2211
|
-
start: (start =
|
|
2212
|
-
end: (end =
|
|
2162
|
+
start: (start = deserializeI32(pos)),
|
|
2163
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2213
2164
|
range: [start, end],
|
|
2214
2165
|
},
|
|
2215
2166
|
body = deserializeVecDirective(pos + 16);
|
|
@@ -2231,9 +2182,9 @@ function deserializeArrowFunctionExpression(pos) {
|
|
|
2231
2182
|
returnType: null,
|
|
2232
2183
|
body: null,
|
|
2233
2184
|
id: null,
|
|
2234
|
-
generator:
|
|
2235
|
-
start: (start =
|
|
2236
|
-
end: (end =
|
|
2185
|
+
generator: false,
|
|
2186
|
+
start: (start = deserializeI32(pos)),
|
|
2187
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2237
2188
|
range: [start, end],
|
|
2238
2189
|
},
|
|
2239
2190
|
body = deserializeBoxFunctionBody(pos + 40);
|
|
@@ -2242,7 +2193,6 @@ function deserializeArrowFunctionExpression(pos) {
|
|
|
2242
2193
|
node.params = deserializeBoxFormalParameters(pos + 24);
|
|
2243
2194
|
node.returnType = deserializeOptionBoxTSTypeAnnotation(pos + 32);
|
|
2244
2195
|
node.body = body;
|
|
2245
|
-
node.generator = false;
|
|
2246
2196
|
return node;
|
|
2247
2197
|
}
|
|
2248
2198
|
|
|
@@ -2253,8 +2203,8 @@ function deserializeYieldExpression(pos) {
|
|
|
2253
2203
|
type: "YieldExpression",
|
|
2254
2204
|
delegate: deserializeBool(pos + 12),
|
|
2255
2205
|
argument: null,
|
|
2256
|
-
start: (start =
|
|
2257
|
-
end: (end =
|
|
2206
|
+
start: (start = deserializeI32(pos)),
|
|
2207
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2258
2208
|
range: [start, end],
|
|
2259
2209
|
};
|
|
2260
2210
|
node.argument = deserializeOptionExpression(pos + 16);
|
|
@@ -2275,8 +2225,8 @@ function deserializeClass(pos) {
|
|
|
2275
2225
|
body: null,
|
|
2276
2226
|
abstract: deserializeBool(pos + 137),
|
|
2277
2227
|
declare: deserializeBool(pos + 138),
|
|
2278
|
-
start: (start =
|
|
2279
|
-
end: (end =
|
|
2228
|
+
start: (start = deserializeI32(pos)),
|
|
2229
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2280
2230
|
range: [start, end],
|
|
2281
2231
|
};
|
|
2282
2232
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2306,8 +2256,8 @@ function deserializeClassBody(pos) {
|
|
|
2306
2256
|
node = {
|
|
2307
2257
|
type: "ClassBody",
|
|
2308
2258
|
body: null,
|
|
2309
|
-
start: (start =
|
|
2310
|
-
end: (end =
|
|
2259
|
+
start: (start = deserializeI32(pos)),
|
|
2260
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2311
2261
|
range: [start, end],
|
|
2312
2262
|
};
|
|
2313
2263
|
node.body = deserializeVecClassElement(pos + 16);
|
|
@@ -2345,8 +2295,8 @@ function deserializeMethodDefinition(pos) {
|
|
|
2345
2295
|
override: deserializeBool(pos + 64),
|
|
2346
2296
|
optional: deserializeBool(pos + 65),
|
|
2347
2297
|
accessibility: deserializeOptionTSAccessibility(pos + 66),
|
|
2348
|
-
start: (start =
|
|
2349
|
-
end: (end =
|
|
2298
|
+
start: (start = deserializeI32(pos)),
|
|
2299
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2350
2300
|
range: [start, end],
|
|
2351
2301
|
};
|
|
2352
2302
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2383,8 +2333,8 @@ function deserializePropertyDefinition(pos) {
|
|
|
2383
2333
|
definite: deserializeBool(pos + 82),
|
|
2384
2334
|
readonly: deserializeBool(pos + 83),
|
|
2385
2335
|
accessibility: deserializeOptionTSAccessibility(pos + 84),
|
|
2386
|
-
start: (start =
|
|
2387
|
-
end: (end =
|
|
2336
|
+
start: (start = deserializeI32(pos)),
|
|
2337
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2388
2338
|
range: [start, end],
|
|
2389
2339
|
};
|
|
2390
2340
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
@@ -2425,8 +2375,8 @@ function deserializePrivateIdentifier(pos) {
|
|
|
2425
2375
|
return {
|
|
2426
2376
|
type: "PrivateIdentifier",
|
|
2427
2377
|
name: deserializeStr(pos + 16),
|
|
2428
|
-
start: (start =
|
|
2429
|
-
end: (end =
|
|
2378
|
+
start: (start = deserializeI32(pos)),
|
|
2379
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2430
2380
|
range: [start, end],
|
|
2431
2381
|
};
|
|
2432
2382
|
}
|
|
@@ -2437,8 +2387,8 @@ function deserializeStaticBlock(pos) {
|
|
|
2437
2387
|
node = {
|
|
2438
2388
|
type: "StaticBlock",
|
|
2439
2389
|
body: null,
|
|
2440
|
-
start: (start =
|
|
2441
|
-
end: (end =
|
|
2390
|
+
start: (start = deserializeI32(pos)),
|
|
2391
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2442
2392
|
range: [start, end],
|
|
2443
2393
|
};
|
|
2444
2394
|
node.body = deserializeVecStatement(pos + 16);
|
|
@@ -2470,20 +2420,17 @@ function deserializeAccessorProperty(pos) {
|
|
|
2470
2420
|
override: deserializeBool(pos + 15),
|
|
2471
2421
|
definite: deserializeBool(pos + 80),
|
|
2472
2422
|
accessibility: deserializeOptionTSAccessibility(pos + 81),
|
|
2473
|
-
declare:
|
|
2474
|
-
optional:
|
|
2475
|
-
readonly:
|
|
2476
|
-
start: (start =
|
|
2477
|
-
end: (end =
|
|
2423
|
+
declare: false,
|
|
2424
|
+
optional: false,
|
|
2425
|
+
readonly: false,
|
|
2426
|
+
start: (start = deserializeI32(pos)),
|
|
2427
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2478
2428
|
range: [start, end],
|
|
2479
2429
|
};
|
|
2480
2430
|
node.decorators = deserializeVecDecorator(pos + 16);
|
|
2481
2431
|
node.key = deserializePropertyKey(pos + 40);
|
|
2482
2432
|
node.typeAnnotation = deserializeOptionBoxTSTypeAnnotation(pos + 56);
|
|
2483
2433
|
node.value = deserializeOptionExpression(pos + 64);
|
|
2484
|
-
node.declare = false;
|
|
2485
|
-
node.optional = false;
|
|
2486
|
-
node.readonly = false;
|
|
2487
2434
|
return node;
|
|
2488
2435
|
}
|
|
2489
2436
|
|
|
@@ -2495,8 +2442,8 @@ function deserializeImportExpression(pos) {
|
|
|
2495
2442
|
source: null,
|
|
2496
2443
|
options: null,
|
|
2497
2444
|
phase: deserializeOptionImportPhase(pos + 12),
|
|
2498
|
-
start: (start =
|
|
2499
|
-
end: (end =
|
|
2445
|
+
start: (start = deserializeI32(pos)),
|
|
2446
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2500
2447
|
range: [start, end],
|
|
2501
2448
|
};
|
|
2502
2449
|
node.source = deserializeExpression(pos + 16);
|
|
@@ -2514,8 +2461,8 @@ function deserializeImportDeclaration(pos) {
|
|
|
2514
2461
|
phase: deserializeOptionImportPhase(pos + 12),
|
|
2515
2462
|
attributes: null,
|
|
2516
2463
|
importKind: deserializeImportOrExportKind(pos + 13),
|
|
2517
|
-
start: (start =
|
|
2518
|
-
end: (end =
|
|
2464
|
+
start: (start = deserializeI32(pos)),
|
|
2465
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2519
2466
|
range: [start, end],
|
|
2520
2467
|
},
|
|
2521
2468
|
specifiers = deserializeOptionVecImportDeclarationSpecifier(pos + 16);
|
|
@@ -2559,8 +2506,8 @@ function deserializeImportSpecifier(pos) {
|
|
|
2559
2506
|
imported: null,
|
|
2560
2507
|
local: null,
|
|
2561
2508
|
importKind: deserializeImportOrExportKind(pos + 12),
|
|
2562
|
-
start: (start =
|
|
2563
|
-
end: (end =
|
|
2509
|
+
start: (start = deserializeI32(pos)),
|
|
2510
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2564
2511
|
range: [start, end],
|
|
2565
2512
|
};
|
|
2566
2513
|
node.imported = deserializeModuleExportName(pos + 16);
|
|
@@ -2574,8 +2521,8 @@ function deserializeImportDefaultSpecifier(pos) {
|
|
|
2574
2521
|
node = {
|
|
2575
2522
|
type: "ImportDefaultSpecifier",
|
|
2576
2523
|
local: null,
|
|
2577
|
-
start: (start =
|
|
2578
|
-
end: (end =
|
|
2524
|
+
start: (start = deserializeI32(pos)),
|
|
2525
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2579
2526
|
range: [start, end],
|
|
2580
2527
|
};
|
|
2581
2528
|
node.local = deserializeBindingIdentifier(pos + 16);
|
|
@@ -2588,8 +2535,8 @@ function deserializeImportNamespaceSpecifier(pos) {
|
|
|
2588
2535
|
node = {
|
|
2589
2536
|
type: "ImportNamespaceSpecifier",
|
|
2590
2537
|
local: null,
|
|
2591
|
-
start: (start =
|
|
2592
|
-
end: (end =
|
|
2538
|
+
start: (start = deserializeI32(pos)),
|
|
2539
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2593
2540
|
range: [start, end],
|
|
2594
2541
|
};
|
|
2595
2542
|
node.local = deserializeBindingIdentifier(pos + 16);
|
|
@@ -2607,8 +2554,8 @@ function deserializeImportAttribute(pos) {
|
|
|
2607
2554
|
type: "ImportAttribute",
|
|
2608
2555
|
key: null,
|
|
2609
2556
|
value: null,
|
|
2610
|
-
start: (start =
|
|
2611
|
-
end: (end =
|
|
2557
|
+
start: (start = deserializeI32(pos)),
|
|
2558
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2612
2559
|
range: [start, end],
|
|
2613
2560
|
};
|
|
2614
2561
|
node.key = deserializeImportAttributeKey(pos + 16);
|
|
@@ -2637,8 +2584,8 @@ function deserializeExportNamedDeclaration(pos) {
|
|
|
2637
2584
|
source: null,
|
|
2638
2585
|
exportKind: deserializeImportOrExportKind(pos + 12),
|
|
2639
2586
|
attributes: null,
|
|
2640
|
-
start: (start =
|
|
2641
|
-
end: (end =
|
|
2587
|
+
start: (start = deserializeI32(pos)),
|
|
2588
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2642
2589
|
range: [start, end],
|
|
2643
2590
|
},
|
|
2644
2591
|
withClause = deserializeOptionBoxWithClause(pos + 104);
|
|
@@ -2655,13 +2602,12 @@ function deserializeExportDefaultDeclaration(pos) {
|
|
|
2655
2602
|
node = {
|
|
2656
2603
|
type: "ExportDefaultDeclaration",
|
|
2657
2604
|
declaration: null,
|
|
2658
|
-
exportKind:
|
|
2659
|
-
start: (start =
|
|
2660
|
-
end: (end =
|
|
2605
|
+
exportKind: "value",
|
|
2606
|
+
start: (start = deserializeI32(pos)),
|
|
2607
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2661
2608
|
range: [start, end],
|
|
2662
2609
|
};
|
|
2663
2610
|
node.declaration = deserializeExportDefaultDeclarationKind(pos + 16);
|
|
2664
|
-
node.exportKind = "value";
|
|
2665
2611
|
return node;
|
|
2666
2612
|
}
|
|
2667
2613
|
|
|
@@ -2674,8 +2620,8 @@ function deserializeExportAllDeclaration(pos) {
|
|
|
2674
2620
|
source: null,
|
|
2675
2621
|
attributes: null,
|
|
2676
2622
|
exportKind: deserializeImportOrExportKind(pos + 12),
|
|
2677
|
-
start: (start =
|
|
2678
|
-
end: (end =
|
|
2623
|
+
start: (start = deserializeI32(pos)),
|
|
2624
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2679
2625
|
range: [start, end],
|
|
2680
2626
|
},
|
|
2681
2627
|
withClause = deserializeOptionBoxWithClause(pos + 120);
|
|
@@ -2693,8 +2639,8 @@ function deserializeExportSpecifier(pos) {
|
|
|
2693
2639
|
local: null,
|
|
2694
2640
|
exported: null,
|
|
2695
2641
|
exportKind: deserializeImportOrExportKind(pos + 12),
|
|
2696
|
-
start: (start =
|
|
2697
|
-
end: (end =
|
|
2642
|
+
start: (start = deserializeI32(pos)),
|
|
2643
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2698
2644
|
range: [start, end],
|
|
2699
2645
|
};
|
|
2700
2646
|
node.local = deserializeModuleExportName(pos + 16);
|
|
@@ -2821,8 +2767,8 @@ function deserializeV8IntrinsicExpression(pos) {
|
|
|
2821
2767
|
type: "V8IntrinsicExpression",
|
|
2822
2768
|
name: null,
|
|
2823
2769
|
arguments: null,
|
|
2824
|
-
start: (start =
|
|
2825
|
-
end: (end =
|
|
2770
|
+
start: (start = deserializeI32(pos)),
|
|
2771
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2826
2772
|
range: [start, end],
|
|
2827
2773
|
};
|
|
2828
2774
|
node.name = deserializeIdentifierName(pos + 16);
|
|
@@ -2832,8 +2778,8 @@ function deserializeV8IntrinsicExpression(pos) {
|
|
|
2832
2778
|
|
|
2833
2779
|
function deserializeBooleanLiteral(pos) {
|
|
2834
2780
|
let value = deserializeBool(pos + 12),
|
|
2835
|
-
start =
|
|
2836
|
-
end =
|
|
2781
|
+
start = deserializeI32(pos),
|
|
2782
|
+
end = deserializeI32(pos + 4),
|
|
2837
2783
|
node = {
|
|
2838
2784
|
type: "Literal",
|
|
2839
2785
|
value,
|
|
@@ -2847,28 +2793,26 @@ function deserializeBooleanLiteral(pos) {
|
|
|
2847
2793
|
}
|
|
2848
2794
|
|
|
2849
2795
|
function deserializeNullLiteral(pos) {
|
|
2850
|
-
let start =
|
|
2851
|
-
end =
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
node.raw = start === 0 && end === 0 ? null : "null";
|
|
2861
|
-
return node;
|
|
2796
|
+
let start = deserializeI32(pos),
|
|
2797
|
+
end = deserializeI32(pos + 4);
|
|
2798
|
+
return {
|
|
2799
|
+
type: "Literal",
|
|
2800
|
+
value: null,
|
|
2801
|
+
raw: start === 0 && end === 0 ? null : "null",
|
|
2802
|
+
start,
|
|
2803
|
+
end,
|
|
2804
|
+
range: [start, end],
|
|
2805
|
+
};
|
|
2862
2806
|
}
|
|
2863
2807
|
|
|
2864
2808
|
function deserializeNumericLiteral(pos) {
|
|
2865
|
-
let start =
|
|
2866
|
-
end =
|
|
2809
|
+
let start = deserializeI32(pos),
|
|
2810
|
+
end = deserializeI32(pos + 4);
|
|
2867
2811
|
return {
|
|
2868
2812
|
type: "Literal",
|
|
2869
2813
|
value: deserializeF64(pos + 32),
|
|
2870
2814
|
raw:
|
|
2871
|
-
|
|
2815
|
+
int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
2872
2816
|
? null
|
|
2873
2817
|
: sourceText.slice(start, end),
|
|
2874
2818
|
start,
|
|
@@ -2878,13 +2822,13 @@ function deserializeNumericLiteral(pos) {
|
|
|
2878
2822
|
}
|
|
2879
2823
|
|
|
2880
2824
|
function deserializeStringLiteral(pos) {
|
|
2881
|
-
let start =
|
|
2882
|
-
end =
|
|
2825
|
+
let start = deserializeI32(pos),
|
|
2826
|
+
end = deserializeI32(pos + 4),
|
|
2883
2827
|
node = {
|
|
2884
2828
|
type: "Literal",
|
|
2885
2829
|
value: null,
|
|
2886
2830
|
raw:
|
|
2887
|
-
|
|
2831
|
+
int32[(pos >> 2) + 8] === 0 && int32[(pos >> 2) + 9] === 0
|
|
2888
2832
|
? null
|
|
2889
2833
|
: sourceText.slice(start, end),
|
|
2890
2834
|
start,
|
|
@@ -2899,34 +2843,31 @@ function deserializeStringLiteral(pos) {
|
|
|
2899
2843
|
}
|
|
2900
2844
|
|
|
2901
2845
|
function deserializeBigIntLiteral(pos) {
|
|
2902
|
-
let start =
|
|
2903
|
-
end =
|
|
2904
|
-
node = {
|
|
2905
|
-
type: "Literal",
|
|
2906
|
-
value: null,
|
|
2907
|
-
raw:
|
|
2908
|
-
uint32[(pos + 32) >> 2] === 0 && uint32[(pos + 36) >> 2] === 0
|
|
2909
|
-
? null
|
|
2910
|
-
: sourceText.slice(start, end),
|
|
2911
|
-
bigint: null,
|
|
2912
|
-
start,
|
|
2913
|
-
end,
|
|
2914
|
-
range: [start, end],
|
|
2915
|
-
},
|
|
2846
|
+
let start = deserializeI32(pos),
|
|
2847
|
+
end = deserializeI32(pos + 4),
|
|
2916
2848
|
bigint = deserializeStr(pos + 16);
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2849
|
+
return {
|
|
2850
|
+
type: "Literal",
|
|
2851
|
+
value: BigInt(bigint),
|
|
2852
|
+
raw:
|
|
2853
|
+
int32[(pos >> 2) + 8] === 0 && int32[(pos >> 2) + 9] === 0
|
|
2854
|
+
? null
|
|
2855
|
+
: sourceText.slice(start, end),
|
|
2856
|
+
bigint,
|
|
2857
|
+
start,
|
|
2858
|
+
end,
|
|
2859
|
+
range: [start, end],
|
|
2860
|
+
};
|
|
2920
2861
|
}
|
|
2921
2862
|
|
|
2922
2863
|
function deserializeRegExpLiteral(pos) {
|
|
2923
|
-
let start =
|
|
2924
|
-
end =
|
|
2864
|
+
let start = deserializeI32(pos),
|
|
2865
|
+
end = deserializeI32(pos + 4),
|
|
2925
2866
|
node = {
|
|
2926
2867
|
type: "Literal",
|
|
2927
2868
|
value: null,
|
|
2928
2869
|
raw:
|
|
2929
|
-
|
|
2870
|
+
int32[(pos >> 2) + 12] === 0 && int32[(pos >> 2) + 13] === 0
|
|
2930
2871
|
? null
|
|
2931
2872
|
: sourceText.slice(start, end),
|
|
2932
2873
|
regex: null,
|
|
@@ -2974,8 +2915,8 @@ function deserializeJSXElement(pos) {
|
|
|
2974
2915
|
openingElement: null,
|
|
2975
2916
|
children: null,
|
|
2976
2917
|
closingElement: null,
|
|
2977
|
-
start: (start =
|
|
2978
|
-
end: (end =
|
|
2918
|
+
start: (start = deserializeI32(pos)),
|
|
2919
|
+
end: (end = deserializeI32(pos + 4)),
|
|
2979
2920
|
range: [start, end],
|
|
2980
2921
|
},
|
|
2981
2922
|
closingElement = deserializeOptionBoxJSXClosingElement(pos + 48),
|
|
@@ -2995,15 +2936,14 @@ function deserializeJSXOpeningElement(pos) {
|
|
|
2995
2936
|
name: null,
|
|
2996
2937
|
typeArguments: null,
|
|
2997
2938
|
attributes: null,
|
|
2998
|
-
selfClosing:
|
|
2999
|
-
start: (start =
|
|
3000
|
-
end: (end =
|
|
2939
|
+
selfClosing: false,
|
|
2940
|
+
start: (start = deserializeI32(pos)),
|
|
2941
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3001
2942
|
range: [start, end],
|
|
3002
2943
|
};
|
|
3003
2944
|
node.name = deserializeJSXElementName(pos + 16);
|
|
3004
2945
|
node.typeArguments = deserializeOptionBoxTSTypeParameterInstantiation(pos + 32);
|
|
3005
2946
|
node.attributes = deserializeVecJSXAttributeItem(pos + 40);
|
|
3006
|
-
node.selfClosing = false;
|
|
3007
2947
|
return node;
|
|
3008
2948
|
}
|
|
3009
2949
|
|
|
@@ -3013,8 +2953,8 @@ function deserializeJSXClosingElement(pos) {
|
|
|
3013
2953
|
node = {
|
|
3014
2954
|
type: "JSXClosingElement",
|
|
3015
2955
|
name: null,
|
|
3016
|
-
start: (start =
|
|
3017
|
-
end: (end =
|
|
2956
|
+
start: (start = deserializeI32(pos)),
|
|
2957
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3018
2958
|
range: [start, end],
|
|
3019
2959
|
};
|
|
3020
2960
|
node.name = deserializeJSXElementName(pos + 16);
|
|
@@ -3029,8 +2969,8 @@ function deserializeJSXFragment(pos) {
|
|
|
3029
2969
|
openingFragment: null,
|
|
3030
2970
|
children: null,
|
|
3031
2971
|
closingFragment: null,
|
|
3032
|
-
start: (start =
|
|
3033
|
-
end: (end =
|
|
2972
|
+
start: (start = deserializeI32(pos)),
|
|
2973
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3034
2974
|
range: [start, end],
|
|
3035
2975
|
};
|
|
3036
2976
|
node.openingFragment = deserializeJSXOpeningFragment(pos + 16);
|
|
@@ -3043,8 +2983,8 @@ function deserializeJSXOpeningFragment(pos) {
|
|
|
3043
2983
|
let start, end;
|
|
3044
2984
|
return {
|
|
3045
2985
|
type: "JSXOpeningFragment",
|
|
3046
|
-
start: (start =
|
|
3047
|
-
end: (end =
|
|
2986
|
+
start: (start = deserializeI32(pos)),
|
|
2987
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3048
2988
|
range: [start, end],
|
|
3049
2989
|
};
|
|
3050
2990
|
}
|
|
@@ -3053,8 +2993,8 @@ function deserializeJSXClosingFragment(pos) {
|
|
|
3053
2993
|
let start, end;
|
|
3054
2994
|
return {
|
|
3055
2995
|
type: "JSXClosingFragment",
|
|
3056
|
-
start: (start =
|
|
3057
|
-
end: (end =
|
|
2996
|
+
start: (start = deserializeI32(pos)),
|
|
2997
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3058
2998
|
range: [start, end],
|
|
3059
2999
|
};
|
|
3060
3000
|
}
|
|
@@ -3097,8 +3037,8 @@ function deserializeJSXNamespacedName(pos) {
|
|
|
3097
3037
|
type: "JSXNamespacedName",
|
|
3098
3038
|
namespace: null,
|
|
3099
3039
|
name: null,
|
|
3100
|
-
start: (start =
|
|
3101
|
-
end: (end =
|
|
3040
|
+
start: (start = deserializeI32(pos)),
|
|
3041
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3102
3042
|
range: [start, end],
|
|
3103
3043
|
};
|
|
3104
3044
|
node.namespace = deserializeJSXIdentifier(pos + 16);
|
|
@@ -3113,8 +3053,8 @@ function deserializeJSXMemberExpression(pos) {
|
|
|
3113
3053
|
type: "JSXMemberExpression",
|
|
3114
3054
|
object: null,
|
|
3115
3055
|
property: null,
|
|
3116
|
-
start: (start =
|
|
3117
|
-
end: (end =
|
|
3056
|
+
start: (start = deserializeI32(pos)),
|
|
3057
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3118
3058
|
range: [start, end],
|
|
3119
3059
|
};
|
|
3120
3060
|
node.object = deserializeJSXMemberExpressionObject(pos + 16);
|
|
@@ -3155,8 +3095,8 @@ function deserializeJSXExpressionContainer(pos) {
|
|
|
3155
3095
|
node = {
|
|
3156
3096
|
type: "JSXExpressionContainer",
|
|
3157
3097
|
expression: null,
|
|
3158
|
-
start: (start =
|
|
3159
|
-
end: (end =
|
|
3098
|
+
start: (start = deserializeI32(pos)),
|
|
3099
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3160
3100
|
range: [start, end],
|
|
3161
3101
|
};
|
|
3162
3102
|
node.expression = deserializeJSXExpression(pos + 16);
|
|
@@ -3262,8 +3202,8 @@ function deserializeJSXEmptyExpression(pos) {
|
|
|
3262
3202
|
let start, end;
|
|
3263
3203
|
return {
|
|
3264
3204
|
type: "JSXEmptyExpression",
|
|
3265
|
-
start: (start =
|
|
3266
|
-
end: (end =
|
|
3205
|
+
start: (start = deserializeI32(pos)),
|
|
3206
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3267
3207
|
range: [start, end],
|
|
3268
3208
|
};
|
|
3269
3209
|
}
|
|
@@ -3286,8 +3226,8 @@ function deserializeJSXAttribute(pos) {
|
|
|
3286
3226
|
type: "JSXAttribute",
|
|
3287
3227
|
name: null,
|
|
3288
3228
|
value: null,
|
|
3289
|
-
start: (start =
|
|
3290
|
-
end: (end =
|
|
3229
|
+
start: (start = deserializeI32(pos)),
|
|
3230
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3291
3231
|
range: [start, end],
|
|
3292
3232
|
};
|
|
3293
3233
|
node.name = deserializeJSXAttributeName(pos + 16);
|
|
@@ -3301,8 +3241,8 @@ function deserializeJSXSpreadAttribute(pos) {
|
|
|
3301
3241
|
node = {
|
|
3302
3242
|
type: "JSXSpreadAttribute",
|
|
3303
3243
|
argument: null,
|
|
3304
|
-
start: (start =
|
|
3305
|
-
end: (end =
|
|
3244
|
+
start: (start = deserializeI32(pos)),
|
|
3245
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3306
3246
|
range: [start, end],
|
|
3307
3247
|
};
|
|
3308
3248
|
node.argument = deserializeExpression(pos + 16);
|
|
@@ -3340,8 +3280,8 @@ function deserializeJSXIdentifier(pos) {
|
|
|
3340
3280
|
return {
|
|
3341
3281
|
type: "JSXIdentifier",
|
|
3342
3282
|
name: deserializeStr(pos + 16),
|
|
3343
|
-
start: (start =
|
|
3344
|
-
end: (end =
|
|
3283
|
+
start: (start = deserializeI32(pos)),
|
|
3284
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3345
3285
|
range: [start, end],
|
|
3346
3286
|
};
|
|
3347
3287
|
}
|
|
@@ -3369,8 +3309,8 @@ function deserializeJSXSpreadChild(pos) {
|
|
|
3369
3309
|
node = {
|
|
3370
3310
|
type: "JSXSpreadChild",
|
|
3371
3311
|
expression: null,
|
|
3372
|
-
start: (start =
|
|
3373
|
-
end: (end =
|
|
3312
|
+
start: (start = deserializeI32(pos)),
|
|
3313
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3374
3314
|
range: [start, end],
|
|
3375
3315
|
};
|
|
3376
3316
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -3378,13 +3318,13 @@ function deserializeJSXSpreadChild(pos) {
|
|
|
3378
3318
|
}
|
|
3379
3319
|
|
|
3380
3320
|
function deserializeJSXText(pos) {
|
|
3381
|
-
let start =
|
|
3382
|
-
end =
|
|
3321
|
+
let start = deserializeI32(pos),
|
|
3322
|
+
end = deserializeI32(pos + 4);
|
|
3383
3323
|
return {
|
|
3384
3324
|
type: "JSXText",
|
|
3385
3325
|
value: deserializeStr(pos + 16),
|
|
3386
3326
|
raw:
|
|
3387
|
-
|
|
3327
|
+
int32[(pos >> 2) + 8] === 0 && int32[(pos >> 2) + 9] === 0
|
|
3388
3328
|
? null
|
|
3389
3329
|
: sourceText.slice(start, end),
|
|
3390
3330
|
start,
|
|
@@ -3398,17 +3338,14 @@ function deserializeTSThisParameter(pos) {
|
|
|
3398
3338
|
end,
|
|
3399
3339
|
node = {
|
|
3400
3340
|
type: "Identifier",
|
|
3401
|
-
decorators:
|
|
3402
|
-
name:
|
|
3403
|
-
optional:
|
|
3341
|
+
decorators: [],
|
|
3342
|
+
name: "this",
|
|
3343
|
+
optional: false,
|
|
3404
3344
|
typeAnnotation: null,
|
|
3405
|
-
start: (start =
|
|
3406
|
-
end: (end =
|
|
3345
|
+
start: (start = deserializeI32(pos)),
|
|
3346
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3407
3347
|
range: [start, end],
|
|
3408
3348
|
};
|
|
3409
|
-
node.decorators = [];
|
|
3410
|
-
node.name = "this";
|
|
3411
|
-
node.optional = false;
|
|
3412
3349
|
node.typeAnnotation = deserializeOptionBoxTSTypeAnnotation(pos + 24);
|
|
3413
3350
|
return node;
|
|
3414
3351
|
}
|
|
@@ -3422,8 +3359,8 @@ function deserializeTSEnumDeclaration(pos) {
|
|
|
3422
3359
|
body: null,
|
|
3423
3360
|
const: deserializeBool(pos + 12),
|
|
3424
3361
|
declare: deserializeBool(pos + 13),
|
|
3425
|
-
start: (start =
|
|
3426
|
-
end: (end =
|
|
3362
|
+
start: (start = deserializeI32(pos)),
|
|
3363
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3427
3364
|
range: [start, end],
|
|
3428
3365
|
};
|
|
3429
3366
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -3437,8 +3374,8 @@ function deserializeTSEnumBody(pos) {
|
|
|
3437
3374
|
node = {
|
|
3438
3375
|
type: "TSEnumBody",
|
|
3439
3376
|
members: null,
|
|
3440
|
-
start: (start =
|
|
3441
|
-
end: (end =
|
|
3377
|
+
start: (start = deserializeI32(pos)),
|
|
3378
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3442
3379
|
range: [start, end],
|
|
3443
3380
|
};
|
|
3444
3381
|
node.members = deserializeVecTSEnumMember(pos + 16);
|
|
@@ -3452,14 +3389,13 @@ function deserializeTSEnumMember(pos) {
|
|
|
3452
3389
|
type: "TSEnumMember",
|
|
3453
3390
|
id: null,
|
|
3454
3391
|
initializer: null,
|
|
3455
|
-
computed:
|
|
3456
|
-
start: (start =
|
|
3457
|
-
end: (end =
|
|
3392
|
+
computed: deserializeU8(pos + 16) > 1,
|
|
3393
|
+
start: (start = deserializeI32(pos)),
|
|
3394
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3458
3395
|
range: [start, end],
|
|
3459
3396
|
};
|
|
3460
3397
|
node.id = deserializeTSEnumMemberName(pos + 16);
|
|
3461
3398
|
node.initializer = deserializeOptionExpression(pos + 32);
|
|
3462
|
-
node.computed = deserializeU8(pos + 16) > 1;
|
|
3463
3399
|
return node;
|
|
3464
3400
|
}
|
|
3465
3401
|
|
|
@@ -3484,8 +3420,8 @@ function deserializeTSTypeAnnotation(pos) {
|
|
|
3484
3420
|
node = {
|
|
3485
3421
|
type: "TSTypeAnnotation",
|
|
3486
3422
|
typeAnnotation: null,
|
|
3487
|
-
start: (start =
|
|
3488
|
-
end: (end =
|
|
3423
|
+
start: (start = deserializeI32(pos)),
|
|
3424
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3489
3425
|
range: [start, end],
|
|
3490
3426
|
};
|
|
3491
3427
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3498,8 +3434,8 @@ function deserializeTSLiteralType(pos) {
|
|
|
3498
3434
|
node = {
|
|
3499
3435
|
type: "TSLiteralType",
|
|
3500
3436
|
literal: null,
|
|
3501
|
-
start: (start =
|
|
3502
|
-
end: (end =
|
|
3437
|
+
start: (start = deserializeI32(pos)),
|
|
3438
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3503
3439
|
range: [start, end],
|
|
3504
3440
|
};
|
|
3505
3441
|
node.literal = deserializeTSLiteral(pos + 16);
|
|
@@ -3615,8 +3551,8 @@ function deserializeTSConditionalType(pos) {
|
|
|
3615
3551
|
extendsType: null,
|
|
3616
3552
|
trueType: null,
|
|
3617
3553
|
falseType: null,
|
|
3618
|
-
start: (start =
|
|
3619
|
-
end: (end =
|
|
3554
|
+
start: (start = deserializeI32(pos)),
|
|
3555
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3620
3556
|
range: [start, end],
|
|
3621
3557
|
};
|
|
3622
3558
|
node.checkType = deserializeTSType(pos + 16);
|
|
@@ -3632,8 +3568,8 @@ function deserializeTSUnionType(pos) {
|
|
|
3632
3568
|
node = {
|
|
3633
3569
|
type: "TSUnionType",
|
|
3634
3570
|
types: null,
|
|
3635
|
-
start: (start =
|
|
3636
|
-
end: (end =
|
|
3571
|
+
start: (start = deserializeI32(pos)),
|
|
3572
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3637
3573
|
range: [start, end],
|
|
3638
3574
|
};
|
|
3639
3575
|
node.types = deserializeVecTSType(pos + 16);
|
|
@@ -3646,8 +3582,8 @@ function deserializeTSIntersectionType(pos) {
|
|
|
3646
3582
|
node = {
|
|
3647
3583
|
type: "TSIntersectionType",
|
|
3648
3584
|
types: null,
|
|
3649
|
-
start: (start =
|
|
3650
|
-
end: (end =
|
|
3585
|
+
start: (start = deserializeI32(pos)),
|
|
3586
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3651
3587
|
range: [start, end],
|
|
3652
3588
|
};
|
|
3653
3589
|
node.types = deserializeVecTSType(pos + 16);
|
|
@@ -3661,8 +3597,8 @@ function deserializeTSParenthesizedType(pos) {
|
|
|
3661
3597
|
node = {
|
|
3662
3598
|
type: "TSParenthesizedType",
|
|
3663
3599
|
typeAnnotation: null,
|
|
3664
|
-
start: (start =
|
|
3665
|
-
end: (end =
|
|
3600
|
+
start: (start = deserializeI32(pos)),
|
|
3601
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3666
3602
|
range: [start, end],
|
|
3667
3603
|
};
|
|
3668
3604
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3677,8 +3613,8 @@ function deserializeTSTypeOperator(pos) {
|
|
|
3677
3613
|
type: "TSTypeOperator",
|
|
3678
3614
|
operator: deserializeTSTypeOperatorOperator(pos + 12),
|
|
3679
3615
|
typeAnnotation: null,
|
|
3680
|
-
start: (start =
|
|
3681
|
-
end: (end =
|
|
3616
|
+
start: (start = deserializeI32(pos)),
|
|
3617
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3682
3618
|
range: [start, end],
|
|
3683
3619
|
};
|
|
3684
3620
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3704,8 +3640,8 @@ function deserializeTSArrayType(pos) {
|
|
|
3704
3640
|
node = {
|
|
3705
3641
|
type: "TSArrayType",
|
|
3706
3642
|
elementType: null,
|
|
3707
|
-
start: (start =
|
|
3708
|
-
end: (end =
|
|
3643
|
+
start: (start = deserializeI32(pos)),
|
|
3644
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3709
3645
|
range: [start, end],
|
|
3710
3646
|
};
|
|
3711
3647
|
node.elementType = deserializeTSType(pos + 16);
|
|
@@ -3719,8 +3655,8 @@ function deserializeTSIndexedAccessType(pos) {
|
|
|
3719
3655
|
type: "TSIndexedAccessType",
|
|
3720
3656
|
objectType: null,
|
|
3721
3657
|
indexType: null,
|
|
3722
|
-
start: (start =
|
|
3723
|
-
end: (end =
|
|
3658
|
+
start: (start = deserializeI32(pos)),
|
|
3659
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3724
3660
|
range: [start, end],
|
|
3725
3661
|
};
|
|
3726
3662
|
node.objectType = deserializeTSType(pos + 16);
|
|
@@ -3734,8 +3670,8 @@ function deserializeTSTupleType(pos) {
|
|
|
3734
3670
|
node = {
|
|
3735
3671
|
type: "TSTupleType",
|
|
3736
3672
|
elementTypes: null,
|
|
3737
|
-
start: (start =
|
|
3738
|
-
end: (end =
|
|
3673
|
+
start: (start = deserializeI32(pos)),
|
|
3674
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3739
3675
|
range: [start, end],
|
|
3740
3676
|
};
|
|
3741
3677
|
node.elementTypes = deserializeVecTSTupleElement(pos + 16);
|
|
@@ -3750,8 +3686,8 @@ function deserializeTSNamedTupleMember(pos) {
|
|
|
3750
3686
|
label: null,
|
|
3751
3687
|
elementType: null,
|
|
3752
3688
|
optional: deserializeBool(pos + 12),
|
|
3753
|
-
start: (start =
|
|
3754
|
-
end: (end =
|
|
3689
|
+
start: (start = deserializeI32(pos)),
|
|
3690
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3755
3691
|
range: [start, end],
|
|
3756
3692
|
};
|
|
3757
3693
|
node.label = deserializeIdentifierName(pos + 16);
|
|
@@ -3765,8 +3701,8 @@ function deserializeTSOptionalType(pos) {
|
|
|
3765
3701
|
node = {
|
|
3766
3702
|
type: "TSOptionalType",
|
|
3767
3703
|
typeAnnotation: null,
|
|
3768
|
-
start: (start =
|
|
3769
|
-
end: (end =
|
|
3704
|
+
start: (start = deserializeI32(pos)),
|
|
3705
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3770
3706
|
range: [start, end],
|
|
3771
3707
|
};
|
|
3772
3708
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3779,8 +3715,8 @@ function deserializeTSRestType(pos) {
|
|
|
3779
3715
|
node = {
|
|
3780
3716
|
type: "TSRestType",
|
|
3781
3717
|
typeAnnotation: null,
|
|
3782
|
-
start: (start =
|
|
3783
|
-
end: (end =
|
|
3718
|
+
start: (start = deserializeI32(pos)),
|
|
3719
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3784
3720
|
range: [start, end],
|
|
3785
3721
|
};
|
|
3786
3722
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -3876,8 +3812,8 @@ function deserializeTSAnyKeyword(pos) {
|
|
|
3876
3812
|
let start, end;
|
|
3877
3813
|
return {
|
|
3878
3814
|
type: "TSAnyKeyword",
|
|
3879
|
-
start: (start =
|
|
3880
|
-
end: (end =
|
|
3815
|
+
start: (start = deserializeI32(pos)),
|
|
3816
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3881
3817
|
range: [start, end],
|
|
3882
3818
|
};
|
|
3883
3819
|
}
|
|
@@ -3886,8 +3822,8 @@ function deserializeTSStringKeyword(pos) {
|
|
|
3886
3822
|
let start, end;
|
|
3887
3823
|
return {
|
|
3888
3824
|
type: "TSStringKeyword",
|
|
3889
|
-
start: (start =
|
|
3890
|
-
end: (end =
|
|
3825
|
+
start: (start = deserializeI32(pos)),
|
|
3826
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3891
3827
|
range: [start, end],
|
|
3892
3828
|
};
|
|
3893
3829
|
}
|
|
@@ -3896,8 +3832,8 @@ function deserializeTSBooleanKeyword(pos) {
|
|
|
3896
3832
|
let start, end;
|
|
3897
3833
|
return {
|
|
3898
3834
|
type: "TSBooleanKeyword",
|
|
3899
|
-
start: (start =
|
|
3900
|
-
end: (end =
|
|
3835
|
+
start: (start = deserializeI32(pos)),
|
|
3836
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3901
3837
|
range: [start, end],
|
|
3902
3838
|
};
|
|
3903
3839
|
}
|
|
@@ -3906,8 +3842,8 @@ function deserializeTSNumberKeyword(pos) {
|
|
|
3906
3842
|
let start, end;
|
|
3907
3843
|
return {
|
|
3908
3844
|
type: "TSNumberKeyword",
|
|
3909
|
-
start: (start =
|
|
3910
|
-
end: (end =
|
|
3845
|
+
start: (start = deserializeI32(pos)),
|
|
3846
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3911
3847
|
range: [start, end],
|
|
3912
3848
|
};
|
|
3913
3849
|
}
|
|
@@ -3916,8 +3852,8 @@ function deserializeTSNeverKeyword(pos) {
|
|
|
3916
3852
|
let start, end;
|
|
3917
3853
|
return {
|
|
3918
3854
|
type: "TSNeverKeyword",
|
|
3919
|
-
start: (start =
|
|
3920
|
-
end: (end =
|
|
3855
|
+
start: (start = deserializeI32(pos)),
|
|
3856
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3921
3857
|
range: [start, end],
|
|
3922
3858
|
};
|
|
3923
3859
|
}
|
|
@@ -3926,8 +3862,8 @@ function deserializeTSIntrinsicKeyword(pos) {
|
|
|
3926
3862
|
let start, end;
|
|
3927
3863
|
return {
|
|
3928
3864
|
type: "TSIntrinsicKeyword",
|
|
3929
|
-
start: (start =
|
|
3930
|
-
end: (end =
|
|
3865
|
+
start: (start = deserializeI32(pos)),
|
|
3866
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3931
3867
|
range: [start, end],
|
|
3932
3868
|
};
|
|
3933
3869
|
}
|
|
@@ -3936,8 +3872,8 @@ function deserializeTSUnknownKeyword(pos) {
|
|
|
3936
3872
|
let start, end;
|
|
3937
3873
|
return {
|
|
3938
3874
|
type: "TSUnknownKeyword",
|
|
3939
|
-
start: (start =
|
|
3940
|
-
end: (end =
|
|
3875
|
+
start: (start = deserializeI32(pos)),
|
|
3876
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3941
3877
|
range: [start, end],
|
|
3942
3878
|
};
|
|
3943
3879
|
}
|
|
@@ -3946,8 +3882,8 @@ function deserializeTSNullKeyword(pos) {
|
|
|
3946
3882
|
let start, end;
|
|
3947
3883
|
return {
|
|
3948
3884
|
type: "TSNullKeyword",
|
|
3949
|
-
start: (start =
|
|
3950
|
-
end: (end =
|
|
3885
|
+
start: (start = deserializeI32(pos)),
|
|
3886
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3951
3887
|
range: [start, end],
|
|
3952
3888
|
};
|
|
3953
3889
|
}
|
|
@@ -3956,8 +3892,8 @@ function deserializeTSUndefinedKeyword(pos) {
|
|
|
3956
3892
|
let start, end;
|
|
3957
3893
|
return {
|
|
3958
3894
|
type: "TSUndefinedKeyword",
|
|
3959
|
-
start: (start =
|
|
3960
|
-
end: (end =
|
|
3895
|
+
start: (start = deserializeI32(pos)),
|
|
3896
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3961
3897
|
range: [start, end],
|
|
3962
3898
|
};
|
|
3963
3899
|
}
|
|
@@ -3966,8 +3902,8 @@ function deserializeTSVoidKeyword(pos) {
|
|
|
3966
3902
|
let start, end;
|
|
3967
3903
|
return {
|
|
3968
3904
|
type: "TSVoidKeyword",
|
|
3969
|
-
start: (start =
|
|
3970
|
-
end: (end =
|
|
3905
|
+
start: (start = deserializeI32(pos)),
|
|
3906
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3971
3907
|
range: [start, end],
|
|
3972
3908
|
};
|
|
3973
3909
|
}
|
|
@@ -3976,8 +3912,8 @@ function deserializeTSSymbolKeyword(pos) {
|
|
|
3976
3912
|
let start, end;
|
|
3977
3913
|
return {
|
|
3978
3914
|
type: "TSSymbolKeyword",
|
|
3979
|
-
start: (start =
|
|
3980
|
-
end: (end =
|
|
3915
|
+
start: (start = deserializeI32(pos)),
|
|
3916
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3981
3917
|
range: [start, end],
|
|
3982
3918
|
};
|
|
3983
3919
|
}
|
|
@@ -3986,8 +3922,8 @@ function deserializeTSThisType(pos) {
|
|
|
3986
3922
|
let start, end;
|
|
3987
3923
|
return {
|
|
3988
3924
|
type: "TSThisType",
|
|
3989
|
-
start: (start =
|
|
3990
|
-
end: (end =
|
|
3925
|
+
start: (start = deserializeI32(pos)),
|
|
3926
|
+
end: (end = deserializeI32(pos + 4)),
|
|
3991
3927
|
range: [start, end],
|
|
3992
3928
|
};
|
|
3993
3929
|
}
|
|
@@ -3996,8 +3932,8 @@ function deserializeTSObjectKeyword(pos) {
|
|
|
3996
3932
|
let start, end;
|
|
3997
3933
|
return {
|
|
3998
3934
|
type: "TSObjectKeyword",
|
|
3999
|
-
start: (start =
|
|
4000
|
-
end: (end =
|
|
3935
|
+
start: (start = deserializeI32(pos)),
|
|
3936
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4001
3937
|
range: [start, end],
|
|
4002
3938
|
};
|
|
4003
3939
|
}
|
|
@@ -4006,8 +3942,8 @@ function deserializeTSBigIntKeyword(pos) {
|
|
|
4006
3942
|
let start, end;
|
|
4007
3943
|
return {
|
|
4008
3944
|
type: "TSBigIntKeyword",
|
|
4009
|
-
start: (start =
|
|
4010
|
-
end: (end =
|
|
3945
|
+
start: (start = deserializeI32(pos)),
|
|
3946
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4011
3947
|
range: [start, end],
|
|
4012
3948
|
};
|
|
4013
3949
|
}
|
|
@@ -4019,8 +3955,8 @@ function deserializeTSTypeReference(pos) {
|
|
|
4019
3955
|
type: "TSTypeReference",
|
|
4020
3956
|
typeName: null,
|
|
4021
3957
|
typeArguments: null,
|
|
4022
|
-
start: (start =
|
|
4023
|
-
end: (end =
|
|
3958
|
+
start: (start = deserializeI32(pos)),
|
|
3959
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4024
3960
|
range: [start, end],
|
|
4025
3961
|
};
|
|
4026
3962
|
node.typeName = deserializeTSTypeName(pos + 16);
|
|
@@ -4048,8 +3984,8 @@ function deserializeTSQualifiedName(pos) {
|
|
|
4048
3984
|
type: "TSQualifiedName",
|
|
4049
3985
|
left: null,
|
|
4050
3986
|
right: null,
|
|
4051
|
-
start: (start =
|
|
4052
|
-
end: (end =
|
|
3987
|
+
start: (start = deserializeI32(pos)),
|
|
3988
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4053
3989
|
range: [start, end],
|
|
4054
3990
|
};
|
|
4055
3991
|
node.left = deserializeTSTypeName(pos + 16);
|
|
@@ -4063,8 +3999,8 @@ function deserializeTSTypeParameterInstantiation(pos) {
|
|
|
4063
3999
|
node = {
|
|
4064
4000
|
type: "TSTypeParameterInstantiation",
|
|
4065
4001
|
params: null,
|
|
4066
|
-
start: (start =
|
|
4067
|
-
end: (end =
|
|
4002
|
+
start: (start = deserializeI32(pos)),
|
|
4003
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4068
4004
|
range: [start, end],
|
|
4069
4005
|
};
|
|
4070
4006
|
node.params = deserializeVecTSType(pos + 16);
|
|
@@ -4082,8 +4018,8 @@ function deserializeTSTypeParameter(pos) {
|
|
|
4082
4018
|
in: deserializeBool(pos + 12),
|
|
4083
4019
|
out: deserializeBool(pos + 13),
|
|
4084
4020
|
const: deserializeBool(pos + 14),
|
|
4085
|
-
start: (start =
|
|
4086
|
-
end: (end =
|
|
4021
|
+
start: (start = deserializeI32(pos)),
|
|
4022
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4087
4023
|
range: [start, end],
|
|
4088
4024
|
};
|
|
4089
4025
|
node.name = deserializeBindingIdentifier(pos + 16);
|
|
@@ -4098,8 +4034,8 @@ function deserializeTSTypeParameterDeclaration(pos) {
|
|
|
4098
4034
|
node = {
|
|
4099
4035
|
type: "TSTypeParameterDeclaration",
|
|
4100
4036
|
params: null,
|
|
4101
|
-
start: (start =
|
|
4102
|
-
end: (end =
|
|
4037
|
+
start: (start = deserializeI32(pos)),
|
|
4038
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4103
4039
|
range: [start, end],
|
|
4104
4040
|
};
|
|
4105
4041
|
node.params = deserializeVecTSTypeParameter(pos + 16);
|
|
@@ -4115,8 +4051,8 @@ function deserializeTSTypeAliasDeclaration(pos) {
|
|
|
4115
4051
|
typeParameters: null,
|
|
4116
4052
|
typeAnnotation: null,
|
|
4117
4053
|
declare: deserializeBool(pos + 72),
|
|
4118
|
-
start: (start =
|
|
4119
|
-
end: (end =
|
|
4054
|
+
start: (start = deserializeI32(pos)),
|
|
4055
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4120
4056
|
range: [start, end],
|
|
4121
4057
|
};
|
|
4122
4058
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -4145,8 +4081,8 @@ function deserializeTSClassImplements(pos) {
|
|
|
4145
4081
|
type: "TSClassImplements",
|
|
4146
4082
|
expression: null,
|
|
4147
4083
|
typeArguments: null,
|
|
4148
|
-
start: (start =
|
|
4149
|
-
end: (end =
|
|
4084
|
+
start: (start = deserializeI32(pos)),
|
|
4085
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4150
4086
|
range: [start, end],
|
|
4151
4087
|
},
|
|
4152
4088
|
expression = deserializeTSTypeName(pos + 16);
|
|
@@ -4195,8 +4131,8 @@ function deserializeTSInterfaceDeclaration(pos) {
|
|
|
4195
4131
|
extends: null,
|
|
4196
4132
|
body: null,
|
|
4197
4133
|
declare: deserializeBool(pos + 88),
|
|
4198
|
-
start: (start =
|
|
4199
|
-
end: (end =
|
|
4134
|
+
start: (start = deserializeI32(pos)),
|
|
4135
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4200
4136
|
range: [start, end],
|
|
4201
4137
|
};
|
|
4202
4138
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -4212,8 +4148,8 @@ function deserializeTSInterfaceBody(pos) {
|
|
|
4212
4148
|
node = {
|
|
4213
4149
|
type: "TSInterfaceBody",
|
|
4214
4150
|
body: null,
|
|
4215
|
-
start: (start =
|
|
4216
|
-
end: (end =
|
|
4151
|
+
start: (start = deserializeI32(pos)),
|
|
4152
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4217
4153
|
range: [start, end],
|
|
4218
4154
|
};
|
|
4219
4155
|
node.body = deserializeVecTSSignature(pos + 16);
|
|
@@ -4231,14 +4167,13 @@ function deserializeTSPropertySignature(pos) {
|
|
|
4231
4167
|
key: null,
|
|
4232
4168
|
typeAnnotation: null,
|
|
4233
4169
|
accessibility: null,
|
|
4234
|
-
static:
|
|
4235
|
-
start: (start =
|
|
4236
|
-
end: (end =
|
|
4170
|
+
static: false,
|
|
4171
|
+
start: (start = deserializeI32(pos)),
|
|
4172
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4237
4173
|
range: [start, end],
|
|
4238
4174
|
};
|
|
4239
4175
|
node.key = deserializePropertyKey(pos + 16);
|
|
4240
4176
|
node.typeAnnotation = deserializeOptionBoxTSTypeAnnotation(pos + 32);
|
|
4241
|
-
node.static = false;
|
|
4242
4177
|
return node;
|
|
4243
4178
|
}
|
|
4244
4179
|
|
|
@@ -4269,8 +4204,8 @@ function deserializeTSIndexSignature(pos) {
|
|
|
4269
4204
|
readonly: deserializeBool(pos + 12),
|
|
4270
4205
|
static: deserializeBool(pos + 13),
|
|
4271
4206
|
accessibility: null,
|
|
4272
|
-
start: (start =
|
|
4273
|
-
end: (end =
|
|
4207
|
+
start: (start = deserializeI32(pos)),
|
|
4208
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4274
4209
|
range: [start, end],
|
|
4275
4210
|
};
|
|
4276
4211
|
node.parameters = deserializeVecTSIndexSignatureName(pos + 16);
|
|
@@ -4286,8 +4221,8 @@ function deserializeTSCallSignatureDeclaration(pos) {
|
|
|
4286
4221
|
typeParameters: null,
|
|
4287
4222
|
params: null,
|
|
4288
4223
|
returnType: null,
|
|
4289
|
-
start: (start =
|
|
4290
|
-
end: (end =
|
|
4224
|
+
start: (start = deserializeI32(pos)),
|
|
4225
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4291
4226
|
range: [start, end],
|
|
4292
4227
|
},
|
|
4293
4228
|
params = deserializeBoxFormalParameters(pos + 32),
|
|
@@ -4325,10 +4260,10 @@ function deserializeTSMethodSignature(pos) {
|
|
|
4325
4260
|
params: null,
|
|
4326
4261
|
returnType: null,
|
|
4327
4262
|
accessibility: null,
|
|
4328
|
-
readonly:
|
|
4329
|
-
static:
|
|
4330
|
-
start: (start =
|
|
4331
|
-
end: (end =
|
|
4263
|
+
readonly: false,
|
|
4264
|
+
static: false,
|
|
4265
|
+
start: (start = deserializeI32(pos)),
|
|
4266
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4332
4267
|
range: [start, end],
|
|
4333
4268
|
},
|
|
4334
4269
|
params = deserializeBoxFormalParameters(pos + 48),
|
|
@@ -4338,8 +4273,6 @@ function deserializeTSMethodSignature(pos) {
|
|
|
4338
4273
|
node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 32);
|
|
4339
4274
|
node.params = params;
|
|
4340
4275
|
node.returnType = deserializeOptionBoxTSTypeAnnotation(pos + 56);
|
|
4341
|
-
node.readonly = false;
|
|
4342
|
-
node.static = false;
|
|
4343
4276
|
return node;
|
|
4344
4277
|
}
|
|
4345
4278
|
|
|
@@ -4351,8 +4284,8 @@ function deserializeTSConstructSignatureDeclaration(pos) {
|
|
|
4351
4284
|
typeParameters: null,
|
|
4352
4285
|
params: null,
|
|
4353
4286
|
returnType: null,
|
|
4354
|
-
start: (start =
|
|
4355
|
-
end: (end =
|
|
4287
|
+
start: (start = deserializeI32(pos)),
|
|
4288
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4356
4289
|
range: [start, end],
|
|
4357
4290
|
};
|
|
4358
4291
|
node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 16);
|
|
@@ -4366,16 +4299,14 @@ function deserializeTSIndexSignatureName(pos) {
|
|
|
4366
4299
|
end,
|
|
4367
4300
|
node = {
|
|
4368
4301
|
type: "Identifier",
|
|
4369
|
-
decorators:
|
|
4302
|
+
decorators: [],
|
|
4370
4303
|
name: deserializeStr(pos + 16),
|
|
4371
|
-
optional:
|
|
4304
|
+
optional: false,
|
|
4372
4305
|
typeAnnotation: null,
|
|
4373
|
-
start: (start =
|
|
4374
|
-
end: (end =
|
|
4306
|
+
start: (start = deserializeI32(pos)),
|
|
4307
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4375
4308
|
range: [start, end],
|
|
4376
4309
|
};
|
|
4377
|
-
node.decorators = [];
|
|
4378
|
-
node.optional = false;
|
|
4379
4310
|
node.typeAnnotation = deserializeBoxTSTypeAnnotation(pos + 32);
|
|
4380
4311
|
return node;
|
|
4381
4312
|
}
|
|
@@ -4387,8 +4318,8 @@ function deserializeTSInterfaceHeritage(pos) {
|
|
|
4387
4318
|
type: "TSInterfaceHeritage",
|
|
4388
4319
|
expression: null,
|
|
4389
4320
|
typeArguments: null,
|
|
4390
|
-
start: (start =
|
|
4391
|
-
end: (end =
|
|
4321
|
+
start: (start = deserializeI32(pos)),
|
|
4322
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4392
4323
|
range: [start, end],
|
|
4393
4324
|
};
|
|
4394
4325
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4404,8 +4335,8 @@ function deserializeTSTypePredicate(pos) {
|
|
|
4404
4335
|
parameterName: null,
|
|
4405
4336
|
asserts: deserializeBool(pos + 12),
|
|
4406
4337
|
typeAnnotation: null,
|
|
4407
|
-
start: (start =
|
|
4408
|
-
end: (end =
|
|
4338
|
+
start: (start = deserializeI32(pos)),
|
|
4339
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4409
4340
|
range: [start, end],
|
|
4410
4341
|
};
|
|
4411
4342
|
node.parameterName = deserializeTSTypePredicateName(pos + 16);
|
|
@@ -4426,8 +4357,8 @@ function deserializeTSTypePredicateName(pos) {
|
|
|
4426
4357
|
|
|
4427
4358
|
function deserializeTSModuleDeclaration(pos) {
|
|
4428
4359
|
let kind = deserializeTSModuleDeclarationKind(pos + 88),
|
|
4429
|
-
start =
|
|
4430
|
-
end =
|
|
4360
|
+
start = deserializeI32(pos),
|
|
4361
|
+
end = deserializeI32(pos + 4),
|
|
4431
4362
|
declare = deserializeBool(pos + 89),
|
|
4432
4363
|
node,
|
|
4433
4364
|
body = deserializeOptionTSModuleDeclarationBody(pos + 72);
|
|
@@ -4539,11 +4470,11 @@ function deserializeTSGlobalDeclaration(pos) {
|
|
|
4539
4470
|
type: "TSModuleDeclaration",
|
|
4540
4471
|
id: null,
|
|
4541
4472
|
body: null,
|
|
4542
|
-
kind:
|
|
4473
|
+
kind: "global",
|
|
4543
4474
|
declare: deserializeBool(pos + 88),
|
|
4544
|
-
global:
|
|
4545
|
-
start: (start =
|
|
4546
|
-
end: (end =
|
|
4475
|
+
global: true,
|
|
4476
|
+
start: (start = deserializeI32(pos)),
|
|
4477
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4547
4478
|
range: [start, end],
|
|
4548
4479
|
},
|
|
4549
4480
|
keywordStart,
|
|
@@ -4554,13 +4485,11 @@ function deserializeTSGlobalDeclaration(pos) {
|
|
|
4554
4485
|
name: "global",
|
|
4555
4486
|
optional: false,
|
|
4556
4487
|
typeAnnotation: null,
|
|
4557
|
-
start: (keywordStart =
|
|
4558
|
-
end: (keywordEnd =
|
|
4488
|
+
start: (keywordStart = deserializeI32(pos + 16)),
|
|
4489
|
+
end: (keywordEnd = deserializeI32(pos + 20)),
|
|
4559
4490
|
range: [keywordStart, keywordEnd],
|
|
4560
4491
|
};
|
|
4561
4492
|
node.body = deserializeTSModuleBlock(pos + 24);
|
|
4562
|
-
node.kind = "global";
|
|
4563
|
-
node.global = true;
|
|
4564
4493
|
return node;
|
|
4565
4494
|
}
|
|
4566
4495
|
|
|
@@ -4570,8 +4499,8 @@ function deserializeTSModuleBlock(pos) {
|
|
|
4570
4499
|
node = {
|
|
4571
4500
|
type: "TSModuleBlock",
|
|
4572
4501
|
body: null,
|
|
4573
|
-
start: (start =
|
|
4574
|
-
end: (end =
|
|
4502
|
+
start: (start = deserializeI32(pos)),
|
|
4503
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4575
4504
|
range: [start, end],
|
|
4576
4505
|
},
|
|
4577
4506
|
body = deserializeVecDirective(pos + 16);
|
|
@@ -4586,8 +4515,8 @@ function deserializeTSTypeLiteral(pos) {
|
|
|
4586
4515
|
node = {
|
|
4587
4516
|
type: "TSTypeLiteral",
|
|
4588
4517
|
members: null,
|
|
4589
|
-
start: (start =
|
|
4590
|
-
end: (end =
|
|
4518
|
+
start: (start = deserializeI32(pos)),
|
|
4519
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4591
4520
|
range: [start, end],
|
|
4592
4521
|
};
|
|
4593
4522
|
node.members = deserializeVecTSSignature(pos + 16);
|
|
@@ -4600,8 +4529,8 @@ function deserializeTSInferType(pos) {
|
|
|
4600
4529
|
node = {
|
|
4601
4530
|
type: "TSInferType",
|
|
4602
4531
|
typeParameter: null,
|
|
4603
|
-
start: (start =
|
|
4604
|
-
end: (end =
|
|
4532
|
+
start: (start = deserializeI32(pos)),
|
|
4533
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4605
4534
|
range: [start, end],
|
|
4606
4535
|
};
|
|
4607
4536
|
node.typeParameter = deserializeBoxTSTypeParameter(pos + 16);
|
|
@@ -4615,8 +4544,8 @@ function deserializeTSTypeQuery(pos) {
|
|
|
4615
4544
|
type: "TSTypeQuery",
|
|
4616
4545
|
exprName: null,
|
|
4617
4546
|
typeArguments: null,
|
|
4618
|
-
start: (start =
|
|
4619
|
-
end: (end =
|
|
4547
|
+
start: (start = deserializeI32(pos)),
|
|
4548
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4620
4549
|
range: [start, end],
|
|
4621
4550
|
};
|
|
4622
4551
|
node.exprName = deserializeTSTypeQueryExprName(pos + 16);
|
|
@@ -4648,8 +4577,8 @@ function deserializeTSImportType(pos) {
|
|
|
4648
4577
|
options: null,
|
|
4649
4578
|
qualifier: null,
|
|
4650
4579
|
typeArguments: null,
|
|
4651
|
-
start: (start =
|
|
4652
|
-
end: (end =
|
|
4580
|
+
start: (start = deserializeI32(pos)),
|
|
4581
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4653
4582
|
range: [start, end],
|
|
4654
4583
|
};
|
|
4655
4584
|
node.source = deserializeStringLiteral(pos + 16);
|
|
@@ -4677,8 +4606,8 @@ function deserializeTSImportTypeQualifiedName(pos) {
|
|
|
4677
4606
|
type: "TSQualifiedName",
|
|
4678
4607
|
left: null,
|
|
4679
4608
|
right: null,
|
|
4680
|
-
start: (start =
|
|
4681
|
-
end: (end =
|
|
4609
|
+
start: (start = deserializeI32(pos)),
|
|
4610
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4682
4611
|
range: [start, end],
|
|
4683
4612
|
};
|
|
4684
4613
|
node.left = deserializeTSImportTypeQualifier(pos + 16);
|
|
@@ -4694,8 +4623,8 @@ function deserializeTSFunctionType(pos) {
|
|
|
4694
4623
|
typeParameters: null,
|
|
4695
4624
|
params: null,
|
|
4696
4625
|
returnType: null,
|
|
4697
|
-
start: (start =
|
|
4698
|
-
end: (end =
|
|
4626
|
+
start: (start = deserializeI32(pos)),
|
|
4627
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4699
4628
|
range: [start, end],
|
|
4700
4629
|
},
|
|
4701
4630
|
params = deserializeBoxFormalParameters(pos + 32),
|
|
@@ -4716,8 +4645,8 @@ function deserializeTSConstructorType(pos) {
|
|
|
4716
4645
|
typeParameters: null,
|
|
4717
4646
|
params: null,
|
|
4718
4647
|
returnType: null,
|
|
4719
|
-
start: (start =
|
|
4720
|
-
end: (end =
|
|
4648
|
+
start: (start = deserializeI32(pos)),
|
|
4649
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4721
4650
|
range: [start, end],
|
|
4722
4651
|
};
|
|
4723
4652
|
node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 16);
|
|
@@ -4737,8 +4666,8 @@ function deserializeTSMappedType(pos) {
|
|
|
4737
4666
|
typeAnnotation: null,
|
|
4738
4667
|
optional: null,
|
|
4739
4668
|
readonly: deserializeOptionTSMappedTypeModifierOperator(pos + 97),
|
|
4740
|
-
start: (start =
|
|
4741
|
-
end: (end =
|
|
4669
|
+
start: (start = deserializeI32(pos)),
|
|
4670
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4742
4671
|
range: [start, end],
|
|
4743
4672
|
},
|
|
4744
4673
|
optional = deserializeOptionTSMappedTypeModifierOperator(pos + 96);
|
|
@@ -4771,8 +4700,8 @@ function deserializeTSTemplateLiteralType(pos) {
|
|
|
4771
4700
|
type: "TSTemplateLiteralType",
|
|
4772
4701
|
quasis: null,
|
|
4773
4702
|
types: null,
|
|
4774
|
-
start: (start =
|
|
4775
|
-
end: (end =
|
|
4703
|
+
start: (start = deserializeI32(pos)),
|
|
4704
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4776
4705
|
range: [start, end],
|
|
4777
4706
|
};
|
|
4778
4707
|
node.quasis = deserializeVecTemplateElement(pos + 16);
|
|
@@ -4787,8 +4716,8 @@ function deserializeTSAsExpression(pos) {
|
|
|
4787
4716
|
type: "TSAsExpression",
|
|
4788
4717
|
expression: null,
|
|
4789
4718
|
typeAnnotation: null,
|
|
4790
|
-
start: (start =
|
|
4791
|
-
end: (end =
|
|
4719
|
+
start: (start = deserializeI32(pos)),
|
|
4720
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4792
4721
|
range: [start, end],
|
|
4793
4722
|
};
|
|
4794
4723
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4803,8 +4732,8 @@ function deserializeTSSatisfiesExpression(pos) {
|
|
|
4803
4732
|
type: "TSSatisfiesExpression",
|
|
4804
4733
|
expression: null,
|
|
4805
4734
|
typeAnnotation: null,
|
|
4806
|
-
start: (start =
|
|
4807
|
-
end: (end =
|
|
4735
|
+
start: (start = deserializeI32(pos)),
|
|
4736
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4808
4737
|
range: [start, end],
|
|
4809
4738
|
};
|
|
4810
4739
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4819,8 +4748,8 @@ function deserializeTSTypeAssertion(pos) {
|
|
|
4819
4748
|
type: "TSTypeAssertion",
|
|
4820
4749
|
typeAnnotation: null,
|
|
4821
4750
|
expression: null,
|
|
4822
|
-
start: (start =
|
|
4823
|
-
end: (end =
|
|
4751
|
+
start: (start = deserializeI32(pos)),
|
|
4752
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4824
4753
|
range: [start, end],
|
|
4825
4754
|
};
|
|
4826
4755
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -4836,8 +4765,8 @@ function deserializeTSImportEqualsDeclaration(pos) {
|
|
|
4836
4765
|
id: null,
|
|
4837
4766
|
moduleReference: null,
|
|
4838
4767
|
importKind: deserializeImportOrExportKind(pos + 12),
|
|
4839
|
-
start: (start =
|
|
4840
|
-
end: (end =
|
|
4768
|
+
start: (start = deserializeI32(pos)),
|
|
4769
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4841
4770
|
range: [start, end],
|
|
4842
4771
|
};
|
|
4843
4772
|
node.id = deserializeBindingIdentifier(pos + 16);
|
|
@@ -4864,8 +4793,8 @@ function deserializeTSExternalModuleReference(pos) {
|
|
|
4864
4793
|
node = {
|
|
4865
4794
|
type: "TSExternalModuleReference",
|
|
4866
4795
|
expression: null,
|
|
4867
|
-
start: (start =
|
|
4868
|
-
end: (end =
|
|
4796
|
+
start: (start = deserializeI32(pos)),
|
|
4797
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4869
4798
|
range: [start, end],
|
|
4870
4799
|
};
|
|
4871
4800
|
node.expression = deserializeStringLiteral(pos + 16);
|
|
@@ -4878,8 +4807,8 @@ function deserializeTSNonNullExpression(pos) {
|
|
|
4878
4807
|
node = {
|
|
4879
4808
|
type: "TSNonNullExpression",
|
|
4880
4809
|
expression: null,
|
|
4881
|
-
start: (start =
|
|
4882
|
-
end: (end =
|
|
4810
|
+
start: (start = deserializeI32(pos)),
|
|
4811
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4883
4812
|
range: [start, end],
|
|
4884
4813
|
};
|
|
4885
4814
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4892,8 +4821,8 @@ function deserializeDecorator(pos) {
|
|
|
4892
4821
|
node = {
|
|
4893
4822
|
type: "Decorator",
|
|
4894
4823
|
expression: null,
|
|
4895
|
-
start: (start =
|
|
4896
|
-
end: (end =
|
|
4824
|
+
start: (start = deserializeI32(pos)),
|
|
4825
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4897
4826
|
range: [start, end],
|
|
4898
4827
|
};
|
|
4899
4828
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4906,8 +4835,8 @@ function deserializeTSExportAssignment(pos) {
|
|
|
4906
4835
|
node = {
|
|
4907
4836
|
type: "TSExportAssignment",
|
|
4908
4837
|
expression: null,
|
|
4909
|
-
start: (start =
|
|
4910
|
-
end: (end =
|
|
4838
|
+
start: (start = deserializeI32(pos)),
|
|
4839
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4911
4840
|
range: [start, end],
|
|
4912
4841
|
};
|
|
4913
4842
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4920,8 +4849,8 @@ function deserializeTSNamespaceExportDeclaration(pos) {
|
|
|
4920
4849
|
node = {
|
|
4921
4850
|
type: "TSNamespaceExportDeclaration",
|
|
4922
4851
|
id: null,
|
|
4923
|
-
start: (start =
|
|
4924
|
-
end: (end =
|
|
4852
|
+
start: (start = deserializeI32(pos)),
|
|
4853
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4925
4854
|
range: [start, end],
|
|
4926
4855
|
};
|
|
4927
4856
|
node.id = deserializeIdentifierName(pos + 16);
|
|
@@ -4935,8 +4864,8 @@ function deserializeTSInstantiationExpression(pos) {
|
|
|
4935
4864
|
type: "TSInstantiationExpression",
|
|
4936
4865
|
expression: null,
|
|
4937
4866
|
typeArguments: null,
|
|
4938
|
-
start: (start =
|
|
4939
|
-
end: (end =
|
|
4867
|
+
start: (start = deserializeI32(pos)),
|
|
4868
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4940
4869
|
range: [start, end],
|
|
4941
4870
|
};
|
|
4942
4871
|
node.expression = deserializeExpression(pos + 16);
|
|
@@ -4962,8 +4891,8 @@ function deserializeJSDocNullableType(pos) {
|
|
|
4962
4891
|
type: "TSJSDocNullableType",
|
|
4963
4892
|
typeAnnotation: null,
|
|
4964
4893
|
postfix: deserializeBool(pos + 12),
|
|
4965
|
-
start: (start =
|
|
4966
|
-
end: (end =
|
|
4894
|
+
start: (start = deserializeI32(pos)),
|
|
4895
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4967
4896
|
range: [start, end],
|
|
4968
4897
|
};
|
|
4969
4898
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -4977,8 +4906,8 @@ function deserializeJSDocNonNullableType(pos) {
|
|
|
4977
4906
|
type: "TSJSDocNonNullableType",
|
|
4978
4907
|
typeAnnotation: null,
|
|
4979
4908
|
postfix: deserializeBool(pos + 12),
|
|
4980
|
-
start: (start =
|
|
4981
|
-
end: (end =
|
|
4909
|
+
start: (start = deserializeI32(pos)),
|
|
4910
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4982
4911
|
range: [start, end],
|
|
4983
4912
|
};
|
|
4984
4913
|
node.typeAnnotation = deserializeTSType(pos + 16);
|
|
@@ -4989,8 +4918,8 @@ function deserializeJSDocUnknownType(pos) {
|
|
|
4989
4918
|
let start, end;
|
|
4990
4919
|
return {
|
|
4991
4920
|
type: "TSJSDocUnknownType",
|
|
4992
|
-
start: (start =
|
|
4993
|
-
end: (end =
|
|
4921
|
+
start: (start = deserializeI32(pos)),
|
|
4922
|
+
end: (end = deserializeI32(pos + 4)),
|
|
4994
4923
|
range: [start, end],
|
|
4995
4924
|
};
|
|
4996
4925
|
}
|
|
@@ -5010,8 +4939,8 @@ function deserializeCommentKind(pos) {
|
|
|
5010
4939
|
|
|
5011
4940
|
function deserializeComment(pos) {
|
|
5012
4941
|
let type = deserializeCommentKind(pos + 12),
|
|
5013
|
-
start =
|
|
5014
|
-
end =
|
|
4942
|
+
start = deserializeI32(pos),
|
|
4943
|
+
end = deserializeI32(pos + 4);
|
|
5015
4944
|
return {
|
|
5016
4945
|
type,
|
|
5017
4946
|
value: sourceText.slice(start + 2, end - (type === "Line" ? 0 : 2)),
|
|
@@ -5036,8 +4965,8 @@ function deserializeModuleKind(pos) {
|
|
|
5036
4965
|
|
|
5037
4966
|
function deserializeSpan(pos) {
|
|
5038
4967
|
return {
|
|
5039
|
-
start:
|
|
5040
|
-
end:
|
|
4968
|
+
start: deserializeI32(pos),
|
|
4969
|
+
end: deserializeI32(pos + 4),
|
|
5041
4970
|
};
|
|
5042
4971
|
}
|
|
5043
4972
|
|
|
@@ -5045,8 +4974,8 @@ function deserializeNameSpan(pos) {
|
|
|
5045
4974
|
let start, end;
|
|
5046
4975
|
return {
|
|
5047
4976
|
value: deserializeStr(pos + 8),
|
|
5048
|
-
start: (start =
|
|
5049
|
-
end: (end =
|
|
4977
|
+
start: (start = deserializeI32(pos)),
|
|
4978
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5050
4979
|
range: [start, end],
|
|
5051
4980
|
};
|
|
5052
4981
|
}
|
|
@@ -5100,8 +5029,8 @@ function deserializeExportEntry(pos) {
|
|
|
5100
5029
|
exportName: deserializeExportExportName(pos + 72),
|
|
5101
5030
|
localName: deserializeExportLocalName(pos + 104),
|
|
5102
5031
|
isType: deserializeBool(pos + 136),
|
|
5103
|
-
start: (start =
|
|
5104
|
-
end: (end =
|
|
5032
|
+
start: (start = deserializeI32(pos)),
|
|
5033
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5105
5034
|
range: [start, end],
|
|
5106
5035
|
};
|
|
5107
5036
|
}
|
|
@@ -5216,8 +5145,8 @@ function deserializeDynamicImport(pos) {
|
|
|
5216
5145
|
let start, end;
|
|
5217
5146
|
return {
|
|
5218
5147
|
moduleRequest: deserializeSpan(pos + 8),
|
|
5219
|
-
start: (start =
|
|
5220
|
-
end: (end =
|
|
5148
|
+
start: (start = deserializeI32(pos)),
|
|
5149
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5221
5150
|
range: [start, end],
|
|
5222
5151
|
};
|
|
5223
5152
|
}
|
|
@@ -5393,8 +5322,8 @@ function deserializeErrorLabel(pos) {
|
|
|
5393
5322
|
let start, end;
|
|
5394
5323
|
return {
|
|
5395
5324
|
message: deserializeOptionStr(pos + 8),
|
|
5396
|
-
start: (start =
|
|
5397
|
-
end: (end =
|
|
5325
|
+
start: (start = deserializeI32(pos)),
|
|
5326
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5398
5327
|
range: [start, end],
|
|
5399
5328
|
};
|
|
5400
5329
|
}
|
|
@@ -5414,8 +5343,8 @@ function deserializeStaticImport(pos) {
|
|
|
5414
5343
|
return {
|
|
5415
5344
|
moduleRequest: deserializeNameSpan(pos + 8),
|
|
5416
5345
|
entries: deserializeVecImportEntry(pos + 32),
|
|
5417
|
-
start: (start =
|
|
5418
|
-
end: (end =
|
|
5346
|
+
start: (start = deserializeI32(pos)),
|
|
5347
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5419
5348
|
range: [start, end],
|
|
5420
5349
|
};
|
|
5421
5350
|
}
|
|
@@ -5424,17 +5353,17 @@ function deserializeStaticExport(pos) {
|
|
|
5424
5353
|
let start, end;
|
|
5425
5354
|
return {
|
|
5426
5355
|
entries: deserializeVecExportEntry(pos + 8),
|
|
5427
|
-
start: (start =
|
|
5428
|
-
end: (end =
|
|
5356
|
+
start: (start = deserializeI32(pos)),
|
|
5357
|
+
end: (end = deserializeI32(pos + 4)),
|
|
5429
5358
|
range: [start, end],
|
|
5430
5359
|
};
|
|
5431
5360
|
}
|
|
5432
5361
|
|
|
5433
5362
|
function deserializeStr(pos) {
|
|
5434
5363
|
let pos32 = pos >> 2,
|
|
5435
|
-
len =
|
|
5364
|
+
len = int32[pos32 + 2];
|
|
5436
5365
|
if (len === 0) return "";
|
|
5437
|
-
pos =
|
|
5366
|
+
pos = int32[pos32];
|
|
5438
5367
|
let end = pos + len;
|
|
5439
5368
|
if (end <= firstNonAsciiPos) return sourceTextLatin.substr(pos, len);
|
|
5440
5369
|
// Use `utf8Slice` for strings longer than 64 bytes
|
|
@@ -5461,8 +5390,8 @@ function deserializeStr(pos) {
|
|
|
5461
5390
|
function deserializeVecComment(pos) {
|
|
5462
5391
|
let arr = [],
|
|
5463
5392
|
pos32 = pos >> 2;
|
|
5464
|
-
pos =
|
|
5465
|
-
let endPos = pos +
|
|
5393
|
+
pos = int32[pos32];
|
|
5394
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5466
5395
|
for (; pos !== endPos; ) {
|
|
5467
5396
|
arr.push(deserializeComment(pos));
|
|
5468
5397
|
pos += 16;
|
|
@@ -5471,7 +5400,7 @@ function deserializeVecComment(pos) {
|
|
|
5471
5400
|
}
|
|
5472
5401
|
|
|
5473
5402
|
function deserializeOptionHashbang(pos) {
|
|
5474
|
-
return
|
|
5403
|
+
return int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
5475
5404
|
? null
|
|
5476
5405
|
: deserializeHashbang(pos);
|
|
5477
5406
|
}
|
|
@@ -5479,8 +5408,8 @@ function deserializeOptionHashbang(pos) {
|
|
|
5479
5408
|
function deserializeVecDirective(pos) {
|
|
5480
5409
|
let arr = [],
|
|
5481
5410
|
pos32 = pos >> 2;
|
|
5482
|
-
pos =
|
|
5483
|
-
let endPos = pos +
|
|
5411
|
+
pos = int32[pos32];
|
|
5412
|
+
let endPos = pos + int32[pos32 + 2] * 80;
|
|
5484
5413
|
for (; pos !== endPos; ) {
|
|
5485
5414
|
arr.push(deserializeDirective(pos));
|
|
5486
5415
|
pos += 80;
|
|
@@ -5491,8 +5420,8 @@ function deserializeVecDirective(pos) {
|
|
|
5491
5420
|
function deserializeVecStatement(pos) {
|
|
5492
5421
|
let arr = [],
|
|
5493
5422
|
pos32 = pos >> 2;
|
|
5494
|
-
pos =
|
|
5495
|
-
let endPos = pos +
|
|
5423
|
+
pos = int32[pos32];
|
|
5424
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5496
5425
|
for (; pos !== endPos; ) {
|
|
5497
5426
|
arr.push(deserializeStatement(pos));
|
|
5498
5427
|
pos += 16;
|
|
@@ -5501,170 +5430,170 @@ function deserializeVecStatement(pos) {
|
|
|
5501
5430
|
}
|
|
5502
5431
|
|
|
5503
5432
|
function deserializeBoxBooleanLiteral(pos) {
|
|
5504
|
-
return deserializeBooleanLiteral(
|
|
5433
|
+
return deserializeBooleanLiteral(int32[pos >> 2]);
|
|
5505
5434
|
}
|
|
5506
5435
|
|
|
5507
5436
|
function deserializeBoxNullLiteral(pos) {
|
|
5508
|
-
return deserializeNullLiteral(
|
|
5437
|
+
return deserializeNullLiteral(int32[pos >> 2]);
|
|
5509
5438
|
}
|
|
5510
5439
|
|
|
5511
5440
|
function deserializeBoxNumericLiteral(pos) {
|
|
5512
|
-
return deserializeNumericLiteral(
|
|
5441
|
+
return deserializeNumericLiteral(int32[pos >> 2]);
|
|
5513
5442
|
}
|
|
5514
5443
|
|
|
5515
5444
|
function deserializeBoxBigIntLiteral(pos) {
|
|
5516
|
-
return deserializeBigIntLiteral(
|
|
5445
|
+
return deserializeBigIntLiteral(int32[pos >> 2]);
|
|
5517
5446
|
}
|
|
5518
5447
|
|
|
5519
5448
|
function deserializeBoxRegExpLiteral(pos) {
|
|
5520
|
-
return deserializeRegExpLiteral(
|
|
5449
|
+
return deserializeRegExpLiteral(int32[pos >> 2]);
|
|
5521
5450
|
}
|
|
5522
5451
|
|
|
5523
5452
|
function deserializeBoxStringLiteral(pos) {
|
|
5524
|
-
return deserializeStringLiteral(
|
|
5453
|
+
return deserializeStringLiteral(int32[pos >> 2]);
|
|
5525
5454
|
}
|
|
5526
5455
|
|
|
5527
5456
|
function deserializeBoxTemplateLiteral(pos) {
|
|
5528
|
-
return deserializeTemplateLiteral(
|
|
5457
|
+
return deserializeTemplateLiteral(int32[pos >> 2]);
|
|
5529
5458
|
}
|
|
5530
5459
|
|
|
5531
5460
|
function deserializeBoxIdentifierReference(pos) {
|
|
5532
|
-
return deserializeIdentifierReference(
|
|
5461
|
+
return deserializeIdentifierReference(int32[pos >> 2]);
|
|
5533
5462
|
}
|
|
5534
5463
|
|
|
5535
5464
|
function deserializeBoxMetaProperty(pos) {
|
|
5536
|
-
return deserializeMetaProperty(
|
|
5465
|
+
return deserializeMetaProperty(int32[pos >> 2]);
|
|
5537
5466
|
}
|
|
5538
5467
|
|
|
5539
5468
|
function deserializeBoxSuper(pos) {
|
|
5540
|
-
return deserializeSuper(
|
|
5469
|
+
return deserializeSuper(int32[pos >> 2]);
|
|
5541
5470
|
}
|
|
5542
5471
|
|
|
5543
5472
|
function deserializeBoxArrayExpression(pos) {
|
|
5544
|
-
return deserializeArrayExpression(
|
|
5473
|
+
return deserializeArrayExpression(int32[pos >> 2]);
|
|
5545
5474
|
}
|
|
5546
5475
|
|
|
5547
5476
|
function deserializeBoxArrowFunctionExpression(pos) {
|
|
5548
|
-
return deserializeArrowFunctionExpression(
|
|
5477
|
+
return deserializeArrowFunctionExpression(int32[pos >> 2]);
|
|
5549
5478
|
}
|
|
5550
5479
|
|
|
5551
5480
|
function deserializeBoxAssignmentExpression(pos) {
|
|
5552
|
-
return deserializeAssignmentExpression(
|
|
5481
|
+
return deserializeAssignmentExpression(int32[pos >> 2]);
|
|
5553
5482
|
}
|
|
5554
5483
|
|
|
5555
5484
|
function deserializeBoxAwaitExpression(pos) {
|
|
5556
|
-
return deserializeAwaitExpression(
|
|
5485
|
+
return deserializeAwaitExpression(int32[pos >> 2]);
|
|
5557
5486
|
}
|
|
5558
5487
|
|
|
5559
5488
|
function deserializeBoxBinaryExpression(pos) {
|
|
5560
|
-
return deserializeBinaryExpression(
|
|
5489
|
+
return deserializeBinaryExpression(int32[pos >> 2]);
|
|
5561
5490
|
}
|
|
5562
5491
|
|
|
5563
5492
|
function deserializeBoxCallExpression(pos) {
|
|
5564
|
-
return deserializeCallExpression(
|
|
5493
|
+
return deserializeCallExpression(int32[pos >> 2]);
|
|
5565
5494
|
}
|
|
5566
5495
|
|
|
5567
5496
|
function deserializeBoxChainExpression(pos) {
|
|
5568
|
-
return deserializeChainExpression(
|
|
5497
|
+
return deserializeChainExpression(int32[pos >> 2]);
|
|
5569
5498
|
}
|
|
5570
5499
|
|
|
5571
5500
|
function deserializeBoxClass(pos) {
|
|
5572
|
-
return deserializeClass(
|
|
5501
|
+
return deserializeClass(int32[pos >> 2]);
|
|
5573
5502
|
}
|
|
5574
5503
|
|
|
5575
5504
|
function deserializeBoxConditionalExpression(pos) {
|
|
5576
|
-
return deserializeConditionalExpression(
|
|
5505
|
+
return deserializeConditionalExpression(int32[pos >> 2]);
|
|
5577
5506
|
}
|
|
5578
5507
|
|
|
5579
5508
|
function deserializeBoxFunction(pos) {
|
|
5580
|
-
return deserializeFunction(
|
|
5509
|
+
return deserializeFunction(int32[pos >> 2]);
|
|
5581
5510
|
}
|
|
5582
5511
|
|
|
5583
5512
|
function deserializeBoxImportExpression(pos) {
|
|
5584
|
-
return deserializeImportExpression(
|
|
5513
|
+
return deserializeImportExpression(int32[pos >> 2]);
|
|
5585
5514
|
}
|
|
5586
5515
|
|
|
5587
5516
|
function deserializeBoxLogicalExpression(pos) {
|
|
5588
|
-
return deserializeLogicalExpression(
|
|
5517
|
+
return deserializeLogicalExpression(int32[pos >> 2]);
|
|
5589
5518
|
}
|
|
5590
5519
|
|
|
5591
5520
|
function deserializeBoxNewExpression(pos) {
|
|
5592
|
-
return deserializeNewExpression(
|
|
5521
|
+
return deserializeNewExpression(int32[pos >> 2]);
|
|
5593
5522
|
}
|
|
5594
5523
|
|
|
5595
5524
|
function deserializeBoxObjectExpression(pos) {
|
|
5596
|
-
return deserializeObjectExpression(
|
|
5525
|
+
return deserializeObjectExpression(int32[pos >> 2]);
|
|
5597
5526
|
}
|
|
5598
5527
|
|
|
5599
5528
|
function deserializeBoxParenthesizedExpression(pos) {
|
|
5600
|
-
return deserializeParenthesizedExpression(
|
|
5529
|
+
return deserializeParenthesizedExpression(int32[pos >> 2]);
|
|
5601
5530
|
}
|
|
5602
5531
|
|
|
5603
5532
|
function deserializeBoxSequenceExpression(pos) {
|
|
5604
|
-
return deserializeSequenceExpression(
|
|
5533
|
+
return deserializeSequenceExpression(int32[pos >> 2]);
|
|
5605
5534
|
}
|
|
5606
5535
|
|
|
5607
5536
|
function deserializeBoxTaggedTemplateExpression(pos) {
|
|
5608
|
-
return deserializeTaggedTemplateExpression(
|
|
5537
|
+
return deserializeTaggedTemplateExpression(int32[pos >> 2]);
|
|
5609
5538
|
}
|
|
5610
5539
|
|
|
5611
5540
|
function deserializeBoxThisExpression(pos) {
|
|
5612
|
-
return deserializeThisExpression(
|
|
5541
|
+
return deserializeThisExpression(int32[pos >> 2]);
|
|
5613
5542
|
}
|
|
5614
5543
|
|
|
5615
5544
|
function deserializeBoxUnaryExpression(pos) {
|
|
5616
|
-
return deserializeUnaryExpression(
|
|
5545
|
+
return deserializeUnaryExpression(int32[pos >> 2]);
|
|
5617
5546
|
}
|
|
5618
5547
|
|
|
5619
5548
|
function deserializeBoxUpdateExpression(pos) {
|
|
5620
|
-
return deserializeUpdateExpression(
|
|
5549
|
+
return deserializeUpdateExpression(int32[pos >> 2]);
|
|
5621
5550
|
}
|
|
5622
5551
|
|
|
5623
5552
|
function deserializeBoxYieldExpression(pos) {
|
|
5624
|
-
return deserializeYieldExpression(
|
|
5553
|
+
return deserializeYieldExpression(int32[pos >> 2]);
|
|
5625
5554
|
}
|
|
5626
5555
|
|
|
5627
5556
|
function deserializeBoxPrivateInExpression(pos) {
|
|
5628
|
-
return deserializePrivateInExpression(
|
|
5557
|
+
return deserializePrivateInExpression(int32[pos >> 2]);
|
|
5629
5558
|
}
|
|
5630
5559
|
|
|
5631
5560
|
function deserializeBoxJSXElement(pos) {
|
|
5632
|
-
return deserializeJSXElement(
|
|
5561
|
+
return deserializeJSXElement(int32[pos >> 2]);
|
|
5633
5562
|
}
|
|
5634
5563
|
|
|
5635
5564
|
function deserializeBoxJSXFragment(pos) {
|
|
5636
|
-
return deserializeJSXFragment(
|
|
5565
|
+
return deserializeJSXFragment(int32[pos >> 2]);
|
|
5637
5566
|
}
|
|
5638
5567
|
|
|
5639
5568
|
function deserializeBoxTSAsExpression(pos) {
|
|
5640
|
-
return deserializeTSAsExpression(
|
|
5569
|
+
return deserializeTSAsExpression(int32[pos >> 2]);
|
|
5641
5570
|
}
|
|
5642
5571
|
|
|
5643
5572
|
function deserializeBoxTSSatisfiesExpression(pos) {
|
|
5644
|
-
return deserializeTSSatisfiesExpression(
|
|
5573
|
+
return deserializeTSSatisfiesExpression(int32[pos >> 2]);
|
|
5645
5574
|
}
|
|
5646
5575
|
|
|
5647
5576
|
function deserializeBoxTSTypeAssertion(pos) {
|
|
5648
|
-
return deserializeTSTypeAssertion(
|
|
5577
|
+
return deserializeTSTypeAssertion(int32[pos >> 2]);
|
|
5649
5578
|
}
|
|
5650
5579
|
|
|
5651
5580
|
function deserializeBoxTSNonNullExpression(pos) {
|
|
5652
|
-
return deserializeTSNonNullExpression(
|
|
5581
|
+
return deserializeTSNonNullExpression(int32[pos >> 2]);
|
|
5653
5582
|
}
|
|
5654
5583
|
|
|
5655
5584
|
function deserializeBoxTSInstantiationExpression(pos) {
|
|
5656
|
-
return deserializeTSInstantiationExpression(
|
|
5585
|
+
return deserializeTSInstantiationExpression(int32[pos >> 2]);
|
|
5657
5586
|
}
|
|
5658
5587
|
|
|
5659
5588
|
function deserializeBoxV8IntrinsicExpression(pos) {
|
|
5660
|
-
return deserializeV8IntrinsicExpression(
|
|
5589
|
+
return deserializeV8IntrinsicExpression(int32[pos >> 2]);
|
|
5661
5590
|
}
|
|
5662
5591
|
|
|
5663
5592
|
function deserializeVecArrayExpressionElement(pos) {
|
|
5664
5593
|
let arr = [],
|
|
5665
5594
|
pos32 = pos >> 2;
|
|
5666
|
-
pos =
|
|
5667
|
-
let endPos = pos +
|
|
5595
|
+
pos = int32[pos32];
|
|
5596
|
+
let endPos = pos + int32[pos32 + 2] * 24;
|
|
5668
5597
|
for (; pos !== endPos; ) {
|
|
5669
5598
|
arr.push(deserializeArrayExpressionElement(pos));
|
|
5670
5599
|
pos += 24;
|
|
@@ -5673,14 +5602,14 @@ function deserializeVecArrayExpressionElement(pos) {
|
|
|
5673
5602
|
}
|
|
5674
5603
|
|
|
5675
5604
|
function deserializeBoxSpreadElement(pos) {
|
|
5676
|
-
return deserializeSpreadElement(
|
|
5605
|
+
return deserializeSpreadElement(int32[pos >> 2]);
|
|
5677
5606
|
}
|
|
5678
5607
|
|
|
5679
5608
|
function deserializeVecObjectPropertyKind(pos) {
|
|
5680
5609
|
let arr = [],
|
|
5681
5610
|
pos32 = pos >> 2;
|
|
5682
|
-
pos =
|
|
5683
|
-
let endPos = pos +
|
|
5611
|
+
pos = int32[pos32];
|
|
5612
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5684
5613
|
for (; pos !== endPos; ) {
|
|
5685
5614
|
arr.push(deserializeObjectPropertyKind(pos));
|
|
5686
5615
|
pos += 16;
|
|
@@ -5689,7 +5618,7 @@ function deserializeVecObjectPropertyKind(pos) {
|
|
|
5689
5618
|
}
|
|
5690
5619
|
|
|
5691
5620
|
function deserializeBoxObjectProperty(pos) {
|
|
5692
|
-
return deserializeObjectProperty(
|
|
5621
|
+
return deserializeObjectProperty(int32[pos >> 2]);
|
|
5693
5622
|
}
|
|
5694
5623
|
|
|
5695
5624
|
function deserializeBool(pos) {
|
|
@@ -5697,18 +5626,18 @@ function deserializeBool(pos) {
|
|
|
5697
5626
|
}
|
|
5698
5627
|
|
|
5699
5628
|
function deserializeBoxIdentifierName(pos) {
|
|
5700
|
-
return deserializeIdentifierName(
|
|
5629
|
+
return deserializeIdentifierName(int32[pos >> 2]);
|
|
5701
5630
|
}
|
|
5702
5631
|
|
|
5703
5632
|
function deserializeBoxPrivateIdentifier(pos) {
|
|
5704
|
-
return deserializePrivateIdentifier(
|
|
5633
|
+
return deserializePrivateIdentifier(int32[pos >> 2]);
|
|
5705
5634
|
}
|
|
5706
5635
|
|
|
5707
5636
|
function deserializeVecTemplateElement(pos) {
|
|
5708
5637
|
let arr = [],
|
|
5709
5638
|
pos32 = pos >> 2;
|
|
5710
|
-
pos =
|
|
5711
|
-
let endPos = pos +
|
|
5639
|
+
pos = int32[pos32];
|
|
5640
|
+
let endPos = pos + int32[pos32 + 2] * 48;
|
|
5712
5641
|
for (; pos !== endPos; ) {
|
|
5713
5642
|
arr.push(deserializeTemplateElement(pos));
|
|
5714
5643
|
pos += 48;
|
|
@@ -5719,8 +5648,8 @@ function deserializeVecTemplateElement(pos) {
|
|
|
5719
5648
|
function deserializeVecExpression(pos) {
|
|
5720
5649
|
let arr = [],
|
|
5721
5650
|
pos32 = pos >> 2;
|
|
5722
|
-
pos =
|
|
5723
|
-
let endPos = pos +
|
|
5651
|
+
pos = int32[pos32];
|
|
5652
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5724
5653
|
for (; pos !== endPos; ) {
|
|
5725
5654
|
arr.push(deserializeExpression(pos));
|
|
5726
5655
|
pos += 16;
|
|
@@ -5729,36 +5658,36 @@ function deserializeVecExpression(pos) {
|
|
|
5729
5658
|
}
|
|
5730
5659
|
|
|
5731
5660
|
function deserializeBoxTSTypeParameterInstantiation(pos) {
|
|
5732
|
-
return deserializeTSTypeParameterInstantiation(
|
|
5661
|
+
return deserializeTSTypeParameterInstantiation(int32[pos >> 2]);
|
|
5733
5662
|
}
|
|
5734
5663
|
|
|
5735
5664
|
function deserializeOptionBoxTSTypeParameterInstantiation(pos) {
|
|
5736
|
-
return
|
|
5665
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5737
5666
|
? null
|
|
5738
5667
|
: deserializeBoxTSTypeParameterInstantiation(pos);
|
|
5739
5668
|
}
|
|
5740
5669
|
|
|
5741
5670
|
function deserializeOptionStr(pos) {
|
|
5742
|
-
return
|
|
5671
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0 ? null : deserializeStr(pos);
|
|
5743
5672
|
}
|
|
5744
5673
|
|
|
5745
5674
|
function deserializeBoxComputedMemberExpression(pos) {
|
|
5746
|
-
return deserializeComputedMemberExpression(
|
|
5675
|
+
return deserializeComputedMemberExpression(int32[pos >> 2]);
|
|
5747
5676
|
}
|
|
5748
5677
|
|
|
5749
5678
|
function deserializeBoxStaticMemberExpression(pos) {
|
|
5750
|
-
return deserializeStaticMemberExpression(
|
|
5679
|
+
return deserializeStaticMemberExpression(int32[pos >> 2]);
|
|
5751
5680
|
}
|
|
5752
5681
|
|
|
5753
5682
|
function deserializeBoxPrivateFieldExpression(pos) {
|
|
5754
|
-
return deserializePrivateFieldExpression(
|
|
5683
|
+
return deserializePrivateFieldExpression(int32[pos >> 2]);
|
|
5755
5684
|
}
|
|
5756
5685
|
|
|
5757
5686
|
function deserializeVecArgument(pos) {
|
|
5758
5687
|
let arr = [],
|
|
5759
5688
|
pos32 = pos >> 2;
|
|
5760
|
-
pos =
|
|
5761
|
-
let endPos = pos +
|
|
5689
|
+
pos = int32[pos32];
|
|
5690
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5762
5691
|
for (; pos !== endPos; ) {
|
|
5763
5692
|
arr.push(deserializeArgument(pos));
|
|
5764
5693
|
pos += 16;
|
|
@@ -5767,11 +5696,11 @@ function deserializeVecArgument(pos) {
|
|
|
5767
5696
|
}
|
|
5768
5697
|
|
|
5769
5698
|
function deserializeBoxArrayAssignmentTarget(pos) {
|
|
5770
|
-
return deserializeArrayAssignmentTarget(
|
|
5699
|
+
return deserializeArrayAssignmentTarget(int32[pos >> 2]);
|
|
5771
5700
|
}
|
|
5772
5701
|
|
|
5773
5702
|
function deserializeBoxObjectAssignmentTarget(pos) {
|
|
5774
|
-
return deserializeObjectAssignmentTarget(
|
|
5703
|
+
return deserializeObjectAssignmentTarget(int32[pos >> 2]);
|
|
5775
5704
|
}
|
|
5776
5705
|
|
|
5777
5706
|
function deserializeOptionAssignmentTargetMaybeDefault(pos) {
|
|
@@ -5781,8 +5710,8 @@ function deserializeOptionAssignmentTargetMaybeDefault(pos) {
|
|
|
5781
5710
|
function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
|
|
5782
5711
|
let arr = [],
|
|
5783
5712
|
pos32 = pos >> 2;
|
|
5784
|
-
pos =
|
|
5785
|
-
let endPos = pos +
|
|
5713
|
+
pos = int32[pos32];
|
|
5714
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5786
5715
|
for (; pos !== endPos; ) {
|
|
5787
5716
|
arr.push(deserializeOptionAssignmentTargetMaybeDefault(pos));
|
|
5788
5717
|
pos += 16;
|
|
@@ -5791,11 +5720,11 @@ function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
|
|
|
5791
5720
|
}
|
|
5792
5721
|
|
|
5793
5722
|
function deserializeBoxAssignmentTargetRest(pos) {
|
|
5794
|
-
return deserializeAssignmentTargetRest(
|
|
5723
|
+
return deserializeAssignmentTargetRest(int32[pos >> 2]);
|
|
5795
5724
|
}
|
|
5796
5725
|
|
|
5797
5726
|
function deserializeOptionBoxAssignmentTargetRest(pos) {
|
|
5798
|
-
return
|
|
5727
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5799
5728
|
? null
|
|
5800
5729
|
: deserializeBoxAssignmentTargetRest(pos);
|
|
5801
5730
|
}
|
|
@@ -5803,8 +5732,8 @@ function deserializeOptionBoxAssignmentTargetRest(pos) {
|
|
|
5803
5732
|
function deserializeVecAssignmentTargetProperty(pos) {
|
|
5804
5733
|
let arr = [],
|
|
5805
5734
|
pos32 = pos >> 2;
|
|
5806
|
-
pos =
|
|
5807
|
-
let endPos = pos +
|
|
5735
|
+
pos = int32[pos32];
|
|
5736
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
5808
5737
|
for (; pos !== endPos; ) {
|
|
5809
5738
|
arr.push(deserializeAssignmentTargetProperty(pos));
|
|
5810
5739
|
pos += 16;
|
|
@@ -5813,15 +5742,15 @@ function deserializeVecAssignmentTargetProperty(pos) {
|
|
|
5813
5742
|
}
|
|
5814
5743
|
|
|
5815
5744
|
function deserializeBoxAssignmentTargetWithDefault(pos) {
|
|
5816
|
-
return deserializeAssignmentTargetWithDefault(
|
|
5745
|
+
return deserializeAssignmentTargetWithDefault(int32[pos >> 2]);
|
|
5817
5746
|
}
|
|
5818
5747
|
|
|
5819
5748
|
function deserializeBoxAssignmentTargetPropertyIdentifier(pos) {
|
|
5820
|
-
return deserializeAssignmentTargetPropertyIdentifier(
|
|
5749
|
+
return deserializeAssignmentTargetPropertyIdentifier(int32[pos >> 2]);
|
|
5821
5750
|
}
|
|
5822
5751
|
|
|
5823
5752
|
function deserializeBoxAssignmentTargetPropertyProperty(pos) {
|
|
5824
|
-
return deserializeAssignmentTargetPropertyProperty(
|
|
5753
|
+
return deserializeAssignmentTargetPropertyProperty(int32[pos >> 2]);
|
|
5825
5754
|
}
|
|
5826
5755
|
|
|
5827
5756
|
function deserializeOptionExpression(pos) {
|
|
@@ -5829,110 +5758,110 @@ function deserializeOptionExpression(pos) {
|
|
|
5829
5758
|
}
|
|
5830
5759
|
|
|
5831
5760
|
function deserializeBoxBlockStatement(pos) {
|
|
5832
|
-
return deserializeBlockStatement(
|
|
5761
|
+
return deserializeBlockStatement(int32[pos >> 2]);
|
|
5833
5762
|
}
|
|
5834
5763
|
|
|
5835
5764
|
function deserializeBoxBreakStatement(pos) {
|
|
5836
|
-
return deserializeBreakStatement(
|
|
5765
|
+
return deserializeBreakStatement(int32[pos >> 2]);
|
|
5837
5766
|
}
|
|
5838
5767
|
|
|
5839
5768
|
function deserializeBoxContinueStatement(pos) {
|
|
5840
|
-
return deserializeContinueStatement(
|
|
5769
|
+
return deserializeContinueStatement(int32[pos >> 2]);
|
|
5841
5770
|
}
|
|
5842
5771
|
|
|
5843
5772
|
function deserializeBoxDebuggerStatement(pos) {
|
|
5844
|
-
return deserializeDebuggerStatement(
|
|
5773
|
+
return deserializeDebuggerStatement(int32[pos >> 2]);
|
|
5845
5774
|
}
|
|
5846
5775
|
|
|
5847
5776
|
function deserializeBoxDoWhileStatement(pos) {
|
|
5848
|
-
return deserializeDoWhileStatement(
|
|
5777
|
+
return deserializeDoWhileStatement(int32[pos >> 2]);
|
|
5849
5778
|
}
|
|
5850
5779
|
|
|
5851
5780
|
function deserializeBoxEmptyStatement(pos) {
|
|
5852
|
-
return deserializeEmptyStatement(
|
|
5781
|
+
return deserializeEmptyStatement(int32[pos >> 2]);
|
|
5853
5782
|
}
|
|
5854
5783
|
|
|
5855
5784
|
function deserializeBoxExpressionStatement(pos) {
|
|
5856
|
-
return deserializeExpressionStatement(
|
|
5785
|
+
return deserializeExpressionStatement(int32[pos >> 2]);
|
|
5857
5786
|
}
|
|
5858
5787
|
|
|
5859
5788
|
function deserializeBoxForInStatement(pos) {
|
|
5860
|
-
return deserializeForInStatement(
|
|
5789
|
+
return deserializeForInStatement(int32[pos >> 2]);
|
|
5861
5790
|
}
|
|
5862
5791
|
|
|
5863
5792
|
function deserializeBoxForOfStatement(pos) {
|
|
5864
|
-
return deserializeForOfStatement(
|
|
5793
|
+
return deserializeForOfStatement(int32[pos >> 2]);
|
|
5865
5794
|
}
|
|
5866
5795
|
|
|
5867
5796
|
function deserializeBoxForStatement(pos) {
|
|
5868
|
-
return deserializeForStatement(
|
|
5797
|
+
return deserializeForStatement(int32[pos >> 2]);
|
|
5869
5798
|
}
|
|
5870
5799
|
|
|
5871
5800
|
function deserializeBoxIfStatement(pos) {
|
|
5872
|
-
return deserializeIfStatement(
|
|
5801
|
+
return deserializeIfStatement(int32[pos >> 2]);
|
|
5873
5802
|
}
|
|
5874
5803
|
|
|
5875
5804
|
function deserializeBoxLabeledStatement(pos) {
|
|
5876
|
-
return deserializeLabeledStatement(
|
|
5805
|
+
return deserializeLabeledStatement(int32[pos >> 2]);
|
|
5877
5806
|
}
|
|
5878
5807
|
|
|
5879
5808
|
function deserializeBoxReturnStatement(pos) {
|
|
5880
|
-
return deserializeReturnStatement(
|
|
5809
|
+
return deserializeReturnStatement(int32[pos >> 2]);
|
|
5881
5810
|
}
|
|
5882
5811
|
|
|
5883
5812
|
function deserializeBoxSwitchStatement(pos) {
|
|
5884
|
-
return deserializeSwitchStatement(
|
|
5813
|
+
return deserializeSwitchStatement(int32[pos >> 2]);
|
|
5885
5814
|
}
|
|
5886
5815
|
|
|
5887
5816
|
function deserializeBoxThrowStatement(pos) {
|
|
5888
|
-
return deserializeThrowStatement(
|
|
5817
|
+
return deserializeThrowStatement(int32[pos >> 2]);
|
|
5889
5818
|
}
|
|
5890
5819
|
|
|
5891
5820
|
function deserializeBoxTryStatement(pos) {
|
|
5892
|
-
return deserializeTryStatement(
|
|
5821
|
+
return deserializeTryStatement(int32[pos >> 2]);
|
|
5893
5822
|
}
|
|
5894
5823
|
|
|
5895
5824
|
function deserializeBoxWhileStatement(pos) {
|
|
5896
|
-
return deserializeWhileStatement(
|
|
5825
|
+
return deserializeWhileStatement(int32[pos >> 2]);
|
|
5897
5826
|
}
|
|
5898
5827
|
|
|
5899
5828
|
function deserializeBoxWithStatement(pos) {
|
|
5900
|
-
return deserializeWithStatement(
|
|
5829
|
+
return deserializeWithStatement(int32[pos >> 2]);
|
|
5901
5830
|
}
|
|
5902
5831
|
|
|
5903
5832
|
function deserializeBoxVariableDeclaration(pos) {
|
|
5904
|
-
return deserializeVariableDeclaration(
|
|
5833
|
+
return deserializeVariableDeclaration(int32[pos >> 2]);
|
|
5905
5834
|
}
|
|
5906
5835
|
|
|
5907
5836
|
function deserializeBoxTSTypeAliasDeclaration(pos) {
|
|
5908
|
-
return deserializeTSTypeAliasDeclaration(
|
|
5837
|
+
return deserializeTSTypeAliasDeclaration(int32[pos >> 2]);
|
|
5909
5838
|
}
|
|
5910
5839
|
|
|
5911
5840
|
function deserializeBoxTSInterfaceDeclaration(pos) {
|
|
5912
|
-
return deserializeTSInterfaceDeclaration(
|
|
5841
|
+
return deserializeTSInterfaceDeclaration(int32[pos >> 2]);
|
|
5913
5842
|
}
|
|
5914
5843
|
|
|
5915
5844
|
function deserializeBoxTSEnumDeclaration(pos) {
|
|
5916
|
-
return deserializeTSEnumDeclaration(
|
|
5845
|
+
return deserializeTSEnumDeclaration(int32[pos >> 2]);
|
|
5917
5846
|
}
|
|
5918
5847
|
|
|
5919
5848
|
function deserializeBoxTSModuleDeclaration(pos) {
|
|
5920
|
-
return deserializeTSModuleDeclaration(
|
|
5849
|
+
return deserializeTSModuleDeclaration(int32[pos >> 2]);
|
|
5921
5850
|
}
|
|
5922
5851
|
|
|
5923
5852
|
function deserializeBoxTSGlobalDeclaration(pos) {
|
|
5924
|
-
return deserializeTSGlobalDeclaration(
|
|
5853
|
+
return deserializeTSGlobalDeclaration(int32[pos >> 2]);
|
|
5925
5854
|
}
|
|
5926
5855
|
|
|
5927
5856
|
function deserializeBoxTSImportEqualsDeclaration(pos) {
|
|
5928
|
-
return deserializeTSImportEqualsDeclaration(
|
|
5857
|
+
return deserializeTSImportEqualsDeclaration(int32[pos >> 2]);
|
|
5929
5858
|
}
|
|
5930
5859
|
|
|
5931
5860
|
function deserializeVecVariableDeclarator(pos) {
|
|
5932
5861
|
let arr = [],
|
|
5933
5862
|
pos32 = pos >> 2;
|
|
5934
|
-
pos =
|
|
5935
|
-
let endPos = pos +
|
|
5863
|
+
pos = int32[pos32];
|
|
5864
|
+
let endPos = pos + int32[pos32 + 2] * 56;
|
|
5936
5865
|
for (; pos !== endPos; ) {
|
|
5937
5866
|
arr.push(deserializeVariableDeclarator(pos));
|
|
5938
5867
|
pos += 56;
|
|
@@ -5941,11 +5870,11 @@ function deserializeVecVariableDeclarator(pos) {
|
|
|
5941
5870
|
}
|
|
5942
5871
|
|
|
5943
5872
|
function deserializeBoxTSTypeAnnotation(pos) {
|
|
5944
|
-
return deserializeTSTypeAnnotation(
|
|
5873
|
+
return deserializeTSTypeAnnotation(int32[pos >> 2]);
|
|
5945
5874
|
}
|
|
5946
5875
|
|
|
5947
5876
|
function deserializeOptionBoxTSTypeAnnotation(pos) {
|
|
5948
|
-
return
|
|
5877
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5949
5878
|
? null
|
|
5950
5879
|
: deserializeBoxTSTypeAnnotation(pos);
|
|
5951
5880
|
}
|
|
@@ -5959,7 +5888,7 @@ function deserializeOptionForStatementInit(pos) {
|
|
|
5959
5888
|
}
|
|
5960
5889
|
|
|
5961
5890
|
function deserializeOptionLabelIdentifier(pos) {
|
|
5962
|
-
return
|
|
5891
|
+
return int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
5963
5892
|
? null
|
|
5964
5893
|
: deserializeLabelIdentifier(pos);
|
|
5965
5894
|
}
|
|
@@ -5967,8 +5896,8 @@ function deserializeOptionLabelIdentifier(pos) {
|
|
|
5967
5896
|
function deserializeVecSwitchCase(pos) {
|
|
5968
5897
|
let arr = [],
|
|
5969
5898
|
pos32 = pos >> 2;
|
|
5970
|
-
pos =
|
|
5971
|
-
let endPos = pos +
|
|
5899
|
+
pos = int32[pos32];
|
|
5900
|
+
let endPos = pos + int32[pos32 + 2] * 56;
|
|
5972
5901
|
for (; pos !== endPos; ) {
|
|
5973
5902
|
arr.push(deserializeSwitchCase(pos));
|
|
5974
5903
|
pos += 56;
|
|
@@ -5977,17 +5906,17 @@ function deserializeVecSwitchCase(pos) {
|
|
|
5977
5906
|
}
|
|
5978
5907
|
|
|
5979
5908
|
function deserializeBoxCatchClause(pos) {
|
|
5980
|
-
return deserializeCatchClause(
|
|
5909
|
+
return deserializeCatchClause(int32[pos >> 2]);
|
|
5981
5910
|
}
|
|
5982
5911
|
|
|
5983
5912
|
function deserializeOptionBoxCatchClause(pos) {
|
|
5984
|
-
return
|
|
5913
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5985
5914
|
? null
|
|
5986
5915
|
: deserializeBoxCatchClause(pos);
|
|
5987
5916
|
}
|
|
5988
5917
|
|
|
5989
5918
|
function deserializeOptionBoxBlockStatement(pos) {
|
|
5990
|
-
return
|
|
5919
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
5991
5920
|
? null
|
|
5992
5921
|
: deserializeBoxBlockStatement(pos);
|
|
5993
5922
|
}
|
|
@@ -5997,26 +5926,26 @@ function deserializeOptionCatchParameter(pos) {
|
|
|
5997
5926
|
}
|
|
5998
5927
|
|
|
5999
5928
|
function deserializeBoxBindingIdentifier(pos) {
|
|
6000
|
-
return deserializeBindingIdentifier(
|
|
5929
|
+
return deserializeBindingIdentifier(int32[pos >> 2]);
|
|
6001
5930
|
}
|
|
6002
5931
|
|
|
6003
5932
|
function deserializeBoxObjectPattern(pos) {
|
|
6004
|
-
return deserializeObjectPattern(
|
|
5933
|
+
return deserializeObjectPattern(int32[pos >> 2]);
|
|
6005
5934
|
}
|
|
6006
5935
|
|
|
6007
5936
|
function deserializeBoxArrayPattern(pos) {
|
|
6008
|
-
return deserializeArrayPattern(
|
|
5937
|
+
return deserializeArrayPattern(int32[pos >> 2]);
|
|
6009
5938
|
}
|
|
6010
5939
|
|
|
6011
5940
|
function deserializeBoxAssignmentPattern(pos) {
|
|
6012
|
-
return deserializeAssignmentPattern(
|
|
5941
|
+
return deserializeAssignmentPattern(int32[pos >> 2]);
|
|
6013
5942
|
}
|
|
6014
5943
|
|
|
6015
5944
|
function deserializeVecBindingProperty(pos) {
|
|
6016
5945
|
let arr = [],
|
|
6017
5946
|
pos32 = pos >> 2;
|
|
6018
|
-
pos =
|
|
6019
|
-
let endPos = pos +
|
|
5947
|
+
pos = int32[pos32];
|
|
5948
|
+
let endPos = pos + int32[pos32 + 2] * 48;
|
|
6020
5949
|
for (; pos !== endPos; ) {
|
|
6021
5950
|
arr.push(deserializeBindingProperty(pos));
|
|
6022
5951
|
pos += 48;
|
|
@@ -6025,11 +5954,11 @@ function deserializeVecBindingProperty(pos) {
|
|
|
6025
5954
|
}
|
|
6026
5955
|
|
|
6027
5956
|
function deserializeBoxBindingRestElement(pos) {
|
|
6028
|
-
return deserializeBindingRestElement(
|
|
5957
|
+
return deserializeBindingRestElement(int32[pos >> 2]);
|
|
6029
5958
|
}
|
|
6030
5959
|
|
|
6031
5960
|
function deserializeOptionBoxBindingRestElement(pos) {
|
|
6032
|
-
return
|
|
5961
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6033
5962
|
? null
|
|
6034
5963
|
: deserializeBoxBindingRestElement(pos);
|
|
6035
5964
|
}
|
|
@@ -6041,8 +5970,8 @@ function deserializeOptionBindingPattern(pos) {
|
|
|
6041
5970
|
function deserializeVecOptionBindingPattern(pos) {
|
|
6042
5971
|
let arr = [],
|
|
6043
5972
|
pos32 = pos >> 2;
|
|
6044
|
-
pos =
|
|
6045
|
-
let endPos = pos +
|
|
5973
|
+
pos = int32[pos32];
|
|
5974
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6046
5975
|
for (; pos !== endPos; ) {
|
|
6047
5976
|
arr.push(deserializeOptionBindingPattern(pos));
|
|
6048
5977
|
pos += 16;
|
|
@@ -6051,41 +5980,41 @@ function deserializeVecOptionBindingPattern(pos) {
|
|
|
6051
5980
|
}
|
|
6052
5981
|
|
|
6053
5982
|
function deserializeOptionBindingIdentifier(pos) {
|
|
6054
|
-
return
|
|
5983
|
+
return int32[(pos >> 2) + 4] === 0 && int32[(pos >> 2) + 5] === 0
|
|
6055
5984
|
? null
|
|
6056
5985
|
: deserializeBindingIdentifier(pos);
|
|
6057
5986
|
}
|
|
6058
5987
|
|
|
6059
5988
|
function deserializeBoxTSTypeParameterDeclaration(pos) {
|
|
6060
|
-
return deserializeTSTypeParameterDeclaration(
|
|
5989
|
+
return deserializeTSTypeParameterDeclaration(int32[pos >> 2]);
|
|
6061
5990
|
}
|
|
6062
5991
|
|
|
6063
5992
|
function deserializeOptionBoxTSTypeParameterDeclaration(pos) {
|
|
6064
|
-
return
|
|
5993
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6065
5994
|
? null
|
|
6066
5995
|
: deserializeBoxTSTypeParameterDeclaration(pos);
|
|
6067
5996
|
}
|
|
6068
5997
|
|
|
6069
5998
|
function deserializeBoxTSThisParameter(pos) {
|
|
6070
|
-
return deserializeTSThisParameter(
|
|
5999
|
+
return deserializeTSThisParameter(int32[pos >> 2]);
|
|
6071
6000
|
}
|
|
6072
6001
|
|
|
6073
6002
|
function deserializeOptionBoxTSThisParameter(pos) {
|
|
6074
|
-
return
|
|
6003
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6075
6004
|
? null
|
|
6076
6005
|
: deserializeBoxTSThisParameter(pos);
|
|
6077
6006
|
}
|
|
6078
6007
|
|
|
6079
6008
|
function deserializeBoxFormalParameters(pos) {
|
|
6080
|
-
return deserializeFormalParameters(
|
|
6009
|
+
return deserializeFormalParameters(int32[pos >> 2]);
|
|
6081
6010
|
}
|
|
6082
6011
|
|
|
6083
6012
|
function deserializeBoxFunctionBody(pos) {
|
|
6084
|
-
return deserializeFunctionBody(
|
|
6013
|
+
return deserializeFunctionBody(int32[pos >> 2]);
|
|
6085
6014
|
}
|
|
6086
6015
|
|
|
6087
6016
|
function deserializeOptionBoxFunctionBody(pos) {
|
|
6088
|
-
return
|
|
6017
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6089
6018
|
? null
|
|
6090
6019
|
: deserializeBoxFunctionBody(pos);
|
|
6091
6020
|
}
|
|
@@ -6093,8 +6022,8 @@ function deserializeOptionBoxFunctionBody(pos) {
|
|
|
6093
6022
|
function deserializeVecFormalParameter(pos) {
|
|
6094
6023
|
let arr = [],
|
|
6095
6024
|
pos32 = pos >> 2;
|
|
6096
|
-
pos =
|
|
6097
|
-
let endPos = pos +
|
|
6025
|
+
pos = int32[pos32];
|
|
6026
|
+
let endPos = pos + int32[pos32 + 2] * 72;
|
|
6098
6027
|
for (; pos !== endPos; ) {
|
|
6099
6028
|
arr.push(deserializeFormalParameter(pos));
|
|
6100
6029
|
pos += 72;
|
|
@@ -6105,8 +6034,8 @@ function deserializeVecFormalParameter(pos) {
|
|
|
6105
6034
|
function deserializeVecDecorator(pos) {
|
|
6106
6035
|
let arr = [],
|
|
6107
6036
|
pos32 = pos >> 2;
|
|
6108
|
-
pos =
|
|
6109
|
-
let endPos = pos +
|
|
6037
|
+
pos = int32[pos32];
|
|
6038
|
+
let endPos = pos + (int32[pos32 + 2] << 5);
|
|
6110
6039
|
for (; pos !== endPos; ) {
|
|
6111
6040
|
arr.push(deserializeDecorator(pos));
|
|
6112
6041
|
pos += 32;
|
|
@@ -6115,11 +6044,11 @@ function deserializeVecDecorator(pos) {
|
|
|
6115
6044
|
}
|
|
6116
6045
|
|
|
6117
6046
|
function deserializeBoxExpression(pos) {
|
|
6118
|
-
return deserializeExpression(
|
|
6047
|
+
return deserializeExpression(int32[pos >> 2]);
|
|
6119
6048
|
}
|
|
6120
6049
|
|
|
6121
6050
|
function deserializeOptionBoxExpression(pos) {
|
|
6122
|
-
return
|
|
6051
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6123
6052
|
? null
|
|
6124
6053
|
: deserializeBoxExpression(pos);
|
|
6125
6054
|
}
|
|
@@ -6131,8 +6060,8 @@ function deserializeOptionTSAccessibility(pos) {
|
|
|
6131
6060
|
function deserializeVecTSClassImplements(pos) {
|
|
6132
6061
|
let arr = [],
|
|
6133
6062
|
pos32 = pos >> 2;
|
|
6134
|
-
pos =
|
|
6135
|
-
let endPos = pos +
|
|
6063
|
+
pos = int32[pos32];
|
|
6064
|
+
let endPos = pos + int32[pos32 + 2] * 40;
|
|
6136
6065
|
for (; pos !== endPos; ) {
|
|
6137
6066
|
arr.push(deserializeTSClassImplements(pos));
|
|
6138
6067
|
pos += 40;
|
|
@@ -6141,14 +6070,14 @@ function deserializeVecTSClassImplements(pos) {
|
|
|
6141
6070
|
}
|
|
6142
6071
|
|
|
6143
6072
|
function deserializeBoxClassBody(pos) {
|
|
6144
|
-
return deserializeClassBody(
|
|
6073
|
+
return deserializeClassBody(int32[pos >> 2]);
|
|
6145
6074
|
}
|
|
6146
6075
|
|
|
6147
6076
|
function deserializeVecClassElement(pos) {
|
|
6148
6077
|
let arr = [],
|
|
6149
6078
|
pos32 = pos >> 2;
|
|
6150
|
-
pos =
|
|
6151
|
-
let endPos = pos +
|
|
6079
|
+
pos = int32[pos32];
|
|
6080
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6152
6081
|
for (; pos !== endPos; ) {
|
|
6153
6082
|
arr.push(deserializeClassElement(pos));
|
|
6154
6083
|
pos += 16;
|
|
@@ -6157,47 +6086,47 @@ function deserializeVecClassElement(pos) {
|
|
|
6157
6086
|
}
|
|
6158
6087
|
|
|
6159
6088
|
function deserializeBoxStaticBlock(pos) {
|
|
6160
|
-
return deserializeStaticBlock(
|
|
6089
|
+
return deserializeStaticBlock(int32[pos >> 2]);
|
|
6161
6090
|
}
|
|
6162
6091
|
|
|
6163
6092
|
function deserializeBoxMethodDefinition(pos) {
|
|
6164
|
-
return deserializeMethodDefinition(
|
|
6093
|
+
return deserializeMethodDefinition(int32[pos >> 2]);
|
|
6165
6094
|
}
|
|
6166
6095
|
|
|
6167
6096
|
function deserializeBoxPropertyDefinition(pos) {
|
|
6168
|
-
return deserializePropertyDefinition(
|
|
6097
|
+
return deserializePropertyDefinition(int32[pos >> 2]);
|
|
6169
6098
|
}
|
|
6170
6099
|
|
|
6171
6100
|
function deserializeBoxAccessorProperty(pos) {
|
|
6172
|
-
return deserializeAccessorProperty(
|
|
6101
|
+
return deserializeAccessorProperty(int32[pos >> 2]);
|
|
6173
6102
|
}
|
|
6174
6103
|
|
|
6175
6104
|
function deserializeBoxTSIndexSignature(pos) {
|
|
6176
|
-
return deserializeTSIndexSignature(
|
|
6105
|
+
return deserializeTSIndexSignature(int32[pos >> 2]);
|
|
6177
6106
|
}
|
|
6178
6107
|
|
|
6179
6108
|
function deserializeBoxImportDeclaration(pos) {
|
|
6180
|
-
return deserializeImportDeclaration(
|
|
6109
|
+
return deserializeImportDeclaration(int32[pos >> 2]);
|
|
6181
6110
|
}
|
|
6182
6111
|
|
|
6183
6112
|
function deserializeBoxExportAllDeclaration(pos) {
|
|
6184
|
-
return deserializeExportAllDeclaration(
|
|
6113
|
+
return deserializeExportAllDeclaration(int32[pos >> 2]);
|
|
6185
6114
|
}
|
|
6186
6115
|
|
|
6187
6116
|
function deserializeBoxExportDefaultDeclaration(pos) {
|
|
6188
|
-
return deserializeExportDefaultDeclaration(
|
|
6117
|
+
return deserializeExportDefaultDeclaration(int32[pos >> 2]);
|
|
6189
6118
|
}
|
|
6190
6119
|
|
|
6191
6120
|
function deserializeBoxExportNamedDeclaration(pos) {
|
|
6192
|
-
return deserializeExportNamedDeclaration(
|
|
6121
|
+
return deserializeExportNamedDeclaration(int32[pos >> 2]);
|
|
6193
6122
|
}
|
|
6194
6123
|
|
|
6195
6124
|
function deserializeBoxTSExportAssignment(pos) {
|
|
6196
|
-
return deserializeTSExportAssignment(
|
|
6125
|
+
return deserializeTSExportAssignment(int32[pos >> 2]);
|
|
6197
6126
|
}
|
|
6198
6127
|
|
|
6199
6128
|
function deserializeBoxTSNamespaceExportDeclaration(pos) {
|
|
6200
|
-
return deserializeTSNamespaceExportDeclaration(
|
|
6129
|
+
return deserializeTSNamespaceExportDeclaration(int32[pos >> 2]);
|
|
6201
6130
|
}
|
|
6202
6131
|
|
|
6203
6132
|
function deserializeOptionImportPhase(pos) {
|
|
@@ -6207,8 +6136,8 @@ function deserializeOptionImportPhase(pos) {
|
|
|
6207
6136
|
function deserializeVecImportDeclarationSpecifier(pos) {
|
|
6208
6137
|
let arr = [],
|
|
6209
6138
|
pos32 = pos >> 2;
|
|
6210
|
-
pos =
|
|
6211
|
-
let endPos = pos +
|
|
6139
|
+
pos = int32[pos32];
|
|
6140
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6212
6141
|
for (; pos !== endPos; ) {
|
|
6213
6142
|
arr.push(deserializeImportDeclarationSpecifier(pos));
|
|
6214
6143
|
pos += 16;
|
|
@@ -6217,38 +6146,38 @@ function deserializeVecImportDeclarationSpecifier(pos) {
|
|
|
6217
6146
|
}
|
|
6218
6147
|
|
|
6219
6148
|
function deserializeOptionVecImportDeclarationSpecifier(pos) {
|
|
6220
|
-
return
|
|
6149
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6221
6150
|
? null
|
|
6222
6151
|
: deserializeVecImportDeclarationSpecifier(pos);
|
|
6223
6152
|
}
|
|
6224
6153
|
|
|
6225
6154
|
function deserializeBoxWithClause(pos) {
|
|
6226
|
-
return deserializeWithClause(
|
|
6155
|
+
return deserializeWithClause(int32[pos >> 2]);
|
|
6227
6156
|
}
|
|
6228
6157
|
|
|
6229
6158
|
function deserializeOptionBoxWithClause(pos) {
|
|
6230
|
-
return
|
|
6159
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6231
6160
|
? null
|
|
6232
6161
|
: deserializeBoxWithClause(pos);
|
|
6233
6162
|
}
|
|
6234
6163
|
|
|
6235
6164
|
function deserializeBoxImportSpecifier(pos) {
|
|
6236
|
-
return deserializeImportSpecifier(
|
|
6165
|
+
return deserializeImportSpecifier(int32[pos >> 2]);
|
|
6237
6166
|
}
|
|
6238
6167
|
|
|
6239
6168
|
function deserializeBoxImportDefaultSpecifier(pos) {
|
|
6240
|
-
return deserializeImportDefaultSpecifier(
|
|
6169
|
+
return deserializeImportDefaultSpecifier(int32[pos >> 2]);
|
|
6241
6170
|
}
|
|
6242
6171
|
|
|
6243
6172
|
function deserializeBoxImportNamespaceSpecifier(pos) {
|
|
6244
|
-
return deserializeImportNamespaceSpecifier(
|
|
6173
|
+
return deserializeImportNamespaceSpecifier(int32[pos >> 2]);
|
|
6245
6174
|
}
|
|
6246
6175
|
|
|
6247
6176
|
function deserializeVecImportAttribute(pos) {
|
|
6248
6177
|
let arr = [],
|
|
6249
6178
|
pos32 = pos >> 2;
|
|
6250
|
-
pos =
|
|
6251
|
-
let endPos = pos +
|
|
6179
|
+
pos = int32[pos32];
|
|
6180
|
+
let endPos = pos + int32[pos32 + 2] * 120;
|
|
6252
6181
|
for (; pos !== endPos; ) {
|
|
6253
6182
|
arr.push(deserializeImportAttribute(pos));
|
|
6254
6183
|
pos += 120;
|
|
@@ -6263,8 +6192,8 @@ function deserializeOptionDeclaration(pos) {
|
|
|
6263
6192
|
function deserializeVecExportSpecifier(pos) {
|
|
6264
6193
|
let arr = [],
|
|
6265
6194
|
pos32 = pos >> 2;
|
|
6266
|
-
pos =
|
|
6267
|
-
let endPos = pos +
|
|
6195
|
+
pos = int32[pos32];
|
|
6196
|
+
let endPos = pos + (int32[pos32 + 2] << 7);
|
|
6268
6197
|
for (; pos !== endPos; ) {
|
|
6269
6198
|
arr.push(deserializeExportSpecifier(pos));
|
|
6270
6199
|
pos += 128;
|
|
@@ -6289,14 +6218,14 @@ function deserializeU8(pos) {
|
|
|
6289
6218
|
}
|
|
6290
6219
|
|
|
6291
6220
|
function deserializeBoxJSXOpeningElement(pos) {
|
|
6292
|
-
return deserializeJSXOpeningElement(
|
|
6221
|
+
return deserializeJSXOpeningElement(int32[pos >> 2]);
|
|
6293
6222
|
}
|
|
6294
6223
|
|
|
6295
6224
|
function deserializeVecJSXChild(pos) {
|
|
6296
6225
|
let arr = [],
|
|
6297
6226
|
pos32 = pos >> 2;
|
|
6298
|
-
pos =
|
|
6299
|
-
let endPos = pos +
|
|
6227
|
+
pos = int32[pos32];
|
|
6228
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6300
6229
|
for (; pos !== endPos; ) {
|
|
6301
6230
|
arr.push(deserializeJSXChild(pos));
|
|
6302
6231
|
pos += 16;
|
|
@@ -6305,11 +6234,11 @@ function deserializeVecJSXChild(pos) {
|
|
|
6305
6234
|
}
|
|
6306
6235
|
|
|
6307
6236
|
function deserializeBoxJSXClosingElement(pos) {
|
|
6308
|
-
return deserializeJSXClosingElement(
|
|
6237
|
+
return deserializeJSXClosingElement(int32[pos >> 2]);
|
|
6309
6238
|
}
|
|
6310
6239
|
|
|
6311
6240
|
function deserializeOptionBoxJSXClosingElement(pos) {
|
|
6312
|
-
return
|
|
6241
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6313
6242
|
? null
|
|
6314
6243
|
: deserializeBoxJSXClosingElement(pos);
|
|
6315
6244
|
}
|
|
@@ -6317,8 +6246,8 @@ function deserializeOptionBoxJSXClosingElement(pos) {
|
|
|
6317
6246
|
function deserializeVecJSXAttributeItem(pos) {
|
|
6318
6247
|
let arr = [],
|
|
6319
6248
|
pos32 = pos >> 2;
|
|
6320
|
-
pos =
|
|
6321
|
-
let endPos = pos +
|
|
6249
|
+
pos = int32[pos32];
|
|
6250
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6322
6251
|
for (; pos !== endPos; ) {
|
|
6323
6252
|
arr.push(deserializeJSXAttributeItem(pos));
|
|
6324
6253
|
pos += 16;
|
|
@@ -6327,23 +6256,23 @@ function deserializeVecJSXAttributeItem(pos) {
|
|
|
6327
6256
|
}
|
|
6328
6257
|
|
|
6329
6258
|
function deserializeBoxJSXIdentifier(pos) {
|
|
6330
|
-
return deserializeJSXIdentifier(
|
|
6259
|
+
return deserializeJSXIdentifier(int32[pos >> 2]);
|
|
6331
6260
|
}
|
|
6332
6261
|
|
|
6333
6262
|
function deserializeBoxJSXNamespacedName(pos) {
|
|
6334
|
-
return deserializeJSXNamespacedName(
|
|
6263
|
+
return deserializeJSXNamespacedName(int32[pos >> 2]);
|
|
6335
6264
|
}
|
|
6336
6265
|
|
|
6337
6266
|
function deserializeBoxJSXMemberExpression(pos) {
|
|
6338
|
-
return deserializeJSXMemberExpression(
|
|
6267
|
+
return deserializeJSXMemberExpression(int32[pos >> 2]);
|
|
6339
6268
|
}
|
|
6340
6269
|
|
|
6341
6270
|
function deserializeBoxJSXAttribute(pos) {
|
|
6342
|
-
return deserializeJSXAttribute(
|
|
6271
|
+
return deserializeJSXAttribute(int32[pos >> 2]);
|
|
6343
6272
|
}
|
|
6344
6273
|
|
|
6345
6274
|
function deserializeBoxJSXSpreadAttribute(pos) {
|
|
6346
|
-
return deserializeJSXSpreadAttribute(
|
|
6275
|
+
return deserializeJSXSpreadAttribute(int32[pos >> 2]);
|
|
6347
6276
|
}
|
|
6348
6277
|
|
|
6349
6278
|
function deserializeOptionJSXAttributeValue(pos) {
|
|
@@ -6351,22 +6280,22 @@ function deserializeOptionJSXAttributeValue(pos) {
|
|
|
6351
6280
|
}
|
|
6352
6281
|
|
|
6353
6282
|
function deserializeBoxJSXExpressionContainer(pos) {
|
|
6354
|
-
return deserializeJSXExpressionContainer(
|
|
6283
|
+
return deserializeJSXExpressionContainer(int32[pos >> 2]);
|
|
6355
6284
|
}
|
|
6356
6285
|
|
|
6357
6286
|
function deserializeBoxJSXText(pos) {
|
|
6358
|
-
return deserializeJSXText(
|
|
6287
|
+
return deserializeJSXText(int32[pos >> 2]);
|
|
6359
6288
|
}
|
|
6360
6289
|
|
|
6361
6290
|
function deserializeBoxJSXSpreadChild(pos) {
|
|
6362
|
-
return deserializeJSXSpreadChild(
|
|
6291
|
+
return deserializeJSXSpreadChild(int32[pos >> 2]);
|
|
6363
6292
|
}
|
|
6364
6293
|
|
|
6365
6294
|
function deserializeVecTSEnumMember(pos) {
|
|
6366
6295
|
let arr = [],
|
|
6367
6296
|
pos32 = pos >> 2;
|
|
6368
|
-
pos =
|
|
6369
|
-
let endPos = pos +
|
|
6297
|
+
pos = int32[pos32];
|
|
6298
|
+
let endPos = pos + int32[pos32 + 2] * 48;
|
|
6370
6299
|
for (; pos !== endPos; ) {
|
|
6371
6300
|
arr.push(deserializeTSEnumMember(pos));
|
|
6372
6301
|
pos += 48;
|
|
@@ -6375,158 +6304,158 @@ function deserializeVecTSEnumMember(pos) {
|
|
|
6375
6304
|
}
|
|
6376
6305
|
|
|
6377
6306
|
function deserializeBoxTSAnyKeyword(pos) {
|
|
6378
|
-
return deserializeTSAnyKeyword(
|
|
6307
|
+
return deserializeTSAnyKeyword(int32[pos >> 2]);
|
|
6379
6308
|
}
|
|
6380
6309
|
|
|
6381
6310
|
function deserializeBoxTSBigIntKeyword(pos) {
|
|
6382
|
-
return deserializeTSBigIntKeyword(
|
|
6311
|
+
return deserializeTSBigIntKeyword(int32[pos >> 2]);
|
|
6383
6312
|
}
|
|
6384
6313
|
|
|
6385
6314
|
function deserializeBoxTSBooleanKeyword(pos) {
|
|
6386
|
-
return deserializeTSBooleanKeyword(
|
|
6315
|
+
return deserializeTSBooleanKeyword(int32[pos >> 2]);
|
|
6387
6316
|
}
|
|
6388
6317
|
|
|
6389
6318
|
function deserializeBoxTSIntrinsicKeyword(pos) {
|
|
6390
|
-
return deserializeTSIntrinsicKeyword(
|
|
6319
|
+
return deserializeTSIntrinsicKeyword(int32[pos >> 2]);
|
|
6391
6320
|
}
|
|
6392
6321
|
|
|
6393
6322
|
function deserializeBoxTSNeverKeyword(pos) {
|
|
6394
|
-
return deserializeTSNeverKeyword(
|
|
6323
|
+
return deserializeTSNeverKeyword(int32[pos >> 2]);
|
|
6395
6324
|
}
|
|
6396
6325
|
|
|
6397
6326
|
function deserializeBoxTSNullKeyword(pos) {
|
|
6398
|
-
return deserializeTSNullKeyword(
|
|
6327
|
+
return deserializeTSNullKeyword(int32[pos >> 2]);
|
|
6399
6328
|
}
|
|
6400
6329
|
|
|
6401
6330
|
function deserializeBoxTSNumberKeyword(pos) {
|
|
6402
|
-
return deserializeTSNumberKeyword(
|
|
6331
|
+
return deserializeTSNumberKeyword(int32[pos >> 2]);
|
|
6403
6332
|
}
|
|
6404
6333
|
|
|
6405
6334
|
function deserializeBoxTSObjectKeyword(pos) {
|
|
6406
|
-
return deserializeTSObjectKeyword(
|
|
6335
|
+
return deserializeTSObjectKeyword(int32[pos >> 2]);
|
|
6407
6336
|
}
|
|
6408
6337
|
|
|
6409
6338
|
function deserializeBoxTSStringKeyword(pos) {
|
|
6410
|
-
return deserializeTSStringKeyword(
|
|
6339
|
+
return deserializeTSStringKeyword(int32[pos >> 2]);
|
|
6411
6340
|
}
|
|
6412
6341
|
|
|
6413
6342
|
function deserializeBoxTSSymbolKeyword(pos) {
|
|
6414
|
-
return deserializeTSSymbolKeyword(
|
|
6343
|
+
return deserializeTSSymbolKeyword(int32[pos >> 2]);
|
|
6415
6344
|
}
|
|
6416
6345
|
|
|
6417
6346
|
function deserializeBoxTSUndefinedKeyword(pos) {
|
|
6418
|
-
return deserializeTSUndefinedKeyword(
|
|
6347
|
+
return deserializeTSUndefinedKeyword(int32[pos >> 2]);
|
|
6419
6348
|
}
|
|
6420
6349
|
|
|
6421
6350
|
function deserializeBoxTSUnknownKeyword(pos) {
|
|
6422
|
-
return deserializeTSUnknownKeyword(
|
|
6351
|
+
return deserializeTSUnknownKeyword(int32[pos >> 2]);
|
|
6423
6352
|
}
|
|
6424
6353
|
|
|
6425
6354
|
function deserializeBoxTSVoidKeyword(pos) {
|
|
6426
|
-
return deserializeTSVoidKeyword(
|
|
6355
|
+
return deserializeTSVoidKeyword(int32[pos >> 2]);
|
|
6427
6356
|
}
|
|
6428
6357
|
|
|
6429
6358
|
function deserializeBoxTSArrayType(pos) {
|
|
6430
|
-
return deserializeTSArrayType(
|
|
6359
|
+
return deserializeTSArrayType(int32[pos >> 2]);
|
|
6431
6360
|
}
|
|
6432
6361
|
|
|
6433
6362
|
function deserializeBoxTSConditionalType(pos) {
|
|
6434
|
-
return deserializeTSConditionalType(
|
|
6363
|
+
return deserializeTSConditionalType(int32[pos >> 2]);
|
|
6435
6364
|
}
|
|
6436
6365
|
|
|
6437
6366
|
function deserializeBoxTSConstructorType(pos) {
|
|
6438
|
-
return deserializeTSConstructorType(
|
|
6367
|
+
return deserializeTSConstructorType(int32[pos >> 2]);
|
|
6439
6368
|
}
|
|
6440
6369
|
|
|
6441
6370
|
function deserializeBoxTSFunctionType(pos) {
|
|
6442
|
-
return deserializeTSFunctionType(
|
|
6371
|
+
return deserializeTSFunctionType(int32[pos >> 2]);
|
|
6443
6372
|
}
|
|
6444
6373
|
|
|
6445
6374
|
function deserializeBoxTSImportType(pos) {
|
|
6446
|
-
return deserializeTSImportType(
|
|
6375
|
+
return deserializeTSImportType(int32[pos >> 2]);
|
|
6447
6376
|
}
|
|
6448
6377
|
|
|
6449
6378
|
function deserializeBoxTSIndexedAccessType(pos) {
|
|
6450
|
-
return deserializeTSIndexedAccessType(
|
|
6379
|
+
return deserializeTSIndexedAccessType(int32[pos >> 2]);
|
|
6451
6380
|
}
|
|
6452
6381
|
|
|
6453
6382
|
function deserializeBoxTSInferType(pos) {
|
|
6454
|
-
return deserializeTSInferType(
|
|
6383
|
+
return deserializeTSInferType(int32[pos >> 2]);
|
|
6455
6384
|
}
|
|
6456
6385
|
|
|
6457
6386
|
function deserializeBoxTSIntersectionType(pos) {
|
|
6458
|
-
return deserializeTSIntersectionType(
|
|
6387
|
+
return deserializeTSIntersectionType(int32[pos >> 2]);
|
|
6459
6388
|
}
|
|
6460
6389
|
|
|
6461
6390
|
function deserializeBoxTSLiteralType(pos) {
|
|
6462
|
-
return deserializeTSLiteralType(
|
|
6391
|
+
return deserializeTSLiteralType(int32[pos >> 2]);
|
|
6463
6392
|
}
|
|
6464
6393
|
|
|
6465
6394
|
function deserializeBoxTSMappedType(pos) {
|
|
6466
|
-
return deserializeTSMappedType(
|
|
6395
|
+
return deserializeTSMappedType(int32[pos >> 2]);
|
|
6467
6396
|
}
|
|
6468
6397
|
|
|
6469
6398
|
function deserializeBoxTSNamedTupleMember(pos) {
|
|
6470
|
-
return deserializeTSNamedTupleMember(
|
|
6399
|
+
return deserializeTSNamedTupleMember(int32[pos >> 2]);
|
|
6471
6400
|
}
|
|
6472
6401
|
|
|
6473
6402
|
function deserializeBoxTSTemplateLiteralType(pos) {
|
|
6474
|
-
return deserializeTSTemplateLiteralType(
|
|
6403
|
+
return deserializeTSTemplateLiteralType(int32[pos >> 2]);
|
|
6475
6404
|
}
|
|
6476
6405
|
|
|
6477
6406
|
function deserializeBoxTSThisType(pos) {
|
|
6478
|
-
return deserializeTSThisType(
|
|
6407
|
+
return deserializeTSThisType(int32[pos >> 2]);
|
|
6479
6408
|
}
|
|
6480
6409
|
|
|
6481
6410
|
function deserializeBoxTSTupleType(pos) {
|
|
6482
|
-
return deserializeTSTupleType(
|
|
6411
|
+
return deserializeTSTupleType(int32[pos >> 2]);
|
|
6483
6412
|
}
|
|
6484
6413
|
|
|
6485
6414
|
function deserializeBoxTSTypeLiteral(pos) {
|
|
6486
|
-
return deserializeTSTypeLiteral(
|
|
6415
|
+
return deserializeTSTypeLiteral(int32[pos >> 2]);
|
|
6487
6416
|
}
|
|
6488
6417
|
|
|
6489
6418
|
function deserializeBoxTSTypeOperator(pos) {
|
|
6490
|
-
return deserializeTSTypeOperator(
|
|
6419
|
+
return deserializeTSTypeOperator(int32[pos >> 2]);
|
|
6491
6420
|
}
|
|
6492
6421
|
|
|
6493
6422
|
function deserializeBoxTSTypePredicate(pos) {
|
|
6494
|
-
return deserializeTSTypePredicate(
|
|
6423
|
+
return deserializeTSTypePredicate(int32[pos >> 2]);
|
|
6495
6424
|
}
|
|
6496
6425
|
|
|
6497
6426
|
function deserializeBoxTSTypeQuery(pos) {
|
|
6498
|
-
return deserializeTSTypeQuery(
|
|
6427
|
+
return deserializeTSTypeQuery(int32[pos >> 2]);
|
|
6499
6428
|
}
|
|
6500
6429
|
|
|
6501
6430
|
function deserializeBoxTSTypeReference(pos) {
|
|
6502
|
-
return deserializeTSTypeReference(
|
|
6431
|
+
return deserializeTSTypeReference(int32[pos >> 2]);
|
|
6503
6432
|
}
|
|
6504
6433
|
|
|
6505
6434
|
function deserializeBoxTSUnionType(pos) {
|
|
6506
|
-
return deserializeTSUnionType(
|
|
6435
|
+
return deserializeTSUnionType(int32[pos >> 2]);
|
|
6507
6436
|
}
|
|
6508
6437
|
|
|
6509
6438
|
function deserializeBoxTSParenthesizedType(pos) {
|
|
6510
|
-
return deserializeTSParenthesizedType(
|
|
6439
|
+
return deserializeTSParenthesizedType(int32[pos >> 2]);
|
|
6511
6440
|
}
|
|
6512
6441
|
|
|
6513
6442
|
function deserializeBoxJSDocNullableType(pos) {
|
|
6514
|
-
return deserializeJSDocNullableType(
|
|
6443
|
+
return deserializeJSDocNullableType(int32[pos >> 2]);
|
|
6515
6444
|
}
|
|
6516
6445
|
|
|
6517
6446
|
function deserializeBoxJSDocNonNullableType(pos) {
|
|
6518
|
-
return deserializeJSDocNonNullableType(
|
|
6447
|
+
return deserializeJSDocNonNullableType(int32[pos >> 2]);
|
|
6519
6448
|
}
|
|
6520
6449
|
|
|
6521
6450
|
function deserializeBoxJSDocUnknownType(pos) {
|
|
6522
|
-
return deserializeJSDocUnknownType(
|
|
6451
|
+
return deserializeJSDocUnknownType(int32[pos >> 2]);
|
|
6523
6452
|
}
|
|
6524
6453
|
|
|
6525
6454
|
function deserializeVecTSType(pos) {
|
|
6526
6455
|
let arr = [],
|
|
6527
6456
|
pos32 = pos >> 2;
|
|
6528
|
-
pos =
|
|
6529
|
-
let endPos = pos +
|
|
6457
|
+
pos = int32[pos32];
|
|
6458
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6530
6459
|
for (; pos !== endPos; ) {
|
|
6531
6460
|
arr.push(deserializeTSType(pos));
|
|
6532
6461
|
pos += 16;
|
|
@@ -6537,8 +6466,8 @@ function deserializeVecTSType(pos) {
|
|
|
6537
6466
|
function deserializeVecTSTupleElement(pos) {
|
|
6538
6467
|
let arr = [],
|
|
6539
6468
|
pos32 = pos >> 2;
|
|
6540
|
-
pos =
|
|
6541
|
-
let endPos = pos +
|
|
6469
|
+
pos = int32[pos32];
|
|
6470
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6542
6471
|
for (; pos !== endPos; ) {
|
|
6543
6472
|
arr.push(deserializeTSTupleElement(pos));
|
|
6544
6473
|
pos += 16;
|
|
@@ -6547,15 +6476,15 @@ function deserializeVecTSTupleElement(pos) {
|
|
|
6547
6476
|
}
|
|
6548
6477
|
|
|
6549
6478
|
function deserializeBoxTSOptionalType(pos) {
|
|
6550
|
-
return deserializeTSOptionalType(
|
|
6479
|
+
return deserializeTSOptionalType(int32[pos >> 2]);
|
|
6551
6480
|
}
|
|
6552
6481
|
|
|
6553
6482
|
function deserializeBoxTSRestType(pos) {
|
|
6554
|
-
return deserializeTSRestType(
|
|
6483
|
+
return deserializeTSRestType(int32[pos >> 2]);
|
|
6555
6484
|
}
|
|
6556
6485
|
|
|
6557
6486
|
function deserializeBoxTSQualifiedName(pos) {
|
|
6558
|
-
return deserializeTSQualifiedName(
|
|
6487
|
+
return deserializeTSQualifiedName(int32[pos >> 2]);
|
|
6559
6488
|
}
|
|
6560
6489
|
|
|
6561
6490
|
function deserializeOptionTSType(pos) {
|
|
@@ -6565,8 +6494,8 @@ function deserializeOptionTSType(pos) {
|
|
|
6565
6494
|
function deserializeVecTSTypeParameter(pos) {
|
|
6566
6495
|
let arr = [],
|
|
6567
6496
|
pos32 = pos >> 2;
|
|
6568
|
-
pos =
|
|
6569
|
-
let endPos = pos +
|
|
6497
|
+
pos = int32[pos32];
|
|
6498
|
+
let endPos = pos + int32[pos32 + 2] * 80;
|
|
6570
6499
|
for (; pos !== endPos; ) {
|
|
6571
6500
|
arr.push(deserializeTSTypeParameter(pos));
|
|
6572
6501
|
pos += 80;
|
|
@@ -6577,8 +6506,8 @@ function deserializeVecTSTypeParameter(pos) {
|
|
|
6577
6506
|
function deserializeVecTSInterfaceHeritage(pos) {
|
|
6578
6507
|
let arr = [],
|
|
6579
6508
|
pos32 = pos >> 2;
|
|
6580
|
-
pos =
|
|
6581
|
-
let endPos = pos +
|
|
6509
|
+
pos = int32[pos32];
|
|
6510
|
+
let endPos = pos + int32[pos32 + 2] * 40;
|
|
6582
6511
|
for (; pos !== endPos; ) {
|
|
6583
6512
|
arr.push(deserializeTSInterfaceHeritage(pos));
|
|
6584
6513
|
pos += 40;
|
|
@@ -6587,14 +6516,14 @@ function deserializeVecTSInterfaceHeritage(pos) {
|
|
|
6587
6516
|
}
|
|
6588
6517
|
|
|
6589
6518
|
function deserializeBoxTSInterfaceBody(pos) {
|
|
6590
|
-
return deserializeTSInterfaceBody(
|
|
6519
|
+
return deserializeTSInterfaceBody(int32[pos >> 2]);
|
|
6591
6520
|
}
|
|
6592
6521
|
|
|
6593
6522
|
function deserializeVecTSSignature(pos) {
|
|
6594
6523
|
let arr = [],
|
|
6595
6524
|
pos32 = pos >> 2;
|
|
6596
|
-
pos =
|
|
6597
|
-
let endPos = pos +
|
|
6525
|
+
pos = int32[pos32];
|
|
6526
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6598
6527
|
for (; pos !== endPos; ) {
|
|
6599
6528
|
arr.push(deserializeTSSignature(pos));
|
|
6600
6529
|
pos += 16;
|
|
@@ -6603,26 +6532,26 @@ function deserializeVecTSSignature(pos) {
|
|
|
6603
6532
|
}
|
|
6604
6533
|
|
|
6605
6534
|
function deserializeBoxTSPropertySignature(pos) {
|
|
6606
|
-
return deserializeTSPropertySignature(
|
|
6535
|
+
return deserializeTSPropertySignature(int32[pos >> 2]);
|
|
6607
6536
|
}
|
|
6608
6537
|
|
|
6609
6538
|
function deserializeBoxTSCallSignatureDeclaration(pos) {
|
|
6610
|
-
return deserializeTSCallSignatureDeclaration(
|
|
6539
|
+
return deserializeTSCallSignatureDeclaration(int32[pos >> 2]);
|
|
6611
6540
|
}
|
|
6612
6541
|
|
|
6613
6542
|
function deserializeBoxTSConstructSignatureDeclaration(pos) {
|
|
6614
|
-
return deserializeTSConstructSignatureDeclaration(
|
|
6543
|
+
return deserializeTSConstructSignatureDeclaration(int32[pos >> 2]);
|
|
6615
6544
|
}
|
|
6616
6545
|
|
|
6617
6546
|
function deserializeBoxTSMethodSignature(pos) {
|
|
6618
|
-
return deserializeTSMethodSignature(
|
|
6547
|
+
return deserializeTSMethodSignature(int32[pos >> 2]);
|
|
6619
6548
|
}
|
|
6620
6549
|
|
|
6621
6550
|
function deserializeVecTSIndexSignatureName(pos) {
|
|
6622
6551
|
let arr = [],
|
|
6623
6552
|
pos32 = pos >> 2;
|
|
6624
|
-
pos =
|
|
6625
|
-
let endPos = pos +
|
|
6553
|
+
pos = int32[pos32];
|
|
6554
|
+
let endPos = pos + int32[pos32 + 2] * 40;
|
|
6626
6555
|
for (; pos !== endPos; ) {
|
|
6627
6556
|
arr.push(deserializeTSIndexSignatureName(pos));
|
|
6628
6557
|
pos += 40;
|
|
@@ -6635,15 +6564,15 @@ function deserializeOptionTSModuleDeclarationBody(pos) {
|
|
|
6635
6564
|
}
|
|
6636
6565
|
|
|
6637
6566
|
function deserializeBoxTSModuleBlock(pos) {
|
|
6638
|
-
return deserializeTSModuleBlock(
|
|
6567
|
+
return deserializeTSModuleBlock(int32[pos >> 2]);
|
|
6639
6568
|
}
|
|
6640
6569
|
|
|
6641
6570
|
function deserializeBoxTSTypeParameter(pos) {
|
|
6642
|
-
return deserializeTSTypeParameter(
|
|
6571
|
+
return deserializeTSTypeParameter(int32[pos >> 2]);
|
|
6643
6572
|
}
|
|
6644
6573
|
|
|
6645
6574
|
function deserializeOptionBoxObjectExpression(pos) {
|
|
6646
|
-
return
|
|
6575
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0
|
|
6647
6576
|
? null
|
|
6648
6577
|
: deserializeBoxObjectExpression(pos);
|
|
6649
6578
|
}
|
|
@@ -6653,7 +6582,7 @@ function deserializeOptionTSImportTypeQualifier(pos) {
|
|
|
6653
6582
|
}
|
|
6654
6583
|
|
|
6655
6584
|
function deserializeBoxTSImportTypeQualifiedName(pos) {
|
|
6656
|
-
return deserializeTSImportTypeQualifiedName(
|
|
6585
|
+
return deserializeTSImportTypeQualifiedName(int32[pos >> 2]);
|
|
6657
6586
|
}
|
|
6658
6587
|
|
|
6659
6588
|
function deserializeOptionTSMappedTypeModifierOperator(pos) {
|
|
@@ -6661,15 +6590,15 @@ function deserializeOptionTSMappedTypeModifierOperator(pos) {
|
|
|
6661
6590
|
}
|
|
6662
6591
|
|
|
6663
6592
|
function deserializeBoxTSExternalModuleReference(pos) {
|
|
6664
|
-
return deserializeTSExternalModuleReference(
|
|
6593
|
+
return deserializeTSExternalModuleReference(int32[pos >> 2]);
|
|
6665
6594
|
}
|
|
6666
6595
|
|
|
6667
|
-
function
|
|
6668
|
-
return
|
|
6596
|
+
function deserializeI32(pos) {
|
|
6597
|
+
return int32[pos >> 2];
|
|
6669
6598
|
}
|
|
6670
6599
|
|
|
6671
6600
|
function deserializeOptionNameSpan(pos) {
|
|
6672
|
-
return
|
|
6601
|
+
return int32[(pos >> 2) + 2] === 0 && int32[(pos >> 2) + 3] === 0
|
|
6673
6602
|
? null
|
|
6674
6603
|
: deserializeNameSpan(pos);
|
|
6675
6604
|
}
|
|
@@ -6677,8 +6606,8 @@ function deserializeOptionNameSpan(pos) {
|
|
|
6677
6606
|
function deserializeVecError(pos) {
|
|
6678
6607
|
let arr = [],
|
|
6679
6608
|
pos32 = pos >> 2;
|
|
6680
|
-
pos =
|
|
6681
|
-
let endPos = pos +
|
|
6609
|
+
pos = int32[pos32];
|
|
6610
|
+
let endPos = pos + int32[pos32 + 2] * 80;
|
|
6682
6611
|
for (; pos !== endPos; ) {
|
|
6683
6612
|
arr.push(deserializeError(pos));
|
|
6684
6613
|
pos += 80;
|
|
@@ -6689,8 +6618,8 @@ function deserializeVecError(pos) {
|
|
|
6689
6618
|
function deserializeVecErrorLabel(pos) {
|
|
6690
6619
|
let arr = [],
|
|
6691
6620
|
pos32 = pos >> 2;
|
|
6692
|
-
pos =
|
|
6693
|
-
let endPos = pos +
|
|
6621
|
+
pos = int32[pos32];
|
|
6622
|
+
let endPos = pos + int32[pos32 + 2] * 24;
|
|
6694
6623
|
for (; pos !== endPos; ) {
|
|
6695
6624
|
arr.push(deserializeErrorLabel(pos));
|
|
6696
6625
|
pos += 24;
|
|
@@ -6701,8 +6630,8 @@ function deserializeVecErrorLabel(pos) {
|
|
|
6701
6630
|
function deserializeVecStaticImport(pos) {
|
|
6702
6631
|
let arr = [],
|
|
6703
6632
|
pos32 = pos >> 2;
|
|
6704
|
-
pos =
|
|
6705
|
-
let endPos = pos +
|
|
6633
|
+
pos = int32[pos32];
|
|
6634
|
+
let endPos = pos + int32[pos32 + 2] * 56;
|
|
6706
6635
|
for (; pos !== endPos; ) {
|
|
6707
6636
|
arr.push(deserializeStaticImport(pos));
|
|
6708
6637
|
pos += 56;
|
|
@@ -6713,8 +6642,8 @@ function deserializeVecStaticImport(pos) {
|
|
|
6713
6642
|
function deserializeVecStaticExport(pos) {
|
|
6714
6643
|
let arr = [],
|
|
6715
6644
|
pos32 = pos >> 2;
|
|
6716
|
-
pos =
|
|
6717
|
-
let endPos = pos +
|
|
6645
|
+
pos = int32[pos32];
|
|
6646
|
+
let endPos = pos + (int32[pos32 + 2] << 5);
|
|
6718
6647
|
for (; pos !== endPos; ) {
|
|
6719
6648
|
arr.push(deserializeStaticExport(pos));
|
|
6720
6649
|
pos += 32;
|
|
@@ -6725,8 +6654,8 @@ function deserializeVecStaticExport(pos) {
|
|
|
6725
6654
|
function deserializeVecDynamicImport(pos) {
|
|
6726
6655
|
let arr = [],
|
|
6727
6656
|
pos32 = pos >> 2;
|
|
6728
|
-
pos =
|
|
6729
|
-
let endPos = pos +
|
|
6657
|
+
pos = int32[pos32];
|
|
6658
|
+
let endPos = pos + (int32[pos32 + 2] << 4);
|
|
6730
6659
|
for (; pos !== endPos; ) {
|
|
6731
6660
|
arr.push(deserializeDynamicImport(pos));
|
|
6732
6661
|
pos += 16;
|
|
@@ -6737,8 +6666,8 @@ function deserializeVecDynamicImport(pos) {
|
|
|
6737
6666
|
function deserializeVecSpan(pos) {
|
|
6738
6667
|
let arr = [],
|
|
6739
6668
|
pos32 = pos >> 2;
|
|
6740
|
-
pos =
|
|
6741
|
-
let endPos = pos +
|
|
6669
|
+
pos = int32[pos32];
|
|
6670
|
+
let endPos = pos + (int32[pos32 + 2] << 3);
|
|
6742
6671
|
for (; pos !== endPos; ) {
|
|
6743
6672
|
arr.push(deserializeSpan(pos));
|
|
6744
6673
|
pos += 8;
|
|
@@ -6749,8 +6678,8 @@ function deserializeVecSpan(pos) {
|
|
|
6749
6678
|
function deserializeVecImportEntry(pos) {
|
|
6750
6679
|
let arr = [],
|
|
6751
6680
|
pos32 = pos >> 2;
|
|
6752
|
-
pos =
|
|
6753
|
-
let endPos = pos +
|
|
6681
|
+
pos = int32[pos32];
|
|
6682
|
+
let endPos = pos + int32[pos32 + 2] * 96;
|
|
6754
6683
|
for (; pos !== endPos; ) {
|
|
6755
6684
|
arr.push(deserializeImportEntry(pos));
|
|
6756
6685
|
pos += 96;
|
|
@@ -6761,8 +6690,8 @@ function deserializeVecImportEntry(pos) {
|
|
|
6761
6690
|
function deserializeVecExportEntry(pos) {
|
|
6762
6691
|
let arr = [],
|
|
6763
6692
|
pos32 = pos >> 2;
|
|
6764
|
-
pos =
|
|
6765
|
-
let endPos = pos +
|
|
6693
|
+
pos = int32[pos32];
|
|
6694
|
+
let endPos = pos + int32[pos32 + 2] * 144;
|
|
6766
6695
|
for (; pos !== endPos; ) {
|
|
6767
6696
|
arr.push(deserializeExportEntry(pos));
|
|
6768
6697
|
pos += 144;
|