oxc-parser 0.95.0 → 0.97.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.
@@ -8,11 +8,9 @@ const textDecoder = new TextDecoder('utf-8', { ignoreBOM: true }),
8
8
  { fromCodePoint } = String;
9
9
 
10
10
  export function deserialize(buffer, sourceText, sourceByteLen) {
11
- return deserializeWith(buffer, sourceText, sourceByteLen, null, deserializeRawTransferData);
12
- }
13
-
14
- export function deserializeProgramOnly(buffer, sourceText, sourceByteLen, getLoc) {
15
- return deserializeWith(buffer, sourceText, sourceByteLen, getLoc, deserializeProgram);
11
+ let data = deserializeWith(buffer, sourceText, sourceByteLen, null, deserializeRawTransferData);
12
+ resetBuffer();
13
+ return data;
16
14
  }
17
15
 
18
16
  function deserializeWith(buffer, sourceTextInput, sourceByteLenInput, getLocInput, deserialize) {
@@ -22,13 +20,12 @@ function deserializeWith(buffer, sourceTextInput, sourceByteLenInput, getLocInpu
22
20
  sourceText = sourceTextInput;
23
21
  sourceByteLen = sourceByteLenInput;
24
22
  sourceIsAscii = sourceText.length === sourceByteLen;
25
- let data = deserialize(uint32[536870902]);
26
- uint8 =
27
- uint32 =
28
- float64 =
29
- sourceText =
30
- void 0;
31
- return data;
23
+ return deserialize(uint32[536870902]);
24
+ }
25
+
26
+ export function resetBuffer() {
27
+ // Clear buffer and source text string to allow them to be garbage collected
28
+ uint8 = uint32 = float64 = sourceText = void 0;
32
29
  }
33
30
 
34
31
  function deserializeProgram(pos) {
@@ -42,7 +39,7 @@ function deserializeProgram(pos) {
42
39
  end,
43
40
  };
44
41
  program.hashbang = deserializeOptionHashbang(pos + 48);
45
- let body = program.body = deserializeVecDirective(pos + 72);
42
+ let body = (program.body = deserializeVecDirective(pos + 72));
46
43
  body.push(...deserializeVecStatement(pos + 96));
47
44
  {
48
45
  let start;
@@ -169,7 +166,6 @@ function deserializeIdentifierName(pos) {
169
166
  };
170
167
  node.decorators = [];
171
168
  node.optional = false;
172
- node.typeAnnotation = null;
173
169
  return node;
174
170
  }
175
171
 
@@ -187,7 +183,6 @@ function deserializeIdentifierReference(pos) {
187
183
  };
188
184
  node.decorators = [];
189
185
  node.optional = false;
190
- node.typeAnnotation = null;
191
186
  return node;
192
187
  }
193
188
 
@@ -205,7 +200,6 @@ function deserializeBindingIdentifier(pos) {
205
200
  };
206
201
  node.decorators = [];
207
202
  node.optional = false;
208
- node.typeAnnotation = null;
209
203
  return node;
210
204
  }
211
205
 
@@ -223,7 +217,6 @@ function deserializeLabelIdentifier(pos) {
223
217
  };
224
218
  node.decorators = [];
225
219
  node.optional = false;
226
- node.typeAnnotation = null;
227
220
  return node;
228
221
  }
229
222
 
@@ -533,7 +526,8 @@ function deserializeTemplateElement(pos) {
533
526
  start = deserializeU32(pos) - 1,
534
527
  end = deserializeU32(pos + 4) + 2 - tail,
535
528
  value = deserializeTemplateElementValue(pos + 8);
536
- value.cooked !== null && deserializeBool(pos + 41) &&
529
+ value.cooked !== null &&
530
+ deserializeBool(pos + 41) &&
537
531
  (value.cooked = value.cooked.replace(/\uFFFD(.{4})/g, (_, hex) => String.fromCodePoint(parseInt(hex, 16))));
538
532
  return {
539
533
  type: 'TemplateElement',
@@ -932,7 +926,6 @@ function deserializeArrayAssignmentTarget(pos) {
932
926
  node.decorators = [];
933
927
  node.elements = elements;
934
928
  node.optional = false;
935
- node.typeAnnotation = null;
936
929
  return node;
937
930
  }
938
931
 
@@ -952,7 +945,6 @@ function deserializeObjectAssignmentTarget(pos) {
952
945
  node.decorators = [];
953
946
  node.properties = properties;
954
947
  node.optional = false;
955
- node.typeAnnotation = null;
956
948
  return node;
957
949
  }
958
950
 
@@ -970,8 +962,6 @@ function deserializeAssignmentTargetRest(pos) {
970
962
  node.decorators = [];
971
963
  node.argument = deserializeAssignmentTarget(pos + 8);
972
964
  node.optional = false;
973
- node.typeAnnotation = null;
974
- node.value = null;
975
965
  return node;
976
966
  }
977
967
 
@@ -1019,7 +1009,6 @@ function deserializeAssignmentTargetWithDefault(pos) {
1019
1009
  node.left = deserializeAssignmentTarget(pos + 8);
1020
1010
  node.right = deserializeExpression(pos + 24);
1021
1011
  node.optional = false;
1022
- node.typeAnnotation = null;
1023
1012
  return node;
1024
1013
  }
1025
1014
 
@@ -1050,18 +1039,27 @@ function deserializeAssignmentTargetPropertyIdentifier(pos) {
1050
1039
  end,
1051
1040
  },
1052
1041
  key = deserializeIdentifierReference(pos + 8),
1053
- init = deserializeOptionExpression(pos + 40),
1054
- value = { ...key };
1055
- init !== null && (value = {
1056
- type: 'AssignmentPattern',
1057
- decorators: [],
1058
- left: value,
1059
- right: init,
1060
- optional: false,
1061
- typeAnnotation: null,
1062
- start,
1063
- end,
1064
- });
1042
+ value = {
1043
+ type: 'Identifier',
1044
+ decorators: [],
1045
+ name: key.name,
1046
+ optional: false,
1047
+ typeAnnotation: null,
1048
+ start: key.start,
1049
+ end: key.end,
1050
+ },
1051
+ init = deserializeOptionExpression(pos + 40);
1052
+ init !== null &&
1053
+ (value = {
1054
+ type: 'AssignmentPattern',
1055
+ decorators: [],
1056
+ left: value,
1057
+ right: init,
1058
+ optional: false,
1059
+ typeAnnotation: null,
1060
+ start,
1061
+ end,
1062
+ });
1065
1063
  node.kind = 'init';
1066
1064
  node.key = key;
1067
1065
  node.value = value;
@@ -1252,7 +1250,8 @@ function deserializeDirective(pos) {
1252
1250
  }
1253
1251
 
1254
1252
  function deserializeHashbang(pos) {
1255
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
1253
+ let start = deserializeU32(pos),
1254
+ end = deserializeU32(pos + 4);
1256
1255
  return {
1257
1256
  type: 'Hashbang',
1258
1257
  value: deserializeStr(pos + 8),
@@ -1360,7 +1359,6 @@ function deserializeExpressionStatement(pos) {
1360
1359
  end: deserializeU32(pos + 4),
1361
1360
  };
1362
1361
  node.expression = deserializeExpression(pos + 8);
1363
- node.directive = null;
1364
1362
  return node;
1365
1363
  }
1366
1364
 
@@ -1752,7 +1750,6 @@ function deserializeAssignmentPattern(pos) {
1752
1750
  node.left = deserializeBindingPattern(pos + 8);
1753
1751
  node.right = deserializeExpression(pos + 40);
1754
1752
  node.optional = false;
1755
- node.typeAnnotation = null;
1756
1753
  return node;
1757
1754
  }
1758
1755
 
@@ -1772,7 +1769,6 @@ function deserializeObjectPattern(pos) {
1772
1769
  node.decorators = [];
1773
1770
  node.properties = properties;
1774
1771
  node.optional = false;
1775
- node.typeAnnotation = null;
1776
1772
  return node;
1777
1773
  }
1778
1774
 
@@ -1815,7 +1811,6 @@ function deserializeArrayPattern(pos) {
1815
1811
  node.decorators = [];
1816
1812
  node.elements = elements;
1817
1813
  node.optional = false;
1818
- node.typeAnnotation = null;
1819
1814
  return node;
1820
1815
  }
1821
1816
 
@@ -1833,8 +1828,6 @@ function deserializeBindingRestElement(pos) {
1833
1828
  node.decorators = [];
1834
1829
  node.argument = deserializeBindingPattern(pos + 8);
1835
1830
  node.optional = false;
1836
- node.typeAnnotation = null;
1837
- node.value = null;
1838
1831
  return node;
1839
1832
  }
1840
1833
 
@@ -1886,8 +1879,8 @@ function deserializeFunctionType(pos) {
1886
1879
 
1887
1880
  function deserializeFormalParameters(pos) {
1888
1881
  let params = deserializeVecFormalParameter(pos + 8);
1889
- if (uint32[pos + 32 >> 2] !== 0 && uint32[pos + 36 >> 2] !== 0) {
1890
- pos = uint32[pos + 32 >> 2];
1882
+ if (uint32[(pos + 32) >> 2] !== 0 && uint32[(pos + 36) >> 2] !== 0) {
1883
+ pos = uint32[(pos + 32) >> 2];
1891
1884
  let rest = {
1892
1885
  type: 'RestElement',
1893
1886
  decorators: [],
@@ -1971,7 +1964,6 @@ function deserializeArrowFunctionExpression(pos) {
1971
1964
  node.params = deserializeBoxFormalParameters(pos + 16);
1972
1965
  node.returnType = deserializeOptionBoxTSTypeAnnotation(pos + 24);
1973
1966
  node.body = body;
1974
- node.id = null;
1975
1967
  node.generator = false;
1976
1968
  return node;
1977
1969
  }
@@ -2144,7 +2136,8 @@ function deserializeMethodDefinitionKind(pos) {
2144
2136
  }
2145
2137
 
2146
2138
  function deserializePrivateIdentifier(pos) {
2147
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
2139
+ let start = deserializeU32(pos),
2140
+ end = deserializeU32(pos + 4);
2148
2141
  return {
2149
2142
  type: 'PrivateIdentifier',
2150
2143
  name: deserializeStr(pos + 8),
@@ -2552,13 +2545,13 @@ function deserializeNullLiteral(pos) {
2552
2545
  start,
2553
2546
  end,
2554
2547
  };
2555
- node.value = null;
2556
2548
  node.raw = start === 0 && end === 0 ? null : 'null';
2557
2549
  return node;
2558
2550
  }
2559
2551
 
2560
2552
  function deserializeNumericLiteral(pos) {
2561
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
2553
+ let start = deserializeU32(pos),
2554
+ end = deserializeU32(pos + 4);
2562
2555
  return {
2563
2556
  type: 'Literal',
2564
2557
  value: deserializeF64(pos + 8),
@@ -2631,7 +2624,8 @@ function deserializeRegExp(pos) {
2631
2624
  }
2632
2625
 
2633
2626
  function deserializeRegExpFlags(pos) {
2634
- let flagBits = deserializeU8(pos), flags = '';
2627
+ let flagBits = deserializeU8(pos),
2628
+ flags = '';
2635
2629
  // Alphabetical order
2636
2630
  flagBits & 64 && (flags += 'd');
2637
2631
  flagBits & 1 && (flags += 'g');
@@ -2977,7 +2971,8 @@ function deserializeJSXAttributeValue(pos) {
2977
2971
  }
2978
2972
 
2979
2973
  function deserializeJSXIdentifier(pos) {
2980
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
2974
+ let start = deserializeU32(pos),
2975
+ end = deserializeU32(pos + 4);
2981
2976
  return {
2982
2977
  type: 'JSXIdentifier',
2983
2978
  name: deserializeStr(pos + 8),
@@ -3015,7 +3010,8 @@ function deserializeJSXSpreadChild(pos) {
3015
3010
  }
3016
3011
 
3017
3012
  function deserializeJSXText(pos) {
3018
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
3013
+ let start = deserializeU32(pos),
3014
+ end = deserializeU32(pos + 4);
3019
3015
  return {
3020
3016
  type: 'JSXText',
3021
3017
  value: deserializeStr(pos + 8),
@@ -3694,7 +3690,7 @@ function deserializeTSClassImplements(pos) {
3694
3690
  if (expression.type === 'TSQualifiedName') {
3695
3691
  let object = expression.left,
3696
3692
  { right } = expression,
3697
- previous = expression = {
3693
+ previous = (expression = {
3698
3694
  type: 'MemberExpression',
3699
3695
  object,
3700
3696
  property: right,
@@ -3702,8 +3698,8 @@ function deserializeTSClassImplements(pos) {
3702
3698
  computed: false,
3703
3699
  start: expression.start,
3704
3700
  end: expression.end,
3705
- };
3706
- for (; object.type === 'TSQualifiedName';) {
3701
+ });
3702
+ for (; object.type === 'TSQualifiedName'; ) {
3707
3703
  let { left, right } = object;
3708
3704
  previous = previous.object = {
3709
3705
  type: 'MemberExpression',
@@ -3770,7 +3766,6 @@ function deserializeTSPropertySignature(pos) {
3770
3766
  };
3771
3767
  node.key = deserializePropertyKey(pos + 8);
3772
3768
  node.typeAnnotation = deserializeOptionBoxTSTypeAnnotation(pos + 24);
3773
- node.accessibility = null;
3774
3769
  node.static = false;
3775
3770
  return node;
3776
3771
  }
@@ -3807,7 +3802,6 @@ function deserializeTSIndexSignature(pos) {
3807
3802
  };
3808
3803
  node.parameters = deserializeVecTSIndexSignatureName(pos + 8);
3809
3804
  node.typeAnnotation = deserializeBoxTSTypeAnnotation(pos + 32);
3810
- node.accessibility = null;
3811
3805
  return node;
3812
3806
  }
3813
3807
 
@@ -3867,7 +3861,6 @@ function deserializeTSMethodSignature(pos) {
3867
3861
  node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 24);
3868
3862
  node.params = params;
3869
3863
  node.returnType = deserializeOptionBoxTSTypeAnnotation(pos + 48);
3870
- node.accessibility = null;
3871
3864
  node.readonly = false;
3872
3865
  node.static = false;
3873
3866
  return node;
@@ -3980,7 +3973,7 @@ function deserializeTSModuleDeclaration(pos) {
3980
3973
  if (body.type === 'TSModuleBlock') node.id = id;
3981
3974
  else {
3982
3975
  let innerId = body.id;
3983
- if (innerId.type === 'Identifier') {
3976
+ if (innerId.type === 'Identifier')
3984
3977
  node.id = {
3985
3978
  type: 'TSQualifiedName',
3986
3979
  left: id,
@@ -3988,7 +3981,7 @@ function deserializeTSModuleDeclaration(pos) {
3988
3981
  start: id.start,
3989
3982
  end: innerId.end,
3990
3983
  };
3991
- } else {
3984
+ else {
3992
3985
  // Replace `left` of innermost `TSQualifiedName` with a nested `TSQualifiedName` with `id` of
3993
3986
  // this module on left, and previous `left` of innermost `TSQualifiedName` on right
3994
3987
  node.id = innerId;
@@ -4178,7 +4171,7 @@ function deserializeTSConstructorType(pos) {
4178
4171
  end = deserializeU32(pos + 4),
4179
4172
  node = {
4180
4173
  type: 'TSConstructorType',
4181
- abstract: deserializeBool(pos + 32),
4174
+ abstract: deserializeBool(pos + 36),
4182
4175
  typeParameters: null,
4183
4176
  params: null,
4184
4177
  returnType: null,
@@ -4443,20 +4436,18 @@ function deserializeCommentKind(pos) {
4443
4436
  function deserializeComment(pos) {
4444
4437
  let type = deserializeCommentKind(pos + 12),
4445
4438
  start = deserializeU32(pos),
4446
- end = deserializeU32(pos + 4),
4447
- node = {
4448
- type,
4449
- value: null,
4450
- start,
4451
- end,
4452
- },
4453
- endCut = type === 'Line' ? 0 : 2;
4454
- node.value = sourceText.slice(start + 2, end - endCut);
4455
- return node;
4439
+ end = deserializeU32(pos + 4);
4440
+ return {
4441
+ type,
4442
+ value: sourceText.slice(start + 2, end - (type === 'Line' ? 0 : 2)),
4443
+ start,
4444
+ end,
4445
+ };
4456
4446
  }
4457
4447
 
4458
4448
  function deserializeNameSpan(pos) {
4459
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
4449
+ let start = deserializeU32(pos),
4450
+ end = deserializeU32(pos + 4);
4460
4451
  return {
4461
4452
  value: deserializeStr(pos + 8),
4462
4453
  start,
@@ -4503,7 +4494,8 @@ function deserializeImportImportName(pos) {
4503
4494
  }
4504
4495
 
4505
4496
  function deserializeExportEntry(pos) {
4506
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
4497
+ let start = deserializeU32(pos),
4498
+ end = deserializeU32(pos + 4);
4507
4499
  return {
4508
4500
  moduleRequest: deserializeOptionNameSpan(pos + 16),
4509
4501
  importName: deserializeExportImportName(pos + 40),
@@ -4612,7 +4604,8 @@ function deserializeExportLocalName(pos) {
4612
4604
  }
4613
4605
 
4614
4606
  function deserializeDynamicImport(pos) {
4615
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
4607
+ let start = deserializeU32(pos),
4608
+ end = deserializeU32(pos + 4);
4616
4609
  return {
4617
4610
  moduleRequest: deserializeSpan(pos + 8),
4618
4611
  start,
@@ -4806,7 +4799,8 @@ function deserializeErrorSeverity(pos) {
4806
4799
  }
4807
4800
 
4808
4801
  function deserializeErrorLabel(pos) {
4809
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
4802
+ let start = deserializeU32(pos),
4803
+ end = deserializeU32(pos + 4);
4810
4804
  return {
4811
4805
  message: deserializeOptionStr(pos + 8),
4812
4806
  start,
@@ -4825,7 +4819,8 @@ function deserializeEcmaScriptModule(pos) {
4825
4819
  }
4826
4820
 
4827
4821
  function deserializeStaticImport(pos) {
4828
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
4822
+ let start = deserializeU32(pos),
4823
+ end = deserializeU32(pos + 4);
4829
4824
  return {
4830
4825
  moduleRequest: deserializeNameSpan(pos + 8),
4831
4826
  entries: deserializeVecImportEntry(pos + 32),
@@ -4835,7 +4830,8 @@ function deserializeStaticImport(pos) {
4835
4830
  }
4836
4831
 
4837
4832
  function deserializeStaticExport(pos) {
4838
- let start = deserializeU32(pos), end = deserializeU32(pos + 4);
4833
+ let start = deserializeU32(pos),
4834
+ end = deserializeU32(pos + 4);
4839
4835
  return {
4840
4836
  entries: deserializeVecExportEntry(pos + 8),
4841
4837
  start,
@@ -4852,7 +4848,8 @@ function deserializeU8(pos) {
4852
4848
  }
4853
4849
 
4854
4850
  function deserializeStr(pos) {
4855
- let pos32 = pos >> 2, len = uint32[pos32 + 2];
4851
+ let pos32 = pos >> 2,
4852
+ len = uint32[pos32 + 2];
4856
4853
  if (len === 0) return '';
4857
4854
  pos = uint32[pos32];
4858
4855
  if (sourceIsAscii && pos < sourceByteLen) return sourceText.substr(pos, len);
@@ -4861,7 +4858,8 @@ function deserializeStr(pos) {
4861
4858
  let end = pos + len;
4862
4859
  if (len > 50) return decodeStr(uint8.subarray(pos, end));
4863
4860
  // Shorter strings decode by hand to avoid native call
4864
- let out = '', c;
4861
+ let out = '',
4862
+ c;
4865
4863
  do {
4866
4864
  c = uint8[pos++];
4867
4865
  if (c < 128) out += fromCodePoint(c);
@@ -4874,10 +4872,11 @@ function deserializeStr(pos) {
4874
4872
  }
4875
4873
 
4876
4874
  function deserializeVecComment(pos) {
4877
- let arr = [], pos32 = pos >> 2;
4875
+ let arr = [],
4876
+ pos32 = pos >> 2;
4878
4877
  pos = uint32[pos32];
4879
4878
  let endPos = pos + uint32[pos32 + 2] * 16;
4880
- for (; pos !== endPos;) {
4879
+ for (; pos !== endPos; ) {
4881
4880
  arr.push(deserializeComment(pos));
4882
4881
  pos += 16;
4883
4882
  }
@@ -4885,15 +4884,16 @@ function deserializeVecComment(pos) {
4885
4884
  }
4886
4885
 
4887
4886
  function deserializeOptionHashbang(pos) {
4888
- if (uint32[pos + 8 >> 2] === 0 && uint32[pos + 12 >> 2] === 0) return null;
4887
+ if (uint32[(pos + 8) >> 2] === 0 && uint32[(pos + 12) >> 2] === 0) return null;
4889
4888
  return deserializeHashbang(pos);
4890
4889
  }
4891
4890
 
4892
4891
  function deserializeVecDirective(pos) {
4893
- let arr = [], pos32 = pos >> 2;
4892
+ let arr = [],
4893
+ pos32 = pos >> 2;
4894
4894
  pos = uint32[pos32];
4895
4895
  let endPos = pos + uint32[pos32 + 2] * 72;
4896
- for (; pos !== endPos;) {
4896
+ for (; pos !== endPos; ) {
4897
4897
  arr.push(deserializeDirective(pos));
4898
4898
  pos += 72;
4899
4899
  }
@@ -4901,10 +4901,11 @@ function deserializeVecDirective(pos) {
4901
4901
  }
4902
4902
 
4903
4903
  function deserializeVecStatement(pos) {
4904
- let arr = [], pos32 = pos >> 2;
4904
+ let arr = [],
4905
+ pos32 = pos >> 2;
4905
4906
  pos = uint32[pos32];
4906
4907
  let endPos = pos + uint32[pos32 + 2] * 16;
4907
- for (; pos !== endPos;) {
4908
+ for (; pos !== endPos; ) {
4908
4909
  arr.push(deserializeStatement(pos));
4909
4910
  pos += 16;
4910
4911
  }
@@ -5072,10 +5073,11 @@ function deserializeBoxV8IntrinsicExpression(pos) {
5072
5073
  }
5073
5074
 
5074
5075
  function deserializeVecArrayExpressionElement(pos) {
5075
- let arr = [], pos32 = pos >> 2;
5076
+ let arr = [],
5077
+ pos32 = pos >> 2;
5076
5078
  pos = uint32[pos32];
5077
5079
  let endPos = pos + uint32[pos32 + 2] * 16;
5078
- for (; pos !== endPos;) {
5080
+ for (; pos !== endPos; ) {
5079
5081
  arr.push(deserializeArrayExpressionElement(pos));
5080
5082
  pos += 16;
5081
5083
  }
@@ -5087,10 +5089,11 @@ function deserializeBoxSpreadElement(pos) {
5087
5089
  }
5088
5090
 
5089
5091
  function deserializeVecObjectPropertyKind(pos) {
5090
- let arr = [], pos32 = pos >> 2;
5092
+ let arr = [],
5093
+ pos32 = pos >> 2;
5091
5094
  pos = uint32[pos32];
5092
5095
  let endPos = pos + uint32[pos32 + 2] * 16;
5093
- for (; pos !== endPos;) {
5096
+ for (; pos !== endPos; ) {
5094
5097
  arr.push(deserializeObjectPropertyKind(pos));
5095
5098
  pos += 16;
5096
5099
  }
@@ -5114,10 +5117,11 @@ function deserializeBoxPrivateIdentifier(pos) {
5114
5117
  }
5115
5118
 
5116
5119
  function deserializeVecTemplateElement(pos) {
5117
- let arr = [], pos32 = pos >> 2;
5120
+ let arr = [],
5121
+ pos32 = pos >> 2;
5118
5122
  pos = uint32[pos32];
5119
5123
  let endPos = pos + uint32[pos32 + 2] * 48;
5120
- for (; pos !== endPos;) {
5124
+ for (; pos !== endPos; ) {
5121
5125
  arr.push(deserializeTemplateElement(pos));
5122
5126
  pos += 48;
5123
5127
  }
@@ -5125,10 +5129,11 @@ function deserializeVecTemplateElement(pos) {
5125
5129
  }
5126
5130
 
5127
5131
  function deserializeVecExpression(pos) {
5128
- let arr = [], pos32 = pos >> 2;
5132
+ let arr = [],
5133
+ pos32 = pos >> 2;
5129
5134
  pos = uint32[pos32];
5130
5135
  let endPos = pos + uint32[pos32 + 2] * 16;
5131
- for (; pos !== endPos;) {
5136
+ for (; pos !== endPos; ) {
5132
5137
  arr.push(deserializeExpression(pos));
5133
5138
  pos += 16;
5134
5139
  }
@@ -5140,12 +5145,12 @@ function deserializeBoxTSTypeParameterInstantiation(pos) {
5140
5145
  }
5141
5146
 
5142
5147
  function deserializeOptionBoxTSTypeParameterInstantiation(pos) {
5143
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5148
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5144
5149
  return deserializeBoxTSTypeParameterInstantiation(pos);
5145
5150
  }
5146
5151
 
5147
5152
  function deserializeOptionStr(pos) {
5148
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5153
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5149
5154
  return deserializeStr(pos);
5150
5155
  }
5151
5156
 
@@ -5162,10 +5167,11 @@ function deserializeBoxPrivateFieldExpression(pos) {
5162
5167
  }
5163
5168
 
5164
5169
  function deserializeVecArgument(pos) {
5165
- let arr = [], pos32 = pos >> 2;
5170
+ let arr = [],
5171
+ pos32 = pos >> 2;
5166
5172
  pos = uint32[pos32];
5167
5173
  let endPos = pos + uint32[pos32 + 2] * 16;
5168
- for (; pos !== endPos;) {
5174
+ for (; pos !== endPos; ) {
5169
5175
  arr.push(deserializeArgument(pos));
5170
5176
  pos += 16;
5171
5177
  }
@@ -5186,10 +5192,11 @@ function deserializeOptionAssignmentTargetMaybeDefault(pos) {
5186
5192
  }
5187
5193
 
5188
5194
  function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
5189
- let arr = [], pos32 = pos >> 2;
5195
+ let arr = [],
5196
+ pos32 = pos >> 2;
5190
5197
  pos = uint32[pos32];
5191
5198
  let endPos = pos + uint32[pos32 + 2] * 16;
5192
- for (; pos !== endPos;) {
5199
+ for (; pos !== endPos; ) {
5193
5200
  arr.push(deserializeOptionAssignmentTargetMaybeDefault(pos));
5194
5201
  pos += 16;
5195
5202
  }
@@ -5201,15 +5208,16 @@ function deserializeBoxAssignmentTargetRest(pos) {
5201
5208
  }
5202
5209
 
5203
5210
  function deserializeOptionBoxAssignmentTargetRest(pos) {
5204
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5211
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5205
5212
  return deserializeBoxAssignmentTargetRest(pos);
5206
5213
  }
5207
5214
 
5208
5215
  function deserializeVecAssignmentTargetProperty(pos) {
5209
- let arr = [], pos32 = pos >> 2;
5216
+ let arr = [],
5217
+ pos32 = pos >> 2;
5210
5218
  pos = uint32[pos32];
5211
5219
  let endPos = pos + uint32[pos32 + 2] * 16;
5212
- for (; pos !== endPos;) {
5220
+ for (; pos !== endPos; ) {
5213
5221
  arr.push(deserializeAssignmentTargetProperty(pos));
5214
5222
  pos += 16;
5215
5223
  }
@@ -5330,10 +5338,11 @@ function deserializeBoxTSImportEqualsDeclaration(pos) {
5330
5338
  }
5331
5339
 
5332
5340
  function deserializeVecVariableDeclarator(pos) {
5333
- let arr = [], pos32 = pos >> 2;
5341
+ let arr = [],
5342
+ pos32 = pos >> 2;
5334
5343
  pos = uint32[pos32];
5335
5344
  let endPos = pos + uint32[pos32 + 2] * 64;
5336
- for (; pos !== endPos;) {
5345
+ for (; pos !== endPos; ) {
5337
5346
  arr.push(deserializeVariableDeclarator(pos));
5338
5347
  pos += 64;
5339
5348
  }
@@ -5351,15 +5360,16 @@ function deserializeOptionForStatementInit(pos) {
5351
5360
  }
5352
5361
 
5353
5362
  function deserializeOptionLabelIdentifier(pos) {
5354
- if (uint32[pos + 8 >> 2] === 0 && uint32[pos + 12 >> 2] === 0) return null;
5363
+ if (uint32[(pos + 8) >> 2] === 0 && uint32[(pos + 12) >> 2] === 0) return null;
5355
5364
  return deserializeLabelIdentifier(pos);
5356
5365
  }
5357
5366
 
5358
5367
  function deserializeVecSwitchCase(pos) {
5359
- let arr = [], pos32 = pos >> 2;
5368
+ let arr = [],
5369
+ pos32 = pos >> 2;
5360
5370
  pos = uint32[pos32];
5361
5371
  let endPos = pos + uint32[pos32 + 2] * 48;
5362
- for (; pos !== endPos;) {
5372
+ for (; pos !== endPos; ) {
5363
5373
  arr.push(deserializeSwitchCase(pos));
5364
5374
  pos += 48;
5365
5375
  }
@@ -5371,12 +5381,12 @@ function deserializeBoxCatchClause(pos) {
5371
5381
  }
5372
5382
 
5373
5383
  function deserializeOptionBoxCatchClause(pos) {
5374
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5384
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5375
5385
  return deserializeBoxCatchClause(pos);
5376
5386
  }
5377
5387
 
5378
5388
  function deserializeOptionBoxBlockStatement(pos) {
5379
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5389
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5380
5390
  return deserializeBoxBlockStatement(pos);
5381
5391
  }
5382
5392
 
@@ -5390,7 +5400,7 @@ function deserializeBoxTSTypeAnnotation(pos) {
5390
5400
  }
5391
5401
 
5392
5402
  function deserializeOptionBoxTSTypeAnnotation(pos) {
5393
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5403
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5394
5404
  return deserializeBoxTSTypeAnnotation(pos);
5395
5405
  }
5396
5406
 
@@ -5411,10 +5421,11 @@ function deserializeBoxAssignmentPattern(pos) {
5411
5421
  }
5412
5422
 
5413
5423
  function deserializeVecBindingProperty(pos) {
5414
- let arr = [], pos32 = pos >> 2;
5424
+ let arr = [],
5425
+ pos32 = pos >> 2;
5415
5426
  pos = uint32[pos32];
5416
5427
  let endPos = pos + uint32[pos32 + 2] * 64;
5417
- for (; pos !== endPos;) {
5428
+ for (; pos !== endPos; ) {
5418
5429
  arr.push(deserializeBindingProperty(pos));
5419
5430
  pos += 64;
5420
5431
  }
@@ -5426,7 +5437,7 @@ function deserializeBoxBindingRestElement(pos) {
5426
5437
  }
5427
5438
 
5428
5439
  function deserializeOptionBoxBindingRestElement(pos) {
5429
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5440
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5430
5441
  return deserializeBoxBindingRestElement(pos);
5431
5442
  }
5432
5443
 
@@ -5436,10 +5447,11 @@ function deserializeOptionBindingPattern(pos) {
5436
5447
  }
5437
5448
 
5438
5449
  function deserializeVecOptionBindingPattern(pos) {
5439
- let arr = [], pos32 = pos >> 2;
5450
+ let arr = [],
5451
+ pos32 = pos >> 2;
5440
5452
  pos = uint32[pos32];
5441
5453
  let endPos = pos + uint32[pos32 + 2] * 32;
5442
- for (; pos !== endPos;) {
5454
+ for (; pos !== endPos; ) {
5443
5455
  arr.push(deserializeOptionBindingPattern(pos));
5444
5456
  pos += 32;
5445
5457
  }
@@ -5447,7 +5459,7 @@ function deserializeVecOptionBindingPattern(pos) {
5447
5459
  }
5448
5460
 
5449
5461
  function deserializeOptionBindingIdentifier(pos) {
5450
- if (uint32[pos + 8 >> 2] === 0 && uint32[pos + 12 >> 2] === 0) return null;
5462
+ if (uint32[(pos + 8) >> 2] === 0 && uint32[(pos + 12) >> 2] === 0) return null;
5451
5463
  return deserializeBindingIdentifier(pos);
5452
5464
  }
5453
5465
 
@@ -5456,7 +5468,7 @@ function deserializeBoxTSTypeParameterDeclaration(pos) {
5456
5468
  }
5457
5469
 
5458
5470
  function deserializeOptionBoxTSTypeParameterDeclaration(pos) {
5459
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5471
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5460
5472
  return deserializeBoxTSTypeParameterDeclaration(pos);
5461
5473
  }
5462
5474
 
@@ -5465,7 +5477,7 @@ function deserializeBoxTSThisParameter(pos) {
5465
5477
  }
5466
5478
 
5467
5479
  function deserializeOptionBoxTSThisParameter(pos) {
5468
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5480
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5469
5481
  return deserializeBoxTSThisParameter(pos);
5470
5482
  }
5471
5483
 
@@ -5478,15 +5490,16 @@ function deserializeBoxFunctionBody(pos) {
5478
5490
  }
5479
5491
 
5480
5492
  function deserializeOptionBoxFunctionBody(pos) {
5481
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5493
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5482
5494
  return deserializeBoxFunctionBody(pos);
5483
5495
  }
5484
5496
 
5485
5497
  function deserializeVecFormalParameter(pos) {
5486
- let arr = [], pos32 = pos >> 2;
5498
+ let arr = [],
5499
+ pos32 = pos >> 2;
5487
5500
  pos = uint32[pos32];
5488
5501
  let endPos = pos + uint32[pos32 + 2] * 72;
5489
- for (; pos !== endPos;) {
5502
+ for (; pos !== endPos; ) {
5490
5503
  arr.push(deserializeFormalParameter(pos));
5491
5504
  pos += 72;
5492
5505
  }
@@ -5494,10 +5507,11 @@ function deserializeVecFormalParameter(pos) {
5494
5507
  }
5495
5508
 
5496
5509
  function deserializeVecDecorator(pos) {
5497
- let arr = [], pos32 = pos >> 2;
5510
+ let arr = [],
5511
+ pos32 = pos >> 2;
5498
5512
  pos = uint32[pos32];
5499
5513
  let endPos = pos + uint32[pos32 + 2] * 24;
5500
- for (; pos !== endPos;) {
5514
+ for (; pos !== endPos; ) {
5501
5515
  arr.push(deserializeDecorator(pos));
5502
5516
  pos += 24;
5503
5517
  }
@@ -5510,10 +5524,11 @@ function deserializeOptionTSAccessibility(pos) {
5510
5524
  }
5511
5525
 
5512
5526
  function deserializeVecTSClassImplements(pos) {
5513
- let arr = [], pos32 = pos >> 2;
5527
+ let arr = [],
5528
+ pos32 = pos >> 2;
5514
5529
  pos = uint32[pos32];
5515
5530
  let endPos = pos + uint32[pos32 + 2] * 32;
5516
- for (; pos !== endPos;) {
5531
+ for (; pos !== endPos; ) {
5517
5532
  arr.push(deserializeTSClassImplements(pos));
5518
5533
  pos += 32;
5519
5534
  }
@@ -5525,10 +5540,11 @@ function deserializeBoxClassBody(pos) {
5525
5540
  }
5526
5541
 
5527
5542
  function deserializeVecClassElement(pos) {
5528
- let arr = [], pos32 = pos >> 2;
5543
+ let arr = [],
5544
+ pos32 = pos >> 2;
5529
5545
  pos = uint32[pos32];
5530
5546
  let endPos = pos + uint32[pos32 + 2] * 16;
5531
- for (; pos !== endPos;) {
5547
+ for (; pos !== endPos; ) {
5532
5548
  arr.push(deserializeClassElement(pos));
5533
5549
  pos += 16;
5534
5550
  }
@@ -5585,10 +5601,11 @@ function deserializeOptionImportPhase(pos) {
5585
5601
  }
5586
5602
 
5587
5603
  function deserializeVecImportDeclarationSpecifier(pos) {
5588
- let arr = [], pos32 = pos >> 2;
5604
+ let arr = [],
5605
+ pos32 = pos >> 2;
5589
5606
  pos = uint32[pos32];
5590
5607
  let endPos = pos + uint32[pos32 + 2] * 16;
5591
- for (; pos !== endPos;) {
5608
+ for (; pos !== endPos; ) {
5592
5609
  arr.push(deserializeImportDeclarationSpecifier(pos));
5593
5610
  pos += 16;
5594
5611
  }
@@ -5596,7 +5613,7 @@ function deserializeVecImportDeclarationSpecifier(pos) {
5596
5613
  }
5597
5614
 
5598
5615
  function deserializeOptionVecImportDeclarationSpecifier(pos) {
5599
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5616
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5600
5617
  return deserializeVecImportDeclarationSpecifier(pos);
5601
5618
  }
5602
5619
 
@@ -5605,7 +5622,7 @@ function deserializeBoxWithClause(pos) {
5605
5622
  }
5606
5623
 
5607
5624
  function deserializeOptionBoxWithClause(pos) {
5608
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5625
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5609
5626
  return deserializeBoxWithClause(pos);
5610
5627
  }
5611
5628
 
@@ -5622,10 +5639,11 @@ function deserializeBoxImportNamespaceSpecifier(pos) {
5622
5639
  }
5623
5640
 
5624
5641
  function deserializeVecImportAttribute(pos) {
5625
- let arr = [], pos32 = pos >> 2;
5642
+ let arr = [],
5643
+ pos32 = pos >> 2;
5626
5644
  pos = uint32[pos32];
5627
5645
  let endPos = pos + uint32[pos32 + 2] * 112;
5628
- for (; pos !== endPos;) {
5646
+ for (; pos !== endPos; ) {
5629
5647
  arr.push(deserializeImportAttribute(pos));
5630
5648
  pos += 112;
5631
5649
  }
@@ -5638,10 +5656,11 @@ function deserializeOptionDeclaration(pos) {
5638
5656
  }
5639
5657
 
5640
5658
  function deserializeVecExportSpecifier(pos) {
5641
- let arr = [], pos32 = pos >> 2;
5659
+ let arr = [],
5660
+ pos32 = pos >> 2;
5642
5661
  pos = uint32[pos32];
5643
5662
  let endPos = pos + uint32[pos32 + 2] * 128;
5644
- for (; pos !== endPos;) {
5663
+ for (; pos !== endPos; ) {
5645
5664
  arr.push(deserializeExportSpecifier(pos));
5646
5665
  pos += 128;
5647
5666
  }
@@ -5667,10 +5686,11 @@ function deserializeBoxJSXOpeningElement(pos) {
5667
5686
  }
5668
5687
 
5669
5688
  function deserializeVecJSXChild(pos) {
5670
- let arr = [], pos32 = pos >> 2;
5689
+ let arr = [],
5690
+ pos32 = pos >> 2;
5671
5691
  pos = uint32[pos32];
5672
5692
  let endPos = pos + uint32[pos32 + 2] * 16;
5673
- for (; pos !== endPos;) {
5693
+ for (; pos !== endPos; ) {
5674
5694
  arr.push(deserializeJSXChild(pos));
5675
5695
  pos += 16;
5676
5696
  }
@@ -5682,15 +5702,16 @@ function deserializeBoxJSXClosingElement(pos) {
5682
5702
  }
5683
5703
 
5684
5704
  function deserializeOptionBoxJSXClosingElement(pos) {
5685
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
5705
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
5686
5706
  return deserializeBoxJSXClosingElement(pos);
5687
5707
  }
5688
5708
 
5689
5709
  function deserializeVecJSXAttributeItem(pos) {
5690
- let arr = [], pos32 = pos >> 2;
5710
+ let arr = [],
5711
+ pos32 = pos >> 2;
5691
5712
  pos = uint32[pos32];
5692
5713
  let endPos = pos + uint32[pos32 + 2] * 16;
5693
- for (; pos !== endPos;) {
5714
+ for (; pos !== endPos; ) {
5694
5715
  arr.push(deserializeJSXAttributeItem(pos));
5695
5716
  pos += 16;
5696
5717
  }
@@ -5735,10 +5756,11 @@ function deserializeBoxJSXSpreadChild(pos) {
5735
5756
  }
5736
5757
 
5737
5758
  function deserializeVecTSEnumMember(pos) {
5738
- let arr = [], pos32 = pos >> 2;
5759
+ let arr = [],
5760
+ pos32 = pos >> 2;
5739
5761
  pos = uint32[pos32];
5740
5762
  let endPos = pos + uint32[pos32 + 2] * 40;
5741
- for (; pos !== endPos;) {
5763
+ for (; pos !== endPos; ) {
5742
5764
  arr.push(deserializeTSEnumMember(pos));
5743
5765
  pos += 40;
5744
5766
  }
@@ -5894,10 +5916,11 @@ function deserializeBoxJSDocUnknownType(pos) {
5894
5916
  }
5895
5917
 
5896
5918
  function deserializeVecTSType(pos) {
5897
- let arr = [], pos32 = pos >> 2;
5919
+ let arr = [],
5920
+ pos32 = pos >> 2;
5898
5921
  pos = uint32[pos32];
5899
5922
  let endPos = pos + uint32[pos32 + 2] * 16;
5900
- for (; pos !== endPos;) {
5923
+ for (; pos !== endPos; ) {
5901
5924
  arr.push(deserializeTSType(pos));
5902
5925
  pos += 16;
5903
5926
  }
@@ -5905,10 +5928,11 @@ function deserializeVecTSType(pos) {
5905
5928
  }
5906
5929
 
5907
5930
  function deserializeVecTSTupleElement(pos) {
5908
- let arr = [], pos32 = pos >> 2;
5931
+ let arr = [],
5932
+ pos32 = pos >> 2;
5909
5933
  pos = uint32[pos32];
5910
5934
  let endPos = pos + uint32[pos32 + 2] * 16;
5911
- for (; pos !== endPos;) {
5935
+ for (; pos !== endPos; ) {
5912
5936
  arr.push(deserializeTSTupleElement(pos));
5913
5937
  pos += 16;
5914
5938
  }
@@ -5933,10 +5957,11 @@ function deserializeOptionTSType(pos) {
5933
5957
  }
5934
5958
 
5935
5959
  function deserializeVecTSTypeParameter(pos) {
5936
- let arr = [], pos32 = pos >> 2;
5960
+ let arr = [],
5961
+ pos32 = pos >> 2;
5937
5962
  pos = uint32[pos32];
5938
5963
  let endPos = pos + uint32[pos32 + 2] * 80;
5939
- for (; pos !== endPos;) {
5964
+ for (; pos !== endPos; ) {
5940
5965
  arr.push(deserializeTSTypeParameter(pos));
5941
5966
  pos += 80;
5942
5967
  }
@@ -5944,10 +5969,11 @@ function deserializeVecTSTypeParameter(pos) {
5944
5969
  }
5945
5970
 
5946
5971
  function deserializeVecTSInterfaceHeritage(pos) {
5947
- let arr = [], pos32 = pos >> 2;
5972
+ let arr = [],
5973
+ pos32 = pos >> 2;
5948
5974
  pos = uint32[pos32];
5949
5975
  let endPos = pos + uint32[pos32 + 2] * 32;
5950
- for (; pos !== endPos;) {
5976
+ for (; pos !== endPos; ) {
5951
5977
  arr.push(deserializeTSInterfaceHeritage(pos));
5952
5978
  pos += 32;
5953
5979
  }
@@ -5959,10 +5985,11 @@ function deserializeBoxTSInterfaceBody(pos) {
5959
5985
  }
5960
5986
 
5961
5987
  function deserializeVecTSSignature(pos) {
5962
- let arr = [], pos32 = pos >> 2;
5988
+ let arr = [],
5989
+ pos32 = pos >> 2;
5963
5990
  pos = uint32[pos32];
5964
5991
  let endPos = pos + uint32[pos32 + 2] * 16;
5965
- for (; pos !== endPos;) {
5992
+ for (; pos !== endPos; ) {
5966
5993
  arr.push(deserializeTSSignature(pos));
5967
5994
  pos += 16;
5968
5995
  }
@@ -5986,10 +6013,11 @@ function deserializeBoxTSMethodSignature(pos) {
5986
6013
  }
5987
6014
 
5988
6015
  function deserializeVecTSIndexSignatureName(pos) {
5989
- let arr = [], pos32 = pos >> 2;
6016
+ let arr = [],
6017
+ pos32 = pos >> 2;
5990
6018
  pos = uint32[pos32];
5991
6019
  let endPos = pos + uint32[pos32 + 2] * 32;
5992
- for (; pos !== endPos;) {
6020
+ for (; pos !== endPos; ) {
5993
6021
  arr.push(deserializeTSIndexSignatureName(pos));
5994
6022
  pos += 32;
5995
6023
  }
@@ -6010,7 +6038,7 @@ function deserializeBoxTSTypeParameter(pos) {
6010
6038
  }
6011
6039
 
6012
6040
  function deserializeOptionBoxObjectExpression(pos) {
6013
- if (uint32[pos >> 2] === 0 && uint32[pos + 4 >> 2] === 0) return null;
6041
+ if (uint32[pos >> 2] === 0 && uint32[(pos + 4) >> 2] === 0) return null;
6014
6042
  return deserializeBoxObjectExpression(pos);
6015
6043
  }
6016
6044
 
@@ -6033,15 +6061,16 @@ function deserializeBoxTSExternalModuleReference(pos) {
6033
6061
  }
6034
6062
 
6035
6063
  function deserializeOptionNameSpan(pos) {
6036
- if (uint32[pos + 8 >> 2] === 0 && uint32[pos + 12 >> 2] === 0) return null;
6064
+ if (uint32[(pos + 8) >> 2] === 0 && uint32[(pos + 12) >> 2] === 0) return null;
6037
6065
  return deserializeNameSpan(pos);
6038
6066
  }
6039
6067
 
6040
6068
  function deserializeVecError(pos) {
6041
- let arr = [], pos32 = pos >> 2;
6069
+ let arr = [],
6070
+ pos32 = pos >> 2;
6042
6071
  pos = uint32[pos32];
6043
6072
  let endPos = pos + uint32[pos32 + 2] * 80;
6044
- for (; pos !== endPos;) {
6073
+ for (; pos !== endPos; ) {
6045
6074
  arr.push(deserializeError(pos));
6046
6075
  pos += 80;
6047
6076
  }
@@ -6049,10 +6078,11 @@ function deserializeVecError(pos) {
6049
6078
  }
6050
6079
 
6051
6080
  function deserializeVecErrorLabel(pos) {
6052
- let arr = [], pos32 = pos >> 2;
6081
+ let arr = [],
6082
+ pos32 = pos >> 2;
6053
6083
  pos = uint32[pos32];
6054
6084
  let endPos = pos + uint32[pos32 + 2] * 24;
6055
- for (; pos !== endPos;) {
6085
+ for (; pos !== endPos; ) {
6056
6086
  arr.push(deserializeErrorLabel(pos));
6057
6087
  pos += 24;
6058
6088
  }
@@ -6060,10 +6090,11 @@ function deserializeVecErrorLabel(pos) {
6060
6090
  }
6061
6091
 
6062
6092
  function deserializeVecStaticImport(pos) {
6063
- let arr = [], pos32 = pos >> 2;
6093
+ let arr = [],
6094
+ pos32 = pos >> 2;
6064
6095
  pos = uint32[pos32];
6065
6096
  let endPos = pos + uint32[pos32 + 2] * 56;
6066
- for (; pos !== endPos;) {
6097
+ for (; pos !== endPos; ) {
6067
6098
  arr.push(deserializeStaticImport(pos));
6068
6099
  pos += 56;
6069
6100
  }
@@ -6071,10 +6102,11 @@ function deserializeVecStaticImport(pos) {
6071
6102
  }
6072
6103
 
6073
6104
  function deserializeVecStaticExport(pos) {
6074
- let arr = [], pos32 = pos >> 2;
6105
+ let arr = [],
6106
+ pos32 = pos >> 2;
6075
6107
  pos = uint32[pos32];
6076
6108
  let endPos = pos + uint32[pos32 + 2] * 32;
6077
- for (; pos !== endPos;) {
6109
+ for (; pos !== endPos; ) {
6078
6110
  arr.push(deserializeStaticExport(pos));
6079
6111
  pos += 32;
6080
6112
  }
@@ -6082,10 +6114,11 @@ function deserializeVecStaticExport(pos) {
6082
6114
  }
6083
6115
 
6084
6116
  function deserializeVecDynamicImport(pos) {
6085
- let arr = [], pos32 = pos >> 2;
6117
+ let arr = [],
6118
+ pos32 = pos >> 2;
6086
6119
  pos = uint32[pos32];
6087
6120
  let endPos = pos + uint32[pos32 + 2] * 16;
6088
- for (; pos !== endPos;) {
6121
+ for (; pos !== endPos; ) {
6089
6122
  arr.push(deserializeDynamicImport(pos));
6090
6123
  pos += 16;
6091
6124
  }
@@ -6093,10 +6126,11 @@ function deserializeVecDynamicImport(pos) {
6093
6126
  }
6094
6127
 
6095
6128
  function deserializeVecSpan(pos) {
6096
- let arr = [], pos32 = pos >> 2;
6129
+ let arr = [],
6130
+ pos32 = pos >> 2;
6097
6131
  pos = uint32[pos32];
6098
6132
  let endPos = pos + uint32[pos32 + 2] * 8;
6099
- for (; pos !== endPos;) {
6133
+ for (; pos !== endPos; ) {
6100
6134
  arr.push(deserializeSpan(pos));
6101
6135
  pos += 8;
6102
6136
  }
@@ -6104,10 +6138,11 @@ function deserializeVecSpan(pos) {
6104
6138
  }
6105
6139
 
6106
6140
  function deserializeVecImportEntry(pos) {
6107
- let arr = [], pos32 = pos >> 2;
6141
+ let arr = [],
6142
+ pos32 = pos >> 2;
6108
6143
  pos = uint32[pos32];
6109
6144
  let endPos = pos + uint32[pos32 + 2] * 96;
6110
- for (; pos !== endPos;) {
6145
+ for (; pos !== endPos; ) {
6111
6146
  arr.push(deserializeImportEntry(pos));
6112
6147
  pos += 96;
6113
6148
  }
@@ -6115,10 +6150,11 @@ function deserializeVecImportEntry(pos) {
6115
6150
  }
6116
6151
 
6117
6152
  function deserializeVecExportEntry(pos) {
6118
- let arr = [], pos32 = pos >> 2;
6153
+ let arr = [],
6154
+ pos32 = pos >> 2;
6119
6155
  pos = uint32[pos32];
6120
6156
  let endPos = pos + uint32[pos32 + 2] * 144;
6121
- for (; pos !== endPos;) {
6157
+ for (; pos !== endPos; ) {
6122
6158
  arr.push(deserializeExportEntry(pos));
6123
6159
  pos += 144;
6124
6160
  }