oxlint 1.77.0 → 1.78.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/configuration_schema.json +242 -8
- package/dist/bindings.js +327 -316
- package/dist/index.d.ts +71 -4
- package/dist/lint.js +773 -710
- package/dist/plugins-dev.d.ts +1 -1
- package/package.json +20 -20
package/dist/lint.js
CHANGED
|
@@ -810,7 +810,7 @@ function resetComments() {
|
|
|
810
810
|
}
|
|
811
811
|
//#endregion
|
|
812
812
|
//#region src-js/generated/deserialize.js
|
|
813
|
-
const BufferPrototype$1 = Buffer.prototype, ObjectCreate$1 = Object.create, ObjectPrototype = Object.prototype, StringFromCodePoint = String.fromCodePoint
|
|
813
|
+
const BufferPrototype$1 = Buffer.prototype, ObjectCreate$1 = Object.create, ObjectPrototype = Object.prototype, StringFromCodePoint = String.fromCodePoint;
|
|
814
814
|
let uint8, int32, float64, sourceText$1, sourceTextLatin, sourceStartPos$1 = 0, firstNonAsciiPos = 0, parent = null;
|
|
815
815
|
const { fromCharCode } = String, { utf8Slice: utf8Slice$1, latin1Slice } = BufferPrototype$1, stringDecodeArrays = Array(65).fill(null);
|
|
816
816
|
for (let i = 0; i <= 64; i++) stringDecodeArrays[i] = Array(i).fill(0);
|
|
@@ -1765,9 +1765,10 @@ function deserializeStatement(pos) {
|
|
|
1765
1765
|
case 35: return deserializeBoxTSTypeAliasDeclaration(pos + 8);
|
|
1766
1766
|
case 36: return deserializeBoxTSInterfaceDeclaration(pos + 8);
|
|
1767
1767
|
case 37: return deserializeBoxTSEnumDeclaration(pos + 8);
|
|
1768
|
-
case 38: return
|
|
1769
|
-
case 39: return
|
|
1770
|
-
case 40: return
|
|
1768
|
+
case 38: return deserializeBoxTSExternalModuleDeclaration(pos + 8);
|
|
1769
|
+
case 39: return deserializeBoxTSNamespaceDeclaration(pos + 8);
|
|
1770
|
+
case 40: return deserializeBoxTSGlobalDeclaration(pos + 8);
|
|
1771
|
+
case 41: return deserializeBoxTSImportEqualsDeclaration(pos + 8);
|
|
1771
1772
|
case 64: return deserializeBoxImportDeclaration(pos + 8);
|
|
1772
1773
|
case 65: return deserializeBoxExportAllDeclaration(pos + 8);
|
|
1773
1774
|
case 66: return deserializeBoxExportDefaultDeclaration(pos + 8);
|
|
@@ -1812,9 +1813,10 @@ function deserializeDeclaration(pos) {
|
|
|
1812
1813
|
case 35: return deserializeBoxTSTypeAliasDeclaration(pos + 8);
|
|
1813
1814
|
case 36: return deserializeBoxTSInterfaceDeclaration(pos + 8);
|
|
1814
1815
|
case 37: return deserializeBoxTSEnumDeclaration(pos + 8);
|
|
1815
|
-
case 38: return
|
|
1816
|
-
case 39: return
|
|
1817
|
-
case 40: return
|
|
1816
|
+
case 38: return deserializeBoxTSExternalModuleDeclaration(pos + 8);
|
|
1817
|
+
case 39: return deserializeBoxTSNamespaceDeclaration(pos + 8);
|
|
1818
|
+
case 40: return deserializeBoxTSGlobalDeclaration(pos + 8);
|
|
1819
|
+
case 41: return deserializeBoxTSImportEqualsDeclaration(pos + 8);
|
|
1818
1820
|
default: throw Error(`Unexpected discriminant ${uint8[pos]} for Declaration`);
|
|
1819
1821
|
}
|
|
1820
1822
|
}
|
|
@@ -1848,7 +1850,7 @@ function deserializeVariableDeclarator(pos) {
|
|
|
1848
1850
|
type: "VariableDeclarator",
|
|
1849
1851
|
id: null,
|
|
1850
1852
|
init: null,
|
|
1851
|
-
definite: deserializeBool(pos +
|
|
1853
|
+
definite: deserializeBool(pos + 12),
|
|
1852
1854
|
start: start = deserializeI32(pos),
|
|
1853
1855
|
end: end = deserializeI32(pos + 4),
|
|
1854
1856
|
range: [start, end],
|
|
@@ -2513,8 +2515,8 @@ function deserializeClass(pos) {
|
|
|
2513
2515
|
end: end = deserializeI32(pos + 4),
|
|
2514
2516
|
range: [start, end],
|
|
2515
2517
|
parent
|
|
2516
|
-
};
|
|
2517
|
-
return node.decorators = deserializeVecDecorator(pos + 16), node.id = deserializeOptionBindingIdentifier(pos + 40), node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 72), node.superClass =
|
|
2518
|
+
}, superClass = deserializeOptionExpression(pos + 80);
|
|
2519
|
+
return node.decorators = deserializeVecDecorator(pos + 16), node.id = deserializeOptionBindingIdentifier(pos + 40), node.typeParameters = deserializeOptionBoxTSTypeParameterDeclaration(pos + 72), node.superClass = superClass, node.superTypeArguments = superClass === null ? null : deserializeOptionBoxTSTypeParameterInstantiation(pos + 80 + (pos + 16 - pos)), node.implements = deserializeVecTSClassImplements(pos + 104), node.body = deserializeBoxClassBody(pos + 128), parent = previousParent, node;
|
|
2518
2520
|
}
|
|
2519
2521
|
function deserializeClassType(pos) {
|
|
2520
2522
|
switch (uint8[pos]) {
|
|
@@ -4135,8 +4137,41 @@ function deserializeTSInterfaceHeritage(pos) {
|
|
|
4135
4137
|
end: end = deserializeI32(pos + 4),
|
|
4136
4138
|
range: [start, end],
|
|
4137
4139
|
parent
|
|
4138
|
-
};
|
|
4139
|
-
|
|
4140
|
+
}, expression = deserializeTSTypeName(pos + 16);
|
|
4141
|
+
if (expression.type === "TSQualifiedName") {
|
|
4142
|
+
let object = expression.left, { right } = expression, start, end, previous = expression = {
|
|
4143
|
+
__proto__: NodeProto,
|
|
4144
|
+
type: "MemberExpression",
|
|
4145
|
+
object,
|
|
4146
|
+
property: right,
|
|
4147
|
+
optional: !1,
|
|
4148
|
+
computed: !1,
|
|
4149
|
+
start: start = expression.start,
|
|
4150
|
+
end: end = expression.end,
|
|
4151
|
+
range: [start, end],
|
|
4152
|
+
parent
|
|
4153
|
+
};
|
|
4154
|
+
for (right.parent = previous;;) {
|
|
4155
|
+
if (object.type !== "TSQualifiedName") {
|
|
4156
|
+
object.parent = previous;
|
|
4157
|
+
break;
|
|
4158
|
+
}
|
|
4159
|
+
let { left, right } = object;
|
|
4160
|
+
previous = previous.object = {
|
|
4161
|
+
__proto__: NodeProto,
|
|
4162
|
+
type: "MemberExpression",
|
|
4163
|
+
object: left,
|
|
4164
|
+
property: right,
|
|
4165
|
+
optional: !1,
|
|
4166
|
+
computed: !1,
|
|
4167
|
+
start: start = object.start,
|
|
4168
|
+
end: end = object.end,
|
|
4169
|
+
range: [start, end],
|
|
4170
|
+
parent: previous
|
|
4171
|
+
}, right.parent = previous, object = left;
|
|
4172
|
+
}
|
|
4173
|
+
}
|
|
4174
|
+
return node.expression = expression, node.typeArguments = deserializeOptionBoxTSTypeParameterInstantiation(pos + 32), parent = previousParent, node;
|
|
4140
4175
|
}
|
|
4141
4176
|
function deserializeTSTypePredicate(pos) {
|
|
4142
4177
|
let start, end, previousParent = parent, node = parent = {
|
|
@@ -4159,12 +4194,28 @@ function deserializeTSTypePredicateName(pos) {
|
|
|
4159
4194
|
default: throw Error(`Unexpected discriminant ${uint8[pos]} for TSTypePredicateName`);
|
|
4160
4195
|
}
|
|
4161
4196
|
}
|
|
4162
|
-
function
|
|
4163
|
-
let
|
|
4164
|
-
|
|
4197
|
+
function deserializeTSExternalModuleDeclaration(pos) {
|
|
4198
|
+
let start = deserializeI32(pos), end = deserializeI32(pos + 4), declare = deserializeBool(pos + 72), previousParent = parent, body = deserializeOptionBoxTSModuleBlock(pos + 64), node = parent = {
|
|
4199
|
+
__proto__: NodeProto,
|
|
4200
|
+
type: "TSModuleDeclaration",
|
|
4201
|
+
id: null,
|
|
4202
|
+
...body !== null && { body },
|
|
4203
|
+
kind: "module",
|
|
4204
|
+
declare,
|
|
4205
|
+
global: !1,
|
|
4206
|
+
start,
|
|
4207
|
+
end,
|
|
4208
|
+
range: [start, end],
|
|
4209
|
+
parent
|
|
4210
|
+
};
|
|
4211
|
+
return node.id = deserializeStringLiteral(pos + 16), body !== null && (body.parent = node), parent = previousParent, node;
|
|
4212
|
+
}
|
|
4213
|
+
function deserializeTSNamespaceDeclaration(pos) {
|
|
4214
|
+
let kind = deserializeTSNamespaceDeclarationKind(pos + 64), start = deserializeI32(pos), end = deserializeI32(pos + 4), declare = deserializeBool(pos + 65), previousParent = parent, body = deserializeTSNamespaceDeclarationBody(pos + 48), node = parent = {
|
|
4165
4215
|
__proto__: NodeProto,
|
|
4166
4216
|
type: "TSModuleDeclaration",
|
|
4167
4217
|
id: null,
|
|
4218
|
+
body,
|
|
4168
4219
|
kind,
|
|
4169
4220
|
declare,
|
|
4170
4221
|
global: !1,
|
|
@@ -4172,77 +4223,54 @@ function deserializeTSModuleDeclaration(pos) {
|
|
|
4172
4223
|
end,
|
|
4173
4224
|
range: [start, end],
|
|
4174
4225
|
parent
|
|
4175
|
-
},
|
|
4226
|
+
}, id = deserializeBindingIdentifier(pos + 16);
|
|
4227
|
+
if (body.type === "TSModuleBlock") node.id = id, body.parent = node;
|
|
4176
4228
|
else {
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
id.parent = innerId.parent = outerId;
|
|
4206
|
-
} else {
|
|
4207
|
-
node.id = innerId, innerId.parent = node;
|
|
4208
|
-
let { start } = id;
|
|
4209
|
-
for (; innerId.start = innerId.range[0] = start, innerId.left.type !== "Identifier";) innerId = innerId.left;
|
|
4210
|
-
let end, right = innerId.left;
|
|
4211
|
-
id.parent = right.parent = innerId.left = {
|
|
4212
|
-
__proto__: NodeProto,
|
|
4213
|
-
type: "TSQualifiedName",
|
|
4214
|
-
left: id,
|
|
4215
|
-
right,
|
|
4216
|
-
start,
|
|
4217
|
-
end: end = right.end,
|
|
4218
|
-
range: [start, end],
|
|
4219
|
-
parent: innerId
|
|
4220
|
-
};
|
|
4221
|
-
}
|
|
4222
|
-
ObjectHasOwn$4(body, "body") ? (body = body.body, node.body = body, body.parent = node) : body = null;
|
|
4229
|
+
let innerId = body.id;
|
|
4230
|
+
if (innerId.type === "Identifier") {
|
|
4231
|
+
let start, end, outerId = node.id = parent = {
|
|
4232
|
+
__proto__: NodeProto,
|
|
4233
|
+
type: "TSQualifiedName",
|
|
4234
|
+
left: id,
|
|
4235
|
+
right: innerId,
|
|
4236
|
+
start: start = id.start,
|
|
4237
|
+
end: end = innerId.end,
|
|
4238
|
+
range: [start, end],
|
|
4239
|
+
parent: node
|
|
4240
|
+
};
|
|
4241
|
+
id.parent = innerId.parent = outerId;
|
|
4242
|
+
} else {
|
|
4243
|
+
node.id = innerId, innerId.parent = node;
|
|
4244
|
+
let { start } = id;
|
|
4245
|
+
for (; innerId.start = innerId.range[0] = start, innerId.left.type !== "Identifier";) innerId = innerId.left;
|
|
4246
|
+
let end, right = innerId.left;
|
|
4247
|
+
id.parent = right.parent = innerId.left = {
|
|
4248
|
+
__proto__: NodeProto,
|
|
4249
|
+
type: "TSQualifiedName",
|
|
4250
|
+
left: id,
|
|
4251
|
+
right,
|
|
4252
|
+
start,
|
|
4253
|
+
end: end = right.end,
|
|
4254
|
+
range: [start, end],
|
|
4255
|
+
parent: innerId
|
|
4256
|
+
};
|
|
4223
4257
|
}
|
|
4258
|
+
body = body.body, node.body = body, body.parent = node;
|
|
4224
4259
|
}
|
|
4225
4260
|
return parent = previousParent, node;
|
|
4226
4261
|
}
|
|
4227
|
-
function
|
|
4262
|
+
function deserializeTSNamespaceDeclarationKind(pos) {
|
|
4228
4263
|
switch (uint8[pos]) {
|
|
4229
4264
|
case 0: return "module";
|
|
4230
4265
|
case 1: return "namespace";
|
|
4231
|
-
default: throw Error(`Unexpected discriminant ${uint8[pos]} for
|
|
4232
|
-
}
|
|
4233
|
-
}
|
|
4234
|
-
function deserializeTSModuleDeclarationName(pos) {
|
|
4235
|
-
switch (uint8[pos]) {
|
|
4236
|
-
case 0: return deserializeBindingIdentifier(pos + 8);
|
|
4237
|
-
case 1: return deserializeStringLiteral(pos + 8);
|
|
4238
|
-
default: throw Error(`Unexpected discriminant ${uint8[pos]} for TSModuleDeclarationName`);
|
|
4266
|
+
default: throw Error(`Unexpected discriminant ${uint8[pos]} for TSNamespaceDeclarationKind`);
|
|
4239
4267
|
}
|
|
4240
4268
|
}
|
|
4241
|
-
function
|
|
4269
|
+
function deserializeTSNamespaceDeclarationBody(pos) {
|
|
4242
4270
|
switch (uint8[pos]) {
|
|
4243
|
-
case 0: return
|
|
4271
|
+
case 0: return deserializeBoxTSNamespaceDeclaration(pos + 8);
|
|
4244
4272
|
case 1: return deserializeBoxTSModuleBlock(pos + 8);
|
|
4245
|
-
default: throw Error(`Unexpected discriminant ${uint8[pos]} for
|
|
4273
|
+
default: throw Error(`Unexpected discriminant ${uint8[pos]} for TSNamespaceDeclarationBody`);
|
|
4246
4274
|
}
|
|
4247
4275
|
}
|
|
4248
4276
|
function deserializeTSGlobalDeclaration(pos) {
|
|
@@ -5027,8 +5055,11 @@ function deserializeBoxTSInterfaceDeclaration(pos) {
|
|
|
5027
5055
|
function deserializeBoxTSEnumDeclaration(pos) {
|
|
5028
5056
|
return deserializeTSEnumDeclaration(int32[pos >> 2]);
|
|
5029
5057
|
}
|
|
5030
|
-
function
|
|
5031
|
-
return
|
|
5058
|
+
function deserializeBoxTSExternalModuleDeclaration(pos) {
|
|
5059
|
+
return deserializeTSExternalModuleDeclaration(int32[pos >> 2]);
|
|
5060
|
+
}
|
|
5061
|
+
function deserializeBoxTSNamespaceDeclaration(pos) {
|
|
5062
|
+
return deserializeTSNamespaceDeclaration(int32[pos >> 2]);
|
|
5032
5063
|
}
|
|
5033
5064
|
function deserializeBoxTSGlobalDeclaration(pos) {
|
|
5034
5065
|
return deserializeTSGlobalDeclaration(int32[pos >> 2]);
|
|
@@ -5499,12 +5530,12 @@ function deserializeBoxTSConstructSignatureDeclaration(pos) {
|
|
|
5499
5530
|
function deserializeBoxTSMethodSignature(pos) {
|
|
5500
5531
|
return deserializeTSMethodSignature(int32[pos >> 2]);
|
|
5501
5532
|
}
|
|
5502
|
-
function deserializeOptionTSModuleDeclarationBody(pos) {
|
|
5503
|
-
return uint8[pos] === 2 ? null : deserializeTSModuleDeclarationBody(pos);
|
|
5504
|
-
}
|
|
5505
5533
|
function deserializeBoxTSModuleBlock(pos) {
|
|
5506
5534
|
return deserializeTSModuleBlock(int32[pos >> 2]);
|
|
5507
5535
|
}
|
|
5536
|
+
function deserializeOptionBoxTSModuleBlock(pos) {
|
|
5537
|
+
return int32[pos >> 2] === 0 && int32[(pos >> 2) + 1] === 0 ? null : deserializeBoxTSModuleBlock(pos);
|
|
5538
|
+
}
|
|
5508
5539
|
function deserializeBoxTSTypeParameter(pos) {
|
|
5509
5540
|
return deserializeTSTypeParameter(int32[pos >> 2]);
|
|
5510
5541
|
}
|
|
@@ -11382,8 +11413,10 @@ var require_eslint_visitor_keys = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11382
11413
|
for (let key of children) {
|
|
11383
11414
|
if (exclude.has(key)) continue;
|
|
11384
11415
|
let child = node[key];
|
|
11385
|
-
if (child)
|
|
11386
|
-
|
|
11416
|
+
if (child) {
|
|
11417
|
+
if (Array.isArray(child)) for (let subChild of child) isNode(subChild) && this.visit(subChild);
|
|
11418
|
+
else isNode(child) && this.visit(child);
|
|
11419
|
+
}
|
|
11387
11420
|
}
|
|
11388
11421
|
}
|
|
11389
11422
|
/**
|
|
@@ -14249,7 +14282,7 @@ function resetSettings() {
|
|
|
14249
14282
|
}
|
|
14250
14283
|
//#endregion
|
|
14251
14284
|
//#region package.json
|
|
14252
|
-
var version = "1.
|
|
14285
|
+
var version = "1.78.0";
|
|
14253
14286
|
//#endregion
|
|
14254
14287
|
//#region src-js/plugins/context.ts
|
|
14255
14288
|
const ObjectFreeze$1 = Object.freeze, ObjectCreate = Object.create, ObjectAssign = Object.assign, ObjectPreventExtensions = Object.preventExtensions;
|
|
@@ -15349,8 +15382,10 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15349
15382
|
*/
|
|
15350
15383
|
function resolve(compile, root, ref) {
|
|
15351
15384
|
var refVal = this._refs[ref];
|
|
15352
|
-
if (typeof refVal == "string")
|
|
15353
|
-
|
|
15385
|
+
if (typeof refVal == "string") {
|
|
15386
|
+
if (this._refs[refVal]) refVal = this._refs[refVal];
|
|
15387
|
+
else return resolve.call(this, compile, root, refVal);
|
|
15388
|
+
}
|
|
15354
15389
|
if (refVal ||= this._schemas[ref], refVal instanceof SchemaObject) return inlineRef(refVal.schema, this._opts.inlineRefs) ? refVal.schema : refVal.validate || this._compile(refVal);
|
|
15355
15390
|
var res = resolveSchema.call(this, root, ref), schema, v, baseId;
|
|
15356
15391
|
return res && (schema = res.schema, root = res.root, baseId = res.baseId), schema instanceof SchemaObject ? v = schema.validate || compile.call(this, schema.schema, root, void 0, baseId) : schema !== void 0 && (v = inlineRef(schema, this._opts.inlineRefs) ? schema : compile.call(this, schema, root, void 0, baseId)), v;
|
|
@@ -15480,10 +15515,12 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15480
15515
|
var refVal = self._refs[id];
|
|
15481
15516
|
if (typeof refVal == "string" && (refVal = self._refs[refVal]), refVal && refVal.schema) {
|
|
15482
15517
|
if (!equal(sch, refVal.schema)) throw Error("id \"" + id + "\" resolves to more than one schema");
|
|
15483
|
-
} else if (id != normalizeId(fullPath))
|
|
15484
|
-
if (
|
|
15485
|
-
|
|
15486
|
-
|
|
15518
|
+
} else if (id != normalizeId(fullPath)) {
|
|
15519
|
+
if (id[0] == "#") {
|
|
15520
|
+
if (localRefs[id] && !equal(sch, localRefs[id])) throw Error("id \"" + id + "\" resolves to more than one schema");
|
|
15521
|
+
localRefs[id] = sch;
|
|
15522
|
+
} else self._refs[id] = fullPath;
|
|
15523
|
+
}
|
|
15487
15524
|
}
|
|
15488
15525
|
baseIds[jsonPtr] = baseId, fullPaths[jsonPtr] = fullPath;
|
|
15489
15526
|
}
|
|
@@ -16421,10 +16458,12 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16421
16458
|
}
|
|
16422
16459
|
if (out += "var " + $errs + " = errors;var " + $nextValid + " = true;", $ownProperties && (out += " var " + $dataProperties + " = undefined;"), $checkAdditional) {
|
|
16423
16460
|
if (out += $ownProperties ? " " + $dataProperties + " = " + $dataProperties + " || Object.keys(" + $data + "); for (var " + $idx + "=0; " + $idx + "<" + $dataProperties + ".length; " + $idx + "++) { var " + $key + " = " + $dataProperties + "[" + $idx + "]; " : " for (var " + $key + " in " + $data + ") { ", $someProperties) {
|
|
16424
|
-
if (out += " var isAdditional" + $lvl + " = !(false ", $schemaKeys.length)
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
|
-
|
|
16461
|
+
if (out += " var isAdditional" + $lvl + " = !(false ", $schemaKeys.length) {
|
|
16462
|
+
if ($schemaKeys.length > 8) out += " || validate.schema" + $schemaPath + ".hasOwnProperty(" + $key + ") ";
|
|
16463
|
+
else {
|
|
16464
|
+
var arr1 = $schemaKeys;
|
|
16465
|
+
if (arr1) for (var $propertyKey, i1 = -1, l1 = arr1.length - 1; i1 < l1;) $propertyKey = arr1[i1 += 1], out += " || " + $key + " == " + it.util.toQuotedString($propertyKey) + " ";
|
|
16466
|
+
}
|
|
16428
16467
|
}
|
|
16429
16468
|
if ($pPropertyKeys.length) {
|
|
16430
16469
|
var arr2 = $pPropertyKeys;
|
|
@@ -16435,32 +16474,35 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16435
16474
|
if ($removeAdditional == "all") out += " delete " + $data + "[" + $key + "]; ";
|
|
16436
16475
|
else {
|
|
16437
16476
|
var $currentErrorPath = it.errorPath, $additionalProperty = "' + " + $key + " + '";
|
|
16438
|
-
if (it.opts._errorDataPathProperty && (it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers)), $noAdditional)
|
|
16439
|
-
|
|
16440
|
-
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16461
|
-
|
|
16462
|
-
|
|
16463
|
-
|
|
16477
|
+
if (it.opts._errorDataPathProperty && (it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers)), $noAdditional) {
|
|
16478
|
+
if ($removeAdditional) out += " delete " + $data + "[" + $key + "]; ";
|
|
16479
|
+
else {
|
|
16480
|
+
out += " " + $nextValid + " = false; ";
|
|
16481
|
+
var $currErrSchemaPath = $errSchemaPath;
|
|
16482
|
+
$errSchemaPath = it.errSchemaPath + "/additionalProperties";
|
|
16483
|
+
var $$outStack = $$outStack || [];
|
|
16484
|
+
$$outStack.push(out), out = "", it.createErrors === !1 ? out += " {} " : (out += " { keyword: 'additionalProperties' , dataPath: (dataPath || '') + " + it.errorPath + " , schemaPath: " + it.util.toQuotedString($errSchemaPath) + " , params: { additionalProperty: '" + $additionalProperty + "' } ", it.opts.messages !== !1 && (out += " , message: '", it.opts._errorDataPathProperty ? out += "is an invalid additional property" : out += "should NOT have additional properties", out += "' "), it.opts.verbose && (out += " , schema: false , parentSchema: validate.schema" + it.schemaPath + " , data: " + $data + " "), out += " } ");
|
|
16485
|
+
var __err = out;
|
|
16486
|
+
out = $$outStack.pop(), !it.compositeRule && $breakOnError ?
|
|
16487
|
+
/* istanbul ignore if */
|
|
16488
|
+
it.async ? out += " throw new ValidationError([" + __err + "]); " : out += " validate.errors = [" + __err + "]; return false; " : out += " var err = " + __err + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", $errSchemaPath = $currErrSchemaPath, $breakOnError && (out += " break; ");
|
|
16489
|
+
}
|
|
16490
|
+
} else if ($additionalIsSchema) {
|
|
16491
|
+
if ($removeAdditional == "failing") {
|
|
16492
|
+
out += " var " + $errs + " = errors; ";
|
|
16493
|
+
var $wasComposite = it.compositeRule;
|
|
16494
|
+
it.compositeRule = $it.compositeRule = !0, $it.schema = $aProperties, $it.schemaPath = it.schemaPath + ".additionalProperties", $it.errSchemaPath = it.errSchemaPath + "/additionalProperties", $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);
|
|
16495
|
+
var $passData = $data + "[" + $key + "]";
|
|
16496
|
+
$it.dataPathArr[$dataNxt] = $key;
|
|
16497
|
+
var $code = it.validate($it);
|
|
16498
|
+
$it.baseId = $currentBaseId, it.util.varOccurences($code, $nextData) < 2 ? out += " " + it.util.varReplace($code, $nextData, $passData) + " " : out += " var " + $nextData + " = " + $passData + "; " + $code + " ", out += " if (!" + $nextValid + ") { errors = " + $errs + "; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete " + $data + "[" + $key + "]; } ", it.compositeRule = $it.compositeRule = $wasComposite;
|
|
16499
|
+
} else {
|
|
16500
|
+
$it.schema = $aProperties, $it.schemaPath = it.schemaPath + ".additionalProperties", $it.errSchemaPath = it.errSchemaPath + "/additionalProperties", $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);
|
|
16501
|
+
var $passData = $data + "[" + $key + "]";
|
|
16502
|
+
$it.dataPathArr[$dataNxt] = $key;
|
|
16503
|
+
var $code = it.validate($it);
|
|
16504
|
+
$it.baseId = $currentBaseId, it.util.varOccurences($code, $nextData) < 2 ? out += " " + it.util.varReplace($code, $nextData, $passData) + " " : out += " var " + $nextData + " = " + $passData + "; " + $code + " ", $breakOnError && (out += " if (!" + $nextValid + ") break; ");
|
|
16505
|
+
}
|
|
16464
16506
|
}
|
|
16465
16507
|
it.errorPath = $currentErrorPath;
|
|
16466
16508
|
}
|
|
@@ -16541,45 +16583,48 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16541
16583
|
var out = " ", $lvl = it.level, $dataLvl = it.dataLevel, $schema = it.schema[$keyword], $schemaPath = it.schemaPath + it.util.getProperty($keyword), $errSchemaPath = it.errSchemaPath + "/" + $keyword, $breakOnError = !it.opts.allErrors, $data = "data" + ($dataLvl || ""), $valid = "valid" + $lvl, $isData = it.opts.$data && $schema && $schema.$data;
|
|
16542
16584
|
$isData && (out += " var schema" + $lvl + " = " + it.util.getData($schema.$data, $dataLvl, it.dataPathArr) + "; ", "" + $lvl);
|
|
16543
16585
|
var $vSchema = "schema" + $lvl;
|
|
16544
|
-
if (!$isData)
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
$property = arr1
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
|
|
16586
|
+
if (!$isData) {
|
|
16587
|
+
if ($schema.length < it.opts.loopRequired && it.schema.properties && Object.keys(it.schema.properties).length) {
|
|
16588
|
+
var $required = [], arr1 = $schema;
|
|
16589
|
+
if (arr1) for (var $property, i1 = -1, l1 = arr1.length - 1; i1 < l1;) {
|
|
16590
|
+
$property = arr1[i1 += 1];
|
|
16591
|
+
var $propertySch = it.schema.properties[$property];
|
|
16592
|
+
$propertySch && (it.opts.strictKeywords ? typeof $propertySch == "object" && Object.keys($propertySch).length > 0 || $propertySch === !1 : it.util.schemaHasRules($propertySch, it.RULES.all)) || ($required[$required.length] = $property);
|
|
16593
|
+
}
|
|
16594
|
+
} else var $required = $schema;
|
|
16595
|
+
}
|
|
16552
16596
|
if ($isData || $required.length) {
|
|
16553
16597
|
var $currentErrorPath = it.errorPath, $loopRequired = $isData || $required.length >= it.opts.loopRequired, $ownProperties = it.opts.ownProperties;
|
|
16554
|
-
if ($breakOnError)
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16568
|
-
$propertyKey
|
|
16569
|
-
|
|
16570
|
-
|
|
16598
|
+
if ($breakOnError) {
|
|
16599
|
+
if (out += " var missing" + $lvl + "; ", $loopRequired) {
|
|
16600
|
+
$isData || (out += " var " + $vSchema + " = validate.schema" + $schemaPath + "; ");
|
|
16601
|
+
var $i = "i" + $lvl, $propertyPath = "schema" + $lvl + "[" + $i + "]", $missingProperty = "' + " + $propertyPath + " + '";
|
|
16602
|
+
it.opts._errorDataPathProperty && (it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers)), out += " var " + $valid + " = true; ", $isData && (out += " if (schema" + $lvl + " === undefined) " + $valid + " = true; else if (!Array.isArray(schema" + $lvl + ")) " + $valid + " = false; else {"), out += " for (var " + $i + " = 0; " + $i + " < " + $vSchema + ".length; " + $i + "++) { " + $valid + " = " + $data + "[" + $vSchema + "[" + $i + "]] !== undefined ", $ownProperties && (out += " && Object.prototype.hasOwnProperty.call(" + $data + ", " + $vSchema + "[" + $i + "]) "), out += "; if (!" + $valid + ") break; } ", $isData && (out += " } "), out += " if (!" + $valid + ") { ";
|
|
16603
|
+
var $$outStack = $$outStack || [];
|
|
16604
|
+
$$outStack.push(out), out = "", it.createErrors === !1 ? out += " {} " : (out += " { keyword: 'required' , dataPath: (dataPath || '') + " + it.errorPath + " , schemaPath: " + it.util.toQuotedString($errSchemaPath) + " , params: { missingProperty: '" + $missingProperty + "' } ", it.opts.messages !== !1 && (out += " , message: '", it.opts._errorDataPathProperty ? out += "is a required property" : out += "should have required property \\'" + $missingProperty + "\\'", out += "' "), it.opts.verbose && (out += " , schema: validate.schema" + $schemaPath + " , parentSchema: validate.schema" + it.schemaPath + " , data: " + $data + " "), out += " } ");
|
|
16605
|
+
var __err = out;
|
|
16606
|
+
out = $$outStack.pop(), !it.compositeRule && $breakOnError ?
|
|
16607
|
+
/* istanbul ignore if */
|
|
16608
|
+
it.async ? out += " throw new ValidationError([" + __err + "]); " : out += " validate.errors = [" + __err + "]; return false; " : out += " var err = " + __err + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", out += " } else { ";
|
|
16609
|
+
} else {
|
|
16610
|
+
out += " if ( ";
|
|
16611
|
+
var arr2 = $required;
|
|
16612
|
+
if (arr2) for (var $propertyKey, $i = -1, l2 = arr2.length - 1; $i < l2;) {
|
|
16613
|
+
$propertyKey = arr2[$i += 1], $i && (out += " || ");
|
|
16614
|
+
var $prop = it.util.getProperty($propertyKey), $useData = $data + $prop;
|
|
16615
|
+
out += " ( ( " + $useData + " === undefined ", $ownProperties && (out += " || ! Object.prototype.hasOwnProperty.call(" + $data + ", '" + it.util.escapeQuotes($propertyKey) + "') "), out += ") && (missing" + $lvl + " = " + it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop) + ") ) ";
|
|
16616
|
+
}
|
|
16617
|
+
out += ") { ";
|
|
16618
|
+
var $propertyPath = "missing" + $lvl, $missingProperty = "' + " + $propertyPath + " + '";
|
|
16619
|
+
it.opts._errorDataPathProperty && (it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, !0) : $currentErrorPath + " + " + $propertyPath);
|
|
16620
|
+
var $$outStack = $$outStack || [];
|
|
16621
|
+
$$outStack.push(out), out = "", it.createErrors === !1 ? out += " {} " : (out += " { keyword: 'required' , dataPath: (dataPath || '') + " + it.errorPath + " , schemaPath: " + it.util.toQuotedString($errSchemaPath) + " , params: { missingProperty: '" + $missingProperty + "' } ", it.opts.messages !== !1 && (out += " , message: '", it.opts._errorDataPathProperty ? out += "is a required property" : out += "should have required property \\'" + $missingProperty + "\\'", out += "' "), it.opts.verbose && (out += " , schema: validate.schema" + $schemaPath + " , parentSchema: validate.schema" + it.schemaPath + " , data: " + $data + " "), out += " } ");
|
|
16622
|
+
var __err = out;
|
|
16623
|
+
out = $$outStack.pop(), !it.compositeRule && $breakOnError ?
|
|
16624
|
+
/* istanbul ignore if */
|
|
16625
|
+
it.async ? out += " throw new ValidationError([" + __err + "]); " : out += " validate.errors = [" + __err + "]; return false; " : out += " var err = " + __err + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", out += " } else { ";
|
|
16571
16626
|
}
|
|
16572
|
-
|
|
16573
|
-
var $propertyPath = "missing" + $lvl, $missingProperty = "' + " + $propertyPath + " + '";
|
|
16574
|
-
it.opts._errorDataPathProperty && (it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, !0) : $currentErrorPath + " + " + $propertyPath);
|
|
16575
|
-
var $$outStack = $$outStack || [];
|
|
16576
|
-
$$outStack.push(out), out = "", it.createErrors === !1 ? out += " {} " : (out += " { keyword: 'required' , dataPath: (dataPath || '') + " + it.errorPath + " , schemaPath: " + it.util.toQuotedString($errSchemaPath) + " , params: { missingProperty: '" + $missingProperty + "' } ", it.opts.messages !== !1 && (out += " , message: '", it.opts._errorDataPathProperty ? out += "is a required property" : out += "should have required property \\'" + $missingProperty + "\\'", out += "' "), it.opts.verbose && (out += " , schema: validate.schema" + $schemaPath + " , parentSchema: validate.schema" + it.schemaPath + " , data: " + $data + " "), out += " } ");
|
|
16577
|
-
var __err = out;
|
|
16578
|
-
out = $$outStack.pop(), !it.compositeRule && $breakOnError ?
|
|
16579
|
-
/* istanbul ignore if */
|
|
16580
|
-
it.async ? out += " throw new ValidationError([" + __err + "]); " : out += " validate.errors = [" + __err + "]; return false; " : out += " var err = " + __err + "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ", out += " } else { ";
|
|
16581
|
-
}
|
|
16582
|
-
else if ($loopRequired) {
|
|
16627
|
+
} else if ($loopRequired) {
|
|
16583
16628
|
$isData || (out += " var " + $vSchema + " = validate.schema" + $schemaPath + "; ");
|
|
16584
16629
|
var $i = "i" + $lvl, $propertyPath = "schema" + $lvl + "[" + $i + "]", $missingProperty = "' + " + $propertyPath + " + '";
|
|
16585
16630
|
it.opts._errorDataPathProperty && (it.errorPath = it.util.getPathExpr($currentErrorPath, $propertyPath, it.opts.jsonPointers)), $isData && (out += " if (" + $vSchema + " && !Array.isArray(" + $vSchema + ")) { var err = ", it.createErrors === !1 ? out += " {} " : (out += " { keyword: 'required' , dataPath: (dataPath || '') + " + it.errorPath + " , schemaPath: " + it.util.toQuotedString($errSchemaPath) + " , params: { missingProperty: '" + $missingProperty + "' } ", it.opts.messages !== !1 && (out += " , message: '", it.opts._errorDataPathProperty ? out += "is a required property" : out += "should have required property \\'" + $missingProperty + "\\'", out += "' "), it.opts.verbose && (out += " , schema: validate.schema" + $schemaPath + " , parentSchema: validate.schema" + it.schemaPath + " , data: " + $data + " "), out += " } "), out += "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if (" + $vSchema + " !== undefined) { "), out += " for (var " + $i + " = 0; " + $i + " < " + $vSchema + ".length; " + $i + "++) { if (" + $data + "[" + $vSchema + "[" + $i + "]] === undefined ", $ownProperties && (out += " || ! Object.prototype.hasOwnProperty.call(" + $data + ", " + $vSchema + "[" + $i + "]) "), out += ") { var err = ", it.createErrors === !1 ? out += " {} " : (out += " { keyword: 'required' , dataPath: (dataPath || '') + " + it.errorPath + " , schemaPath: " + it.util.toQuotedString($errSchemaPath) + " , params: { missingProperty: '" + $missingProperty + "' } ", it.opts.messages !== !1 && (out += " , message: '", it.opts._errorDataPathProperty ? out += "is a required property" : out += "should have required property \\'" + $missingProperty + "\\'", out += "' "), it.opts.verbose && (out += " , schema: validate.schema" + $schemaPath + " , parentSchema: validate.schema" + it.schemaPath + " , data: " + $data + " "), out += " } "), out += "; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ", $isData && (out += " } ");
|
|
@@ -17409,8 +17454,10 @@ var require_uri_all = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17409
17454
|
}
|
|
17410
17455
|
function addInitialSchemas(self) {
|
|
17411
17456
|
var optsSchemas = self._opts.schemas;
|
|
17412
|
-
if (optsSchemas)
|
|
17413
|
-
|
|
17457
|
+
if (optsSchemas) {
|
|
17458
|
+
if (Array.isArray(optsSchemas)) self.addSchema(optsSchemas);
|
|
17459
|
+
else for (var key in optsSchemas) self.addSchema(optsSchemas[key], key);
|
|
17460
|
+
}
|
|
17414
17461
|
}
|
|
17415
17462
|
function addInitialFormats(self) {
|
|
17416
17463
|
for (var name in self._opts.formats) {
|
|
@@ -18698,10 +18745,12 @@ var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
18698
18745
|
let done = /* @__PURE__ */ new Set();
|
|
18699
18746
|
for (let i = 0; i < segments.length; ++i) {
|
|
18700
18747
|
let segment = segments[i];
|
|
18701
|
-
if (!done.has(segment))
|
|
18702
|
-
|
|
18703
|
-
let
|
|
18704
|
-
|
|
18748
|
+
if (!done.has(segment)) {
|
|
18749
|
+
if (segment.internal.used) done.add(segment);
|
|
18750
|
+
else for (let j = 0; j < segment.allPrevSegments.length; ++j) {
|
|
18751
|
+
let prevSegment = segment.allPrevSegments[j];
|
|
18752
|
+
done.has(prevSegment) || done.add(prevSegment);
|
|
18753
|
+
}
|
|
18705
18754
|
}
|
|
18706
18755
|
}
|
|
18707
18756
|
return [...done];
|
|
@@ -20720,503 +20769,505 @@ const NODE_TYPE_IDS_MAP = /* @__PURE__ */ new Map([
|
|
|
20720
20769
|
56
|
|
20721
20770
|
], ArrayIsArray$1 = Array.isArray, ancestors = [];
|
|
20722
20771
|
function walkNode(node, visitors) {
|
|
20723
|
-
if (node != null)
|
|
20724
|
-
|
|
20725
|
-
|
|
20726
|
-
|
|
20727
|
-
|
|
20728
|
-
|
|
20729
|
-
|
|
20730
|
-
|
|
20731
|
-
|
|
20732
|
-
|
|
20733
|
-
|
|
20734
|
-
|
|
20735
|
-
|
|
20736
|
-
|
|
20737
|
-
|
|
20738
|
-
|
|
20739
|
-
|
|
20740
|
-
|
|
20741
|
-
|
|
20742
|
-
|
|
20743
|
-
|
|
20744
|
-
|
|
20745
|
-
|
|
20746
|
-
|
|
20747
|
-
|
|
20748
|
-
|
|
20749
|
-
|
|
20750
|
-
|
|
20751
|
-
|
|
20752
|
-
|
|
20753
|
-
|
|
20754
|
-
|
|
20755
|
-
|
|
20756
|
-
|
|
20757
|
-
|
|
20758
|
-
|
|
20759
|
-
|
|
20760
|
-
|
|
20761
|
-
|
|
20762
|
-
|
|
20763
|
-
|
|
20764
|
-
|
|
20765
|
-
|
|
20766
|
-
|
|
20767
|
-
|
|
20768
|
-
|
|
20769
|
-
|
|
20770
|
-
|
|
20771
|
-
|
|
20772
|
-
|
|
20773
|
-
|
|
20774
|
-
|
|
20775
|
-
|
|
20776
|
-
|
|
20777
|
-
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20781
|
-
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
|
|
20785
|
-
|
|
20786
|
-
|
|
20787
|
-
|
|
20788
|
-
|
|
20789
|
-
|
|
20790
|
-
|
|
20791
|
-
|
|
20792
|
-
|
|
20793
|
-
|
|
20794
|
-
|
|
20795
|
-
|
|
20796
|
-
|
|
20797
|
-
|
|
20798
|
-
|
|
20799
|
-
|
|
20800
|
-
|
|
20801
|
-
|
|
20802
|
-
|
|
20803
|
-
|
|
20804
|
-
|
|
20805
|
-
|
|
20806
|
-
|
|
20807
|
-
|
|
20808
|
-
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
20812
|
-
|
|
20813
|
-
|
|
20814
|
-
|
|
20815
|
-
|
|
20816
|
-
|
|
20817
|
-
|
|
20818
|
-
|
|
20819
|
-
|
|
20820
|
-
|
|
20821
|
-
|
|
20822
|
-
|
|
20823
|
-
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
|
|
20829
|
-
|
|
20830
|
-
|
|
20831
|
-
|
|
20832
|
-
|
|
20833
|
-
|
|
20834
|
-
|
|
20835
|
-
|
|
20836
|
-
|
|
20837
|
-
|
|
20838
|
-
|
|
20839
|
-
|
|
20840
|
-
|
|
20841
|
-
|
|
20842
|
-
|
|
20843
|
-
|
|
20844
|
-
|
|
20845
|
-
|
|
20846
|
-
|
|
20847
|
-
|
|
20848
|
-
|
|
20849
|
-
|
|
20850
|
-
|
|
20851
|
-
|
|
20852
|
-
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
20856
|
-
|
|
20857
|
-
|
|
20858
|
-
|
|
20859
|
-
|
|
20860
|
-
|
|
20861
|
-
|
|
20862
|
-
|
|
20863
|
-
|
|
20864
|
-
|
|
20865
|
-
|
|
20866
|
-
|
|
20867
|
-
|
|
20868
|
-
|
|
20869
|
-
|
|
20870
|
-
|
|
20871
|
-
|
|
20872
|
-
|
|
20873
|
-
|
|
20874
|
-
|
|
20875
|
-
|
|
20876
|
-
|
|
20877
|
-
|
|
20878
|
-
|
|
20879
|
-
|
|
20880
|
-
|
|
20881
|
-
|
|
20882
|
-
|
|
20883
|
-
|
|
20884
|
-
|
|
20885
|
-
|
|
20886
|
-
|
|
20887
|
-
|
|
20888
|
-
|
|
20889
|
-
|
|
20890
|
-
|
|
20891
|
-
|
|
20892
|
-
|
|
20893
|
-
|
|
20894
|
-
|
|
20895
|
-
|
|
20896
|
-
|
|
20897
|
-
|
|
20898
|
-
|
|
20899
|
-
|
|
20900
|
-
|
|
20901
|
-
|
|
20902
|
-
|
|
20903
|
-
|
|
20904
|
-
|
|
20905
|
-
|
|
20906
|
-
|
|
20907
|
-
|
|
20908
|
-
|
|
20909
|
-
|
|
20910
|
-
|
|
20911
|
-
|
|
20912
|
-
|
|
20913
|
-
|
|
20914
|
-
|
|
20915
|
-
|
|
20916
|
-
|
|
20917
|
-
|
|
20918
|
-
|
|
20919
|
-
|
|
20920
|
-
|
|
20921
|
-
|
|
20922
|
-
|
|
20923
|
-
|
|
20924
|
-
|
|
20925
|
-
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
20929
|
-
|
|
20930
|
-
|
|
20931
|
-
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
|
|
20940
|
-
|
|
20941
|
-
|
|
20942
|
-
|
|
20943
|
-
|
|
20944
|
-
|
|
20945
|
-
|
|
20946
|
-
|
|
20947
|
-
|
|
20948
|
-
|
|
20949
|
-
|
|
20950
|
-
|
|
20951
|
-
|
|
20952
|
-
|
|
20953
|
-
|
|
20954
|
-
|
|
20955
|
-
|
|
20956
|
-
|
|
20957
|
-
|
|
20958
|
-
|
|
20959
|
-
|
|
20960
|
-
|
|
20961
|
-
|
|
20962
|
-
|
|
20963
|
-
|
|
20964
|
-
|
|
20965
|
-
|
|
20966
|
-
|
|
20967
|
-
|
|
20968
|
-
|
|
20969
|
-
|
|
20970
|
-
|
|
20971
|
-
|
|
20972
|
-
|
|
20973
|
-
|
|
20974
|
-
|
|
20975
|
-
|
|
20976
|
-
|
|
20977
|
-
|
|
20978
|
-
|
|
20979
|
-
|
|
20980
|
-
|
|
20981
|
-
|
|
20982
|
-
|
|
20983
|
-
|
|
20984
|
-
|
|
20985
|
-
|
|
20986
|
-
|
|
20987
|
-
|
|
20988
|
-
|
|
20989
|
-
|
|
20990
|
-
|
|
20991
|
-
|
|
20992
|
-
|
|
20993
|
-
|
|
20994
|
-
|
|
20995
|
-
|
|
20996
|
-
|
|
20997
|
-
|
|
20998
|
-
|
|
20999
|
-
|
|
21000
|
-
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
|
|
21011
|
-
|
|
21012
|
-
|
|
21013
|
-
|
|
21014
|
-
|
|
21015
|
-
|
|
21016
|
-
|
|
21017
|
-
|
|
21018
|
-
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
|
|
21022
|
-
|
|
21023
|
-
|
|
21024
|
-
|
|
21025
|
-
|
|
21026
|
-
|
|
21027
|
-
|
|
21028
|
-
|
|
21029
|
-
|
|
21030
|
-
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
|
|
21038
|
-
|
|
21039
|
-
|
|
21040
|
-
|
|
21041
|
-
|
|
21042
|
-
|
|
21043
|
-
|
|
21044
|
-
|
|
21045
|
-
|
|
21046
|
-
|
|
21047
|
-
|
|
21048
|
-
|
|
21049
|
-
|
|
21050
|
-
|
|
21051
|
-
|
|
21052
|
-
|
|
21053
|
-
|
|
21054
|
-
|
|
21055
|
-
|
|
21056
|
-
|
|
21057
|
-
|
|
21058
|
-
|
|
21059
|
-
|
|
21060
|
-
|
|
21061
|
-
|
|
21062
|
-
|
|
21063
|
-
|
|
21064
|
-
|
|
21065
|
-
|
|
21066
|
-
|
|
21067
|
-
|
|
21068
|
-
|
|
21069
|
-
|
|
21070
|
-
|
|
21071
|
-
|
|
21072
|
-
|
|
21073
|
-
|
|
21074
|
-
|
|
21075
|
-
|
|
21076
|
-
|
|
21077
|
-
|
|
21078
|
-
|
|
21079
|
-
|
|
21080
|
-
|
|
21081
|
-
|
|
21082
|
-
|
|
21083
|
-
|
|
21084
|
-
|
|
21085
|
-
|
|
21086
|
-
|
|
21087
|
-
|
|
21088
|
-
|
|
21089
|
-
|
|
21090
|
-
|
|
21091
|
-
|
|
21092
|
-
|
|
21093
|
-
|
|
21094
|
-
|
|
21095
|
-
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
|
|
21112
|
-
|
|
21113
|
-
|
|
21114
|
-
|
|
21115
|
-
|
|
21116
|
-
|
|
21117
|
-
|
|
21118
|
-
|
|
21119
|
-
|
|
21120
|
-
|
|
21121
|
-
|
|
21122
|
-
|
|
21123
|
-
|
|
21124
|
-
|
|
21125
|
-
|
|
21126
|
-
|
|
21127
|
-
|
|
21128
|
-
|
|
21129
|
-
|
|
21130
|
-
|
|
21131
|
-
|
|
21132
|
-
|
|
21133
|
-
|
|
21134
|
-
|
|
21135
|
-
|
|
21136
|
-
|
|
21137
|
-
|
|
21138
|
-
|
|
21139
|
-
|
|
21140
|
-
|
|
21141
|
-
|
|
21142
|
-
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
|
|
21146
|
-
|
|
21147
|
-
|
|
21148
|
-
|
|
21149
|
-
|
|
21150
|
-
|
|
21151
|
-
|
|
21152
|
-
|
|
21153
|
-
|
|
21154
|
-
|
|
21155
|
-
|
|
21156
|
-
|
|
21157
|
-
|
|
21158
|
-
|
|
21159
|
-
|
|
21160
|
-
|
|
21161
|
-
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21188
|
-
|
|
21189
|
-
|
|
21190
|
-
|
|
21191
|
-
|
|
21192
|
-
|
|
21193
|
-
|
|
21194
|
-
|
|
21195
|
-
|
|
21196
|
-
|
|
21197
|
-
|
|
21198
|
-
|
|
21199
|
-
|
|
21200
|
-
|
|
21201
|
-
|
|
21202
|
-
|
|
21203
|
-
|
|
21204
|
-
|
|
21205
|
-
|
|
21206
|
-
|
|
21207
|
-
|
|
21208
|
-
|
|
21209
|
-
|
|
21210
|
-
|
|
21211
|
-
|
|
21212
|
-
|
|
21213
|
-
|
|
21214
|
-
|
|
21215
|
-
|
|
21216
|
-
|
|
21217
|
-
|
|
21218
|
-
|
|
21219
|
-
|
|
20772
|
+
if (node != null) {
|
|
20773
|
+
if (ArrayIsArray$1(node)) {
|
|
20774
|
+
let len = node.length;
|
|
20775
|
+
for (let i = 0; i < len; i++) walkNode(node[i], visitors);
|
|
20776
|
+
} else switch (node.type) {
|
|
20777
|
+
case "DebuggerStatement":
|
|
20778
|
+
walkDebuggerStatement(node, visitors);
|
|
20779
|
+
break;
|
|
20780
|
+
case "EmptyStatement":
|
|
20781
|
+
walkEmptyStatement(node, visitors);
|
|
20782
|
+
break;
|
|
20783
|
+
case "Literal":
|
|
20784
|
+
walkLiteral(node, visitors);
|
|
20785
|
+
break;
|
|
20786
|
+
case "PrivateIdentifier":
|
|
20787
|
+
walkPrivateIdentifier(node, visitors);
|
|
20788
|
+
break;
|
|
20789
|
+
case "Super":
|
|
20790
|
+
walkSuper(node, visitors);
|
|
20791
|
+
break;
|
|
20792
|
+
case "TemplateElement":
|
|
20793
|
+
walkTemplateElement(node, visitors);
|
|
20794
|
+
break;
|
|
20795
|
+
case "ThisExpression":
|
|
20796
|
+
walkThisExpression(node, visitors);
|
|
20797
|
+
break;
|
|
20798
|
+
case "JSXClosingFragment":
|
|
20799
|
+
walkJSXClosingFragment(node, visitors);
|
|
20800
|
+
break;
|
|
20801
|
+
case "JSXEmptyExpression":
|
|
20802
|
+
walkJSXEmptyExpression(node, visitors);
|
|
20803
|
+
break;
|
|
20804
|
+
case "JSXIdentifier":
|
|
20805
|
+
walkJSXIdentifier(node, visitors);
|
|
20806
|
+
break;
|
|
20807
|
+
case "JSXOpeningFragment":
|
|
20808
|
+
walkJSXOpeningFragment(node, visitors);
|
|
20809
|
+
break;
|
|
20810
|
+
case "JSXText":
|
|
20811
|
+
walkJSXText(node, visitors);
|
|
20812
|
+
break;
|
|
20813
|
+
case "TSAnyKeyword":
|
|
20814
|
+
walkTSAnyKeyword(node, visitors);
|
|
20815
|
+
break;
|
|
20816
|
+
case "TSBigIntKeyword":
|
|
20817
|
+
walkTSBigIntKeyword(node, visitors);
|
|
20818
|
+
break;
|
|
20819
|
+
case "TSBooleanKeyword":
|
|
20820
|
+
walkTSBooleanKeyword(node, visitors);
|
|
20821
|
+
break;
|
|
20822
|
+
case "TSIntrinsicKeyword":
|
|
20823
|
+
walkTSIntrinsicKeyword(node, visitors);
|
|
20824
|
+
break;
|
|
20825
|
+
case "TSJSDocUnknownType":
|
|
20826
|
+
walkTSJSDocUnknownType(node, visitors);
|
|
20827
|
+
break;
|
|
20828
|
+
case "TSNeverKeyword":
|
|
20829
|
+
walkTSNeverKeyword(node, visitors);
|
|
20830
|
+
break;
|
|
20831
|
+
case "TSNullKeyword":
|
|
20832
|
+
walkTSNullKeyword(node, visitors);
|
|
20833
|
+
break;
|
|
20834
|
+
case "TSNumberKeyword":
|
|
20835
|
+
walkTSNumberKeyword(node, visitors);
|
|
20836
|
+
break;
|
|
20837
|
+
case "TSObjectKeyword":
|
|
20838
|
+
walkTSObjectKeyword(node, visitors);
|
|
20839
|
+
break;
|
|
20840
|
+
case "TSStringKeyword":
|
|
20841
|
+
walkTSStringKeyword(node, visitors);
|
|
20842
|
+
break;
|
|
20843
|
+
case "TSSymbolKeyword":
|
|
20844
|
+
walkTSSymbolKeyword(node, visitors);
|
|
20845
|
+
break;
|
|
20846
|
+
case "TSThisType":
|
|
20847
|
+
walkTSThisType(node, visitors);
|
|
20848
|
+
break;
|
|
20849
|
+
case "TSUndefinedKeyword":
|
|
20850
|
+
walkTSUndefinedKeyword(node, visitors);
|
|
20851
|
+
break;
|
|
20852
|
+
case "TSUnknownKeyword":
|
|
20853
|
+
walkTSUnknownKeyword(node, visitors);
|
|
20854
|
+
break;
|
|
20855
|
+
case "TSVoidKeyword":
|
|
20856
|
+
walkTSVoidKeyword(node, visitors);
|
|
20857
|
+
break;
|
|
20858
|
+
case "AccessorProperty":
|
|
20859
|
+
walkAccessorProperty(node, visitors);
|
|
20860
|
+
break;
|
|
20861
|
+
case "ArrayExpression":
|
|
20862
|
+
walkArrayExpression(node, visitors);
|
|
20863
|
+
break;
|
|
20864
|
+
case "ArrayPattern":
|
|
20865
|
+
walkArrayPattern(node, visitors);
|
|
20866
|
+
break;
|
|
20867
|
+
case "ArrowFunctionExpression":
|
|
20868
|
+
walkArrowFunctionExpression(node, visitors);
|
|
20869
|
+
break;
|
|
20870
|
+
case "AssignmentExpression":
|
|
20871
|
+
walkAssignmentExpression(node, visitors);
|
|
20872
|
+
break;
|
|
20873
|
+
case "AssignmentPattern":
|
|
20874
|
+
walkAssignmentPattern(node, visitors);
|
|
20875
|
+
break;
|
|
20876
|
+
case "AwaitExpression":
|
|
20877
|
+
walkAwaitExpression(node, visitors);
|
|
20878
|
+
break;
|
|
20879
|
+
case "BinaryExpression":
|
|
20880
|
+
walkBinaryExpression(node, visitors);
|
|
20881
|
+
break;
|
|
20882
|
+
case "BlockStatement":
|
|
20883
|
+
walkBlockStatement(node, visitors);
|
|
20884
|
+
break;
|
|
20885
|
+
case "BreakStatement":
|
|
20886
|
+
walkBreakStatement(node, visitors);
|
|
20887
|
+
break;
|
|
20888
|
+
case "CallExpression":
|
|
20889
|
+
walkCallExpression(node, visitors);
|
|
20890
|
+
break;
|
|
20891
|
+
case "CatchClause":
|
|
20892
|
+
walkCatchClause(node, visitors);
|
|
20893
|
+
break;
|
|
20894
|
+
case "ChainExpression":
|
|
20895
|
+
walkChainExpression(node, visitors);
|
|
20896
|
+
break;
|
|
20897
|
+
case "ClassBody":
|
|
20898
|
+
walkClassBody(node, visitors);
|
|
20899
|
+
break;
|
|
20900
|
+
case "ClassDeclaration":
|
|
20901
|
+
walkClassDeclaration(node, visitors);
|
|
20902
|
+
break;
|
|
20903
|
+
case "ClassExpression":
|
|
20904
|
+
walkClassExpression(node, visitors);
|
|
20905
|
+
break;
|
|
20906
|
+
case "ConditionalExpression":
|
|
20907
|
+
walkConditionalExpression(node, visitors);
|
|
20908
|
+
break;
|
|
20909
|
+
case "ContinueStatement":
|
|
20910
|
+
walkContinueStatement(node, visitors);
|
|
20911
|
+
break;
|
|
20912
|
+
case "Decorator":
|
|
20913
|
+
walkDecorator(node, visitors);
|
|
20914
|
+
break;
|
|
20915
|
+
case "DoWhileStatement":
|
|
20916
|
+
walkDoWhileStatement(node, visitors);
|
|
20917
|
+
break;
|
|
20918
|
+
case "ExportAllDeclaration":
|
|
20919
|
+
walkExportAllDeclaration(node, visitors);
|
|
20920
|
+
break;
|
|
20921
|
+
case "ExportDefaultDeclaration":
|
|
20922
|
+
walkExportDefaultDeclaration(node, visitors);
|
|
20923
|
+
break;
|
|
20924
|
+
case "ExportNamedDeclaration":
|
|
20925
|
+
walkExportNamedDeclaration(node, visitors);
|
|
20926
|
+
break;
|
|
20927
|
+
case "ExportSpecifier":
|
|
20928
|
+
walkExportSpecifier(node, visitors);
|
|
20929
|
+
break;
|
|
20930
|
+
case "ExpressionStatement":
|
|
20931
|
+
walkExpressionStatement(node, visitors);
|
|
20932
|
+
break;
|
|
20933
|
+
case "ForInStatement":
|
|
20934
|
+
walkForInStatement(node, visitors);
|
|
20935
|
+
break;
|
|
20936
|
+
case "ForOfStatement":
|
|
20937
|
+
walkForOfStatement(node, visitors);
|
|
20938
|
+
break;
|
|
20939
|
+
case "ForStatement":
|
|
20940
|
+
walkForStatement(node, visitors);
|
|
20941
|
+
break;
|
|
20942
|
+
case "FunctionDeclaration":
|
|
20943
|
+
walkFunctionDeclaration(node, visitors);
|
|
20944
|
+
break;
|
|
20945
|
+
case "FunctionExpression":
|
|
20946
|
+
walkFunctionExpression(node, visitors);
|
|
20947
|
+
break;
|
|
20948
|
+
case "Identifier":
|
|
20949
|
+
walkIdentifier(node, visitors);
|
|
20950
|
+
break;
|
|
20951
|
+
case "IfStatement":
|
|
20952
|
+
walkIfStatement(node, visitors);
|
|
20953
|
+
break;
|
|
20954
|
+
case "ImportAttribute":
|
|
20955
|
+
walkImportAttribute(node, visitors);
|
|
20956
|
+
break;
|
|
20957
|
+
case "ImportDeclaration":
|
|
20958
|
+
walkImportDeclaration(node, visitors);
|
|
20959
|
+
break;
|
|
20960
|
+
case "ImportDefaultSpecifier":
|
|
20961
|
+
walkImportDefaultSpecifier(node, visitors);
|
|
20962
|
+
break;
|
|
20963
|
+
case "ImportExpression":
|
|
20964
|
+
walkImportExpression(node, visitors);
|
|
20965
|
+
break;
|
|
20966
|
+
case "ImportNamespaceSpecifier":
|
|
20967
|
+
walkImportNamespaceSpecifier(node, visitors);
|
|
20968
|
+
break;
|
|
20969
|
+
case "ImportSpecifier":
|
|
20970
|
+
walkImportSpecifier(node, visitors);
|
|
20971
|
+
break;
|
|
20972
|
+
case "LabeledStatement":
|
|
20973
|
+
walkLabeledStatement(node, visitors);
|
|
20974
|
+
break;
|
|
20975
|
+
case "LogicalExpression":
|
|
20976
|
+
walkLogicalExpression(node, visitors);
|
|
20977
|
+
break;
|
|
20978
|
+
case "MemberExpression":
|
|
20979
|
+
walkMemberExpression(node, visitors);
|
|
20980
|
+
break;
|
|
20981
|
+
case "MetaProperty":
|
|
20982
|
+
walkMetaProperty(node, visitors);
|
|
20983
|
+
break;
|
|
20984
|
+
case "MethodDefinition":
|
|
20985
|
+
walkMethodDefinition(node, visitors);
|
|
20986
|
+
break;
|
|
20987
|
+
case "NewExpression":
|
|
20988
|
+
walkNewExpression(node, visitors);
|
|
20989
|
+
break;
|
|
20990
|
+
case "ObjectExpression":
|
|
20991
|
+
walkObjectExpression(node, visitors);
|
|
20992
|
+
break;
|
|
20993
|
+
case "ObjectPattern":
|
|
20994
|
+
walkObjectPattern(node, visitors);
|
|
20995
|
+
break;
|
|
20996
|
+
case "ParenthesizedExpression":
|
|
20997
|
+
walkParenthesizedExpression(node, visitors);
|
|
20998
|
+
break;
|
|
20999
|
+
case "Program":
|
|
21000
|
+
walkProgram(node, visitors);
|
|
21001
|
+
break;
|
|
21002
|
+
case "Property":
|
|
21003
|
+
walkProperty(node, visitors);
|
|
21004
|
+
break;
|
|
21005
|
+
case "PropertyDefinition":
|
|
21006
|
+
walkPropertyDefinition(node, visitors);
|
|
21007
|
+
break;
|
|
21008
|
+
case "RestElement":
|
|
21009
|
+
walkRestElement(node, visitors);
|
|
21010
|
+
break;
|
|
21011
|
+
case "ReturnStatement":
|
|
21012
|
+
walkReturnStatement(node, visitors);
|
|
21013
|
+
break;
|
|
21014
|
+
case "SequenceExpression":
|
|
21015
|
+
walkSequenceExpression(node, visitors);
|
|
21016
|
+
break;
|
|
21017
|
+
case "SpreadElement":
|
|
21018
|
+
walkSpreadElement(node, visitors);
|
|
21019
|
+
break;
|
|
21020
|
+
case "StaticBlock":
|
|
21021
|
+
walkStaticBlock(node, visitors);
|
|
21022
|
+
break;
|
|
21023
|
+
case "SwitchCase":
|
|
21024
|
+
walkSwitchCase(node, visitors);
|
|
21025
|
+
break;
|
|
21026
|
+
case "SwitchStatement":
|
|
21027
|
+
walkSwitchStatement(node, visitors);
|
|
21028
|
+
break;
|
|
21029
|
+
case "TaggedTemplateExpression":
|
|
21030
|
+
walkTaggedTemplateExpression(node, visitors);
|
|
21031
|
+
break;
|
|
21032
|
+
case "TemplateLiteral":
|
|
21033
|
+
walkTemplateLiteral(node, visitors);
|
|
21034
|
+
break;
|
|
21035
|
+
case "ThrowStatement":
|
|
21036
|
+
walkThrowStatement(node, visitors);
|
|
21037
|
+
break;
|
|
21038
|
+
case "TryStatement":
|
|
21039
|
+
walkTryStatement(node, visitors);
|
|
21040
|
+
break;
|
|
21041
|
+
case "UnaryExpression":
|
|
21042
|
+
walkUnaryExpression(node, visitors);
|
|
21043
|
+
break;
|
|
21044
|
+
case "UpdateExpression":
|
|
21045
|
+
walkUpdateExpression(node, visitors);
|
|
21046
|
+
break;
|
|
21047
|
+
case "V8IntrinsicExpression":
|
|
21048
|
+
walkV8IntrinsicExpression(node, visitors);
|
|
21049
|
+
break;
|
|
21050
|
+
case "VariableDeclaration":
|
|
21051
|
+
walkVariableDeclaration(node, visitors);
|
|
21052
|
+
break;
|
|
21053
|
+
case "VariableDeclarator":
|
|
21054
|
+
walkVariableDeclarator(node, visitors);
|
|
21055
|
+
break;
|
|
21056
|
+
case "WhileStatement":
|
|
21057
|
+
walkWhileStatement(node, visitors);
|
|
21058
|
+
break;
|
|
21059
|
+
case "WithStatement":
|
|
21060
|
+
walkWithStatement(node, visitors);
|
|
21061
|
+
break;
|
|
21062
|
+
case "YieldExpression":
|
|
21063
|
+
walkYieldExpression(node, visitors);
|
|
21064
|
+
break;
|
|
21065
|
+
case "JSXAttribute":
|
|
21066
|
+
walkJSXAttribute(node, visitors);
|
|
21067
|
+
break;
|
|
21068
|
+
case "JSXClosingElement":
|
|
21069
|
+
walkJSXClosingElement(node, visitors);
|
|
21070
|
+
break;
|
|
21071
|
+
case "JSXElement":
|
|
21072
|
+
walkJSXElement(node, visitors);
|
|
21073
|
+
break;
|
|
21074
|
+
case "JSXExpressionContainer":
|
|
21075
|
+
walkJSXExpressionContainer(node, visitors);
|
|
21076
|
+
break;
|
|
21077
|
+
case "JSXFragment":
|
|
21078
|
+
walkJSXFragment(node, visitors);
|
|
21079
|
+
break;
|
|
21080
|
+
case "JSXMemberExpression":
|
|
21081
|
+
walkJSXMemberExpression(node, visitors);
|
|
21082
|
+
break;
|
|
21083
|
+
case "JSXNamespacedName":
|
|
21084
|
+
walkJSXNamespacedName(node, visitors);
|
|
21085
|
+
break;
|
|
21086
|
+
case "JSXOpeningElement":
|
|
21087
|
+
walkJSXOpeningElement(node, visitors);
|
|
21088
|
+
break;
|
|
21089
|
+
case "JSXSpreadAttribute":
|
|
21090
|
+
walkJSXSpreadAttribute(node, visitors);
|
|
21091
|
+
break;
|
|
21092
|
+
case "JSXSpreadChild":
|
|
21093
|
+
walkJSXSpreadChild(node, visitors);
|
|
21094
|
+
break;
|
|
21095
|
+
case "TSAbstractAccessorProperty":
|
|
21096
|
+
walkTSAbstractAccessorProperty(node, visitors);
|
|
21097
|
+
break;
|
|
21098
|
+
case "TSAbstractMethodDefinition":
|
|
21099
|
+
walkTSAbstractMethodDefinition(node, visitors);
|
|
21100
|
+
break;
|
|
21101
|
+
case "TSAbstractPropertyDefinition":
|
|
21102
|
+
walkTSAbstractPropertyDefinition(node, visitors);
|
|
21103
|
+
break;
|
|
21104
|
+
case "TSArrayType":
|
|
21105
|
+
walkTSArrayType(node, visitors);
|
|
21106
|
+
break;
|
|
21107
|
+
case "TSAsExpression":
|
|
21108
|
+
walkTSAsExpression(node, visitors);
|
|
21109
|
+
break;
|
|
21110
|
+
case "TSCallSignatureDeclaration":
|
|
21111
|
+
walkTSCallSignatureDeclaration(node, visitors);
|
|
21112
|
+
break;
|
|
21113
|
+
case "TSClassImplements":
|
|
21114
|
+
walkTSClassImplements(node, visitors);
|
|
21115
|
+
break;
|
|
21116
|
+
case "TSConditionalType":
|
|
21117
|
+
walkTSConditionalType(node, visitors);
|
|
21118
|
+
break;
|
|
21119
|
+
case "TSConstructSignatureDeclaration":
|
|
21120
|
+
walkTSConstructSignatureDeclaration(node, visitors);
|
|
21121
|
+
break;
|
|
21122
|
+
case "TSConstructorType":
|
|
21123
|
+
walkTSConstructorType(node, visitors);
|
|
21124
|
+
break;
|
|
21125
|
+
case "TSDeclareFunction":
|
|
21126
|
+
walkTSDeclareFunction(node, visitors);
|
|
21127
|
+
break;
|
|
21128
|
+
case "TSEmptyBodyFunctionExpression":
|
|
21129
|
+
walkTSEmptyBodyFunctionExpression(node, visitors);
|
|
21130
|
+
break;
|
|
21131
|
+
case "TSEnumBody":
|
|
21132
|
+
walkTSEnumBody(node, visitors);
|
|
21133
|
+
break;
|
|
21134
|
+
case "TSEnumDeclaration":
|
|
21135
|
+
walkTSEnumDeclaration(node, visitors);
|
|
21136
|
+
break;
|
|
21137
|
+
case "TSEnumMember":
|
|
21138
|
+
walkTSEnumMember(node, visitors);
|
|
21139
|
+
break;
|
|
21140
|
+
case "TSExportAssignment":
|
|
21141
|
+
walkTSExportAssignment(node, visitors);
|
|
21142
|
+
break;
|
|
21143
|
+
case "TSExternalModuleReference":
|
|
21144
|
+
walkTSExternalModuleReference(node, visitors);
|
|
21145
|
+
break;
|
|
21146
|
+
case "TSFunctionType":
|
|
21147
|
+
walkTSFunctionType(node, visitors);
|
|
21148
|
+
break;
|
|
21149
|
+
case "TSImportEqualsDeclaration":
|
|
21150
|
+
walkTSImportEqualsDeclaration(node, visitors);
|
|
21151
|
+
break;
|
|
21152
|
+
case "TSImportType":
|
|
21153
|
+
walkTSImportType(node, visitors);
|
|
21154
|
+
break;
|
|
21155
|
+
case "TSIndexSignature":
|
|
21156
|
+
walkTSIndexSignature(node, visitors);
|
|
21157
|
+
break;
|
|
21158
|
+
case "TSIndexedAccessType":
|
|
21159
|
+
walkTSIndexedAccessType(node, visitors);
|
|
21160
|
+
break;
|
|
21161
|
+
case "TSInferType":
|
|
21162
|
+
walkTSInferType(node, visitors);
|
|
21163
|
+
break;
|
|
21164
|
+
case "TSInstantiationExpression":
|
|
21165
|
+
walkTSInstantiationExpression(node, visitors);
|
|
21166
|
+
break;
|
|
21167
|
+
case "TSInterfaceBody":
|
|
21168
|
+
walkTSInterfaceBody(node, visitors);
|
|
21169
|
+
break;
|
|
21170
|
+
case "TSInterfaceDeclaration":
|
|
21171
|
+
walkTSInterfaceDeclaration(node, visitors);
|
|
21172
|
+
break;
|
|
21173
|
+
case "TSInterfaceHeritage":
|
|
21174
|
+
walkTSInterfaceHeritage(node, visitors);
|
|
21175
|
+
break;
|
|
21176
|
+
case "TSIntersectionType":
|
|
21177
|
+
walkTSIntersectionType(node, visitors);
|
|
21178
|
+
break;
|
|
21179
|
+
case "TSJSDocNonNullableType":
|
|
21180
|
+
walkTSJSDocNonNullableType(node, visitors);
|
|
21181
|
+
break;
|
|
21182
|
+
case "TSJSDocNullableType":
|
|
21183
|
+
walkTSJSDocNullableType(node, visitors);
|
|
21184
|
+
break;
|
|
21185
|
+
case "TSLiteralType":
|
|
21186
|
+
walkTSLiteralType(node, visitors);
|
|
21187
|
+
break;
|
|
21188
|
+
case "TSMappedType":
|
|
21189
|
+
walkTSMappedType(node, visitors);
|
|
21190
|
+
break;
|
|
21191
|
+
case "TSMethodSignature":
|
|
21192
|
+
walkTSMethodSignature(node, visitors);
|
|
21193
|
+
break;
|
|
21194
|
+
case "TSModuleBlock":
|
|
21195
|
+
walkTSModuleBlock(node, visitors);
|
|
21196
|
+
break;
|
|
21197
|
+
case "TSModuleDeclaration":
|
|
21198
|
+
walkTSModuleDeclaration(node, visitors);
|
|
21199
|
+
break;
|
|
21200
|
+
case "TSNamedTupleMember":
|
|
21201
|
+
walkTSNamedTupleMember(node, visitors);
|
|
21202
|
+
break;
|
|
21203
|
+
case "TSNamespaceExportDeclaration":
|
|
21204
|
+
walkTSNamespaceExportDeclaration(node, visitors);
|
|
21205
|
+
break;
|
|
21206
|
+
case "TSNonNullExpression":
|
|
21207
|
+
walkTSNonNullExpression(node, visitors);
|
|
21208
|
+
break;
|
|
21209
|
+
case "TSOptionalType":
|
|
21210
|
+
walkTSOptionalType(node, visitors);
|
|
21211
|
+
break;
|
|
21212
|
+
case "TSParameterProperty":
|
|
21213
|
+
walkTSParameterProperty(node, visitors);
|
|
21214
|
+
break;
|
|
21215
|
+
case "TSParenthesizedType":
|
|
21216
|
+
walkTSParenthesizedType(node, visitors);
|
|
21217
|
+
break;
|
|
21218
|
+
case "TSPropertySignature":
|
|
21219
|
+
walkTSPropertySignature(node, visitors);
|
|
21220
|
+
break;
|
|
21221
|
+
case "TSQualifiedName":
|
|
21222
|
+
walkTSQualifiedName(node, visitors);
|
|
21223
|
+
break;
|
|
21224
|
+
case "TSRestType":
|
|
21225
|
+
walkTSRestType(node, visitors);
|
|
21226
|
+
break;
|
|
21227
|
+
case "TSSatisfiesExpression":
|
|
21228
|
+
walkTSSatisfiesExpression(node, visitors);
|
|
21229
|
+
break;
|
|
21230
|
+
case "TSTemplateLiteralType":
|
|
21231
|
+
walkTSTemplateLiteralType(node, visitors);
|
|
21232
|
+
break;
|
|
21233
|
+
case "TSTupleType":
|
|
21234
|
+
walkTSTupleType(node, visitors);
|
|
21235
|
+
break;
|
|
21236
|
+
case "TSTypeAliasDeclaration":
|
|
21237
|
+
walkTSTypeAliasDeclaration(node, visitors);
|
|
21238
|
+
break;
|
|
21239
|
+
case "TSTypeAnnotation":
|
|
21240
|
+
walkTSTypeAnnotation(node, visitors);
|
|
21241
|
+
break;
|
|
21242
|
+
case "TSTypeAssertion":
|
|
21243
|
+
walkTSTypeAssertion(node, visitors);
|
|
21244
|
+
break;
|
|
21245
|
+
case "TSTypeLiteral":
|
|
21246
|
+
walkTSTypeLiteral(node, visitors);
|
|
21247
|
+
break;
|
|
21248
|
+
case "TSTypeOperator":
|
|
21249
|
+
walkTSTypeOperator(node, visitors);
|
|
21250
|
+
break;
|
|
21251
|
+
case "TSTypeParameter":
|
|
21252
|
+
walkTSTypeParameter(node, visitors);
|
|
21253
|
+
break;
|
|
21254
|
+
case "TSTypeParameterDeclaration":
|
|
21255
|
+
walkTSTypeParameterDeclaration(node, visitors);
|
|
21256
|
+
break;
|
|
21257
|
+
case "TSTypeParameterInstantiation":
|
|
21258
|
+
walkTSTypeParameterInstantiation(node, visitors);
|
|
21259
|
+
break;
|
|
21260
|
+
case "TSTypePredicate":
|
|
21261
|
+
walkTSTypePredicate(node, visitors);
|
|
21262
|
+
break;
|
|
21263
|
+
case "TSTypeQuery":
|
|
21264
|
+
walkTSTypeQuery(node, visitors);
|
|
21265
|
+
break;
|
|
21266
|
+
case "TSTypeReference":
|
|
21267
|
+
walkTSTypeReference(node, visitors);
|
|
21268
|
+
break;
|
|
21269
|
+
case "TSUnionType": walkTSUnionType(node, visitors);
|
|
21270
|
+
}
|
|
21220
21271
|
}
|
|
21221
21272
|
}
|
|
21222
21273
|
function walkDebuggerStatement(node, visitors) {
|
|
@@ -21979,13 +22030,15 @@ function traverseNode(node, enter, leave) {
|
|
|
21979
22030
|
let keys = keys_default[node.type], keysLen = keys.length;
|
|
21980
22031
|
for (let i = 0; i < keysLen; i++) {
|
|
21981
22032
|
let child = node[keys[i]];
|
|
21982
|
-
if (child !== null)
|
|
21983
|
-
|
|
21984
|
-
|
|
21985
|
-
let
|
|
21986
|
-
|
|
21987
|
-
|
|
21988
|
-
|
|
22033
|
+
if (child !== null) {
|
|
22034
|
+
if (ArrayIsArray(child)) {
|
|
22035
|
+
let len = child.length;
|
|
22036
|
+
for (let i = 0; i < len; i++) {
|
|
22037
|
+
let element = child[i];
|
|
22038
|
+
element !== null && traverseNode(element, enter, leave);
|
|
22039
|
+
}
|
|
22040
|
+
} else traverseNode(child, enter, leave);
|
|
22041
|
+
}
|
|
21989
22042
|
}
|
|
21990
22043
|
leave(node);
|
|
21991
22044
|
}
|
|
@@ -22488,16 +22541,18 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
22488
22541
|
if (!this.__fallback) throw Error("Unknown node type " + u + ".");
|
|
22489
22542
|
x = this.__fallback(o);
|
|
22490
22543
|
}
|
|
22491
|
-
for (y = x.length; --y >= 0;) if (v = o[E = x[y]])
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
|
|
22495
|
-
|
|
22496
|
-
|
|
22544
|
+
for (y = x.length; --y >= 0;) if (v = o[E = x[y]]) {
|
|
22545
|
+
if (Array.isArray(v)) {
|
|
22546
|
+
for (m = v.length; --m >= 0;) if (v[m]) {
|
|
22547
|
+
if (h(u, x[y])) d = new c(v[m], [E, m], "Property", new l(v, m));
|
|
22548
|
+
else {
|
|
22549
|
+
if (!p(v[m])) continue;
|
|
22550
|
+
d = new c(v[m], [E, m], null, new l(v, m));
|
|
22551
|
+
}
|
|
22552
|
+
r.push(d);
|
|
22497
22553
|
}
|
|
22498
|
-
|
|
22499
|
-
|
|
22500
|
-
} else p(v) && r.push(new c(v, E, null, new l(o, E)));
|
|
22554
|
+
} else p(v) && r.push(new c(v, E, null, new l(o, E)));
|
|
22555
|
+
}
|
|
22501
22556
|
}
|
|
22502
22557
|
} else if (d = n.pop(), (f = this.__execute(t.leave, d)) !== void 0 && f !== a && f !== i && f !== s && d.ref.replace(f), this.__state !== s && f !== s || b(d), this.__state === a || f === a) return A.root;
|
|
22503
22558
|
return A.root;
|
|
@@ -22843,15 +22898,16 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
22843
22898
|
}()) !== s && Ee() !== s ? ((o = function() {
|
|
22844
22899
|
var e, r, n, o, a, i = 36 * ce + 20, u = de[i];
|
|
22845
22900
|
if (u) return ce = u.nextPos, u.result;
|
|
22846
|
-
if (e = ce, t.substr(ce, 5) === "type(" ? (r = "type(", ce += 5) : (r = s, ge(q)), r !== s)
|
|
22847
|
-
if (
|
|
22848
|
-
|
|
22849
|
-
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
|
|
22901
|
+
if (e = ce, t.substr(ce, 5) === "type(" ? (r = "type(", ce += 5) : (r = s, ge(q)), r !== s) {
|
|
22902
|
+
if (Ee() !== s) {
|
|
22903
|
+
if (n = [], V.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(G)), o !== s) for (; o !== s;) n.push(o), V.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(G));
|
|
22904
|
+
else n = s;
|
|
22905
|
+
n !== s && (o = Ee()) !== s ? (t.charCodeAt(ce) === 41 ? (a = ")", ce++) : (a = s, ge(z)), a === s ? (ce = e, e = s) : (r = {
|
|
22906
|
+
type: "type",
|
|
22907
|
+
value: n.join("")
|
|
22908
|
+
}, e = r)) : (ce = e, e = s);
|
|
22909
|
+
} else ce = e, e = s;
|
|
22853
22910
|
} else ce = e, e = s;
|
|
22854
|
-
else ce = e, e = s;
|
|
22855
22911
|
return de[i] = {
|
|
22856
22912
|
nextPos: ce,
|
|
22857
22913
|
result: e
|
|
@@ -22893,10 +22949,12 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
22893
22949
|
for (n = [], T.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(F)), o === s && (o = ce, t.charCodeAt(ce) === 92 ? (a = "\\", ce++) : (a = s, ge(R)), a === s ? (ce = o, o = s) : (t.length > ce ? (i = t.charAt(ce), ce++) : (i = s, ge(O)), i === s ? (ce = o, o = s) : (a = L(a, i), o = a))); o !== s;) n.push(o), T.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(F)), o === s && (o = ce, t.charCodeAt(ce) === 92 ? (a = "\\", ce++) : (a = s, ge(R)), a === s ? (ce = o, o = s) : (t.length > ce ? (i = t.charAt(ce), ce++) : (i = s, ge(O)), i === s ? (ce = o, o = s) : (a = L(a, i), o = a)));
|
|
22894
22950
|
n === s ? (ce = e, e = s) : (t.charCodeAt(ce) === 34 ? (o = "\"", ce++) : (o = s, ge(j)), o === s ? (ce = e, e = s) : (r = M(n), e = r));
|
|
22895
22951
|
} else ce = e, e = s;
|
|
22896
|
-
if (e === s)
|
|
22897
|
-
|
|
22898
|
-
|
|
22899
|
-
|
|
22952
|
+
if (e === s) {
|
|
22953
|
+
if (e = ce, t.charCodeAt(ce) === 39 ? (r = "'", ce++) : (r = s, ge(B)), r !== s) {
|
|
22954
|
+
for (n = [], U.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(K)), o === s && (o = ce, t.charCodeAt(ce) === 92 ? (a = "\\", ce++) : (a = s, ge(R)), a === s ? (ce = o, o = s) : (t.length > ce ? (i = t.charAt(ce), ce++) : (i = s, ge(O)), i === s ? (ce = o, o = s) : (a = L(a, i), o = a))); o !== s;) n.push(o), U.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(K)), o === s && (o = ce, t.charCodeAt(ce) === 92 ? (a = "\\", ce++) : (a = s, ge(R)), a === s ? (ce = o, o = s) : (t.length > ce ? (i = t.charAt(ce), ce++) : (i = s, ge(O)), i === s ? (ce = o, o = s) : (a = L(a, i), o = a)));
|
|
22955
|
+
n === s ? (ce = e, e = s) : (t.charCodeAt(ce) === 39 ? (o = "'", ce++) : (o = s, ge(B)), o === s ? (ce = e, e = s) : (r = M(n), e = r));
|
|
22956
|
+
} else ce = e, e = s;
|
|
22957
|
+
}
|
|
22900
22958
|
return de[u] = {
|
|
22901
22959
|
nextPos: ce,
|
|
22902
22960
|
result: e
|
|
@@ -22940,16 +22998,17 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
22940
22998
|
}()) === s && (e = function() {
|
|
22941
22999
|
var e, r, n, o, a, i, u, l, c = 36 * ce + 26, f = de[c];
|
|
22942
23000
|
if (f) return ce = f.nextPos, f.result;
|
|
22943
|
-
if (e = ce, t.charCodeAt(ce) === 46 ? (r = ".", ce++) : (r = s, ge(D)), r !== s)
|
|
22944
|
-
|
|
22945
|
-
|
|
22946
|
-
|
|
22947
|
-
|
|
22948
|
-
|
|
22949
|
-
|
|
22950
|
-
|
|
23001
|
+
if (e = ce, t.charCodeAt(ce) === 46 ? (r = ".", ce++) : (r = s, ge(D)), r !== s) {
|
|
23002
|
+
if ((n = be()) !== s) {
|
|
23003
|
+
for (o = [], a = ce, t.charCodeAt(ce) === 46 ? (i = ".", ce++) : (i = s, ge(D)), i !== s && (u = be()) !== s ? a = i = [i, u] : (ce = a, a = s); a !== s;) o.push(a), a = ce, t.charCodeAt(ce) === 46 ? (i = ".", ce++) : (i = s, ge(D)), i !== s && (u = be()) !== s ? a = i = [i, u] : (ce = a, a = s);
|
|
23004
|
+
o === s ? (ce = e, e = s) : (l = n, r = {
|
|
23005
|
+
type: "field",
|
|
23006
|
+
name: o.reduce((function(e, t) {
|
|
23007
|
+
return e + t[0] + t[1];
|
|
23008
|
+
}), l)
|
|
23009
|
+
}, e = r);
|
|
23010
|
+
} else ce = e, e = s;
|
|
22951
23011
|
} else ce = e, e = s;
|
|
22952
|
-
else ce = e, e = s;
|
|
22953
23012
|
return de[c] = {
|
|
22954
23013
|
nextPos: ce,
|
|
22955
23014
|
result: e
|
|
@@ -23020,12 +23079,13 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
23020
23079
|
}()) === s && (e = function() {
|
|
23021
23080
|
var e, r, n, o, a, i = 36 * ce + 33, u = de[i];
|
|
23022
23081
|
if (u) return ce = u.nextPos, u.result;
|
|
23023
|
-
if (e = ce, t.substr(ce, 11) === ":nth-child(" ? (r = ":nth-child(", ce += 11) : (r = s, ge(se)), r !== s)
|
|
23024
|
-
if (
|
|
23025
|
-
|
|
23026
|
-
|
|
23082
|
+
if (e = ce, t.substr(ce, 11) === ":nth-child(" ? (r = ":nth-child(", ce += 11) : (r = s, ge(se)), r !== s) {
|
|
23083
|
+
if (Ee() !== s) {
|
|
23084
|
+
if (n = [], N.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(W)), o !== s) for (; o !== s;) n.push(o), N.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(W));
|
|
23085
|
+
else n = s;
|
|
23086
|
+
n !== s && (o = Ee()) !== s ? (t.charCodeAt(ce) === 41 ? (a = ")", ce++) : (a = s, ge(z)), a === s ? (ce = e, e = s) : (r = Fe(parseInt(n.join(""), 10)), e = r)) : (ce = e, e = s);
|
|
23087
|
+
} else ce = e, e = s;
|
|
23027
23088
|
} else ce = e, e = s;
|
|
23028
|
-
else ce = e, e = s;
|
|
23029
23089
|
return de[i] = {
|
|
23030
23090
|
nextPos: ce,
|
|
23031
23091
|
result: e
|
|
@@ -23033,12 +23093,13 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
23033
23093
|
}()) === s && (e = function() {
|
|
23034
23094
|
var e, r, n, o, a, i = 36 * ce + 34, u = de[i];
|
|
23035
23095
|
if (u) return ce = u.nextPos, u.result;
|
|
23036
|
-
if (e = ce, t.substr(ce, 16) === ":nth-last-child(" ? (r = ":nth-last-child(", ce += 16) : (r = s, ge(ue)), r !== s)
|
|
23037
|
-
if (
|
|
23038
|
-
|
|
23039
|
-
|
|
23096
|
+
if (e = ce, t.substr(ce, 16) === ":nth-last-child(" ? (r = ":nth-last-child(", ce += 16) : (r = s, ge(ue)), r !== s) {
|
|
23097
|
+
if (Ee() !== s) {
|
|
23098
|
+
if (n = [], N.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(W)), o !== s) for (; o !== s;) n.push(o), N.test(t.charAt(ce)) ? (o = t.charAt(ce), ce++) : (o = s, ge(W));
|
|
23099
|
+
else n = s;
|
|
23100
|
+
n !== s && (o = Ee()) !== s ? (t.charCodeAt(ce) === 41 ? (a = ")", ce++) : (a = s, ge(z)), a === s ? (ce = e, e = s) : (r = Re(parseInt(n.join(""), 10)), e = r)) : (ce = e, e = s);
|
|
23101
|
+
} else ce = e, e = s;
|
|
23040
23102
|
} else ce = e, e = s;
|
|
23041
|
-
else ce = e, e = s;
|
|
23042
23103
|
return de[i] = {
|
|
23043
23104
|
nextPos: ce,
|
|
23044
23105
|
result: e
|
|
@@ -23369,14 +23430,16 @@ const resetWeakMaps = resetWeakMapsFn, { matches: esqueryMatches, parse: esquery
|
|
|
23369
23430
|
}(t).map(c);
|
|
23370
23431
|
i.traverse(e, {
|
|
23371
23432
|
enter: function(e, t) {
|
|
23372
|
-
if (t != null && s.unshift(t), u(e, s, a))
|
|
23373
|
-
l
|
|
23374
|
-
|
|
23375
|
-
var
|
|
23376
|
-
|
|
23433
|
+
if (t != null && s.unshift(t), u(e, s, a)) {
|
|
23434
|
+
if (l.length) for (var r = 0, n = l.length; r < n; ++r) {
|
|
23435
|
+
l[r](e, s, a) && o(e, t, s);
|
|
23436
|
+
for (var i = 0, c = s.length; i < c; ++i) {
|
|
23437
|
+
var f = s.slice(i + 1);
|
|
23438
|
+
l[r](s[i], f, a) && o(s[i], t, f);
|
|
23439
|
+
}
|
|
23377
23440
|
}
|
|
23441
|
+
else o(e, t, s);
|
|
23378
23442
|
}
|
|
23379
|
-
else o(e, t, s);
|
|
23380
23443
|
},
|
|
23381
23444
|
leave: function() {
|
|
23382
23445
|
s.shift();
|