oxc-parser 0.73.0 → 0.73.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/deserialize/js.js +114 -114
- package/generated/deserialize/lazy.js +1698 -1643
- package/generated/deserialize/ts.js +116 -129
- package/package.json +23 -19
- package/raw-transfer/lazy-common.js +12 -0
- package/raw-transfer/node-array.js +327 -0
|
@@ -4052,10 +4052,10 @@ function deserializeStr(pos) {
|
|
|
4052
4052
|
|
|
4053
4053
|
function deserializeVecComment(pos) {
|
|
4054
4054
|
const arr = [],
|
|
4055
|
-
pos32 = pos >> 2
|
|
4056
|
-
len = uint32[pos32 + 2];
|
|
4055
|
+
pos32 = pos >> 2;
|
|
4057
4056
|
pos = uint32[pos32];
|
|
4058
|
-
|
|
4057
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4058
|
+
while (pos !== endPos) {
|
|
4059
4059
|
arr.push(deserializeComment(pos));
|
|
4060
4060
|
pos += 16;
|
|
4061
4061
|
}
|
|
@@ -4069,10 +4069,10 @@ function deserializeOptionHashbang(pos) {
|
|
|
4069
4069
|
|
|
4070
4070
|
function deserializeVecDirective(pos) {
|
|
4071
4071
|
const arr = [],
|
|
4072
|
-
pos32 = pos >> 2
|
|
4073
|
-
len = uint32[pos32 + 2];
|
|
4072
|
+
pos32 = pos >> 2;
|
|
4074
4073
|
pos = uint32[pos32];
|
|
4075
|
-
|
|
4074
|
+
const endPos = pos + uint32[pos32 + 2] * 72;
|
|
4075
|
+
while (pos !== endPos) {
|
|
4076
4076
|
arr.push(deserializeDirective(pos));
|
|
4077
4077
|
pos += 72;
|
|
4078
4078
|
}
|
|
@@ -4081,10 +4081,10 @@ function deserializeVecDirective(pos) {
|
|
|
4081
4081
|
|
|
4082
4082
|
function deserializeVecStatement(pos) {
|
|
4083
4083
|
const arr = [],
|
|
4084
|
-
pos32 = pos >> 2
|
|
4085
|
-
len = uint32[pos32 + 2];
|
|
4084
|
+
pos32 = pos >> 2;
|
|
4086
4085
|
pos = uint32[pos32];
|
|
4087
|
-
|
|
4086
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4087
|
+
while (pos !== endPos) {
|
|
4088
4088
|
arr.push(deserializeStatement(pos));
|
|
4089
4089
|
pos += 16;
|
|
4090
4090
|
}
|
|
@@ -4253,10 +4253,10 @@ function deserializeBoxV8IntrinsicExpression(pos) {
|
|
|
4253
4253
|
|
|
4254
4254
|
function deserializeVecArrayExpressionElement(pos) {
|
|
4255
4255
|
const arr = [],
|
|
4256
|
-
pos32 = pos >> 2
|
|
4257
|
-
len = uint32[pos32 + 2];
|
|
4256
|
+
pos32 = pos >> 2;
|
|
4258
4257
|
pos = uint32[pos32];
|
|
4259
|
-
|
|
4258
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4259
|
+
while (pos !== endPos) {
|
|
4260
4260
|
arr.push(deserializeArrayExpressionElement(pos));
|
|
4261
4261
|
pos += 16;
|
|
4262
4262
|
}
|
|
@@ -4269,10 +4269,10 @@ function deserializeBoxSpreadElement(pos) {
|
|
|
4269
4269
|
|
|
4270
4270
|
function deserializeVecObjectPropertyKind(pos) {
|
|
4271
4271
|
const arr = [],
|
|
4272
|
-
pos32 = pos >> 2
|
|
4273
|
-
len = uint32[pos32 + 2];
|
|
4272
|
+
pos32 = pos >> 2;
|
|
4274
4273
|
pos = uint32[pos32];
|
|
4275
|
-
|
|
4274
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4275
|
+
while (pos !== endPos) {
|
|
4276
4276
|
arr.push(deserializeObjectPropertyKind(pos));
|
|
4277
4277
|
pos += 16;
|
|
4278
4278
|
}
|
|
@@ -4297,10 +4297,10 @@ function deserializeBoxPrivateIdentifier(pos) {
|
|
|
4297
4297
|
|
|
4298
4298
|
function deserializeVecTemplateElement(pos) {
|
|
4299
4299
|
const arr = [],
|
|
4300
|
-
pos32 = pos >> 2
|
|
4301
|
-
len = uint32[pos32 + 2];
|
|
4300
|
+
pos32 = pos >> 2;
|
|
4302
4301
|
pos = uint32[pos32];
|
|
4303
|
-
|
|
4302
|
+
const endPos = pos + uint32[pos32 + 2] * 48;
|
|
4303
|
+
while (pos !== endPos) {
|
|
4304
4304
|
arr.push(deserializeTemplateElement(pos));
|
|
4305
4305
|
pos += 48;
|
|
4306
4306
|
}
|
|
@@ -4309,10 +4309,10 @@ function deserializeVecTemplateElement(pos) {
|
|
|
4309
4309
|
|
|
4310
4310
|
function deserializeVecExpression(pos) {
|
|
4311
4311
|
const arr = [],
|
|
4312
|
-
pos32 = pos >> 2
|
|
4313
|
-
len = uint32[pos32 + 2];
|
|
4312
|
+
pos32 = pos >> 2;
|
|
4314
4313
|
pos = uint32[pos32];
|
|
4315
|
-
|
|
4314
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4315
|
+
while (pos !== endPos) {
|
|
4316
4316
|
arr.push(deserializeExpression(pos));
|
|
4317
4317
|
pos += 16;
|
|
4318
4318
|
}
|
|
@@ -4347,10 +4347,10 @@ function deserializeBoxPrivateFieldExpression(pos) {
|
|
|
4347
4347
|
|
|
4348
4348
|
function deserializeVecArgument(pos) {
|
|
4349
4349
|
const arr = [],
|
|
4350
|
-
pos32 = pos >> 2
|
|
4351
|
-
len = uint32[pos32 + 2];
|
|
4350
|
+
pos32 = pos >> 2;
|
|
4352
4351
|
pos = uint32[pos32];
|
|
4353
|
-
|
|
4352
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4353
|
+
while (pos !== endPos) {
|
|
4354
4354
|
arr.push(deserializeArgument(pos));
|
|
4355
4355
|
pos += 16;
|
|
4356
4356
|
}
|
|
@@ -4372,10 +4372,10 @@ function deserializeOptionAssignmentTargetMaybeDefault(pos) {
|
|
|
4372
4372
|
|
|
4373
4373
|
function deserializeVecOptionAssignmentTargetMaybeDefault(pos) {
|
|
4374
4374
|
const arr = [],
|
|
4375
|
-
pos32 = pos >> 2
|
|
4376
|
-
len = uint32[pos32 + 2];
|
|
4375
|
+
pos32 = pos >> 2;
|
|
4377
4376
|
pos = uint32[pos32];
|
|
4378
|
-
|
|
4377
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4378
|
+
while (pos !== endPos) {
|
|
4379
4379
|
arr.push(deserializeOptionAssignmentTargetMaybeDefault(pos));
|
|
4380
4380
|
pos += 16;
|
|
4381
4381
|
}
|
|
@@ -4389,10 +4389,10 @@ function deserializeOptionAssignmentTargetRest(pos) {
|
|
|
4389
4389
|
|
|
4390
4390
|
function deserializeVecAssignmentTargetProperty(pos) {
|
|
4391
4391
|
const arr = [],
|
|
4392
|
-
pos32 = pos >> 2
|
|
4393
|
-
len = uint32[pos32 + 2];
|
|
4392
|
+
pos32 = pos >> 2;
|
|
4394
4393
|
pos = uint32[pos32];
|
|
4395
|
-
|
|
4394
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4395
|
+
while (pos !== endPos) {
|
|
4396
4396
|
arr.push(deserializeAssignmentTargetProperty(pos));
|
|
4397
4397
|
pos += 16;
|
|
4398
4398
|
}
|
|
@@ -4514,10 +4514,10 @@ function deserializeBoxTSImportEqualsDeclaration(pos) {
|
|
|
4514
4514
|
|
|
4515
4515
|
function deserializeVecVariableDeclarator(pos) {
|
|
4516
4516
|
const arr = [],
|
|
4517
|
-
pos32 = pos >> 2
|
|
4518
|
-
len = uint32[pos32 + 2];
|
|
4517
|
+
pos32 = pos >> 2;
|
|
4519
4518
|
pos = uint32[pos32];
|
|
4520
|
-
|
|
4519
|
+
const endPos = pos + uint32[pos32 + 2] * 64;
|
|
4520
|
+
while (pos !== endPos) {
|
|
4521
4521
|
arr.push(deserializeVariableDeclarator(pos));
|
|
4522
4522
|
pos += 64;
|
|
4523
4523
|
}
|
|
@@ -4541,10 +4541,10 @@ function deserializeOptionLabelIdentifier(pos) {
|
|
|
4541
4541
|
|
|
4542
4542
|
function deserializeVecSwitchCase(pos) {
|
|
4543
4543
|
const arr = [],
|
|
4544
|
-
pos32 = pos >> 2
|
|
4545
|
-
len = uint32[pos32 + 2];
|
|
4544
|
+
pos32 = pos >> 2;
|
|
4546
4545
|
pos = uint32[pos32];
|
|
4547
|
-
|
|
4546
|
+
const endPos = pos + uint32[pos32 + 2] * 48;
|
|
4547
|
+
while (pos !== endPos) {
|
|
4548
4548
|
arr.push(deserializeSwitchCase(pos));
|
|
4549
4549
|
pos += 48;
|
|
4550
4550
|
}
|
|
@@ -4597,10 +4597,10 @@ function deserializeBoxAssignmentPattern(pos) {
|
|
|
4597
4597
|
|
|
4598
4598
|
function deserializeVecBindingProperty(pos) {
|
|
4599
4599
|
const arr = [],
|
|
4600
|
-
pos32 = pos >> 2
|
|
4601
|
-
len = uint32[pos32 + 2];
|
|
4600
|
+
pos32 = pos >> 2;
|
|
4602
4601
|
pos = uint32[pos32];
|
|
4603
|
-
|
|
4602
|
+
const endPos = pos + uint32[pos32 + 2] * 64;
|
|
4603
|
+
while (pos !== endPos) {
|
|
4604
4604
|
arr.push(deserializeBindingProperty(pos));
|
|
4605
4605
|
pos += 64;
|
|
4606
4606
|
}
|
|
@@ -4623,10 +4623,10 @@ function deserializeOptionBindingPattern(pos) {
|
|
|
4623
4623
|
|
|
4624
4624
|
function deserializeVecOptionBindingPattern(pos) {
|
|
4625
4625
|
const arr = [],
|
|
4626
|
-
pos32 = pos >> 2
|
|
4627
|
-
len = uint32[pos32 + 2];
|
|
4626
|
+
pos32 = pos >> 2;
|
|
4628
4627
|
pos = uint32[pos32];
|
|
4629
|
-
|
|
4628
|
+
const endPos = pos + uint32[pos32 + 2] * 32;
|
|
4629
|
+
while (pos !== endPos) {
|
|
4630
4630
|
arr.push(deserializeOptionBindingPattern(pos));
|
|
4631
4631
|
pos += 32;
|
|
4632
4632
|
}
|
|
@@ -4671,10 +4671,10 @@ function deserializeOptionBoxFunctionBody(pos) {
|
|
|
4671
4671
|
|
|
4672
4672
|
function deserializeVecFormalParameter(pos) {
|
|
4673
4673
|
const arr = [],
|
|
4674
|
-
pos32 = pos >> 2
|
|
4675
|
-
len = uint32[pos32 + 2];
|
|
4674
|
+
pos32 = pos >> 2;
|
|
4676
4675
|
pos = uint32[pos32];
|
|
4677
|
-
|
|
4676
|
+
const endPos = pos + uint32[pos32 + 2] * 72;
|
|
4677
|
+
while (pos !== endPos) {
|
|
4678
4678
|
arr.push(deserializeFormalParameter(pos));
|
|
4679
4679
|
pos += 72;
|
|
4680
4680
|
}
|
|
@@ -4683,10 +4683,10 @@ function deserializeVecFormalParameter(pos) {
|
|
|
4683
4683
|
|
|
4684
4684
|
function deserializeVecDecorator(pos) {
|
|
4685
4685
|
const arr = [],
|
|
4686
|
-
pos32 = pos >> 2
|
|
4687
|
-
len = uint32[pos32 + 2];
|
|
4686
|
+
pos32 = pos >> 2;
|
|
4688
4687
|
pos = uint32[pos32];
|
|
4689
|
-
|
|
4688
|
+
const endPos = pos + uint32[pos32 + 2] * 24;
|
|
4689
|
+
while (pos !== endPos) {
|
|
4690
4690
|
arr.push(deserializeDecorator(pos));
|
|
4691
4691
|
pos += 24;
|
|
4692
4692
|
}
|
|
@@ -4700,10 +4700,10 @@ function deserializeOptionTSAccessibility(pos) {
|
|
|
4700
4700
|
|
|
4701
4701
|
function deserializeVecTSClassImplements(pos) {
|
|
4702
4702
|
const arr = [],
|
|
4703
|
-
pos32 = pos >> 2
|
|
4704
|
-
len = uint32[pos32 + 2];
|
|
4703
|
+
pos32 = pos >> 2;
|
|
4705
4704
|
pos = uint32[pos32];
|
|
4706
|
-
|
|
4705
|
+
const endPos = pos + uint32[pos32 + 2] * 32;
|
|
4706
|
+
while (pos !== endPos) {
|
|
4707
4707
|
arr.push(deserializeTSClassImplements(pos));
|
|
4708
4708
|
pos += 32;
|
|
4709
4709
|
}
|
|
@@ -4716,10 +4716,10 @@ function deserializeBoxClassBody(pos) {
|
|
|
4716
4716
|
|
|
4717
4717
|
function deserializeVecClassElement(pos) {
|
|
4718
4718
|
const arr = [],
|
|
4719
|
-
pos32 = pos >> 2
|
|
4720
|
-
len = uint32[pos32 + 2];
|
|
4719
|
+
pos32 = pos >> 2;
|
|
4721
4720
|
pos = uint32[pos32];
|
|
4722
|
-
|
|
4721
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4722
|
+
while (pos !== endPos) {
|
|
4723
4723
|
arr.push(deserializeClassElement(pos));
|
|
4724
4724
|
pos += 16;
|
|
4725
4725
|
}
|
|
@@ -4777,10 +4777,10 @@ function deserializeOptionImportPhase(pos) {
|
|
|
4777
4777
|
|
|
4778
4778
|
function deserializeVecImportDeclarationSpecifier(pos) {
|
|
4779
4779
|
const arr = [],
|
|
4780
|
-
pos32 = pos >> 2
|
|
4781
|
-
len = uint32[pos32 + 2];
|
|
4780
|
+
pos32 = pos >> 2;
|
|
4782
4781
|
pos = uint32[pos32];
|
|
4783
|
-
|
|
4782
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4783
|
+
while (pos !== endPos) {
|
|
4784
4784
|
arr.push(deserializeImportDeclarationSpecifier(pos));
|
|
4785
4785
|
pos += 16;
|
|
4786
4786
|
}
|
|
@@ -4815,10 +4815,10 @@ function deserializeBoxImportNamespaceSpecifier(pos) {
|
|
|
4815
4815
|
|
|
4816
4816
|
function deserializeVecImportAttribute(pos) {
|
|
4817
4817
|
const arr = [],
|
|
4818
|
-
pos32 = pos >> 2
|
|
4819
|
-
len = uint32[pos32 + 2];
|
|
4818
|
+
pos32 = pos >> 2;
|
|
4820
4819
|
pos = uint32[pos32];
|
|
4821
|
-
|
|
4820
|
+
const endPos = pos + uint32[pos32 + 2] * 112;
|
|
4821
|
+
while (pos !== endPos) {
|
|
4822
4822
|
arr.push(deserializeImportAttribute(pos));
|
|
4823
4823
|
pos += 112;
|
|
4824
4824
|
}
|
|
@@ -4832,10 +4832,10 @@ function deserializeOptionDeclaration(pos) {
|
|
|
4832
4832
|
|
|
4833
4833
|
function deserializeVecExportSpecifier(pos) {
|
|
4834
4834
|
const arr = [],
|
|
4835
|
-
pos32 = pos >> 2
|
|
4836
|
-
len = uint32[pos32 + 2];
|
|
4835
|
+
pos32 = pos >> 2;
|
|
4837
4836
|
pos = uint32[pos32];
|
|
4838
|
-
|
|
4837
|
+
const endPos = pos + uint32[pos32 + 2] * 128;
|
|
4838
|
+
while (pos !== endPos) {
|
|
4839
4839
|
arr.push(deserializeExportSpecifier(pos));
|
|
4840
4840
|
pos += 128;
|
|
4841
4841
|
}
|
|
@@ -4866,10 +4866,10 @@ function deserializeBoxJSXOpeningElement(pos) {
|
|
|
4866
4866
|
|
|
4867
4867
|
function deserializeVecJSXChild(pos) {
|
|
4868
4868
|
const arr = [],
|
|
4869
|
-
pos32 = pos >> 2
|
|
4870
|
-
len = uint32[pos32 + 2];
|
|
4869
|
+
pos32 = pos >> 2;
|
|
4871
4870
|
pos = uint32[pos32];
|
|
4872
|
-
|
|
4871
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4872
|
+
while (pos !== endPos) {
|
|
4873
4873
|
arr.push(deserializeJSXChild(pos));
|
|
4874
4874
|
pos += 16;
|
|
4875
4875
|
}
|
|
@@ -4887,10 +4887,10 @@ function deserializeOptionBoxJSXClosingElement(pos) {
|
|
|
4887
4887
|
|
|
4888
4888
|
function deserializeVecJSXAttributeItem(pos) {
|
|
4889
4889
|
const arr = [],
|
|
4890
|
-
pos32 = pos >> 2
|
|
4891
|
-
len = uint32[pos32 + 2];
|
|
4890
|
+
pos32 = pos >> 2;
|
|
4892
4891
|
pos = uint32[pos32];
|
|
4893
|
-
|
|
4892
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
4893
|
+
while (pos !== endPos) {
|
|
4894
4894
|
arr.push(deserializeJSXAttributeItem(pos));
|
|
4895
4895
|
pos += 16;
|
|
4896
4896
|
}
|
|
@@ -4936,10 +4936,10 @@ function deserializeBoxJSXSpreadChild(pos) {
|
|
|
4936
4936
|
|
|
4937
4937
|
function deserializeVecTSEnumMember(pos) {
|
|
4938
4938
|
const arr = [],
|
|
4939
|
-
pos32 = pos >> 2
|
|
4940
|
-
len = uint32[pos32 + 2];
|
|
4939
|
+
pos32 = pos >> 2;
|
|
4941
4940
|
pos = uint32[pos32];
|
|
4942
|
-
|
|
4941
|
+
const endPos = pos + uint32[pos32 + 2] * 40;
|
|
4942
|
+
while (pos !== endPos) {
|
|
4943
4943
|
arr.push(deserializeTSEnumMember(pos));
|
|
4944
4944
|
pos += 40;
|
|
4945
4945
|
}
|
|
@@ -5096,10 +5096,10 @@ function deserializeBoxJSDocUnknownType(pos) {
|
|
|
5096
5096
|
|
|
5097
5097
|
function deserializeVecTSType(pos) {
|
|
5098
5098
|
const arr = [],
|
|
5099
|
-
pos32 = pos >> 2
|
|
5100
|
-
len = uint32[pos32 + 2];
|
|
5099
|
+
pos32 = pos >> 2;
|
|
5101
5100
|
pos = uint32[pos32];
|
|
5102
|
-
|
|
5101
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
5102
|
+
while (pos !== endPos) {
|
|
5103
5103
|
arr.push(deserializeTSType(pos));
|
|
5104
5104
|
pos += 16;
|
|
5105
5105
|
}
|
|
@@ -5108,10 +5108,10 @@ function deserializeVecTSType(pos) {
|
|
|
5108
5108
|
|
|
5109
5109
|
function deserializeVecTSTupleElement(pos) {
|
|
5110
5110
|
const arr = [],
|
|
5111
|
-
pos32 = pos >> 2
|
|
5112
|
-
len = uint32[pos32 + 2];
|
|
5111
|
+
pos32 = pos >> 2;
|
|
5113
5112
|
pos = uint32[pos32];
|
|
5114
|
-
|
|
5113
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
5114
|
+
while (pos !== endPos) {
|
|
5115
5115
|
arr.push(deserializeTSTupleElement(pos));
|
|
5116
5116
|
pos += 16;
|
|
5117
5117
|
}
|
|
@@ -5137,10 +5137,10 @@ function deserializeOptionTSType(pos) {
|
|
|
5137
5137
|
|
|
5138
5138
|
function deserializeVecTSTypeParameter(pos) {
|
|
5139
5139
|
const arr = [],
|
|
5140
|
-
pos32 = pos >> 2
|
|
5141
|
-
len = uint32[pos32 + 2];
|
|
5140
|
+
pos32 = pos >> 2;
|
|
5142
5141
|
pos = uint32[pos32];
|
|
5143
|
-
|
|
5142
|
+
const endPos = pos + uint32[pos32 + 2] * 80;
|
|
5143
|
+
while (pos !== endPos) {
|
|
5144
5144
|
arr.push(deserializeTSTypeParameter(pos));
|
|
5145
5145
|
pos += 80;
|
|
5146
5146
|
}
|
|
@@ -5149,10 +5149,10 @@ function deserializeVecTSTypeParameter(pos) {
|
|
|
5149
5149
|
|
|
5150
5150
|
function deserializeVecTSInterfaceHeritage(pos) {
|
|
5151
5151
|
const arr = [],
|
|
5152
|
-
pos32 = pos >> 2
|
|
5153
|
-
len = uint32[pos32 + 2];
|
|
5152
|
+
pos32 = pos >> 2;
|
|
5154
5153
|
pos = uint32[pos32];
|
|
5155
|
-
|
|
5154
|
+
const endPos = pos + uint32[pos32 + 2] * 32;
|
|
5155
|
+
while (pos !== endPos) {
|
|
5156
5156
|
arr.push(deserializeTSInterfaceHeritage(pos));
|
|
5157
5157
|
pos += 32;
|
|
5158
5158
|
}
|
|
@@ -5165,10 +5165,10 @@ function deserializeBoxTSInterfaceBody(pos) {
|
|
|
5165
5165
|
|
|
5166
5166
|
function deserializeVecTSSignature(pos) {
|
|
5167
5167
|
const arr = [],
|
|
5168
|
-
pos32 = pos >> 2
|
|
5169
|
-
len = uint32[pos32 + 2];
|
|
5168
|
+
pos32 = pos >> 2;
|
|
5170
5169
|
pos = uint32[pos32];
|
|
5171
|
-
|
|
5170
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
5171
|
+
while (pos !== endPos) {
|
|
5172
5172
|
arr.push(deserializeTSSignature(pos));
|
|
5173
5173
|
pos += 16;
|
|
5174
5174
|
}
|
|
@@ -5193,10 +5193,10 @@ function deserializeBoxTSMethodSignature(pos) {
|
|
|
5193
5193
|
|
|
5194
5194
|
function deserializeVecTSIndexSignatureName(pos) {
|
|
5195
5195
|
const arr = [],
|
|
5196
|
-
pos32 = pos >> 2
|
|
5197
|
-
len = uint32[pos32 + 2];
|
|
5196
|
+
pos32 = pos >> 2;
|
|
5198
5197
|
pos = uint32[pos32];
|
|
5199
|
-
|
|
5198
|
+
const endPos = pos + uint32[pos32 + 2] * 32;
|
|
5199
|
+
while (pos !== endPos) {
|
|
5200
5200
|
arr.push(deserializeTSIndexSignatureName(pos));
|
|
5201
5201
|
pos += 32;
|
|
5202
5202
|
}
|
|
@@ -5256,10 +5256,10 @@ function deserializeOptionU64(pos) {
|
|
|
5256
5256
|
|
|
5257
5257
|
function deserializeVecError(pos) {
|
|
5258
5258
|
const arr = [],
|
|
5259
|
-
pos32 = pos >> 2
|
|
5260
|
-
len = uint32[pos32 + 2];
|
|
5259
|
+
pos32 = pos >> 2;
|
|
5261
5260
|
pos = uint32[pos32];
|
|
5262
|
-
|
|
5261
|
+
const endPos = pos + uint32[pos32 + 2] * 80;
|
|
5262
|
+
while (pos !== endPos) {
|
|
5263
5263
|
arr.push(deserializeError(pos));
|
|
5264
5264
|
pos += 80;
|
|
5265
5265
|
}
|
|
@@ -5268,10 +5268,10 @@ function deserializeVecError(pos) {
|
|
|
5268
5268
|
|
|
5269
5269
|
function deserializeVecErrorLabel(pos) {
|
|
5270
5270
|
const arr = [],
|
|
5271
|
-
pos32 = pos >> 2
|
|
5272
|
-
len = uint32[pos32 + 2];
|
|
5271
|
+
pos32 = pos >> 2;
|
|
5273
5272
|
pos = uint32[pos32];
|
|
5274
|
-
|
|
5273
|
+
const endPos = pos + uint32[pos32 + 2] * 24;
|
|
5274
|
+
while (pos !== endPos) {
|
|
5275
5275
|
arr.push(deserializeErrorLabel(pos));
|
|
5276
5276
|
pos += 24;
|
|
5277
5277
|
}
|
|
@@ -5280,10 +5280,10 @@ function deserializeVecErrorLabel(pos) {
|
|
|
5280
5280
|
|
|
5281
5281
|
function deserializeVecStaticImport(pos) {
|
|
5282
5282
|
const arr = [],
|
|
5283
|
-
pos32 = pos >> 2
|
|
5284
|
-
len = uint32[pos32 + 2];
|
|
5283
|
+
pos32 = pos >> 2;
|
|
5285
5284
|
pos = uint32[pos32];
|
|
5286
|
-
|
|
5285
|
+
const endPos = pos + uint32[pos32 + 2] * 56;
|
|
5286
|
+
while (pos !== endPos) {
|
|
5287
5287
|
arr.push(deserializeStaticImport(pos));
|
|
5288
5288
|
pos += 56;
|
|
5289
5289
|
}
|
|
@@ -5292,10 +5292,10 @@ function deserializeVecStaticImport(pos) {
|
|
|
5292
5292
|
|
|
5293
5293
|
function deserializeVecStaticExport(pos) {
|
|
5294
5294
|
const arr = [],
|
|
5295
|
-
pos32 = pos >> 2
|
|
5296
|
-
len = uint32[pos32 + 2];
|
|
5295
|
+
pos32 = pos >> 2;
|
|
5297
5296
|
pos = uint32[pos32];
|
|
5298
|
-
|
|
5297
|
+
const endPos = pos + uint32[pos32 + 2] * 32;
|
|
5298
|
+
while (pos !== endPos) {
|
|
5299
5299
|
arr.push(deserializeStaticExport(pos));
|
|
5300
5300
|
pos += 32;
|
|
5301
5301
|
}
|
|
@@ -5304,10 +5304,10 @@ function deserializeVecStaticExport(pos) {
|
|
|
5304
5304
|
|
|
5305
5305
|
function deserializeVecDynamicImport(pos) {
|
|
5306
5306
|
const arr = [],
|
|
5307
|
-
pos32 = pos >> 2
|
|
5308
|
-
len = uint32[pos32 + 2];
|
|
5307
|
+
pos32 = pos >> 2;
|
|
5309
5308
|
pos = uint32[pos32];
|
|
5310
|
-
|
|
5309
|
+
const endPos = pos + uint32[pos32 + 2] * 16;
|
|
5310
|
+
while (pos !== endPos) {
|
|
5311
5311
|
arr.push(deserializeDynamicImport(pos));
|
|
5312
5312
|
pos += 16;
|
|
5313
5313
|
}
|
|
@@ -5316,10 +5316,10 @@ function deserializeVecDynamicImport(pos) {
|
|
|
5316
5316
|
|
|
5317
5317
|
function deserializeVecSpan(pos) {
|
|
5318
5318
|
const arr = [],
|
|
5319
|
-
pos32 = pos >> 2
|
|
5320
|
-
len = uint32[pos32 + 2];
|
|
5319
|
+
pos32 = pos >> 2;
|
|
5321
5320
|
pos = uint32[pos32];
|
|
5322
|
-
|
|
5321
|
+
const endPos = pos + uint32[pos32 + 2] * 8;
|
|
5322
|
+
while (pos !== endPos) {
|
|
5323
5323
|
arr.push(deserializeSpan(pos));
|
|
5324
5324
|
pos += 8;
|
|
5325
5325
|
}
|
|
@@ -5328,10 +5328,10 @@ function deserializeVecSpan(pos) {
|
|
|
5328
5328
|
|
|
5329
5329
|
function deserializeVecImportEntry(pos) {
|
|
5330
5330
|
const arr = [],
|
|
5331
|
-
pos32 = pos >> 2
|
|
5332
|
-
len = uint32[pos32 + 2];
|
|
5331
|
+
pos32 = pos >> 2;
|
|
5333
5332
|
pos = uint32[pos32];
|
|
5334
|
-
|
|
5333
|
+
const endPos = pos + uint32[pos32 + 2] * 96;
|
|
5334
|
+
while (pos !== endPos) {
|
|
5335
5335
|
arr.push(deserializeImportEntry(pos));
|
|
5336
5336
|
pos += 96;
|
|
5337
5337
|
}
|
|
@@ -5340,10 +5340,10 @@ function deserializeVecImportEntry(pos) {
|
|
|
5340
5340
|
|
|
5341
5341
|
function deserializeVecExportEntry(pos) {
|
|
5342
5342
|
const arr = [],
|
|
5343
|
-
pos32 = pos >> 2
|
|
5344
|
-
len = uint32[pos32 + 2];
|
|
5343
|
+
pos32 = pos >> 2;
|
|
5345
5344
|
pos = uint32[pos32];
|
|
5346
|
-
|
|
5345
|
+
const endPos = pos + uint32[pos32 + 2] * 144;
|
|
5346
|
+
while (pos !== endPos) {
|
|
5347
5347
|
arr.push(deserializeExportEntry(pos));
|
|
5348
5348
|
pos += 144;
|
|
5349
5349
|
}
|