@powerlines/deepkit 0.5.25 → 0.5.26
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/dist/vendor/{chunk-HDHYUILP.cjs → chunk-4VQKNTEO.cjs} +176 -176
- package/dist/vendor/{chunk-J3NQHJCY.cjs → chunk-J7M3ZDX2.cjs} +3 -3
- package/dist/vendor/{chunk-WLTQVSCD.cjs → chunk-VPMSZPFK.cjs} +2 -2
- package/dist/vendor/core.cjs +130 -130
- package/dist/vendor/type-compiler/{chunk-UHD2VAAR.cjs → chunk-2ZXBXKUR.cjs} +2 -2
- package/dist/vendor/type-compiler/{chunk-KL56CMRP.cjs → chunk-3DXX6OBU.cjs} +505 -505
- package/dist/vendor/type-compiler/{chunk-CLULUIFR.js → chunk-AOOLALFL.js} +1 -1
- package/dist/vendor/type-compiler/{chunk-YQ7N5TFU.js → chunk-GJBQ6F45.js} +2 -2
- package/dist/vendor/type-compiler/compiler.cjs +12 -12
- package/dist/vendor/type-compiler/compiler.js +2 -2
- package/dist/vendor/type-compiler/config.cjs +9 -9
- package/dist/vendor/type-compiler/config.js +2 -2
- package/dist/vendor/type-compiler/index.cjs +24 -24
- package/dist/vendor/type-compiler/index.js +4 -4
- package/dist/vendor/type-spec.cjs +5 -5
- package/dist/vendor/type.cjs +776 -776
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2ZXBXKUR_cjs = require('./chunk-2ZXBXKUR.cjs');
|
|
4
4
|
var ts3 = require('typescript');
|
|
5
5
|
|
|
6
6
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -8,13 +8,13 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
8
|
var ts3__default = /*#__PURE__*/_interopDefault(ts3);
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
11
|
-
|
|
11
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
12
12
|
|
|
13
13
|
// ../../node_modules/.pnpm/@deepkit+type-spec@1.0.1_patch_hash=f3c3a4fd486751022d78f17d39a5a79f493bca20b185964ca1aba41fbfc93244/node_modules/@deepkit/type-spec/dist/esm/index.js
|
|
14
|
-
|
|
14
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/.pnpm/@deepkit+type-spec@1.0.1_patch_hash=f3c3a4fd486751022d78f17d39a5a79f493bca20b185964ca1aba41fbfc93244/node_modules/@deepkit/type-spec/dist/esm/src/type.js
|
|
17
|
-
|
|
17
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
18
18
|
var TypeNumberBrand;
|
|
19
19
|
(function(TypeNumberBrand2) {
|
|
20
20
|
TypeNumberBrand2[TypeNumberBrand2["integer"] = 0] = "integer";
|
|
@@ -123,7 +123,7 @@ var ReflectionOp;
|
|
|
123
123
|
})(ReflectionOp || (ReflectionOp = {}));
|
|
124
124
|
|
|
125
125
|
// ../../node_modules/.pnpm/@typescript+vfs@1.5.0/node_modules/@typescript/vfs/dist/vfs.esm.js
|
|
126
|
-
|
|
126
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
127
127
|
var hasLocalStorage = false;
|
|
128
128
|
try {
|
|
129
129
|
hasLocalStorage = typeof localStorage !== "undefined";
|
|
@@ -131,7 +131,7 @@ try {
|
|
|
131
131
|
}
|
|
132
132
|
var hasProcess = typeof process !== "undefined";
|
|
133
133
|
hasLocalStorage && /* @__PURE__ */ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG;
|
|
134
|
-
var knownLibFilesForCompilerOptions = /* @__PURE__ */
|
|
134
|
+
var knownLibFilesForCompilerOptions = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name(function knownLibFilesForCompilerOptions2(compilerOptions, ts4) {
|
|
135
135
|
var target = compilerOptions.target || ts4.ScriptTarget.ES5;
|
|
136
136
|
var lib = compilerOptions.lib || [];
|
|
137
137
|
var files = [
|
|
@@ -228,7 +228,7 @@ var knownLibFilesForCompilerOptions = /* @__PURE__ */ chunkUHD2VAAR_cjs.__name(f
|
|
|
228
228
|
return f.startsWith("lib." + targetToCut.toLowerCase());
|
|
229
229
|
});
|
|
230
230
|
var targetCutIndex = files.indexOf(matches.pop());
|
|
231
|
-
var getMax = /* @__PURE__ */
|
|
231
|
+
var getMax = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name(function getMax2(array) {
|
|
232
232
|
return array && array.length ? array.reduce(function(max, current) {
|
|
233
233
|
return current > max ? current : max;
|
|
234
234
|
}) : void 0;
|
|
@@ -247,13 +247,13 @@ var knownLibFilesForCompilerOptions = /* @__PURE__ */ chunkUHD2VAAR_cjs.__name(f
|
|
|
247
247
|
}, "knownLibFilesForCompilerOptions");
|
|
248
248
|
|
|
249
249
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
|
|
250
|
-
|
|
250
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
251
251
|
|
|
252
252
|
// ../../node_modules/.pnpm/@marcj+ts-clone-node@2.2.0_typescript@5.9.3/node_modules/@marcj/ts-clone-node/dist/esm/index.js
|
|
253
|
-
|
|
253
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
254
254
|
|
|
255
255
|
// ../../node_modules/.pnpm/compatfactory@2.0.9_typescript@5.9.3/node_modules/compatfactory/dist/esm/index.js
|
|
256
|
-
|
|
256
|
+
chunk2ZXBXKUR_cjs.init_cjs_shims();
|
|
257
257
|
function ensureNodeFactory(factoryLike) {
|
|
258
258
|
if ("factory" in factoryLike && factoryLike.factory != null) {
|
|
259
259
|
return normalizeNodeFactory(factoryLike.factory);
|
|
@@ -262,7 +262,7 @@ function ensureNodeFactory(factoryLike) {
|
|
|
262
262
|
}
|
|
263
263
|
return createNodeFactory(factoryLike);
|
|
264
264
|
}
|
|
265
|
-
|
|
265
|
+
chunk2ZXBXKUR_cjs.__name(ensureNodeFactory, "ensureNodeFactory");
|
|
266
266
|
function splitDecoratorsAndModifiers(modifierLikes) {
|
|
267
267
|
var _a, _b;
|
|
268
268
|
const decorators = (_a = modifierLikes === null || modifierLikes === void 0 ? void 0 : modifierLikes.filter((modifier) => "expression" in modifier)) !== null && _a !== void 0 ? _a : [];
|
|
@@ -272,7 +272,7 @@ function splitDecoratorsAndModifiers(modifierLikes) {
|
|
|
272
272
|
modifiers == null || modifiers.length < 1 ? void 0 : modifiers
|
|
273
273
|
];
|
|
274
274
|
}
|
|
275
|
-
|
|
275
|
+
chunk2ZXBXKUR_cjs.__name(splitDecoratorsAndModifiers, "splitDecoratorsAndModifiers");
|
|
276
276
|
function normalizeNodeFactory(factory) {
|
|
277
277
|
if (Boolean(factory.__compatUpgraded)) {
|
|
278
278
|
return factory;
|
|
@@ -304,27 +304,27 @@ function normalizeNodeFactory(factory) {
|
|
|
304
304
|
const needsModifications = badCreateImportEqualsDeclaration || badCreateImportSpecifier || badCreateExportSpecifier || badCreateImportTypeNode || badCreateMappedTypeNodeA || badCreateMappedTypeNodeB || badCreateTypeParameterDeclaration || missingCreateSatisfiesExpression || missingCreateClassStaticBlockDeclaration || missingCreateUniquePrivateName || missingGetGeneratedPrivateNameForNode || missingCreatePrivateIdentifier || missingCreateAssertClause || missingCreateAssertEntry || missingCreateImportTypeAssertionContainer || badDecoratorsAsFirstArgument;
|
|
305
305
|
if (needsModifications) {
|
|
306
306
|
const withOriginal = "original" in factory.updateBlock(factory.createBlock([]), []);
|
|
307
|
-
const setOriginalNode2 = /* @__PURE__ */
|
|
307
|
+
const setOriginalNode2 = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((node, original) => {
|
|
308
308
|
node.original = original;
|
|
309
309
|
return node;
|
|
310
310
|
}, "setOriginalNode");
|
|
311
|
-
const setTextRangeEnd = /* @__PURE__ */
|
|
311
|
+
const setTextRangeEnd = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((range, end) => {
|
|
312
312
|
range.end = end;
|
|
313
313
|
return range;
|
|
314
314
|
}, "setTextRangeEnd");
|
|
315
|
-
const setTextRangePos = /* @__PURE__ */
|
|
315
|
+
const setTextRangePos = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((range, pos) => {
|
|
316
316
|
range.pos = pos;
|
|
317
317
|
return range;
|
|
318
318
|
}, "setTextRangePos");
|
|
319
|
-
const setTextRangePosEnd = /* @__PURE__ */
|
|
320
|
-
const setTextRange = /* @__PURE__ */
|
|
321
|
-
const updateWithoutOriginal = /* @__PURE__ */
|
|
319
|
+
const setTextRangePosEnd = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((range, pos, end) => setTextRangeEnd(setTextRangePos(range, pos), end), "setTextRangePosEnd");
|
|
320
|
+
const setTextRange = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((range, loc) => loc != null ? setTextRangePosEnd(range, loc.pos, loc.end) : range, "setTextRange");
|
|
321
|
+
const updateWithoutOriginal = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((updated, original) => {
|
|
322
322
|
if (updated !== original) {
|
|
323
323
|
setTextRange(updated, original);
|
|
324
324
|
}
|
|
325
325
|
return updated;
|
|
326
326
|
}, "updateWithoutOriginal");
|
|
327
|
-
const updateWithOriginal = /* @__PURE__ */
|
|
327
|
+
const updateWithOriginal = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((updated, original) => {
|
|
328
328
|
if (updated !== original) {
|
|
329
329
|
setOriginalNode2(updated, original);
|
|
330
330
|
setTextRange(updated, original);
|
|
@@ -349,7 +349,7 @@ function normalizeNodeFactory(factory) {
|
|
|
349
349
|
const moduleReference = isShort ? nameOrModuleReference : moduleReferenceOrUndefined;
|
|
350
350
|
return factory.createImportEqualsDeclaration(decorators, modifiers, name, moduleReference);
|
|
351
351
|
}
|
|
352
|
-
|
|
352
|
+
chunk2ZXBXKUR_cjs.__name(createImportEqualsDeclaration, "createImportEqualsDeclaration");
|
|
353
353
|
function updateImportEqualsDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
354
354
|
const isShort = arguments.length <= 5;
|
|
355
355
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -358,7 +358,7 @@ function normalizeNodeFactory(factory) {
|
|
|
358
358
|
const moduleReference = isShort ? nameOrModuleReference : moduleReferenceOrUndefined;
|
|
359
359
|
return factory.updateImportEqualsDeclaration(node, decorators, modifiers, name, moduleReference);
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
chunk2ZXBXKUR_cjs.__name(updateImportEqualsDeclaration, "updateImportEqualsDeclaration");
|
|
362
362
|
return {
|
|
363
363
|
createImportEqualsDeclaration,
|
|
364
364
|
updateImportEqualsDeclaration
|
|
@@ -388,7 +388,7 @@ function normalizeNodeFactory(factory) {
|
|
|
388
388
|
return factory.createImportTypeNode(argument, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined);
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
|
|
391
|
+
chunk2ZXBXKUR_cjs.__name(createImportTypeNode, "createImportTypeNode");
|
|
392
392
|
function updateImportTypeNode(node, argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined) {
|
|
393
393
|
if (arguments.length < 6) {
|
|
394
394
|
return factory.updateImportTypeNode(node, argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf);
|
|
@@ -396,7 +396,7 @@ function normalizeNodeFactory(factory) {
|
|
|
396
396
|
return factory.updateImportTypeNode(node, argument, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
chunk2ZXBXKUR_cjs.__name(updateImportTypeNode, "updateImportTypeNode");
|
|
400
400
|
return {
|
|
401
401
|
createImportTypeNode,
|
|
402
402
|
updateImportTypeNode
|
|
@@ -431,7 +431,7 @@ function normalizeNodeFactory(factory) {
|
|
|
431
431
|
}
|
|
432
432
|
return typeParameterDeclaration;
|
|
433
433
|
}
|
|
434
|
-
|
|
434
|
+
chunk2ZXBXKUR_cjs.__name(createTypeParameterDeclaration, "createTypeParameterDeclaration");
|
|
435
435
|
function updateTypeParameterDeclaration(node, modifiersOrName, nameOrConstraint, constraintOrDefaultType, defaultTypeOrUndefined) {
|
|
436
436
|
const isShort = modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
437
437
|
const modifiers = isShort ? void 0 : modifiersOrName;
|
|
@@ -444,7 +444,7 @@ function normalizeNodeFactory(factory) {
|
|
|
444
444
|
}
|
|
445
445
|
return typeParameterDeclaration;
|
|
446
446
|
}
|
|
447
|
-
|
|
447
|
+
chunk2ZXBXKUR_cjs.__name(updateTypeParameterDeclaration, "updateTypeParameterDeclaration");
|
|
448
448
|
return {
|
|
449
449
|
createTypeParameterDeclaration,
|
|
450
450
|
updateTypeParameterDeclaration
|
|
@@ -456,11 +456,11 @@ function normalizeNodeFactory(factory) {
|
|
|
456
456
|
...expression
|
|
457
457
|
};
|
|
458
458
|
}
|
|
459
|
-
|
|
459
|
+
chunk2ZXBXKUR_cjs.__name(createSatisfiesExpression, "createSatisfiesExpression");
|
|
460
460
|
function updateSatisfiesExpression(node, expression, type) {
|
|
461
461
|
return expression === node.expression && type === node.type ? node : update(createSatisfiesExpression(expression), node);
|
|
462
462
|
}
|
|
463
|
-
|
|
463
|
+
chunk2ZXBXKUR_cjs.__name(updateSatisfiesExpression, "updateSatisfiesExpression");
|
|
464
464
|
return {
|
|
465
465
|
createSatisfiesExpression,
|
|
466
466
|
updateSatisfiesExpression
|
|
@@ -474,7 +474,7 @@ function normalizeNodeFactory(factory) {
|
|
|
474
474
|
const node = createPrivateIdentifier(text !== null && text !== void 0 ? text : "");
|
|
475
475
|
return node;
|
|
476
476
|
}
|
|
477
|
-
|
|
477
|
+
chunk2ZXBXKUR_cjs.__name(createUniquePrivateName, "createUniquePrivateName");
|
|
478
478
|
return {
|
|
479
479
|
createUniquePrivateName
|
|
480
480
|
};
|
|
@@ -483,7 +483,7 @@ function normalizeNodeFactory(factory) {
|
|
|
483
483
|
function getGeneratedPrivateNameForNode(node) {
|
|
484
484
|
return createPrivateIdentifier("");
|
|
485
485
|
}
|
|
486
|
-
|
|
486
|
+
chunk2ZXBXKUR_cjs.__name(getGeneratedPrivateNameForNode, "getGeneratedPrivateNameForNode");
|
|
487
487
|
return {
|
|
488
488
|
getGeneratedPrivateNameForNode
|
|
489
489
|
};
|
|
@@ -496,12 +496,12 @@ function normalizeNodeFactory(factory) {
|
|
|
496
496
|
node.transformFlags = 8388608;
|
|
497
497
|
return node;
|
|
498
498
|
}
|
|
499
|
-
|
|
499
|
+
chunk2ZXBXKUR_cjs.__name(createClassStaticBlockDeclaration, "createClassStaticBlockDeclaration");
|
|
500
500
|
function updateClassStaticBlockDeclaration(node, decoratorsOrBlock, modifiersOrUndefined, bodyOrUndefined) {
|
|
501
501
|
const body = arguments.length >= 4 ? bodyOrUndefined : decoratorsOrBlock;
|
|
502
502
|
return body === node.body ? node : update(createClassStaticBlockDeclaration(body), node);
|
|
503
503
|
}
|
|
504
|
-
|
|
504
|
+
chunk2ZXBXKUR_cjs.__name(updateClassStaticBlockDeclaration, "updateClassStaticBlockDeclaration");
|
|
505
505
|
return {
|
|
506
506
|
createClassStaticBlockDeclaration,
|
|
507
507
|
updateClassStaticBlockDeclaration
|
|
@@ -515,11 +515,11 @@ function normalizeNodeFactory(factory) {
|
|
|
515
515
|
node.transformFlags |= 4;
|
|
516
516
|
return node;
|
|
517
517
|
}
|
|
518
|
-
|
|
518
|
+
chunk2ZXBXKUR_cjs.__name(createAssertClause, "createAssertClause");
|
|
519
519
|
function updateAssertClause(node, elements, multiLine) {
|
|
520
520
|
return node.elements !== elements || node.multiLine !== multiLine ? update(createAssertClause(elements, multiLine), node) : node;
|
|
521
521
|
}
|
|
522
|
-
|
|
522
|
+
chunk2ZXBXKUR_cjs.__name(updateAssertClause, "updateAssertClause");
|
|
523
523
|
return {
|
|
524
524
|
createAssertClause,
|
|
525
525
|
updateAssertClause
|
|
@@ -533,11 +533,11 @@ function normalizeNodeFactory(factory) {
|
|
|
533
533
|
node.transformFlags |= 4;
|
|
534
534
|
return node;
|
|
535
535
|
}
|
|
536
|
-
|
|
536
|
+
chunk2ZXBXKUR_cjs.__name(createAssertEntry, "createAssertEntry");
|
|
537
537
|
function updateAssertEntry(node, name, value) {
|
|
538
538
|
return node.name !== name || node.value !== value ? update(createAssertEntry(name, value), node) : node;
|
|
539
539
|
}
|
|
540
|
-
|
|
540
|
+
chunk2ZXBXKUR_cjs.__name(updateAssertEntry, "updateAssertEntry");
|
|
541
541
|
return {
|
|
542
542
|
createAssertEntry,
|
|
543
543
|
updateAssertEntry
|
|
@@ -550,11 +550,11 @@ function normalizeNodeFactory(factory) {
|
|
|
550
550
|
node.multiLine = multiLine;
|
|
551
551
|
return node;
|
|
552
552
|
}
|
|
553
|
-
|
|
553
|
+
chunk2ZXBXKUR_cjs.__name(createImportTypeAssertionContainer, "createImportTypeAssertionContainer");
|
|
554
554
|
function updateImportTypeAssertionContainer(node, clause, multiLine) {
|
|
555
555
|
return node.assertClause !== clause || node.multiLine !== multiLine ? update(createImportTypeAssertionContainer(clause, multiLine), node) : node;
|
|
556
556
|
}
|
|
557
|
-
|
|
557
|
+
chunk2ZXBXKUR_cjs.__name(updateImportTypeAssertionContainer, "updateImportTypeAssertionContainer");
|
|
558
558
|
return {
|
|
559
559
|
createImportTypeAssertionContainer,
|
|
560
560
|
updateImportTypeAssertionContainer
|
|
@@ -570,11 +570,11 @@ function normalizeNodeFactory(factory) {
|
|
|
570
570
|
node.right = right;
|
|
571
571
|
return node;
|
|
572
572
|
}
|
|
573
|
-
|
|
573
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocMemberName, "createJSDocMemberName");
|
|
574
574
|
function updateJSDocMemberName(node, left, right) {
|
|
575
575
|
return left === node.left && right === node.right ? node : update(createJSDocMemberName(left, right), node);
|
|
576
576
|
}
|
|
577
|
-
|
|
577
|
+
chunk2ZXBXKUR_cjs.__name(updateJSDocMemberName, "updateJSDocMemberName");
|
|
578
578
|
return {
|
|
579
579
|
createJSDocMemberName,
|
|
580
580
|
updateJSDocMemberName
|
|
@@ -590,11 +590,11 @@ function normalizeNodeFactory(factory) {
|
|
|
590
590
|
node.text = text;
|
|
591
591
|
return node;
|
|
592
592
|
}
|
|
593
|
-
|
|
593
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocLinkCode, "createJSDocLinkCode");
|
|
594
594
|
function updateJSDocLinkCode(node, name, text) {
|
|
595
595
|
return name === node.name && text === node.text ? node : update(createJSDocLinkCode(name, text), node);
|
|
596
596
|
}
|
|
597
|
-
|
|
597
|
+
chunk2ZXBXKUR_cjs.__name(updateJSDocLinkCode, "updateJSDocLinkCode");
|
|
598
598
|
return {
|
|
599
599
|
createJSDocLinkCode,
|
|
600
600
|
updateJSDocLinkCode
|
|
@@ -610,11 +610,11 @@ function normalizeNodeFactory(factory) {
|
|
|
610
610
|
node.text = text;
|
|
611
611
|
return node;
|
|
612
612
|
}
|
|
613
|
-
|
|
613
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocLinkPlain, "createJSDocLinkPlain");
|
|
614
614
|
function updateJSDocLinkPlain(node, name, text) {
|
|
615
615
|
return name === node.name && text === node.text ? node : update(createJSDocLinkPlain(name, text), node);
|
|
616
616
|
}
|
|
617
|
-
|
|
617
|
+
chunk2ZXBXKUR_cjs.__name(updateJSDocLinkPlain, "updateJSDocLinkPlain");
|
|
618
618
|
return {
|
|
619
619
|
createJSDocLinkPlain,
|
|
620
620
|
updateJSDocLinkPlain
|
|
@@ -632,7 +632,7 @@ function normalizeNodeFactory(factory) {
|
|
|
632
632
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
633
633
|
return factory.createParameterDeclaration(decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
634
634
|
}
|
|
635
|
-
|
|
635
|
+
chunk2ZXBXKUR_cjs.__name(createParameterDeclaration, "createParameterDeclaration");
|
|
636
636
|
function updateParameterDeclaration(node, decoratorsOrModifiers, modifiersOrDotDotDotToken, dotDotDotTokenOrName, nameOrQuestionToken, questionTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
637
637
|
const isShort = typeof dotDotDotTokenOrName === "string" || dotDotDotTokenOrName != null && dotDotDotTokenOrName.kind !== 25;
|
|
638
638
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -644,7 +644,7 @@ function normalizeNodeFactory(factory) {
|
|
|
644
644
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
645
645
|
return factory.updateParameterDeclaration(node, decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
646
646
|
}
|
|
647
|
-
|
|
647
|
+
chunk2ZXBXKUR_cjs.__name(updateParameterDeclaration, "updateParameterDeclaration");
|
|
648
648
|
function createPropertyDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
649
649
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
650
650
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -655,7 +655,7 @@ function normalizeNodeFactory(factory) {
|
|
|
655
655
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
656
656
|
return factory.createPropertyDeclaration(decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
657
657
|
}
|
|
658
|
-
|
|
658
|
+
chunk2ZXBXKUR_cjs.__name(createPropertyDeclaration, "createPropertyDeclaration");
|
|
659
659
|
function updatePropertyDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
660
660
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
661
661
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -666,7 +666,7 @@ function normalizeNodeFactory(factory) {
|
|
|
666
666
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
667
667
|
return factory.updatePropertyDeclaration(node, decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
668
668
|
}
|
|
669
|
-
|
|
669
|
+
chunk2ZXBXKUR_cjs.__name(updatePropertyDeclaration, "updatePropertyDeclaration");
|
|
670
670
|
function createMethodDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
671
671
|
const isShort = typeof asteriskTokenOrName === "string" || asteriskTokenOrName != null && asteriskTokenOrName.kind !== 41;
|
|
672
672
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -680,7 +680,7 @@ function normalizeNodeFactory(factory) {
|
|
|
680
680
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
681
681
|
return factory.createMethodDeclaration(decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
682
682
|
}
|
|
683
|
-
|
|
683
|
+
chunk2ZXBXKUR_cjs.__name(createMethodDeclaration, "createMethodDeclaration");
|
|
684
684
|
function updateMethodDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
685
685
|
const isShort = typeof asteriskTokenOrName === "string" || asteriskTokenOrName != null && asteriskTokenOrName.kind !== 41;
|
|
686
686
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -694,7 +694,7 @@ function normalizeNodeFactory(factory) {
|
|
|
694
694
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
695
695
|
return factory.updateMethodDeclaration(node, decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
696
696
|
}
|
|
697
|
-
|
|
697
|
+
chunk2ZXBXKUR_cjs.__name(updateMethodDeclaration, "updateMethodDeclaration");
|
|
698
698
|
function createConstructorDeclaration(decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
699
699
|
const isShort = arguments.length <= 3;
|
|
700
700
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -703,7 +703,7 @@ function normalizeNodeFactory(factory) {
|
|
|
703
703
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
704
704
|
return factory.createConstructorDeclaration(decorators, modifiers, parameters, body);
|
|
705
705
|
}
|
|
706
|
-
|
|
706
|
+
chunk2ZXBXKUR_cjs.__name(createConstructorDeclaration, "createConstructorDeclaration");
|
|
707
707
|
function updateConstructorDeclaration(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
708
708
|
const isShort = arguments.length <= 4;
|
|
709
709
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -712,7 +712,7 @@ function normalizeNodeFactory(factory) {
|
|
|
712
712
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
713
713
|
return factory.updateConstructorDeclaration(node, decorators, modifiers, parameters, body);
|
|
714
714
|
}
|
|
715
|
-
|
|
715
|
+
chunk2ZXBXKUR_cjs.__name(updateConstructorDeclaration, "updateConstructorDeclaration");
|
|
716
716
|
function createGetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
717
717
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
718
718
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -723,7 +723,7 @@ function normalizeNodeFactory(factory) {
|
|
|
723
723
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
724
724
|
return factory.createGetAccessorDeclaration(decorators, modifiers, name, parameters, type, body);
|
|
725
725
|
}
|
|
726
|
-
|
|
726
|
+
chunk2ZXBXKUR_cjs.__name(createGetAccessorDeclaration, "createGetAccessorDeclaration");
|
|
727
727
|
function updateGetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
728
728
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
729
729
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -734,7 +734,7 @@ function normalizeNodeFactory(factory) {
|
|
|
734
734
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
735
735
|
return factory.updateGetAccessorDeclaration(node, decorators, modifiers, name, parameters, type, body);
|
|
736
736
|
}
|
|
737
|
-
|
|
737
|
+
chunk2ZXBXKUR_cjs.__name(updateGetAccessorDeclaration, "updateGetAccessorDeclaration");
|
|
738
738
|
function createSetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
739
739
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
740
740
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -744,7 +744,7 @@ function normalizeNodeFactory(factory) {
|
|
|
744
744
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
745
745
|
return factory.createSetAccessorDeclaration(decorators, modifiers, name, parameters, body);
|
|
746
746
|
}
|
|
747
|
-
|
|
747
|
+
chunk2ZXBXKUR_cjs.__name(createSetAccessorDeclaration, "createSetAccessorDeclaration");
|
|
748
748
|
function updateSetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
749
749
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
750
750
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -754,7 +754,7 @@ function normalizeNodeFactory(factory) {
|
|
|
754
754
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
755
755
|
return factory.updateSetAccessorDeclaration(node, decorators, modifiers, name, parameters, body);
|
|
756
756
|
}
|
|
757
|
-
|
|
757
|
+
chunk2ZXBXKUR_cjs.__name(updateSetAccessorDeclaration, "updateSetAccessorDeclaration");
|
|
758
758
|
function createIndexSignature(decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
759
759
|
const isShort = arguments.length <= 3;
|
|
760
760
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -763,7 +763,7 @@ function normalizeNodeFactory(factory) {
|
|
|
763
763
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
764
764
|
return factory.createIndexSignature(decorators, modifiers, parameters, type);
|
|
765
765
|
}
|
|
766
|
-
|
|
766
|
+
chunk2ZXBXKUR_cjs.__name(createIndexSignature, "createIndexSignature");
|
|
767
767
|
function updateIndexSignature(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
768
768
|
const isShort = arguments.length <= 4;
|
|
769
769
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -772,7 +772,7 @@ function normalizeNodeFactory(factory) {
|
|
|
772
772
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
773
773
|
return factory.updateIndexSignature(node, decorators, modifiers, parameters, type);
|
|
774
774
|
}
|
|
775
|
-
|
|
775
|
+
chunk2ZXBXKUR_cjs.__name(updateIndexSignature, "updateIndexSignature");
|
|
776
776
|
function createClassStaticBlockDeclaration(decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
777
777
|
const isShort = arguments.length <= 1;
|
|
778
778
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
@@ -785,7 +785,7 @@ function normalizeNodeFactory(factory) {
|
|
|
785
785
|
return factory.createClassStaticBlockDeclaration(void 0, void 0, body);
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
|
-
|
|
788
|
+
chunk2ZXBXKUR_cjs.__name(createClassStaticBlockDeclaration, "createClassStaticBlockDeclaration");
|
|
789
789
|
function updateClassStaticBlockDeclaration(node, decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
790
790
|
const isShort = arguments.length <= 2;
|
|
791
791
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
@@ -795,7 +795,7 @@ function normalizeNodeFactory(factory) {
|
|
|
795
795
|
return factory.updateClassStaticBlockDeclaration(node, void 0, void 0, body);
|
|
796
796
|
}
|
|
797
797
|
}
|
|
798
|
-
|
|
798
|
+
chunk2ZXBXKUR_cjs.__name(updateClassStaticBlockDeclaration, "updateClassStaticBlockDeclaration");
|
|
799
799
|
function createClassExpression(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
800
800
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
801
801
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -806,7 +806,7 @@ function normalizeNodeFactory(factory) {
|
|
|
806
806
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
807
807
|
return factory.createClassExpression(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
808
808
|
}
|
|
809
|
-
|
|
809
|
+
chunk2ZXBXKUR_cjs.__name(createClassExpression, "createClassExpression");
|
|
810
810
|
function updateClassExpression(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
811
811
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
812
812
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -817,7 +817,7 @@ function normalizeNodeFactory(factory) {
|
|
|
817
817
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
818
818
|
return factory.updateClassExpression(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
819
819
|
}
|
|
820
|
-
|
|
820
|
+
chunk2ZXBXKUR_cjs.__name(updateClassExpression, "updateClassExpression");
|
|
821
821
|
function createFunctionDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
822
822
|
const isShort = arguments.length <= 7;
|
|
823
823
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -830,7 +830,7 @@ function normalizeNodeFactory(factory) {
|
|
|
830
830
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
831
831
|
return factory.createFunctionDeclaration(decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
832
832
|
}
|
|
833
|
-
|
|
833
|
+
chunk2ZXBXKUR_cjs.__name(createFunctionDeclaration, "createFunctionDeclaration");
|
|
834
834
|
function updateFunctionDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
835
835
|
const isShort = arguments.length <= 8;
|
|
836
836
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -843,7 +843,7 @@ function normalizeNodeFactory(factory) {
|
|
|
843
843
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
844
844
|
return factory.updateFunctionDeclaration(node, decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
845
845
|
}
|
|
846
|
-
|
|
846
|
+
chunk2ZXBXKUR_cjs.__name(updateFunctionDeclaration, "updateFunctionDeclaration");
|
|
847
847
|
function createClassDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
848
848
|
const isShort = arguments.length <= 5;
|
|
849
849
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -854,7 +854,7 @@ function normalizeNodeFactory(factory) {
|
|
|
854
854
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
855
855
|
return factory.createClassDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
856
856
|
}
|
|
857
|
-
|
|
857
|
+
chunk2ZXBXKUR_cjs.__name(createClassDeclaration, "createClassDeclaration");
|
|
858
858
|
function updateClassDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
859
859
|
const isShort = arguments.length <= 6;
|
|
860
860
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -865,7 +865,7 @@ function normalizeNodeFactory(factory) {
|
|
|
865
865
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
866
866
|
return factory.updateClassDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
867
867
|
}
|
|
868
|
-
|
|
868
|
+
chunk2ZXBXKUR_cjs.__name(updateClassDeclaration, "updateClassDeclaration");
|
|
869
869
|
function createInterfaceDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
870
870
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
871
871
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -876,7 +876,7 @@ function normalizeNodeFactory(factory) {
|
|
|
876
876
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
877
877
|
return factory.createInterfaceDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
878
878
|
}
|
|
879
|
-
|
|
879
|
+
chunk2ZXBXKUR_cjs.__name(createInterfaceDeclaration, "createInterfaceDeclaration");
|
|
880
880
|
function updateInterfaceDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
881
881
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
882
882
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -887,7 +887,7 @@ function normalizeNodeFactory(factory) {
|
|
|
887
887
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
888
888
|
return factory.updateInterfaceDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
889
889
|
}
|
|
890
|
-
|
|
890
|
+
chunk2ZXBXKUR_cjs.__name(updateInterfaceDeclaration, "updateInterfaceDeclaration");
|
|
891
891
|
function createTypeAliasDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
892
892
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
893
893
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -897,7 +897,7 @@ function normalizeNodeFactory(factory) {
|
|
|
897
897
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
898
898
|
return factory.createTypeAliasDeclaration(decorators, modifiers, name, typeParameters, type);
|
|
899
899
|
}
|
|
900
|
-
|
|
900
|
+
chunk2ZXBXKUR_cjs.__name(createTypeAliasDeclaration, "createTypeAliasDeclaration");
|
|
901
901
|
function updateTypeAliasDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
902
902
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
903
903
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -907,7 +907,7 @@ function normalizeNodeFactory(factory) {
|
|
|
907
907
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
908
908
|
return factory.updateTypeAliasDeclaration(node, decorators, modifiers, name, typeParameters, type);
|
|
909
909
|
}
|
|
910
|
-
|
|
910
|
+
chunk2ZXBXKUR_cjs.__name(updateTypeAliasDeclaration, "updateTypeAliasDeclaration");
|
|
911
911
|
function createEnumDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
912
912
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
913
913
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -916,7 +916,7 @@ function normalizeNodeFactory(factory) {
|
|
|
916
916
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
917
917
|
return factory.createEnumDeclaration(decorators, modifiers, name, members);
|
|
918
918
|
}
|
|
919
|
-
|
|
919
|
+
chunk2ZXBXKUR_cjs.__name(createEnumDeclaration, "createEnumDeclaration");
|
|
920
920
|
function updateEnumDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
921
921
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
922
922
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -925,7 +925,7 @@ function normalizeNodeFactory(factory) {
|
|
|
925
925
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
926
926
|
return factory.updateEnumDeclaration(node, decorators, modifiers, name, members);
|
|
927
927
|
}
|
|
928
|
-
|
|
928
|
+
chunk2ZXBXKUR_cjs.__name(updateEnumDeclaration, "updateEnumDeclaration");
|
|
929
929
|
function createModuleDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrFlags, flagsOrUndefined) {
|
|
930
930
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
931
931
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -935,7 +935,7 @@ function normalizeNodeFactory(factory) {
|
|
|
935
935
|
const flags = isShort ? bodyOrFlags : flagsOrUndefined;
|
|
936
936
|
return factory.createModuleDeclaration(decorators, modifiers, name, body, flags);
|
|
937
937
|
}
|
|
938
|
-
|
|
938
|
+
chunk2ZXBXKUR_cjs.__name(createModuleDeclaration, "createModuleDeclaration");
|
|
939
939
|
function updateModuleDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrUndefined) {
|
|
940
940
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
941
941
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -944,7 +944,7 @@ function normalizeNodeFactory(factory) {
|
|
|
944
944
|
const body = isShort ? nameOrBody : bodyOrUndefined;
|
|
945
945
|
return factory.updateModuleDeclaration(node, decorators, modifiers, name, body);
|
|
946
946
|
}
|
|
947
|
-
|
|
947
|
+
chunk2ZXBXKUR_cjs.__name(updateModuleDeclaration, "updateModuleDeclaration");
|
|
948
948
|
function createImportEqualsDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
949
949
|
var _a;
|
|
950
950
|
const isShort = arguments.length <= 4;
|
|
@@ -959,7 +959,7 @@ function normalizeNodeFactory(factory) {
|
|
|
959
959
|
return factory.createImportEqualsDeclaration(decorators, modifiers, isTypeOnly, name, moduleReference);
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
|
-
|
|
962
|
+
chunk2ZXBXKUR_cjs.__name(createImportEqualsDeclaration, "createImportEqualsDeclaration");
|
|
963
963
|
function updateImportEqualsDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
964
964
|
const isShort = arguments.length <= 5;
|
|
965
965
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -973,7 +973,7 @@ function normalizeNodeFactory(factory) {
|
|
|
973
973
|
return factory.updateImportEqualsDeclaration(node, decorators, modifiers, isTypeOnly, name, moduleReference);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
|
-
|
|
976
|
+
chunk2ZXBXKUR_cjs.__name(updateImportEqualsDeclaration, "updateImportEqualsDeclaration");
|
|
977
977
|
function createImportDeclaration(decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
978
978
|
const isShort = modifiersOrImportClause != null && !Array.isArray(modifiersOrImportClause);
|
|
979
979
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -983,7 +983,7 @@ function normalizeNodeFactory(factory) {
|
|
|
983
983
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
984
984
|
return factory.createImportDeclaration(decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
985
985
|
}
|
|
986
|
-
|
|
986
|
+
chunk2ZXBXKUR_cjs.__name(createImportDeclaration, "createImportDeclaration");
|
|
987
987
|
function updateImportDeclaration(node, decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
988
988
|
const isShort = importClauseOrModuleSpecifier != null && importClauseOrModuleSpecifier.kind !== 267;
|
|
989
989
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -993,7 +993,7 @@ function normalizeNodeFactory(factory) {
|
|
|
993
993
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
994
994
|
return factory.updateImportDeclaration(node, decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
995
995
|
}
|
|
996
|
-
|
|
996
|
+
chunk2ZXBXKUR_cjs.__name(updateImportDeclaration, "updateImportDeclaration");
|
|
997
997
|
function createExportAssignment(decoratorsOrModifiers, modifiersOrIsExportEquals, isExportEqualsOrExpression, expressionOrUndefined) {
|
|
998
998
|
const isShort = arguments.length <= 3;
|
|
999
999
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1002,7 +1002,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1002
1002
|
const expression = isShort ? isExportEqualsOrExpression : expressionOrUndefined;
|
|
1003
1003
|
return factory.createExportAssignment(decorators, modifiers, isExportEquals, expression);
|
|
1004
1004
|
}
|
|
1005
|
-
|
|
1005
|
+
chunk2ZXBXKUR_cjs.__name(createExportAssignment, "createExportAssignment");
|
|
1006
1006
|
function updateExportAssignment(node, decoratorsOrModifiers, modifiersOrExpression, expressionOrUndefined) {
|
|
1007
1007
|
const isShort = arguments.length <= 3;
|
|
1008
1008
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1010,7 +1010,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1010
1010
|
const expression = isShort ? modifiersOrExpression : expressionOrUndefined;
|
|
1011
1011
|
return factory.updateExportAssignment(node, decorators, modifiers, expression);
|
|
1012
1012
|
}
|
|
1013
|
-
|
|
1013
|
+
chunk2ZXBXKUR_cjs.__name(updateExportAssignment, "updateExportAssignment");
|
|
1014
1014
|
function createExportDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1015
1015
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 6 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1016
1016
|
const isShort = !isLong;
|
|
@@ -1022,7 +1022,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1022
1022
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1023
1023
|
return factory.createExportDeclaration(decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);
|
|
1024
1024
|
}
|
|
1025
|
-
|
|
1025
|
+
chunk2ZXBXKUR_cjs.__name(createExportDeclaration, "createExportDeclaration");
|
|
1026
1026
|
function updateExportDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1027
1027
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 7 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1028
1028
|
const isShort = !isLong;
|
|
@@ -1034,7 +1034,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1034
1034
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1035
1035
|
return factory.updateExportDeclaration(node, decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);
|
|
1036
1036
|
}
|
|
1037
|
-
|
|
1037
|
+
chunk2ZXBXKUR_cjs.__name(updateExportDeclaration, "updateExportDeclaration");
|
|
1038
1038
|
return {
|
|
1039
1039
|
createParameterDeclaration,
|
|
1040
1040
|
updateParameterDeclaration,
|
|
@@ -1080,27 +1080,27 @@ function normalizeNodeFactory(factory) {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
return factory;
|
|
1082
1082
|
}
|
|
1083
|
-
|
|
1083
|
+
chunk2ZXBXKUR_cjs.__name(normalizeNodeFactory, "normalizeNodeFactory");
|
|
1084
1084
|
function createNodeFactory(typescript) {
|
|
1085
1085
|
var _a;
|
|
1086
1086
|
function createToken(token) {
|
|
1087
1087
|
return typescript.createToken(token);
|
|
1088
1088
|
}
|
|
1089
|
-
|
|
1089
|
+
chunk2ZXBXKUR_cjs.__name(createToken, "createToken");
|
|
1090
1090
|
function createConstructorTypeNode(modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1091
1091
|
if (arguments.length >= 4) {
|
|
1092
1092
|
return typescript.createConstructorTypeNode(typeParametersOrParameters, parametersOrType, typeOrUndefined);
|
|
1093
1093
|
}
|
|
1094
1094
|
return typescript.createConstructorTypeNode(modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType);
|
|
1095
1095
|
}
|
|
1096
|
-
|
|
1096
|
+
chunk2ZXBXKUR_cjs.__name(createConstructorTypeNode, "createConstructorTypeNode");
|
|
1097
1097
|
function updateConstructorTypeNode(node, modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1098
1098
|
if (arguments.length >= 5) {
|
|
1099
1099
|
return typescript.updateConstructorTypeNode(node, typeParametersOrParameters, parametersOrType, typeOrUndefined);
|
|
1100
1100
|
}
|
|
1101
1101
|
return typescript.updateConstructorTypeNode(node, modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType);
|
|
1102
1102
|
}
|
|
1103
|
-
|
|
1103
|
+
chunk2ZXBXKUR_cjs.__name(updateConstructorTypeNode, "updateConstructorTypeNode");
|
|
1104
1104
|
function createNamedTupleMember(dotDotDotToken, name, questionToken, type) {
|
|
1105
1105
|
var _a2;
|
|
1106
1106
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.NamedTupleMember) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.TupleType);
|
|
@@ -1111,7 +1111,7 @@ function createNodeFactory(typescript) {
|
|
|
1111
1111
|
node.transformFlags = 1;
|
|
1112
1112
|
return node;
|
|
1113
1113
|
}
|
|
1114
|
-
|
|
1114
|
+
chunk2ZXBXKUR_cjs.__name(createNamedTupleMember, "createNamedTupleMember");
|
|
1115
1115
|
function createJSDocComment(comment, tags) {
|
|
1116
1116
|
if ("createJSDocComment" in typescript) {
|
|
1117
1117
|
return typescript.createJSDocComment(comment, tags);
|
|
@@ -1121,7 +1121,7 @@ function createNodeFactory(typescript) {
|
|
|
1121
1121
|
node.tags = typescript.createNodeArray(tags);
|
|
1122
1122
|
return node;
|
|
1123
1123
|
}
|
|
1124
|
-
|
|
1124
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocComment, "createJSDocComment");
|
|
1125
1125
|
function createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {
|
|
1126
1126
|
var _a2;
|
|
1127
1127
|
if ("createJSDocParameterTag" in typescript) {
|
|
@@ -1136,7 +1136,7 @@ function createNodeFactory(typescript) {
|
|
|
1136
1136
|
node.comment = comment;
|
|
1137
1137
|
return node;
|
|
1138
1138
|
}
|
|
1139
|
-
|
|
1139
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocParameterTag, "createJSDocParameterTag");
|
|
1140
1140
|
function createJSDocPrivateTag(tagName, comment) {
|
|
1141
1141
|
var _a2;
|
|
1142
1142
|
if ("createJSDocPrivateTag" in typescript) {
|
|
@@ -1147,7 +1147,7 @@ function createNodeFactory(typescript) {
|
|
|
1147
1147
|
node.comment = comment;
|
|
1148
1148
|
return node;
|
|
1149
1149
|
}
|
|
1150
|
-
|
|
1150
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocPrivateTag, "createJSDocPrivateTag");
|
|
1151
1151
|
function createJSDocAugmentsTag(tagName, className, comment) {
|
|
1152
1152
|
var _a2;
|
|
1153
1153
|
if ("createJSDocAugmentsTag" in typescript) {
|
|
@@ -1159,7 +1159,7 @@ function createNodeFactory(typescript) {
|
|
|
1159
1159
|
node.comment = comment;
|
|
1160
1160
|
return node;
|
|
1161
1161
|
}
|
|
1162
|
-
|
|
1162
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocAugmentsTag, "createJSDocAugmentsTag");
|
|
1163
1163
|
function createJSDocDeprecatedTag(tagName, comment) {
|
|
1164
1164
|
var _a2;
|
|
1165
1165
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocDeprecatedTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1167,7 +1167,7 @@ function createNodeFactory(typescript) {
|
|
|
1167
1167
|
node.comment = comment;
|
|
1168
1168
|
return node;
|
|
1169
1169
|
}
|
|
1170
|
-
|
|
1170
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocDeprecatedTag, "createJSDocDeprecatedTag");
|
|
1171
1171
|
function createJSDocFunctionType(parameters, type) {
|
|
1172
1172
|
var _a2;
|
|
1173
1173
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocFunctionType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1175,7 +1175,7 @@ function createNodeFactory(typescript) {
|
|
|
1175
1175
|
node.type = type;
|
|
1176
1176
|
return node;
|
|
1177
1177
|
}
|
|
1178
|
-
|
|
1178
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocFunctionType, "createJSDocFunctionType");
|
|
1179
1179
|
function createJSDocLink(name, text) {
|
|
1180
1180
|
var _a2;
|
|
1181
1181
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocLink) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1183,42 +1183,42 @@ function createNodeFactory(typescript) {
|
|
|
1183
1183
|
node.text = text;
|
|
1184
1184
|
return node;
|
|
1185
1185
|
}
|
|
1186
|
-
|
|
1186
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocLink, "createJSDocLink");
|
|
1187
1187
|
function createJSDocNameReference(name) {
|
|
1188
1188
|
var _a2;
|
|
1189
1189
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNameReference) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1190
1190
|
node.name = name;
|
|
1191
1191
|
return node;
|
|
1192
1192
|
}
|
|
1193
|
-
|
|
1193
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocNameReference, "createJSDocNameReference");
|
|
1194
1194
|
function createJSDocNamepathType(type) {
|
|
1195
1195
|
var _a2;
|
|
1196
1196
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNamepathType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1197
1197
|
node.type = type;
|
|
1198
1198
|
return node;
|
|
1199
1199
|
}
|
|
1200
|
-
|
|
1200
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocNamepathType, "createJSDocNamepathType");
|
|
1201
1201
|
function createJSDocNonNullableType(type) {
|
|
1202
1202
|
var _a2;
|
|
1203
1203
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNonNullableType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1204
1204
|
node.type = type;
|
|
1205
1205
|
return node;
|
|
1206
1206
|
}
|
|
1207
|
-
|
|
1207
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocNonNullableType, "createJSDocNonNullableType");
|
|
1208
1208
|
function createJSDocNullableType(type) {
|
|
1209
1209
|
var _a2;
|
|
1210
1210
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNullableType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1211
1211
|
node.type = type;
|
|
1212
1212
|
return node;
|
|
1213
1213
|
}
|
|
1214
|
-
|
|
1214
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocNullableType, "createJSDocNullableType");
|
|
1215
1215
|
function createJSDocOptionalType(type) {
|
|
1216
1216
|
var _a2;
|
|
1217
1217
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocOptionalType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1218
1218
|
node.type = type;
|
|
1219
1219
|
return node;
|
|
1220
1220
|
}
|
|
1221
|
-
|
|
1221
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocOptionalType, "createJSDocOptionalType");
|
|
1222
1222
|
function createJSDocOverrideTag(tagName, comment) {
|
|
1223
1223
|
var _a2;
|
|
1224
1224
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocOverrideTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1226,7 +1226,7 @@ function createNodeFactory(typescript) {
|
|
|
1226
1226
|
node.comment = comment;
|
|
1227
1227
|
return node;
|
|
1228
1228
|
}
|
|
1229
|
-
|
|
1229
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocOverrideTag, "createJSDocOverrideTag");
|
|
1230
1230
|
function createJSDocSeeTag(tagName, nameExpression, comment) {
|
|
1231
1231
|
var _a2;
|
|
1232
1232
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocSeeTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1237,14 +1237,14 @@ function createNodeFactory(typescript) {
|
|
|
1237
1237
|
node.comment = comment;
|
|
1238
1238
|
return node;
|
|
1239
1239
|
}
|
|
1240
|
-
|
|
1240
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocSeeTag, "createJSDocSeeTag");
|
|
1241
1241
|
function createJSDocText(text) {
|
|
1242
1242
|
var _a2;
|
|
1243
1243
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocText) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1244
1244
|
node.text = text;
|
|
1245
1245
|
return node;
|
|
1246
1246
|
}
|
|
1247
|
-
|
|
1247
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocText, "createJSDocText");
|
|
1248
1248
|
function createJSDocUnknownTag(tagName, comment) {
|
|
1249
1249
|
var _a2;
|
|
1250
1250
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1252,24 +1252,24 @@ function createNodeFactory(typescript) {
|
|
|
1252
1252
|
node.comment = comment;
|
|
1253
1253
|
return node;
|
|
1254
1254
|
}
|
|
1255
|
-
|
|
1255
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocUnknownTag, "createJSDocUnknownTag");
|
|
1256
1256
|
function createJSDocUnknownType() {
|
|
1257
1257
|
var _a2;
|
|
1258
1258
|
return typescript.createNode((_a2 = typescript.SyntaxKind.JSDocUnknownType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1259
1259
|
}
|
|
1260
|
-
|
|
1260
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocUnknownType, "createJSDocUnknownType");
|
|
1261
1261
|
function createJSDocVariadicType(type) {
|
|
1262
1262
|
var _a2;
|
|
1263
1263
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocVariadicType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1264
1264
|
node.type = type;
|
|
1265
1265
|
return node;
|
|
1266
1266
|
}
|
|
1267
|
-
|
|
1267
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocVariadicType, "createJSDocVariadicType");
|
|
1268
1268
|
function createJSDocAllType() {
|
|
1269
1269
|
var _a2;
|
|
1270
1270
|
return typescript.createNode((_a2 = typescript.SyntaxKind.JSDocAllType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1271
1271
|
}
|
|
1272
|
-
|
|
1272
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocAllType, "createJSDocAllType");
|
|
1273
1273
|
function createTemplateLiteralType(head, templateSpans) {
|
|
1274
1274
|
var _a2;
|
|
1275
1275
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.TemplateLiteralType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.StringLiteral);
|
|
@@ -1278,7 +1278,7 @@ function createNodeFactory(typescript) {
|
|
|
1278
1278
|
node.transformFlags = 1;
|
|
1279
1279
|
return node;
|
|
1280
1280
|
}
|
|
1281
|
-
|
|
1281
|
+
chunk2ZXBXKUR_cjs.__name(createTemplateLiteralType, "createTemplateLiteralType");
|
|
1282
1282
|
function createTemplateLiteralTypeSpan(type, literal) {
|
|
1283
1283
|
var _a2;
|
|
1284
1284
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.TemplateLiteralTypeSpan) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.StringLiteral);
|
|
@@ -1287,7 +1287,7 @@ function createNodeFactory(typescript) {
|
|
|
1287
1287
|
node.transformFlags = 1;
|
|
1288
1288
|
return node;
|
|
1289
1289
|
}
|
|
1290
|
-
|
|
1290
|
+
chunk2ZXBXKUR_cjs.__name(createTemplateLiteralTypeSpan, "createTemplateLiteralTypeSpan");
|
|
1291
1291
|
function createJSDocAuthorTag(tagName, comment) {
|
|
1292
1292
|
var _a2;
|
|
1293
1293
|
if ("createJSDocAuthorTag" in typescript) {
|
|
@@ -1298,7 +1298,7 @@ function createNodeFactory(typescript) {
|
|
|
1298
1298
|
node.comment = comment;
|
|
1299
1299
|
return node;
|
|
1300
1300
|
}
|
|
1301
|
-
|
|
1301
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocAuthorTag, "createJSDocAuthorTag");
|
|
1302
1302
|
function createJSDocCallbackTag(tagName, typeExpression, fullName, comment) {
|
|
1303
1303
|
var _a2;
|
|
1304
1304
|
if ("createJSDocCallbackTag" in typescript) {
|
|
@@ -1311,7 +1311,7 @@ function createNodeFactory(typescript) {
|
|
|
1311
1311
|
node.comment = comment;
|
|
1312
1312
|
return node;
|
|
1313
1313
|
}
|
|
1314
|
-
|
|
1314
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocCallbackTag, "createJSDocCallbackTag");
|
|
1315
1315
|
function createJSDocClassTag(tagName, comment) {
|
|
1316
1316
|
var _a2;
|
|
1317
1317
|
if ("createJSDocClassTag" in typescript) {
|
|
@@ -1322,7 +1322,7 @@ function createNodeFactory(typescript) {
|
|
|
1322
1322
|
node.comment = comment;
|
|
1323
1323
|
return node;
|
|
1324
1324
|
}
|
|
1325
|
-
|
|
1325
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocClassTag, "createJSDocClassTag");
|
|
1326
1326
|
function createJSDocEnumTag(tagName, typeExpression, comment) {
|
|
1327
1327
|
var _a2;
|
|
1328
1328
|
if ("createJSDocEnumTag" in typescript) {
|
|
@@ -1334,7 +1334,7 @@ function createNodeFactory(typescript) {
|
|
|
1334
1334
|
node.comment = comment;
|
|
1335
1335
|
return node;
|
|
1336
1336
|
}
|
|
1337
|
-
|
|
1337
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocEnumTag, "createJSDocEnumTag");
|
|
1338
1338
|
function createJSDocImplementsTag(tagName, className, comment) {
|
|
1339
1339
|
var _a2;
|
|
1340
1340
|
if ("createJSDocImplementsTag" in typescript) {
|
|
@@ -1346,7 +1346,7 @@ function createNodeFactory(typescript) {
|
|
|
1346
1346
|
node.comment = comment;
|
|
1347
1347
|
return node;
|
|
1348
1348
|
}
|
|
1349
|
-
|
|
1349
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocImplementsTag, "createJSDocImplementsTag");
|
|
1350
1350
|
function createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {
|
|
1351
1351
|
var _a2;
|
|
1352
1352
|
if ("createJSDocPropertyTag" in typescript) {
|
|
@@ -1361,7 +1361,7 @@ function createNodeFactory(typescript) {
|
|
|
1361
1361
|
node.comment = comment;
|
|
1362
1362
|
return node;
|
|
1363
1363
|
}
|
|
1364
|
-
|
|
1364
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocPropertyTag, "createJSDocPropertyTag");
|
|
1365
1365
|
function createJSDocProtectedTag(tagName, comment) {
|
|
1366
1366
|
var _a2;
|
|
1367
1367
|
if ("createJSDocProtectedTag" in typescript) {
|
|
@@ -1372,7 +1372,7 @@ function createNodeFactory(typescript) {
|
|
|
1372
1372
|
node.comment = comment;
|
|
1373
1373
|
return node;
|
|
1374
1374
|
}
|
|
1375
|
-
|
|
1375
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocProtectedTag, "createJSDocProtectedTag");
|
|
1376
1376
|
function createJSDocPublicTag(tagName, comment) {
|
|
1377
1377
|
var _a2;
|
|
1378
1378
|
if ("createJSDocPublicTag" in typescript) {
|
|
@@ -1383,7 +1383,7 @@ function createNodeFactory(typescript) {
|
|
|
1383
1383
|
node.comment = comment;
|
|
1384
1384
|
return node;
|
|
1385
1385
|
}
|
|
1386
|
-
|
|
1386
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocPublicTag, "createJSDocPublicTag");
|
|
1387
1387
|
function createJSDocReadonlyTag(tagName, comment) {
|
|
1388
1388
|
var _a2;
|
|
1389
1389
|
if ("createJSDocReadonlyTag" in typescript) {
|
|
@@ -1394,7 +1394,7 @@ function createNodeFactory(typescript) {
|
|
|
1394
1394
|
node.comment = comment;
|
|
1395
1395
|
return node;
|
|
1396
1396
|
}
|
|
1397
|
-
|
|
1397
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocReadonlyTag, "createJSDocReadonlyTag");
|
|
1398
1398
|
function createJSDocReturnTag(tagName, typeExpression, comment) {
|
|
1399
1399
|
var _a2;
|
|
1400
1400
|
if ("createJSDocReturnTag" in typescript) {
|
|
@@ -1406,7 +1406,7 @@ function createNodeFactory(typescript) {
|
|
|
1406
1406
|
node.comment = comment;
|
|
1407
1407
|
return node;
|
|
1408
1408
|
}
|
|
1409
|
-
|
|
1409
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocReturnTag, "createJSDocReturnTag");
|
|
1410
1410
|
function createJSDocSignature(typeParameters, parameters, type) {
|
|
1411
1411
|
var _a2;
|
|
1412
1412
|
if ("createJSDocSignature" in typescript) {
|
|
@@ -1418,7 +1418,7 @@ function createNodeFactory(typescript) {
|
|
|
1418
1418
|
node.type = type;
|
|
1419
1419
|
return node;
|
|
1420
1420
|
}
|
|
1421
|
-
|
|
1421
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocSignature, "createJSDocSignature");
|
|
1422
1422
|
function createJSDocTemplateTag(tagName, constraint, typeParameters, comment) {
|
|
1423
1423
|
var _a2;
|
|
1424
1424
|
if ("createJSDocTemplateTag" in typescript) {
|
|
@@ -1431,7 +1431,7 @@ function createNodeFactory(typescript) {
|
|
|
1431
1431
|
node.comment = comment;
|
|
1432
1432
|
return node;
|
|
1433
1433
|
}
|
|
1434
|
-
|
|
1434
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocTemplateTag, "createJSDocTemplateTag");
|
|
1435
1435
|
function createJSDocThisTag(tagName, typeExpression, comment) {
|
|
1436
1436
|
var _a2;
|
|
1437
1437
|
if ("createJSDocThisTag" in typescript) {
|
|
@@ -1443,7 +1443,7 @@ function createNodeFactory(typescript) {
|
|
|
1443
1443
|
node.comment = comment;
|
|
1444
1444
|
return node;
|
|
1445
1445
|
}
|
|
1446
|
-
|
|
1446
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocThisTag, "createJSDocThisTag");
|
|
1447
1447
|
function createJSDocTypeExpression(type) {
|
|
1448
1448
|
var _a2;
|
|
1449
1449
|
if ("createJSDocTypeExpression" in typescript) {
|
|
@@ -1453,7 +1453,7 @@ function createNodeFactory(typescript) {
|
|
|
1453
1453
|
node.type = type;
|
|
1454
1454
|
return node;
|
|
1455
1455
|
}
|
|
1456
|
-
|
|
1456
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocTypeExpression, "createJSDocTypeExpression");
|
|
1457
1457
|
function createJSDocTypeLiteral(jsDocPropertyTags, isArrayType) {
|
|
1458
1458
|
var _a2;
|
|
1459
1459
|
if ("createJSDocTypeLiteral" in typescript) {
|
|
@@ -1464,7 +1464,7 @@ function createNodeFactory(typescript) {
|
|
|
1464
1464
|
if (isArrayType != null) node.isArrayType = isArrayType;
|
|
1465
1465
|
return node;
|
|
1466
1466
|
}
|
|
1467
|
-
|
|
1467
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocTypeLiteral, "createJSDocTypeLiteral");
|
|
1468
1468
|
function createJSDocTypeTag(tagName, typeExpression, comment) {
|
|
1469
1469
|
var _a2;
|
|
1470
1470
|
if ("createJSDocTypeTag" in typescript) {
|
|
@@ -1476,7 +1476,7 @@ function createNodeFactory(typescript) {
|
|
|
1476
1476
|
node.comment = comment;
|
|
1477
1477
|
return node;
|
|
1478
1478
|
}
|
|
1479
|
-
|
|
1479
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocTypeTag, "createJSDocTypeTag");
|
|
1480
1480
|
function createJSDocTypedefTag(tagName, typeExpression, fullName, comment) {
|
|
1481
1481
|
var _a2;
|
|
1482
1482
|
if ("createJSDocTypedefTag" in typescript) {
|
|
@@ -1489,7 +1489,7 @@ function createNodeFactory(typescript) {
|
|
|
1489
1489
|
node.comment = comment;
|
|
1490
1490
|
return node;
|
|
1491
1491
|
}
|
|
1492
|
-
|
|
1492
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocTypedefTag, "createJSDocTypedefTag");
|
|
1493
1493
|
function createJSDocMemberName(left, right) {
|
|
1494
1494
|
var _a2;
|
|
1495
1495
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocMemberName) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1497,7 +1497,7 @@ function createNodeFactory(typescript) {
|
|
|
1497
1497
|
node.right = right;
|
|
1498
1498
|
return node;
|
|
1499
1499
|
}
|
|
1500
|
-
|
|
1500
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocMemberName, "createJSDocMemberName");
|
|
1501
1501
|
function createJSDocLinkCode(name, text) {
|
|
1502
1502
|
var _a2;
|
|
1503
1503
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocLinkCode) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1505,7 +1505,7 @@ function createNodeFactory(typescript) {
|
|
|
1505
1505
|
node.text = text;
|
|
1506
1506
|
return node;
|
|
1507
1507
|
}
|
|
1508
|
-
|
|
1508
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocLinkCode, "createJSDocLinkCode");
|
|
1509
1509
|
function createJSDocLinkPlain(name, text) {
|
|
1510
1510
|
var _a2;
|
|
1511
1511
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocLinkPlain) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1513,7 +1513,7 @@ function createNodeFactory(typescript) {
|
|
|
1513
1513
|
node.text = text;
|
|
1514
1514
|
return node;
|
|
1515
1515
|
}
|
|
1516
|
-
|
|
1516
|
+
chunk2ZXBXKUR_cjs.__name(createJSDocLinkPlain, "createJSDocLinkPlain");
|
|
1517
1517
|
function createClassStaticBlockDeclaration(decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
1518
1518
|
const isShort = arguments.length <= 1;
|
|
1519
1519
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
@@ -1522,23 +1522,23 @@ function createNodeFactory(typescript) {
|
|
|
1522
1522
|
node.transformFlags = 8388608;
|
|
1523
1523
|
return node;
|
|
1524
1524
|
}
|
|
1525
|
-
|
|
1525
|
+
chunk2ZXBXKUR_cjs.__name(createClassStaticBlockDeclaration, "createClassStaticBlockDeclaration");
|
|
1526
1526
|
function updateClassStaticBlockDeclaration(node, decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
1527
1527
|
const isShort = arguments.length <= 2;
|
|
1528
1528
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
1529
1529
|
return body === node.body ? node : typescript.setTextRange(createClassStaticBlockDeclaration(body), node);
|
|
1530
1530
|
}
|
|
1531
|
-
|
|
1531
|
+
chunk2ZXBXKUR_cjs.__name(updateClassStaticBlockDeclaration, "updateClassStaticBlockDeclaration");
|
|
1532
1532
|
function createSatisfiesExpression(expression, type) {
|
|
1533
1533
|
return {
|
|
1534
1534
|
...expression
|
|
1535
1535
|
};
|
|
1536
1536
|
}
|
|
1537
|
-
|
|
1537
|
+
chunk2ZXBXKUR_cjs.__name(createSatisfiesExpression, "createSatisfiesExpression");
|
|
1538
1538
|
function updateSatisfiesExpression(node, expression, type) {
|
|
1539
1539
|
return expression === node.expression && type === node.type ? node : typescript.setTextRange(createSatisfiesExpression(expression), node);
|
|
1540
1540
|
}
|
|
1541
|
-
|
|
1541
|
+
chunk2ZXBXKUR_cjs.__name(updateSatisfiesExpression, "updateSatisfiesExpression");
|
|
1542
1542
|
function createAssertClause(elements, multiLine) {
|
|
1543
1543
|
const node = typescript.createEmptyStatement();
|
|
1544
1544
|
node.elements = elements;
|
|
@@ -1546,7 +1546,7 @@ function createNodeFactory(typescript) {
|
|
|
1546
1546
|
node.transformFlags |= 4;
|
|
1547
1547
|
return node;
|
|
1548
1548
|
}
|
|
1549
|
-
|
|
1549
|
+
chunk2ZXBXKUR_cjs.__name(createAssertClause, "createAssertClause");
|
|
1550
1550
|
function createAssertEntry(name, value) {
|
|
1551
1551
|
const node = typescript.createEmptyStatement();
|
|
1552
1552
|
node.name = name;
|
|
@@ -1554,14 +1554,14 @@ function createNodeFactory(typescript) {
|
|
|
1554
1554
|
node.transformFlags |= 4;
|
|
1555
1555
|
return node;
|
|
1556
1556
|
}
|
|
1557
|
-
|
|
1557
|
+
chunk2ZXBXKUR_cjs.__name(createAssertEntry, "createAssertEntry");
|
|
1558
1558
|
function createImportTypeAssertionContainer(clause, multiLine) {
|
|
1559
1559
|
const node = typescript.createEmptyStatement();
|
|
1560
1560
|
node.assertClause = clause;
|
|
1561
1561
|
node.multiLine = multiLine;
|
|
1562
1562
|
return node;
|
|
1563
1563
|
}
|
|
1564
|
-
|
|
1564
|
+
chunk2ZXBXKUR_cjs.__name(createImportTypeAssertionContainer, "createImportTypeAssertionContainer");
|
|
1565
1565
|
function createImportTypeNode(argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined) {
|
|
1566
1566
|
if ("createImportTypeNode" in typescript) {
|
|
1567
1567
|
if (arguments.length < 5) {
|
|
@@ -1584,7 +1584,7 @@ function createNodeFactory(typescript) {
|
|
|
1584
1584
|
return node;
|
|
1585
1585
|
}
|
|
1586
1586
|
}
|
|
1587
|
-
|
|
1587
|
+
chunk2ZXBXKUR_cjs.__name(createImportTypeNode, "createImportTypeNode");
|
|
1588
1588
|
function updateImportTypeNode(node, argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined) {
|
|
1589
1589
|
if ("updateImportTypeNode" in typescript) {
|
|
1590
1590
|
if (arguments.length < 6) {
|
|
@@ -1600,7 +1600,7 @@ function createNodeFactory(typescript) {
|
|
|
1600
1600
|
return node.argument !== argument || node.assertions !== assertion || node.qualifier !== qualifier || node.typeArguments !== typeArguments || node.isTypeOf !== isTypeOfOrUndefined ? typescript.setTextRange(createImportTypeNode(argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined), node) : node;
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
|
-
|
|
1603
|
+
chunk2ZXBXKUR_cjs.__name(updateImportTypeNode, "updateImportTypeNode");
|
|
1604
1604
|
function createClassExpression(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1605
1605
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1606
1606
|
const modifiers = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[1] : modifiersOrName;
|
|
@@ -1610,7 +1610,7 @@ function createNodeFactory(typescript) {
|
|
|
1610
1610
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1611
1611
|
return typescript.createClassExpression(modifiers, name, typeParameters, heritageClauses, members);
|
|
1612
1612
|
}
|
|
1613
|
-
|
|
1613
|
+
chunk2ZXBXKUR_cjs.__name(createClassExpression, "createClassExpression");
|
|
1614
1614
|
function updateClassExpression(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1615
1615
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1616
1616
|
const modifiers = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[1] : modifiersOrName;
|
|
@@ -1620,7 +1620,7 @@ function createNodeFactory(typescript) {
|
|
|
1620
1620
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1621
1621
|
return typescript.updateClassExpression(node, modifiers, name, typeParameters, heritageClauses, members);
|
|
1622
1622
|
}
|
|
1623
|
-
|
|
1623
|
+
chunk2ZXBXKUR_cjs.__name(updateClassExpression, "updateClassExpression");
|
|
1624
1624
|
function createExportDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrUndefined) {
|
|
1625
1625
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 6 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1626
1626
|
const isShort = !isLong;
|
|
@@ -1631,7 +1631,7 @@ function createNodeFactory(typescript) {
|
|
|
1631
1631
|
const moduleSpecifier = isShort ? exportClauseOrModuleSpecifier : moduleSpecifierOrUndefined;
|
|
1632
1632
|
return typescript.createExportDeclaration(decorators, modifiers, exportClause, moduleSpecifier, isTypeOnly);
|
|
1633
1633
|
}
|
|
1634
|
-
|
|
1634
|
+
chunk2ZXBXKUR_cjs.__name(createExportDeclaration, "createExportDeclaration");
|
|
1635
1635
|
function updateExportDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrUndefined) {
|
|
1636
1636
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 7 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1637
1637
|
const isShort = !isLong;
|
|
@@ -1642,7 +1642,7 @@ function createNodeFactory(typescript) {
|
|
|
1642
1642
|
const moduleSpecifier = isShort ? exportClauseOrModuleSpecifier : moduleSpecifierOrUndefined;
|
|
1643
1643
|
return typescript.updateExportDeclaration(node, decorators, modifiers, exportClause, moduleSpecifier, isTypeOnly);
|
|
1644
1644
|
}
|
|
1645
|
-
|
|
1645
|
+
chunk2ZXBXKUR_cjs.__name(updateExportDeclaration, "updateExportDeclaration");
|
|
1646
1646
|
function createConstructorDeclaration(decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1647
1647
|
const isShort = arguments.length <= 3;
|
|
1648
1648
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1651,7 +1651,7 @@ function createNodeFactory(typescript) {
|
|
|
1651
1651
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1652
1652
|
return typescript.createConstructor(decorators, modifiers, parameters, body);
|
|
1653
1653
|
}
|
|
1654
|
-
|
|
1654
|
+
chunk2ZXBXKUR_cjs.__name(createConstructorDeclaration, "createConstructorDeclaration");
|
|
1655
1655
|
function updateConstructorDeclaration(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1656
1656
|
const isShort = arguments.length <= 4;
|
|
1657
1657
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1660,7 +1660,7 @@ function createNodeFactory(typescript) {
|
|
|
1660
1660
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1661
1661
|
return typescript.updateConstructor(node, decorators, modifiers, parameters, body);
|
|
1662
1662
|
}
|
|
1663
|
-
|
|
1663
|
+
chunk2ZXBXKUR_cjs.__name(updateConstructorDeclaration, "updateConstructorDeclaration");
|
|
1664
1664
|
function createMethodDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1665
1665
|
const isShort = typeof asteriskTokenOrName === "string" || asteriskTokenOrName != null && asteriskTokenOrName.kind !== 41;
|
|
1666
1666
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1674,7 +1674,7 @@ function createNodeFactory(typescript) {
|
|
|
1674
1674
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1675
1675
|
return typescript.createMethod(decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
1676
1676
|
}
|
|
1677
|
-
|
|
1677
|
+
chunk2ZXBXKUR_cjs.__name(createMethodDeclaration, "createMethodDeclaration");
|
|
1678
1678
|
function updateMethodDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1679
1679
|
const isShort = (asteriskTokenOrName === null || asteriskTokenOrName === void 0 ? void 0 : asteriskTokenOrName.kind) !== 41;
|
|
1680
1680
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1688,7 +1688,7 @@ function createNodeFactory(typescript) {
|
|
|
1688
1688
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1689
1689
|
return typescript.updateMethod(node, decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
1690
1690
|
}
|
|
1691
|
-
|
|
1691
|
+
chunk2ZXBXKUR_cjs.__name(updateMethodDeclaration, "updateMethodDeclaration");
|
|
1692
1692
|
function createParameterDeclaration(decoratorsOrModifiers, modifiersOrDotDotDotToken, dotDotDotTokenOrName, nameOrQuestionToken, questionTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1693
1693
|
const isShort = typeof dotDotDotTokenOrName === "string" || dotDotDotTokenOrName != null && dotDotDotTokenOrName.kind !== 25;
|
|
1694
1694
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1700,7 +1700,7 @@ function createNodeFactory(typescript) {
|
|
|
1700
1700
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1701
1701
|
return typescript.createParameter(decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
1702
1702
|
}
|
|
1703
|
-
|
|
1703
|
+
chunk2ZXBXKUR_cjs.__name(createParameterDeclaration, "createParameterDeclaration");
|
|
1704
1704
|
function updateParameterDeclaration(node, decoratorsOrModifiers, modifiersOrDotDotDotToken, dotDotDotTokenOrName, nameOrQuestionToken, questionTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1705
1705
|
const isShort = typeof dotDotDotTokenOrName === "string" || dotDotDotTokenOrName != null && dotDotDotTokenOrName.kind !== 25;
|
|
1706
1706
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1712,7 +1712,7 @@ function createNodeFactory(typescript) {
|
|
|
1712
1712
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1713
1713
|
return typescript.updateParameter(node, decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
1714
1714
|
}
|
|
1715
|
-
|
|
1715
|
+
chunk2ZXBXKUR_cjs.__name(updateParameterDeclaration, "updateParameterDeclaration");
|
|
1716
1716
|
function createPropertyDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1717
1717
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1718
1718
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1723,7 +1723,7 @@ function createNodeFactory(typescript) {
|
|
|
1723
1723
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1724
1724
|
return typescript.createProperty(decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
1725
1725
|
}
|
|
1726
|
-
|
|
1726
|
+
chunk2ZXBXKUR_cjs.__name(createPropertyDeclaration, "createPropertyDeclaration");
|
|
1727
1727
|
function updatePropertyDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1728
1728
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1729
1729
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1734,7 +1734,7 @@ function createNodeFactory(typescript) {
|
|
|
1734
1734
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1735
1735
|
return typescript.updateProperty(node, decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
1736
1736
|
}
|
|
1737
|
-
|
|
1737
|
+
chunk2ZXBXKUR_cjs.__name(updatePropertyDeclaration, "updatePropertyDeclaration");
|
|
1738
1738
|
function createSetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1739
1739
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1740
1740
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1744,7 +1744,7 @@ function createNodeFactory(typescript) {
|
|
|
1744
1744
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1745
1745
|
return typescript.createSetAccessor(decorators, modifiers, name, parameters, body);
|
|
1746
1746
|
}
|
|
1747
|
-
|
|
1747
|
+
chunk2ZXBXKUR_cjs.__name(createSetAccessorDeclaration, "createSetAccessorDeclaration");
|
|
1748
1748
|
function updateSetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1749
1749
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1750
1750
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1754,7 +1754,7 @@ function createNodeFactory(typescript) {
|
|
|
1754
1754
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1755
1755
|
return typescript.updateSetAccessor(node, decorators, modifiers, name, parameters, body);
|
|
1756
1756
|
}
|
|
1757
|
-
|
|
1757
|
+
chunk2ZXBXKUR_cjs.__name(updateSetAccessorDeclaration, "updateSetAccessorDeclaration");
|
|
1758
1758
|
function createGetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1759
1759
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1760
1760
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1765,7 +1765,7 @@ function createNodeFactory(typescript) {
|
|
|
1765
1765
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1766
1766
|
return typescript.createGetAccessor(decorators, modifiers, name, parameters, type, body);
|
|
1767
1767
|
}
|
|
1768
|
-
|
|
1768
|
+
chunk2ZXBXKUR_cjs.__name(createGetAccessorDeclaration, "createGetAccessorDeclaration");
|
|
1769
1769
|
function updateGetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1770
1770
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1771
1771
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1776,7 +1776,7 @@ function createNodeFactory(typescript) {
|
|
|
1776
1776
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1777
1777
|
return typescript.updateGetAccessor(node, decorators, modifiers, name, parameters, type, body);
|
|
1778
1778
|
}
|
|
1779
|
-
|
|
1779
|
+
chunk2ZXBXKUR_cjs.__name(updateGetAccessorDeclaration, "updateGetAccessorDeclaration");
|
|
1780
1780
|
function createImportEqualsDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
1781
1781
|
const isShort = arguments.length <= 4;
|
|
1782
1782
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1791,7 +1791,7 @@ function createNodeFactory(typescript) {
|
|
|
1791
1791
|
return typescript.createImportEqualsDeclaration(decorators, modifiers, isTypeOnly, normalizedName, moduleReference);
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
1794
|
-
|
|
1794
|
+
chunk2ZXBXKUR_cjs.__name(createImportEqualsDeclaration, "createImportEqualsDeclaration");
|
|
1795
1795
|
function updateImportEqualsDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
1796
1796
|
const isShort = arguments.length <= 5;
|
|
1797
1797
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1806,7 +1806,7 @@ function createNodeFactory(typescript) {
|
|
|
1806
1806
|
return typescript.updateImportEqualsDeclaration(node, decorators, modifiers, isTypeOnly, normalizedName, moduleReference);
|
|
1807
1807
|
}
|
|
1808
1808
|
}
|
|
1809
|
-
|
|
1809
|
+
chunk2ZXBXKUR_cjs.__name(updateImportEqualsDeclaration, "updateImportEqualsDeclaration");
|
|
1810
1810
|
function createIndexSignature(decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1811
1811
|
const isShort = arguments.length <= 3;
|
|
1812
1812
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1815,7 +1815,7 @@ function createNodeFactory(typescript) {
|
|
|
1815
1815
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
1816
1816
|
return typescript.createIndexSignature(decorators, modifiers, parameters, type);
|
|
1817
1817
|
}
|
|
1818
|
-
|
|
1818
|
+
chunk2ZXBXKUR_cjs.__name(createIndexSignature, "createIndexSignature");
|
|
1819
1819
|
function updateIndexSignature(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1820
1820
|
const isShort = arguments.length <= 4;
|
|
1821
1821
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1824,7 +1824,7 @@ function createNodeFactory(typescript) {
|
|
|
1824
1824
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
1825
1825
|
return typescript.updateIndexSignature(node, decorators, modifiers, parameters, type);
|
|
1826
1826
|
}
|
|
1827
|
-
|
|
1827
|
+
chunk2ZXBXKUR_cjs.__name(updateIndexSignature, "updateIndexSignature");
|
|
1828
1828
|
function createImportDeclaration(decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1829
1829
|
const isShort = modifiersOrImportClause != null && !Array.isArray(modifiersOrImportClause);
|
|
1830
1830
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1834,7 +1834,7 @@ function createNodeFactory(typescript) {
|
|
|
1834
1834
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1835
1835
|
return typescript.createImportDeclaration(decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1837
|
+
chunk2ZXBXKUR_cjs.__name(createImportDeclaration, "createImportDeclaration");
|
|
1838
1838
|
function updateImportDeclaration(node, decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1839
1839
|
const isShort = importClauseOrModuleSpecifier != null && importClauseOrModuleSpecifier.kind !== 267;
|
|
1840
1840
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1844,7 +1844,7 @@ function createNodeFactory(typescript) {
|
|
|
1844
1844
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1845
1845
|
return typescript.updateImportDeclaration(node, decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
1846
1846
|
}
|
|
1847
|
-
|
|
1847
|
+
chunk2ZXBXKUR_cjs.__name(updateImportDeclaration, "updateImportDeclaration");
|
|
1848
1848
|
const createPrivateIdentifier = (_a = typescript.createPrivateIdentifier) !== null && _a !== void 0 ? _a : /* @__PURE__ */ (() => function(text) {
|
|
1849
1849
|
const node = typescript.createIdentifier(text);
|
|
1850
1850
|
return node;
|
|
@@ -1856,11 +1856,11 @@ function createNodeFactory(typescript) {
|
|
|
1856
1856
|
const node = createPrivateIdentifier(text !== null && text !== void 0 ? text : "");
|
|
1857
1857
|
return node;
|
|
1858
1858
|
}
|
|
1859
|
-
|
|
1859
|
+
chunk2ZXBXKUR_cjs.__name(createUniquePrivateName, "createUniquePrivateName");
|
|
1860
1860
|
function getGeneratedPrivateNameForNode(node) {
|
|
1861
1861
|
return createPrivateIdentifier("");
|
|
1862
1862
|
}
|
|
1863
|
-
|
|
1863
|
+
chunk2ZXBXKUR_cjs.__name(getGeneratedPrivateNameForNode, "getGeneratedPrivateNameForNode");
|
|
1864
1864
|
function createTypeAliasDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
1865
1865
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1866
1866
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1870,7 +1870,7 @@ function createNodeFactory(typescript) {
|
|
|
1870
1870
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
1871
1871
|
return typescript.createTypeAliasDeclaration(decorators, modifiers, name, typeParameters, type);
|
|
1872
1872
|
}
|
|
1873
|
-
|
|
1873
|
+
chunk2ZXBXKUR_cjs.__name(createTypeAliasDeclaration, "createTypeAliasDeclaration");
|
|
1874
1874
|
function updateTypeAliasDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
1875
1875
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1876
1876
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1880,7 +1880,7 @@ function createNodeFactory(typescript) {
|
|
|
1880
1880
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
1881
1881
|
return typescript.updateTypeAliasDeclaration(node, decorators, modifiers, name, typeParameters, type);
|
|
1882
1882
|
}
|
|
1883
|
-
|
|
1883
|
+
chunk2ZXBXKUR_cjs.__name(updateTypeAliasDeclaration, "updateTypeAliasDeclaration");
|
|
1884
1884
|
function createFunctionDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1885
1885
|
const isShort = arguments.length <= 7;
|
|
1886
1886
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1893,7 +1893,7 @@ function createNodeFactory(typescript) {
|
|
|
1893
1893
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1894
1894
|
return typescript.createFunctionDeclaration(decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
1895
1895
|
}
|
|
1896
|
-
|
|
1896
|
+
chunk2ZXBXKUR_cjs.__name(createFunctionDeclaration, "createFunctionDeclaration");
|
|
1897
1897
|
function updateFunctionDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1898
1898
|
const isShort = arguments.length <= 8;
|
|
1899
1899
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1906,7 +1906,7 @@ function createNodeFactory(typescript) {
|
|
|
1906
1906
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1907
1907
|
return typescript.updateFunctionDeclaration(node, decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
1908
1908
|
}
|
|
1909
|
-
|
|
1909
|
+
chunk2ZXBXKUR_cjs.__name(updateFunctionDeclaration, "updateFunctionDeclaration");
|
|
1910
1910
|
function createClassDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1911
1911
|
const isShort = arguments.length <= 5;
|
|
1912
1912
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1917,7 +1917,7 @@ function createNodeFactory(typescript) {
|
|
|
1917
1917
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1918
1918
|
return typescript.createClassDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1919
1919
|
}
|
|
1920
|
-
|
|
1920
|
+
chunk2ZXBXKUR_cjs.__name(createClassDeclaration, "createClassDeclaration");
|
|
1921
1921
|
function updateClassDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1922
1922
|
const isShort = arguments.length <= 6;
|
|
1923
1923
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1928,7 +1928,7 @@ function createNodeFactory(typescript) {
|
|
|
1928
1928
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1929
1929
|
return typescript.updateClassDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1930
1930
|
}
|
|
1931
|
-
|
|
1931
|
+
chunk2ZXBXKUR_cjs.__name(updateClassDeclaration, "updateClassDeclaration");
|
|
1932
1932
|
function createInterfaceDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1933
1933
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1934
1934
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1939,7 +1939,7 @@ function createNodeFactory(typescript) {
|
|
|
1939
1939
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1940
1940
|
return typescript.createInterfaceDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1941
1941
|
}
|
|
1942
|
-
|
|
1942
|
+
chunk2ZXBXKUR_cjs.__name(createInterfaceDeclaration, "createInterfaceDeclaration");
|
|
1943
1943
|
function updateInterfaceDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1944
1944
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1945
1945
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1950,7 +1950,7 @@ function createNodeFactory(typescript) {
|
|
|
1950
1950
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1951
1951
|
return typescript.updateInterfaceDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1952
1952
|
}
|
|
1953
|
-
|
|
1953
|
+
chunk2ZXBXKUR_cjs.__name(updateInterfaceDeclaration, "updateInterfaceDeclaration");
|
|
1954
1954
|
function createEnumDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
1955
1955
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1956
1956
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1959,7 +1959,7 @@ function createNodeFactory(typescript) {
|
|
|
1959
1959
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
1960
1960
|
return typescript.createEnumDeclaration(decorators, modifiers, name, members);
|
|
1961
1961
|
}
|
|
1962
|
-
|
|
1962
|
+
chunk2ZXBXKUR_cjs.__name(createEnumDeclaration, "createEnumDeclaration");
|
|
1963
1963
|
function updateEnumDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
1964
1964
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1965
1965
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1968,7 +1968,7 @@ function createNodeFactory(typescript) {
|
|
|
1968
1968
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
1969
1969
|
return typescript.updateEnumDeclaration(node, decorators, modifiers, name, members);
|
|
1970
1970
|
}
|
|
1971
|
-
|
|
1971
|
+
chunk2ZXBXKUR_cjs.__name(updateEnumDeclaration, "updateEnumDeclaration");
|
|
1972
1972
|
function createModuleDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrFlags, flagsOrUndefined) {
|
|
1973
1973
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
1974
1974
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1978,7 +1978,7 @@ function createNodeFactory(typescript) {
|
|
|
1978
1978
|
const flags = isShort ? bodyOrFlags : flagsOrUndefined;
|
|
1979
1979
|
return typescript.createModuleDeclaration(decorators, modifiers, name, body, flags);
|
|
1980
1980
|
}
|
|
1981
|
-
|
|
1981
|
+
chunk2ZXBXKUR_cjs.__name(createModuleDeclaration, "createModuleDeclaration");
|
|
1982
1982
|
function updateModuleDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrUndefined) {
|
|
1983
1983
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
1984
1984
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1987,7 +1987,7 @@ function createNodeFactory(typescript) {
|
|
|
1987
1987
|
const body = isShort ? nameOrBody : bodyOrUndefined;
|
|
1988
1988
|
return typescript.updateModuleDeclaration(node, decorators, modifiers, name, body);
|
|
1989
1989
|
}
|
|
1990
|
-
|
|
1990
|
+
chunk2ZXBXKUR_cjs.__name(updateModuleDeclaration, "updateModuleDeclaration");
|
|
1991
1991
|
function createExportAssignment(decoratorsOrModifiers, modifiersOrIsExportEquals, isExportEqualsOrExpression, expressionOrUndefined) {
|
|
1992
1992
|
const isShort = arguments.length <= 3;
|
|
1993
1993
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1996,7 +1996,7 @@ function createNodeFactory(typescript) {
|
|
|
1996
1996
|
const expression = isShort ? isExportEqualsOrExpression : expressionOrUndefined;
|
|
1997
1997
|
return typescript.createExportAssignment(decorators, modifiers, isExportEquals, expression);
|
|
1998
1998
|
}
|
|
1999
|
-
|
|
1999
|
+
chunk2ZXBXKUR_cjs.__name(createExportAssignment, "createExportAssignment");
|
|
2000
2000
|
function updateExportAssignment(node, decoratorsOrModifiers, modifiersOrExpression, expressionOrUndefined) {
|
|
2001
2001
|
const isShort = arguments.length <= 3;
|
|
2002
2002
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -2004,7 +2004,7 @@ function createNodeFactory(typescript) {
|
|
|
2004
2004
|
const expression = isShort ? modifiersOrExpression : expressionOrUndefined;
|
|
2005
2005
|
return typescript.updateExportAssignment(node, decorators, modifiers, expression);
|
|
2006
2006
|
}
|
|
2007
|
-
|
|
2007
|
+
chunk2ZXBXKUR_cjs.__name(updateExportAssignment, "updateExportAssignment");
|
|
2008
2008
|
function createTypeParameterDeclaration(modifiersOrName, nameOrConstraint, constraintOrDefaultType, defaultTypeOrUndefined) {
|
|
2009
2009
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
2010
2010
|
const modifiers = isShort ? void 0 : modifiersOrName;
|
|
@@ -2017,7 +2017,7 @@ function createNodeFactory(typescript) {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
return typeParameterDeclaration;
|
|
2019
2019
|
}
|
|
2020
|
-
|
|
2020
|
+
chunk2ZXBXKUR_cjs.__name(createTypeParameterDeclaration, "createTypeParameterDeclaration");
|
|
2021
2021
|
function updateTypeParameterDeclaration(node, modifiersOrName, nameOrConstraint, constraintOrDefaultType, defaultTypeOrUndefined) {
|
|
2022
2022
|
const isShort = modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
2023
2023
|
const modifiers = isShort ? void 0 : modifiersOrName;
|
|
@@ -2030,7 +2030,7 @@ function createNodeFactory(typescript) {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
return typeParameterDeclaration;
|
|
2032
2032
|
}
|
|
2033
|
-
|
|
2033
|
+
chunk2ZXBXKUR_cjs.__name(updateTypeParameterDeclaration, "updateTypeParameterDeclaration");
|
|
2034
2034
|
const { updateSourceFileNode, ...common } = typescript;
|
|
2035
2035
|
return {
|
|
2036
2036
|
["__compatUpgraded"]: true,
|
|
@@ -2634,44 +2634,44 @@ function createNodeFactory(typescript) {
|
|
|
2634
2634
|
}
|
|
2635
2635
|
};
|
|
2636
2636
|
}
|
|
2637
|
-
|
|
2637
|
+
chunk2ZXBXKUR_cjs.__name(createNodeFactory, "createNodeFactory");
|
|
2638
2638
|
function cloneIdentifier(node, options) {
|
|
2639
2639
|
const text = "text" in node ? node.text : options.typescript.unescapeLeadingUnderscores(node.escapedText);
|
|
2640
2640
|
return options.factory.createIdentifier(options.hook("text", text, text));
|
|
2641
2641
|
}
|
|
2642
|
-
|
|
2642
|
+
chunk2ZXBXKUR_cjs.__name(cloneIdentifier, "cloneIdentifier");
|
|
2643
2643
|
function cloneTypeAliasDeclaration(node, options) {
|
|
2644
2644
|
return options.factory.createTypeAliasDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2645
2645
|
}
|
|
2646
|
-
|
|
2646
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeAliasDeclaration, "cloneTypeAliasDeclaration");
|
|
2647
2647
|
function cloneToken(node, options) {
|
|
2648
2648
|
return options.factory.createToken(options.hook("kind", node.kind, node.kind));
|
|
2649
2649
|
}
|
|
2650
|
-
|
|
2650
|
+
chunk2ZXBXKUR_cjs.__name(cloneToken, "cloneToken");
|
|
2651
2651
|
function cloneDecorator(node, options) {
|
|
2652
2652
|
return options.factory.createDecorator(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2653
2653
|
}
|
|
2654
|
-
|
|
2654
|
+
chunk2ZXBXKUR_cjs.__name(cloneDecorator, "cloneDecorator");
|
|
2655
2655
|
function cloneTypeParameterDeclaration(node, options) {
|
|
2656
2656
|
return options.factory.createTypeParameterDeclaration(void 0, options.hook("name", options.nextNode(node.name), node.name), options.hook("constraint", options.nextNode(node.constraint), node.constraint), options.hook("default", options.nextNode(node.default), node.default));
|
|
2657
2657
|
}
|
|
2658
|
-
|
|
2658
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeParameterDeclaration, "cloneTypeParameterDeclaration");
|
|
2659
2659
|
function cloneQualifiedName(node, options) {
|
|
2660
2660
|
return options.factory.createQualifiedName(options.hook("left", options.nextNode(node.left), node.left), options.hook("right", options.nextNode(node.right), node.right));
|
|
2661
2661
|
}
|
|
2662
|
-
|
|
2662
|
+
chunk2ZXBXKUR_cjs.__name(cloneQualifiedName, "cloneQualifiedName");
|
|
2663
2663
|
function cloneComputedPropertyName(node, options) {
|
|
2664
2664
|
return options.factory.createComputedPropertyName(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2665
2665
|
}
|
|
2666
|
-
|
|
2666
|
+
chunk2ZXBXKUR_cjs.__name(cloneComputedPropertyName, "cloneComputedPropertyName");
|
|
2667
2667
|
function cloneCallSignatureDeclaration(node, options) {
|
|
2668
2668
|
return options.factory.createCallSignature(options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2669
2669
|
}
|
|
2670
|
-
|
|
2670
|
+
chunk2ZXBXKUR_cjs.__name(cloneCallSignatureDeclaration, "cloneCallSignatureDeclaration");
|
|
2671
2671
|
function cloneConstructSignatureDeclaration(node, options) {
|
|
2672
2672
|
return options.factory.createConstructSignature(options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2673
2673
|
}
|
|
2674
|
-
|
|
2674
|
+
chunk2ZXBXKUR_cjs.__name(cloneConstructSignatureDeclaration, "cloneConstructSignatureDeclaration");
|
|
2675
2675
|
function cloneVariableDeclaration(node, options) {
|
|
2676
2676
|
const clonedVariableDeclaration = options.factory.createVariableDeclaration(options.hook("name", options.nextNode(node.name), node.name), options.hook("exclamationToken", options.nextNode(node.exclamationToken), node.exclamationToken), options.hook("type", options.nextNode(node.type), node.type), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
2677
2677
|
if (node.initializer != null && clonedVariableDeclaration.initializer != null && !options.typescript.isParenthesizedExpression(node.initializer) && options.typescript.isParenthesizedExpression(clonedVariableDeclaration.initializer)) {
|
|
@@ -2679,31 +2679,31 @@ function cloneVariableDeclaration(node, options) {
|
|
|
2679
2679
|
}
|
|
2680
2680
|
return clonedVariableDeclaration;
|
|
2681
2681
|
}
|
|
2682
|
-
|
|
2682
|
+
chunk2ZXBXKUR_cjs.__name(cloneVariableDeclaration, "cloneVariableDeclaration");
|
|
2683
2683
|
function cloneVariableDeclarationList(node, options) {
|
|
2684
2684
|
return options.factory.createVariableDeclarationList(options.hook("declarations", options.nextNodes(node.declarations), node.declarations), options.hook("flags", node.flags, node.flags));
|
|
2685
2685
|
}
|
|
2686
|
-
|
|
2686
|
+
chunk2ZXBXKUR_cjs.__name(cloneVariableDeclarationList, "cloneVariableDeclarationList");
|
|
2687
2687
|
function cloneVariableStatement(node, options) {
|
|
2688
2688
|
return options.factory.createVariableStatement(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("declarationList", options.nextNode(node.declarationList), node.declarationList));
|
|
2689
2689
|
}
|
|
2690
|
-
|
|
2690
|
+
chunk2ZXBXKUR_cjs.__name(cloneVariableStatement, "cloneVariableStatement");
|
|
2691
2691
|
function cloneParameterDeclaration(node, options) {
|
|
2692
2692
|
return options.factory.createParameterDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("dotDotDotToken", options.nextNode(node.dotDotDotToken), node.dotDotDotToken), options.hook("name", options.nextNode(node.name), node.name), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("type", options.nextNode(node.type), node.type), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
2693
2693
|
}
|
|
2694
|
-
|
|
2694
|
+
chunk2ZXBXKUR_cjs.__name(cloneParameterDeclaration, "cloneParameterDeclaration");
|
|
2695
2695
|
function cloneBindingElement(node, options) {
|
|
2696
2696
|
return options.factory.createBindingElement(options.hook("dotDotDotToken", options.nextNode(node.dotDotDotToken), node.dotDotDotToken), options.hook("propertyName", options.nextNode(node.propertyName), node.propertyName), options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
2697
2697
|
}
|
|
2698
|
-
|
|
2698
|
+
chunk2ZXBXKUR_cjs.__name(cloneBindingElement, "cloneBindingElement");
|
|
2699
2699
|
function clonePropertySignature(node, options) {
|
|
2700
2700
|
return options.factory.createPropertySignature(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("type", options.nextNode(node.type), node.type));
|
|
2701
2701
|
}
|
|
2702
|
-
|
|
2702
|
+
chunk2ZXBXKUR_cjs.__name(clonePropertySignature, "clonePropertySignature");
|
|
2703
2703
|
function clonePropertyDeclaration(node, options) {
|
|
2704
2704
|
return options.factory.createPropertyDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), node.questionToken != null ? options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken) : options.hook("exclamationToken", options.nextNode(node.exclamationToken), node.exclamationToken), options.hook("type", options.nextNode(node.type), node.type), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
2705
2705
|
}
|
|
2706
|
-
|
|
2706
|
+
chunk2ZXBXKUR_cjs.__name(clonePropertyDeclaration, "clonePropertyDeclaration");
|
|
2707
2707
|
function clonePropertyAssignment(node, options) {
|
|
2708
2708
|
const clonedPropertyAssignment = options.factory.createPropertyAssignment(options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
2709
2709
|
if (!options.typescript.isParenthesizedExpression(node.initializer) && options.typescript.isParenthesizedExpression(clonedPropertyAssignment.initializer)) {
|
|
@@ -2711,55 +2711,55 @@ function clonePropertyAssignment(node, options) {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
return clonedPropertyAssignment;
|
|
2713
2713
|
}
|
|
2714
|
-
|
|
2714
|
+
chunk2ZXBXKUR_cjs.__name(clonePropertyAssignment, "clonePropertyAssignment");
|
|
2715
2715
|
function cloneShorthandPropertyAssignment(node, options) {
|
|
2716
2716
|
return options.factory.createShorthandPropertyAssignment(options.hook("name", options.nextNode(node.name), node.name), options.hook("objectAssignmentInitializer", options.nextNode(node.objectAssignmentInitializer), node.objectAssignmentInitializer));
|
|
2717
2717
|
}
|
|
2718
|
-
|
|
2718
|
+
chunk2ZXBXKUR_cjs.__name(cloneShorthandPropertyAssignment, "cloneShorthandPropertyAssignment");
|
|
2719
2719
|
function cloneSpreadAssignment(node, options) {
|
|
2720
2720
|
return options.factory.createSpreadAssignment(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2721
2721
|
}
|
|
2722
|
-
|
|
2722
|
+
chunk2ZXBXKUR_cjs.__name(cloneSpreadAssignment, "cloneSpreadAssignment");
|
|
2723
2723
|
function cloneObjectBindingPattern(node, options) {
|
|
2724
2724
|
return options.factory.createObjectBindingPattern(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2725
2725
|
}
|
|
2726
|
-
|
|
2726
|
+
chunk2ZXBXKUR_cjs.__name(cloneObjectBindingPattern, "cloneObjectBindingPattern");
|
|
2727
2727
|
function cloneArrayBindingPattern(node, options) {
|
|
2728
2728
|
return options.factory.createArrayBindingPattern(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2729
2729
|
}
|
|
2730
|
-
|
|
2730
|
+
chunk2ZXBXKUR_cjs.__name(cloneArrayBindingPattern, "cloneArrayBindingPattern");
|
|
2731
2731
|
function cloneFunctionDeclaration(node, options) {
|
|
2732
2732
|
return options.factory.createFunctionDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("asteriskToken", options.nextNode(node.asteriskToken), node.asteriskToken), options.hook("name", options.nextNode(node.name), node.name), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type), options.hook("body", options.nextNode(node.body), node.body));
|
|
2733
2733
|
}
|
|
2734
|
-
|
|
2734
|
+
chunk2ZXBXKUR_cjs.__name(cloneFunctionDeclaration, "cloneFunctionDeclaration");
|
|
2735
2735
|
function cloneMethodSignature(node, options) {
|
|
2736
2736
|
return options.factory.createMethodSignature(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2737
2737
|
}
|
|
2738
|
-
|
|
2738
|
+
chunk2ZXBXKUR_cjs.__name(cloneMethodSignature, "cloneMethodSignature");
|
|
2739
2739
|
function cloneMethodDeclaration(node, options) {
|
|
2740
2740
|
return options.factory.createMethodDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("asteriskToken", options.nextNode(node.asteriskToken), node.asteriskToken), options.hook("name", options.nextNode(node.name), node.name), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type), options.hook("body", options.nextNode(node.body), node.body));
|
|
2741
2741
|
}
|
|
2742
|
-
|
|
2742
|
+
chunk2ZXBXKUR_cjs.__name(cloneMethodDeclaration, "cloneMethodDeclaration");
|
|
2743
2743
|
function cloneConstructorDeclaration(node, options) {
|
|
2744
2744
|
return options.factory.createConstructorDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("body", options.nextNode(node.body), node.body));
|
|
2745
2745
|
}
|
|
2746
|
-
|
|
2746
|
+
chunk2ZXBXKUR_cjs.__name(cloneConstructorDeclaration, "cloneConstructorDeclaration");
|
|
2747
2747
|
function cloneSemicolonClassElement(_node, options) {
|
|
2748
2748
|
return options.factory.createSemicolonClassElement();
|
|
2749
2749
|
}
|
|
2750
|
-
|
|
2750
|
+
chunk2ZXBXKUR_cjs.__name(cloneSemicolonClassElement, "cloneSemicolonClassElement");
|
|
2751
2751
|
function cloneGetAccessorDeclaration(node, options) {
|
|
2752
2752
|
return options.factory.createGetAccessorDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type), options.hook("body", options.nextNode(node.body), node.body));
|
|
2753
2753
|
}
|
|
2754
|
-
|
|
2754
|
+
chunk2ZXBXKUR_cjs.__name(cloneGetAccessorDeclaration, "cloneGetAccessorDeclaration");
|
|
2755
2755
|
function cloneSetAccessorDeclaration(node, options) {
|
|
2756
2756
|
return options.factory.createSetAccessorDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("body", options.nextNode(node.body), node.body));
|
|
2757
2757
|
}
|
|
2758
|
-
|
|
2758
|
+
chunk2ZXBXKUR_cjs.__name(cloneSetAccessorDeclaration, "cloneSetAccessorDeclaration");
|
|
2759
2759
|
function cloneIndexSignatureDeclaration(node, options) {
|
|
2760
2760
|
return options.factory.createIndexSignature(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2761
2761
|
}
|
|
2762
|
-
|
|
2762
|
+
chunk2ZXBXKUR_cjs.__name(cloneIndexSignatureDeclaration, "cloneIndexSignatureDeclaration");
|
|
2763
2763
|
function isKeywordTypeNode(node, typescript) {
|
|
2764
2764
|
switch (node.kind) {
|
|
2765
2765
|
case typescript.SyntaxKind.AnyKeyword:
|
|
@@ -2777,65 +2777,65 @@ function isKeywordTypeNode(node, typescript) {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
return false;
|
|
2779
2779
|
}
|
|
2780
|
-
|
|
2780
|
+
chunk2ZXBXKUR_cjs.__name(isKeywordTypeNode, "isKeywordTypeNode");
|
|
2781
2781
|
function cloneKeywordTypeNode(node, options) {
|
|
2782
2782
|
return options.factory.createKeywordTypeNode(options.hook("kind", node.kind, node.kind));
|
|
2783
2783
|
}
|
|
2784
|
-
|
|
2784
|
+
chunk2ZXBXKUR_cjs.__name(cloneKeywordTypeNode, "cloneKeywordTypeNode");
|
|
2785
2785
|
function cloneImportTypeNode(node, options) {
|
|
2786
2786
|
return options.factory.createImportTypeNode(options.hook("argument", options.nextNode(node.argument), node.argument), options.hook("assertions", options.nextNode(node.assertions), node.assertions), options.hook("qualifier", options.nextNode(node.qualifier), node.qualifier), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments), options.hook("isTypeOf", node.isTypeOf, node.isTypeOf));
|
|
2787
2787
|
}
|
|
2788
|
-
|
|
2788
|
+
chunk2ZXBXKUR_cjs.__name(cloneImportTypeNode, "cloneImportTypeNode");
|
|
2789
2789
|
function cloneThisTypeNode(_node, options) {
|
|
2790
2790
|
return options.factory.createThisTypeNode();
|
|
2791
2791
|
}
|
|
2792
|
-
|
|
2792
|
+
chunk2ZXBXKUR_cjs.__name(cloneThisTypeNode, "cloneThisTypeNode");
|
|
2793
2793
|
function cloneFunctionTypeNode(node, options) {
|
|
2794
2794
|
return options.factory.createFunctionTypeNode(options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2795
2795
|
}
|
|
2796
|
-
|
|
2796
|
+
chunk2ZXBXKUR_cjs.__name(cloneFunctionTypeNode, "cloneFunctionTypeNode");
|
|
2797
2797
|
function isNodeArray(item) {
|
|
2798
2798
|
return item != null && Array.isArray(item) && "pos" in item;
|
|
2799
2799
|
}
|
|
2800
|
-
|
|
2800
|
+
chunk2ZXBXKUR_cjs.__name(isNodeArray, "isNodeArray");
|
|
2801
2801
|
function ensureNodeArray(item, factory) {
|
|
2802
2802
|
if (item == null || isNodeArray(item)) return item;
|
|
2803
2803
|
return factory.createNodeArray(item);
|
|
2804
2804
|
}
|
|
2805
|
-
|
|
2805
|
+
chunk2ZXBXKUR_cjs.__name(ensureNodeArray, "ensureNodeArray");
|
|
2806
2806
|
function cloneConstructorTypeNode(node, options) {
|
|
2807
2807
|
const updatedNode = options.factory.createConstructorTypeNode(options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
2808
2808
|
updatedNode.modifiers = ensureNodeArray(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.factory);
|
|
2809
2809
|
return updatedNode;
|
|
2810
2810
|
}
|
|
2811
|
-
|
|
2811
|
+
chunk2ZXBXKUR_cjs.__name(cloneConstructorTypeNode, "cloneConstructorTypeNode");
|
|
2812
2812
|
function cloneTypeReferenceNode(node, options) {
|
|
2813
2813
|
return options.factory.createTypeReferenceNode(options.hook("typeName", options.nextNode(node.typeName), node.typeName), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments));
|
|
2814
2814
|
}
|
|
2815
|
-
|
|
2815
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeReferenceNode, "cloneTypeReferenceNode");
|
|
2816
2816
|
function cloneTypePredicateNode(node, options) {
|
|
2817
2817
|
return options.factory.createTypePredicateNode(options.hook("assertsModifier", options.nextNode(node.assertsModifier), node.assertsModifier), options.hook("parameterName", options.nextNode(node.parameterName), node.parameterName), options.hook("type", options.nextNode(node.type), node.type));
|
|
2818
2818
|
}
|
|
2819
|
-
|
|
2819
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypePredicateNode, "cloneTypePredicateNode");
|
|
2820
2820
|
function cloneSourceFile(node, options) {
|
|
2821
2821
|
const updatedSourceFile = options.factory.updateSourceFile(node, options.hook("statements", options.nextNodes(node.statements), node.statements), node.isDeclarationFile, node.referencedFiles, node.typeReferenceDirectives, node.hasNoDefaultLib, node.libReferenceDirectives);
|
|
2822
2822
|
updatedSourceFile.pos = -1;
|
|
2823
2823
|
updatedSourceFile.end = -1;
|
|
2824
2824
|
return updatedSourceFile;
|
|
2825
2825
|
}
|
|
2826
|
-
|
|
2826
|
+
chunk2ZXBXKUR_cjs.__name(cloneSourceFile, "cloneSourceFile");
|
|
2827
2827
|
function cloneTypeQueryNode(node, options) {
|
|
2828
2828
|
return options.factory.createTypeQueryNode(options.hook("exprName", options.nextNode(node.exprName), node.exprName));
|
|
2829
2829
|
}
|
|
2830
|
-
|
|
2830
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeQueryNode, "cloneTypeQueryNode");
|
|
2831
2831
|
function cloneTypeLiteralNode(node, options) {
|
|
2832
2832
|
return options.factory.createTypeLiteralNode(options.hook("members", options.nextNodes(node.members), node.members));
|
|
2833
2833
|
}
|
|
2834
|
-
|
|
2834
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeLiteralNode, "cloneTypeLiteralNode");
|
|
2835
2835
|
function cloneArrayTypeNode(node, options) {
|
|
2836
2836
|
return options.factory.createArrayTypeNode(options.hook("elementType", options.nextNode(node.elementType), node.elementType));
|
|
2837
2837
|
}
|
|
2838
|
-
|
|
2838
|
+
chunk2ZXBXKUR_cjs.__name(cloneArrayTypeNode, "cloneArrayTypeNode");
|
|
2839
2839
|
function cloneTupleTypeNode(node, options) {
|
|
2840
2840
|
if ("elementTypes" in node) {
|
|
2841
2841
|
const castNode = node;
|
|
@@ -2844,45 +2844,45 @@ function cloneTupleTypeNode(node, options) {
|
|
|
2844
2844
|
return options.factory.createTupleTypeNode(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2845
2845
|
}
|
|
2846
2846
|
}
|
|
2847
|
-
|
|
2847
|
+
chunk2ZXBXKUR_cjs.__name(cloneTupleTypeNode, "cloneTupleTypeNode");
|
|
2848
2848
|
function cloneOptionalTypeNode(node, options) {
|
|
2849
2849
|
return options.factory.createOptionalTypeNode(options.hook("type", options.nextNode(node.type), node.type));
|
|
2850
2850
|
}
|
|
2851
|
-
|
|
2851
|
+
chunk2ZXBXKUR_cjs.__name(cloneOptionalTypeNode, "cloneOptionalTypeNode");
|
|
2852
2852
|
function isOptionalTypeNode(node, typescript) {
|
|
2853
2853
|
if ("isOptionalTypeNode" in typescript) {
|
|
2854
2854
|
return typescript.isOptionalTypeNode(node);
|
|
2855
2855
|
}
|
|
2856
2856
|
return node.kind === typescript.SyntaxKind.OptionalType;
|
|
2857
2857
|
}
|
|
2858
|
-
|
|
2858
|
+
chunk2ZXBXKUR_cjs.__name(isOptionalTypeNode, "isOptionalTypeNode");
|
|
2859
2859
|
function cloneRestTypeNode(node, options) {
|
|
2860
2860
|
return options.factory.createRestTypeNode(options.hook("type", options.nextNode(node.type), node.type));
|
|
2861
2861
|
}
|
|
2862
|
-
|
|
2862
|
+
chunk2ZXBXKUR_cjs.__name(cloneRestTypeNode, "cloneRestTypeNode");
|
|
2863
2863
|
function isRestTypeNode(node, typescript) {
|
|
2864
2864
|
if ("isRestTypeNode" in typescript) {
|
|
2865
2865
|
return typescript.isRestTypeNode(node);
|
|
2866
2866
|
}
|
|
2867
2867
|
return node.kind === typescript.SyntaxKind.RestType;
|
|
2868
2868
|
}
|
|
2869
|
-
|
|
2869
|
+
chunk2ZXBXKUR_cjs.__name(isRestTypeNode, "isRestTypeNode");
|
|
2870
2870
|
function cloneUnionTypeNode(node, options) {
|
|
2871
2871
|
return options.factory.createUnionTypeNode(options.hook("types", options.nextNodes(node.types), node.types));
|
|
2872
2872
|
}
|
|
2873
|
-
|
|
2873
|
+
chunk2ZXBXKUR_cjs.__name(cloneUnionTypeNode, "cloneUnionTypeNode");
|
|
2874
2874
|
function cloneIntersectionTypeNode(node, options) {
|
|
2875
2875
|
return options.factory.createIntersectionTypeNode(options.hook("types", options.nextNodes(node.types), node.types));
|
|
2876
2876
|
}
|
|
2877
|
-
|
|
2877
|
+
chunk2ZXBXKUR_cjs.__name(cloneIntersectionTypeNode, "cloneIntersectionTypeNode");
|
|
2878
2878
|
function cloneLiteralTypeNode(node, options) {
|
|
2879
2879
|
return options.factory.createLiteralTypeNode(options.hook("literal", options.nextNode(node.literal), node.literal));
|
|
2880
2880
|
}
|
|
2881
|
-
|
|
2881
|
+
chunk2ZXBXKUR_cjs.__name(cloneLiteralTypeNode, "cloneLiteralTypeNode");
|
|
2882
2882
|
function cloneStringLiteral(node, options) {
|
|
2883
2883
|
return options.factory.createStringLiteral(options.hook("text", node.text, node.text));
|
|
2884
2884
|
}
|
|
2885
|
-
|
|
2885
|
+
chunk2ZXBXKUR_cjs.__name(cloneStringLiteral, "cloneStringLiteral");
|
|
2886
2886
|
function isBooleanLiteral(node, typescript) {
|
|
2887
2887
|
switch (node.kind) {
|
|
2888
2888
|
case typescript.SyntaxKind.TrueKeyword:
|
|
@@ -2892,54 +2892,54 @@ function isBooleanLiteral(node, typescript) {
|
|
|
2892
2892
|
return false;
|
|
2893
2893
|
}
|
|
2894
2894
|
}
|
|
2895
|
-
|
|
2895
|
+
chunk2ZXBXKUR_cjs.__name(isBooleanLiteral, "isBooleanLiteral");
|
|
2896
2896
|
function cloneBooleanLiteral(node, options) {
|
|
2897
2897
|
if (node.kind === options.typescript.SyntaxKind.TrueKeyword) {
|
|
2898
2898
|
return options.factory.createTrue();
|
|
2899
2899
|
}
|
|
2900
2900
|
return options.factory.createFalse();
|
|
2901
2901
|
}
|
|
2902
|
-
|
|
2902
|
+
chunk2ZXBXKUR_cjs.__name(cloneBooleanLiteral, "cloneBooleanLiteral");
|
|
2903
2903
|
function clonePrefixUnaryExpression(node, options) {
|
|
2904
2904
|
return options.factory.createPrefixUnaryExpression(options.hook("operator", node.operator, node.operator), options.hook("operand", options.nextNode(node.operand), node.operand));
|
|
2905
2905
|
}
|
|
2906
|
-
|
|
2906
|
+
chunk2ZXBXKUR_cjs.__name(clonePrefixUnaryExpression, "clonePrefixUnaryExpression");
|
|
2907
2907
|
function cloneRegularExpressionLiteral(node, options) {
|
|
2908
2908
|
return options.factory.createRegularExpressionLiteral(options.hook("text", node.text, node.text));
|
|
2909
2909
|
}
|
|
2910
|
-
|
|
2910
|
+
chunk2ZXBXKUR_cjs.__name(cloneRegularExpressionLiteral, "cloneRegularExpressionLiteral");
|
|
2911
2911
|
function cloneNoSubstitutionTemplateLiteral(node, options) {
|
|
2912
2912
|
return options.factory.createNoSubstitutionTemplateLiteral(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.text));
|
|
2913
2913
|
}
|
|
2914
|
-
|
|
2914
|
+
chunk2ZXBXKUR_cjs.__name(cloneNoSubstitutionTemplateLiteral, "cloneNoSubstitutionTemplateLiteral");
|
|
2915
2915
|
function cloneNumericLiteral(node, options) {
|
|
2916
2916
|
return options.factory.createNumericLiteral(options.hook("text", node.text, node.text));
|
|
2917
2917
|
}
|
|
2918
|
-
|
|
2918
|
+
chunk2ZXBXKUR_cjs.__name(cloneNumericLiteral, "cloneNumericLiteral");
|
|
2919
2919
|
function cloneBigIntLiteral(node, options) {
|
|
2920
2920
|
return options.factory.createBigIntLiteral(options.hook("text", node.text, node.text));
|
|
2921
2921
|
}
|
|
2922
|
-
|
|
2922
|
+
chunk2ZXBXKUR_cjs.__name(cloneBigIntLiteral, "cloneBigIntLiteral");
|
|
2923
2923
|
function cloneConditionalTypeNode(node, options) {
|
|
2924
2924
|
return options.factory.createConditionalTypeNode(options.hook("checkType", options.nextNode(node.checkType), node.checkType), options.hook("extendsType", options.nextNode(node.extendsType), node.extendsType), options.hook("trueType", options.nextNode(node.trueType), node.trueType), options.hook("falseType", options.nextNode(node.falseType), node.falseType));
|
|
2925
2925
|
}
|
|
2926
|
-
|
|
2926
|
+
chunk2ZXBXKUR_cjs.__name(cloneConditionalTypeNode, "cloneConditionalTypeNode");
|
|
2927
2927
|
function cloneInferTypeNode(node, options) {
|
|
2928
2928
|
return options.factory.createInferTypeNode(options.hook("typeParameter", options.nextNode(node.typeParameter), node.typeParameter));
|
|
2929
2929
|
}
|
|
2930
|
-
|
|
2930
|
+
chunk2ZXBXKUR_cjs.__name(cloneInferTypeNode, "cloneInferTypeNode");
|
|
2931
2931
|
function cloneBlock(node, options) {
|
|
2932
2932
|
return options.factory.createBlock(options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
2933
2933
|
}
|
|
2934
|
-
|
|
2934
|
+
chunk2ZXBXKUR_cjs.__name(cloneBlock, "cloneBlock");
|
|
2935
2935
|
function cloneThrowStatement(node, options) {
|
|
2936
2936
|
return options.factory.createThrowStatement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2937
2937
|
}
|
|
2938
|
-
|
|
2938
|
+
chunk2ZXBXKUR_cjs.__name(cloneThrowStatement, "cloneThrowStatement");
|
|
2939
2939
|
function cloneNewExpression(node, options) {
|
|
2940
2940
|
return options.factory.createNewExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments), options.hook("arguments", options.nextNodes(node.arguments), node.arguments));
|
|
2941
2941
|
}
|
|
2942
|
-
|
|
2942
|
+
chunk2ZXBXKUR_cjs.__name(cloneNewExpression, "cloneNewExpression");
|
|
2943
2943
|
function cloneCallExpression(node, options) {
|
|
2944
2944
|
const clonedCallExpression = options.factory.createCallExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments), options.hook("arguments", options.nextNodes(node.arguments), node.arguments));
|
|
2945
2945
|
for (let i = 0; i < clonedCallExpression.arguments.length; i++) {
|
|
@@ -2950,400 +2950,400 @@ function cloneCallExpression(node, options) {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
return clonedCallExpression;
|
|
2952
2952
|
}
|
|
2953
|
-
|
|
2953
|
+
chunk2ZXBXKUR_cjs.__name(cloneCallExpression, "cloneCallExpression");
|
|
2954
2954
|
function cloneExpressionStatement(node, options) {
|
|
2955
2955
|
return options.factory.createExpressionStatement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2956
2956
|
}
|
|
2957
|
-
|
|
2957
|
+
chunk2ZXBXKUR_cjs.__name(cloneExpressionStatement, "cloneExpressionStatement");
|
|
2958
2958
|
function cloneExpressionWithTypeArguments(node, options) {
|
|
2959
2959
|
return options.factory.createExpressionWithTypeArguments(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments));
|
|
2960
2960
|
}
|
|
2961
|
-
|
|
2961
|
+
chunk2ZXBXKUR_cjs.__name(cloneExpressionWithTypeArguments, "cloneExpressionWithTypeArguments");
|
|
2962
2962
|
function clonePropertyAccessExpression(node, options) {
|
|
2963
2963
|
return options.factory.createPropertyAccessExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("name", options.nextNode(node.name), node.name));
|
|
2964
2964
|
}
|
|
2965
|
-
|
|
2965
|
+
chunk2ZXBXKUR_cjs.__name(clonePropertyAccessExpression, "clonePropertyAccessExpression");
|
|
2966
2966
|
function cloneElementAccessExpression(node, options) {
|
|
2967
2967
|
return options.factory.createElementAccessExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("argumentExpression", options.nextNode(node.argumentExpression), node.argumentExpression));
|
|
2968
2968
|
}
|
|
2969
|
-
|
|
2969
|
+
chunk2ZXBXKUR_cjs.__name(cloneElementAccessExpression, "cloneElementAccessExpression");
|
|
2970
2970
|
function cloneArrayLiteralExpression(node, options) {
|
|
2971
2971
|
return options.factory.createArrayLiteralExpression(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2972
2972
|
}
|
|
2973
|
-
|
|
2973
|
+
chunk2ZXBXKUR_cjs.__name(cloneArrayLiteralExpression, "cloneArrayLiteralExpression");
|
|
2974
2974
|
function cloneObjectLiteralExpression(node, options) {
|
|
2975
2975
|
return options.factory.createObjectLiteralExpression(options.hook("properties", options.nextNodes(node.properties), node.properties));
|
|
2976
2976
|
}
|
|
2977
|
-
|
|
2977
|
+
chunk2ZXBXKUR_cjs.__name(cloneObjectLiteralExpression, "cloneObjectLiteralExpression");
|
|
2978
2978
|
function cloneTemplateExpression(node, options) {
|
|
2979
2979
|
return options.factory.createTemplateExpression(options.hook("head", options.nextNode(node.head), node.head), options.hook("templateSpans", options.nextNodes(node.templateSpans), node.templateSpans));
|
|
2980
2980
|
}
|
|
2981
|
-
|
|
2981
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateExpression, "cloneTemplateExpression");
|
|
2982
2982
|
function cloneTemplateSpan(node, options) {
|
|
2983
2983
|
return options.factory.createTemplateSpan(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("literal", options.nextNode(node.literal), node.literal));
|
|
2984
2984
|
}
|
|
2985
|
-
|
|
2985
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateSpan, "cloneTemplateSpan");
|
|
2986
2986
|
function cloneTemplateHead(node, options) {
|
|
2987
2987
|
return options.factory.createTemplateHead(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.rawText));
|
|
2988
2988
|
}
|
|
2989
|
-
|
|
2989
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateHead, "cloneTemplateHead");
|
|
2990
2990
|
function cloneTemplateMiddle(node, options) {
|
|
2991
2991
|
return options.factory.createTemplateMiddle(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.rawText));
|
|
2992
2992
|
}
|
|
2993
|
-
|
|
2993
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateMiddle, "cloneTemplateMiddle");
|
|
2994
2994
|
function cloneTemplateTail(node, options) {
|
|
2995
2995
|
return options.factory.createTemplateTail(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.rawText));
|
|
2996
2996
|
}
|
|
2997
|
-
|
|
2997
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateTail, "cloneTemplateTail");
|
|
2998
2998
|
function cloneConditionalExpression(node, options) {
|
|
2999
2999
|
return options.factory.createConditionalExpression(options.hook("condition", options.nextNode(node.condition), node.condition), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("whenTrue", options.nextNode(node.whenTrue), node.whenTrue), options.hook("colonToken", options.nextNode(node.colonToken), node.colonToken), options.hook("whenFalse", options.nextNode(node.whenFalse), node.whenFalse));
|
|
3000
3000
|
}
|
|
3001
|
-
|
|
3001
|
+
chunk2ZXBXKUR_cjs.__name(cloneConditionalExpression, "cloneConditionalExpression");
|
|
3002
3002
|
function cloneBinaryExpression(node, options) {
|
|
3003
3003
|
return options.factory.createBinaryExpression(options.hook("left", options.nextNode(node.left), node.left), options.hook("operatorToken", options.nextNode(node.operatorToken), node.operatorToken), options.hook("right", options.nextNode(node.right), node.right));
|
|
3004
3004
|
}
|
|
3005
|
-
|
|
3005
|
+
chunk2ZXBXKUR_cjs.__name(cloneBinaryExpression, "cloneBinaryExpression");
|
|
3006
3006
|
function cloneParenthesizedExpression(node, options) {
|
|
3007
3007
|
return options.factory.createParenthesizedExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3008
3008
|
}
|
|
3009
|
-
|
|
3009
|
+
chunk2ZXBXKUR_cjs.__name(cloneParenthesizedExpression, "cloneParenthesizedExpression");
|
|
3010
3010
|
function cloneParenthesizedTypeNode(node, options) {
|
|
3011
3011
|
return options.factory.createParenthesizedType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3012
3012
|
}
|
|
3013
|
-
|
|
3013
|
+
chunk2ZXBXKUR_cjs.__name(cloneParenthesizedTypeNode, "cloneParenthesizedTypeNode");
|
|
3014
3014
|
function cloneArrowFunction(node, options) {
|
|
3015
3015
|
return options.factory.createArrowFunction(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type), options.hook("equalsGreaterThanToken", options.nextNode(node.equalsGreaterThanToken), node.equalsGreaterThanToken), options.hook("body", options.nextNode(node.body), node.body));
|
|
3016
3016
|
}
|
|
3017
|
-
|
|
3017
|
+
chunk2ZXBXKUR_cjs.__name(cloneArrowFunction, "cloneArrowFunction");
|
|
3018
3018
|
function cloneClassDeclaration(node, options) {
|
|
3019
3019
|
return options.factory.createClassDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("heritageClauses", options.nextNodes(node.heritageClauses), node.heritageClauses), options.hook("members", options.nextNodes(node.members), node.members));
|
|
3020
3020
|
}
|
|
3021
|
-
|
|
3021
|
+
chunk2ZXBXKUR_cjs.__name(cloneClassDeclaration, "cloneClassDeclaration");
|
|
3022
3022
|
function cloneClassExpression(node, options) {
|
|
3023
3023
|
return options.factory.createClassExpression(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("heritageClauses", options.nextNodes(node.heritageClauses), node.heritageClauses), options.hook("members", options.nextNodes(node.members), node.members));
|
|
3024
3024
|
}
|
|
3025
|
-
|
|
3025
|
+
chunk2ZXBXKUR_cjs.__name(cloneClassExpression, "cloneClassExpression");
|
|
3026
3026
|
function cloneEnumDeclaration(node, options) {
|
|
3027
3027
|
return options.factory.createEnumDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("members", options.nextNodes(node.members), node.members));
|
|
3028
3028
|
}
|
|
3029
|
-
|
|
3029
|
+
chunk2ZXBXKUR_cjs.__name(cloneEnumDeclaration, "cloneEnumDeclaration");
|
|
3030
3030
|
function cloneInterfaceDeclaration(node, options) {
|
|
3031
3031
|
return options.factory.createInterfaceDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("heritageClauses", options.nextNodes(node.heritageClauses), node.heritageClauses), options.hook("members", options.nextNodes(node.members), node.members));
|
|
3032
3032
|
}
|
|
3033
|
-
|
|
3033
|
+
chunk2ZXBXKUR_cjs.__name(cloneInterfaceDeclaration, "cloneInterfaceDeclaration");
|
|
3034
3034
|
function cloneEnumMember(node, options) {
|
|
3035
3035
|
return options.factory.createEnumMember(options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
3036
3036
|
}
|
|
3037
|
-
|
|
3037
|
+
chunk2ZXBXKUR_cjs.__name(cloneEnumMember, "cloneEnumMember");
|
|
3038
3038
|
function cloneHeritageClause(node, options) {
|
|
3039
3039
|
return options.factory.createHeritageClause(options.hook("token", node.token, node.token), options.hook("types", options.nextNodes(node.types), node.types));
|
|
3040
3040
|
}
|
|
3041
|
-
|
|
3041
|
+
chunk2ZXBXKUR_cjs.__name(cloneHeritageClause, "cloneHeritageClause");
|
|
3042
3042
|
function cloneEmptyStatement(_node, options) {
|
|
3043
3043
|
return options.factory.createEmptyStatement();
|
|
3044
3044
|
}
|
|
3045
|
-
|
|
3045
|
+
chunk2ZXBXKUR_cjs.__name(cloneEmptyStatement, "cloneEmptyStatement");
|
|
3046
3046
|
function cloneTypeOperatorNode(node, options) {
|
|
3047
3047
|
return options.factory.createTypeOperatorNode(options.hook("operator", node.operator, node.operator), options.hook("type", options.nextNode(node.type), node.type));
|
|
3048
3048
|
}
|
|
3049
|
-
|
|
3049
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeOperatorNode, "cloneTypeOperatorNode");
|
|
3050
3050
|
function cloneIndexedAccessTypeNode(node, options) {
|
|
3051
3051
|
return options.factory.createIndexedAccessTypeNode(options.hook("objectType", options.nextNode(node.objectType), node.objectType), options.hook("indexType", options.nextNode(node.indexType), node.indexType));
|
|
3052
3052
|
}
|
|
3053
|
-
|
|
3053
|
+
chunk2ZXBXKUR_cjs.__name(cloneIndexedAccessTypeNode, "cloneIndexedAccessTypeNode");
|
|
3054
3054
|
function cloneMappedTypeNode(node, options) {
|
|
3055
3055
|
return options.factory.createMappedTypeNode(options.hook("readonlyToken", options.nextNode(node.readonlyToken), node.readonlyToken), options.hook("typeParameter", options.nextNode(node.typeParameter), node.typeParameter), options.hook("nameType", options.nextNode(node.nameType), node.nameType), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("type", options.nextNode(node.type), node.type), ensureNodeArray(options.hook("members", options.nextNodes(node.members), node.members), options.factory));
|
|
3056
3056
|
}
|
|
3057
|
-
|
|
3057
|
+
chunk2ZXBXKUR_cjs.__name(cloneMappedTypeNode, "cloneMappedTypeNode");
|
|
3058
3058
|
function cloneOmittedExpression(_node, options) {
|
|
3059
3059
|
return options.factory.createOmittedExpression();
|
|
3060
3060
|
}
|
|
3061
|
-
|
|
3061
|
+
chunk2ZXBXKUR_cjs.__name(cloneOmittedExpression, "cloneOmittedExpression");
|
|
3062
3062
|
function clonePartiallyEmittedExpression(node, options) {
|
|
3063
3063
|
return options.factory.createPartiallyEmittedExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3064
3064
|
}
|
|
3065
|
-
|
|
3065
|
+
chunk2ZXBXKUR_cjs.__name(clonePartiallyEmittedExpression, "clonePartiallyEmittedExpression");
|
|
3066
3066
|
function isPartiallyEmittedExpression(node, typescript) {
|
|
3067
3067
|
if ("isPartiallyEmittedExpression" in typescript) {
|
|
3068
3068
|
return typescript.isPartiallyEmittedExpression(node);
|
|
3069
3069
|
}
|
|
3070
3070
|
return node.kind === typescript.SyntaxKind.PartiallyEmittedExpression;
|
|
3071
3071
|
}
|
|
3072
|
-
|
|
3072
|
+
chunk2ZXBXKUR_cjs.__name(isPartiallyEmittedExpression, "isPartiallyEmittedExpression");
|
|
3073
3073
|
function clonePostfixUnaryExpression(node, options) {
|
|
3074
3074
|
return options.factory.createPostfixUnaryExpression(options.hook("operand", options.nextNode(node.operand), node.operand), options.hook("operator", node.operator, node.operator));
|
|
3075
3075
|
}
|
|
3076
|
-
|
|
3076
|
+
chunk2ZXBXKUR_cjs.__name(clonePostfixUnaryExpression, "clonePostfixUnaryExpression");
|
|
3077
3077
|
function isNullLiteral(node, typescript) {
|
|
3078
3078
|
return node.kind === typescript.SyntaxKind.NullKeyword;
|
|
3079
3079
|
}
|
|
3080
|
-
|
|
3080
|
+
chunk2ZXBXKUR_cjs.__name(isNullLiteral, "isNullLiteral");
|
|
3081
3081
|
function cloneNullLiteral(_node, options) {
|
|
3082
3082
|
return options.factory.createNull();
|
|
3083
3083
|
}
|
|
3084
|
-
|
|
3084
|
+
chunk2ZXBXKUR_cjs.__name(cloneNullLiteral, "cloneNullLiteral");
|
|
3085
3085
|
function isThisExpression(node, typescript) {
|
|
3086
3086
|
return node.kind === typescript.SyntaxKind.ThisKeyword;
|
|
3087
3087
|
}
|
|
3088
|
-
|
|
3088
|
+
chunk2ZXBXKUR_cjs.__name(isThisExpression, "isThisExpression");
|
|
3089
3089
|
function cloneThisExpression(_node, options) {
|
|
3090
3090
|
return options.factory.createThis();
|
|
3091
3091
|
}
|
|
3092
|
-
|
|
3092
|
+
chunk2ZXBXKUR_cjs.__name(cloneThisExpression, "cloneThisExpression");
|
|
3093
3093
|
function cloneReturnStatement(node, options) {
|
|
3094
3094
|
return options.factory.createReturnStatement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3095
3095
|
}
|
|
3096
|
-
|
|
3096
|
+
chunk2ZXBXKUR_cjs.__name(cloneReturnStatement, "cloneReturnStatement");
|
|
3097
3097
|
function isSuperExpression(node, typescript) {
|
|
3098
3098
|
return node.kind === typescript.SyntaxKind.SuperKeyword;
|
|
3099
3099
|
}
|
|
3100
|
-
|
|
3100
|
+
chunk2ZXBXKUR_cjs.__name(isSuperExpression, "isSuperExpression");
|
|
3101
3101
|
function cloneSuperExpression(_node, options) {
|
|
3102
3102
|
return options.factory.createSuper();
|
|
3103
3103
|
}
|
|
3104
|
-
|
|
3104
|
+
chunk2ZXBXKUR_cjs.__name(cloneSuperExpression, "cloneSuperExpression");
|
|
3105
3105
|
function cloneDeleteExpression(node, options) {
|
|
3106
3106
|
return options.factory.createDeleteExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3107
3107
|
}
|
|
3108
|
-
|
|
3108
|
+
chunk2ZXBXKUR_cjs.__name(cloneDeleteExpression, "cloneDeleteExpression");
|
|
3109
3109
|
function cloneAsExpression(node, options) {
|
|
3110
3110
|
return options.factory.createAsExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("type", options.nextNode(node.type), node.type));
|
|
3111
3111
|
}
|
|
3112
|
-
|
|
3112
|
+
chunk2ZXBXKUR_cjs.__name(cloneAsExpression, "cloneAsExpression");
|
|
3113
3113
|
function cloneTypeAssertion(node, options) {
|
|
3114
3114
|
return options.factory.createTypeAssertion(options.hook("type", options.nextNode(node.type), node.type), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3115
3115
|
}
|
|
3116
|
-
|
|
3116
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeAssertion, "cloneTypeAssertion");
|
|
3117
3117
|
function cloneAwaitExpression(node, options) {
|
|
3118
3118
|
return options.factory.createAwaitExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3119
3119
|
}
|
|
3120
|
-
|
|
3120
|
+
chunk2ZXBXKUR_cjs.__name(cloneAwaitExpression, "cloneAwaitExpression");
|
|
3121
3121
|
function cloneYieldExpression(node, options) {
|
|
3122
3122
|
return options.factory.createYieldExpression(options.hook("asteriskToken", options.nextNode(node.asteriskToken), node.asteriskToken), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3123
3123
|
}
|
|
3124
|
-
|
|
3124
|
+
chunk2ZXBXKUR_cjs.__name(cloneYieldExpression, "cloneYieldExpression");
|
|
3125
3125
|
function cloneForOfStatement(node, options) {
|
|
3126
3126
|
return options.factory.createForOfStatement(options.hook("awaitModifier", options.nextNode(node.awaitModifier), node.awaitModifier), options.hook("initializer", options.nextNode(node.initializer), node.initializer), options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3127
3127
|
}
|
|
3128
|
-
|
|
3128
|
+
chunk2ZXBXKUR_cjs.__name(cloneForOfStatement, "cloneForOfStatement");
|
|
3129
3129
|
function cloneForInStatement(node, options) {
|
|
3130
3130
|
return options.factory.createForInStatement(options.hook("initializer", options.nextNode(node.initializer), node.initializer), options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3131
3131
|
}
|
|
3132
|
-
|
|
3132
|
+
chunk2ZXBXKUR_cjs.__name(cloneForInStatement, "cloneForInStatement");
|
|
3133
3133
|
function cloneForStatement(node, options) {
|
|
3134
3134
|
return options.factory.createForStatement(options.hook("initializer", options.nextNode(node.initializer), node.initializer), options.hook("condition", options.nextNode(node.condition), node.condition), options.hook("incrementor", options.nextNode(node.incrementor), node.incrementor), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3135
3135
|
}
|
|
3136
|
-
|
|
3136
|
+
chunk2ZXBXKUR_cjs.__name(cloneForStatement, "cloneForStatement");
|
|
3137
3137
|
function cloneWhileStatement(node, options) {
|
|
3138
3138
|
return options.factory.createWhileStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3139
3139
|
}
|
|
3140
|
-
|
|
3140
|
+
chunk2ZXBXKUR_cjs.__name(cloneWhileStatement, "cloneWhileStatement");
|
|
3141
3141
|
function cloneLabeledStatement(node, options) {
|
|
3142
3142
|
return options.factory.createLabeledStatement(options.hook("label", options.nextNode(node.label), node.label), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3143
3143
|
}
|
|
3144
|
-
|
|
3144
|
+
chunk2ZXBXKUR_cjs.__name(cloneLabeledStatement, "cloneLabeledStatement");
|
|
3145
3145
|
function cloneBreakStatement(node, options) {
|
|
3146
3146
|
return options.factory.createBreakStatement(options.hook("label", options.nextNode(node.label), node.label));
|
|
3147
3147
|
}
|
|
3148
|
-
|
|
3148
|
+
chunk2ZXBXKUR_cjs.__name(cloneBreakStatement, "cloneBreakStatement");
|
|
3149
3149
|
function cloneContinueStatement(node, options) {
|
|
3150
3150
|
return options.factory.createContinueStatement(options.hook("label", options.nextNode(node.label), node.label));
|
|
3151
3151
|
}
|
|
3152
|
-
|
|
3152
|
+
chunk2ZXBXKUR_cjs.__name(cloneContinueStatement, "cloneContinueStatement");
|
|
3153
3153
|
function cloneIfStatement(node, options) {
|
|
3154
3154
|
return options.factory.createIfStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("thenStatement", options.nextNode(node.thenStatement), node.thenStatement), options.hook("elseStatement", options.nextNode(node.elseStatement), node.elseStatement));
|
|
3155
3155
|
}
|
|
3156
|
-
|
|
3156
|
+
chunk2ZXBXKUR_cjs.__name(cloneIfStatement, "cloneIfStatement");
|
|
3157
3157
|
function cloneDoStatement(node, options) {
|
|
3158
3158
|
return options.factory.createDoStatement(options.hook("statement", options.nextNode(node.statement), node.statement), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3159
3159
|
}
|
|
3160
|
-
|
|
3160
|
+
chunk2ZXBXKUR_cjs.__name(cloneDoStatement, "cloneDoStatement");
|
|
3161
3161
|
function cloneNonNullExpression(node, options) {
|
|
3162
3162
|
return options.factory.createNonNullExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3163
3163
|
}
|
|
3164
|
-
|
|
3164
|
+
chunk2ZXBXKUR_cjs.__name(cloneNonNullExpression, "cloneNonNullExpression");
|
|
3165
3165
|
function cloneTypeOfExpression(node, options) {
|
|
3166
3166
|
return options.factory.createTypeOfExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3167
3167
|
}
|
|
3168
|
-
|
|
3168
|
+
chunk2ZXBXKUR_cjs.__name(cloneTypeOfExpression, "cloneTypeOfExpression");
|
|
3169
3169
|
function cloneVoidExpression(node, options) {
|
|
3170
3170
|
return options.factory.createVoidExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3171
3171
|
}
|
|
3172
|
-
|
|
3172
|
+
chunk2ZXBXKUR_cjs.__name(cloneVoidExpression, "cloneVoidExpression");
|
|
3173
3173
|
function cloneFunctionExpression(node, options) {
|
|
3174
3174
|
return options.factory.createFunctionExpression(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("asteriskToken", options.nextNode(node.asteriskToken), node.asteriskToken), options.hook("name", options.nextNode(node.name), node.name), options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type), options.hook("body", options.nextNode(node.body), node.body));
|
|
3175
3175
|
}
|
|
3176
|
-
|
|
3176
|
+
chunk2ZXBXKUR_cjs.__name(cloneFunctionExpression, "cloneFunctionExpression");
|
|
3177
3177
|
function cloneSpreadElement(node, options) {
|
|
3178
3178
|
return options.factory.createSpreadElement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3179
3179
|
}
|
|
3180
|
-
|
|
3180
|
+
chunk2ZXBXKUR_cjs.__name(cloneSpreadElement, "cloneSpreadElement");
|
|
3181
3181
|
function cloneTaggedTemplateExpression(node, options) {
|
|
3182
3182
|
return options.factory.createTaggedTemplateExpression(options.hook("tag", options.nextNode(node.tag), node.tag), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments), options.hook("template", options.nextNode(node.template), node.template));
|
|
3183
3183
|
}
|
|
3184
|
-
|
|
3184
|
+
chunk2ZXBXKUR_cjs.__name(cloneTaggedTemplateExpression, "cloneTaggedTemplateExpression");
|
|
3185
3185
|
function cloneMetaProperty(node, options) {
|
|
3186
3186
|
return options.factory.createMetaProperty(options.hook("keywordToken", node.keywordToken, node.keywordToken), options.hook("name", options.nextNode(node.name), node.name));
|
|
3187
3187
|
}
|
|
3188
|
-
|
|
3188
|
+
chunk2ZXBXKUR_cjs.__name(cloneMetaProperty, "cloneMetaProperty");
|
|
3189
3189
|
function cloneJsxElement(node, options) {
|
|
3190
3190
|
return options.factory.createJsxElement(options.hook("openingElement", options.nextNode(node.openingElement), node.openingElement), options.hook("children", options.nextNodes(node.children), node.children), options.hook("closingElement", options.nextNode(node.closingElement), node.closingElement));
|
|
3191
3191
|
}
|
|
3192
|
-
|
|
3192
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxElement, "cloneJsxElement");
|
|
3193
3193
|
function cloneJsxAttributes(node, options) {
|
|
3194
3194
|
return options.factory.createJsxAttributes(options.hook("properties", options.nextNodes(node.properties), node.properties));
|
|
3195
3195
|
}
|
|
3196
|
-
|
|
3196
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxAttributes, "cloneJsxAttributes");
|
|
3197
3197
|
function cloneJsxOpeningElement(node, options) {
|
|
3198
3198
|
return options.factory.createJsxOpeningElement(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments), options.hook("attributes", options.nextNode(node.attributes), node.attributes));
|
|
3199
3199
|
}
|
|
3200
|
-
|
|
3200
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxOpeningElement, "cloneJsxOpeningElement");
|
|
3201
3201
|
function cloneJsxSelfClosingElement(node, options) {
|
|
3202
3202
|
return options.factory.createJsxSelfClosingElement(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments), options.hook("attributes", options.nextNode(node.attributes), node.attributes));
|
|
3203
3203
|
}
|
|
3204
|
-
|
|
3204
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxSelfClosingElement, "cloneJsxSelfClosingElement");
|
|
3205
3205
|
function cloneJsxFragment(node, options) {
|
|
3206
3206
|
return options.factory.createJsxFragment(options.hook("openingFragment", options.nextNode(node.openingFragment), node.openingFragment), options.hook("children", options.nextNodes(node.children), node.children), options.hook("closingFragment", options.nextNode(node.closingFragment), node.closingFragment));
|
|
3207
3207
|
}
|
|
3208
|
-
|
|
3208
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxFragment, "cloneJsxFragment");
|
|
3209
3209
|
function cloneJsxOpeningFragment(_node, options) {
|
|
3210
3210
|
return options.factory.createJsxOpeningFragment();
|
|
3211
3211
|
}
|
|
3212
|
-
|
|
3212
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxOpeningFragment, "cloneJsxOpeningFragment");
|
|
3213
3213
|
function cloneJsxClosingFragment(_node, options) {
|
|
3214
3214
|
return options.factory.createJsxJsxClosingFragment();
|
|
3215
3215
|
}
|
|
3216
|
-
|
|
3216
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxClosingFragment, "cloneJsxClosingFragment");
|
|
3217
3217
|
function cloneJsxAttribute(node, options) {
|
|
3218
3218
|
return options.factory.createJsxAttribute(options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
3219
3219
|
}
|
|
3220
|
-
|
|
3220
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxAttribute, "cloneJsxAttribute");
|
|
3221
3221
|
function cloneJsxSpreadAttribute(node, options) {
|
|
3222
3222
|
return options.factory.createJsxSpreadAttribute(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3223
3223
|
}
|
|
3224
|
-
|
|
3224
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxSpreadAttribute, "cloneJsxSpreadAttribute");
|
|
3225
3225
|
function cloneJsxClosingElement(node, options) {
|
|
3226
3226
|
return options.factory.createJsxClosingElement(options.hook("tagName", options.nextNode(node.tagName), node.tagName));
|
|
3227
3227
|
}
|
|
3228
|
-
|
|
3228
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxClosingElement, "cloneJsxClosingElement");
|
|
3229
3229
|
function cloneJsxExpression(node, options) {
|
|
3230
3230
|
return options.factory.createJsxExpression(options.hook("dotDotDotToken", options.nextNode(node.dotDotDotToken), node.dotDotDotToken), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3231
3231
|
}
|
|
3232
|
-
|
|
3232
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxExpression, "cloneJsxExpression");
|
|
3233
3233
|
function cloneJsxText(node, options) {
|
|
3234
3234
|
return options.factory.createJsxText(options.hook("text", node.text, node.text), options.hook("containsOnlyTriviaWhiteSpaces", node.containsOnlyTriviaWhiteSpaces, node.containsOnlyTriviaWhiteSpaces));
|
|
3235
3235
|
}
|
|
3236
|
-
|
|
3236
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsxText, "cloneJsxText");
|
|
3237
3237
|
function isNotEmittedStatement(node, typescript) {
|
|
3238
3238
|
if ("isNotEmittedStatement" in typescript) {
|
|
3239
3239
|
return typescript.isNotEmittedStatement(node);
|
|
3240
3240
|
}
|
|
3241
3241
|
return node.kind === typescript.SyntaxKind.NotEmittedStatement;
|
|
3242
3242
|
}
|
|
3243
|
-
|
|
3243
|
+
chunk2ZXBXKUR_cjs.__name(isNotEmittedStatement, "isNotEmittedStatement");
|
|
3244
3244
|
function cloneNotEmittedStatement(node, options) {
|
|
3245
3245
|
return options.factory.createNotEmittedStatement(node);
|
|
3246
3246
|
}
|
|
3247
|
-
|
|
3247
|
+
chunk2ZXBXKUR_cjs.__name(cloneNotEmittedStatement, "cloneNotEmittedStatement");
|
|
3248
3248
|
function isCommaListExpression(node, typescript) {
|
|
3249
3249
|
if ("isCommaListExpression" in typescript) {
|
|
3250
3250
|
return typescript.isCommaListExpression(node);
|
|
3251
3251
|
}
|
|
3252
3252
|
return node.kind === typescript.SyntaxKind.CommaListExpression;
|
|
3253
3253
|
}
|
|
3254
|
-
|
|
3254
|
+
chunk2ZXBXKUR_cjs.__name(isCommaListExpression, "isCommaListExpression");
|
|
3255
3255
|
function cloneCommaListExpression(node, options) {
|
|
3256
3256
|
return options.factory.createCommaListExpression(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3257
3257
|
}
|
|
3258
|
-
|
|
3258
|
+
chunk2ZXBXKUR_cjs.__name(cloneCommaListExpression, "cloneCommaListExpression");
|
|
3259
3259
|
function cloneDebuggerStatement(_node, options) {
|
|
3260
3260
|
return options.factory.createDebuggerStatement();
|
|
3261
3261
|
}
|
|
3262
|
-
|
|
3262
|
+
chunk2ZXBXKUR_cjs.__name(cloneDebuggerStatement, "cloneDebuggerStatement");
|
|
3263
3263
|
function cloneWithStatement(node, options) {
|
|
3264
3264
|
return options.factory.createWithStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3265
3265
|
}
|
|
3266
|
-
|
|
3266
|
+
chunk2ZXBXKUR_cjs.__name(cloneWithStatement, "cloneWithStatement");
|
|
3267
3267
|
function cloneSwitchStatement(node, options) {
|
|
3268
3268
|
return options.factory.createSwitchStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("caseBlock", options.nextNode(node.caseBlock), node.caseBlock));
|
|
3269
3269
|
}
|
|
3270
|
-
|
|
3270
|
+
chunk2ZXBXKUR_cjs.__name(cloneSwitchStatement, "cloneSwitchStatement");
|
|
3271
3271
|
function cloneCaseBlock(node, options) {
|
|
3272
3272
|
return options.factory.createCaseBlock(options.hook("clauses", options.nextNodes(node.clauses), node.clauses));
|
|
3273
3273
|
}
|
|
3274
|
-
|
|
3274
|
+
chunk2ZXBXKUR_cjs.__name(cloneCaseBlock, "cloneCaseBlock");
|
|
3275
3275
|
function cloneCaseClause(node, options) {
|
|
3276
3276
|
return options.factory.createCaseClause(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
3277
3277
|
}
|
|
3278
|
-
|
|
3278
|
+
chunk2ZXBXKUR_cjs.__name(cloneCaseClause, "cloneCaseClause");
|
|
3279
3279
|
function cloneDefaultClause(node, options) {
|
|
3280
3280
|
return options.factory.createDefaultClause(options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
3281
3281
|
}
|
|
3282
|
-
|
|
3282
|
+
chunk2ZXBXKUR_cjs.__name(cloneDefaultClause, "cloneDefaultClause");
|
|
3283
3283
|
function cloneTryStatement(node, options) {
|
|
3284
3284
|
return options.factory.createTryStatement(options.hook("tryBlock", options.nextNode(node.tryBlock), node.tryBlock), options.hook("catchClause", options.nextNode(node.catchClause), node.catchClause), options.hook("finallyBlock", options.nextNode(node.finallyBlock), node.finallyBlock));
|
|
3285
3285
|
}
|
|
3286
|
-
|
|
3286
|
+
chunk2ZXBXKUR_cjs.__name(cloneTryStatement, "cloneTryStatement");
|
|
3287
3287
|
function cloneCatchClause(node, options) {
|
|
3288
3288
|
return options.factory.createCatchClause(options.hook("variableDeclaration", options.nextNode(node.variableDeclaration), node.variableDeclaration), options.hook("block", options.nextNode(node.block), node.block));
|
|
3289
3289
|
}
|
|
3290
|
-
|
|
3290
|
+
chunk2ZXBXKUR_cjs.__name(cloneCatchClause, "cloneCatchClause");
|
|
3291
3291
|
function cloneModuleDeclaration(node, options) {
|
|
3292
3292
|
return options.factory.createModuleDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("name", options.nextNode(node.name), node.name), options.hook("body", options.nextNode(node.body), node.body), options.hook("flags", node.flags, node.flags));
|
|
3293
3293
|
}
|
|
3294
|
-
|
|
3294
|
+
chunk2ZXBXKUR_cjs.__name(cloneModuleDeclaration, "cloneModuleDeclaration");
|
|
3295
3295
|
function cloneModuleBlock(node, options) {
|
|
3296
3296
|
return options.factory.createModuleBlock(options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
3297
3297
|
}
|
|
3298
|
-
|
|
3298
|
+
chunk2ZXBXKUR_cjs.__name(cloneModuleBlock, "cloneModuleBlock");
|
|
3299
3299
|
function cloneImportDeclaration(node, options) {
|
|
3300
3300
|
return options.factory.createImportDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("importClause", options.nextNode(node.importClause), node.importClause), options.hook("moduleSpecifier", options.nextNode(node.moduleSpecifier), node.moduleSpecifier), options.hook("assertClause", options.nextNode(node.assertClause), node.assertClause));
|
|
3301
3301
|
}
|
|
3302
|
-
|
|
3302
|
+
chunk2ZXBXKUR_cjs.__name(cloneImportDeclaration, "cloneImportDeclaration");
|
|
3303
3303
|
function cloneImportEqualsDeclaration(node, options) {
|
|
3304
3304
|
return options.factory.createImportEqualsDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("isTypeOnly", node.isTypeOnly, node.isTypeOnly), options.hook("name", options.nextNode(node.name), node.name), options.hook("moduleReference", options.nextNode(node.moduleReference), node.moduleReference));
|
|
3305
3305
|
}
|
|
3306
|
-
|
|
3306
|
+
chunk2ZXBXKUR_cjs.__name(cloneImportEqualsDeclaration, "cloneImportEqualsDeclaration");
|
|
3307
3307
|
function cloneImportClause(node, options) {
|
|
3308
3308
|
return options.factory.createImportClause(options.hook("isTypeOnly", node.isTypeOnly, node.isTypeOnly), options.hook("name", options.nextNode(node.name), node.name), options.hook("namedBindings", options.nextNode(node.namedBindings), node.namedBindings));
|
|
3309
3309
|
}
|
|
3310
|
-
|
|
3310
|
+
chunk2ZXBXKUR_cjs.__name(cloneImportClause, "cloneImportClause");
|
|
3311
3311
|
function cloneNamedImports(node, options) {
|
|
3312
3312
|
return options.factory.createNamedImports(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3313
3313
|
}
|
|
3314
|
-
|
|
3314
|
+
chunk2ZXBXKUR_cjs.__name(cloneNamedImports, "cloneNamedImports");
|
|
3315
3315
|
function cloneNamespaceImport(node, options) {
|
|
3316
3316
|
return options.factory.createNamespaceImport(options.hook("name", options.nextNode(node.name), node.name));
|
|
3317
3317
|
}
|
|
3318
|
-
|
|
3318
|
+
chunk2ZXBXKUR_cjs.__name(cloneNamespaceImport, "cloneNamespaceImport");
|
|
3319
3319
|
function cloneImportSpecifier(node, options) {
|
|
3320
3320
|
return options.factory.createImportSpecifier(options.hook("isTypeOnly", node.isTypeOnly, node.isTypeOnly), options.hook("propertyName", options.nextNode(node.propertyName), node.propertyName), options.hook("name", options.nextNode(node.name), node.name));
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
chunk2ZXBXKUR_cjs.__name(cloneImportSpecifier, "cloneImportSpecifier");
|
|
3323
3323
|
function cloneExternalModuleReference(node, options) {
|
|
3324
3324
|
return options.factory.createExternalModuleReference(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3325
3325
|
}
|
|
3326
|
-
|
|
3326
|
+
chunk2ZXBXKUR_cjs.__name(cloneExternalModuleReference, "cloneExternalModuleReference");
|
|
3327
3327
|
function cloneNamespaceExportDeclaration(node, options) {
|
|
3328
3328
|
return options.factory.createNamespaceExportDeclaration(options.hook("name", options.nextNode(node.name), node.name));
|
|
3329
3329
|
}
|
|
3330
|
-
|
|
3330
|
+
chunk2ZXBXKUR_cjs.__name(cloneNamespaceExportDeclaration, "cloneNamespaceExportDeclaration");
|
|
3331
3331
|
function cloneExportDeclaration(node, options) {
|
|
3332
3332
|
return options.factory.createExportDeclaration(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("isTypeOnly", node.isTypeOnly, node.isTypeOnly), options.hook("exportClause", options.nextNode(node.exportClause), node.exportClause), options.hook("moduleSpecifier", options.nextNode(node.moduleSpecifier), node.moduleSpecifier));
|
|
3333
3333
|
}
|
|
3334
|
-
|
|
3334
|
+
chunk2ZXBXKUR_cjs.__name(cloneExportDeclaration, "cloneExportDeclaration");
|
|
3335
3335
|
function cloneNamedExports(node, options) {
|
|
3336
3336
|
return options.factory.createNamedExports(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3337
3337
|
}
|
|
3338
|
-
|
|
3338
|
+
chunk2ZXBXKUR_cjs.__name(cloneNamedExports, "cloneNamedExports");
|
|
3339
3339
|
function cloneExportSpecifier(node, options) {
|
|
3340
3340
|
return options.factory.createExportSpecifier(options.hook("isTypeOnly", node.isTypeOnly, node.isTypeOnly), options.hook("propertyName", options.nextNode(node.propertyName), node.propertyName), options.hook("name", options.nextNode(node.name), node.name));
|
|
3341
3341
|
}
|
|
3342
|
-
|
|
3342
|
+
chunk2ZXBXKUR_cjs.__name(cloneExportSpecifier, "cloneExportSpecifier");
|
|
3343
3343
|
function cloneExportAssignment(node, options) {
|
|
3344
3344
|
return options.factory.createExportAssignment(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("isExportEquals", node.isExportEquals, node.isExportEquals), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3345
3345
|
}
|
|
3346
|
-
|
|
3346
|
+
chunk2ZXBXKUR_cjs.__name(cloneExportAssignment, "cloneExportAssignment");
|
|
3347
3347
|
function toInternalOptions(options) {
|
|
3348
3348
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3349
3349
|
const typescript = (_a = options.typescript) !== null && _a !== void 0 ? _a : ts3__default.default;
|
|
@@ -3363,334 +3363,334 @@ function toInternalOptions(options) {
|
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
3365
|
}
|
|
3366
|
-
|
|
3366
|
+
chunk2ZXBXKUR_cjs.__name(toInternalOptions, "toInternalOptions");
|
|
3367
3367
|
function isJsDocComment(node, typescript) {
|
|
3368
3368
|
if ("isJSDoc" in typescript) {
|
|
3369
3369
|
return typescript.isJSDoc(node);
|
|
3370
3370
|
}
|
|
3371
3371
|
return node.kind === typescript.SyntaxKind.JSDocComment;
|
|
3372
3372
|
}
|
|
3373
|
-
|
|
3373
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocComment, "isJsDocComment");
|
|
3374
3374
|
function cloneJsDoc(node, options) {
|
|
3375
3375
|
const baseNode = options.factory.createJSDocComment(options.hook("comment", node.comment, node.comment), ensureNodeArray(options.hook("tags", options.nextNodes(node.tags), node.tags), options.factory));
|
|
3376
3376
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3377
3377
|
return baseNode;
|
|
3378
3378
|
}
|
|
3379
|
-
|
|
3379
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDoc, "cloneJsDoc");
|
|
3380
3380
|
function isJsDocUnknownTag(node, typescript) {
|
|
3381
3381
|
if ("isJSDocUnknownTag" in typescript) {
|
|
3382
3382
|
return typescript.isJSDocUnknownTag(node);
|
|
3383
3383
|
}
|
|
3384
3384
|
return node.kind === typescript.SyntaxKind.JSDocTag;
|
|
3385
3385
|
}
|
|
3386
|
-
|
|
3386
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocUnknownTag, "isJsDocUnknownTag");
|
|
3387
3387
|
function isJsDocParameterTag(node, typescript) {
|
|
3388
3388
|
if ("isJSDocParameterTag" in typescript) {
|
|
3389
3389
|
return typescript.isJSDocParameterTag(node);
|
|
3390
3390
|
}
|
|
3391
3391
|
return node.kind === typescript.SyntaxKind.JSDocParameterTag;
|
|
3392
3392
|
}
|
|
3393
|
-
|
|
3393
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocParameterTag, "isJsDocParameterTag");
|
|
3394
3394
|
function cloneJsDocParameterTag(node, options) {
|
|
3395
3395
|
const baseNode = options.factory.createJSDocParameterTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("name", options.nextNode(node.name), node.name), options.hook("isBracketed", node.isBracketed, node.isBracketed), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("isNameFirst", node.isNameFirst, node.isNameFirst), options.hook("comment", node.comment, node.comment));
|
|
3396
3396
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3397
3397
|
return baseNode;
|
|
3398
3398
|
}
|
|
3399
|
-
|
|
3399
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocParameterTag, "cloneJsDocParameterTag");
|
|
3400
3400
|
function isJsDocReturnTag(node, typescript) {
|
|
3401
3401
|
if ("isJSDocReturnTag" in typescript) {
|
|
3402
3402
|
return typescript.isJSDocReturnTag(node);
|
|
3403
3403
|
}
|
|
3404
3404
|
return node.kind === typescript.SyntaxKind.JSDocReturnTag;
|
|
3405
3405
|
}
|
|
3406
|
-
|
|
3406
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocReturnTag, "isJsDocReturnTag");
|
|
3407
3407
|
function cloneJsDocReturnTag(node, options) {
|
|
3408
3408
|
const baseNode = options.factory.createJSDocReturnTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("comment", node.comment, node.comment));
|
|
3409
3409
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3410
3410
|
return baseNode;
|
|
3411
3411
|
}
|
|
3412
|
-
|
|
3412
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocReturnTag, "cloneJsDocReturnTag");
|
|
3413
3413
|
function isJsDocTypeExpression(node, typescript) {
|
|
3414
3414
|
if ("isJSDocTypeExpression" in typescript) {
|
|
3415
3415
|
return typescript.isJSDocTypeExpression(node);
|
|
3416
3416
|
}
|
|
3417
3417
|
return node.kind === typescript.SyntaxKind.JSDocTypeExpression;
|
|
3418
3418
|
}
|
|
3419
|
-
|
|
3419
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocTypeExpression, "isJsDocTypeExpression");
|
|
3420
3420
|
function cloneJsDocTypeExpression(node, options) {
|
|
3421
3421
|
const baseNode = options.factory.createJSDocTypeExpression(options.hook("type", options.nextNode(node.type), node.type));
|
|
3422
3422
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3423
3423
|
return baseNode;
|
|
3424
3424
|
}
|
|
3425
|
-
|
|
3425
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocTypeExpression, "cloneJsDocTypeExpression");
|
|
3426
3426
|
function isJsDocEnumTag(node, typescript) {
|
|
3427
3427
|
if ("isJSDocEnumTag" in typescript) {
|
|
3428
3428
|
return typescript.isJSDocEnumTag(node);
|
|
3429
3429
|
}
|
|
3430
3430
|
return node.kind === typescript.SyntaxKind.JSDocEnumTag;
|
|
3431
3431
|
}
|
|
3432
|
-
|
|
3432
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocEnumTag, "isJsDocEnumTag");
|
|
3433
3433
|
function cloneJsDocEnumTag(node, options) {
|
|
3434
3434
|
const baseNode = options.factory.createJSDocEnumTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("comment", node.comment, node.comment));
|
|
3435
3435
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3436
3436
|
return baseNode;
|
|
3437
3437
|
}
|
|
3438
|
-
|
|
3438
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocEnumTag, "cloneJsDocEnumTag");
|
|
3439
3439
|
function isJsDocTypeTag(node, typescript) {
|
|
3440
3440
|
if ("isJSDocTypeTag" in typescript) {
|
|
3441
3441
|
return typescript.isJSDocTypeTag(node);
|
|
3442
3442
|
}
|
|
3443
3443
|
return node.kind === typescript.SyntaxKind.JSDocTypeTag;
|
|
3444
3444
|
}
|
|
3445
|
-
|
|
3445
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocTypeTag, "isJsDocTypeTag");
|
|
3446
3446
|
function cloneJsDocTypeTag(node, options) {
|
|
3447
3447
|
const baseNode = options.factory.createJSDocTypeTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("comment", node.comment, node.comment));
|
|
3448
3448
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3449
3449
|
return baseNode;
|
|
3450
3450
|
}
|
|
3451
|
-
|
|
3451
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocTypeTag, "cloneJsDocTypeTag");
|
|
3452
3452
|
function isJsDocAllType(node, typescript) {
|
|
3453
3453
|
if ("isJSDocAllType" in typescript) {
|
|
3454
3454
|
return typescript.isJSDocAllType(node);
|
|
3455
3455
|
}
|
|
3456
3456
|
return node.kind === typescript.SyntaxKind.JSDocAllType;
|
|
3457
3457
|
}
|
|
3458
|
-
|
|
3458
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocAllType, "isJsDocAllType");
|
|
3459
3459
|
function cloneJsDocAllType(node, options) {
|
|
3460
3460
|
const baseNode = options.factory.createJSDocAllType();
|
|
3461
3461
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3462
3462
|
return baseNode;
|
|
3463
3463
|
}
|
|
3464
|
-
|
|
3464
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocAllType, "cloneJsDocAllType");
|
|
3465
3465
|
function isJsDocUnknownType(node, typescript) {
|
|
3466
3466
|
if ("isJSDocUnknownType" in typescript) {
|
|
3467
3467
|
return typescript.isJSDocUnknownType(node);
|
|
3468
3468
|
}
|
|
3469
3469
|
return node.kind === typescript.SyntaxKind.JSDocUnknownType;
|
|
3470
3470
|
}
|
|
3471
|
-
|
|
3471
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocUnknownType, "isJsDocUnknownType");
|
|
3472
3472
|
function cloneJsDocUnknownType(node, options) {
|
|
3473
3473
|
const baseNode = options.factory.createJSDocUnknownType();
|
|
3474
3474
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3475
3475
|
return baseNode;
|
|
3476
3476
|
}
|
|
3477
|
-
|
|
3477
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocUnknownType, "cloneJsDocUnknownType");
|
|
3478
3478
|
function isJsDocNonNullableType(node, typescript) {
|
|
3479
3479
|
if ("isJSDocNonNullableType" in typescript) {
|
|
3480
3480
|
return typescript.isJSDocNonNullableType(node);
|
|
3481
3481
|
}
|
|
3482
3482
|
return node.kind === typescript.SyntaxKind.JSDocNonNullableType;
|
|
3483
3483
|
}
|
|
3484
|
-
|
|
3484
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocNonNullableType, "isJsDocNonNullableType");
|
|
3485
3485
|
function cloneJsDocNonNullableType(node, options) {
|
|
3486
3486
|
const baseNode = options.factory.createJSDocNonNullableType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3487
3487
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3488
3488
|
return baseNode;
|
|
3489
3489
|
}
|
|
3490
|
-
|
|
3490
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocNonNullableType, "cloneJsDocNonNullableType");
|
|
3491
3491
|
function isJsDocNullableType(node, typescript) {
|
|
3492
3492
|
if ("isJSDocNullableType" in typescript) {
|
|
3493
3493
|
return typescript.isJSDocNullableType(node);
|
|
3494
3494
|
}
|
|
3495
3495
|
return node.kind === typescript.SyntaxKind.JSDocNullableType;
|
|
3496
3496
|
}
|
|
3497
|
-
|
|
3497
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocNullableType, "isJsDocNullableType");
|
|
3498
3498
|
function cloneJsDocNullableType(node, options) {
|
|
3499
3499
|
const baseNode = options.factory.createJSDocNullableType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3500
3500
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3501
3501
|
return baseNode;
|
|
3502
3502
|
}
|
|
3503
|
-
|
|
3503
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocNullableType, "cloneJsDocNullableType");
|
|
3504
3504
|
function isJsDocOptionalType(node, typescript) {
|
|
3505
3505
|
if ("isJSDocOptionalType" in typescript) {
|
|
3506
3506
|
return typescript.isJSDocOptionalType(node);
|
|
3507
3507
|
}
|
|
3508
3508
|
return node.kind === typescript.SyntaxKind.JSDocOptionalType;
|
|
3509
3509
|
}
|
|
3510
|
-
|
|
3510
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocOptionalType, "isJsDocOptionalType");
|
|
3511
3511
|
function cloneJsDocOptionalType(node, options) {
|
|
3512
3512
|
const baseNode = options.factory.createJSDocOptionalType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3513
3513
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3514
3514
|
return baseNode;
|
|
3515
3515
|
}
|
|
3516
|
-
|
|
3516
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocOptionalType, "cloneJsDocOptionalType");
|
|
3517
3517
|
function isJsDocFunctionType(node, typescript) {
|
|
3518
3518
|
if ("isJSDocFunctionType" in typescript) {
|
|
3519
3519
|
return typescript.isJSDocFunctionType(node);
|
|
3520
3520
|
}
|
|
3521
3521
|
return node.kind === typescript.SyntaxKind.JSDocFunctionType;
|
|
3522
3522
|
}
|
|
3523
|
-
|
|
3523
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocFunctionType, "isJsDocFunctionType");
|
|
3524
3524
|
function cloneJsDocFunctionType(node, options) {
|
|
3525
3525
|
const baseNode = options.factory.createJSDocFunctionType(options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", node.type, node.type));
|
|
3526
3526
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3527
3527
|
return baseNode;
|
|
3528
3528
|
}
|
|
3529
|
-
|
|
3529
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocFunctionType, "cloneJsDocFunctionType");
|
|
3530
3530
|
function isJsDocVariadicType(node, typescript) {
|
|
3531
3531
|
if ("isJSDocVariadicType" in typescript) {
|
|
3532
3532
|
return typescript.isJSDocVariadicType(node);
|
|
3533
3533
|
}
|
|
3534
3534
|
return node.kind === typescript.SyntaxKind.JSDocVariadicType;
|
|
3535
3535
|
}
|
|
3536
|
-
|
|
3536
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocVariadicType, "isJsDocVariadicType");
|
|
3537
3537
|
function cloneJsDocVariadicType(node, options) {
|
|
3538
3538
|
const baseNode = options.factory.createJSDocVariadicType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3539
3539
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3540
3540
|
return baseNode;
|
|
3541
3541
|
}
|
|
3542
|
-
|
|
3542
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocVariadicType, "cloneJsDocVariadicType");
|
|
3543
3543
|
function isJsDocNamepathType(node, typescript) {
|
|
3544
3544
|
if ("isJSDocNamepathType" in typescript) {
|
|
3545
3545
|
return typescript.isJSDocNamepathType(node);
|
|
3546
3546
|
}
|
|
3547
3547
|
return node.kind === typescript.SyntaxKind.JSDocNamepathType;
|
|
3548
3548
|
}
|
|
3549
|
-
|
|
3549
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocNamepathType, "isJsDocNamepathType");
|
|
3550
3550
|
function cloneJsDocNamepathType(node, options) {
|
|
3551
3551
|
const baseNode = options.factory.createJSDocNamepathType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3552
3552
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3553
3553
|
return baseNode;
|
|
3554
3554
|
}
|
|
3555
|
-
|
|
3555
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocNamepathType, "cloneJsDocNamepathType");
|
|
3556
3556
|
function cloneJsDocUnknownTag(node, options) {
|
|
3557
3557
|
const baseNode = options.factory.createJSDocUnknownTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3558
3558
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3559
3559
|
return baseNode;
|
|
3560
3560
|
}
|
|
3561
|
-
|
|
3561
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocUnknownTag, "cloneJsDocUnknownTag");
|
|
3562
3562
|
function isJsDocAugmentsTag(node, typescript) {
|
|
3563
3563
|
if ("isJSDocAugmentsTag" in typescript) {
|
|
3564
3564
|
return typescript.isJSDocAugmentsTag(node);
|
|
3565
3565
|
}
|
|
3566
3566
|
return node.kind === typescript.SyntaxKind.JSDocAugmentsTag;
|
|
3567
3567
|
}
|
|
3568
|
-
|
|
3568
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocAugmentsTag, "isJsDocAugmentsTag");
|
|
3569
3569
|
function cloneJsDocAugmentsTag(node, options) {
|
|
3570
3570
|
const baseNode = options.factory.createJSDocAugmentsTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("class", options.nextNode(node.class), node.class), options.hook("comment", node.comment, node.comment));
|
|
3571
3571
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3572
3572
|
return baseNode;
|
|
3573
3573
|
}
|
|
3574
|
-
|
|
3574
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocAugmentsTag, "cloneJsDocAugmentsTag");
|
|
3575
3575
|
function isJsDocAuthorTag(node, typescript) {
|
|
3576
3576
|
if ("isJSDocAuthorTag" in typescript) {
|
|
3577
3577
|
return typescript.isJSDocAuthorTag(node);
|
|
3578
3578
|
}
|
|
3579
3579
|
return node.kind === typescript.SyntaxKind.JSDocAuthorTag;
|
|
3580
3580
|
}
|
|
3581
|
-
|
|
3581
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocAuthorTag, "isJsDocAuthorTag");
|
|
3582
3582
|
function cloneJsDocAuthorTag(node, options) {
|
|
3583
3583
|
const baseNode = options.factory.createJSDocAuthorTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3584
3584
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3585
3585
|
return baseNode;
|
|
3586
3586
|
}
|
|
3587
|
-
|
|
3587
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocAuthorTag, "cloneJsDocAuthorTag");
|
|
3588
3588
|
function isJsDocClassTag(node, typescript) {
|
|
3589
3589
|
if ("isJSDocClassTag" in typescript) {
|
|
3590
3590
|
return typescript.isJSDocClassTag(node);
|
|
3591
3591
|
}
|
|
3592
3592
|
return node.kind === typescript.SyntaxKind.JSDocClassTag;
|
|
3593
3593
|
}
|
|
3594
|
-
|
|
3594
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocClassTag, "isJsDocClassTag");
|
|
3595
3595
|
function cloneJsDocClassTag(node, options) {
|
|
3596
3596
|
const baseNode = options.factory.createJSDocClassTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3597
3597
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3598
3598
|
return baseNode;
|
|
3599
3599
|
}
|
|
3600
|
-
|
|
3600
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocClassTag, "cloneJsDocClassTag");
|
|
3601
3601
|
function isJsDocThisTag(node, typescript) {
|
|
3602
3602
|
if ("isJSDocThisTag" in typescript) {
|
|
3603
3603
|
return typescript.isJSDocThisTag(node);
|
|
3604
3604
|
}
|
|
3605
3605
|
return node.kind === typescript.SyntaxKind.JSDocThisTag;
|
|
3606
3606
|
}
|
|
3607
|
-
|
|
3607
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocThisTag, "isJsDocThisTag");
|
|
3608
3608
|
function cloneJsDocThisTag(node, options) {
|
|
3609
3609
|
const baseNode = options.factory.createJSDocThisTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("comment", node.comment, node.comment));
|
|
3610
3610
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3611
3611
|
return baseNode;
|
|
3612
3612
|
}
|
|
3613
|
-
|
|
3613
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocThisTag, "cloneJsDocThisTag");
|
|
3614
3614
|
function isJsDocTemplateTag(node, typescript) {
|
|
3615
3615
|
if ("isJSDocTemplateTag" in typescript) {
|
|
3616
3616
|
return typescript.isJSDocTemplateTag(node);
|
|
3617
3617
|
}
|
|
3618
3618
|
return node.kind === typescript.SyntaxKind.JSDocTemplateTag;
|
|
3619
3619
|
}
|
|
3620
|
-
|
|
3620
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocTemplateTag, "isJsDocTemplateTag");
|
|
3621
3621
|
function cloneJsDocTemplateTag(node, options) {
|
|
3622
3622
|
const baseNode = options.factory.createJSDocTemplateTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("constraint", options.nextNode(node.constraint), node.constraint), ensureNodeArray(options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.factory), options.hook("comment", node.comment, node.comment));
|
|
3623
3623
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3624
3624
|
return baseNode;
|
|
3625
3625
|
}
|
|
3626
|
-
|
|
3626
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocTemplateTag, "cloneJsDocTemplateTag");
|
|
3627
3627
|
function isJsDocTypedefTag(node, typescript) {
|
|
3628
3628
|
if ("isJSDocTypedefTag" in typescript) {
|
|
3629
3629
|
return typescript.isJSDocTypedefTag(node);
|
|
3630
3630
|
}
|
|
3631
3631
|
return node.kind === typescript.SyntaxKind.JSDocTypedefTag;
|
|
3632
3632
|
}
|
|
3633
|
-
|
|
3633
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocTypedefTag, "isJsDocTypedefTag");
|
|
3634
3634
|
function cloneJsDocTypedefTag(node, options) {
|
|
3635
3635
|
const baseNode = options.factory.createJSDocTypedefTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("fullName", options.nextNode(node.fullName), node.fullName), options.hook("comment", node.comment, node.comment));
|
|
3636
3636
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3637
3637
|
baseNode.name = options.hook("name", options.nextNode(node.name), node.name);
|
|
3638
3638
|
return baseNode;
|
|
3639
3639
|
}
|
|
3640
|
-
|
|
3640
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocTypedefTag, "cloneJsDocTypedefTag");
|
|
3641
3641
|
function isJsDocCallbackTag(node, typescript) {
|
|
3642
3642
|
if ("isJSDocCallbackTag" in typescript) {
|
|
3643
3643
|
return typescript.isJSDocCallbackTag(node);
|
|
3644
3644
|
}
|
|
3645
3645
|
return node.kind === typescript.SyntaxKind.JSDocCallbackTag;
|
|
3646
3646
|
}
|
|
3647
|
-
|
|
3647
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocCallbackTag, "isJsDocCallbackTag");
|
|
3648
3648
|
function cloneJsDocCallbackTag(node, options) {
|
|
3649
3649
|
const baseNode = options.factory.createJSDocCallbackTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("fullName", options.nextNode(node.fullName), node.fullName), options.hook("comment", node.comment, node.comment));
|
|
3650
3650
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3651
3651
|
baseNode.name = options.hook("name", options.nextNode(node.name), node.name);
|
|
3652
3652
|
return baseNode;
|
|
3653
3653
|
}
|
|
3654
|
-
|
|
3654
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocCallbackTag, "cloneJsDocCallbackTag");
|
|
3655
3655
|
function isJsDocSignature(node, typescript) {
|
|
3656
3656
|
if ("isJSDocSignature" in typescript) {
|
|
3657
3657
|
return typescript.isJSDocSignature(node);
|
|
3658
3658
|
}
|
|
3659
3659
|
return node.kind === typescript.SyntaxKind.JSDocSignature;
|
|
3660
3660
|
}
|
|
3661
|
-
|
|
3661
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocSignature, "isJsDocSignature");
|
|
3662
3662
|
function cloneJsDocSignature(node, options) {
|
|
3663
3663
|
const baseNode = options.factory.createJSDocSignature(options.hook("typeParameters", options.nextNodes(node.typeParameters), node.typeParameters), options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", options.nextNode(node.type), node.type));
|
|
3664
3664
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3665
3665
|
return baseNode;
|
|
3666
3666
|
}
|
|
3667
|
-
|
|
3667
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocSignature, "cloneJsDocSignature");
|
|
3668
3668
|
function isJsDocPropertyTag(node, typescript) {
|
|
3669
3669
|
if ("isJSDocPropertyTag" in typescript) {
|
|
3670
3670
|
return typescript.isJSDocPropertyTag(node);
|
|
3671
3671
|
}
|
|
3672
3672
|
return node.kind === typescript.SyntaxKind.JSDocPropertyTag;
|
|
3673
3673
|
}
|
|
3674
|
-
|
|
3674
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocPropertyTag, "isJsDocPropertyTag");
|
|
3675
3675
|
function cloneJsDocPropertyTag(node, options) {
|
|
3676
3676
|
const baseNode = options.factory.createJSDocPropertyTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("name", options.nextNode(node.name), node.name), options.hook("isBracketed", node.isBracketed, node.isBracketed), options.hook("typeExpression", options.nextNode(node.typeExpression), node.typeExpression), options.hook("isNameFirst", node.isNameFirst, node.isNameFirst), options.hook("comment", node.comment, node.comment));
|
|
3677
3677
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3678
3678
|
return baseNode;
|
|
3679
3679
|
}
|
|
3680
|
-
|
|
3680
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocPropertyTag, "cloneJsDocPropertyTag");
|
|
3681
3681
|
function isJsDocTypeLiteral(node, typescript) {
|
|
3682
3682
|
if ("isJSDocTypeLiteral" in typescript) {
|
|
3683
3683
|
return typescript.isJSDocTypeLiteral(node);
|
|
3684
3684
|
}
|
|
3685
3685
|
return node.kind === typescript.SyntaxKind.JSDocTypeLiteral;
|
|
3686
3686
|
}
|
|
3687
|
-
|
|
3687
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocTypeLiteral, "isJsDocTypeLiteral");
|
|
3688
3688
|
function cloneJsDocTypeLiteral(node, options) {
|
|
3689
3689
|
const baseNode = options.factory.createJSDocTypeLiteral(options.hook("jsDocPropertyTags", options.nextNodes(node.jsDocPropertyTags), node.jsDocPropertyTags), options.hook("isArrayType", node.isArrayType, node.isArrayType));
|
|
3690
3690
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3691
3691
|
return baseNode;
|
|
3692
3692
|
}
|
|
3693
|
-
|
|
3693
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocTypeLiteral, "cloneJsDocTypeLiteral");
|
|
3694
3694
|
function fixupParentReferences(rootNode, { deep, propertyName, typescript }) {
|
|
3695
3695
|
let parent = rootNode;
|
|
3696
3696
|
typescript.forEachChild(rootNode, visitNode2);
|
|
@@ -3712,14 +3712,14 @@ function fixupParentReferences(rootNode, { deep, propertyName, typescript }) {
|
|
|
3712
3712
|
parent = saveParent;
|
|
3713
3713
|
}
|
|
3714
3714
|
}
|
|
3715
|
-
|
|
3715
|
+
chunk2ZXBXKUR_cjs.__name(visitNode2, "visitNode");
|
|
3716
3716
|
}
|
|
3717
|
-
|
|
3717
|
+
chunk2ZXBXKUR_cjs.__name(fixupParentReferences, "fixupParentReferences");
|
|
3718
3718
|
function setParents(node, options) {
|
|
3719
3719
|
fixupParentReferences(node, options);
|
|
3720
3720
|
return node;
|
|
3721
3721
|
}
|
|
3722
|
-
|
|
3722
|
+
chunk2ZXBXKUR_cjs.__name(setParents, "setParents");
|
|
3723
3723
|
function getOriginalNode(node, options) {
|
|
3724
3724
|
var _a;
|
|
3725
3725
|
if (node._original != null) {
|
|
@@ -3727,11 +3727,11 @@ function getOriginalNode(node, options) {
|
|
|
3727
3727
|
}
|
|
3728
3728
|
return (_a = options.typescript.getOriginalNode(node)) !== null && _a !== void 0 ? _a : node;
|
|
3729
3729
|
}
|
|
3730
|
-
|
|
3730
|
+
chunk2ZXBXKUR_cjs.__name(getOriginalNode, "getOriginalNode");
|
|
3731
3731
|
function formatCommentRange({ pos, end }) {
|
|
3732
3732
|
return `${pos}:${end}`;
|
|
3733
3733
|
}
|
|
3734
|
-
|
|
3734
|
+
chunk2ZXBXKUR_cjs.__name(formatCommentRange, "formatCommentRange");
|
|
3735
3735
|
function getCommentRanges(node, options) {
|
|
3736
3736
|
var _a, _b, _c;
|
|
3737
3737
|
const comments = [];
|
|
@@ -3785,7 +3785,7 @@ function getCommentRanges(node, options) {
|
|
|
3785
3785
|
}
|
|
3786
3786
|
return comments;
|
|
3787
3787
|
}
|
|
3788
|
-
|
|
3788
|
+
chunk2ZXBXKUR_cjs.__name(getCommentRanges, "getCommentRanges");
|
|
3789
3789
|
function preserveAllComments(node, options) {
|
|
3790
3790
|
if (!options.preserveComments) return;
|
|
3791
3791
|
preserveCommentsForOriginalNode(node, options);
|
|
@@ -3793,13 +3793,13 @@ function preserveAllComments(node, options) {
|
|
|
3793
3793
|
preserveAllComments(child, options);
|
|
3794
3794
|
});
|
|
3795
3795
|
}
|
|
3796
|
-
|
|
3796
|
+
chunk2ZXBXKUR_cjs.__name(preserveAllComments, "preserveAllComments");
|
|
3797
3797
|
function preserveCommentsForOriginalNode(node, options) {
|
|
3798
3798
|
if (options.typescript.isSourceFile(node)) return;
|
|
3799
3799
|
const originalNode = getOriginalNode(node, options);
|
|
3800
3800
|
if (node !== originalNode) preserveComments(node, originalNode, options);
|
|
3801
3801
|
}
|
|
3802
|
-
|
|
3802
|
+
chunk2ZXBXKUR_cjs.__name(preserveCommentsForOriginalNode, "preserveCommentsForOriginalNode");
|
|
3803
3803
|
function preserveComments(node, oldNode, options) {
|
|
3804
3804
|
if (!options.preserveComments) return node;
|
|
3805
3805
|
if (node.pos > -1 && node.end >= -1) {
|
|
@@ -3822,44 +3822,44 @@ function preserveComments(node, oldNode, options) {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
return node;
|
|
3824
3824
|
}
|
|
3825
|
-
|
|
3825
|
+
chunk2ZXBXKUR_cjs.__name(preserveComments, "preserveComments");
|
|
3826
3826
|
function nextOptions(options) {
|
|
3827
3827
|
return {
|
|
3828
3828
|
...options,
|
|
3829
3829
|
depth: options.depth + 1
|
|
3830
3830
|
};
|
|
3831
3831
|
}
|
|
3832
|
-
|
|
3832
|
+
chunk2ZXBXKUR_cjs.__name(nextOptions, "nextOptions");
|
|
3833
3833
|
function payload({ depth }) {
|
|
3834
3834
|
return {
|
|
3835
3835
|
depth
|
|
3836
3836
|
};
|
|
3837
3837
|
}
|
|
3838
|
-
|
|
3838
|
+
chunk2ZXBXKUR_cjs.__name(payload, "payload");
|
|
3839
3839
|
function cloneNamespaceExport(node, options) {
|
|
3840
3840
|
return options.factory.createNamespaceExport(options.hook("name", options.nextNode(node.name), node.name));
|
|
3841
3841
|
}
|
|
3842
|
-
|
|
3842
|
+
chunk2ZXBXKUR_cjs.__name(cloneNamespaceExport, "cloneNamespaceExport");
|
|
3843
3843
|
function isJsDocReadonlyTag(node, typescript) {
|
|
3844
3844
|
if ("isJSDocReadonlyTag" in typescript) {
|
|
3845
3845
|
return typescript.isJSDocReadonlyTag(node);
|
|
3846
3846
|
}
|
|
3847
3847
|
return node.kind === typescript.SyntaxKind.JSDocReadonlyTag;
|
|
3848
3848
|
}
|
|
3849
|
-
|
|
3849
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocReadonlyTag, "isJsDocReadonlyTag");
|
|
3850
3850
|
function cloneJsDocReadonlyTag(node, options) {
|
|
3851
3851
|
const baseNode = options.factory.createJSDocReadonlyTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3852
3852
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3853
3853
|
return baseNode;
|
|
3854
3854
|
}
|
|
3855
|
-
|
|
3855
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocReadonlyTag, "cloneJsDocReadonlyTag");
|
|
3856
3856
|
function isJsDocSeeTag(node, typescript) {
|
|
3857
3857
|
if ("isJSDocSeeTag" in typescript) {
|
|
3858
3858
|
return typescript.isJSDocSeeTag(node);
|
|
3859
3859
|
}
|
|
3860
3860
|
return node.kind === typescript.SyntaxKind.JSDocSeeTag;
|
|
3861
3861
|
}
|
|
3862
|
-
|
|
3862
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocSeeTag, "isJsDocSeeTag");
|
|
3863
3863
|
function cloneJsDocSeeTag(node, options) {
|
|
3864
3864
|
const baseNode = options.factory.createJSDocSeeTag(
|
|
3865
3865
|
options.hook("tagName", options.nextNode(node.tagName), node.tagName),
|
|
@@ -3871,50 +3871,50 @@ function cloneJsDocSeeTag(node, options) {
|
|
|
3871
3871
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3872
3872
|
return baseNode;
|
|
3873
3873
|
}
|
|
3874
|
-
|
|
3874
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocSeeTag, "cloneJsDocSeeTag");
|
|
3875
3875
|
function isJsDocPrivateTag(node, typescript) {
|
|
3876
3876
|
if ("isJSDocPrivateTag" in typescript) {
|
|
3877
3877
|
return typescript.isJSDocPrivateTag(node);
|
|
3878
3878
|
}
|
|
3879
3879
|
return node.kind === typescript.SyntaxKind.JSDocPrivateTag;
|
|
3880
3880
|
}
|
|
3881
|
-
|
|
3881
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocPrivateTag, "isJsDocPrivateTag");
|
|
3882
3882
|
function cloneJsDocPrivateTag(node, options) {
|
|
3883
3883
|
const baseNode = options.factory.createJSDocPrivateTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3884
3884
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3885
3885
|
return baseNode;
|
|
3886
3886
|
}
|
|
3887
|
-
|
|
3887
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocPrivateTag, "cloneJsDocPrivateTag");
|
|
3888
3888
|
function isJsDocProtectedTag(node, typescript) {
|
|
3889
3889
|
if ("isJSDocProtectedTag" in typescript) {
|
|
3890
3890
|
return typescript.isJSDocProtectedTag(node);
|
|
3891
3891
|
}
|
|
3892
3892
|
return node.kind === typescript.SyntaxKind.JSDocProtectedTag;
|
|
3893
3893
|
}
|
|
3894
|
-
|
|
3894
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocProtectedTag, "isJsDocProtectedTag");
|
|
3895
3895
|
function cloneJsDocProtectedTag(node, options) {
|
|
3896
3896
|
const baseNode = options.factory.createJSDocProtectedTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3897
3897
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3898
3898
|
return baseNode;
|
|
3899
3899
|
}
|
|
3900
|
-
|
|
3900
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocProtectedTag, "cloneJsDocProtectedTag");
|
|
3901
3901
|
function isJsDocPublicTag(node, typescript) {
|
|
3902
3902
|
if ("isJSDocPublicTag" in typescript) {
|
|
3903
3903
|
return typescript.isJSDocPublicTag(node);
|
|
3904
3904
|
}
|
|
3905
3905
|
return node.kind === typescript.SyntaxKind.JSDocPublicTag;
|
|
3906
3906
|
}
|
|
3907
|
-
|
|
3907
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocPublicTag, "isJsDocPublicTag");
|
|
3908
3908
|
function cloneJsDocPublicTag(node, options) {
|
|
3909
3909
|
const baseNode = options.factory.createJSDocPublicTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3910
3910
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3911
3911
|
return baseNode;
|
|
3912
3912
|
}
|
|
3913
|
-
|
|
3913
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocPublicTag, "cloneJsDocPublicTag");
|
|
3914
3914
|
function clonePrivateIdentifier(node, options) {
|
|
3915
3915
|
return options.factory.createPrivateIdentifier(options.hook("text", node.text, node.text));
|
|
3916
3916
|
}
|
|
3917
|
-
|
|
3917
|
+
chunk2ZXBXKUR_cjs.__name(clonePrivateIdentifier, "clonePrivateIdentifier");
|
|
3918
3918
|
function toSetParentNodesOptions(options) {
|
|
3919
3919
|
var _a, _b, _c;
|
|
3920
3920
|
return {
|
|
@@ -3923,120 +3923,120 @@ function toSetParentNodesOptions(options) {
|
|
|
3923
3923
|
deep: (_c = options.deep) !== null && _c !== void 0 ? _c : true
|
|
3924
3924
|
};
|
|
3925
3925
|
}
|
|
3926
|
-
|
|
3926
|
+
chunk2ZXBXKUR_cjs.__name(toSetParentNodesOptions, "toSetParentNodesOptions");
|
|
3927
3927
|
function isNamedTupleMember(node, typescript) {
|
|
3928
3928
|
return typescript.SyntaxKind.NamedTupleMember != null && node.kind === typescript.SyntaxKind.NamedTupleMember;
|
|
3929
3929
|
}
|
|
3930
|
-
|
|
3930
|
+
chunk2ZXBXKUR_cjs.__name(isNamedTupleMember, "isNamedTupleMember");
|
|
3931
3931
|
function cloneNamedTupleMember(node, options) {
|
|
3932
3932
|
return options.factory.createNamedTupleMember(options.hook("dotDotDotToken", options.nextNode(node.dotDotDotToken), node.dotDotDotToken), options.hook("name", options.nextNode(node.name), node.name), options.hook("questionToken", options.nextNode(node.questionToken), node.questionToken), options.hook("type", options.nextNode(node.type), node.type));
|
|
3933
3933
|
}
|
|
3934
|
-
|
|
3934
|
+
chunk2ZXBXKUR_cjs.__name(cloneNamedTupleMember, "cloneNamedTupleMember");
|
|
3935
3935
|
function isJsDocDeprecatedTag(node, typescript) {
|
|
3936
3936
|
if ("JSDocDeprecatedTag" in typescript) {
|
|
3937
3937
|
return typescript.isJSDocDeprecatedTag(node);
|
|
3938
3938
|
}
|
|
3939
3939
|
return node.kind === typescript.SyntaxKind.JSDocDeprecatedTag;
|
|
3940
3940
|
}
|
|
3941
|
-
|
|
3941
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocDeprecatedTag, "isJsDocDeprecatedTag");
|
|
3942
3942
|
function cloneJsDocDeprecatedTag(node, options) {
|
|
3943
3943
|
const baseNode = options.factory.createJSDocDeprecatedTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3944
3944
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3945
3945
|
return baseNode;
|
|
3946
3946
|
}
|
|
3947
|
-
|
|
3947
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocDeprecatedTag, "cloneJsDocDeprecatedTag");
|
|
3948
3948
|
function isTemplateLiteralTypeNode(node, typescript) {
|
|
3949
3949
|
return typescript.SyntaxKind.TemplateLiteralType != null && node.kind === typescript.SyntaxKind.TemplateLiteralType;
|
|
3950
3950
|
}
|
|
3951
|
-
|
|
3951
|
+
chunk2ZXBXKUR_cjs.__name(isTemplateLiteralTypeNode, "isTemplateLiteralTypeNode");
|
|
3952
3952
|
function cloneTemplateLiteralTypeNode(node, options) {
|
|
3953
3953
|
return options.factory.createTemplateLiteralType(options.hook("head", options.nextNode(node.head), node.head), options.hook("templateSpans", options.nextNodes(node.templateSpans), node.templateSpans));
|
|
3954
3954
|
}
|
|
3955
|
-
|
|
3955
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateLiteralTypeNode, "cloneTemplateLiteralTypeNode");
|
|
3956
3956
|
function isTemplateLiteralTypeSpan(node, typescript) {
|
|
3957
3957
|
return typescript.SyntaxKind.TemplateLiteralTypeSpan != null && node.kind === typescript.SyntaxKind.TemplateLiteralTypeSpan;
|
|
3958
3958
|
}
|
|
3959
|
-
|
|
3959
|
+
chunk2ZXBXKUR_cjs.__name(isTemplateLiteralTypeSpan, "isTemplateLiteralTypeSpan");
|
|
3960
3960
|
function cloneTemplateLiteralTypeSpan(node, options) {
|
|
3961
3961
|
return options.factory.createTemplateLiteralTypeSpan(options.hook("type", options.nextNode(node.type), node.type), options.hook("literal", options.nextNode(node.literal), node.literal));
|
|
3962
3962
|
}
|
|
3963
|
-
|
|
3963
|
+
chunk2ZXBXKUR_cjs.__name(cloneTemplateLiteralTypeSpan, "cloneTemplateLiteralTypeSpan");
|
|
3964
3964
|
function isJsDocLink(node, typescript) {
|
|
3965
3965
|
if ("isJSDocLink" in typescript) {
|
|
3966
3966
|
return typescript.isJSDocLink(node);
|
|
3967
3967
|
}
|
|
3968
3968
|
return node.kind === typescript.SyntaxKind.JSDocLink;
|
|
3969
3969
|
}
|
|
3970
|
-
|
|
3970
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocLink, "isJsDocLink");
|
|
3971
3971
|
function cloneJsDocLink(node, options) {
|
|
3972
3972
|
const baseNode = options.factory.createJSDocLink(options.hook("name", options.nextNode(node.name), node.name), options.hook("text", node.text, node.text));
|
|
3973
3973
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3974
3974
|
return baseNode;
|
|
3975
3975
|
}
|
|
3976
|
-
|
|
3976
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocLink, "cloneJsDocLink");
|
|
3977
3977
|
function clonePropertyAccessChain(node, options) {
|
|
3978
3978
|
return options.factory.createPropertyAccessChain(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("questionDotToken", options.nextNode(node.questionDotToken), node.questionDotToken), options.hook("name", options.nextNode(node.name), node.name));
|
|
3979
3979
|
}
|
|
3980
|
-
|
|
3980
|
+
chunk2ZXBXKUR_cjs.__name(clonePropertyAccessChain, "clonePropertyAccessChain");
|
|
3981
3981
|
function cloneClassStaticBlockDeclaration(node, options) {
|
|
3982
3982
|
return options.factory.createClassStaticBlockDeclaration(options.hook("body", options.nextNode(node.body), node.body));
|
|
3983
3983
|
}
|
|
3984
|
-
|
|
3984
|
+
chunk2ZXBXKUR_cjs.__name(cloneClassStaticBlockDeclaration, "cloneClassStaticBlockDeclaration");
|
|
3985
3985
|
function isJsDocLinkCode(node, typescript) {
|
|
3986
3986
|
if ("isJSDocLinkCode" in typescript) {
|
|
3987
3987
|
return typescript.isJSDocLinkCode(node);
|
|
3988
3988
|
}
|
|
3989
3989
|
return node.kind === typescript.SyntaxKind.JSDocLinkCode;
|
|
3990
3990
|
}
|
|
3991
|
-
|
|
3991
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocLinkCode, "isJsDocLinkCode");
|
|
3992
3992
|
function cloneJsDocLinkCode(node, options) {
|
|
3993
3993
|
const baseNode = options.factory.createJSDocLinkCode(options.hook("name", options.nextNode(node.name), node.name), options.hook("text", node.text, node.text));
|
|
3994
3994
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3995
3995
|
return baseNode;
|
|
3996
3996
|
}
|
|
3997
|
-
|
|
3997
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocLinkCode, "cloneJsDocLinkCode");
|
|
3998
3998
|
function isJsDocLinkPlain(node, typescript) {
|
|
3999
3999
|
if ("isJSDocLinkPlain" in typescript) {
|
|
4000
4000
|
return typescript.isJSDocLinkPlain(node);
|
|
4001
4001
|
}
|
|
4002
4002
|
return node.kind === typescript.SyntaxKind.JSDocLinkPlain;
|
|
4003
4003
|
}
|
|
4004
|
-
|
|
4004
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocLinkPlain, "isJsDocLinkPlain");
|
|
4005
4005
|
function cloneJsDocLinkPlain(node, options) {
|
|
4006
4006
|
const baseNode = options.factory.createJSDocLinkPlain(options.hook("name", options.nextNode(node.name), node.name), options.hook("text", node.text, node.text));
|
|
4007
4007
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
4008
4008
|
return baseNode;
|
|
4009
4009
|
}
|
|
4010
|
-
|
|
4010
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocLinkPlain, "cloneJsDocLinkPlain");
|
|
4011
4011
|
function isJsDocMemberName(node, typescript) {
|
|
4012
4012
|
if ("isJSDocMemberName" in typescript) {
|
|
4013
4013
|
return typescript.isJSDocMemberName(node);
|
|
4014
4014
|
}
|
|
4015
4015
|
return node.kind === typescript.SyntaxKind.JSDocMemberName;
|
|
4016
4016
|
}
|
|
4017
|
-
|
|
4017
|
+
chunk2ZXBXKUR_cjs.__name(isJsDocMemberName, "isJsDocMemberName");
|
|
4018
4018
|
function cloneJsDocMemberName(node, options) {
|
|
4019
4019
|
const baseNode = options.factory.createJSDocMemberName(options.hook("left", options.nextNode(node.left), node.left), options.hook("right", options.nextNode(node.right), node.right));
|
|
4020
4020
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
4021
4021
|
return baseNode;
|
|
4022
4022
|
}
|
|
4023
|
-
|
|
4023
|
+
chunk2ZXBXKUR_cjs.__name(cloneJsDocMemberName, "cloneJsDocMemberName");
|
|
4024
4024
|
function cloneAssertClause(node, options) {
|
|
4025
4025
|
return options.factory.createAssertClause(ensureNodeArray(options.hook("elements", options.nextNodes(node.elements), node.elements), options.factory), options.hook("multiLine", node.multiLine, node.multiLine));
|
|
4026
4026
|
}
|
|
4027
|
-
|
|
4027
|
+
chunk2ZXBXKUR_cjs.__name(cloneAssertClause, "cloneAssertClause");
|
|
4028
4028
|
function cloneAssertEntry(node, options) {
|
|
4029
4029
|
return options.factory.createAssertEntry(options.hook("name", options.nextNode(node.name), node.name), options.hook("value", options.nextNode(node.value), node.value));
|
|
4030
4030
|
}
|
|
4031
|
-
|
|
4031
|
+
chunk2ZXBXKUR_cjs.__name(cloneAssertEntry, "cloneAssertEntry");
|
|
4032
4032
|
function isImportTypeAssertionContainer(node, typescript) {
|
|
4033
4033
|
return typescript.SyntaxKind.ImportTypeAssertionContainer != null && node.kind === typescript.SyntaxKind.ImportTypeAssertionContainer;
|
|
4034
4034
|
}
|
|
4035
|
-
|
|
4035
|
+
chunk2ZXBXKUR_cjs.__name(isImportTypeAssertionContainer, "isImportTypeAssertionContainer");
|
|
4036
4036
|
function cloneImportTypeAssertionContainer(node, options) {
|
|
4037
4037
|
return options.factory.createImportTypeAssertionContainer(options.hook("assertClause", options.nextNode(node.assertClause), node.assertClause), options.hook("multiLine", node.multiLine, node.multiLine));
|
|
4038
4038
|
}
|
|
4039
|
-
|
|
4039
|
+
chunk2ZXBXKUR_cjs.__name(cloneImportTypeAssertionContainer, "cloneImportTypeAssertionContainer");
|
|
4040
4040
|
function cloneNode(node, options = {}) {
|
|
4041
4041
|
var _a, _b, _c;
|
|
4042
4042
|
if (node === void 0) return void 0;
|
|
@@ -4053,16 +4053,16 @@ function cloneNode(node, options = {}) {
|
|
|
4053
4053
|
}
|
|
4054
4054
|
return clone;
|
|
4055
4055
|
}
|
|
4056
|
-
|
|
4056
|
+
chunk2ZXBXKUR_cjs.__name(cloneNode, "cloneNode");
|
|
4057
4057
|
function nextNode(node, options) {
|
|
4058
4058
|
var _a, _b;
|
|
4059
4059
|
if (node === void 0) return void 0;
|
|
4060
4060
|
const hook = (_a = options.hook(node, payload(options))) !== null && _a !== void 0 ? _a : {};
|
|
4061
4061
|
const visitorOptions = {
|
|
4062
4062
|
...options,
|
|
4063
|
-
nextNode: /* @__PURE__ */
|
|
4064
|
-
nextNodes: /* @__PURE__ */
|
|
4065
|
-
hook: /* @__PURE__ */
|
|
4063
|
+
nextNode: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((actualNode) => nextNode(actualNode, nextOptions(options)), "nextNode"),
|
|
4064
|
+
nextNodes: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((actualNodes) => nextNodes(actualNodes, nextOptions(options)), "nextNodes"),
|
|
4065
|
+
hook: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((key, newValue, oldValue) => {
|
|
4066
4066
|
const callback = hook[key];
|
|
4067
4067
|
if (callback != null) {
|
|
4068
4068
|
return callback(newValue, oldValue);
|
|
@@ -4080,7 +4080,7 @@ function nextNode(node, options) {
|
|
|
4080
4080
|
preserveSymbols(clone, node, options);
|
|
4081
4081
|
return options.finalize == null ? clone : (_b = options.finalize(clone, node, payload(options))) !== null && _b !== void 0 ? _b : clone;
|
|
4082
4082
|
}
|
|
4083
|
-
|
|
4083
|
+
chunk2ZXBXKUR_cjs.__name(nextNode, "nextNode");
|
|
4084
4084
|
function executePreserveNode(node, oldNode, options) {
|
|
4085
4085
|
if (node == null || oldNode == null || node === oldNode) return void 0;
|
|
4086
4086
|
setParents(node, toSetParentNodesOptions({
|
|
@@ -4092,7 +4092,7 @@ function executePreserveNode(node, oldNode, options) {
|
|
|
4092
4092
|
setOriginalNodes(node, oldNode, options);
|
|
4093
4093
|
preserveSymbols(node, oldNode, options);
|
|
4094
4094
|
}
|
|
4095
|
-
|
|
4095
|
+
chunk2ZXBXKUR_cjs.__name(executePreserveNode, "executePreserveNode");
|
|
4096
4096
|
function setOriginalNodes(newNode, oldNode, options) {
|
|
4097
4097
|
if (newNode === oldNode) return;
|
|
4098
4098
|
if (options.setOriginalNodes) {
|
|
@@ -4102,7 +4102,7 @@ function setOriginalNodes(newNode, oldNode, options) {
|
|
|
4102
4102
|
newNode._original = oldNode;
|
|
4103
4103
|
}
|
|
4104
4104
|
}
|
|
4105
|
-
|
|
4105
|
+
chunk2ZXBXKUR_cjs.__name(setOriginalNodes, "setOriginalNodes");
|
|
4106
4106
|
function preserveSymbols(node, otherNode, options) {
|
|
4107
4107
|
var _a;
|
|
4108
4108
|
if (node === otherNode) return node;
|
|
@@ -4115,12 +4115,12 @@ function preserveSymbols(node, otherNode, options) {
|
|
|
4115
4115
|
}
|
|
4116
4116
|
return node;
|
|
4117
4117
|
}
|
|
4118
|
-
|
|
4118
|
+
chunk2ZXBXKUR_cjs.__name(preserveSymbols, "preserveSymbols");
|
|
4119
4119
|
function nextNodes(nodes, options) {
|
|
4120
4120
|
if (nodes === void 0) return void 0;
|
|
4121
4121
|
return nodes.map((node) => nextNode(node, options));
|
|
4122
4122
|
}
|
|
4123
|
-
|
|
4123
|
+
chunk2ZXBXKUR_cjs.__name(nextNodes, "nextNodes");
|
|
4124
4124
|
function executeCloneNode(node, options) {
|
|
4125
4125
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
4126
4126
|
if (node == null) return void 0;
|
|
@@ -4515,12 +4515,12 @@ function executeCloneNode(node, options) {
|
|
|
4515
4515
|
}
|
|
4516
4516
|
throw new TypeError(`Could not handle Node of kind: '${options.typescript.SyntaxKind[node.kind]}'`);
|
|
4517
4517
|
}
|
|
4518
|
-
|
|
4518
|
+
chunk2ZXBXKUR_cjs.__name(executeCloneNode, "executeCloneNode");
|
|
4519
4519
|
var { isArrowFunction, isComputedPropertyName, isIdentifier, isNamedImports, isNumericLiteral, isPrivateIdentifier, isStringLiteral, isStringLiteralLike, setOriginalNode, getLeadingCommentRanges, isNoSubstitutionTemplateLiteral, NodeFlags, SyntaxKind } = ts3__default.default;
|
|
4520
4520
|
function is__String(value) {
|
|
4521
4521
|
return typeof value === "string";
|
|
4522
4522
|
}
|
|
4523
|
-
|
|
4523
|
+
chunk2ZXBXKUR_cjs.__name(is__String, "is__String");
|
|
4524
4524
|
function getIdentifierName(node) {
|
|
4525
4525
|
if (is__String(node)) return node;
|
|
4526
4526
|
if (isIdentifier(node) || isPrivateIdentifier(node)) {
|
|
@@ -4529,13 +4529,13 @@ function getIdentifierName(node) {
|
|
|
4529
4529
|
if (isStringLiteral(node)) return node.text;
|
|
4530
4530
|
return "";
|
|
4531
4531
|
}
|
|
4532
|
-
|
|
4532
|
+
chunk2ZXBXKUR_cjs.__name(getIdentifierName, "getIdentifierName");
|
|
4533
4533
|
function getEscapedText(node) {
|
|
4534
4534
|
if (is__String(node)) return node;
|
|
4535
4535
|
if (isIdentifier(node) || isPrivateIdentifier(node)) return node.escapedText;
|
|
4536
4536
|
return getIdentifierName(node);
|
|
4537
4537
|
}
|
|
4538
|
-
|
|
4538
|
+
chunk2ZXBXKUR_cjs.__name(getEscapedText, "getEscapedText");
|
|
4539
4539
|
function findSourceFile(node) {
|
|
4540
4540
|
if (node.kind === SyntaxKind.SourceFile) return node;
|
|
4541
4541
|
let current = node.parent;
|
|
@@ -4544,12 +4544,12 @@ function findSourceFile(node) {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
return current;
|
|
4546
4546
|
}
|
|
4547
|
-
|
|
4547
|
+
chunk2ZXBXKUR_cjs.__name(findSourceFile, "findSourceFile");
|
|
4548
4548
|
function joinQualifiedName(name) {
|
|
4549
4549
|
if (isIdentifier(name)) return getIdentifierName(name);
|
|
4550
4550
|
return joinQualifiedName(name.left) + "_" + getIdentifierName(name.right);
|
|
4551
4551
|
}
|
|
4552
|
-
|
|
4552
|
+
chunk2ZXBXKUR_cjs.__name(joinQualifiedName, "joinQualifiedName");
|
|
4553
4553
|
var BANNER_REGEX = /^\/\*\s---.*\n[\s\S]*\s*---\s*\*\//;
|
|
4554
4554
|
function getCommentOfNode(sourceFile, node) {
|
|
4555
4555
|
const commentLines = getLeadingCommentRanges(sourceFile.text, node.pos);
|
|
@@ -4562,7 +4562,7 @@ function getCommentOfNode(sourceFile, node) {
|
|
|
4562
4562
|
}
|
|
4563
4563
|
return comment;
|
|
4564
4564
|
}
|
|
4565
|
-
|
|
4565
|
+
chunk2ZXBXKUR_cjs.__name(getCommentOfNode, "getCommentOfNode");
|
|
4566
4566
|
function parseJSDocAttributeFromText(comment, attribute) {
|
|
4567
4567
|
const attributeStr = `@${attribute} `;
|
|
4568
4568
|
const index = comment.indexOf(attributeStr);
|
|
@@ -4602,11 +4602,11 @@ function parseJSDocAttributeFromText(comment, attribute) {
|
|
|
4602
4602
|
end + 1
|
|
4603
4603
|
];
|
|
4604
4604
|
}
|
|
4605
|
-
|
|
4605
|
+
chunk2ZXBXKUR_cjs.__name(parseJSDocAttributeFromText, "parseJSDocAttributeFromText");
|
|
4606
4606
|
function parseJSDocBooleanFromText(comment, attribute) {
|
|
4607
4607
|
return new RegExp(`^s*@(${attribute?.trim()})s*(false|False|FALSE|0|n|N|no|No|NO)s*$`, "gm").test(comment?.trim()) ? false : new RegExp(`^s*@(${attribute?.trim()})s*(true|True|TRUE|1|y|Y|yes|Yes|YES)?s*$`, "gm").test(comment?.trim()) ? true : void 0;
|
|
4608
4608
|
}
|
|
4609
|
-
|
|
4609
|
+
chunk2ZXBXKUR_cjs.__name(parseJSDocBooleanFromText, "parseJSDocBooleanFromText");
|
|
4610
4610
|
function parseJSDocDescription(comment) {
|
|
4611
4611
|
let lines = comment.split("\n").filter((line) => line && !line.includes("/**") && !line.includes("*/")).map((line) => line.replace(/^\s*\*\s*/g, "").replace(/^\*\s*/g, "").trim());
|
|
4612
4612
|
const attribute = lines.findIndex((line) => line.startsWith("@"));
|
|
@@ -4615,7 +4615,7 @@ function parseJSDocDescription(comment) {
|
|
|
4615
4615
|
}
|
|
4616
4616
|
return lines.join("\n").trim() || void 0;
|
|
4617
4617
|
}
|
|
4618
|
-
|
|
4618
|
+
chunk2ZXBXKUR_cjs.__name(parseJSDocDescription, "parseJSDocDescription");
|
|
4619
4619
|
function extractJSDocAttribute(sourceFile, node, attribute) {
|
|
4620
4620
|
if (!node) return void 0;
|
|
4621
4621
|
const comment = getCommentOfNode(sourceFile, node);
|
|
@@ -4626,7 +4626,7 @@ function extractJSDocAttribute(sourceFile, node, attribute) {
|
|
|
4626
4626
|
}
|
|
4627
4627
|
return result[0];
|
|
4628
4628
|
}
|
|
4629
|
-
|
|
4629
|
+
chunk2ZXBXKUR_cjs.__name(extractJSDocAttribute, "extractJSDocAttribute");
|
|
4630
4630
|
function extractJSDocArray(sourceFile, node, attribute) {
|
|
4631
4631
|
if (!node) return void 0;
|
|
4632
4632
|
const comment = getCommentOfNode(sourceFile, node);
|
|
@@ -4654,7 +4654,7 @@ function extractJSDocArray(sourceFile, node, attribute) {
|
|
|
4654
4654
|
}
|
|
4655
4655
|
return results;
|
|
4656
4656
|
}
|
|
4657
|
-
|
|
4657
|
+
chunk2ZXBXKUR_cjs.__name(extractJSDocArray, "extractJSDocArray");
|
|
4658
4658
|
function extractJSDocBoolean(sourceFile, node, attribute) {
|
|
4659
4659
|
if (!node) {
|
|
4660
4660
|
return void 0;
|
|
@@ -4665,7 +4665,7 @@ function extractJSDocBoolean(sourceFile, node, attribute) {
|
|
|
4665
4665
|
}
|
|
4666
4666
|
return parseJSDocBooleanFromText(comment, attribute);
|
|
4667
4667
|
}
|
|
4668
|
-
|
|
4668
|
+
chunk2ZXBXKUR_cjs.__name(extractJSDocBoolean, "extractJSDocBoolean");
|
|
4669
4669
|
function getPropertyName(f, node) {
|
|
4670
4670
|
if (!node) return "";
|
|
4671
4671
|
if (isIdentifier(node)) return getIdentifierName(node);
|
|
@@ -4678,7 +4678,7 @@ function getPropertyName(f, node) {
|
|
|
4678
4678
|
if (isPrivateIdentifier(node)) return getIdentifierName(node);
|
|
4679
4679
|
return "";
|
|
4680
4680
|
}
|
|
4681
|
-
|
|
4681
|
+
chunk2ZXBXKUR_cjs.__name(getPropertyName, "getPropertyName");
|
|
4682
4682
|
function getNameAsString(node) {
|
|
4683
4683
|
if (!node) return "";
|
|
4684
4684
|
if (isIdentifier(node)) return getIdentifierName(node);
|
|
@@ -4693,16 +4693,16 @@ function getNameAsString(node) {
|
|
|
4693
4693
|
if (isPrivateIdentifier(node)) return getIdentifierName(node);
|
|
4694
4694
|
return joinQualifiedName(node);
|
|
4695
4695
|
}
|
|
4696
|
-
|
|
4696
|
+
chunk2ZXBXKUR_cjs.__name(getNameAsString, "getNameAsString");
|
|
4697
4697
|
function hasModifier(node, modifier) {
|
|
4698
4698
|
if (!node.modifiers) return false;
|
|
4699
4699
|
return node.modifiers.some((v) => v.kind === modifier);
|
|
4700
4700
|
}
|
|
4701
|
-
|
|
4702
|
-
var cloneHook = /* @__PURE__ */
|
|
4701
|
+
chunk2ZXBXKUR_cjs.__name(hasModifier, "hasModifier");
|
|
4702
|
+
var cloneHook = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((node, payload2) => {
|
|
4703
4703
|
if (isIdentifier(node)) {
|
|
4704
4704
|
return {
|
|
4705
|
-
text: /* @__PURE__ */
|
|
4705
|
+
text: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name(() => {
|
|
4706
4706
|
return getIdentifierName(node);
|
|
4707
4707
|
}, "text")
|
|
4708
4708
|
};
|
|
@@ -4711,7 +4711,7 @@ var cloneHook = /* @__PURE__ */ chunkUHD2VAAR_cjs.__name((node, payload2) => {
|
|
|
4711
4711
|
}, "cloneHook");
|
|
4712
4712
|
var NodeConverter = class {
|
|
4713
4713
|
static {
|
|
4714
|
-
|
|
4714
|
+
chunk2ZXBXKUR_cjs.__name(this, "NodeConverter");
|
|
4715
4715
|
}
|
|
4716
4716
|
constructor(f) {
|
|
4717
4717
|
this.f = f;
|
|
@@ -4764,11 +4764,11 @@ var NodeConverter = class {
|
|
|
4764
4764
|
function isExternalOrCommonJsModule(file) {
|
|
4765
4765
|
return (file.externalModuleIndicator || file.commonJsModuleIndicator) !== void 0;
|
|
4766
4766
|
}
|
|
4767
|
-
|
|
4767
|
+
chunk2ZXBXKUR_cjs.__name(isExternalOrCommonJsModule, "isExternalOrCommonJsModule");
|
|
4768
4768
|
function isNodeWithLocals(node) {
|
|
4769
4769
|
return "locals" in node;
|
|
4770
4770
|
}
|
|
4771
|
-
|
|
4771
|
+
chunk2ZXBXKUR_cjs.__name(isNodeWithLocals, "isNodeWithLocals");
|
|
4772
4772
|
function getGlobalsOfSourceFile(file) {
|
|
4773
4773
|
if (file.redirectInfo) return;
|
|
4774
4774
|
if (!isNodeWithLocals(file)) return;
|
|
@@ -4776,7 +4776,7 @@ function getGlobalsOfSourceFile(file) {
|
|
|
4776
4776
|
if (file.jsGlobalAugmentations) return file.jsGlobalAugmentations;
|
|
4777
4777
|
if (file.symbol && file.symbol.globalExports) return file.symbol.globalExports;
|
|
4778
4778
|
}
|
|
4779
|
-
|
|
4779
|
+
chunk2ZXBXKUR_cjs.__name(getGlobalsOfSourceFile, "getGlobalsOfSourceFile");
|
|
4780
4780
|
function ensureImportIsEmitted(importDeclaration, specifierName) {
|
|
4781
4781
|
if (specifierName && importDeclaration.importClause && importDeclaration.importClause.namedBindings) {
|
|
4782
4782
|
if (isNamedImports(importDeclaration.importClause.namedBindings)) {
|
|
@@ -4790,7 +4790,7 @@ function ensureImportIsEmitted(importDeclaration, specifierName) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
importDeclaration.flags |= NodeFlags.Synthesized;
|
|
4792
4792
|
}
|
|
4793
|
-
|
|
4793
|
+
chunk2ZXBXKUR_cjs.__name(ensureImportIsEmitted, "ensureImportIsEmitted");
|
|
4794
4794
|
function serializeEntityNameAsExpression(f, node) {
|
|
4795
4795
|
switch (node.kind) {
|
|
4796
4796
|
case SyntaxKind.Identifier:
|
|
@@ -4800,11 +4800,11 @@ function serializeEntityNameAsExpression(f, node) {
|
|
|
4800
4800
|
}
|
|
4801
4801
|
return node;
|
|
4802
4802
|
}
|
|
4803
|
-
|
|
4803
|
+
chunk2ZXBXKUR_cjs.__name(serializeEntityNameAsExpression, "serializeEntityNameAsExpression");
|
|
4804
4804
|
function serializeQualifiedNameAsExpression(f, node) {
|
|
4805
4805
|
return f.createPropertyAccessExpression(serializeEntityNameAsExpression(f, node.left), node.right);
|
|
4806
4806
|
}
|
|
4807
|
-
|
|
4807
|
+
chunk2ZXBXKUR_cjs.__name(serializeQualifiedNameAsExpression, "serializeQualifiedNameAsExpression");
|
|
4808
4808
|
function finish(oldNode, newNode) {
|
|
4809
4809
|
setOriginalNode(newNode, oldNode);
|
|
4810
4810
|
newNode._original = newNode.original;
|
|
@@ -4812,18 +4812,18 @@ function finish(oldNode, newNode) {
|
|
|
4812
4812
|
newNode.symbol = newNode._symbol;
|
|
4813
4813
|
return newNode;
|
|
4814
4814
|
}
|
|
4815
|
-
|
|
4815
|
+
chunk2ZXBXKUR_cjs.__name(finish, "finish");
|
|
4816
4816
|
|
|
4817
4817
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
4818
4818
|
var { visitEachChild, visitNode, isPropertyAssignment, isArrayTypeNode, isArrowFunction: isArrowFunction2, isBlock, isCallExpression, isCallSignatureDeclaration, isClassDeclaration, isClassExpression, isConstructorDeclaration, isConstructorTypeNode, isConstructSignatureDeclaration, isEnumDeclaration, isExportDeclaration, isExpression, isExpressionWithTypeArguments, isFunctionDeclaration, isFunctionExpression, isFunctionLike, isIdentifier: isIdentifier2, isImportClause, isImportDeclaration, isImportSpecifier, isInferTypeNode, isInterfaceDeclaration, isMethodDeclaration, isMethodSignature, isModuleDeclaration, isNamedExports, isNamedTupleMember: isNamedTupleMember2, isNewExpression, isObjectLiteralExpression, isOptionalTypeNode: isOptionalTypeNode2, isParameter, isParenthesizedExpression, isParenthesizedTypeNode, isPropertyAccessExpression, isQualifiedName, isSourceFile, isStringLiteral: isStringLiteral2, isTypeAliasDeclaration, isTypeLiteralNode, isTypeParameterDeclaration, isTypeQueryNode, isTypeReferenceNode, isUnionTypeNode, isExpressionStatement, isVariableDeclaration, getEffectiveConstraintOfTypeParameter, addSyntheticLeadingComment, createCompilerHost, createPrinter, escapeLeadingUnderscores, EmitHint, NodeFlags: NodeFlags2, SyntaxKind: SyntaxKind2, ScriptTarget, ModifierFlags, ScriptKind } = ts3__default.default;
|
|
4819
4819
|
function encodeOps(ops) {
|
|
4820
4820
|
return ops.map((v) => String.fromCharCode(v + 33)).join("");
|
|
4821
4821
|
}
|
|
4822
|
-
|
|
4822
|
+
chunk2ZXBXKUR_cjs.__name(encodeOps, "encodeOps");
|
|
4823
4823
|
function filterUndefined(object) {
|
|
4824
4824
|
return Object.fromEntries(Object.entries(object).filter(([, v]) => v !== void 0));
|
|
4825
4825
|
}
|
|
4826
|
-
|
|
4826
|
+
chunk2ZXBXKUR_cjs.__name(filterUndefined, "filterUndefined");
|
|
4827
4827
|
var packSizeByte = 6;
|
|
4828
4828
|
var packSize = 2 ** packSizeByte;
|
|
4829
4829
|
var OPs = {
|
|
@@ -4941,7 +4941,7 @@ function debugPackStruct(sourceFile, forType, pack) {
|
|
|
4941
4941
|
}
|
|
4942
4942
|
console.log(stack.join(","), "|", ...items);
|
|
4943
4943
|
}
|
|
4944
|
-
|
|
4944
|
+
chunk2ZXBXKUR_cjs.__name(debugPackStruct, "debugPackStruct");
|
|
4945
4945
|
function findVariable(frame, name, frameOffset = 0) {
|
|
4946
4946
|
const variable = frame.variables.find((v) => v.name === name);
|
|
4947
4947
|
if (variable) {
|
|
@@ -4953,16 +4953,16 @@ function findVariable(frame, name, frameOffset = 0) {
|
|
|
4953
4953
|
if (frame.previous) return findVariable(frame.previous, name, frameOffset + 1);
|
|
4954
4954
|
return;
|
|
4955
4955
|
}
|
|
4956
|
-
|
|
4956
|
+
chunk2ZXBXKUR_cjs.__name(findVariable, "findVariable");
|
|
4957
4957
|
function findConditionalFrame(frame) {
|
|
4958
4958
|
if (frame.conditional) return frame;
|
|
4959
4959
|
if (frame.previous) return findConditionalFrame(frame.previous);
|
|
4960
4960
|
return;
|
|
4961
4961
|
}
|
|
4962
|
-
|
|
4962
|
+
chunk2ZXBXKUR_cjs.__name(findConditionalFrame, "findConditionalFrame");
|
|
4963
4963
|
var CompilerProgram = class CompilerProgram2 {
|
|
4964
4964
|
static {
|
|
4965
|
-
|
|
4965
|
+
chunk2ZXBXKUR_cjs.__name(this, "CompilerProgram");
|
|
4966
4966
|
}
|
|
4967
4967
|
constructor(forNode, sourceFile) {
|
|
4968
4968
|
this.forNode = forNode;
|
|
@@ -5125,7 +5125,7 @@ function getAssignTypeExpression(call) {
|
|
|
5125
5125
|
}
|
|
5126
5126
|
return;
|
|
5127
5127
|
}
|
|
5128
|
-
|
|
5128
|
+
chunk2ZXBXKUR_cjs.__name(getAssignTypeExpression, "getAssignTypeExpression");
|
|
5129
5129
|
function getReceiveTypeParameter(type) {
|
|
5130
5130
|
if (isUnionTypeNode(type)) {
|
|
5131
5131
|
for (const t of type.types) {
|
|
@@ -5135,10 +5135,10 @@ function getReceiveTypeParameter(type) {
|
|
|
5135
5135
|
} else if (isTypeReferenceNode(type) && isIdentifier2(type.typeName) && getIdentifierName(type.typeName) === "ReceiveType" && !!type.typeArguments && type.typeArguments.length === 1) return type;
|
|
5136
5136
|
return;
|
|
5137
5137
|
}
|
|
5138
|
-
|
|
5138
|
+
chunk2ZXBXKUR_cjs.__name(getReceiveTypeParameter, "getReceiveTypeParameter");
|
|
5139
5139
|
var Cache = class {
|
|
5140
5140
|
static {
|
|
5141
|
-
|
|
5141
|
+
chunk2ZXBXKUR_cjs.__name(this, "Cache");
|
|
5142
5142
|
}
|
|
5143
5143
|
constructor() {
|
|
5144
5144
|
this.resolver = {};
|
|
@@ -5155,7 +5155,7 @@ var Cache = class {
|
|
|
5155
5155
|
};
|
|
5156
5156
|
var ReflectionTransformer = class {
|
|
5157
5157
|
static {
|
|
5158
|
-
|
|
5158
|
+
chunk2ZXBXKUR_cjs.__name(this, "ReflectionTransformer");
|
|
5159
5159
|
}
|
|
5160
5160
|
constructor(context, cache2 = new Cache()) {
|
|
5161
5161
|
this.context = context;
|
|
@@ -5191,12 +5191,12 @@ var ReflectionTransformer = class {
|
|
|
5191
5191
|
...filterUndefined(context.getCompilerOptions())
|
|
5192
5192
|
};
|
|
5193
5193
|
this.host = createCompilerHost(this.compilerOptions);
|
|
5194
|
-
this.resolver = new
|
|
5194
|
+
this.resolver = new chunk2ZXBXKUR_cjs.Resolver(this.compilerOptions, this.host, this.cache.sourceFiles);
|
|
5195
5195
|
this.parseConfigHost = {
|
|
5196
5196
|
useCaseSensitiveFileNames: true,
|
|
5197
|
-
fileExists: /* @__PURE__ */
|
|
5198
|
-
readFile: /* @__PURE__ */
|
|
5199
|
-
readDirectory: /* @__PURE__ */
|
|
5197
|
+
fileExists: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((path) => this.host.fileExists(path), "fileExists"),
|
|
5198
|
+
readFile: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((path) => this.host.readFile(path), "readFile"),
|
|
5199
|
+
readDirectory: /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((path, extensions, exclude, include, depth) => {
|
|
5200
5200
|
if (!this.host.readDirectory) return [];
|
|
5201
5201
|
return this.host.readDirectory(path, extensions || [], exclude, include || [], depth);
|
|
5202
5202
|
}, "readDirectory")
|
|
@@ -5232,8 +5232,8 @@ var ReflectionTransformer = class {
|
|
|
5232
5232
|
mergeStrategy: "replace",
|
|
5233
5233
|
compilerOptions: this.compilerOptions
|
|
5234
5234
|
};
|
|
5235
|
-
const match = /* @__PURE__ */
|
|
5236
|
-
const mode =
|
|
5235
|
+
const match = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((path) => {
|
|
5236
|
+
const mode = chunk2ZXBXKUR_cjs.reflectionModeMatcher(config, path);
|
|
5237
5237
|
return {
|
|
5238
5238
|
mode,
|
|
5239
5239
|
tsConfigPath: "",
|
|
@@ -5268,7 +5268,7 @@ var ReflectionTransformer = class {
|
|
|
5268
5268
|
if (this.overriddenConfigResolver) {
|
|
5269
5269
|
return this.overriddenConfigResolver;
|
|
5270
5270
|
}
|
|
5271
|
-
return
|
|
5271
|
+
return chunk2ZXBXKUR_cjs.getConfigResolver(this.cache.resolver, this.parseConfigHost, this.compilerOptions, sourceFile);
|
|
5272
5272
|
}
|
|
5273
5273
|
getReflectionConfig(sourceFile) {
|
|
5274
5274
|
const configResolver = this.getConfigResolver(sourceFile);
|
|
@@ -5293,20 +5293,20 @@ var ReflectionTransformer = class {
|
|
|
5293
5293
|
const reflection = configResolver.match(sourceFile.fileName);
|
|
5294
5294
|
Object.assign(this.compilerOptions, configResolver.config.compilerOptions);
|
|
5295
5295
|
if (reflection.mode === "never") {
|
|
5296
|
-
|
|
5296
|
+
chunk2ZXBXKUR_cjs.debug(`Transform file with reflection=${reflection.mode} took ${Date.now() - start}ms (${this.getModuleType()}) ${sourceFile.fileName} via config ${reflection.tsConfigPath || "none"}.`);
|
|
5297
5297
|
return sourceFile;
|
|
5298
5298
|
}
|
|
5299
5299
|
if (!sourceFile.locals) {
|
|
5300
5300
|
ts3__default.default.bindSourceFile(sourceFile, this.compilerOptions);
|
|
5301
5301
|
}
|
|
5302
5302
|
if (sourceFile.kind !== SyntaxKind2.SourceFile) {
|
|
5303
|
-
if ("undefined" === typeof
|
|
5303
|
+
if ("undefined" === typeof chunk2ZXBXKUR_cjs.__require) {
|
|
5304
5304
|
throw new Error(`Invalid TypeScript library imported. SyntaxKind different ${sourceFile.kind} !== ${SyntaxKind2.SourceFile}.`);
|
|
5305
5305
|
}
|
|
5306
|
-
const path =
|
|
5306
|
+
const path = chunk2ZXBXKUR_cjs.__require.resolve("typescript");
|
|
5307
5307
|
throw new Error(`Invalid TypeScript library imported. SyntaxKind different ${sourceFile.kind} !== ${SyntaxKind2.SourceFile}. typescript package path: ${path}`);
|
|
5308
5308
|
}
|
|
5309
|
-
const visitor = /* @__PURE__ */
|
|
5309
|
+
const visitor = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((node) => {
|
|
5310
5310
|
node = visitEachChild(node, visitor, this.context);
|
|
5311
5311
|
if (isInterfaceDeclaration(node) || isTypeAliasDeclaration(node) || isEnumDeclaration(node)) {
|
|
5312
5312
|
if (this.isWithReflection(sourceFile, node)) {
|
|
@@ -5440,7 +5440,7 @@ var ReflectionTransformer = class {
|
|
|
5440
5440
|
}
|
|
5441
5441
|
}
|
|
5442
5442
|
}
|
|
5443
|
-
const compileDeclarations = /* @__PURE__ */
|
|
5443
|
+
const compileDeclarations = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((node) => {
|
|
5444
5444
|
node = visitEachChild(node, compileDeclarations, this.context);
|
|
5445
5445
|
if (isTypeAliasDeclaration(node) || isInterfaceDeclaration(node) || isEnumDeclaration(node)) {
|
|
5446
5446
|
const d = this.compileDeclarations.get(node);
|
|
@@ -5514,7 +5514,7 @@ var ReflectionTransformer = class {
|
|
|
5514
5514
|
this.sourceFile = this.f.updateSourceFile(this.sourceFile, newStatements);
|
|
5515
5515
|
}
|
|
5516
5516
|
const took = Date.now() - start;
|
|
5517
|
-
|
|
5517
|
+
chunk2ZXBXKUR_cjs.debug(`Transform file with reflection=${reflection.mode} took ${took}ms (${this.getModuleType()}) ${sourceFile.fileName} via config ${reflection.tsConfigPath || "none"}.`);
|
|
5518
5518
|
this.sourceFile.deepkitTransformed = true;
|
|
5519
5519
|
return this.sourceFile;
|
|
5520
5520
|
}
|
|
@@ -6420,7 +6420,7 @@ var ReflectionTransformer = class {
|
|
|
6420
6420
|
if (isIdentifier2(name)) return getIdentifierName(name);
|
|
6421
6421
|
return joinQualifiedName2(name.left) + "_" + getIdentifierName(name.right);
|
|
6422
6422
|
}
|
|
6423
|
-
|
|
6423
|
+
chunk2ZXBXKUR_cjs.__name(joinQualifiedName2, "joinQualifiedName");
|
|
6424
6424
|
return this.f.createIdentifier("__\u03A9" + joinQualifiedName2(typeName));
|
|
6425
6425
|
}
|
|
6426
6426
|
/**
|
|
@@ -6429,8 +6429,8 @@ var ReflectionTransformer = class {
|
|
|
6429
6429
|
* via the exclude option. mainly used to exclude globals and external libraries.
|
|
6430
6430
|
*/
|
|
6431
6431
|
isExcluded(fileName) {
|
|
6432
|
-
const resolver = this.overriddenConfigResolver ||
|
|
6433
|
-
const res =
|
|
6432
|
+
const resolver = this.overriddenConfigResolver || chunk2ZXBXKUR_cjs.getConfigResolver(this.cache.resolver, this.parseConfigHost, this.compilerOptions, this.sourceFile);
|
|
6433
|
+
const res = chunk2ZXBXKUR_cjs.reflectionModeMatcher({
|
|
6434
6434
|
reflection: "default",
|
|
6435
6435
|
exclude: resolver.config.exclude
|
|
6436
6436
|
}, fileName);
|
|
@@ -6504,7 +6504,7 @@ var ReflectionTransformer = class {
|
|
|
6504
6504
|
}
|
|
6505
6505
|
}
|
|
6506
6506
|
program.pushOp(ReflectionOp.never);
|
|
6507
|
-
|
|
6507
|
+
chunk2ZXBXKUR_cjs.debug2(`Could not resolve ${getNameAsString(typeName)} in ${program.sourceFile?.fileName || "intrinsic"}`);
|
|
6508
6508
|
return;
|
|
6509
6509
|
}
|
|
6510
6510
|
let declaration = resolved.declaration;
|
|
@@ -6579,7 +6579,7 @@ var ReflectionTransformer = class {
|
|
|
6579
6579
|
if (declarationSourceFile.fileName.endsWith(".d.ts")) {
|
|
6580
6580
|
const resolverDecVariable = this.resolveImportSpecifier(getEscapedText(runtimeTypeName), resolved.importDeclaration, this.sourceFile);
|
|
6581
6581
|
if (!resolverDecVariable) {
|
|
6582
|
-
|
|
6582
|
+
chunk2ZXBXKUR_cjs.debug2(`Symbol ${runtimeTypeName.escapedText} not found in ${declarationSourceFile.fileName}`);
|
|
6583
6583
|
this.resolveTypeOnlyImport(typeName, program);
|
|
6584
6584
|
return;
|
|
6585
6585
|
}
|
|
@@ -6747,7 +6747,7 @@ var ReflectionTransformer = class {
|
|
|
6747
6747
|
for (const parameter of declaration.parent.parameters) {
|
|
6748
6748
|
if (!parameter.type) continue;
|
|
6749
6749
|
let found = false;
|
|
6750
|
-
const searchArgument = /* @__PURE__ */
|
|
6750
|
+
const searchArgument = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((node) => {
|
|
6751
6751
|
node = visitEachChild(node, searchArgument, this.context);
|
|
6752
6752
|
if (isTypeReferenceNode(node) && isIdentifier2(node.typeName) && node.typeName.escapedText === argumentName) {
|
|
6753
6753
|
found = true;
|
|
@@ -6826,7 +6826,7 @@ var ReflectionTransformer = class {
|
|
|
6826
6826
|
}
|
|
6827
6827
|
const source = this.resolver.resolve(sourceFile, importOrExport);
|
|
6828
6828
|
if (!source) {
|
|
6829
|
-
|
|
6829
|
+
chunk2ZXBXKUR_cjs.debug("module not found", importOrExport.moduleSpecifier.text, "Is transpileOnly enabled? It needs to be disabled.");
|
|
6830
6830
|
return;
|
|
6831
6831
|
}
|
|
6832
6832
|
const declaration = this.findDeclarationInFile(source, declarationName);
|
|
@@ -7006,7 +7006,7 @@ var ReflectionTransformer = class {
|
|
|
7006
7006
|
};
|
|
7007
7007
|
var DeclarationTransformer = class extends ReflectionTransformer {
|
|
7008
7008
|
static {
|
|
7009
|
-
|
|
7009
|
+
chunk2ZXBXKUR_cjs.__name(this, "DeclarationTransformer");
|
|
7010
7010
|
}
|
|
7011
7011
|
constructor() {
|
|
7012
7012
|
super(...arguments);
|
|
@@ -7020,7 +7020,7 @@ var DeclarationTransformer = class extends ReflectionTransformer {
|
|
|
7020
7020
|
const reflection = configResolver.match(sourceFile.fileName);
|
|
7021
7021
|
Object.assign(this.compilerOptions, configResolver.config.compilerOptions);
|
|
7022
7022
|
if (reflection.mode === "never") return sourceFile;
|
|
7023
|
-
const visitor = /* @__PURE__ */
|
|
7023
|
+
const visitor = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name((node) => {
|
|
7024
7024
|
node = visitEachChild(node, visitor, this.context);
|
|
7025
7025
|
if ((isTypeAliasDeclaration(node) || isInterfaceDeclaration(node) || isEnumDeclaration(node)) && hasModifier(node, SyntaxKind2.ExportKeyword)) {
|
|
7026
7026
|
const reflection2 = this.isWithReflection(sourceFile, node);
|
|
@@ -7055,15 +7055,15 @@ var DeclarationTransformer = class extends ReflectionTransformer {
|
|
|
7055
7055
|
};
|
|
7056
7056
|
var loaded = false;
|
|
7057
7057
|
var cache = new Cache();
|
|
7058
|
-
var transformer = /* @__PURE__ */
|
|
7058
|
+
var transformer = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name(function deepkitTransformer(context) {
|
|
7059
7059
|
if (!loaded) {
|
|
7060
|
-
|
|
7060
|
+
chunk2ZXBXKUR_cjs.debug("@deepkit/type transformer loaded\n");
|
|
7061
7061
|
loaded = true;
|
|
7062
7062
|
}
|
|
7063
7063
|
cache.tick();
|
|
7064
7064
|
return new ReflectionTransformer(context, cache);
|
|
7065
7065
|
}, "deepkitTransformer");
|
|
7066
|
-
var declarationTransformer = /* @__PURE__ */
|
|
7066
|
+
var declarationTransformer = /* @__PURE__ */ chunk2ZXBXKUR_cjs.__name(function deepkitDeclarationTransformer(context) {
|
|
7067
7067
|
return new DeclarationTransformer(context, cache);
|
|
7068
7068
|
}, "deepkitDeclarationTransformer");
|
|
7069
7069
|
|