@powerlines/deepkit 0.6.68 → 0.6.69
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-RW6LC3GP.cjs → chunk-2CFEGCCD.cjs} +3 -3
- package/dist/vendor/{chunk-F6GNS3WX.cjs → chunk-ETH4X5RN.cjs} +176 -176
- package/dist/vendor/{chunk-Z6H4WQM6.cjs → chunk-SJUHN4OG.cjs} +2 -2
- package/dist/vendor/core.cjs +130 -130
- package/dist/vendor/type-compiler/{chunk-CQA6K3ZH.js → chunk-C2ZEGRUE.js} +2 -2
- package/dist/vendor/type-compiler/{chunk-PUK5HMUA.js → chunk-CTH77GWT.js} +1 -1
- package/dist/vendor/type-compiler/{chunk-ZEYJDCDK.cjs → chunk-G33GCWR5.cjs} +2 -2
- package/dist/vendor/type-compiler/{chunk-PIKFH2QU.cjs → chunk-JEFHIMHM.cjs} +505 -505
- 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 chunkG33GCWR5_cjs = require('./chunk-G33GCWR5.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=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_143b8995c1cda11bde19e9c2bed13bd6/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
11
|
-
|
|
11
|
+
chunkG33GCWR5_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
|
+
chunkG33GCWR5_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
|
+
chunkG33GCWR5_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.6.4_typescript@5.9.3/node_modules/@typescript/vfs/dist/vfs.esm.js
|
|
126
|
-
|
|
126
|
+
chunkG33GCWR5_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 && typeof localStorage.getItem === "function" && /* @__PURE__ */ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG;
|
|
134
|
-
var knownLibFilesForCompilerOptions = /* @__PURE__ */
|
|
134
|
+
var knownLibFilesForCompilerOptions = /* @__PURE__ */ chunkG33GCWR5_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 = [
|
|
@@ -264,7 +264,7 @@ var knownLibFilesForCompilerOptions = /* @__PURE__ */ chunkZEYJDCDK_cjs.__name(f
|
|
|
264
264
|
return f.startsWith("lib." + targetToCut.toLowerCase());
|
|
265
265
|
});
|
|
266
266
|
var targetCutIndex = files.indexOf(matches.pop());
|
|
267
|
-
var getMax = /* @__PURE__ */
|
|
267
|
+
var getMax = /* @__PURE__ */ chunkG33GCWR5_cjs.__name(function getMax2(array) {
|
|
268
268
|
return array && array.length ? array.reduce(function(max, current) {
|
|
269
269
|
return current > max ? current : max;
|
|
270
270
|
}) : void 0;
|
|
@@ -283,13 +283,13 @@ var knownLibFilesForCompilerOptions = /* @__PURE__ */ chunkZEYJDCDK_cjs.__name(f
|
|
|
283
283
|
}, "knownLibFilesForCompilerOptions");
|
|
284
284
|
|
|
285
285
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_143b8995c1cda11bde19e9c2bed13bd6/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
|
|
286
|
-
|
|
286
|
+
chunkG33GCWR5_cjs.init_cjs_shims();
|
|
287
287
|
|
|
288
288
|
// ../../node_modules/.pnpm/@marcj+ts-clone-node@2.2.0_typescript@5.9.3/node_modules/@marcj/ts-clone-node/dist/esm/index.js
|
|
289
|
-
|
|
289
|
+
chunkG33GCWR5_cjs.init_cjs_shims();
|
|
290
290
|
|
|
291
291
|
// ../../node_modules/.pnpm/compatfactory@2.0.9_typescript@5.9.3/node_modules/compatfactory/dist/esm/index.js
|
|
292
|
-
|
|
292
|
+
chunkG33GCWR5_cjs.init_cjs_shims();
|
|
293
293
|
function ensureNodeFactory(factoryLike) {
|
|
294
294
|
if ("factory" in factoryLike && factoryLike.factory != null) {
|
|
295
295
|
return normalizeNodeFactory(factoryLike.factory);
|
|
@@ -298,7 +298,7 @@ function ensureNodeFactory(factoryLike) {
|
|
|
298
298
|
}
|
|
299
299
|
return createNodeFactory(factoryLike);
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
chunkG33GCWR5_cjs.__name(ensureNodeFactory, "ensureNodeFactory");
|
|
302
302
|
function splitDecoratorsAndModifiers(modifierLikes) {
|
|
303
303
|
var _a, _b;
|
|
304
304
|
const decorators = (_a = modifierLikes === null || modifierLikes === void 0 ? void 0 : modifierLikes.filter((modifier) => "expression" in modifier)) !== null && _a !== void 0 ? _a : [];
|
|
@@ -308,7 +308,7 @@ function splitDecoratorsAndModifiers(modifierLikes) {
|
|
|
308
308
|
modifiers == null || modifiers.length < 1 ? void 0 : modifiers
|
|
309
309
|
];
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
chunkG33GCWR5_cjs.__name(splitDecoratorsAndModifiers, "splitDecoratorsAndModifiers");
|
|
312
312
|
function normalizeNodeFactory(factory) {
|
|
313
313
|
if (Boolean(factory.__compatUpgraded)) {
|
|
314
314
|
return factory;
|
|
@@ -340,27 +340,27 @@ function normalizeNodeFactory(factory) {
|
|
|
340
340
|
const needsModifications = badCreateImportEqualsDeclaration || badCreateImportSpecifier || badCreateExportSpecifier || badCreateImportTypeNode || badCreateMappedTypeNodeA || badCreateMappedTypeNodeB || badCreateTypeParameterDeclaration || missingCreateSatisfiesExpression || missingCreateClassStaticBlockDeclaration || missingCreateUniquePrivateName || missingGetGeneratedPrivateNameForNode || missingCreatePrivateIdentifier || missingCreateAssertClause || missingCreateAssertEntry || missingCreateImportTypeAssertionContainer || badDecoratorsAsFirstArgument;
|
|
341
341
|
if (needsModifications) {
|
|
342
342
|
const withOriginal = "original" in factory.updateBlock(factory.createBlock([]), []);
|
|
343
|
-
const setOriginalNode2 = /* @__PURE__ */
|
|
343
|
+
const setOriginalNode2 = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((node, original) => {
|
|
344
344
|
node.original = original;
|
|
345
345
|
return node;
|
|
346
346
|
}, "setOriginalNode");
|
|
347
|
-
const setTextRangeEnd = /* @__PURE__ */
|
|
347
|
+
const setTextRangeEnd = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((range, end) => {
|
|
348
348
|
range.end = end;
|
|
349
349
|
return range;
|
|
350
350
|
}, "setTextRangeEnd");
|
|
351
|
-
const setTextRangePos = /* @__PURE__ */
|
|
351
|
+
const setTextRangePos = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((range, pos) => {
|
|
352
352
|
range.pos = pos;
|
|
353
353
|
return range;
|
|
354
354
|
}, "setTextRangePos");
|
|
355
|
-
const setTextRangePosEnd = /* @__PURE__ */
|
|
356
|
-
const setTextRange = /* @__PURE__ */
|
|
357
|
-
const updateWithoutOriginal = /* @__PURE__ */
|
|
355
|
+
const setTextRangePosEnd = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((range, pos, end) => setTextRangeEnd(setTextRangePos(range, pos), end), "setTextRangePosEnd");
|
|
356
|
+
const setTextRange = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((range, loc) => loc != null ? setTextRangePosEnd(range, loc.pos, loc.end) : range, "setTextRange");
|
|
357
|
+
const updateWithoutOriginal = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((updated, original) => {
|
|
358
358
|
if (updated !== original) {
|
|
359
359
|
setTextRange(updated, original);
|
|
360
360
|
}
|
|
361
361
|
return updated;
|
|
362
362
|
}, "updateWithoutOriginal");
|
|
363
|
-
const updateWithOriginal = /* @__PURE__ */
|
|
363
|
+
const updateWithOriginal = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((updated, original) => {
|
|
364
364
|
if (updated !== original) {
|
|
365
365
|
setOriginalNode2(updated, original);
|
|
366
366
|
setTextRange(updated, original);
|
|
@@ -385,7 +385,7 @@ function normalizeNodeFactory(factory) {
|
|
|
385
385
|
const moduleReference = isShort ? nameOrModuleReference : moduleReferenceOrUndefined;
|
|
386
386
|
return factory.createImportEqualsDeclaration(decorators, modifiers, name, moduleReference);
|
|
387
387
|
}
|
|
388
|
-
|
|
388
|
+
chunkG33GCWR5_cjs.__name(createImportEqualsDeclaration, "createImportEqualsDeclaration");
|
|
389
389
|
function updateImportEqualsDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
390
390
|
const isShort = arguments.length <= 5;
|
|
391
391
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -394,7 +394,7 @@ function normalizeNodeFactory(factory) {
|
|
|
394
394
|
const moduleReference = isShort ? nameOrModuleReference : moduleReferenceOrUndefined;
|
|
395
395
|
return factory.updateImportEqualsDeclaration(node, decorators, modifiers, name, moduleReference);
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
chunkG33GCWR5_cjs.__name(updateImportEqualsDeclaration, "updateImportEqualsDeclaration");
|
|
398
398
|
return {
|
|
399
399
|
createImportEqualsDeclaration,
|
|
400
400
|
updateImportEqualsDeclaration
|
|
@@ -424,7 +424,7 @@ function normalizeNodeFactory(factory) {
|
|
|
424
424
|
return factory.createImportTypeNode(argument, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined);
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
chunkG33GCWR5_cjs.__name(createImportTypeNode, "createImportTypeNode");
|
|
428
428
|
function updateImportTypeNode(node, argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined) {
|
|
429
429
|
if (arguments.length < 6) {
|
|
430
430
|
return factory.updateImportTypeNode(node, argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf);
|
|
@@ -432,7 +432,7 @@ function normalizeNodeFactory(factory) {
|
|
|
432
432
|
return factory.updateImportTypeNode(node, argument, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined);
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
|
|
435
|
+
chunkG33GCWR5_cjs.__name(updateImportTypeNode, "updateImportTypeNode");
|
|
436
436
|
return {
|
|
437
437
|
createImportTypeNode,
|
|
438
438
|
updateImportTypeNode
|
|
@@ -467,7 +467,7 @@ function normalizeNodeFactory(factory) {
|
|
|
467
467
|
}
|
|
468
468
|
return typeParameterDeclaration;
|
|
469
469
|
}
|
|
470
|
-
|
|
470
|
+
chunkG33GCWR5_cjs.__name(createTypeParameterDeclaration, "createTypeParameterDeclaration");
|
|
471
471
|
function updateTypeParameterDeclaration(node, modifiersOrName, nameOrConstraint, constraintOrDefaultType, defaultTypeOrUndefined) {
|
|
472
472
|
const isShort = modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
473
473
|
const modifiers = isShort ? void 0 : modifiersOrName;
|
|
@@ -480,7 +480,7 @@ function normalizeNodeFactory(factory) {
|
|
|
480
480
|
}
|
|
481
481
|
return typeParameterDeclaration;
|
|
482
482
|
}
|
|
483
|
-
|
|
483
|
+
chunkG33GCWR5_cjs.__name(updateTypeParameterDeclaration, "updateTypeParameterDeclaration");
|
|
484
484
|
return {
|
|
485
485
|
createTypeParameterDeclaration,
|
|
486
486
|
updateTypeParameterDeclaration
|
|
@@ -492,11 +492,11 @@ function normalizeNodeFactory(factory) {
|
|
|
492
492
|
...expression
|
|
493
493
|
};
|
|
494
494
|
}
|
|
495
|
-
|
|
495
|
+
chunkG33GCWR5_cjs.__name(createSatisfiesExpression, "createSatisfiesExpression");
|
|
496
496
|
function updateSatisfiesExpression(node, expression, type) {
|
|
497
497
|
return expression === node.expression && type === node.type ? node : update(createSatisfiesExpression(expression), node);
|
|
498
498
|
}
|
|
499
|
-
|
|
499
|
+
chunkG33GCWR5_cjs.__name(updateSatisfiesExpression, "updateSatisfiesExpression");
|
|
500
500
|
return {
|
|
501
501
|
createSatisfiesExpression,
|
|
502
502
|
updateSatisfiesExpression
|
|
@@ -510,7 +510,7 @@ function normalizeNodeFactory(factory) {
|
|
|
510
510
|
const node = createPrivateIdentifier(text !== null && text !== void 0 ? text : "");
|
|
511
511
|
return node;
|
|
512
512
|
}
|
|
513
|
-
|
|
513
|
+
chunkG33GCWR5_cjs.__name(createUniquePrivateName, "createUniquePrivateName");
|
|
514
514
|
return {
|
|
515
515
|
createUniquePrivateName
|
|
516
516
|
};
|
|
@@ -519,7 +519,7 @@ function normalizeNodeFactory(factory) {
|
|
|
519
519
|
function getGeneratedPrivateNameForNode(node) {
|
|
520
520
|
return createPrivateIdentifier("");
|
|
521
521
|
}
|
|
522
|
-
|
|
522
|
+
chunkG33GCWR5_cjs.__name(getGeneratedPrivateNameForNode, "getGeneratedPrivateNameForNode");
|
|
523
523
|
return {
|
|
524
524
|
getGeneratedPrivateNameForNode
|
|
525
525
|
};
|
|
@@ -532,12 +532,12 @@ function normalizeNodeFactory(factory) {
|
|
|
532
532
|
node.transformFlags = 8388608;
|
|
533
533
|
return node;
|
|
534
534
|
}
|
|
535
|
-
|
|
535
|
+
chunkG33GCWR5_cjs.__name(createClassStaticBlockDeclaration, "createClassStaticBlockDeclaration");
|
|
536
536
|
function updateClassStaticBlockDeclaration(node, decoratorsOrBlock, modifiersOrUndefined, bodyOrUndefined) {
|
|
537
537
|
const body = arguments.length >= 4 ? bodyOrUndefined : decoratorsOrBlock;
|
|
538
538
|
return body === node.body ? node : update(createClassStaticBlockDeclaration(body), node);
|
|
539
539
|
}
|
|
540
|
-
|
|
540
|
+
chunkG33GCWR5_cjs.__name(updateClassStaticBlockDeclaration, "updateClassStaticBlockDeclaration");
|
|
541
541
|
return {
|
|
542
542
|
createClassStaticBlockDeclaration,
|
|
543
543
|
updateClassStaticBlockDeclaration
|
|
@@ -551,11 +551,11 @@ function normalizeNodeFactory(factory) {
|
|
|
551
551
|
node.transformFlags |= 4;
|
|
552
552
|
return node;
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
chunkG33GCWR5_cjs.__name(createAssertClause, "createAssertClause");
|
|
555
555
|
function updateAssertClause(node, elements, multiLine) {
|
|
556
556
|
return node.elements !== elements || node.multiLine !== multiLine ? update(createAssertClause(elements, multiLine), node) : node;
|
|
557
557
|
}
|
|
558
|
-
|
|
558
|
+
chunkG33GCWR5_cjs.__name(updateAssertClause, "updateAssertClause");
|
|
559
559
|
return {
|
|
560
560
|
createAssertClause,
|
|
561
561
|
updateAssertClause
|
|
@@ -569,11 +569,11 @@ function normalizeNodeFactory(factory) {
|
|
|
569
569
|
node.transformFlags |= 4;
|
|
570
570
|
return node;
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
chunkG33GCWR5_cjs.__name(createAssertEntry, "createAssertEntry");
|
|
573
573
|
function updateAssertEntry(node, name, value) {
|
|
574
574
|
return node.name !== name || node.value !== value ? update(createAssertEntry(name, value), node) : node;
|
|
575
575
|
}
|
|
576
|
-
|
|
576
|
+
chunkG33GCWR5_cjs.__name(updateAssertEntry, "updateAssertEntry");
|
|
577
577
|
return {
|
|
578
578
|
createAssertEntry,
|
|
579
579
|
updateAssertEntry
|
|
@@ -586,11 +586,11 @@ function normalizeNodeFactory(factory) {
|
|
|
586
586
|
node.multiLine = multiLine;
|
|
587
587
|
return node;
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
chunkG33GCWR5_cjs.__name(createImportTypeAssertionContainer, "createImportTypeAssertionContainer");
|
|
590
590
|
function updateImportTypeAssertionContainer(node, clause, multiLine) {
|
|
591
591
|
return node.assertClause !== clause || node.multiLine !== multiLine ? update(createImportTypeAssertionContainer(clause, multiLine), node) : node;
|
|
592
592
|
}
|
|
593
|
-
|
|
593
|
+
chunkG33GCWR5_cjs.__name(updateImportTypeAssertionContainer, "updateImportTypeAssertionContainer");
|
|
594
594
|
return {
|
|
595
595
|
createImportTypeAssertionContainer,
|
|
596
596
|
updateImportTypeAssertionContainer
|
|
@@ -606,11 +606,11 @@ function normalizeNodeFactory(factory) {
|
|
|
606
606
|
node.right = right;
|
|
607
607
|
return node;
|
|
608
608
|
}
|
|
609
|
-
|
|
609
|
+
chunkG33GCWR5_cjs.__name(createJSDocMemberName, "createJSDocMemberName");
|
|
610
610
|
function updateJSDocMemberName(node, left, right) {
|
|
611
611
|
return left === node.left && right === node.right ? node : update(createJSDocMemberName(left, right), node);
|
|
612
612
|
}
|
|
613
|
-
|
|
613
|
+
chunkG33GCWR5_cjs.__name(updateJSDocMemberName, "updateJSDocMemberName");
|
|
614
614
|
return {
|
|
615
615
|
createJSDocMemberName,
|
|
616
616
|
updateJSDocMemberName
|
|
@@ -626,11 +626,11 @@ function normalizeNodeFactory(factory) {
|
|
|
626
626
|
node.text = text;
|
|
627
627
|
return node;
|
|
628
628
|
}
|
|
629
|
-
|
|
629
|
+
chunkG33GCWR5_cjs.__name(createJSDocLinkCode, "createJSDocLinkCode");
|
|
630
630
|
function updateJSDocLinkCode(node, name, text) {
|
|
631
631
|
return name === node.name && text === node.text ? node : update(createJSDocLinkCode(name, text), node);
|
|
632
632
|
}
|
|
633
|
-
|
|
633
|
+
chunkG33GCWR5_cjs.__name(updateJSDocLinkCode, "updateJSDocLinkCode");
|
|
634
634
|
return {
|
|
635
635
|
createJSDocLinkCode,
|
|
636
636
|
updateJSDocLinkCode
|
|
@@ -646,11 +646,11 @@ function normalizeNodeFactory(factory) {
|
|
|
646
646
|
node.text = text;
|
|
647
647
|
return node;
|
|
648
648
|
}
|
|
649
|
-
|
|
649
|
+
chunkG33GCWR5_cjs.__name(createJSDocLinkPlain, "createJSDocLinkPlain");
|
|
650
650
|
function updateJSDocLinkPlain(node, name, text) {
|
|
651
651
|
return name === node.name && text === node.text ? node : update(createJSDocLinkPlain(name, text), node);
|
|
652
652
|
}
|
|
653
|
-
|
|
653
|
+
chunkG33GCWR5_cjs.__name(updateJSDocLinkPlain, "updateJSDocLinkPlain");
|
|
654
654
|
return {
|
|
655
655
|
createJSDocLinkPlain,
|
|
656
656
|
updateJSDocLinkPlain
|
|
@@ -668,7 +668,7 @@ function normalizeNodeFactory(factory) {
|
|
|
668
668
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
669
669
|
return factory.createParameterDeclaration(decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
670
670
|
}
|
|
671
|
-
|
|
671
|
+
chunkG33GCWR5_cjs.__name(createParameterDeclaration, "createParameterDeclaration");
|
|
672
672
|
function updateParameterDeclaration(node, decoratorsOrModifiers, modifiersOrDotDotDotToken, dotDotDotTokenOrName, nameOrQuestionToken, questionTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
673
673
|
const isShort = typeof dotDotDotTokenOrName === "string" || dotDotDotTokenOrName != null && dotDotDotTokenOrName.kind !== 25;
|
|
674
674
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -680,7 +680,7 @@ function normalizeNodeFactory(factory) {
|
|
|
680
680
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
681
681
|
return factory.updateParameterDeclaration(node, decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
682
682
|
}
|
|
683
|
-
|
|
683
|
+
chunkG33GCWR5_cjs.__name(updateParameterDeclaration, "updateParameterDeclaration");
|
|
684
684
|
function createPropertyDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
685
685
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
686
686
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -691,7 +691,7 @@ function normalizeNodeFactory(factory) {
|
|
|
691
691
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
692
692
|
return factory.createPropertyDeclaration(decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
693
693
|
}
|
|
694
|
-
|
|
694
|
+
chunkG33GCWR5_cjs.__name(createPropertyDeclaration, "createPropertyDeclaration");
|
|
695
695
|
function updatePropertyDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
696
696
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
697
697
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -702,7 +702,7 @@ function normalizeNodeFactory(factory) {
|
|
|
702
702
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
703
703
|
return factory.updatePropertyDeclaration(node, decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
704
704
|
}
|
|
705
|
-
|
|
705
|
+
chunkG33GCWR5_cjs.__name(updatePropertyDeclaration, "updatePropertyDeclaration");
|
|
706
706
|
function createMethodDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
707
707
|
const isShort = typeof asteriskTokenOrName === "string" || asteriskTokenOrName != null && asteriskTokenOrName.kind !== 41;
|
|
708
708
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -716,7 +716,7 @@ function normalizeNodeFactory(factory) {
|
|
|
716
716
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
717
717
|
return factory.createMethodDeclaration(decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
718
718
|
}
|
|
719
|
-
|
|
719
|
+
chunkG33GCWR5_cjs.__name(createMethodDeclaration, "createMethodDeclaration");
|
|
720
720
|
function updateMethodDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
721
721
|
const isShort = typeof asteriskTokenOrName === "string" || asteriskTokenOrName != null && asteriskTokenOrName.kind !== 41;
|
|
722
722
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -730,7 +730,7 @@ function normalizeNodeFactory(factory) {
|
|
|
730
730
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
731
731
|
return factory.updateMethodDeclaration(node, decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
732
732
|
}
|
|
733
|
-
|
|
733
|
+
chunkG33GCWR5_cjs.__name(updateMethodDeclaration, "updateMethodDeclaration");
|
|
734
734
|
function createConstructorDeclaration(decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
735
735
|
const isShort = arguments.length <= 3;
|
|
736
736
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -739,7 +739,7 @@ function normalizeNodeFactory(factory) {
|
|
|
739
739
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
740
740
|
return factory.createConstructorDeclaration(decorators, modifiers, parameters, body);
|
|
741
741
|
}
|
|
742
|
-
|
|
742
|
+
chunkG33GCWR5_cjs.__name(createConstructorDeclaration, "createConstructorDeclaration");
|
|
743
743
|
function updateConstructorDeclaration(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
744
744
|
const isShort = arguments.length <= 4;
|
|
745
745
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -748,7 +748,7 @@ function normalizeNodeFactory(factory) {
|
|
|
748
748
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
749
749
|
return factory.updateConstructorDeclaration(node, decorators, modifiers, parameters, body);
|
|
750
750
|
}
|
|
751
|
-
|
|
751
|
+
chunkG33GCWR5_cjs.__name(updateConstructorDeclaration, "updateConstructorDeclaration");
|
|
752
752
|
function createGetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
753
753
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
754
754
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -759,7 +759,7 @@ function normalizeNodeFactory(factory) {
|
|
|
759
759
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
760
760
|
return factory.createGetAccessorDeclaration(decorators, modifiers, name, parameters, type, body);
|
|
761
761
|
}
|
|
762
|
-
|
|
762
|
+
chunkG33GCWR5_cjs.__name(createGetAccessorDeclaration, "createGetAccessorDeclaration");
|
|
763
763
|
function updateGetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
764
764
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
765
765
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -770,7 +770,7 @@ function normalizeNodeFactory(factory) {
|
|
|
770
770
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
771
771
|
return factory.updateGetAccessorDeclaration(node, decorators, modifiers, name, parameters, type, body);
|
|
772
772
|
}
|
|
773
|
-
|
|
773
|
+
chunkG33GCWR5_cjs.__name(updateGetAccessorDeclaration, "updateGetAccessorDeclaration");
|
|
774
774
|
function createSetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
775
775
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
776
776
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -780,7 +780,7 @@ function normalizeNodeFactory(factory) {
|
|
|
780
780
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
781
781
|
return factory.createSetAccessorDeclaration(decorators, modifiers, name, parameters, body);
|
|
782
782
|
}
|
|
783
|
-
|
|
783
|
+
chunkG33GCWR5_cjs.__name(createSetAccessorDeclaration, "createSetAccessorDeclaration");
|
|
784
784
|
function updateSetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
785
785
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
786
786
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -790,7 +790,7 @@ function normalizeNodeFactory(factory) {
|
|
|
790
790
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
791
791
|
return factory.updateSetAccessorDeclaration(node, decorators, modifiers, name, parameters, body);
|
|
792
792
|
}
|
|
793
|
-
|
|
793
|
+
chunkG33GCWR5_cjs.__name(updateSetAccessorDeclaration, "updateSetAccessorDeclaration");
|
|
794
794
|
function createIndexSignature(decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
795
795
|
const isShort = arguments.length <= 3;
|
|
796
796
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -799,7 +799,7 @@ function normalizeNodeFactory(factory) {
|
|
|
799
799
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
800
800
|
return factory.createIndexSignature(decorators, modifiers, parameters, type);
|
|
801
801
|
}
|
|
802
|
-
|
|
802
|
+
chunkG33GCWR5_cjs.__name(createIndexSignature, "createIndexSignature");
|
|
803
803
|
function updateIndexSignature(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
804
804
|
const isShort = arguments.length <= 4;
|
|
805
805
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -808,7 +808,7 @@ function normalizeNodeFactory(factory) {
|
|
|
808
808
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
809
809
|
return factory.updateIndexSignature(node, decorators, modifiers, parameters, type);
|
|
810
810
|
}
|
|
811
|
-
|
|
811
|
+
chunkG33GCWR5_cjs.__name(updateIndexSignature, "updateIndexSignature");
|
|
812
812
|
function createClassStaticBlockDeclaration(decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
813
813
|
const isShort = arguments.length <= 1;
|
|
814
814
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
@@ -821,7 +821,7 @@ function normalizeNodeFactory(factory) {
|
|
|
821
821
|
return factory.createClassStaticBlockDeclaration(void 0, void 0, body);
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
|
|
824
|
+
chunkG33GCWR5_cjs.__name(createClassStaticBlockDeclaration, "createClassStaticBlockDeclaration");
|
|
825
825
|
function updateClassStaticBlockDeclaration(node, decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
826
826
|
const isShort = arguments.length <= 2;
|
|
827
827
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
@@ -831,7 +831,7 @@ function normalizeNodeFactory(factory) {
|
|
|
831
831
|
return factory.updateClassStaticBlockDeclaration(node, void 0, void 0, body);
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
|
|
834
|
+
chunkG33GCWR5_cjs.__name(updateClassStaticBlockDeclaration, "updateClassStaticBlockDeclaration");
|
|
835
835
|
function createClassExpression(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
836
836
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
837
837
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -842,7 +842,7 @@ function normalizeNodeFactory(factory) {
|
|
|
842
842
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
843
843
|
return factory.createClassExpression(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
844
844
|
}
|
|
845
|
-
|
|
845
|
+
chunkG33GCWR5_cjs.__name(createClassExpression, "createClassExpression");
|
|
846
846
|
function updateClassExpression(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
847
847
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
848
848
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -853,7 +853,7 @@ function normalizeNodeFactory(factory) {
|
|
|
853
853
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
854
854
|
return factory.updateClassExpression(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
855
855
|
}
|
|
856
|
-
|
|
856
|
+
chunkG33GCWR5_cjs.__name(updateClassExpression, "updateClassExpression");
|
|
857
857
|
function createFunctionDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
858
858
|
const isShort = arguments.length <= 7;
|
|
859
859
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -866,7 +866,7 @@ function normalizeNodeFactory(factory) {
|
|
|
866
866
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
867
867
|
return factory.createFunctionDeclaration(decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
868
868
|
}
|
|
869
|
-
|
|
869
|
+
chunkG33GCWR5_cjs.__name(createFunctionDeclaration, "createFunctionDeclaration");
|
|
870
870
|
function updateFunctionDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
871
871
|
const isShort = arguments.length <= 8;
|
|
872
872
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -879,7 +879,7 @@ function normalizeNodeFactory(factory) {
|
|
|
879
879
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
880
880
|
return factory.updateFunctionDeclaration(node, decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
881
881
|
}
|
|
882
|
-
|
|
882
|
+
chunkG33GCWR5_cjs.__name(updateFunctionDeclaration, "updateFunctionDeclaration");
|
|
883
883
|
function createClassDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
884
884
|
const isShort = arguments.length <= 5;
|
|
885
885
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -890,7 +890,7 @@ function normalizeNodeFactory(factory) {
|
|
|
890
890
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
891
891
|
return factory.createClassDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
892
892
|
}
|
|
893
|
-
|
|
893
|
+
chunkG33GCWR5_cjs.__name(createClassDeclaration, "createClassDeclaration");
|
|
894
894
|
function updateClassDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
895
895
|
const isShort = arguments.length <= 6;
|
|
896
896
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -901,7 +901,7 @@ function normalizeNodeFactory(factory) {
|
|
|
901
901
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
902
902
|
return factory.updateClassDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
903
903
|
}
|
|
904
|
-
|
|
904
|
+
chunkG33GCWR5_cjs.__name(updateClassDeclaration, "updateClassDeclaration");
|
|
905
905
|
function createInterfaceDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
906
906
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
907
907
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -912,7 +912,7 @@ function normalizeNodeFactory(factory) {
|
|
|
912
912
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
913
913
|
return factory.createInterfaceDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
914
914
|
}
|
|
915
|
-
|
|
915
|
+
chunkG33GCWR5_cjs.__name(createInterfaceDeclaration, "createInterfaceDeclaration");
|
|
916
916
|
function updateInterfaceDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
917
917
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
918
918
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -923,7 +923,7 @@ function normalizeNodeFactory(factory) {
|
|
|
923
923
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
924
924
|
return factory.updateInterfaceDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
925
925
|
}
|
|
926
|
-
|
|
926
|
+
chunkG33GCWR5_cjs.__name(updateInterfaceDeclaration, "updateInterfaceDeclaration");
|
|
927
927
|
function createTypeAliasDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
928
928
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
929
929
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -933,7 +933,7 @@ function normalizeNodeFactory(factory) {
|
|
|
933
933
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
934
934
|
return factory.createTypeAliasDeclaration(decorators, modifiers, name, typeParameters, type);
|
|
935
935
|
}
|
|
936
|
-
|
|
936
|
+
chunkG33GCWR5_cjs.__name(createTypeAliasDeclaration, "createTypeAliasDeclaration");
|
|
937
937
|
function updateTypeAliasDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
938
938
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
939
939
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -943,7 +943,7 @@ function normalizeNodeFactory(factory) {
|
|
|
943
943
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
944
944
|
return factory.updateTypeAliasDeclaration(node, decorators, modifiers, name, typeParameters, type);
|
|
945
945
|
}
|
|
946
|
-
|
|
946
|
+
chunkG33GCWR5_cjs.__name(updateTypeAliasDeclaration, "updateTypeAliasDeclaration");
|
|
947
947
|
function createEnumDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
948
948
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
949
949
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -952,7 +952,7 @@ function normalizeNodeFactory(factory) {
|
|
|
952
952
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
953
953
|
return factory.createEnumDeclaration(decorators, modifiers, name, members);
|
|
954
954
|
}
|
|
955
|
-
|
|
955
|
+
chunkG33GCWR5_cjs.__name(createEnumDeclaration, "createEnumDeclaration");
|
|
956
956
|
function updateEnumDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
957
957
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
958
958
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -961,7 +961,7 @@ function normalizeNodeFactory(factory) {
|
|
|
961
961
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
962
962
|
return factory.updateEnumDeclaration(node, decorators, modifiers, name, members);
|
|
963
963
|
}
|
|
964
|
-
|
|
964
|
+
chunkG33GCWR5_cjs.__name(updateEnumDeclaration, "updateEnumDeclaration");
|
|
965
965
|
function createModuleDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrFlags, flagsOrUndefined) {
|
|
966
966
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
967
967
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -971,7 +971,7 @@ function normalizeNodeFactory(factory) {
|
|
|
971
971
|
const flags = isShort ? bodyOrFlags : flagsOrUndefined;
|
|
972
972
|
return factory.createModuleDeclaration(decorators, modifiers, name, body, flags);
|
|
973
973
|
}
|
|
974
|
-
|
|
974
|
+
chunkG33GCWR5_cjs.__name(createModuleDeclaration, "createModuleDeclaration");
|
|
975
975
|
function updateModuleDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrUndefined) {
|
|
976
976
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
977
977
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -980,7 +980,7 @@ function normalizeNodeFactory(factory) {
|
|
|
980
980
|
const body = isShort ? nameOrBody : bodyOrUndefined;
|
|
981
981
|
return factory.updateModuleDeclaration(node, decorators, modifiers, name, body);
|
|
982
982
|
}
|
|
983
|
-
|
|
983
|
+
chunkG33GCWR5_cjs.__name(updateModuleDeclaration, "updateModuleDeclaration");
|
|
984
984
|
function createImportEqualsDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
985
985
|
var _a;
|
|
986
986
|
const isShort = arguments.length <= 4;
|
|
@@ -995,7 +995,7 @@ function normalizeNodeFactory(factory) {
|
|
|
995
995
|
return factory.createImportEqualsDeclaration(decorators, modifiers, isTypeOnly, name, moduleReference);
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
|
-
|
|
998
|
+
chunkG33GCWR5_cjs.__name(createImportEqualsDeclaration, "createImportEqualsDeclaration");
|
|
999
999
|
function updateImportEqualsDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
1000
1000
|
const isShort = arguments.length <= 5;
|
|
1001
1001
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1009,7 +1009,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1009
1009
|
return factory.updateImportEqualsDeclaration(node, decorators, modifiers, isTypeOnly, name, moduleReference);
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
|
-
|
|
1012
|
+
chunkG33GCWR5_cjs.__name(updateImportEqualsDeclaration, "updateImportEqualsDeclaration");
|
|
1013
1013
|
function createImportDeclaration(decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1014
1014
|
const isShort = modifiersOrImportClause != null && !Array.isArray(modifiersOrImportClause);
|
|
1015
1015
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1019,7 +1019,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1019
1019
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1020
1020
|
return factory.createImportDeclaration(decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
1021
1021
|
}
|
|
1022
|
-
|
|
1022
|
+
chunkG33GCWR5_cjs.__name(createImportDeclaration, "createImportDeclaration");
|
|
1023
1023
|
function updateImportDeclaration(node, decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1024
1024
|
const isShort = importClauseOrModuleSpecifier != null && importClauseOrModuleSpecifier.kind !== 267;
|
|
1025
1025
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1029,7 +1029,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1029
1029
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1030
1030
|
return factory.updateImportDeclaration(node, decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
1031
1031
|
}
|
|
1032
|
-
|
|
1032
|
+
chunkG33GCWR5_cjs.__name(updateImportDeclaration, "updateImportDeclaration");
|
|
1033
1033
|
function createExportAssignment(decoratorsOrModifiers, modifiersOrIsExportEquals, isExportEqualsOrExpression, expressionOrUndefined) {
|
|
1034
1034
|
const isShort = arguments.length <= 3;
|
|
1035
1035
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1038,7 +1038,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1038
1038
|
const expression = isShort ? isExportEqualsOrExpression : expressionOrUndefined;
|
|
1039
1039
|
return factory.createExportAssignment(decorators, modifiers, isExportEquals, expression);
|
|
1040
1040
|
}
|
|
1041
|
-
|
|
1041
|
+
chunkG33GCWR5_cjs.__name(createExportAssignment, "createExportAssignment");
|
|
1042
1042
|
function updateExportAssignment(node, decoratorsOrModifiers, modifiersOrExpression, expressionOrUndefined) {
|
|
1043
1043
|
const isShort = arguments.length <= 3;
|
|
1044
1044
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1046,7 +1046,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1046
1046
|
const expression = isShort ? modifiersOrExpression : expressionOrUndefined;
|
|
1047
1047
|
return factory.updateExportAssignment(node, decorators, modifiers, expression);
|
|
1048
1048
|
}
|
|
1049
|
-
|
|
1049
|
+
chunkG33GCWR5_cjs.__name(updateExportAssignment, "updateExportAssignment");
|
|
1050
1050
|
function createExportDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1051
1051
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 6 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1052
1052
|
const isShort = !isLong;
|
|
@@ -1058,7 +1058,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1058
1058
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1059
1059
|
return factory.createExportDeclaration(decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);
|
|
1060
1060
|
}
|
|
1061
|
-
|
|
1061
|
+
chunkG33GCWR5_cjs.__name(createExportDeclaration, "createExportDeclaration");
|
|
1062
1062
|
function updateExportDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1063
1063
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 7 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1064
1064
|
const isShort = !isLong;
|
|
@@ -1070,7 +1070,7 @@ function normalizeNodeFactory(factory) {
|
|
|
1070
1070
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1071
1071
|
return factory.updateExportDeclaration(node, decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1073
|
+
chunkG33GCWR5_cjs.__name(updateExportDeclaration, "updateExportDeclaration");
|
|
1074
1074
|
return {
|
|
1075
1075
|
createParameterDeclaration,
|
|
1076
1076
|
updateParameterDeclaration,
|
|
@@ -1116,27 +1116,27 @@ function normalizeNodeFactory(factory) {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
return factory;
|
|
1118
1118
|
}
|
|
1119
|
-
|
|
1119
|
+
chunkG33GCWR5_cjs.__name(normalizeNodeFactory, "normalizeNodeFactory");
|
|
1120
1120
|
function createNodeFactory(typescript) {
|
|
1121
1121
|
var _a;
|
|
1122
1122
|
function createToken(token) {
|
|
1123
1123
|
return typescript.createToken(token);
|
|
1124
1124
|
}
|
|
1125
|
-
|
|
1125
|
+
chunkG33GCWR5_cjs.__name(createToken, "createToken");
|
|
1126
1126
|
function createConstructorTypeNode(modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1127
1127
|
if (arguments.length >= 4) {
|
|
1128
1128
|
return typescript.createConstructorTypeNode(typeParametersOrParameters, parametersOrType, typeOrUndefined);
|
|
1129
1129
|
}
|
|
1130
1130
|
return typescript.createConstructorTypeNode(modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType);
|
|
1131
1131
|
}
|
|
1132
|
-
|
|
1132
|
+
chunkG33GCWR5_cjs.__name(createConstructorTypeNode, "createConstructorTypeNode");
|
|
1133
1133
|
function updateConstructorTypeNode(node, modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1134
1134
|
if (arguments.length >= 5) {
|
|
1135
1135
|
return typescript.updateConstructorTypeNode(node, typeParametersOrParameters, parametersOrType, typeOrUndefined);
|
|
1136
1136
|
}
|
|
1137
1137
|
return typescript.updateConstructorTypeNode(node, modifiersOrTypeParameters, typeParametersOrParameters, parametersOrType);
|
|
1138
1138
|
}
|
|
1139
|
-
|
|
1139
|
+
chunkG33GCWR5_cjs.__name(updateConstructorTypeNode, "updateConstructorTypeNode");
|
|
1140
1140
|
function createNamedTupleMember(dotDotDotToken, name, questionToken, type) {
|
|
1141
1141
|
var _a2;
|
|
1142
1142
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.NamedTupleMember) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.TupleType);
|
|
@@ -1147,7 +1147,7 @@ function createNodeFactory(typescript) {
|
|
|
1147
1147
|
node.transformFlags = 1;
|
|
1148
1148
|
return node;
|
|
1149
1149
|
}
|
|
1150
|
-
|
|
1150
|
+
chunkG33GCWR5_cjs.__name(createNamedTupleMember, "createNamedTupleMember");
|
|
1151
1151
|
function createJSDocComment(comment, tags) {
|
|
1152
1152
|
if ("createJSDocComment" in typescript) {
|
|
1153
1153
|
return typescript.createJSDocComment(comment, tags);
|
|
@@ -1157,7 +1157,7 @@ function createNodeFactory(typescript) {
|
|
|
1157
1157
|
node.tags = typescript.createNodeArray(tags);
|
|
1158
1158
|
return node;
|
|
1159
1159
|
}
|
|
1160
|
-
|
|
1160
|
+
chunkG33GCWR5_cjs.__name(createJSDocComment, "createJSDocComment");
|
|
1161
1161
|
function createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {
|
|
1162
1162
|
var _a2;
|
|
1163
1163
|
if ("createJSDocParameterTag" in typescript) {
|
|
@@ -1172,7 +1172,7 @@ function createNodeFactory(typescript) {
|
|
|
1172
1172
|
node.comment = comment;
|
|
1173
1173
|
return node;
|
|
1174
1174
|
}
|
|
1175
|
-
|
|
1175
|
+
chunkG33GCWR5_cjs.__name(createJSDocParameterTag, "createJSDocParameterTag");
|
|
1176
1176
|
function createJSDocPrivateTag(tagName, comment) {
|
|
1177
1177
|
var _a2;
|
|
1178
1178
|
if ("createJSDocPrivateTag" in typescript) {
|
|
@@ -1183,7 +1183,7 @@ function createNodeFactory(typescript) {
|
|
|
1183
1183
|
node.comment = comment;
|
|
1184
1184
|
return node;
|
|
1185
1185
|
}
|
|
1186
|
-
|
|
1186
|
+
chunkG33GCWR5_cjs.__name(createJSDocPrivateTag, "createJSDocPrivateTag");
|
|
1187
1187
|
function createJSDocAugmentsTag(tagName, className, comment) {
|
|
1188
1188
|
var _a2;
|
|
1189
1189
|
if ("createJSDocAugmentsTag" in typescript) {
|
|
@@ -1195,7 +1195,7 @@ function createNodeFactory(typescript) {
|
|
|
1195
1195
|
node.comment = comment;
|
|
1196
1196
|
return node;
|
|
1197
1197
|
}
|
|
1198
|
-
|
|
1198
|
+
chunkG33GCWR5_cjs.__name(createJSDocAugmentsTag, "createJSDocAugmentsTag");
|
|
1199
1199
|
function createJSDocDeprecatedTag(tagName, comment) {
|
|
1200
1200
|
var _a2;
|
|
1201
1201
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocDeprecatedTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1203,7 +1203,7 @@ function createNodeFactory(typescript) {
|
|
|
1203
1203
|
node.comment = comment;
|
|
1204
1204
|
return node;
|
|
1205
1205
|
}
|
|
1206
|
-
|
|
1206
|
+
chunkG33GCWR5_cjs.__name(createJSDocDeprecatedTag, "createJSDocDeprecatedTag");
|
|
1207
1207
|
function createJSDocFunctionType(parameters, type) {
|
|
1208
1208
|
var _a2;
|
|
1209
1209
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocFunctionType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1211,7 +1211,7 @@ function createNodeFactory(typescript) {
|
|
|
1211
1211
|
node.type = type;
|
|
1212
1212
|
return node;
|
|
1213
1213
|
}
|
|
1214
|
-
|
|
1214
|
+
chunkG33GCWR5_cjs.__name(createJSDocFunctionType, "createJSDocFunctionType");
|
|
1215
1215
|
function createJSDocLink(name, text) {
|
|
1216
1216
|
var _a2;
|
|
1217
1217
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocLink) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1219,42 +1219,42 @@ function createNodeFactory(typescript) {
|
|
|
1219
1219
|
node.text = text;
|
|
1220
1220
|
return node;
|
|
1221
1221
|
}
|
|
1222
|
-
|
|
1222
|
+
chunkG33GCWR5_cjs.__name(createJSDocLink, "createJSDocLink");
|
|
1223
1223
|
function createJSDocNameReference(name) {
|
|
1224
1224
|
var _a2;
|
|
1225
1225
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNameReference) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1226
1226
|
node.name = name;
|
|
1227
1227
|
return node;
|
|
1228
1228
|
}
|
|
1229
|
-
|
|
1229
|
+
chunkG33GCWR5_cjs.__name(createJSDocNameReference, "createJSDocNameReference");
|
|
1230
1230
|
function createJSDocNamepathType(type) {
|
|
1231
1231
|
var _a2;
|
|
1232
1232
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNamepathType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1233
1233
|
node.type = type;
|
|
1234
1234
|
return node;
|
|
1235
1235
|
}
|
|
1236
|
-
|
|
1236
|
+
chunkG33GCWR5_cjs.__name(createJSDocNamepathType, "createJSDocNamepathType");
|
|
1237
1237
|
function createJSDocNonNullableType(type) {
|
|
1238
1238
|
var _a2;
|
|
1239
1239
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNonNullableType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1240
1240
|
node.type = type;
|
|
1241
1241
|
return node;
|
|
1242
1242
|
}
|
|
1243
|
-
|
|
1243
|
+
chunkG33GCWR5_cjs.__name(createJSDocNonNullableType, "createJSDocNonNullableType");
|
|
1244
1244
|
function createJSDocNullableType(type) {
|
|
1245
1245
|
var _a2;
|
|
1246
1246
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocNullableType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1247
1247
|
node.type = type;
|
|
1248
1248
|
return node;
|
|
1249
1249
|
}
|
|
1250
|
-
|
|
1250
|
+
chunkG33GCWR5_cjs.__name(createJSDocNullableType, "createJSDocNullableType");
|
|
1251
1251
|
function createJSDocOptionalType(type) {
|
|
1252
1252
|
var _a2;
|
|
1253
1253
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocOptionalType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1254
1254
|
node.type = type;
|
|
1255
1255
|
return node;
|
|
1256
1256
|
}
|
|
1257
|
-
|
|
1257
|
+
chunkG33GCWR5_cjs.__name(createJSDocOptionalType, "createJSDocOptionalType");
|
|
1258
1258
|
function createJSDocOverrideTag(tagName, comment) {
|
|
1259
1259
|
var _a2;
|
|
1260
1260
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocOverrideTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1262,7 +1262,7 @@ function createNodeFactory(typescript) {
|
|
|
1262
1262
|
node.comment = comment;
|
|
1263
1263
|
return node;
|
|
1264
1264
|
}
|
|
1265
|
-
|
|
1265
|
+
chunkG33GCWR5_cjs.__name(createJSDocOverrideTag, "createJSDocOverrideTag");
|
|
1266
1266
|
function createJSDocSeeTag(tagName, nameExpression, comment) {
|
|
1267
1267
|
var _a2;
|
|
1268
1268
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocSeeTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1273,14 +1273,14 @@ function createNodeFactory(typescript) {
|
|
|
1273
1273
|
node.comment = comment;
|
|
1274
1274
|
return node;
|
|
1275
1275
|
}
|
|
1276
|
-
|
|
1276
|
+
chunkG33GCWR5_cjs.__name(createJSDocSeeTag, "createJSDocSeeTag");
|
|
1277
1277
|
function createJSDocText(text) {
|
|
1278
1278
|
var _a2;
|
|
1279
1279
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocText) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1280
1280
|
node.text = text;
|
|
1281
1281
|
return node;
|
|
1282
1282
|
}
|
|
1283
|
-
|
|
1283
|
+
chunkG33GCWR5_cjs.__name(createJSDocText, "createJSDocText");
|
|
1284
1284
|
function createJSDocUnknownTag(tagName, comment) {
|
|
1285
1285
|
var _a2;
|
|
1286
1286
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocTag) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1288,24 +1288,24 @@ function createNodeFactory(typescript) {
|
|
|
1288
1288
|
node.comment = comment;
|
|
1289
1289
|
return node;
|
|
1290
1290
|
}
|
|
1291
|
-
|
|
1291
|
+
chunkG33GCWR5_cjs.__name(createJSDocUnknownTag, "createJSDocUnknownTag");
|
|
1292
1292
|
function createJSDocUnknownType() {
|
|
1293
1293
|
var _a2;
|
|
1294
1294
|
return typescript.createNode((_a2 = typescript.SyntaxKind.JSDocUnknownType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1295
1295
|
}
|
|
1296
|
-
|
|
1296
|
+
chunkG33GCWR5_cjs.__name(createJSDocUnknownType, "createJSDocUnknownType");
|
|
1297
1297
|
function createJSDocVariadicType(type) {
|
|
1298
1298
|
var _a2;
|
|
1299
1299
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocVariadicType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1300
1300
|
node.type = type;
|
|
1301
1301
|
return node;
|
|
1302
1302
|
}
|
|
1303
|
-
|
|
1303
|
+
chunkG33GCWR5_cjs.__name(createJSDocVariadicType, "createJSDocVariadicType");
|
|
1304
1304
|
function createJSDocAllType() {
|
|
1305
1305
|
var _a2;
|
|
1306
1306
|
return typescript.createNode((_a2 = typescript.SyntaxKind.JSDocAllType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
1307
1307
|
}
|
|
1308
|
-
|
|
1308
|
+
chunkG33GCWR5_cjs.__name(createJSDocAllType, "createJSDocAllType");
|
|
1309
1309
|
function createTemplateLiteralType(head, templateSpans) {
|
|
1310
1310
|
var _a2;
|
|
1311
1311
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.TemplateLiteralType) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.StringLiteral);
|
|
@@ -1314,7 +1314,7 @@ function createNodeFactory(typescript) {
|
|
|
1314
1314
|
node.transformFlags = 1;
|
|
1315
1315
|
return node;
|
|
1316
1316
|
}
|
|
1317
|
-
|
|
1317
|
+
chunkG33GCWR5_cjs.__name(createTemplateLiteralType, "createTemplateLiteralType");
|
|
1318
1318
|
function createTemplateLiteralTypeSpan(type, literal) {
|
|
1319
1319
|
var _a2;
|
|
1320
1320
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.TemplateLiteralTypeSpan) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.StringLiteral);
|
|
@@ -1323,7 +1323,7 @@ function createNodeFactory(typescript) {
|
|
|
1323
1323
|
node.transformFlags = 1;
|
|
1324
1324
|
return node;
|
|
1325
1325
|
}
|
|
1326
|
-
|
|
1326
|
+
chunkG33GCWR5_cjs.__name(createTemplateLiteralTypeSpan, "createTemplateLiteralTypeSpan");
|
|
1327
1327
|
function createJSDocAuthorTag(tagName, comment) {
|
|
1328
1328
|
var _a2;
|
|
1329
1329
|
if ("createJSDocAuthorTag" in typescript) {
|
|
@@ -1334,7 +1334,7 @@ function createNodeFactory(typescript) {
|
|
|
1334
1334
|
node.comment = comment;
|
|
1335
1335
|
return node;
|
|
1336
1336
|
}
|
|
1337
|
-
|
|
1337
|
+
chunkG33GCWR5_cjs.__name(createJSDocAuthorTag, "createJSDocAuthorTag");
|
|
1338
1338
|
function createJSDocCallbackTag(tagName, typeExpression, fullName, comment) {
|
|
1339
1339
|
var _a2;
|
|
1340
1340
|
if ("createJSDocCallbackTag" in typescript) {
|
|
@@ -1347,7 +1347,7 @@ function createNodeFactory(typescript) {
|
|
|
1347
1347
|
node.comment = comment;
|
|
1348
1348
|
return node;
|
|
1349
1349
|
}
|
|
1350
|
-
|
|
1350
|
+
chunkG33GCWR5_cjs.__name(createJSDocCallbackTag, "createJSDocCallbackTag");
|
|
1351
1351
|
function createJSDocClassTag(tagName, comment) {
|
|
1352
1352
|
var _a2;
|
|
1353
1353
|
if ("createJSDocClassTag" in typescript) {
|
|
@@ -1358,7 +1358,7 @@ function createNodeFactory(typescript) {
|
|
|
1358
1358
|
node.comment = comment;
|
|
1359
1359
|
return node;
|
|
1360
1360
|
}
|
|
1361
|
-
|
|
1361
|
+
chunkG33GCWR5_cjs.__name(createJSDocClassTag, "createJSDocClassTag");
|
|
1362
1362
|
function createJSDocEnumTag(tagName, typeExpression, comment) {
|
|
1363
1363
|
var _a2;
|
|
1364
1364
|
if ("createJSDocEnumTag" in typescript) {
|
|
@@ -1370,7 +1370,7 @@ function createNodeFactory(typescript) {
|
|
|
1370
1370
|
node.comment = comment;
|
|
1371
1371
|
return node;
|
|
1372
1372
|
}
|
|
1373
|
-
|
|
1373
|
+
chunkG33GCWR5_cjs.__name(createJSDocEnumTag, "createJSDocEnumTag");
|
|
1374
1374
|
function createJSDocImplementsTag(tagName, className, comment) {
|
|
1375
1375
|
var _a2;
|
|
1376
1376
|
if ("createJSDocImplementsTag" in typescript) {
|
|
@@ -1382,7 +1382,7 @@ function createNodeFactory(typescript) {
|
|
|
1382
1382
|
node.comment = comment;
|
|
1383
1383
|
return node;
|
|
1384
1384
|
}
|
|
1385
|
-
|
|
1385
|
+
chunkG33GCWR5_cjs.__name(createJSDocImplementsTag, "createJSDocImplementsTag");
|
|
1386
1386
|
function createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {
|
|
1387
1387
|
var _a2;
|
|
1388
1388
|
if ("createJSDocPropertyTag" in typescript) {
|
|
@@ -1397,7 +1397,7 @@ function createNodeFactory(typescript) {
|
|
|
1397
1397
|
node.comment = comment;
|
|
1398
1398
|
return node;
|
|
1399
1399
|
}
|
|
1400
|
-
|
|
1400
|
+
chunkG33GCWR5_cjs.__name(createJSDocPropertyTag, "createJSDocPropertyTag");
|
|
1401
1401
|
function createJSDocProtectedTag(tagName, comment) {
|
|
1402
1402
|
var _a2;
|
|
1403
1403
|
if ("createJSDocProtectedTag" in typescript) {
|
|
@@ -1408,7 +1408,7 @@ function createNodeFactory(typescript) {
|
|
|
1408
1408
|
node.comment = comment;
|
|
1409
1409
|
return node;
|
|
1410
1410
|
}
|
|
1411
|
-
|
|
1411
|
+
chunkG33GCWR5_cjs.__name(createJSDocProtectedTag, "createJSDocProtectedTag");
|
|
1412
1412
|
function createJSDocPublicTag(tagName, comment) {
|
|
1413
1413
|
var _a2;
|
|
1414
1414
|
if ("createJSDocPublicTag" in typescript) {
|
|
@@ -1419,7 +1419,7 @@ function createNodeFactory(typescript) {
|
|
|
1419
1419
|
node.comment = comment;
|
|
1420
1420
|
return node;
|
|
1421
1421
|
}
|
|
1422
|
-
|
|
1422
|
+
chunkG33GCWR5_cjs.__name(createJSDocPublicTag, "createJSDocPublicTag");
|
|
1423
1423
|
function createJSDocReadonlyTag(tagName, comment) {
|
|
1424
1424
|
var _a2;
|
|
1425
1425
|
if ("createJSDocReadonlyTag" in typescript) {
|
|
@@ -1430,7 +1430,7 @@ function createNodeFactory(typescript) {
|
|
|
1430
1430
|
node.comment = comment;
|
|
1431
1431
|
return node;
|
|
1432
1432
|
}
|
|
1433
|
-
|
|
1433
|
+
chunkG33GCWR5_cjs.__name(createJSDocReadonlyTag, "createJSDocReadonlyTag");
|
|
1434
1434
|
function createJSDocReturnTag(tagName, typeExpression, comment) {
|
|
1435
1435
|
var _a2;
|
|
1436
1436
|
if ("createJSDocReturnTag" in typescript) {
|
|
@@ -1442,7 +1442,7 @@ function createNodeFactory(typescript) {
|
|
|
1442
1442
|
node.comment = comment;
|
|
1443
1443
|
return node;
|
|
1444
1444
|
}
|
|
1445
|
-
|
|
1445
|
+
chunkG33GCWR5_cjs.__name(createJSDocReturnTag, "createJSDocReturnTag");
|
|
1446
1446
|
function createJSDocSignature(typeParameters, parameters, type) {
|
|
1447
1447
|
var _a2;
|
|
1448
1448
|
if ("createJSDocSignature" in typescript) {
|
|
@@ -1454,7 +1454,7 @@ function createNodeFactory(typescript) {
|
|
|
1454
1454
|
node.type = type;
|
|
1455
1455
|
return node;
|
|
1456
1456
|
}
|
|
1457
|
-
|
|
1457
|
+
chunkG33GCWR5_cjs.__name(createJSDocSignature, "createJSDocSignature");
|
|
1458
1458
|
function createJSDocTemplateTag(tagName, constraint, typeParameters, comment) {
|
|
1459
1459
|
var _a2;
|
|
1460
1460
|
if ("createJSDocTemplateTag" in typescript) {
|
|
@@ -1467,7 +1467,7 @@ function createNodeFactory(typescript) {
|
|
|
1467
1467
|
node.comment = comment;
|
|
1468
1468
|
return node;
|
|
1469
1469
|
}
|
|
1470
|
-
|
|
1470
|
+
chunkG33GCWR5_cjs.__name(createJSDocTemplateTag, "createJSDocTemplateTag");
|
|
1471
1471
|
function createJSDocThisTag(tagName, typeExpression, comment) {
|
|
1472
1472
|
var _a2;
|
|
1473
1473
|
if ("createJSDocThisTag" in typescript) {
|
|
@@ -1479,7 +1479,7 @@ function createNodeFactory(typescript) {
|
|
|
1479
1479
|
node.comment = comment;
|
|
1480
1480
|
return node;
|
|
1481
1481
|
}
|
|
1482
|
-
|
|
1482
|
+
chunkG33GCWR5_cjs.__name(createJSDocThisTag, "createJSDocThisTag");
|
|
1483
1483
|
function createJSDocTypeExpression(type) {
|
|
1484
1484
|
var _a2;
|
|
1485
1485
|
if ("createJSDocTypeExpression" in typescript) {
|
|
@@ -1489,7 +1489,7 @@ function createNodeFactory(typescript) {
|
|
|
1489
1489
|
node.type = type;
|
|
1490
1490
|
return node;
|
|
1491
1491
|
}
|
|
1492
|
-
|
|
1492
|
+
chunkG33GCWR5_cjs.__name(createJSDocTypeExpression, "createJSDocTypeExpression");
|
|
1493
1493
|
function createJSDocTypeLiteral(jsDocPropertyTags, isArrayType) {
|
|
1494
1494
|
var _a2;
|
|
1495
1495
|
if ("createJSDocTypeLiteral" in typescript) {
|
|
@@ -1500,7 +1500,7 @@ function createNodeFactory(typescript) {
|
|
|
1500
1500
|
if (isArrayType != null) node.isArrayType = isArrayType;
|
|
1501
1501
|
return node;
|
|
1502
1502
|
}
|
|
1503
|
-
|
|
1503
|
+
chunkG33GCWR5_cjs.__name(createJSDocTypeLiteral, "createJSDocTypeLiteral");
|
|
1504
1504
|
function createJSDocTypeTag(tagName, typeExpression, comment) {
|
|
1505
1505
|
var _a2;
|
|
1506
1506
|
if ("createJSDocTypeTag" in typescript) {
|
|
@@ -1512,7 +1512,7 @@ function createNodeFactory(typescript) {
|
|
|
1512
1512
|
node.comment = comment;
|
|
1513
1513
|
return node;
|
|
1514
1514
|
}
|
|
1515
|
-
|
|
1515
|
+
chunkG33GCWR5_cjs.__name(createJSDocTypeTag, "createJSDocTypeTag");
|
|
1516
1516
|
function createJSDocTypedefTag(tagName, typeExpression, fullName, comment) {
|
|
1517
1517
|
var _a2;
|
|
1518
1518
|
if ("createJSDocTypedefTag" in typescript) {
|
|
@@ -1525,7 +1525,7 @@ function createNodeFactory(typescript) {
|
|
|
1525
1525
|
node.comment = comment;
|
|
1526
1526
|
return node;
|
|
1527
1527
|
}
|
|
1528
|
-
|
|
1528
|
+
chunkG33GCWR5_cjs.__name(createJSDocTypedefTag, "createJSDocTypedefTag");
|
|
1529
1529
|
function createJSDocMemberName(left, right) {
|
|
1530
1530
|
var _a2;
|
|
1531
1531
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocMemberName) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1533,7 +1533,7 @@ function createNodeFactory(typescript) {
|
|
|
1533
1533
|
node.right = right;
|
|
1534
1534
|
return node;
|
|
1535
1535
|
}
|
|
1536
|
-
|
|
1536
|
+
chunkG33GCWR5_cjs.__name(createJSDocMemberName, "createJSDocMemberName");
|
|
1537
1537
|
function createJSDocLinkCode(name, text) {
|
|
1538
1538
|
var _a2;
|
|
1539
1539
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocLinkCode) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1541,7 +1541,7 @@ function createNodeFactory(typescript) {
|
|
|
1541
1541
|
node.text = text;
|
|
1542
1542
|
return node;
|
|
1543
1543
|
}
|
|
1544
|
-
|
|
1544
|
+
chunkG33GCWR5_cjs.__name(createJSDocLinkCode, "createJSDocLinkCode");
|
|
1545
1545
|
function createJSDocLinkPlain(name, text) {
|
|
1546
1546
|
var _a2;
|
|
1547
1547
|
const node = typescript.createNode((_a2 = typescript.SyntaxKind.JSDocLinkPlain) !== null && _a2 !== void 0 ? _a2 : typescript.SyntaxKind.JSDocComment);
|
|
@@ -1549,7 +1549,7 @@ function createNodeFactory(typescript) {
|
|
|
1549
1549
|
node.text = text;
|
|
1550
1550
|
return node;
|
|
1551
1551
|
}
|
|
1552
|
-
|
|
1552
|
+
chunkG33GCWR5_cjs.__name(createJSDocLinkPlain, "createJSDocLinkPlain");
|
|
1553
1553
|
function createClassStaticBlockDeclaration(decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
1554
1554
|
const isShort = arguments.length <= 1;
|
|
1555
1555
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
@@ -1558,23 +1558,23 @@ function createNodeFactory(typescript) {
|
|
|
1558
1558
|
node.transformFlags = 8388608;
|
|
1559
1559
|
return node;
|
|
1560
1560
|
}
|
|
1561
|
-
|
|
1561
|
+
chunkG33GCWR5_cjs.__name(createClassStaticBlockDeclaration, "createClassStaticBlockDeclaration");
|
|
1562
1562
|
function updateClassStaticBlockDeclaration(node, decoratorsOrBody, modifiersOrUndefined, bodyOrUndefined) {
|
|
1563
1563
|
const isShort = arguments.length <= 2;
|
|
1564
1564
|
const body = isShort ? decoratorsOrBody : bodyOrUndefined;
|
|
1565
1565
|
return body === node.body ? node : typescript.setTextRange(createClassStaticBlockDeclaration(body), node);
|
|
1566
1566
|
}
|
|
1567
|
-
|
|
1567
|
+
chunkG33GCWR5_cjs.__name(updateClassStaticBlockDeclaration, "updateClassStaticBlockDeclaration");
|
|
1568
1568
|
function createSatisfiesExpression(expression, type) {
|
|
1569
1569
|
return {
|
|
1570
1570
|
...expression
|
|
1571
1571
|
};
|
|
1572
1572
|
}
|
|
1573
|
-
|
|
1573
|
+
chunkG33GCWR5_cjs.__name(createSatisfiesExpression, "createSatisfiesExpression");
|
|
1574
1574
|
function updateSatisfiesExpression(node, expression, type) {
|
|
1575
1575
|
return expression === node.expression && type === node.type ? node : typescript.setTextRange(createSatisfiesExpression(expression), node);
|
|
1576
1576
|
}
|
|
1577
|
-
|
|
1577
|
+
chunkG33GCWR5_cjs.__name(updateSatisfiesExpression, "updateSatisfiesExpression");
|
|
1578
1578
|
function createAssertClause(elements, multiLine) {
|
|
1579
1579
|
const node = typescript.createEmptyStatement();
|
|
1580
1580
|
node.elements = elements;
|
|
@@ -1582,7 +1582,7 @@ function createNodeFactory(typescript) {
|
|
|
1582
1582
|
node.transformFlags |= 4;
|
|
1583
1583
|
return node;
|
|
1584
1584
|
}
|
|
1585
|
-
|
|
1585
|
+
chunkG33GCWR5_cjs.__name(createAssertClause, "createAssertClause");
|
|
1586
1586
|
function createAssertEntry(name, value) {
|
|
1587
1587
|
const node = typescript.createEmptyStatement();
|
|
1588
1588
|
node.name = name;
|
|
@@ -1590,14 +1590,14 @@ function createNodeFactory(typescript) {
|
|
|
1590
1590
|
node.transformFlags |= 4;
|
|
1591
1591
|
return node;
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1593
|
+
chunkG33GCWR5_cjs.__name(createAssertEntry, "createAssertEntry");
|
|
1594
1594
|
function createImportTypeAssertionContainer(clause, multiLine) {
|
|
1595
1595
|
const node = typescript.createEmptyStatement();
|
|
1596
1596
|
node.assertClause = clause;
|
|
1597
1597
|
node.multiLine = multiLine;
|
|
1598
1598
|
return node;
|
|
1599
1599
|
}
|
|
1600
|
-
|
|
1600
|
+
chunkG33GCWR5_cjs.__name(createImportTypeAssertionContainer, "createImportTypeAssertionContainer");
|
|
1601
1601
|
function createImportTypeNode(argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined) {
|
|
1602
1602
|
if ("createImportTypeNode" in typescript) {
|
|
1603
1603
|
if (arguments.length < 5) {
|
|
@@ -1620,7 +1620,7 @@ function createNodeFactory(typescript) {
|
|
|
1620
1620
|
return node;
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
|
-
|
|
1623
|
+
chunkG33GCWR5_cjs.__name(createImportTypeNode, "createImportTypeNode");
|
|
1624
1624
|
function updateImportTypeNode(node, argument, assertionsOrQualifier, qualifierOrTypeArguments, typeArgumentsOrIsTypeOf, isTypeOfOrUndefined) {
|
|
1625
1625
|
if ("updateImportTypeNode" in typescript) {
|
|
1626
1626
|
if (arguments.length < 6) {
|
|
@@ -1636,7 +1636,7 @@ function createNodeFactory(typescript) {
|
|
|
1636
1636
|
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;
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
chunkG33GCWR5_cjs.__name(updateImportTypeNode, "updateImportTypeNode");
|
|
1640
1640
|
function createClassExpression(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1641
1641
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1642
1642
|
const modifiers = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[1] : modifiersOrName;
|
|
@@ -1646,7 +1646,7 @@ function createNodeFactory(typescript) {
|
|
|
1646
1646
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1647
1647
|
return typescript.createClassExpression(modifiers, name, typeParameters, heritageClauses, members);
|
|
1648
1648
|
}
|
|
1649
|
-
|
|
1649
|
+
chunkG33GCWR5_cjs.__name(createClassExpression, "createClassExpression");
|
|
1650
1650
|
function updateClassExpression(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1651
1651
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1652
1652
|
const modifiers = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[1] : modifiersOrName;
|
|
@@ -1656,7 +1656,7 @@ function createNodeFactory(typescript) {
|
|
|
1656
1656
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1657
1657
|
return typescript.updateClassExpression(node, modifiers, name, typeParameters, heritageClauses, members);
|
|
1658
1658
|
}
|
|
1659
|
-
|
|
1659
|
+
chunkG33GCWR5_cjs.__name(updateClassExpression, "updateClassExpression");
|
|
1660
1660
|
function createExportDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrUndefined) {
|
|
1661
1661
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 6 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1662
1662
|
const isShort = !isLong;
|
|
@@ -1667,7 +1667,7 @@ function createNodeFactory(typescript) {
|
|
|
1667
1667
|
const moduleSpecifier = isShort ? exportClauseOrModuleSpecifier : moduleSpecifierOrUndefined;
|
|
1668
1668
|
return typescript.createExportDeclaration(decorators, modifiers, exportClause, moduleSpecifier, isTypeOnly);
|
|
1669
1669
|
}
|
|
1670
|
-
|
|
1670
|
+
chunkG33GCWR5_cjs.__name(createExportDeclaration, "createExportDeclaration");
|
|
1671
1671
|
function updateExportDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrExportClause, exportClauseOrModuleSpecifier, moduleSpecifierOrUndefined) {
|
|
1672
1672
|
const isLong = typeof modifiersOrIsTypeOnly !== "boolean" && (arguments.length >= 7 || Array.isArray(modifiersOrIsTypeOnly));
|
|
1673
1673
|
const isShort = !isLong;
|
|
@@ -1678,7 +1678,7 @@ function createNodeFactory(typescript) {
|
|
|
1678
1678
|
const moduleSpecifier = isShort ? exportClauseOrModuleSpecifier : moduleSpecifierOrUndefined;
|
|
1679
1679
|
return typescript.updateExportDeclaration(node, decorators, modifiers, exportClause, moduleSpecifier, isTypeOnly);
|
|
1680
1680
|
}
|
|
1681
|
-
|
|
1681
|
+
chunkG33GCWR5_cjs.__name(updateExportDeclaration, "updateExportDeclaration");
|
|
1682
1682
|
function createConstructorDeclaration(decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1683
1683
|
const isShort = arguments.length <= 3;
|
|
1684
1684
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1687,7 +1687,7 @@ function createNodeFactory(typescript) {
|
|
|
1687
1687
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1688
1688
|
return typescript.createConstructor(decorators, modifiers, parameters, body);
|
|
1689
1689
|
}
|
|
1690
|
-
|
|
1690
|
+
chunkG33GCWR5_cjs.__name(createConstructorDeclaration, "createConstructorDeclaration");
|
|
1691
1691
|
function updateConstructorDeclaration(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1692
1692
|
const isShort = arguments.length <= 4;
|
|
1693
1693
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1696,7 +1696,7 @@ function createNodeFactory(typescript) {
|
|
|
1696
1696
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1697
1697
|
return typescript.updateConstructor(node, decorators, modifiers, parameters, body);
|
|
1698
1698
|
}
|
|
1699
|
-
|
|
1699
|
+
chunkG33GCWR5_cjs.__name(updateConstructorDeclaration, "updateConstructorDeclaration");
|
|
1700
1700
|
function createMethodDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1701
1701
|
const isShort = typeof asteriskTokenOrName === "string" || asteriskTokenOrName != null && asteriskTokenOrName.kind !== 41;
|
|
1702
1702
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1710,7 +1710,7 @@ function createNodeFactory(typescript) {
|
|
|
1710
1710
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1711
1711
|
return typescript.createMethod(decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
1712
1712
|
}
|
|
1713
|
-
|
|
1713
|
+
chunkG33GCWR5_cjs.__name(createMethodDeclaration, "createMethodDeclaration");
|
|
1714
1714
|
function updateMethodDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrQuestionToken, questionTokenOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1715
1715
|
const isShort = (asteriskTokenOrName === null || asteriskTokenOrName === void 0 ? void 0 : asteriskTokenOrName.kind) !== 41;
|
|
1716
1716
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1724,7 +1724,7 @@ function createNodeFactory(typescript) {
|
|
|
1724
1724
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1725
1725
|
return typescript.updateMethod(node, decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);
|
|
1726
1726
|
}
|
|
1727
|
-
|
|
1727
|
+
chunkG33GCWR5_cjs.__name(updateMethodDeclaration, "updateMethodDeclaration");
|
|
1728
1728
|
function createParameterDeclaration(decoratorsOrModifiers, modifiersOrDotDotDotToken, dotDotDotTokenOrName, nameOrQuestionToken, questionTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1729
1729
|
const isShort = typeof dotDotDotTokenOrName === "string" || dotDotDotTokenOrName != null && dotDotDotTokenOrName.kind !== 25;
|
|
1730
1730
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1736,7 +1736,7 @@ function createNodeFactory(typescript) {
|
|
|
1736
1736
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1737
1737
|
return typescript.createParameter(decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
1738
1738
|
}
|
|
1739
|
-
|
|
1739
|
+
chunkG33GCWR5_cjs.__name(createParameterDeclaration, "createParameterDeclaration");
|
|
1740
1740
|
function updateParameterDeclaration(node, decoratorsOrModifiers, modifiersOrDotDotDotToken, dotDotDotTokenOrName, nameOrQuestionToken, questionTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1741
1741
|
const isShort = typeof dotDotDotTokenOrName === "string" || dotDotDotTokenOrName != null && dotDotDotTokenOrName.kind !== 25;
|
|
1742
1742
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1748,7 +1748,7 @@ function createNodeFactory(typescript) {
|
|
|
1748
1748
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1749
1749
|
return typescript.updateParameter(node, decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer);
|
|
1750
1750
|
}
|
|
1751
|
-
|
|
1751
|
+
chunkG33GCWR5_cjs.__name(updateParameterDeclaration, "updateParameterDeclaration");
|
|
1752
1752
|
function createPropertyDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1753
1753
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1754
1754
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1759,7 +1759,7 @@ function createNodeFactory(typescript) {
|
|
|
1759
1759
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1760
1760
|
return typescript.createProperty(decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
1761
1761
|
}
|
|
1762
|
-
|
|
1762
|
+
chunkG33GCWR5_cjs.__name(createPropertyDeclaration, "createPropertyDeclaration");
|
|
1763
1763
|
function updatePropertyDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrQuestionOrExclamationToken, questionOrExclamationTokenOrType, typeOrInitializer, initializerOrUndefined) {
|
|
1764
1764
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1765
1765
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1770,7 +1770,7 @@ function createNodeFactory(typescript) {
|
|
|
1770
1770
|
const initializer = isShort ? typeOrInitializer : initializerOrUndefined;
|
|
1771
1771
|
return typescript.updateProperty(node, decorators, modifiers, name, questionOrExclamationToken, type, initializer);
|
|
1772
1772
|
}
|
|
1773
|
-
|
|
1773
|
+
chunkG33GCWR5_cjs.__name(updatePropertyDeclaration, "updatePropertyDeclaration");
|
|
1774
1774
|
function createSetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1775
1775
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1776
1776
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1780,7 +1780,7 @@ function createNodeFactory(typescript) {
|
|
|
1780
1780
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1781
1781
|
return typescript.createSetAccessor(decorators, modifiers, name, parameters, body);
|
|
1782
1782
|
}
|
|
1783
|
-
|
|
1783
|
+
chunkG33GCWR5_cjs.__name(createSetAccessorDeclaration, "createSetAccessorDeclaration");
|
|
1784
1784
|
function updateSetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrBody, bodyOrUndefined) {
|
|
1785
1785
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1786
1786
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1790,7 +1790,7 @@ function createNodeFactory(typescript) {
|
|
|
1790
1790
|
const body = isShort ? parametersOrBody : bodyOrUndefined;
|
|
1791
1791
|
return typescript.updateSetAccessor(node, decorators, modifiers, name, parameters, body);
|
|
1792
1792
|
}
|
|
1793
|
-
|
|
1793
|
+
chunkG33GCWR5_cjs.__name(updateSetAccessorDeclaration, "updateSetAccessorDeclaration");
|
|
1794
1794
|
function createGetAccessorDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1795
1795
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1796
1796
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1801,7 +1801,7 @@ function createNodeFactory(typescript) {
|
|
|
1801
1801
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1802
1802
|
return typescript.createGetAccessor(decorators, modifiers, name, parameters, type, body);
|
|
1803
1803
|
}
|
|
1804
|
-
|
|
1804
|
+
chunkG33GCWR5_cjs.__name(createGetAccessorDeclaration, "createGetAccessorDeclaration");
|
|
1805
1805
|
function updateGetAccessorDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1806
1806
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName);
|
|
1807
1807
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1812,7 +1812,7 @@ function createNodeFactory(typescript) {
|
|
|
1812
1812
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1813
1813
|
return typescript.updateGetAccessor(node, decorators, modifiers, name, parameters, type, body);
|
|
1814
1814
|
}
|
|
1815
|
-
|
|
1815
|
+
chunkG33GCWR5_cjs.__name(updateGetAccessorDeclaration, "updateGetAccessorDeclaration");
|
|
1816
1816
|
function createImportEqualsDeclaration(decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
1817
1817
|
const isShort = arguments.length <= 4;
|
|
1818
1818
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1827,7 +1827,7 @@ function createNodeFactory(typescript) {
|
|
|
1827
1827
|
return typescript.createImportEqualsDeclaration(decorators, modifiers, isTypeOnly, normalizedName, moduleReference);
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
|
-
|
|
1830
|
+
chunkG33GCWR5_cjs.__name(createImportEqualsDeclaration, "createImportEqualsDeclaration");
|
|
1831
1831
|
function updateImportEqualsDeclaration(node, decoratorsOrModifiers, modifiersOrIsTypeOnly, isTypeOnlyOrName, nameOrModuleReference, moduleReferenceOrUndefined) {
|
|
1832
1832
|
const isShort = arguments.length <= 5;
|
|
1833
1833
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1842,7 +1842,7 @@ function createNodeFactory(typescript) {
|
|
|
1842
1842
|
return typescript.updateImportEqualsDeclaration(node, decorators, modifiers, isTypeOnly, normalizedName, moduleReference);
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
|
-
|
|
1845
|
+
chunkG33GCWR5_cjs.__name(updateImportEqualsDeclaration, "updateImportEqualsDeclaration");
|
|
1846
1846
|
function createIndexSignature(decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1847
1847
|
const isShort = arguments.length <= 3;
|
|
1848
1848
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1851,7 +1851,7 @@ function createNodeFactory(typescript) {
|
|
|
1851
1851
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
1852
1852
|
return typescript.createIndexSignature(decorators, modifiers, parameters, type);
|
|
1853
1853
|
}
|
|
1854
|
-
|
|
1854
|
+
chunkG33GCWR5_cjs.__name(createIndexSignature, "createIndexSignature");
|
|
1855
1855
|
function updateIndexSignature(node, decoratorsOrModifiers, modifiersOrParameters, parametersOrType, typeOrUndefined) {
|
|
1856
1856
|
const isShort = arguments.length <= 4;
|
|
1857
1857
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1860,7 +1860,7 @@ function createNodeFactory(typescript) {
|
|
|
1860
1860
|
const type = isShort ? parametersOrType : typeOrUndefined;
|
|
1861
1861
|
return typescript.updateIndexSignature(node, decorators, modifiers, parameters, type);
|
|
1862
1862
|
}
|
|
1863
|
-
|
|
1863
|
+
chunkG33GCWR5_cjs.__name(updateIndexSignature, "updateIndexSignature");
|
|
1864
1864
|
function createImportDeclaration(decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1865
1865
|
const isShort = modifiersOrImportClause != null && !Array.isArray(modifiersOrImportClause);
|
|
1866
1866
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1870,7 +1870,7 @@ function createNodeFactory(typescript) {
|
|
|
1870
1870
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1871
1871
|
return typescript.createImportDeclaration(decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
1872
1872
|
}
|
|
1873
|
-
|
|
1873
|
+
chunkG33GCWR5_cjs.__name(createImportDeclaration, "createImportDeclaration");
|
|
1874
1874
|
function updateImportDeclaration(node, decoratorsOrModifiers, modifiersOrImportClause, importClauseOrModuleSpecifier, moduleSpecifierOrAssertClause, assertClauseOrUndefined) {
|
|
1875
1875
|
const isShort = importClauseOrModuleSpecifier != null && importClauseOrModuleSpecifier.kind !== 267;
|
|
1876
1876
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1880,7 +1880,7 @@ function createNodeFactory(typescript) {
|
|
|
1880
1880
|
const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
|
|
1881
1881
|
return typescript.updateImportDeclaration(node, decorators, modifiers, importClause, moduleSpecifier, assertClause);
|
|
1882
1882
|
}
|
|
1883
|
-
|
|
1883
|
+
chunkG33GCWR5_cjs.__name(updateImportDeclaration, "updateImportDeclaration");
|
|
1884
1884
|
const createPrivateIdentifier = (_a = typescript.createPrivateIdentifier) !== null && _a !== void 0 ? _a : /* @__PURE__ */ (() => function(text) {
|
|
1885
1885
|
const node = typescript.createIdentifier(text);
|
|
1886
1886
|
return node;
|
|
@@ -1892,11 +1892,11 @@ function createNodeFactory(typescript) {
|
|
|
1892
1892
|
const node = createPrivateIdentifier(text !== null && text !== void 0 ? text : "");
|
|
1893
1893
|
return node;
|
|
1894
1894
|
}
|
|
1895
|
-
|
|
1895
|
+
chunkG33GCWR5_cjs.__name(createUniquePrivateName, "createUniquePrivateName");
|
|
1896
1896
|
function getGeneratedPrivateNameForNode(node) {
|
|
1897
1897
|
return createPrivateIdentifier("");
|
|
1898
1898
|
}
|
|
1899
|
-
|
|
1899
|
+
chunkG33GCWR5_cjs.__name(getGeneratedPrivateNameForNode, "getGeneratedPrivateNameForNode");
|
|
1900
1900
|
function createTypeAliasDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
1901
1901
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1902
1902
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1906,7 +1906,7 @@ function createNodeFactory(typescript) {
|
|
|
1906
1906
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
1907
1907
|
return typescript.createTypeAliasDeclaration(decorators, modifiers, name, typeParameters, type);
|
|
1908
1908
|
}
|
|
1909
|
-
|
|
1909
|
+
chunkG33GCWR5_cjs.__name(createTypeAliasDeclaration, "createTypeAliasDeclaration");
|
|
1910
1910
|
function updateTypeAliasDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrType, typeOrUndefined) {
|
|
1911
1911
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1912
1912
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1916,7 +1916,7 @@ function createNodeFactory(typescript) {
|
|
|
1916
1916
|
const type = isShort ? typeParametersOrType : typeOrUndefined;
|
|
1917
1917
|
return typescript.updateTypeAliasDeclaration(node, decorators, modifiers, name, typeParameters, type);
|
|
1918
1918
|
}
|
|
1919
|
-
|
|
1919
|
+
chunkG33GCWR5_cjs.__name(updateTypeAliasDeclaration, "updateTypeAliasDeclaration");
|
|
1920
1920
|
function createFunctionDeclaration(decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1921
1921
|
const isShort = arguments.length <= 7;
|
|
1922
1922
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1929,7 +1929,7 @@ function createNodeFactory(typescript) {
|
|
|
1929
1929
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1930
1930
|
return typescript.createFunctionDeclaration(decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
1931
1931
|
}
|
|
1932
|
-
|
|
1932
|
+
chunkG33GCWR5_cjs.__name(createFunctionDeclaration, "createFunctionDeclaration");
|
|
1933
1933
|
function updateFunctionDeclaration(node, decoratorsOrModifiers, modifiersOrAsteriskToken, asteriskTokenOrName, nameOrTypeParameters, typeParametersOrParameters, parametersOrType, typeOrBody, bodyOrUndefined) {
|
|
1934
1934
|
const isShort = arguments.length <= 8;
|
|
1935
1935
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1942,7 +1942,7 @@ function createNodeFactory(typescript) {
|
|
|
1942
1942
|
const body = isShort ? typeOrBody : bodyOrUndefined;
|
|
1943
1943
|
return typescript.updateFunctionDeclaration(node, decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body);
|
|
1944
1944
|
}
|
|
1945
|
-
|
|
1945
|
+
chunkG33GCWR5_cjs.__name(updateFunctionDeclaration, "updateFunctionDeclaration");
|
|
1946
1946
|
function createClassDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1947
1947
|
const isShort = arguments.length <= 5;
|
|
1948
1948
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1953,7 +1953,7 @@ function createNodeFactory(typescript) {
|
|
|
1953
1953
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1954
1954
|
return typescript.createClassDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1955
1955
|
}
|
|
1956
|
-
|
|
1956
|
+
chunkG33GCWR5_cjs.__name(createClassDeclaration, "createClassDeclaration");
|
|
1957
1957
|
function updateClassDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1958
1958
|
const isShort = arguments.length <= 6;
|
|
1959
1959
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1964,7 +1964,7 @@ function createNodeFactory(typescript) {
|
|
|
1964
1964
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1965
1965
|
return typescript.updateClassDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1966
1966
|
}
|
|
1967
|
-
|
|
1967
|
+
chunkG33GCWR5_cjs.__name(updateClassDeclaration, "updateClassDeclaration");
|
|
1968
1968
|
function createInterfaceDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1969
1969
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1970
1970
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1975,7 +1975,7 @@ function createNodeFactory(typescript) {
|
|
|
1975
1975
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1976
1976
|
return typescript.createInterfaceDeclaration(decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1977
1977
|
}
|
|
1978
|
-
|
|
1978
|
+
chunkG33GCWR5_cjs.__name(createInterfaceDeclaration, "createInterfaceDeclaration");
|
|
1979
1979
|
function updateInterfaceDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrTypeParameters, typeParametersOrHeritageClauses, heritageClausesOrMembers, membersOrUndefined) {
|
|
1980
1980
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1981
1981
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1986,7 +1986,7 @@ function createNodeFactory(typescript) {
|
|
|
1986
1986
|
const members = isShort ? heritageClausesOrMembers : membersOrUndefined;
|
|
1987
1987
|
return typescript.updateInterfaceDeclaration(node, decorators, modifiers, name, typeParameters, heritageClauses, members);
|
|
1988
1988
|
}
|
|
1989
|
-
|
|
1989
|
+
chunkG33GCWR5_cjs.__name(updateInterfaceDeclaration, "updateInterfaceDeclaration");
|
|
1990
1990
|
function createEnumDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
1991
1991
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
1992
1992
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -1995,7 +1995,7 @@ function createNodeFactory(typescript) {
|
|
|
1995
1995
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
1996
1996
|
return typescript.createEnumDeclaration(decorators, modifiers, name, members);
|
|
1997
1997
|
}
|
|
1998
|
-
|
|
1998
|
+
chunkG33GCWR5_cjs.__name(createEnumDeclaration, "createEnumDeclaration");
|
|
1999
1999
|
function updateEnumDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrMembers, membersOrUndefined) {
|
|
2000
2000
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
2001
2001
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -2004,7 +2004,7 @@ function createNodeFactory(typescript) {
|
|
|
2004
2004
|
const members = isShort ? nameOrMembers : membersOrUndefined;
|
|
2005
2005
|
return typescript.updateEnumDeclaration(node, decorators, modifiers, name, members);
|
|
2006
2006
|
}
|
|
2007
|
-
|
|
2007
|
+
chunkG33GCWR5_cjs.__name(updateEnumDeclaration, "updateEnumDeclaration");
|
|
2008
2008
|
function createModuleDeclaration(decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrFlags, flagsOrUndefined) {
|
|
2009
2009
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
2010
2010
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -2014,7 +2014,7 @@ function createNodeFactory(typescript) {
|
|
|
2014
2014
|
const flags = isShort ? bodyOrFlags : flagsOrUndefined;
|
|
2015
2015
|
return typescript.createModuleDeclaration(decorators, modifiers, name, body, flags);
|
|
2016
2016
|
}
|
|
2017
|
-
|
|
2017
|
+
chunkG33GCWR5_cjs.__name(createModuleDeclaration, "createModuleDeclaration");
|
|
2018
2018
|
function updateModuleDeclaration(node, decoratorsOrModifiers, modifiersOrName, nameOrBody, bodyOrUndefined) {
|
|
2019
2019
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && ("escapedText" in modifiersOrName || "_literalExpressionBrand" in modifiersOrName);
|
|
2020
2020
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -2023,7 +2023,7 @@ function createNodeFactory(typescript) {
|
|
|
2023
2023
|
const body = isShort ? nameOrBody : bodyOrUndefined;
|
|
2024
2024
|
return typescript.updateModuleDeclaration(node, decorators, modifiers, name, body);
|
|
2025
2025
|
}
|
|
2026
|
-
|
|
2026
|
+
chunkG33GCWR5_cjs.__name(updateModuleDeclaration, "updateModuleDeclaration");
|
|
2027
2027
|
function createExportAssignment(decoratorsOrModifiers, modifiersOrIsExportEquals, isExportEqualsOrExpression, expressionOrUndefined) {
|
|
2028
2028
|
const isShort = arguments.length <= 3;
|
|
2029
2029
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -2032,7 +2032,7 @@ function createNodeFactory(typescript) {
|
|
|
2032
2032
|
const expression = isShort ? isExportEqualsOrExpression : expressionOrUndefined;
|
|
2033
2033
|
return typescript.createExportAssignment(decorators, modifiers, isExportEquals, expression);
|
|
2034
2034
|
}
|
|
2035
|
-
|
|
2035
|
+
chunkG33GCWR5_cjs.__name(createExportAssignment, "createExportAssignment");
|
|
2036
2036
|
function updateExportAssignment(node, decoratorsOrModifiers, modifiersOrExpression, expressionOrUndefined) {
|
|
2037
2037
|
const isShort = arguments.length <= 3;
|
|
2038
2038
|
const decorators = isShort ? splitDecoratorsAndModifiers(decoratorsOrModifiers)[0] : decoratorsOrModifiers;
|
|
@@ -2040,7 +2040,7 @@ function createNodeFactory(typescript) {
|
|
|
2040
2040
|
const expression = isShort ? modifiersOrExpression : expressionOrUndefined;
|
|
2041
2041
|
return typescript.updateExportAssignment(node, decorators, modifiers, expression);
|
|
2042
2042
|
}
|
|
2043
|
-
|
|
2043
|
+
chunkG33GCWR5_cjs.__name(updateExportAssignment, "updateExportAssignment");
|
|
2044
2044
|
function createTypeParameterDeclaration(modifiersOrName, nameOrConstraint, constraintOrDefaultType, defaultTypeOrUndefined) {
|
|
2045
2045
|
const isShort = typeof modifiersOrName === "string" || modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
2046
2046
|
const modifiers = isShort ? void 0 : modifiersOrName;
|
|
@@ -2053,7 +2053,7 @@ function createNodeFactory(typescript) {
|
|
|
2053
2053
|
}
|
|
2054
2054
|
return typeParameterDeclaration;
|
|
2055
2055
|
}
|
|
2056
|
-
|
|
2056
|
+
chunkG33GCWR5_cjs.__name(createTypeParameterDeclaration, "createTypeParameterDeclaration");
|
|
2057
2057
|
function updateTypeParameterDeclaration(node, modifiersOrName, nameOrConstraint, constraintOrDefaultType, defaultTypeOrUndefined) {
|
|
2058
2058
|
const isShort = modifiersOrName != null && !Array.isArray(modifiersOrName) && "escapedText" in modifiersOrName;
|
|
2059
2059
|
const modifiers = isShort ? void 0 : modifiersOrName;
|
|
@@ -2066,7 +2066,7 @@ function createNodeFactory(typescript) {
|
|
|
2066
2066
|
}
|
|
2067
2067
|
return typeParameterDeclaration;
|
|
2068
2068
|
}
|
|
2069
|
-
|
|
2069
|
+
chunkG33GCWR5_cjs.__name(updateTypeParameterDeclaration, "updateTypeParameterDeclaration");
|
|
2070
2070
|
const { updateSourceFileNode, ...common } = typescript;
|
|
2071
2071
|
return {
|
|
2072
2072
|
["__compatUpgraded"]: true,
|
|
@@ -2670,44 +2670,44 @@ function createNodeFactory(typescript) {
|
|
|
2670
2670
|
}
|
|
2671
2671
|
};
|
|
2672
2672
|
}
|
|
2673
|
-
|
|
2673
|
+
chunkG33GCWR5_cjs.__name(createNodeFactory, "createNodeFactory");
|
|
2674
2674
|
function cloneIdentifier(node, options) {
|
|
2675
2675
|
const text = "text" in node ? node.text : options.typescript.unescapeLeadingUnderscores(node.escapedText);
|
|
2676
2676
|
return options.factory.createIdentifier(options.hook("text", text, text));
|
|
2677
2677
|
}
|
|
2678
|
-
|
|
2678
|
+
chunkG33GCWR5_cjs.__name(cloneIdentifier, "cloneIdentifier");
|
|
2679
2679
|
function cloneTypeAliasDeclaration(node, options) {
|
|
2680
2680
|
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));
|
|
2681
2681
|
}
|
|
2682
|
-
|
|
2682
|
+
chunkG33GCWR5_cjs.__name(cloneTypeAliasDeclaration, "cloneTypeAliasDeclaration");
|
|
2683
2683
|
function cloneToken(node, options) {
|
|
2684
2684
|
return options.factory.createToken(options.hook("kind", node.kind, node.kind));
|
|
2685
2685
|
}
|
|
2686
|
-
|
|
2686
|
+
chunkG33GCWR5_cjs.__name(cloneToken, "cloneToken");
|
|
2687
2687
|
function cloneDecorator(node, options) {
|
|
2688
2688
|
return options.factory.createDecorator(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2689
2689
|
}
|
|
2690
|
-
|
|
2690
|
+
chunkG33GCWR5_cjs.__name(cloneDecorator, "cloneDecorator");
|
|
2691
2691
|
function cloneTypeParameterDeclaration(node, options) {
|
|
2692
2692
|
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));
|
|
2693
2693
|
}
|
|
2694
|
-
|
|
2694
|
+
chunkG33GCWR5_cjs.__name(cloneTypeParameterDeclaration, "cloneTypeParameterDeclaration");
|
|
2695
2695
|
function cloneQualifiedName(node, options) {
|
|
2696
2696
|
return options.factory.createQualifiedName(options.hook("left", options.nextNode(node.left), node.left), options.hook("right", options.nextNode(node.right), node.right));
|
|
2697
2697
|
}
|
|
2698
|
-
|
|
2698
|
+
chunkG33GCWR5_cjs.__name(cloneQualifiedName, "cloneQualifiedName");
|
|
2699
2699
|
function cloneComputedPropertyName(node, options) {
|
|
2700
2700
|
return options.factory.createComputedPropertyName(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2701
2701
|
}
|
|
2702
|
-
|
|
2702
|
+
chunkG33GCWR5_cjs.__name(cloneComputedPropertyName, "cloneComputedPropertyName");
|
|
2703
2703
|
function cloneCallSignatureDeclaration(node, options) {
|
|
2704
2704
|
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));
|
|
2705
2705
|
}
|
|
2706
|
-
|
|
2706
|
+
chunkG33GCWR5_cjs.__name(cloneCallSignatureDeclaration, "cloneCallSignatureDeclaration");
|
|
2707
2707
|
function cloneConstructSignatureDeclaration(node, options) {
|
|
2708
2708
|
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));
|
|
2709
2709
|
}
|
|
2710
|
-
|
|
2710
|
+
chunkG33GCWR5_cjs.__name(cloneConstructSignatureDeclaration, "cloneConstructSignatureDeclaration");
|
|
2711
2711
|
function cloneVariableDeclaration(node, options) {
|
|
2712
2712
|
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));
|
|
2713
2713
|
if (node.initializer != null && clonedVariableDeclaration.initializer != null && !options.typescript.isParenthesizedExpression(node.initializer) && options.typescript.isParenthesizedExpression(clonedVariableDeclaration.initializer)) {
|
|
@@ -2715,31 +2715,31 @@ function cloneVariableDeclaration(node, options) {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
return clonedVariableDeclaration;
|
|
2717
2717
|
}
|
|
2718
|
-
|
|
2718
|
+
chunkG33GCWR5_cjs.__name(cloneVariableDeclaration, "cloneVariableDeclaration");
|
|
2719
2719
|
function cloneVariableDeclarationList(node, options) {
|
|
2720
2720
|
return options.factory.createVariableDeclarationList(options.hook("declarations", options.nextNodes(node.declarations), node.declarations), options.hook("flags", node.flags, node.flags));
|
|
2721
2721
|
}
|
|
2722
|
-
|
|
2722
|
+
chunkG33GCWR5_cjs.__name(cloneVariableDeclarationList, "cloneVariableDeclarationList");
|
|
2723
2723
|
function cloneVariableStatement(node, options) {
|
|
2724
2724
|
return options.factory.createVariableStatement(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.hook("declarationList", options.nextNode(node.declarationList), node.declarationList));
|
|
2725
2725
|
}
|
|
2726
|
-
|
|
2726
|
+
chunkG33GCWR5_cjs.__name(cloneVariableStatement, "cloneVariableStatement");
|
|
2727
2727
|
function cloneParameterDeclaration(node, options) {
|
|
2728
2728
|
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));
|
|
2729
2729
|
}
|
|
2730
|
-
|
|
2730
|
+
chunkG33GCWR5_cjs.__name(cloneParameterDeclaration, "cloneParameterDeclaration");
|
|
2731
2731
|
function cloneBindingElement(node, options) {
|
|
2732
2732
|
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));
|
|
2733
2733
|
}
|
|
2734
|
-
|
|
2734
|
+
chunkG33GCWR5_cjs.__name(cloneBindingElement, "cloneBindingElement");
|
|
2735
2735
|
function clonePropertySignature(node, options) {
|
|
2736
2736
|
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));
|
|
2737
2737
|
}
|
|
2738
|
-
|
|
2738
|
+
chunkG33GCWR5_cjs.__name(clonePropertySignature, "clonePropertySignature");
|
|
2739
2739
|
function clonePropertyDeclaration(node, options) {
|
|
2740
2740
|
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));
|
|
2741
2741
|
}
|
|
2742
|
-
|
|
2742
|
+
chunkG33GCWR5_cjs.__name(clonePropertyDeclaration, "clonePropertyDeclaration");
|
|
2743
2743
|
function clonePropertyAssignment(node, options) {
|
|
2744
2744
|
const clonedPropertyAssignment = options.factory.createPropertyAssignment(options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
2745
2745
|
if (!options.typescript.isParenthesizedExpression(node.initializer) && options.typescript.isParenthesizedExpression(clonedPropertyAssignment.initializer)) {
|
|
@@ -2747,55 +2747,55 @@ function clonePropertyAssignment(node, options) {
|
|
|
2747
2747
|
}
|
|
2748
2748
|
return clonedPropertyAssignment;
|
|
2749
2749
|
}
|
|
2750
|
-
|
|
2750
|
+
chunkG33GCWR5_cjs.__name(clonePropertyAssignment, "clonePropertyAssignment");
|
|
2751
2751
|
function cloneShorthandPropertyAssignment(node, options) {
|
|
2752
2752
|
return options.factory.createShorthandPropertyAssignment(options.hook("name", options.nextNode(node.name), node.name), options.hook("objectAssignmentInitializer", options.nextNode(node.objectAssignmentInitializer), node.objectAssignmentInitializer));
|
|
2753
2753
|
}
|
|
2754
|
-
|
|
2754
|
+
chunkG33GCWR5_cjs.__name(cloneShorthandPropertyAssignment, "cloneShorthandPropertyAssignment");
|
|
2755
2755
|
function cloneSpreadAssignment(node, options) {
|
|
2756
2756
|
return options.factory.createSpreadAssignment(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2757
2757
|
}
|
|
2758
|
-
|
|
2758
|
+
chunkG33GCWR5_cjs.__name(cloneSpreadAssignment, "cloneSpreadAssignment");
|
|
2759
2759
|
function cloneObjectBindingPattern(node, options) {
|
|
2760
2760
|
return options.factory.createObjectBindingPattern(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2761
2761
|
}
|
|
2762
|
-
|
|
2762
|
+
chunkG33GCWR5_cjs.__name(cloneObjectBindingPattern, "cloneObjectBindingPattern");
|
|
2763
2763
|
function cloneArrayBindingPattern(node, options) {
|
|
2764
2764
|
return options.factory.createArrayBindingPattern(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2765
2765
|
}
|
|
2766
|
-
|
|
2766
|
+
chunkG33GCWR5_cjs.__name(cloneArrayBindingPattern, "cloneArrayBindingPattern");
|
|
2767
2767
|
function cloneFunctionDeclaration(node, options) {
|
|
2768
2768
|
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));
|
|
2769
2769
|
}
|
|
2770
|
-
|
|
2770
|
+
chunkG33GCWR5_cjs.__name(cloneFunctionDeclaration, "cloneFunctionDeclaration");
|
|
2771
2771
|
function cloneMethodSignature(node, options) {
|
|
2772
2772
|
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));
|
|
2773
2773
|
}
|
|
2774
|
-
|
|
2774
|
+
chunkG33GCWR5_cjs.__name(cloneMethodSignature, "cloneMethodSignature");
|
|
2775
2775
|
function cloneMethodDeclaration(node, options) {
|
|
2776
2776
|
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));
|
|
2777
2777
|
}
|
|
2778
|
-
|
|
2778
|
+
chunkG33GCWR5_cjs.__name(cloneMethodDeclaration, "cloneMethodDeclaration");
|
|
2779
2779
|
function cloneConstructorDeclaration(node, options) {
|
|
2780
2780
|
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));
|
|
2781
2781
|
}
|
|
2782
|
-
|
|
2782
|
+
chunkG33GCWR5_cjs.__name(cloneConstructorDeclaration, "cloneConstructorDeclaration");
|
|
2783
2783
|
function cloneSemicolonClassElement(_node, options) {
|
|
2784
2784
|
return options.factory.createSemicolonClassElement();
|
|
2785
2785
|
}
|
|
2786
|
-
|
|
2786
|
+
chunkG33GCWR5_cjs.__name(cloneSemicolonClassElement, "cloneSemicolonClassElement");
|
|
2787
2787
|
function cloneGetAccessorDeclaration(node, options) {
|
|
2788
2788
|
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));
|
|
2789
2789
|
}
|
|
2790
|
-
|
|
2790
|
+
chunkG33GCWR5_cjs.__name(cloneGetAccessorDeclaration, "cloneGetAccessorDeclaration");
|
|
2791
2791
|
function cloneSetAccessorDeclaration(node, options) {
|
|
2792
2792
|
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));
|
|
2793
2793
|
}
|
|
2794
|
-
|
|
2794
|
+
chunkG33GCWR5_cjs.__name(cloneSetAccessorDeclaration, "cloneSetAccessorDeclaration");
|
|
2795
2795
|
function cloneIndexSignatureDeclaration(node, options) {
|
|
2796
2796
|
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));
|
|
2797
2797
|
}
|
|
2798
|
-
|
|
2798
|
+
chunkG33GCWR5_cjs.__name(cloneIndexSignatureDeclaration, "cloneIndexSignatureDeclaration");
|
|
2799
2799
|
function isKeywordTypeNode(node, typescript) {
|
|
2800
2800
|
switch (node.kind) {
|
|
2801
2801
|
case typescript.SyntaxKind.AnyKeyword:
|
|
@@ -2813,65 +2813,65 @@ function isKeywordTypeNode(node, typescript) {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
return false;
|
|
2815
2815
|
}
|
|
2816
|
-
|
|
2816
|
+
chunkG33GCWR5_cjs.__name(isKeywordTypeNode, "isKeywordTypeNode");
|
|
2817
2817
|
function cloneKeywordTypeNode(node, options) {
|
|
2818
2818
|
return options.factory.createKeywordTypeNode(options.hook("kind", node.kind, node.kind));
|
|
2819
2819
|
}
|
|
2820
|
-
|
|
2820
|
+
chunkG33GCWR5_cjs.__name(cloneKeywordTypeNode, "cloneKeywordTypeNode");
|
|
2821
2821
|
function cloneImportTypeNode(node, options) {
|
|
2822
2822
|
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));
|
|
2823
2823
|
}
|
|
2824
|
-
|
|
2824
|
+
chunkG33GCWR5_cjs.__name(cloneImportTypeNode, "cloneImportTypeNode");
|
|
2825
2825
|
function cloneThisTypeNode(_node, options) {
|
|
2826
2826
|
return options.factory.createThisTypeNode();
|
|
2827
2827
|
}
|
|
2828
|
-
|
|
2828
|
+
chunkG33GCWR5_cjs.__name(cloneThisTypeNode, "cloneThisTypeNode");
|
|
2829
2829
|
function cloneFunctionTypeNode(node, options) {
|
|
2830
2830
|
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));
|
|
2831
2831
|
}
|
|
2832
|
-
|
|
2832
|
+
chunkG33GCWR5_cjs.__name(cloneFunctionTypeNode, "cloneFunctionTypeNode");
|
|
2833
2833
|
function isNodeArray(item) {
|
|
2834
2834
|
return item != null && Array.isArray(item) && "pos" in item;
|
|
2835
2835
|
}
|
|
2836
|
-
|
|
2836
|
+
chunkG33GCWR5_cjs.__name(isNodeArray, "isNodeArray");
|
|
2837
2837
|
function ensureNodeArray(item, factory) {
|
|
2838
2838
|
if (item == null || isNodeArray(item)) return item;
|
|
2839
2839
|
return factory.createNodeArray(item);
|
|
2840
2840
|
}
|
|
2841
|
-
|
|
2841
|
+
chunkG33GCWR5_cjs.__name(ensureNodeArray, "ensureNodeArray");
|
|
2842
2842
|
function cloneConstructorTypeNode(node, options) {
|
|
2843
2843
|
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));
|
|
2844
2844
|
updatedNode.modifiers = ensureNodeArray(options.hook("modifiers", options.nextNodes(node.modifiers), node.modifiers), options.factory);
|
|
2845
2845
|
return updatedNode;
|
|
2846
2846
|
}
|
|
2847
|
-
|
|
2847
|
+
chunkG33GCWR5_cjs.__name(cloneConstructorTypeNode, "cloneConstructorTypeNode");
|
|
2848
2848
|
function cloneTypeReferenceNode(node, options) {
|
|
2849
2849
|
return options.factory.createTypeReferenceNode(options.hook("typeName", options.nextNode(node.typeName), node.typeName), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments));
|
|
2850
2850
|
}
|
|
2851
|
-
|
|
2851
|
+
chunkG33GCWR5_cjs.__name(cloneTypeReferenceNode, "cloneTypeReferenceNode");
|
|
2852
2852
|
function cloneTypePredicateNode(node, options) {
|
|
2853
2853
|
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));
|
|
2854
2854
|
}
|
|
2855
|
-
|
|
2855
|
+
chunkG33GCWR5_cjs.__name(cloneTypePredicateNode, "cloneTypePredicateNode");
|
|
2856
2856
|
function cloneSourceFile(node, options) {
|
|
2857
2857
|
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);
|
|
2858
2858
|
updatedSourceFile.pos = -1;
|
|
2859
2859
|
updatedSourceFile.end = -1;
|
|
2860
2860
|
return updatedSourceFile;
|
|
2861
2861
|
}
|
|
2862
|
-
|
|
2862
|
+
chunkG33GCWR5_cjs.__name(cloneSourceFile, "cloneSourceFile");
|
|
2863
2863
|
function cloneTypeQueryNode(node, options) {
|
|
2864
2864
|
return options.factory.createTypeQueryNode(options.hook("exprName", options.nextNode(node.exprName), node.exprName));
|
|
2865
2865
|
}
|
|
2866
|
-
|
|
2866
|
+
chunkG33GCWR5_cjs.__name(cloneTypeQueryNode, "cloneTypeQueryNode");
|
|
2867
2867
|
function cloneTypeLiteralNode(node, options) {
|
|
2868
2868
|
return options.factory.createTypeLiteralNode(options.hook("members", options.nextNodes(node.members), node.members));
|
|
2869
2869
|
}
|
|
2870
|
-
|
|
2870
|
+
chunkG33GCWR5_cjs.__name(cloneTypeLiteralNode, "cloneTypeLiteralNode");
|
|
2871
2871
|
function cloneArrayTypeNode(node, options) {
|
|
2872
2872
|
return options.factory.createArrayTypeNode(options.hook("elementType", options.nextNode(node.elementType), node.elementType));
|
|
2873
2873
|
}
|
|
2874
|
-
|
|
2874
|
+
chunkG33GCWR5_cjs.__name(cloneArrayTypeNode, "cloneArrayTypeNode");
|
|
2875
2875
|
function cloneTupleTypeNode(node, options) {
|
|
2876
2876
|
if ("elementTypes" in node) {
|
|
2877
2877
|
const castNode = node;
|
|
@@ -2880,45 +2880,45 @@ function cloneTupleTypeNode(node, options) {
|
|
|
2880
2880
|
return options.factory.createTupleTypeNode(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
|
-
|
|
2883
|
+
chunkG33GCWR5_cjs.__name(cloneTupleTypeNode, "cloneTupleTypeNode");
|
|
2884
2884
|
function cloneOptionalTypeNode(node, options) {
|
|
2885
2885
|
return options.factory.createOptionalTypeNode(options.hook("type", options.nextNode(node.type), node.type));
|
|
2886
2886
|
}
|
|
2887
|
-
|
|
2887
|
+
chunkG33GCWR5_cjs.__name(cloneOptionalTypeNode, "cloneOptionalTypeNode");
|
|
2888
2888
|
function isOptionalTypeNode(node, typescript) {
|
|
2889
2889
|
if ("isOptionalTypeNode" in typescript) {
|
|
2890
2890
|
return typescript.isOptionalTypeNode(node);
|
|
2891
2891
|
}
|
|
2892
2892
|
return node.kind === typescript.SyntaxKind.OptionalType;
|
|
2893
2893
|
}
|
|
2894
|
-
|
|
2894
|
+
chunkG33GCWR5_cjs.__name(isOptionalTypeNode, "isOptionalTypeNode");
|
|
2895
2895
|
function cloneRestTypeNode(node, options) {
|
|
2896
2896
|
return options.factory.createRestTypeNode(options.hook("type", options.nextNode(node.type), node.type));
|
|
2897
2897
|
}
|
|
2898
|
-
|
|
2898
|
+
chunkG33GCWR5_cjs.__name(cloneRestTypeNode, "cloneRestTypeNode");
|
|
2899
2899
|
function isRestTypeNode(node, typescript) {
|
|
2900
2900
|
if ("isRestTypeNode" in typescript) {
|
|
2901
2901
|
return typescript.isRestTypeNode(node);
|
|
2902
2902
|
}
|
|
2903
2903
|
return node.kind === typescript.SyntaxKind.RestType;
|
|
2904
2904
|
}
|
|
2905
|
-
|
|
2905
|
+
chunkG33GCWR5_cjs.__name(isRestTypeNode, "isRestTypeNode");
|
|
2906
2906
|
function cloneUnionTypeNode(node, options) {
|
|
2907
2907
|
return options.factory.createUnionTypeNode(options.hook("types", options.nextNodes(node.types), node.types));
|
|
2908
2908
|
}
|
|
2909
|
-
|
|
2909
|
+
chunkG33GCWR5_cjs.__name(cloneUnionTypeNode, "cloneUnionTypeNode");
|
|
2910
2910
|
function cloneIntersectionTypeNode(node, options) {
|
|
2911
2911
|
return options.factory.createIntersectionTypeNode(options.hook("types", options.nextNodes(node.types), node.types));
|
|
2912
2912
|
}
|
|
2913
|
-
|
|
2913
|
+
chunkG33GCWR5_cjs.__name(cloneIntersectionTypeNode, "cloneIntersectionTypeNode");
|
|
2914
2914
|
function cloneLiteralTypeNode(node, options) {
|
|
2915
2915
|
return options.factory.createLiteralTypeNode(options.hook("literal", options.nextNode(node.literal), node.literal));
|
|
2916
2916
|
}
|
|
2917
|
-
|
|
2917
|
+
chunkG33GCWR5_cjs.__name(cloneLiteralTypeNode, "cloneLiteralTypeNode");
|
|
2918
2918
|
function cloneStringLiteral(node, options) {
|
|
2919
2919
|
return options.factory.createStringLiteral(options.hook("text", node.text, node.text));
|
|
2920
2920
|
}
|
|
2921
|
-
|
|
2921
|
+
chunkG33GCWR5_cjs.__name(cloneStringLiteral, "cloneStringLiteral");
|
|
2922
2922
|
function isBooleanLiteral(node, typescript) {
|
|
2923
2923
|
switch (node.kind) {
|
|
2924
2924
|
case typescript.SyntaxKind.TrueKeyword:
|
|
@@ -2928,54 +2928,54 @@ function isBooleanLiteral(node, typescript) {
|
|
|
2928
2928
|
return false;
|
|
2929
2929
|
}
|
|
2930
2930
|
}
|
|
2931
|
-
|
|
2931
|
+
chunkG33GCWR5_cjs.__name(isBooleanLiteral, "isBooleanLiteral");
|
|
2932
2932
|
function cloneBooleanLiteral(node, options) {
|
|
2933
2933
|
if (node.kind === options.typescript.SyntaxKind.TrueKeyword) {
|
|
2934
2934
|
return options.factory.createTrue();
|
|
2935
2935
|
}
|
|
2936
2936
|
return options.factory.createFalse();
|
|
2937
2937
|
}
|
|
2938
|
-
|
|
2938
|
+
chunkG33GCWR5_cjs.__name(cloneBooleanLiteral, "cloneBooleanLiteral");
|
|
2939
2939
|
function clonePrefixUnaryExpression(node, options) {
|
|
2940
2940
|
return options.factory.createPrefixUnaryExpression(options.hook("operator", node.operator, node.operator), options.hook("operand", options.nextNode(node.operand), node.operand));
|
|
2941
2941
|
}
|
|
2942
|
-
|
|
2942
|
+
chunkG33GCWR5_cjs.__name(clonePrefixUnaryExpression, "clonePrefixUnaryExpression");
|
|
2943
2943
|
function cloneRegularExpressionLiteral(node, options) {
|
|
2944
2944
|
return options.factory.createRegularExpressionLiteral(options.hook("text", node.text, node.text));
|
|
2945
2945
|
}
|
|
2946
|
-
|
|
2946
|
+
chunkG33GCWR5_cjs.__name(cloneRegularExpressionLiteral, "cloneRegularExpressionLiteral");
|
|
2947
2947
|
function cloneNoSubstitutionTemplateLiteral(node, options) {
|
|
2948
2948
|
return options.factory.createNoSubstitutionTemplateLiteral(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.text));
|
|
2949
2949
|
}
|
|
2950
|
-
|
|
2950
|
+
chunkG33GCWR5_cjs.__name(cloneNoSubstitutionTemplateLiteral, "cloneNoSubstitutionTemplateLiteral");
|
|
2951
2951
|
function cloneNumericLiteral(node, options) {
|
|
2952
2952
|
return options.factory.createNumericLiteral(options.hook("text", node.text, node.text));
|
|
2953
2953
|
}
|
|
2954
|
-
|
|
2954
|
+
chunkG33GCWR5_cjs.__name(cloneNumericLiteral, "cloneNumericLiteral");
|
|
2955
2955
|
function cloneBigIntLiteral(node, options) {
|
|
2956
2956
|
return options.factory.createBigIntLiteral(options.hook("text", node.text, node.text));
|
|
2957
2957
|
}
|
|
2958
|
-
|
|
2958
|
+
chunkG33GCWR5_cjs.__name(cloneBigIntLiteral, "cloneBigIntLiteral");
|
|
2959
2959
|
function cloneConditionalTypeNode(node, options) {
|
|
2960
2960
|
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));
|
|
2961
2961
|
}
|
|
2962
|
-
|
|
2962
|
+
chunkG33GCWR5_cjs.__name(cloneConditionalTypeNode, "cloneConditionalTypeNode");
|
|
2963
2963
|
function cloneInferTypeNode(node, options) {
|
|
2964
2964
|
return options.factory.createInferTypeNode(options.hook("typeParameter", options.nextNode(node.typeParameter), node.typeParameter));
|
|
2965
2965
|
}
|
|
2966
|
-
|
|
2966
|
+
chunkG33GCWR5_cjs.__name(cloneInferTypeNode, "cloneInferTypeNode");
|
|
2967
2967
|
function cloneBlock(node, options) {
|
|
2968
2968
|
return options.factory.createBlock(options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
2969
2969
|
}
|
|
2970
|
-
|
|
2970
|
+
chunkG33GCWR5_cjs.__name(cloneBlock, "cloneBlock");
|
|
2971
2971
|
function cloneThrowStatement(node, options) {
|
|
2972
2972
|
return options.factory.createThrowStatement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2973
2973
|
}
|
|
2974
|
-
|
|
2974
|
+
chunkG33GCWR5_cjs.__name(cloneThrowStatement, "cloneThrowStatement");
|
|
2975
2975
|
function cloneNewExpression(node, options) {
|
|
2976
2976
|
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));
|
|
2977
2977
|
}
|
|
2978
|
-
|
|
2978
|
+
chunkG33GCWR5_cjs.__name(cloneNewExpression, "cloneNewExpression");
|
|
2979
2979
|
function cloneCallExpression(node, options) {
|
|
2980
2980
|
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));
|
|
2981
2981
|
for (let i = 0; i < clonedCallExpression.arguments.length; i++) {
|
|
@@ -2986,400 +2986,400 @@ function cloneCallExpression(node, options) {
|
|
|
2986
2986
|
}
|
|
2987
2987
|
return clonedCallExpression;
|
|
2988
2988
|
}
|
|
2989
|
-
|
|
2989
|
+
chunkG33GCWR5_cjs.__name(cloneCallExpression, "cloneCallExpression");
|
|
2990
2990
|
function cloneExpressionStatement(node, options) {
|
|
2991
2991
|
return options.factory.createExpressionStatement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
2992
2992
|
}
|
|
2993
|
-
|
|
2993
|
+
chunkG33GCWR5_cjs.__name(cloneExpressionStatement, "cloneExpressionStatement");
|
|
2994
2994
|
function cloneExpressionWithTypeArguments(node, options) {
|
|
2995
2995
|
return options.factory.createExpressionWithTypeArguments(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("typeArguments", options.nextNodes(node.typeArguments), node.typeArguments));
|
|
2996
2996
|
}
|
|
2997
|
-
|
|
2997
|
+
chunkG33GCWR5_cjs.__name(cloneExpressionWithTypeArguments, "cloneExpressionWithTypeArguments");
|
|
2998
2998
|
function clonePropertyAccessExpression(node, options) {
|
|
2999
2999
|
return options.factory.createPropertyAccessExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("name", options.nextNode(node.name), node.name));
|
|
3000
3000
|
}
|
|
3001
|
-
|
|
3001
|
+
chunkG33GCWR5_cjs.__name(clonePropertyAccessExpression, "clonePropertyAccessExpression");
|
|
3002
3002
|
function cloneElementAccessExpression(node, options) {
|
|
3003
3003
|
return options.factory.createElementAccessExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("argumentExpression", options.nextNode(node.argumentExpression), node.argumentExpression));
|
|
3004
3004
|
}
|
|
3005
|
-
|
|
3005
|
+
chunkG33GCWR5_cjs.__name(cloneElementAccessExpression, "cloneElementAccessExpression");
|
|
3006
3006
|
function cloneArrayLiteralExpression(node, options) {
|
|
3007
3007
|
return options.factory.createArrayLiteralExpression(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3008
3008
|
}
|
|
3009
|
-
|
|
3009
|
+
chunkG33GCWR5_cjs.__name(cloneArrayLiteralExpression, "cloneArrayLiteralExpression");
|
|
3010
3010
|
function cloneObjectLiteralExpression(node, options) {
|
|
3011
3011
|
return options.factory.createObjectLiteralExpression(options.hook("properties", options.nextNodes(node.properties), node.properties));
|
|
3012
3012
|
}
|
|
3013
|
-
|
|
3013
|
+
chunkG33GCWR5_cjs.__name(cloneObjectLiteralExpression, "cloneObjectLiteralExpression");
|
|
3014
3014
|
function cloneTemplateExpression(node, options) {
|
|
3015
3015
|
return options.factory.createTemplateExpression(options.hook("head", options.nextNode(node.head), node.head), options.hook("templateSpans", options.nextNodes(node.templateSpans), node.templateSpans));
|
|
3016
3016
|
}
|
|
3017
|
-
|
|
3017
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateExpression, "cloneTemplateExpression");
|
|
3018
3018
|
function cloneTemplateSpan(node, options) {
|
|
3019
3019
|
return options.factory.createTemplateSpan(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("literal", options.nextNode(node.literal), node.literal));
|
|
3020
3020
|
}
|
|
3021
|
-
|
|
3021
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateSpan, "cloneTemplateSpan");
|
|
3022
3022
|
function cloneTemplateHead(node, options) {
|
|
3023
3023
|
return options.factory.createTemplateHead(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.rawText));
|
|
3024
3024
|
}
|
|
3025
|
-
|
|
3025
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateHead, "cloneTemplateHead");
|
|
3026
3026
|
function cloneTemplateMiddle(node, options) {
|
|
3027
3027
|
return options.factory.createTemplateMiddle(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.rawText));
|
|
3028
3028
|
}
|
|
3029
|
-
|
|
3029
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateMiddle, "cloneTemplateMiddle");
|
|
3030
3030
|
function cloneTemplateTail(node, options) {
|
|
3031
3031
|
return options.factory.createTemplateTail(options.hook("text", node.text, node.text), options.hook("rawText", node.rawText, node.rawText));
|
|
3032
3032
|
}
|
|
3033
|
-
|
|
3033
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateTail, "cloneTemplateTail");
|
|
3034
3034
|
function cloneConditionalExpression(node, options) {
|
|
3035
3035
|
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));
|
|
3036
3036
|
}
|
|
3037
|
-
|
|
3037
|
+
chunkG33GCWR5_cjs.__name(cloneConditionalExpression, "cloneConditionalExpression");
|
|
3038
3038
|
function cloneBinaryExpression(node, options) {
|
|
3039
3039
|
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));
|
|
3040
3040
|
}
|
|
3041
|
-
|
|
3041
|
+
chunkG33GCWR5_cjs.__name(cloneBinaryExpression, "cloneBinaryExpression");
|
|
3042
3042
|
function cloneParenthesizedExpression(node, options) {
|
|
3043
3043
|
return options.factory.createParenthesizedExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3044
3044
|
}
|
|
3045
|
-
|
|
3045
|
+
chunkG33GCWR5_cjs.__name(cloneParenthesizedExpression, "cloneParenthesizedExpression");
|
|
3046
3046
|
function cloneParenthesizedTypeNode(node, options) {
|
|
3047
3047
|
return options.factory.createParenthesizedType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3048
3048
|
}
|
|
3049
|
-
|
|
3049
|
+
chunkG33GCWR5_cjs.__name(cloneParenthesizedTypeNode, "cloneParenthesizedTypeNode");
|
|
3050
3050
|
function cloneArrowFunction(node, options) {
|
|
3051
3051
|
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));
|
|
3052
3052
|
}
|
|
3053
|
-
|
|
3053
|
+
chunkG33GCWR5_cjs.__name(cloneArrowFunction, "cloneArrowFunction");
|
|
3054
3054
|
function cloneClassDeclaration(node, options) {
|
|
3055
3055
|
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));
|
|
3056
3056
|
}
|
|
3057
|
-
|
|
3057
|
+
chunkG33GCWR5_cjs.__name(cloneClassDeclaration, "cloneClassDeclaration");
|
|
3058
3058
|
function cloneClassExpression(node, options) {
|
|
3059
3059
|
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));
|
|
3060
3060
|
}
|
|
3061
|
-
|
|
3061
|
+
chunkG33GCWR5_cjs.__name(cloneClassExpression, "cloneClassExpression");
|
|
3062
3062
|
function cloneEnumDeclaration(node, options) {
|
|
3063
3063
|
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));
|
|
3064
3064
|
}
|
|
3065
|
-
|
|
3065
|
+
chunkG33GCWR5_cjs.__name(cloneEnumDeclaration, "cloneEnumDeclaration");
|
|
3066
3066
|
function cloneInterfaceDeclaration(node, options) {
|
|
3067
3067
|
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));
|
|
3068
3068
|
}
|
|
3069
|
-
|
|
3069
|
+
chunkG33GCWR5_cjs.__name(cloneInterfaceDeclaration, "cloneInterfaceDeclaration");
|
|
3070
3070
|
function cloneEnumMember(node, options) {
|
|
3071
3071
|
return options.factory.createEnumMember(options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
3072
3072
|
}
|
|
3073
|
-
|
|
3073
|
+
chunkG33GCWR5_cjs.__name(cloneEnumMember, "cloneEnumMember");
|
|
3074
3074
|
function cloneHeritageClause(node, options) {
|
|
3075
3075
|
return options.factory.createHeritageClause(options.hook("token", node.token, node.token), options.hook("types", options.nextNodes(node.types), node.types));
|
|
3076
3076
|
}
|
|
3077
|
-
|
|
3077
|
+
chunkG33GCWR5_cjs.__name(cloneHeritageClause, "cloneHeritageClause");
|
|
3078
3078
|
function cloneEmptyStatement(_node, options) {
|
|
3079
3079
|
return options.factory.createEmptyStatement();
|
|
3080
3080
|
}
|
|
3081
|
-
|
|
3081
|
+
chunkG33GCWR5_cjs.__name(cloneEmptyStatement, "cloneEmptyStatement");
|
|
3082
3082
|
function cloneTypeOperatorNode(node, options) {
|
|
3083
3083
|
return options.factory.createTypeOperatorNode(options.hook("operator", node.operator, node.operator), options.hook("type", options.nextNode(node.type), node.type));
|
|
3084
3084
|
}
|
|
3085
|
-
|
|
3085
|
+
chunkG33GCWR5_cjs.__name(cloneTypeOperatorNode, "cloneTypeOperatorNode");
|
|
3086
3086
|
function cloneIndexedAccessTypeNode(node, options) {
|
|
3087
3087
|
return options.factory.createIndexedAccessTypeNode(options.hook("objectType", options.nextNode(node.objectType), node.objectType), options.hook("indexType", options.nextNode(node.indexType), node.indexType));
|
|
3088
3088
|
}
|
|
3089
|
-
|
|
3089
|
+
chunkG33GCWR5_cjs.__name(cloneIndexedAccessTypeNode, "cloneIndexedAccessTypeNode");
|
|
3090
3090
|
function cloneMappedTypeNode(node, options) {
|
|
3091
3091
|
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));
|
|
3092
3092
|
}
|
|
3093
|
-
|
|
3093
|
+
chunkG33GCWR5_cjs.__name(cloneMappedTypeNode, "cloneMappedTypeNode");
|
|
3094
3094
|
function cloneOmittedExpression(_node, options) {
|
|
3095
3095
|
return options.factory.createOmittedExpression();
|
|
3096
3096
|
}
|
|
3097
|
-
|
|
3097
|
+
chunkG33GCWR5_cjs.__name(cloneOmittedExpression, "cloneOmittedExpression");
|
|
3098
3098
|
function clonePartiallyEmittedExpression(node, options) {
|
|
3099
3099
|
return options.factory.createPartiallyEmittedExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3100
3100
|
}
|
|
3101
|
-
|
|
3101
|
+
chunkG33GCWR5_cjs.__name(clonePartiallyEmittedExpression, "clonePartiallyEmittedExpression");
|
|
3102
3102
|
function isPartiallyEmittedExpression(node, typescript) {
|
|
3103
3103
|
if ("isPartiallyEmittedExpression" in typescript) {
|
|
3104
3104
|
return typescript.isPartiallyEmittedExpression(node);
|
|
3105
3105
|
}
|
|
3106
3106
|
return node.kind === typescript.SyntaxKind.PartiallyEmittedExpression;
|
|
3107
3107
|
}
|
|
3108
|
-
|
|
3108
|
+
chunkG33GCWR5_cjs.__name(isPartiallyEmittedExpression, "isPartiallyEmittedExpression");
|
|
3109
3109
|
function clonePostfixUnaryExpression(node, options) {
|
|
3110
3110
|
return options.factory.createPostfixUnaryExpression(options.hook("operand", options.nextNode(node.operand), node.operand), options.hook("operator", node.operator, node.operator));
|
|
3111
3111
|
}
|
|
3112
|
-
|
|
3112
|
+
chunkG33GCWR5_cjs.__name(clonePostfixUnaryExpression, "clonePostfixUnaryExpression");
|
|
3113
3113
|
function isNullLiteral(node, typescript) {
|
|
3114
3114
|
return node.kind === typescript.SyntaxKind.NullKeyword;
|
|
3115
3115
|
}
|
|
3116
|
-
|
|
3116
|
+
chunkG33GCWR5_cjs.__name(isNullLiteral, "isNullLiteral");
|
|
3117
3117
|
function cloneNullLiteral(_node, options) {
|
|
3118
3118
|
return options.factory.createNull();
|
|
3119
3119
|
}
|
|
3120
|
-
|
|
3120
|
+
chunkG33GCWR5_cjs.__name(cloneNullLiteral, "cloneNullLiteral");
|
|
3121
3121
|
function isThisExpression(node, typescript) {
|
|
3122
3122
|
return node.kind === typescript.SyntaxKind.ThisKeyword;
|
|
3123
3123
|
}
|
|
3124
|
-
|
|
3124
|
+
chunkG33GCWR5_cjs.__name(isThisExpression, "isThisExpression");
|
|
3125
3125
|
function cloneThisExpression(_node, options) {
|
|
3126
3126
|
return options.factory.createThis();
|
|
3127
3127
|
}
|
|
3128
|
-
|
|
3128
|
+
chunkG33GCWR5_cjs.__name(cloneThisExpression, "cloneThisExpression");
|
|
3129
3129
|
function cloneReturnStatement(node, options) {
|
|
3130
3130
|
return options.factory.createReturnStatement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3131
3131
|
}
|
|
3132
|
-
|
|
3132
|
+
chunkG33GCWR5_cjs.__name(cloneReturnStatement, "cloneReturnStatement");
|
|
3133
3133
|
function isSuperExpression(node, typescript) {
|
|
3134
3134
|
return node.kind === typescript.SyntaxKind.SuperKeyword;
|
|
3135
3135
|
}
|
|
3136
|
-
|
|
3136
|
+
chunkG33GCWR5_cjs.__name(isSuperExpression, "isSuperExpression");
|
|
3137
3137
|
function cloneSuperExpression(_node, options) {
|
|
3138
3138
|
return options.factory.createSuper();
|
|
3139
3139
|
}
|
|
3140
|
-
|
|
3140
|
+
chunkG33GCWR5_cjs.__name(cloneSuperExpression, "cloneSuperExpression");
|
|
3141
3141
|
function cloneDeleteExpression(node, options) {
|
|
3142
3142
|
return options.factory.createDeleteExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3143
3143
|
}
|
|
3144
|
-
|
|
3144
|
+
chunkG33GCWR5_cjs.__name(cloneDeleteExpression, "cloneDeleteExpression");
|
|
3145
3145
|
function cloneAsExpression(node, options) {
|
|
3146
3146
|
return options.factory.createAsExpression(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("type", options.nextNode(node.type), node.type));
|
|
3147
3147
|
}
|
|
3148
|
-
|
|
3148
|
+
chunkG33GCWR5_cjs.__name(cloneAsExpression, "cloneAsExpression");
|
|
3149
3149
|
function cloneTypeAssertion(node, options) {
|
|
3150
3150
|
return options.factory.createTypeAssertion(options.hook("type", options.nextNode(node.type), node.type), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3151
3151
|
}
|
|
3152
|
-
|
|
3152
|
+
chunkG33GCWR5_cjs.__name(cloneTypeAssertion, "cloneTypeAssertion");
|
|
3153
3153
|
function cloneAwaitExpression(node, options) {
|
|
3154
3154
|
return options.factory.createAwaitExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3155
3155
|
}
|
|
3156
|
-
|
|
3156
|
+
chunkG33GCWR5_cjs.__name(cloneAwaitExpression, "cloneAwaitExpression");
|
|
3157
3157
|
function cloneYieldExpression(node, options) {
|
|
3158
3158
|
return options.factory.createYieldExpression(options.hook("asteriskToken", options.nextNode(node.asteriskToken), node.asteriskToken), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3159
3159
|
}
|
|
3160
|
-
|
|
3160
|
+
chunkG33GCWR5_cjs.__name(cloneYieldExpression, "cloneYieldExpression");
|
|
3161
3161
|
function cloneForOfStatement(node, options) {
|
|
3162
3162
|
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));
|
|
3163
3163
|
}
|
|
3164
|
-
|
|
3164
|
+
chunkG33GCWR5_cjs.__name(cloneForOfStatement, "cloneForOfStatement");
|
|
3165
3165
|
function cloneForInStatement(node, options) {
|
|
3166
3166
|
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));
|
|
3167
3167
|
}
|
|
3168
|
-
|
|
3168
|
+
chunkG33GCWR5_cjs.__name(cloneForInStatement, "cloneForInStatement");
|
|
3169
3169
|
function cloneForStatement(node, options) {
|
|
3170
3170
|
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));
|
|
3171
3171
|
}
|
|
3172
|
-
|
|
3172
|
+
chunkG33GCWR5_cjs.__name(cloneForStatement, "cloneForStatement");
|
|
3173
3173
|
function cloneWhileStatement(node, options) {
|
|
3174
3174
|
return options.factory.createWhileStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3175
3175
|
}
|
|
3176
|
-
|
|
3176
|
+
chunkG33GCWR5_cjs.__name(cloneWhileStatement, "cloneWhileStatement");
|
|
3177
3177
|
function cloneLabeledStatement(node, options) {
|
|
3178
3178
|
return options.factory.createLabeledStatement(options.hook("label", options.nextNode(node.label), node.label), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3179
3179
|
}
|
|
3180
|
-
|
|
3180
|
+
chunkG33GCWR5_cjs.__name(cloneLabeledStatement, "cloneLabeledStatement");
|
|
3181
3181
|
function cloneBreakStatement(node, options) {
|
|
3182
3182
|
return options.factory.createBreakStatement(options.hook("label", options.nextNode(node.label), node.label));
|
|
3183
3183
|
}
|
|
3184
|
-
|
|
3184
|
+
chunkG33GCWR5_cjs.__name(cloneBreakStatement, "cloneBreakStatement");
|
|
3185
3185
|
function cloneContinueStatement(node, options) {
|
|
3186
3186
|
return options.factory.createContinueStatement(options.hook("label", options.nextNode(node.label), node.label));
|
|
3187
3187
|
}
|
|
3188
|
-
|
|
3188
|
+
chunkG33GCWR5_cjs.__name(cloneContinueStatement, "cloneContinueStatement");
|
|
3189
3189
|
function cloneIfStatement(node, options) {
|
|
3190
3190
|
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));
|
|
3191
3191
|
}
|
|
3192
|
-
|
|
3192
|
+
chunkG33GCWR5_cjs.__name(cloneIfStatement, "cloneIfStatement");
|
|
3193
3193
|
function cloneDoStatement(node, options) {
|
|
3194
3194
|
return options.factory.createDoStatement(options.hook("statement", options.nextNode(node.statement), node.statement), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3195
3195
|
}
|
|
3196
|
-
|
|
3196
|
+
chunkG33GCWR5_cjs.__name(cloneDoStatement, "cloneDoStatement");
|
|
3197
3197
|
function cloneNonNullExpression(node, options) {
|
|
3198
3198
|
return options.factory.createNonNullExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3199
3199
|
}
|
|
3200
|
-
|
|
3200
|
+
chunkG33GCWR5_cjs.__name(cloneNonNullExpression, "cloneNonNullExpression");
|
|
3201
3201
|
function cloneTypeOfExpression(node, options) {
|
|
3202
3202
|
return options.factory.createTypeOfExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3203
3203
|
}
|
|
3204
|
-
|
|
3204
|
+
chunkG33GCWR5_cjs.__name(cloneTypeOfExpression, "cloneTypeOfExpression");
|
|
3205
3205
|
function cloneVoidExpression(node, options) {
|
|
3206
3206
|
return options.factory.createVoidExpression(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3207
3207
|
}
|
|
3208
|
-
|
|
3208
|
+
chunkG33GCWR5_cjs.__name(cloneVoidExpression, "cloneVoidExpression");
|
|
3209
3209
|
function cloneFunctionExpression(node, options) {
|
|
3210
3210
|
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));
|
|
3211
3211
|
}
|
|
3212
|
-
|
|
3212
|
+
chunkG33GCWR5_cjs.__name(cloneFunctionExpression, "cloneFunctionExpression");
|
|
3213
3213
|
function cloneSpreadElement(node, options) {
|
|
3214
3214
|
return options.factory.createSpreadElement(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3215
3215
|
}
|
|
3216
|
-
|
|
3216
|
+
chunkG33GCWR5_cjs.__name(cloneSpreadElement, "cloneSpreadElement");
|
|
3217
3217
|
function cloneTaggedTemplateExpression(node, options) {
|
|
3218
3218
|
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));
|
|
3219
3219
|
}
|
|
3220
|
-
|
|
3220
|
+
chunkG33GCWR5_cjs.__name(cloneTaggedTemplateExpression, "cloneTaggedTemplateExpression");
|
|
3221
3221
|
function cloneMetaProperty(node, options) {
|
|
3222
3222
|
return options.factory.createMetaProperty(options.hook("keywordToken", node.keywordToken, node.keywordToken), options.hook("name", options.nextNode(node.name), node.name));
|
|
3223
3223
|
}
|
|
3224
|
-
|
|
3224
|
+
chunkG33GCWR5_cjs.__name(cloneMetaProperty, "cloneMetaProperty");
|
|
3225
3225
|
function cloneJsxElement(node, options) {
|
|
3226
3226
|
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));
|
|
3227
3227
|
}
|
|
3228
|
-
|
|
3228
|
+
chunkG33GCWR5_cjs.__name(cloneJsxElement, "cloneJsxElement");
|
|
3229
3229
|
function cloneJsxAttributes(node, options) {
|
|
3230
3230
|
return options.factory.createJsxAttributes(options.hook("properties", options.nextNodes(node.properties), node.properties));
|
|
3231
3231
|
}
|
|
3232
|
-
|
|
3232
|
+
chunkG33GCWR5_cjs.__name(cloneJsxAttributes, "cloneJsxAttributes");
|
|
3233
3233
|
function cloneJsxOpeningElement(node, options) {
|
|
3234
3234
|
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));
|
|
3235
3235
|
}
|
|
3236
|
-
|
|
3236
|
+
chunkG33GCWR5_cjs.__name(cloneJsxOpeningElement, "cloneJsxOpeningElement");
|
|
3237
3237
|
function cloneJsxSelfClosingElement(node, options) {
|
|
3238
3238
|
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));
|
|
3239
3239
|
}
|
|
3240
|
-
|
|
3240
|
+
chunkG33GCWR5_cjs.__name(cloneJsxSelfClosingElement, "cloneJsxSelfClosingElement");
|
|
3241
3241
|
function cloneJsxFragment(node, options) {
|
|
3242
3242
|
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));
|
|
3243
3243
|
}
|
|
3244
|
-
|
|
3244
|
+
chunkG33GCWR5_cjs.__name(cloneJsxFragment, "cloneJsxFragment");
|
|
3245
3245
|
function cloneJsxOpeningFragment(_node, options) {
|
|
3246
3246
|
return options.factory.createJsxOpeningFragment();
|
|
3247
3247
|
}
|
|
3248
|
-
|
|
3248
|
+
chunkG33GCWR5_cjs.__name(cloneJsxOpeningFragment, "cloneJsxOpeningFragment");
|
|
3249
3249
|
function cloneJsxClosingFragment(_node, options) {
|
|
3250
3250
|
return options.factory.createJsxJsxClosingFragment();
|
|
3251
3251
|
}
|
|
3252
|
-
|
|
3252
|
+
chunkG33GCWR5_cjs.__name(cloneJsxClosingFragment, "cloneJsxClosingFragment");
|
|
3253
3253
|
function cloneJsxAttribute(node, options) {
|
|
3254
3254
|
return options.factory.createJsxAttribute(options.hook("name", options.nextNode(node.name), node.name), options.hook("initializer", options.nextNode(node.initializer), node.initializer));
|
|
3255
3255
|
}
|
|
3256
|
-
|
|
3256
|
+
chunkG33GCWR5_cjs.__name(cloneJsxAttribute, "cloneJsxAttribute");
|
|
3257
3257
|
function cloneJsxSpreadAttribute(node, options) {
|
|
3258
3258
|
return options.factory.createJsxSpreadAttribute(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3259
3259
|
}
|
|
3260
|
-
|
|
3260
|
+
chunkG33GCWR5_cjs.__name(cloneJsxSpreadAttribute, "cloneJsxSpreadAttribute");
|
|
3261
3261
|
function cloneJsxClosingElement(node, options) {
|
|
3262
3262
|
return options.factory.createJsxClosingElement(options.hook("tagName", options.nextNode(node.tagName), node.tagName));
|
|
3263
3263
|
}
|
|
3264
|
-
|
|
3264
|
+
chunkG33GCWR5_cjs.__name(cloneJsxClosingElement, "cloneJsxClosingElement");
|
|
3265
3265
|
function cloneJsxExpression(node, options) {
|
|
3266
3266
|
return options.factory.createJsxExpression(options.hook("dotDotDotToken", options.nextNode(node.dotDotDotToken), node.dotDotDotToken), options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3267
3267
|
}
|
|
3268
|
-
|
|
3268
|
+
chunkG33GCWR5_cjs.__name(cloneJsxExpression, "cloneJsxExpression");
|
|
3269
3269
|
function cloneJsxText(node, options) {
|
|
3270
3270
|
return options.factory.createJsxText(options.hook("text", node.text, node.text), options.hook("containsOnlyTriviaWhiteSpaces", node.containsOnlyTriviaWhiteSpaces, node.containsOnlyTriviaWhiteSpaces));
|
|
3271
3271
|
}
|
|
3272
|
-
|
|
3272
|
+
chunkG33GCWR5_cjs.__name(cloneJsxText, "cloneJsxText");
|
|
3273
3273
|
function isNotEmittedStatement(node, typescript) {
|
|
3274
3274
|
if ("isNotEmittedStatement" in typescript) {
|
|
3275
3275
|
return typescript.isNotEmittedStatement(node);
|
|
3276
3276
|
}
|
|
3277
3277
|
return node.kind === typescript.SyntaxKind.NotEmittedStatement;
|
|
3278
3278
|
}
|
|
3279
|
-
|
|
3279
|
+
chunkG33GCWR5_cjs.__name(isNotEmittedStatement, "isNotEmittedStatement");
|
|
3280
3280
|
function cloneNotEmittedStatement(node, options) {
|
|
3281
3281
|
return options.factory.createNotEmittedStatement(node);
|
|
3282
3282
|
}
|
|
3283
|
-
|
|
3283
|
+
chunkG33GCWR5_cjs.__name(cloneNotEmittedStatement, "cloneNotEmittedStatement");
|
|
3284
3284
|
function isCommaListExpression(node, typescript) {
|
|
3285
3285
|
if ("isCommaListExpression" in typescript) {
|
|
3286
3286
|
return typescript.isCommaListExpression(node);
|
|
3287
3287
|
}
|
|
3288
3288
|
return node.kind === typescript.SyntaxKind.CommaListExpression;
|
|
3289
3289
|
}
|
|
3290
|
-
|
|
3290
|
+
chunkG33GCWR5_cjs.__name(isCommaListExpression, "isCommaListExpression");
|
|
3291
3291
|
function cloneCommaListExpression(node, options) {
|
|
3292
3292
|
return options.factory.createCommaListExpression(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3293
3293
|
}
|
|
3294
|
-
|
|
3294
|
+
chunkG33GCWR5_cjs.__name(cloneCommaListExpression, "cloneCommaListExpression");
|
|
3295
3295
|
function cloneDebuggerStatement(_node, options) {
|
|
3296
3296
|
return options.factory.createDebuggerStatement();
|
|
3297
3297
|
}
|
|
3298
|
-
|
|
3298
|
+
chunkG33GCWR5_cjs.__name(cloneDebuggerStatement, "cloneDebuggerStatement");
|
|
3299
3299
|
function cloneWithStatement(node, options) {
|
|
3300
3300
|
return options.factory.createWithStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statement", options.nextNode(node.statement), node.statement));
|
|
3301
3301
|
}
|
|
3302
|
-
|
|
3302
|
+
chunkG33GCWR5_cjs.__name(cloneWithStatement, "cloneWithStatement");
|
|
3303
3303
|
function cloneSwitchStatement(node, options) {
|
|
3304
3304
|
return options.factory.createSwitchStatement(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("caseBlock", options.nextNode(node.caseBlock), node.caseBlock));
|
|
3305
3305
|
}
|
|
3306
|
-
|
|
3306
|
+
chunkG33GCWR5_cjs.__name(cloneSwitchStatement, "cloneSwitchStatement");
|
|
3307
3307
|
function cloneCaseBlock(node, options) {
|
|
3308
3308
|
return options.factory.createCaseBlock(options.hook("clauses", options.nextNodes(node.clauses), node.clauses));
|
|
3309
3309
|
}
|
|
3310
|
-
|
|
3310
|
+
chunkG33GCWR5_cjs.__name(cloneCaseBlock, "cloneCaseBlock");
|
|
3311
3311
|
function cloneCaseClause(node, options) {
|
|
3312
3312
|
return options.factory.createCaseClause(options.hook("expression", options.nextNode(node.expression), node.expression), options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
3313
3313
|
}
|
|
3314
|
-
|
|
3314
|
+
chunkG33GCWR5_cjs.__name(cloneCaseClause, "cloneCaseClause");
|
|
3315
3315
|
function cloneDefaultClause(node, options) {
|
|
3316
3316
|
return options.factory.createDefaultClause(options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
3317
3317
|
}
|
|
3318
|
-
|
|
3318
|
+
chunkG33GCWR5_cjs.__name(cloneDefaultClause, "cloneDefaultClause");
|
|
3319
3319
|
function cloneTryStatement(node, options) {
|
|
3320
3320
|
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));
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
chunkG33GCWR5_cjs.__name(cloneTryStatement, "cloneTryStatement");
|
|
3323
3323
|
function cloneCatchClause(node, options) {
|
|
3324
3324
|
return options.factory.createCatchClause(options.hook("variableDeclaration", options.nextNode(node.variableDeclaration), node.variableDeclaration), options.hook("block", options.nextNode(node.block), node.block));
|
|
3325
3325
|
}
|
|
3326
|
-
|
|
3326
|
+
chunkG33GCWR5_cjs.__name(cloneCatchClause, "cloneCatchClause");
|
|
3327
3327
|
function cloneModuleDeclaration(node, options) {
|
|
3328
3328
|
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));
|
|
3329
3329
|
}
|
|
3330
|
-
|
|
3330
|
+
chunkG33GCWR5_cjs.__name(cloneModuleDeclaration, "cloneModuleDeclaration");
|
|
3331
3331
|
function cloneModuleBlock(node, options) {
|
|
3332
3332
|
return options.factory.createModuleBlock(options.hook("statements", options.nextNodes(node.statements), node.statements));
|
|
3333
3333
|
}
|
|
3334
|
-
|
|
3334
|
+
chunkG33GCWR5_cjs.__name(cloneModuleBlock, "cloneModuleBlock");
|
|
3335
3335
|
function cloneImportDeclaration(node, options) {
|
|
3336
3336
|
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));
|
|
3337
3337
|
}
|
|
3338
|
-
|
|
3338
|
+
chunkG33GCWR5_cjs.__name(cloneImportDeclaration, "cloneImportDeclaration");
|
|
3339
3339
|
function cloneImportEqualsDeclaration(node, options) {
|
|
3340
3340
|
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));
|
|
3341
3341
|
}
|
|
3342
|
-
|
|
3342
|
+
chunkG33GCWR5_cjs.__name(cloneImportEqualsDeclaration, "cloneImportEqualsDeclaration");
|
|
3343
3343
|
function cloneImportClause(node, options) {
|
|
3344
3344
|
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));
|
|
3345
3345
|
}
|
|
3346
|
-
|
|
3346
|
+
chunkG33GCWR5_cjs.__name(cloneImportClause, "cloneImportClause");
|
|
3347
3347
|
function cloneNamedImports(node, options) {
|
|
3348
3348
|
return options.factory.createNamedImports(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3349
3349
|
}
|
|
3350
|
-
|
|
3350
|
+
chunkG33GCWR5_cjs.__name(cloneNamedImports, "cloneNamedImports");
|
|
3351
3351
|
function cloneNamespaceImport(node, options) {
|
|
3352
3352
|
return options.factory.createNamespaceImport(options.hook("name", options.nextNode(node.name), node.name));
|
|
3353
3353
|
}
|
|
3354
|
-
|
|
3354
|
+
chunkG33GCWR5_cjs.__name(cloneNamespaceImport, "cloneNamespaceImport");
|
|
3355
3355
|
function cloneImportSpecifier(node, options) {
|
|
3356
3356
|
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));
|
|
3357
3357
|
}
|
|
3358
|
-
|
|
3358
|
+
chunkG33GCWR5_cjs.__name(cloneImportSpecifier, "cloneImportSpecifier");
|
|
3359
3359
|
function cloneExternalModuleReference(node, options) {
|
|
3360
3360
|
return options.factory.createExternalModuleReference(options.hook("expression", options.nextNode(node.expression), node.expression));
|
|
3361
3361
|
}
|
|
3362
|
-
|
|
3362
|
+
chunkG33GCWR5_cjs.__name(cloneExternalModuleReference, "cloneExternalModuleReference");
|
|
3363
3363
|
function cloneNamespaceExportDeclaration(node, options) {
|
|
3364
3364
|
return options.factory.createNamespaceExportDeclaration(options.hook("name", options.nextNode(node.name), node.name));
|
|
3365
3365
|
}
|
|
3366
|
-
|
|
3366
|
+
chunkG33GCWR5_cjs.__name(cloneNamespaceExportDeclaration, "cloneNamespaceExportDeclaration");
|
|
3367
3367
|
function cloneExportDeclaration(node, options) {
|
|
3368
3368
|
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));
|
|
3369
3369
|
}
|
|
3370
|
-
|
|
3370
|
+
chunkG33GCWR5_cjs.__name(cloneExportDeclaration, "cloneExportDeclaration");
|
|
3371
3371
|
function cloneNamedExports(node, options) {
|
|
3372
3372
|
return options.factory.createNamedExports(options.hook("elements", options.nextNodes(node.elements), node.elements));
|
|
3373
3373
|
}
|
|
3374
|
-
|
|
3374
|
+
chunkG33GCWR5_cjs.__name(cloneNamedExports, "cloneNamedExports");
|
|
3375
3375
|
function cloneExportSpecifier(node, options) {
|
|
3376
3376
|
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));
|
|
3377
3377
|
}
|
|
3378
|
-
|
|
3378
|
+
chunkG33GCWR5_cjs.__name(cloneExportSpecifier, "cloneExportSpecifier");
|
|
3379
3379
|
function cloneExportAssignment(node, options) {
|
|
3380
3380
|
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));
|
|
3381
3381
|
}
|
|
3382
|
-
|
|
3382
|
+
chunkG33GCWR5_cjs.__name(cloneExportAssignment, "cloneExportAssignment");
|
|
3383
3383
|
function toInternalOptions(options) {
|
|
3384
3384
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3385
3385
|
const typescript = (_a = options.typescript) !== null && _a !== void 0 ? _a : ts3__default.default;
|
|
@@ -3399,334 +3399,334 @@ function toInternalOptions(options) {
|
|
|
3399
3399
|
}
|
|
3400
3400
|
};
|
|
3401
3401
|
}
|
|
3402
|
-
|
|
3402
|
+
chunkG33GCWR5_cjs.__name(toInternalOptions, "toInternalOptions");
|
|
3403
3403
|
function isJsDocComment(node, typescript) {
|
|
3404
3404
|
if ("isJSDoc" in typescript) {
|
|
3405
3405
|
return typescript.isJSDoc(node);
|
|
3406
3406
|
}
|
|
3407
3407
|
return node.kind === typescript.SyntaxKind.JSDocComment;
|
|
3408
3408
|
}
|
|
3409
|
-
|
|
3409
|
+
chunkG33GCWR5_cjs.__name(isJsDocComment, "isJsDocComment");
|
|
3410
3410
|
function cloneJsDoc(node, options) {
|
|
3411
3411
|
const baseNode = options.factory.createJSDocComment(options.hook("comment", node.comment, node.comment), ensureNodeArray(options.hook("tags", options.nextNodes(node.tags), node.tags), options.factory));
|
|
3412
3412
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3413
3413
|
return baseNode;
|
|
3414
3414
|
}
|
|
3415
|
-
|
|
3415
|
+
chunkG33GCWR5_cjs.__name(cloneJsDoc, "cloneJsDoc");
|
|
3416
3416
|
function isJsDocUnknownTag(node, typescript) {
|
|
3417
3417
|
if ("isJSDocUnknownTag" in typescript) {
|
|
3418
3418
|
return typescript.isJSDocUnknownTag(node);
|
|
3419
3419
|
}
|
|
3420
3420
|
return node.kind === typescript.SyntaxKind.JSDocTag;
|
|
3421
3421
|
}
|
|
3422
|
-
|
|
3422
|
+
chunkG33GCWR5_cjs.__name(isJsDocUnknownTag, "isJsDocUnknownTag");
|
|
3423
3423
|
function isJsDocParameterTag(node, typescript) {
|
|
3424
3424
|
if ("isJSDocParameterTag" in typescript) {
|
|
3425
3425
|
return typescript.isJSDocParameterTag(node);
|
|
3426
3426
|
}
|
|
3427
3427
|
return node.kind === typescript.SyntaxKind.JSDocParameterTag;
|
|
3428
3428
|
}
|
|
3429
|
-
|
|
3429
|
+
chunkG33GCWR5_cjs.__name(isJsDocParameterTag, "isJsDocParameterTag");
|
|
3430
3430
|
function cloneJsDocParameterTag(node, options) {
|
|
3431
3431
|
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));
|
|
3432
3432
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3433
3433
|
return baseNode;
|
|
3434
3434
|
}
|
|
3435
|
-
|
|
3435
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocParameterTag, "cloneJsDocParameterTag");
|
|
3436
3436
|
function isJsDocReturnTag(node, typescript) {
|
|
3437
3437
|
if ("isJSDocReturnTag" in typescript) {
|
|
3438
3438
|
return typescript.isJSDocReturnTag(node);
|
|
3439
3439
|
}
|
|
3440
3440
|
return node.kind === typescript.SyntaxKind.JSDocReturnTag;
|
|
3441
3441
|
}
|
|
3442
|
-
|
|
3442
|
+
chunkG33GCWR5_cjs.__name(isJsDocReturnTag, "isJsDocReturnTag");
|
|
3443
3443
|
function cloneJsDocReturnTag(node, options) {
|
|
3444
3444
|
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));
|
|
3445
3445
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3446
3446
|
return baseNode;
|
|
3447
3447
|
}
|
|
3448
|
-
|
|
3448
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocReturnTag, "cloneJsDocReturnTag");
|
|
3449
3449
|
function isJsDocTypeExpression(node, typescript) {
|
|
3450
3450
|
if ("isJSDocTypeExpression" in typescript) {
|
|
3451
3451
|
return typescript.isJSDocTypeExpression(node);
|
|
3452
3452
|
}
|
|
3453
3453
|
return node.kind === typescript.SyntaxKind.JSDocTypeExpression;
|
|
3454
3454
|
}
|
|
3455
|
-
|
|
3455
|
+
chunkG33GCWR5_cjs.__name(isJsDocTypeExpression, "isJsDocTypeExpression");
|
|
3456
3456
|
function cloneJsDocTypeExpression(node, options) {
|
|
3457
3457
|
const baseNode = options.factory.createJSDocTypeExpression(options.hook("type", options.nextNode(node.type), node.type));
|
|
3458
3458
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3459
3459
|
return baseNode;
|
|
3460
3460
|
}
|
|
3461
|
-
|
|
3461
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocTypeExpression, "cloneJsDocTypeExpression");
|
|
3462
3462
|
function isJsDocEnumTag(node, typescript) {
|
|
3463
3463
|
if ("isJSDocEnumTag" in typescript) {
|
|
3464
3464
|
return typescript.isJSDocEnumTag(node);
|
|
3465
3465
|
}
|
|
3466
3466
|
return node.kind === typescript.SyntaxKind.JSDocEnumTag;
|
|
3467
3467
|
}
|
|
3468
|
-
|
|
3468
|
+
chunkG33GCWR5_cjs.__name(isJsDocEnumTag, "isJsDocEnumTag");
|
|
3469
3469
|
function cloneJsDocEnumTag(node, options) {
|
|
3470
3470
|
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));
|
|
3471
3471
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3472
3472
|
return baseNode;
|
|
3473
3473
|
}
|
|
3474
|
-
|
|
3474
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocEnumTag, "cloneJsDocEnumTag");
|
|
3475
3475
|
function isJsDocTypeTag(node, typescript) {
|
|
3476
3476
|
if ("isJSDocTypeTag" in typescript) {
|
|
3477
3477
|
return typescript.isJSDocTypeTag(node);
|
|
3478
3478
|
}
|
|
3479
3479
|
return node.kind === typescript.SyntaxKind.JSDocTypeTag;
|
|
3480
3480
|
}
|
|
3481
|
-
|
|
3481
|
+
chunkG33GCWR5_cjs.__name(isJsDocTypeTag, "isJsDocTypeTag");
|
|
3482
3482
|
function cloneJsDocTypeTag(node, options) {
|
|
3483
3483
|
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));
|
|
3484
3484
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3485
3485
|
return baseNode;
|
|
3486
3486
|
}
|
|
3487
|
-
|
|
3487
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocTypeTag, "cloneJsDocTypeTag");
|
|
3488
3488
|
function isJsDocAllType(node, typescript) {
|
|
3489
3489
|
if ("isJSDocAllType" in typescript) {
|
|
3490
3490
|
return typescript.isJSDocAllType(node);
|
|
3491
3491
|
}
|
|
3492
3492
|
return node.kind === typescript.SyntaxKind.JSDocAllType;
|
|
3493
3493
|
}
|
|
3494
|
-
|
|
3494
|
+
chunkG33GCWR5_cjs.__name(isJsDocAllType, "isJsDocAllType");
|
|
3495
3495
|
function cloneJsDocAllType(node, options) {
|
|
3496
3496
|
const baseNode = options.factory.createJSDocAllType();
|
|
3497
3497
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3498
3498
|
return baseNode;
|
|
3499
3499
|
}
|
|
3500
|
-
|
|
3500
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocAllType, "cloneJsDocAllType");
|
|
3501
3501
|
function isJsDocUnknownType(node, typescript) {
|
|
3502
3502
|
if ("isJSDocUnknownType" in typescript) {
|
|
3503
3503
|
return typescript.isJSDocUnknownType(node);
|
|
3504
3504
|
}
|
|
3505
3505
|
return node.kind === typescript.SyntaxKind.JSDocUnknownType;
|
|
3506
3506
|
}
|
|
3507
|
-
|
|
3507
|
+
chunkG33GCWR5_cjs.__name(isJsDocUnknownType, "isJsDocUnknownType");
|
|
3508
3508
|
function cloneJsDocUnknownType(node, options) {
|
|
3509
3509
|
const baseNode = options.factory.createJSDocUnknownType();
|
|
3510
3510
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3511
3511
|
return baseNode;
|
|
3512
3512
|
}
|
|
3513
|
-
|
|
3513
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocUnknownType, "cloneJsDocUnknownType");
|
|
3514
3514
|
function isJsDocNonNullableType(node, typescript) {
|
|
3515
3515
|
if ("isJSDocNonNullableType" in typescript) {
|
|
3516
3516
|
return typescript.isJSDocNonNullableType(node);
|
|
3517
3517
|
}
|
|
3518
3518
|
return node.kind === typescript.SyntaxKind.JSDocNonNullableType;
|
|
3519
3519
|
}
|
|
3520
|
-
|
|
3520
|
+
chunkG33GCWR5_cjs.__name(isJsDocNonNullableType, "isJsDocNonNullableType");
|
|
3521
3521
|
function cloneJsDocNonNullableType(node, options) {
|
|
3522
3522
|
const baseNode = options.factory.createJSDocNonNullableType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3523
3523
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3524
3524
|
return baseNode;
|
|
3525
3525
|
}
|
|
3526
|
-
|
|
3526
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocNonNullableType, "cloneJsDocNonNullableType");
|
|
3527
3527
|
function isJsDocNullableType(node, typescript) {
|
|
3528
3528
|
if ("isJSDocNullableType" in typescript) {
|
|
3529
3529
|
return typescript.isJSDocNullableType(node);
|
|
3530
3530
|
}
|
|
3531
3531
|
return node.kind === typescript.SyntaxKind.JSDocNullableType;
|
|
3532
3532
|
}
|
|
3533
|
-
|
|
3533
|
+
chunkG33GCWR5_cjs.__name(isJsDocNullableType, "isJsDocNullableType");
|
|
3534
3534
|
function cloneJsDocNullableType(node, options) {
|
|
3535
3535
|
const baseNode = options.factory.createJSDocNullableType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3536
3536
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3537
3537
|
return baseNode;
|
|
3538
3538
|
}
|
|
3539
|
-
|
|
3539
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocNullableType, "cloneJsDocNullableType");
|
|
3540
3540
|
function isJsDocOptionalType(node, typescript) {
|
|
3541
3541
|
if ("isJSDocOptionalType" in typescript) {
|
|
3542
3542
|
return typescript.isJSDocOptionalType(node);
|
|
3543
3543
|
}
|
|
3544
3544
|
return node.kind === typescript.SyntaxKind.JSDocOptionalType;
|
|
3545
3545
|
}
|
|
3546
|
-
|
|
3546
|
+
chunkG33GCWR5_cjs.__name(isJsDocOptionalType, "isJsDocOptionalType");
|
|
3547
3547
|
function cloneJsDocOptionalType(node, options) {
|
|
3548
3548
|
const baseNode = options.factory.createJSDocOptionalType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3549
3549
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3550
3550
|
return baseNode;
|
|
3551
3551
|
}
|
|
3552
|
-
|
|
3552
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocOptionalType, "cloneJsDocOptionalType");
|
|
3553
3553
|
function isJsDocFunctionType(node, typescript) {
|
|
3554
3554
|
if ("isJSDocFunctionType" in typescript) {
|
|
3555
3555
|
return typescript.isJSDocFunctionType(node);
|
|
3556
3556
|
}
|
|
3557
3557
|
return node.kind === typescript.SyntaxKind.JSDocFunctionType;
|
|
3558
3558
|
}
|
|
3559
|
-
|
|
3559
|
+
chunkG33GCWR5_cjs.__name(isJsDocFunctionType, "isJsDocFunctionType");
|
|
3560
3560
|
function cloneJsDocFunctionType(node, options) {
|
|
3561
3561
|
const baseNode = options.factory.createJSDocFunctionType(options.hook("parameters", options.nextNodes(node.parameters), node.parameters), options.hook("type", node.type, node.type));
|
|
3562
3562
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3563
3563
|
return baseNode;
|
|
3564
3564
|
}
|
|
3565
|
-
|
|
3565
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocFunctionType, "cloneJsDocFunctionType");
|
|
3566
3566
|
function isJsDocVariadicType(node, typescript) {
|
|
3567
3567
|
if ("isJSDocVariadicType" in typescript) {
|
|
3568
3568
|
return typescript.isJSDocVariadicType(node);
|
|
3569
3569
|
}
|
|
3570
3570
|
return node.kind === typescript.SyntaxKind.JSDocVariadicType;
|
|
3571
3571
|
}
|
|
3572
|
-
|
|
3572
|
+
chunkG33GCWR5_cjs.__name(isJsDocVariadicType, "isJsDocVariadicType");
|
|
3573
3573
|
function cloneJsDocVariadicType(node, options) {
|
|
3574
3574
|
const baseNode = options.factory.createJSDocVariadicType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3575
3575
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3576
3576
|
return baseNode;
|
|
3577
3577
|
}
|
|
3578
|
-
|
|
3578
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocVariadicType, "cloneJsDocVariadicType");
|
|
3579
3579
|
function isJsDocNamepathType(node, typescript) {
|
|
3580
3580
|
if ("isJSDocNamepathType" in typescript) {
|
|
3581
3581
|
return typescript.isJSDocNamepathType(node);
|
|
3582
3582
|
}
|
|
3583
3583
|
return node.kind === typescript.SyntaxKind.JSDocNamepathType;
|
|
3584
3584
|
}
|
|
3585
|
-
|
|
3585
|
+
chunkG33GCWR5_cjs.__name(isJsDocNamepathType, "isJsDocNamepathType");
|
|
3586
3586
|
function cloneJsDocNamepathType(node, options) {
|
|
3587
3587
|
const baseNode = options.factory.createJSDocNamepathType(options.hook("type", options.nextNode(node.type), node.type));
|
|
3588
3588
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3589
3589
|
return baseNode;
|
|
3590
3590
|
}
|
|
3591
|
-
|
|
3591
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocNamepathType, "cloneJsDocNamepathType");
|
|
3592
3592
|
function cloneJsDocUnknownTag(node, options) {
|
|
3593
3593
|
const baseNode = options.factory.createJSDocUnknownTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3594
3594
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3595
3595
|
return baseNode;
|
|
3596
3596
|
}
|
|
3597
|
-
|
|
3597
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocUnknownTag, "cloneJsDocUnknownTag");
|
|
3598
3598
|
function isJsDocAugmentsTag(node, typescript) {
|
|
3599
3599
|
if ("isJSDocAugmentsTag" in typescript) {
|
|
3600
3600
|
return typescript.isJSDocAugmentsTag(node);
|
|
3601
3601
|
}
|
|
3602
3602
|
return node.kind === typescript.SyntaxKind.JSDocAugmentsTag;
|
|
3603
3603
|
}
|
|
3604
|
-
|
|
3604
|
+
chunkG33GCWR5_cjs.__name(isJsDocAugmentsTag, "isJsDocAugmentsTag");
|
|
3605
3605
|
function cloneJsDocAugmentsTag(node, options) {
|
|
3606
3606
|
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));
|
|
3607
3607
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3608
3608
|
return baseNode;
|
|
3609
3609
|
}
|
|
3610
|
-
|
|
3610
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocAugmentsTag, "cloneJsDocAugmentsTag");
|
|
3611
3611
|
function isJsDocAuthorTag(node, typescript) {
|
|
3612
3612
|
if ("isJSDocAuthorTag" in typescript) {
|
|
3613
3613
|
return typescript.isJSDocAuthorTag(node);
|
|
3614
3614
|
}
|
|
3615
3615
|
return node.kind === typescript.SyntaxKind.JSDocAuthorTag;
|
|
3616
3616
|
}
|
|
3617
|
-
|
|
3617
|
+
chunkG33GCWR5_cjs.__name(isJsDocAuthorTag, "isJsDocAuthorTag");
|
|
3618
3618
|
function cloneJsDocAuthorTag(node, options) {
|
|
3619
3619
|
const baseNode = options.factory.createJSDocAuthorTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3620
3620
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3621
3621
|
return baseNode;
|
|
3622
3622
|
}
|
|
3623
|
-
|
|
3623
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocAuthorTag, "cloneJsDocAuthorTag");
|
|
3624
3624
|
function isJsDocClassTag(node, typescript) {
|
|
3625
3625
|
if ("isJSDocClassTag" in typescript) {
|
|
3626
3626
|
return typescript.isJSDocClassTag(node);
|
|
3627
3627
|
}
|
|
3628
3628
|
return node.kind === typescript.SyntaxKind.JSDocClassTag;
|
|
3629
3629
|
}
|
|
3630
|
-
|
|
3630
|
+
chunkG33GCWR5_cjs.__name(isJsDocClassTag, "isJsDocClassTag");
|
|
3631
3631
|
function cloneJsDocClassTag(node, options) {
|
|
3632
3632
|
const baseNode = options.factory.createJSDocClassTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3633
3633
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3634
3634
|
return baseNode;
|
|
3635
3635
|
}
|
|
3636
|
-
|
|
3636
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocClassTag, "cloneJsDocClassTag");
|
|
3637
3637
|
function isJsDocThisTag(node, typescript) {
|
|
3638
3638
|
if ("isJSDocThisTag" in typescript) {
|
|
3639
3639
|
return typescript.isJSDocThisTag(node);
|
|
3640
3640
|
}
|
|
3641
3641
|
return node.kind === typescript.SyntaxKind.JSDocThisTag;
|
|
3642
3642
|
}
|
|
3643
|
-
|
|
3643
|
+
chunkG33GCWR5_cjs.__name(isJsDocThisTag, "isJsDocThisTag");
|
|
3644
3644
|
function cloneJsDocThisTag(node, options) {
|
|
3645
3645
|
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));
|
|
3646
3646
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3647
3647
|
return baseNode;
|
|
3648
3648
|
}
|
|
3649
|
-
|
|
3649
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocThisTag, "cloneJsDocThisTag");
|
|
3650
3650
|
function isJsDocTemplateTag(node, typescript) {
|
|
3651
3651
|
if ("isJSDocTemplateTag" in typescript) {
|
|
3652
3652
|
return typescript.isJSDocTemplateTag(node);
|
|
3653
3653
|
}
|
|
3654
3654
|
return node.kind === typescript.SyntaxKind.JSDocTemplateTag;
|
|
3655
3655
|
}
|
|
3656
|
-
|
|
3656
|
+
chunkG33GCWR5_cjs.__name(isJsDocTemplateTag, "isJsDocTemplateTag");
|
|
3657
3657
|
function cloneJsDocTemplateTag(node, options) {
|
|
3658
3658
|
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));
|
|
3659
3659
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3660
3660
|
return baseNode;
|
|
3661
3661
|
}
|
|
3662
|
-
|
|
3662
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocTemplateTag, "cloneJsDocTemplateTag");
|
|
3663
3663
|
function isJsDocTypedefTag(node, typescript) {
|
|
3664
3664
|
if ("isJSDocTypedefTag" in typescript) {
|
|
3665
3665
|
return typescript.isJSDocTypedefTag(node);
|
|
3666
3666
|
}
|
|
3667
3667
|
return node.kind === typescript.SyntaxKind.JSDocTypedefTag;
|
|
3668
3668
|
}
|
|
3669
|
-
|
|
3669
|
+
chunkG33GCWR5_cjs.__name(isJsDocTypedefTag, "isJsDocTypedefTag");
|
|
3670
3670
|
function cloneJsDocTypedefTag(node, options) {
|
|
3671
3671
|
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));
|
|
3672
3672
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3673
3673
|
baseNode.name = options.hook("name", options.nextNode(node.name), node.name);
|
|
3674
3674
|
return baseNode;
|
|
3675
3675
|
}
|
|
3676
|
-
|
|
3676
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocTypedefTag, "cloneJsDocTypedefTag");
|
|
3677
3677
|
function isJsDocCallbackTag(node, typescript) {
|
|
3678
3678
|
if ("isJSDocCallbackTag" in typescript) {
|
|
3679
3679
|
return typescript.isJSDocCallbackTag(node);
|
|
3680
3680
|
}
|
|
3681
3681
|
return node.kind === typescript.SyntaxKind.JSDocCallbackTag;
|
|
3682
3682
|
}
|
|
3683
|
-
|
|
3683
|
+
chunkG33GCWR5_cjs.__name(isJsDocCallbackTag, "isJsDocCallbackTag");
|
|
3684
3684
|
function cloneJsDocCallbackTag(node, options) {
|
|
3685
3685
|
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));
|
|
3686
3686
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3687
3687
|
baseNode.name = options.hook("name", options.nextNode(node.name), node.name);
|
|
3688
3688
|
return baseNode;
|
|
3689
3689
|
}
|
|
3690
|
-
|
|
3690
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocCallbackTag, "cloneJsDocCallbackTag");
|
|
3691
3691
|
function isJsDocSignature(node, typescript) {
|
|
3692
3692
|
if ("isJSDocSignature" in typescript) {
|
|
3693
3693
|
return typescript.isJSDocSignature(node);
|
|
3694
3694
|
}
|
|
3695
3695
|
return node.kind === typescript.SyntaxKind.JSDocSignature;
|
|
3696
3696
|
}
|
|
3697
|
-
|
|
3697
|
+
chunkG33GCWR5_cjs.__name(isJsDocSignature, "isJsDocSignature");
|
|
3698
3698
|
function cloneJsDocSignature(node, options) {
|
|
3699
3699
|
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));
|
|
3700
3700
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3701
3701
|
return baseNode;
|
|
3702
3702
|
}
|
|
3703
|
-
|
|
3703
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocSignature, "cloneJsDocSignature");
|
|
3704
3704
|
function isJsDocPropertyTag(node, typescript) {
|
|
3705
3705
|
if ("isJSDocPropertyTag" in typescript) {
|
|
3706
3706
|
return typescript.isJSDocPropertyTag(node);
|
|
3707
3707
|
}
|
|
3708
3708
|
return node.kind === typescript.SyntaxKind.JSDocPropertyTag;
|
|
3709
3709
|
}
|
|
3710
|
-
|
|
3710
|
+
chunkG33GCWR5_cjs.__name(isJsDocPropertyTag, "isJsDocPropertyTag");
|
|
3711
3711
|
function cloneJsDocPropertyTag(node, options) {
|
|
3712
3712
|
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));
|
|
3713
3713
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3714
3714
|
return baseNode;
|
|
3715
3715
|
}
|
|
3716
|
-
|
|
3716
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocPropertyTag, "cloneJsDocPropertyTag");
|
|
3717
3717
|
function isJsDocTypeLiteral(node, typescript) {
|
|
3718
3718
|
if ("isJSDocTypeLiteral" in typescript) {
|
|
3719
3719
|
return typescript.isJSDocTypeLiteral(node);
|
|
3720
3720
|
}
|
|
3721
3721
|
return node.kind === typescript.SyntaxKind.JSDocTypeLiteral;
|
|
3722
3722
|
}
|
|
3723
|
-
|
|
3723
|
+
chunkG33GCWR5_cjs.__name(isJsDocTypeLiteral, "isJsDocTypeLiteral");
|
|
3724
3724
|
function cloneJsDocTypeLiteral(node, options) {
|
|
3725
3725
|
const baseNode = options.factory.createJSDocTypeLiteral(options.hook("jsDocPropertyTags", options.nextNodes(node.jsDocPropertyTags), node.jsDocPropertyTags), options.hook("isArrayType", node.isArrayType, node.isArrayType));
|
|
3726
3726
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3727
3727
|
return baseNode;
|
|
3728
3728
|
}
|
|
3729
|
-
|
|
3729
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocTypeLiteral, "cloneJsDocTypeLiteral");
|
|
3730
3730
|
function fixupParentReferences(rootNode, { deep, propertyName, typescript }) {
|
|
3731
3731
|
let parent = rootNode;
|
|
3732
3732
|
typescript.forEachChild(rootNode, visitNode2);
|
|
@@ -3748,14 +3748,14 @@ function fixupParentReferences(rootNode, { deep, propertyName, typescript }) {
|
|
|
3748
3748
|
parent = saveParent;
|
|
3749
3749
|
}
|
|
3750
3750
|
}
|
|
3751
|
-
|
|
3751
|
+
chunkG33GCWR5_cjs.__name(visitNode2, "visitNode");
|
|
3752
3752
|
}
|
|
3753
|
-
|
|
3753
|
+
chunkG33GCWR5_cjs.__name(fixupParentReferences, "fixupParentReferences");
|
|
3754
3754
|
function setParents(node, options) {
|
|
3755
3755
|
fixupParentReferences(node, options);
|
|
3756
3756
|
return node;
|
|
3757
3757
|
}
|
|
3758
|
-
|
|
3758
|
+
chunkG33GCWR5_cjs.__name(setParents, "setParents");
|
|
3759
3759
|
function getOriginalNode(node, options) {
|
|
3760
3760
|
var _a;
|
|
3761
3761
|
if (node._original != null) {
|
|
@@ -3763,11 +3763,11 @@ function getOriginalNode(node, options) {
|
|
|
3763
3763
|
}
|
|
3764
3764
|
return (_a = options.typescript.getOriginalNode(node)) !== null && _a !== void 0 ? _a : node;
|
|
3765
3765
|
}
|
|
3766
|
-
|
|
3766
|
+
chunkG33GCWR5_cjs.__name(getOriginalNode, "getOriginalNode");
|
|
3767
3767
|
function formatCommentRange({ pos, end }) {
|
|
3768
3768
|
return `${pos}:${end}`;
|
|
3769
3769
|
}
|
|
3770
|
-
|
|
3770
|
+
chunkG33GCWR5_cjs.__name(formatCommentRange, "formatCommentRange");
|
|
3771
3771
|
function getCommentRanges(node, options) {
|
|
3772
3772
|
var _a, _b, _c;
|
|
3773
3773
|
const comments = [];
|
|
@@ -3821,7 +3821,7 @@ function getCommentRanges(node, options) {
|
|
|
3821
3821
|
}
|
|
3822
3822
|
return comments;
|
|
3823
3823
|
}
|
|
3824
|
-
|
|
3824
|
+
chunkG33GCWR5_cjs.__name(getCommentRanges, "getCommentRanges");
|
|
3825
3825
|
function preserveAllComments(node, options) {
|
|
3826
3826
|
if (!options.preserveComments) return;
|
|
3827
3827
|
preserveCommentsForOriginalNode(node, options);
|
|
@@ -3829,13 +3829,13 @@ function preserveAllComments(node, options) {
|
|
|
3829
3829
|
preserveAllComments(child, options);
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
|
-
|
|
3832
|
+
chunkG33GCWR5_cjs.__name(preserveAllComments, "preserveAllComments");
|
|
3833
3833
|
function preserveCommentsForOriginalNode(node, options) {
|
|
3834
3834
|
if (options.typescript.isSourceFile(node)) return;
|
|
3835
3835
|
const originalNode = getOriginalNode(node, options);
|
|
3836
3836
|
if (node !== originalNode) preserveComments(node, originalNode, options);
|
|
3837
3837
|
}
|
|
3838
|
-
|
|
3838
|
+
chunkG33GCWR5_cjs.__name(preserveCommentsForOriginalNode, "preserveCommentsForOriginalNode");
|
|
3839
3839
|
function preserveComments(node, oldNode, options) {
|
|
3840
3840
|
if (!options.preserveComments) return node;
|
|
3841
3841
|
if (node.pos > -1 && node.end >= -1) {
|
|
@@ -3858,44 +3858,44 @@ function preserveComments(node, oldNode, options) {
|
|
|
3858
3858
|
}
|
|
3859
3859
|
return node;
|
|
3860
3860
|
}
|
|
3861
|
-
|
|
3861
|
+
chunkG33GCWR5_cjs.__name(preserveComments, "preserveComments");
|
|
3862
3862
|
function nextOptions(options) {
|
|
3863
3863
|
return {
|
|
3864
3864
|
...options,
|
|
3865
3865
|
depth: options.depth + 1
|
|
3866
3866
|
};
|
|
3867
3867
|
}
|
|
3868
|
-
|
|
3868
|
+
chunkG33GCWR5_cjs.__name(nextOptions, "nextOptions");
|
|
3869
3869
|
function payload({ depth }) {
|
|
3870
3870
|
return {
|
|
3871
3871
|
depth
|
|
3872
3872
|
};
|
|
3873
3873
|
}
|
|
3874
|
-
|
|
3874
|
+
chunkG33GCWR5_cjs.__name(payload, "payload");
|
|
3875
3875
|
function cloneNamespaceExport(node, options) {
|
|
3876
3876
|
return options.factory.createNamespaceExport(options.hook("name", options.nextNode(node.name), node.name));
|
|
3877
3877
|
}
|
|
3878
|
-
|
|
3878
|
+
chunkG33GCWR5_cjs.__name(cloneNamespaceExport, "cloneNamespaceExport");
|
|
3879
3879
|
function isJsDocReadonlyTag(node, typescript) {
|
|
3880
3880
|
if ("isJSDocReadonlyTag" in typescript) {
|
|
3881
3881
|
return typescript.isJSDocReadonlyTag(node);
|
|
3882
3882
|
}
|
|
3883
3883
|
return node.kind === typescript.SyntaxKind.JSDocReadonlyTag;
|
|
3884
3884
|
}
|
|
3885
|
-
|
|
3885
|
+
chunkG33GCWR5_cjs.__name(isJsDocReadonlyTag, "isJsDocReadonlyTag");
|
|
3886
3886
|
function cloneJsDocReadonlyTag(node, options) {
|
|
3887
3887
|
const baseNode = options.factory.createJSDocReadonlyTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3888
3888
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3889
3889
|
return baseNode;
|
|
3890
3890
|
}
|
|
3891
|
-
|
|
3891
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocReadonlyTag, "cloneJsDocReadonlyTag");
|
|
3892
3892
|
function isJsDocSeeTag(node, typescript) {
|
|
3893
3893
|
if ("isJSDocSeeTag" in typescript) {
|
|
3894
3894
|
return typescript.isJSDocSeeTag(node);
|
|
3895
3895
|
}
|
|
3896
3896
|
return node.kind === typescript.SyntaxKind.JSDocSeeTag;
|
|
3897
3897
|
}
|
|
3898
|
-
|
|
3898
|
+
chunkG33GCWR5_cjs.__name(isJsDocSeeTag, "isJsDocSeeTag");
|
|
3899
3899
|
function cloneJsDocSeeTag(node, options) {
|
|
3900
3900
|
const baseNode = options.factory.createJSDocSeeTag(
|
|
3901
3901
|
options.hook("tagName", options.nextNode(node.tagName), node.tagName),
|
|
@@ -3907,50 +3907,50 @@ function cloneJsDocSeeTag(node, options) {
|
|
|
3907
3907
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3908
3908
|
return baseNode;
|
|
3909
3909
|
}
|
|
3910
|
-
|
|
3910
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocSeeTag, "cloneJsDocSeeTag");
|
|
3911
3911
|
function isJsDocPrivateTag(node, typescript) {
|
|
3912
3912
|
if ("isJSDocPrivateTag" in typescript) {
|
|
3913
3913
|
return typescript.isJSDocPrivateTag(node);
|
|
3914
3914
|
}
|
|
3915
3915
|
return node.kind === typescript.SyntaxKind.JSDocPrivateTag;
|
|
3916
3916
|
}
|
|
3917
|
-
|
|
3917
|
+
chunkG33GCWR5_cjs.__name(isJsDocPrivateTag, "isJsDocPrivateTag");
|
|
3918
3918
|
function cloneJsDocPrivateTag(node, options) {
|
|
3919
3919
|
const baseNode = options.factory.createJSDocPrivateTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3920
3920
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3921
3921
|
return baseNode;
|
|
3922
3922
|
}
|
|
3923
|
-
|
|
3923
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocPrivateTag, "cloneJsDocPrivateTag");
|
|
3924
3924
|
function isJsDocProtectedTag(node, typescript) {
|
|
3925
3925
|
if ("isJSDocProtectedTag" in typescript) {
|
|
3926
3926
|
return typescript.isJSDocProtectedTag(node);
|
|
3927
3927
|
}
|
|
3928
3928
|
return node.kind === typescript.SyntaxKind.JSDocProtectedTag;
|
|
3929
3929
|
}
|
|
3930
|
-
|
|
3930
|
+
chunkG33GCWR5_cjs.__name(isJsDocProtectedTag, "isJsDocProtectedTag");
|
|
3931
3931
|
function cloneJsDocProtectedTag(node, options) {
|
|
3932
3932
|
const baseNode = options.factory.createJSDocProtectedTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3933
3933
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3934
3934
|
return baseNode;
|
|
3935
3935
|
}
|
|
3936
|
-
|
|
3936
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocProtectedTag, "cloneJsDocProtectedTag");
|
|
3937
3937
|
function isJsDocPublicTag(node, typescript) {
|
|
3938
3938
|
if ("isJSDocPublicTag" in typescript) {
|
|
3939
3939
|
return typescript.isJSDocPublicTag(node);
|
|
3940
3940
|
}
|
|
3941
3941
|
return node.kind === typescript.SyntaxKind.JSDocPublicTag;
|
|
3942
3942
|
}
|
|
3943
|
-
|
|
3943
|
+
chunkG33GCWR5_cjs.__name(isJsDocPublicTag, "isJsDocPublicTag");
|
|
3944
3944
|
function cloneJsDocPublicTag(node, options) {
|
|
3945
3945
|
const baseNode = options.factory.createJSDocPublicTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3946
3946
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3947
3947
|
return baseNode;
|
|
3948
3948
|
}
|
|
3949
|
-
|
|
3949
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocPublicTag, "cloneJsDocPublicTag");
|
|
3950
3950
|
function clonePrivateIdentifier(node, options) {
|
|
3951
3951
|
return options.factory.createPrivateIdentifier(options.hook("text", node.text, node.text));
|
|
3952
3952
|
}
|
|
3953
|
-
|
|
3953
|
+
chunkG33GCWR5_cjs.__name(clonePrivateIdentifier, "clonePrivateIdentifier");
|
|
3954
3954
|
function toSetParentNodesOptions(options) {
|
|
3955
3955
|
var _a, _b, _c;
|
|
3956
3956
|
return {
|
|
@@ -3959,120 +3959,120 @@ function toSetParentNodesOptions(options) {
|
|
|
3959
3959
|
deep: (_c = options.deep) !== null && _c !== void 0 ? _c : true
|
|
3960
3960
|
};
|
|
3961
3961
|
}
|
|
3962
|
-
|
|
3962
|
+
chunkG33GCWR5_cjs.__name(toSetParentNodesOptions, "toSetParentNodesOptions");
|
|
3963
3963
|
function isNamedTupleMember(node, typescript) {
|
|
3964
3964
|
return typescript.SyntaxKind.NamedTupleMember != null && node.kind === typescript.SyntaxKind.NamedTupleMember;
|
|
3965
3965
|
}
|
|
3966
|
-
|
|
3966
|
+
chunkG33GCWR5_cjs.__name(isNamedTupleMember, "isNamedTupleMember");
|
|
3967
3967
|
function cloneNamedTupleMember(node, options) {
|
|
3968
3968
|
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));
|
|
3969
3969
|
}
|
|
3970
|
-
|
|
3970
|
+
chunkG33GCWR5_cjs.__name(cloneNamedTupleMember, "cloneNamedTupleMember");
|
|
3971
3971
|
function isJsDocDeprecatedTag(node, typescript) {
|
|
3972
3972
|
if ("JSDocDeprecatedTag" in typescript) {
|
|
3973
3973
|
return typescript.isJSDocDeprecatedTag(node);
|
|
3974
3974
|
}
|
|
3975
3975
|
return node.kind === typescript.SyntaxKind.JSDocDeprecatedTag;
|
|
3976
3976
|
}
|
|
3977
|
-
|
|
3977
|
+
chunkG33GCWR5_cjs.__name(isJsDocDeprecatedTag, "isJsDocDeprecatedTag");
|
|
3978
3978
|
function cloneJsDocDeprecatedTag(node, options) {
|
|
3979
3979
|
const baseNode = options.factory.createJSDocDeprecatedTag(options.hook("tagName", options.nextNode(node.tagName), node.tagName), options.hook("comment", node.comment, node.comment));
|
|
3980
3980
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
3981
3981
|
return baseNode;
|
|
3982
3982
|
}
|
|
3983
|
-
|
|
3983
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocDeprecatedTag, "cloneJsDocDeprecatedTag");
|
|
3984
3984
|
function isTemplateLiteralTypeNode(node, typescript) {
|
|
3985
3985
|
return typescript.SyntaxKind.TemplateLiteralType != null && node.kind === typescript.SyntaxKind.TemplateLiteralType;
|
|
3986
3986
|
}
|
|
3987
|
-
|
|
3987
|
+
chunkG33GCWR5_cjs.__name(isTemplateLiteralTypeNode, "isTemplateLiteralTypeNode");
|
|
3988
3988
|
function cloneTemplateLiteralTypeNode(node, options) {
|
|
3989
3989
|
return options.factory.createTemplateLiteralType(options.hook("head", options.nextNode(node.head), node.head), options.hook("templateSpans", options.nextNodes(node.templateSpans), node.templateSpans));
|
|
3990
3990
|
}
|
|
3991
|
-
|
|
3991
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateLiteralTypeNode, "cloneTemplateLiteralTypeNode");
|
|
3992
3992
|
function isTemplateLiteralTypeSpan(node, typescript) {
|
|
3993
3993
|
return typescript.SyntaxKind.TemplateLiteralTypeSpan != null && node.kind === typescript.SyntaxKind.TemplateLiteralTypeSpan;
|
|
3994
3994
|
}
|
|
3995
|
-
|
|
3995
|
+
chunkG33GCWR5_cjs.__name(isTemplateLiteralTypeSpan, "isTemplateLiteralTypeSpan");
|
|
3996
3996
|
function cloneTemplateLiteralTypeSpan(node, options) {
|
|
3997
3997
|
return options.factory.createTemplateLiteralTypeSpan(options.hook("type", options.nextNode(node.type), node.type), options.hook("literal", options.nextNode(node.literal), node.literal));
|
|
3998
3998
|
}
|
|
3999
|
-
|
|
3999
|
+
chunkG33GCWR5_cjs.__name(cloneTemplateLiteralTypeSpan, "cloneTemplateLiteralTypeSpan");
|
|
4000
4000
|
function isJsDocLink(node, typescript) {
|
|
4001
4001
|
if ("isJSDocLink" in typescript) {
|
|
4002
4002
|
return typescript.isJSDocLink(node);
|
|
4003
4003
|
}
|
|
4004
4004
|
return node.kind === typescript.SyntaxKind.JSDocLink;
|
|
4005
4005
|
}
|
|
4006
|
-
|
|
4006
|
+
chunkG33GCWR5_cjs.__name(isJsDocLink, "isJsDocLink");
|
|
4007
4007
|
function cloneJsDocLink(node, options) {
|
|
4008
4008
|
const baseNode = options.factory.createJSDocLink(options.hook("name", options.nextNode(node.name), node.name), options.hook("text", node.text, node.text));
|
|
4009
4009
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
4010
4010
|
return baseNode;
|
|
4011
4011
|
}
|
|
4012
|
-
|
|
4012
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocLink, "cloneJsDocLink");
|
|
4013
4013
|
function clonePropertyAccessChain(node, options) {
|
|
4014
4014
|
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));
|
|
4015
4015
|
}
|
|
4016
|
-
|
|
4016
|
+
chunkG33GCWR5_cjs.__name(clonePropertyAccessChain, "clonePropertyAccessChain");
|
|
4017
4017
|
function cloneClassStaticBlockDeclaration(node, options) {
|
|
4018
4018
|
return options.factory.createClassStaticBlockDeclaration(options.hook("body", options.nextNode(node.body), node.body));
|
|
4019
4019
|
}
|
|
4020
|
-
|
|
4020
|
+
chunkG33GCWR5_cjs.__name(cloneClassStaticBlockDeclaration, "cloneClassStaticBlockDeclaration");
|
|
4021
4021
|
function isJsDocLinkCode(node, typescript) {
|
|
4022
4022
|
if ("isJSDocLinkCode" in typescript) {
|
|
4023
4023
|
return typescript.isJSDocLinkCode(node);
|
|
4024
4024
|
}
|
|
4025
4025
|
return node.kind === typescript.SyntaxKind.JSDocLinkCode;
|
|
4026
4026
|
}
|
|
4027
|
-
|
|
4027
|
+
chunkG33GCWR5_cjs.__name(isJsDocLinkCode, "isJsDocLinkCode");
|
|
4028
4028
|
function cloneJsDocLinkCode(node, options) {
|
|
4029
4029
|
const baseNode = options.factory.createJSDocLinkCode(options.hook("name", options.nextNode(node.name), node.name), options.hook("text", node.text, node.text));
|
|
4030
4030
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
4031
4031
|
return baseNode;
|
|
4032
4032
|
}
|
|
4033
|
-
|
|
4033
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocLinkCode, "cloneJsDocLinkCode");
|
|
4034
4034
|
function isJsDocLinkPlain(node, typescript) {
|
|
4035
4035
|
if ("isJSDocLinkPlain" in typescript) {
|
|
4036
4036
|
return typescript.isJSDocLinkPlain(node);
|
|
4037
4037
|
}
|
|
4038
4038
|
return node.kind === typescript.SyntaxKind.JSDocLinkPlain;
|
|
4039
4039
|
}
|
|
4040
|
-
|
|
4040
|
+
chunkG33GCWR5_cjs.__name(isJsDocLinkPlain, "isJsDocLinkPlain");
|
|
4041
4041
|
function cloneJsDocLinkPlain(node, options) {
|
|
4042
4042
|
const baseNode = options.factory.createJSDocLinkPlain(options.hook("name", options.nextNode(node.name), node.name), options.hook("text", node.text, node.text));
|
|
4043
4043
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
4044
4044
|
return baseNode;
|
|
4045
4045
|
}
|
|
4046
|
-
|
|
4046
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocLinkPlain, "cloneJsDocLinkPlain");
|
|
4047
4047
|
function isJsDocMemberName(node, typescript) {
|
|
4048
4048
|
if ("isJSDocMemberName" in typescript) {
|
|
4049
4049
|
return typescript.isJSDocMemberName(node);
|
|
4050
4050
|
}
|
|
4051
4051
|
return node.kind === typescript.SyntaxKind.JSDocMemberName;
|
|
4052
4052
|
}
|
|
4053
|
-
|
|
4053
|
+
chunkG33GCWR5_cjs.__name(isJsDocMemberName, "isJsDocMemberName");
|
|
4054
4054
|
function cloneJsDocMemberName(node, options) {
|
|
4055
4055
|
const baseNode = options.factory.createJSDocMemberName(options.hook("left", options.nextNode(node.left), node.left), options.hook("right", options.nextNode(node.right), node.right));
|
|
4056
4056
|
baseNode.flags = options.hook("flags", node.flags |= 8, node.flags |= 8);
|
|
4057
4057
|
return baseNode;
|
|
4058
4058
|
}
|
|
4059
|
-
|
|
4059
|
+
chunkG33GCWR5_cjs.__name(cloneJsDocMemberName, "cloneJsDocMemberName");
|
|
4060
4060
|
function cloneAssertClause(node, options) {
|
|
4061
4061
|
return options.factory.createAssertClause(ensureNodeArray(options.hook("elements", options.nextNodes(node.elements), node.elements), options.factory), options.hook("multiLine", node.multiLine, node.multiLine));
|
|
4062
4062
|
}
|
|
4063
|
-
|
|
4063
|
+
chunkG33GCWR5_cjs.__name(cloneAssertClause, "cloneAssertClause");
|
|
4064
4064
|
function cloneAssertEntry(node, options) {
|
|
4065
4065
|
return options.factory.createAssertEntry(options.hook("name", options.nextNode(node.name), node.name), options.hook("value", options.nextNode(node.value), node.value));
|
|
4066
4066
|
}
|
|
4067
|
-
|
|
4067
|
+
chunkG33GCWR5_cjs.__name(cloneAssertEntry, "cloneAssertEntry");
|
|
4068
4068
|
function isImportTypeAssertionContainer(node, typescript) {
|
|
4069
4069
|
return typescript.SyntaxKind.ImportTypeAssertionContainer != null && node.kind === typescript.SyntaxKind.ImportTypeAssertionContainer;
|
|
4070
4070
|
}
|
|
4071
|
-
|
|
4071
|
+
chunkG33GCWR5_cjs.__name(isImportTypeAssertionContainer, "isImportTypeAssertionContainer");
|
|
4072
4072
|
function cloneImportTypeAssertionContainer(node, options) {
|
|
4073
4073
|
return options.factory.createImportTypeAssertionContainer(options.hook("assertClause", options.nextNode(node.assertClause), node.assertClause), options.hook("multiLine", node.multiLine, node.multiLine));
|
|
4074
4074
|
}
|
|
4075
|
-
|
|
4075
|
+
chunkG33GCWR5_cjs.__name(cloneImportTypeAssertionContainer, "cloneImportTypeAssertionContainer");
|
|
4076
4076
|
function cloneNode(node, options = {}) {
|
|
4077
4077
|
var _a, _b, _c;
|
|
4078
4078
|
if (node === void 0) return void 0;
|
|
@@ -4089,16 +4089,16 @@ function cloneNode(node, options = {}) {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
return clone;
|
|
4091
4091
|
}
|
|
4092
|
-
|
|
4092
|
+
chunkG33GCWR5_cjs.__name(cloneNode, "cloneNode");
|
|
4093
4093
|
function nextNode(node, options) {
|
|
4094
4094
|
var _a, _b;
|
|
4095
4095
|
if (node === void 0) return void 0;
|
|
4096
4096
|
const hook = (_a = options.hook(node, payload(options))) !== null && _a !== void 0 ? _a : {};
|
|
4097
4097
|
const visitorOptions = {
|
|
4098
4098
|
...options,
|
|
4099
|
-
nextNode: /* @__PURE__ */
|
|
4100
|
-
nextNodes: /* @__PURE__ */
|
|
4101
|
-
hook: /* @__PURE__ */
|
|
4099
|
+
nextNode: /* @__PURE__ */ chunkG33GCWR5_cjs.__name((actualNode) => nextNode(actualNode, nextOptions(options)), "nextNode"),
|
|
4100
|
+
nextNodes: /* @__PURE__ */ chunkG33GCWR5_cjs.__name((actualNodes) => nextNodes(actualNodes, nextOptions(options)), "nextNodes"),
|
|
4101
|
+
hook: /* @__PURE__ */ chunkG33GCWR5_cjs.__name((key, newValue, oldValue) => {
|
|
4102
4102
|
const callback = hook[key];
|
|
4103
4103
|
if (callback != null) {
|
|
4104
4104
|
return callback(newValue, oldValue);
|
|
@@ -4116,7 +4116,7 @@ function nextNode(node, options) {
|
|
|
4116
4116
|
preserveSymbols(clone, node, options);
|
|
4117
4117
|
return options.finalize == null ? clone : (_b = options.finalize(clone, node, payload(options))) !== null && _b !== void 0 ? _b : clone;
|
|
4118
4118
|
}
|
|
4119
|
-
|
|
4119
|
+
chunkG33GCWR5_cjs.__name(nextNode, "nextNode");
|
|
4120
4120
|
function executePreserveNode(node, oldNode, options) {
|
|
4121
4121
|
if (node == null || oldNode == null || node === oldNode) return void 0;
|
|
4122
4122
|
setParents(node, toSetParentNodesOptions({
|
|
@@ -4128,7 +4128,7 @@ function executePreserveNode(node, oldNode, options) {
|
|
|
4128
4128
|
setOriginalNodes(node, oldNode, options);
|
|
4129
4129
|
preserveSymbols(node, oldNode, options);
|
|
4130
4130
|
}
|
|
4131
|
-
|
|
4131
|
+
chunkG33GCWR5_cjs.__name(executePreserveNode, "executePreserveNode");
|
|
4132
4132
|
function setOriginalNodes(newNode, oldNode, options) {
|
|
4133
4133
|
if (newNode === oldNode) return;
|
|
4134
4134
|
if (options.setOriginalNodes) {
|
|
@@ -4138,7 +4138,7 @@ function setOriginalNodes(newNode, oldNode, options) {
|
|
|
4138
4138
|
newNode._original = oldNode;
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
|
-
|
|
4141
|
+
chunkG33GCWR5_cjs.__name(setOriginalNodes, "setOriginalNodes");
|
|
4142
4142
|
function preserveSymbols(node, otherNode, options) {
|
|
4143
4143
|
var _a;
|
|
4144
4144
|
if (node === otherNode) return node;
|
|
@@ -4151,12 +4151,12 @@ function preserveSymbols(node, otherNode, options) {
|
|
|
4151
4151
|
}
|
|
4152
4152
|
return node;
|
|
4153
4153
|
}
|
|
4154
|
-
|
|
4154
|
+
chunkG33GCWR5_cjs.__name(preserveSymbols, "preserveSymbols");
|
|
4155
4155
|
function nextNodes(nodes, options) {
|
|
4156
4156
|
if (nodes === void 0) return void 0;
|
|
4157
4157
|
return nodes.map((node) => nextNode(node, options));
|
|
4158
4158
|
}
|
|
4159
|
-
|
|
4159
|
+
chunkG33GCWR5_cjs.__name(nextNodes, "nextNodes");
|
|
4160
4160
|
function executeCloneNode(node, options) {
|
|
4161
4161
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
4162
4162
|
if (node == null) return void 0;
|
|
@@ -4551,12 +4551,12 @@ function executeCloneNode(node, options) {
|
|
|
4551
4551
|
}
|
|
4552
4552
|
throw new TypeError(`Could not handle Node of kind: '${options.typescript.SyntaxKind[node.kind]}'`);
|
|
4553
4553
|
}
|
|
4554
|
-
|
|
4554
|
+
chunkG33GCWR5_cjs.__name(executeCloneNode, "executeCloneNode");
|
|
4555
4555
|
var { isArrowFunction, isComputedPropertyName, isIdentifier, isNamedImports, isNumericLiteral, isPrivateIdentifier, isStringLiteral, isStringLiteralLike, setOriginalNode, getLeadingCommentRanges, isNoSubstitutionTemplateLiteral, NodeFlags, SyntaxKind } = ts3__default.default;
|
|
4556
4556
|
function is__String(value) {
|
|
4557
4557
|
return typeof value === "string";
|
|
4558
4558
|
}
|
|
4559
|
-
|
|
4559
|
+
chunkG33GCWR5_cjs.__name(is__String, "is__String");
|
|
4560
4560
|
function getIdentifierName(node) {
|
|
4561
4561
|
if (is__String(node)) return node;
|
|
4562
4562
|
if (isIdentifier(node) || isPrivateIdentifier(node)) {
|
|
@@ -4565,13 +4565,13 @@ function getIdentifierName(node) {
|
|
|
4565
4565
|
if (isStringLiteral(node)) return node.text;
|
|
4566
4566
|
return "";
|
|
4567
4567
|
}
|
|
4568
|
-
|
|
4568
|
+
chunkG33GCWR5_cjs.__name(getIdentifierName, "getIdentifierName");
|
|
4569
4569
|
function getEscapedText(node) {
|
|
4570
4570
|
if (is__String(node)) return node;
|
|
4571
4571
|
if (isIdentifier(node) || isPrivateIdentifier(node)) return node.escapedText;
|
|
4572
4572
|
return getIdentifierName(node);
|
|
4573
4573
|
}
|
|
4574
|
-
|
|
4574
|
+
chunkG33GCWR5_cjs.__name(getEscapedText, "getEscapedText");
|
|
4575
4575
|
function findSourceFile(node) {
|
|
4576
4576
|
if (node.kind === SyntaxKind.SourceFile) return node;
|
|
4577
4577
|
let current = node.parent;
|
|
@@ -4580,12 +4580,12 @@ function findSourceFile(node) {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
return current;
|
|
4582
4582
|
}
|
|
4583
|
-
|
|
4583
|
+
chunkG33GCWR5_cjs.__name(findSourceFile, "findSourceFile");
|
|
4584
4584
|
function joinQualifiedName(name) {
|
|
4585
4585
|
if (isIdentifier(name)) return getIdentifierName(name);
|
|
4586
4586
|
return joinQualifiedName(name.left) + "_" + getIdentifierName(name.right);
|
|
4587
4587
|
}
|
|
4588
|
-
|
|
4588
|
+
chunkG33GCWR5_cjs.__name(joinQualifiedName, "joinQualifiedName");
|
|
4589
4589
|
var BANNER_REGEX = /^\/\*\s---.*\n[\s\S]*\s*---\s*\*\//;
|
|
4590
4590
|
function getCommentOfNode(sourceFile, node) {
|
|
4591
4591
|
const commentLines = getLeadingCommentRanges(sourceFile.text, node.pos);
|
|
@@ -4598,7 +4598,7 @@ function getCommentOfNode(sourceFile, node) {
|
|
|
4598
4598
|
}
|
|
4599
4599
|
return comment;
|
|
4600
4600
|
}
|
|
4601
|
-
|
|
4601
|
+
chunkG33GCWR5_cjs.__name(getCommentOfNode, "getCommentOfNode");
|
|
4602
4602
|
function parseJSDocAttributeFromText(comment, attribute) {
|
|
4603
4603
|
const attributeStr = `@${attribute} `;
|
|
4604
4604
|
const index = comment.indexOf(attributeStr);
|
|
@@ -4638,11 +4638,11 @@ function parseJSDocAttributeFromText(comment, attribute) {
|
|
|
4638
4638
|
end + 1
|
|
4639
4639
|
];
|
|
4640
4640
|
}
|
|
4641
|
-
|
|
4641
|
+
chunkG33GCWR5_cjs.__name(parseJSDocAttributeFromText, "parseJSDocAttributeFromText");
|
|
4642
4642
|
function parseJSDocBooleanFromText(comment, attribute) {
|
|
4643
4643
|
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;
|
|
4644
4644
|
}
|
|
4645
|
-
|
|
4645
|
+
chunkG33GCWR5_cjs.__name(parseJSDocBooleanFromText, "parseJSDocBooleanFromText");
|
|
4646
4646
|
function parseJSDocDescription(comment) {
|
|
4647
4647
|
let lines = comment.split("\n").filter((line) => line && !line.includes("/**") && !line.includes("*/")).map((line) => line.replace(/^\s*\*\s*/g, "").replace(/^\*\s*/g, "").trim());
|
|
4648
4648
|
const attribute = lines.findIndex((line) => line.startsWith("@"));
|
|
@@ -4651,7 +4651,7 @@ function parseJSDocDescription(comment) {
|
|
|
4651
4651
|
}
|
|
4652
4652
|
return lines.join("\n").trim() || void 0;
|
|
4653
4653
|
}
|
|
4654
|
-
|
|
4654
|
+
chunkG33GCWR5_cjs.__name(parseJSDocDescription, "parseJSDocDescription");
|
|
4655
4655
|
function extractJSDocAttribute(sourceFile, node, attribute) {
|
|
4656
4656
|
if (!node) return void 0;
|
|
4657
4657
|
const comment = getCommentOfNode(sourceFile, node);
|
|
@@ -4662,7 +4662,7 @@ function extractJSDocAttribute(sourceFile, node, attribute) {
|
|
|
4662
4662
|
}
|
|
4663
4663
|
return result[0];
|
|
4664
4664
|
}
|
|
4665
|
-
|
|
4665
|
+
chunkG33GCWR5_cjs.__name(extractJSDocAttribute, "extractJSDocAttribute");
|
|
4666
4666
|
function extractJSDocArray(sourceFile, node, attribute) {
|
|
4667
4667
|
if (!node) return void 0;
|
|
4668
4668
|
const comment = getCommentOfNode(sourceFile, node);
|
|
@@ -4690,7 +4690,7 @@ function extractJSDocArray(sourceFile, node, attribute) {
|
|
|
4690
4690
|
}
|
|
4691
4691
|
return results;
|
|
4692
4692
|
}
|
|
4693
|
-
|
|
4693
|
+
chunkG33GCWR5_cjs.__name(extractJSDocArray, "extractJSDocArray");
|
|
4694
4694
|
function extractJSDocBoolean(sourceFile, node, attribute) {
|
|
4695
4695
|
if (!node) {
|
|
4696
4696
|
return void 0;
|
|
@@ -4701,7 +4701,7 @@ function extractJSDocBoolean(sourceFile, node, attribute) {
|
|
|
4701
4701
|
}
|
|
4702
4702
|
return parseJSDocBooleanFromText(comment, attribute);
|
|
4703
4703
|
}
|
|
4704
|
-
|
|
4704
|
+
chunkG33GCWR5_cjs.__name(extractJSDocBoolean, "extractJSDocBoolean");
|
|
4705
4705
|
function getPropertyName(f, node) {
|
|
4706
4706
|
if (!node) return "";
|
|
4707
4707
|
if (isIdentifier(node)) return getIdentifierName(node);
|
|
@@ -4714,7 +4714,7 @@ function getPropertyName(f, node) {
|
|
|
4714
4714
|
if (isPrivateIdentifier(node)) return getIdentifierName(node);
|
|
4715
4715
|
return "";
|
|
4716
4716
|
}
|
|
4717
|
-
|
|
4717
|
+
chunkG33GCWR5_cjs.__name(getPropertyName, "getPropertyName");
|
|
4718
4718
|
function getNameAsString(node) {
|
|
4719
4719
|
if (!node) return "";
|
|
4720
4720
|
if (isIdentifier(node)) return getIdentifierName(node);
|
|
@@ -4729,16 +4729,16 @@ function getNameAsString(node) {
|
|
|
4729
4729
|
if (isPrivateIdentifier(node)) return getIdentifierName(node);
|
|
4730
4730
|
return joinQualifiedName(node);
|
|
4731
4731
|
}
|
|
4732
|
-
|
|
4732
|
+
chunkG33GCWR5_cjs.__name(getNameAsString, "getNameAsString");
|
|
4733
4733
|
function hasModifier(node, modifier) {
|
|
4734
4734
|
if (!node.modifiers) return false;
|
|
4735
4735
|
return node.modifiers.some((v) => v.kind === modifier);
|
|
4736
4736
|
}
|
|
4737
|
-
|
|
4738
|
-
var cloneHook = /* @__PURE__ */
|
|
4737
|
+
chunkG33GCWR5_cjs.__name(hasModifier, "hasModifier");
|
|
4738
|
+
var cloneHook = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((node, payload2) => {
|
|
4739
4739
|
if (isIdentifier(node)) {
|
|
4740
4740
|
return {
|
|
4741
|
-
text: /* @__PURE__ */
|
|
4741
|
+
text: /* @__PURE__ */ chunkG33GCWR5_cjs.__name(() => {
|
|
4742
4742
|
return getIdentifierName(node);
|
|
4743
4743
|
}, "text")
|
|
4744
4744
|
};
|
|
@@ -4747,7 +4747,7 @@ var cloneHook = /* @__PURE__ */ chunkZEYJDCDK_cjs.__name((node, payload2) => {
|
|
|
4747
4747
|
}, "cloneHook");
|
|
4748
4748
|
var NodeConverter = class {
|
|
4749
4749
|
static {
|
|
4750
|
-
|
|
4750
|
+
chunkG33GCWR5_cjs.__name(this, "NodeConverter");
|
|
4751
4751
|
}
|
|
4752
4752
|
constructor(f) {
|
|
4753
4753
|
this.f = f;
|
|
@@ -4800,11 +4800,11 @@ var NodeConverter = class {
|
|
|
4800
4800
|
function isExternalOrCommonJsModule(file) {
|
|
4801
4801
|
return (file.externalModuleIndicator || file.commonJsModuleIndicator) !== void 0;
|
|
4802
4802
|
}
|
|
4803
|
-
|
|
4803
|
+
chunkG33GCWR5_cjs.__name(isExternalOrCommonJsModule, "isExternalOrCommonJsModule");
|
|
4804
4804
|
function isNodeWithLocals(node) {
|
|
4805
4805
|
return "locals" in node;
|
|
4806
4806
|
}
|
|
4807
|
-
|
|
4807
|
+
chunkG33GCWR5_cjs.__name(isNodeWithLocals, "isNodeWithLocals");
|
|
4808
4808
|
function getGlobalsOfSourceFile(file) {
|
|
4809
4809
|
if (file.redirectInfo) return;
|
|
4810
4810
|
if (!isNodeWithLocals(file)) return;
|
|
@@ -4812,7 +4812,7 @@ function getGlobalsOfSourceFile(file) {
|
|
|
4812
4812
|
if (file.jsGlobalAugmentations) return file.jsGlobalAugmentations;
|
|
4813
4813
|
if (file.symbol && file.symbol.globalExports) return file.symbol.globalExports;
|
|
4814
4814
|
}
|
|
4815
|
-
|
|
4815
|
+
chunkG33GCWR5_cjs.__name(getGlobalsOfSourceFile, "getGlobalsOfSourceFile");
|
|
4816
4816
|
function ensureImportIsEmitted(importDeclaration, specifierName) {
|
|
4817
4817
|
if (specifierName && importDeclaration.importClause && importDeclaration.importClause.namedBindings) {
|
|
4818
4818
|
if (isNamedImports(importDeclaration.importClause.namedBindings)) {
|
|
@@ -4826,7 +4826,7 @@ function ensureImportIsEmitted(importDeclaration, specifierName) {
|
|
|
4826
4826
|
}
|
|
4827
4827
|
importDeclaration.flags |= NodeFlags.Synthesized;
|
|
4828
4828
|
}
|
|
4829
|
-
|
|
4829
|
+
chunkG33GCWR5_cjs.__name(ensureImportIsEmitted, "ensureImportIsEmitted");
|
|
4830
4830
|
function serializeEntityNameAsExpression(f, node) {
|
|
4831
4831
|
switch (node.kind) {
|
|
4832
4832
|
case SyntaxKind.Identifier:
|
|
@@ -4836,11 +4836,11 @@ function serializeEntityNameAsExpression(f, node) {
|
|
|
4836
4836
|
}
|
|
4837
4837
|
return node;
|
|
4838
4838
|
}
|
|
4839
|
-
|
|
4839
|
+
chunkG33GCWR5_cjs.__name(serializeEntityNameAsExpression, "serializeEntityNameAsExpression");
|
|
4840
4840
|
function serializeQualifiedNameAsExpression(f, node) {
|
|
4841
4841
|
return f.createPropertyAccessExpression(serializeEntityNameAsExpression(f, node.left), node.right);
|
|
4842
4842
|
}
|
|
4843
|
-
|
|
4843
|
+
chunkG33GCWR5_cjs.__name(serializeQualifiedNameAsExpression, "serializeQualifiedNameAsExpression");
|
|
4844
4844
|
function finish(oldNode, newNode) {
|
|
4845
4845
|
setOriginalNode(newNode, oldNode);
|
|
4846
4846
|
newNode._original = newNode.original;
|
|
@@ -4848,18 +4848,18 @@ function finish(oldNode, newNode) {
|
|
|
4848
4848
|
newNode.symbol = newNode._symbol;
|
|
4849
4849
|
return newNode;
|
|
4850
4850
|
}
|
|
4851
|
-
|
|
4851
|
+
chunkG33GCWR5_cjs.__name(finish, "finish");
|
|
4852
4852
|
|
|
4853
4853
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_143b8995c1cda11bde19e9c2bed13bd6/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
|
|
4854
4854
|
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;
|
|
4855
4855
|
function encodeOps(ops) {
|
|
4856
4856
|
return ops.map((v) => String.fromCharCode(v + 33)).join("");
|
|
4857
4857
|
}
|
|
4858
|
-
|
|
4858
|
+
chunkG33GCWR5_cjs.__name(encodeOps, "encodeOps");
|
|
4859
4859
|
function filterUndefined(object) {
|
|
4860
4860
|
return Object.fromEntries(Object.entries(object).filter(([, v]) => v !== void 0));
|
|
4861
4861
|
}
|
|
4862
|
-
|
|
4862
|
+
chunkG33GCWR5_cjs.__name(filterUndefined, "filterUndefined");
|
|
4863
4863
|
var packSizeByte = 6;
|
|
4864
4864
|
var packSize = 2 ** packSizeByte;
|
|
4865
4865
|
var OPs = {
|
|
@@ -4977,7 +4977,7 @@ function debugPackStruct(sourceFile, forType, pack) {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
console.log(stack.join(","), "|", ...items);
|
|
4979
4979
|
}
|
|
4980
|
-
|
|
4980
|
+
chunkG33GCWR5_cjs.__name(debugPackStruct, "debugPackStruct");
|
|
4981
4981
|
function findVariable(frame, name, frameOffset = 0) {
|
|
4982
4982
|
const variable = frame.variables.find((v) => v.name === name);
|
|
4983
4983
|
if (variable) {
|
|
@@ -4989,16 +4989,16 @@ function findVariable(frame, name, frameOffset = 0) {
|
|
|
4989
4989
|
if (frame.previous) return findVariable(frame.previous, name, frameOffset + 1);
|
|
4990
4990
|
return;
|
|
4991
4991
|
}
|
|
4992
|
-
|
|
4992
|
+
chunkG33GCWR5_cjs.__name(findVariable, "findVariable");
|
|
4993
4993
|
function findConditionalFrame(frame) {
|
|
4994
4994
|
if (frame.conditional) return frame;
|
|
4995
4995
|
if (frame.previous) return findConditionalFrame(frame.previous);
|
|
4996
4996
|
return;
|
|
4997
4997
|
}
|
|
4998
|
-
|
|
4998
|
+
chunkG33GCWR5_cjs.__name(findConditionalFrame, "findConditionalFrame");
|
|
4999
4999
|
var CompilerProgram = class CompilerProgram2 {
|
|
5000
5000
|
static {
|
|
5001
|
-
|
|
5001
|
+
chunkG33GCWR5_cjs.__name(this, "CompilerProgram");
|
|
5002
5002
|
}
|
|
5003
5003
|
constructor(forNode, sourceFile) {
|
|
5004
5004
|
this.forNode = forNode;
|
|
@@ -5161,7 +5161,7 @@ function getAssignTypeExpression(call) {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
return;
|
|
5163
5163
|
}
|
|
5164
|
-
|
|
5164
|
+
chunkG33GCWR5_cjs.__name(getAssignTypeExpression, "getAssignTypeExpression");
|
|
5165
5165
|
function getReceiveTypeParameter(type) {
|
|
5166
5166
|
if (isUnionTypeNode(type)) {
|
|
5167
5167
|
for (const t of type.types) {
|
|
@@ -5171,10 +5171,10 @@ function getReceiveTypeParameter(type) {
|
|
|
5171
5171
|
} else if (isTypeReferenceNode(type) && isIdentifier2(type.typeName) && getIdentifierName(type.typeName) === "ReceiveType" && !!type.typeArguments && type.typeArguments.length === 1) return type;
|
|
5172
5172
|
return;
|
|
5173
5173
|
}
|
|
5174
|
-
|
|
5174
|
+
chunkG33GCWR5_cjs.__name(getReceiveTypeParameter, "getReceiveTypeParameter");
|
|
5175
5175
|
var Cache = class {
|
|
5176
5176
|
static {
|
|
5177
|
-
|
|
5177
|
+
chunkG33GCWR5_cjs.__name(this, "Cache");
|
|
5178
5178
|
}
|
|
5179
5179
|
constructor() {
|
|
5180
5180
|
this.resolver = {};
|
|
@@ -5191,7 +5191,7 @@ var Cache = class {
|
|
|
5191
5191
|
};
|
|
5192
5192
|
var ReflectionTransformer = class {
|
|
5193
5193
|
static {
|
|
5194
|
-
|
|
5194
|
+
chunkG33GCWR5_cjs.__name(this, "ReflectionTransformer");
|
|
5195
5195
|
}
|
|
5196
5196
|
constructor(context, cache2 = new Cache()) {
|
|
5197
5197
|
this.context = context;
|
|
@@ -5227,12 +5227,12 @@ var ReflectionTransformer = class {
|
|
|
5227
5227
|
...filterUndefined(context.getCompilerOptions())
|
|
5228
5228
|
};
|
|
5229
5229
|
this.host = createCompilerHost(this.compilerOptions);
|
|
5230
|
-
this.resolver = new
|
|
5230
|
+
this.resolver = new chunkG33GCWR5_cjs.Resolver(this.compilerOptions, this.host, this.cache.sourceFiles);
|
|
5231
5231
|
this.parseConfigHost = {
|
|
5232
5232
|
useCaseSensitiveFileNames: true,
|
|
5233
|
-
fileExists: /* @__PURE__ */
|
|
5234
|
-
readFile: /* @__PURE__ */
|
|
5235
|
-
readDirectory: /* @__PURE__ */
|
|
5233
|
+
fileExists: /* @__PURE__ */ chunkG33GCWR5_cjs.__name((path) => this.host.fileExists(path), "fileExists"),
|
|
5234
|
+
readFile: /* @__PURE__ */ chunkG33GCWR5_cjs.__name((path) => this.host.readFile(path), "readFile"),
|
|
5235
|
+
readDirectory: /* @__PURE__ */ chunkG33GCWR5_cjs.__name((path, extensions, exclude, include, depth) => {
|
|
5236
5236
|
if (!this.host.readDirectory) return [];
|
|
5237
5237
|
return this.host.readDirectory(path, extensions || [], exclude, include || [], depth);
|
|
5238
5238
|
}, "readDirectory")
|
|
@@ -5268,8 +5268,8 @@ var ReflectionTransformer = class {
|
|
|
5268
5268
|
mergeStrategy: "replace",
|
|
5269
5269
|
compilerOptions: this.compilerOptions
|
|
5270
5270
|
};
|
|
5271
|
-
const match = /* @__PURE__ */
|
|
5272
|
-
const mode =
|
|
5271
|
+
const match = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((path) => {
|
|
5272
|
+
const mode = chunkG33GCWR5_cjs.reflectionModeMatcher(config, path);
|
|
5273
5273
|
return {
|
|
5274
5274
|
mode,
|
|
5275
5275
|
tsConfigPath: "",
|
|
@@ -5304,7 +5304,7 @@ var ReflectionTransformer = class {
|
|
|
5304
5304
|
if (this.overriddenConfigResolver) {
|
|
5305
5305
|
return this.overriddenConfigResolver;
|
|
5306
5306
|
}
|
|
5307
|
-
return
|
|
5307
|
+
return chunkG33GCWR5_cjs.getConfigResolver(this.cache.resolver, this.parseConfigHost, this.compilerOptions, sourceFile);
|
|
5308
5308
|
}
|
|
5309
5309
|
getReflectionConfig(sourceFile) {
|
|
5310
5310
|
const configResolver = this.getConfigResolver(sourceFile);
|
|
@@ -5329,20 +5329,20 @@ var ReflectionTransformer = class {
|
|
|
5329
5329
|
const reflection = configResolver.match(sourceFile.fileName);
|
|
5330
5330
|
Object.assign(this.compilerOptions, configResolver.config.compilerOptions);
|
|
5331
5331
|
if (reflection.mode === "never") {
|
|
5332
|
-
|
|
5332
|
+
chunkG33GCWR5_cjs.debug(`Transform file with reflection=${reflection.mode} took ${Date.now() - start}ms (${this.getModuleType()}) ${sourceFile.fileName} via config ${reflection.tsConfigPath || "none"}.`);
|
|
5333
5333
|
return sourceFile;
|
|
5334
5334
|
}
|
|
5335
5335
|
if (!sourceFile.locals) {
|
|
5336
5336
|
ts3__default.default.bindSourceFile(sourceFile, this.compilerOptions);
|
|
5337
5337
|
}
|
|
5338
5338
|
if (sourceFile.kind !== SyntaxKind2.SourceFile) {
|
|
5339
|
-
if ("undefined" === typeof
|
|
5339
|
+
if ("undefined" === typeof chunkG33GCWR5_cjs.__require) {
|
|
5340
5340
|
throw new Error(`Invalid TypeScript library imported. SyntaxKind different ${sourceFile.kind} !== ${SyntaxKind2.SourceFile}.`);
|
|
5341
5341
|
}
|
|
5342
|
-
const path =
|
|
5342
|
+
const path = chunkG33GCWR5_cjs.__require.resolve("typescript");
|
|
5343
5343
|
throw new Error(`Invalid TypeScript library imported. SyntaxKind different ${sourceFile.kind} !== ${SyntaxKind2.SourceFile}. typescript package path: ${path}`);
|
|
5344
5344
|
}
|
|
5345
|
-
const visitor = /* @__PURE__ */
|
|
5345
|
+
const visitor = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((node) => {
|
|
5346
5346
|
node = visitEachChild(node, visitor, this.context);
|
|
5347
5347
|
if (isInterfaceDeclaration(node) || isTypeAliasDeclaration(node) || isEnumDeclaration(node)) {
|
|
5348
5348
|
if (this.isWithReflection(sourceFile, node)) {
|
|
@@ -5476,7 +5476,7 @@ var ReflectionTransformer = class {
|
|
|
5476
5476
|
}
|
|
5477
5477
|
}
|
|
5478
5478
|
}
|
|
5479
|
-
const compileDeclarations = /* @__PURE__ */
|
|
5479
|
+
const compileDeclarations = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((node) => {
|
|
5480
5480
|
node = visitEachChild(node, compileDeclarations, this.context);
|
|
5481
5481
|
if (isTypeAliasDeclaration(node) || isInterfaceDeclaration(node) || isEnumDeclaration(node)) {
|
|
5482
5482
|
const d = this.compileDeclarations.get(node);
|
|
@@ -5550,7 +5550,7 @@ var ReflectionTransformer = class {
|
|
|
5550
5550
|
this.sourceFile = this.f.updateSourceFile(this.sourceFile, newStatements);
|
|
5551
5551
|
}
|
|
5552
5552
|
const took = Date.now() - start;
|
|
5553
|
-
|
|
5553
|
+
chunkG33GCWR5_cjs.debug(`Transform file with reflection=${reflection.mode} took ${took}ms (${this.getModuleType()}) ${sourceFile.fileName} via config ${reflection.tsConfigPath || "none"}.`);
|
|
5554
5554
|
this.sourceFile.deepkitTransformed = true;
|
|
5555
5555
|
return this.sourceFile;
|
|
5556
5556
|
}
|
|
@@ -6456,7 +6456,7 @@ var ReflectionTransformer = class {
|
|
|
6456
6456
|
if (isIdentifier2(name)) return getIdentifierName(name);
|
|
6457
6457
|
return joinQualifiedName2(name.left) + "_" + getIdentifierName(name.right);
|
|
6458
6458
|
}
|
|
6459
|
-
|
|
6459
|
+
chunkG33GCWR5_cjs.__name(joinQualifiedName2, "joinQualifiedName");
|
|
6460
6460
|
return this.f.createIdentifier("__\u03A9" + joinQualifiedName2(typeName));
|
|
6461
6461
|
}
|
|
6462
6462
|
/**
|
|
@@ -6465,8 +6465,8 @@ var ReflectionTransformer = class {
|
|
|
6465
6465
|
* via the exclude option. mainly used to exclude globals and external libraries.
|
|
6466
6466
|
*/
|
|
6467
6467
|
isExcluded(fileName) {
|
|
6468
|
-
const resolver = this.overriddenConfigResolver ||
|
|
6469
|
-
const res =
|
|
6468
|
+
const resolver = this.overriddenConfigResolver || chunkG33GCWR5_cjs.getConfigResolver(this.cache.resolver, this.parseConfigHost, this.compilerOptions, this.sourceFile);
|
|
6469
|
+
const res = chunkG33GCWR5_cjs.reflectionModeMatcher({
|
|
6470
6470
|
reflection: "default",
|
|
6471
6471
|
exclude: resolver.config.exclude
|
|
6472
6472
|
}, fileName);
|
|
@@ -6540,7 +6540,7 @@ var ReflectionTransformer = class {
|
|
|
6540
6540
|
}
|
|
6541
6541
|
}
|
|
6542
6542
|
program.pushOp(ReflectionOp.never);
|
|
6543
|
-
|
|
6543
|
+
chunkG33GCWR5_cjs.debug2(`Could not resolve ${getNameAsString(typeName)} in ${program.sourceFile?.fileName || "intrinsic"}`);
|
|
6544
6544
|
return;
|
|
6545
6545
|
}
|
|
6546
6546
|
let declaration = resolved.declaration;
|
|
@@ -6615,7 +6615,7 @@ var ReflectionTransformer = class {
|
|
|
6615
6615
|
if (declarationSourceFile.fileName.endsWith(".d.ts")) {
|
|
6616
6616
|
const resolverDecVariable = this.resolveImportSpecifier(getEscapedText(runtimeTypeName), resolved.importDeclaration, this.sourceFile);
|
|
6617
6617
|
if (!resolverDecVariable) {
|
|
6618
|
-
|
|
6618
|
+
chunkG33GCWR5_cjs.debug2(`Symbol ${runtimeTypeName.escapedText} not found in ${declarationSourceFile.fileName}`);
|
|
6619
6619
|
this.resolveTypeOnlyImport(typeName, program);
|
|
6620
6620
|
return;
|
|
6621
6621
|
}
|
|
@@ -6783,7 +6783,7 @@ var ReflectionTransformer = class {
|
|
|
6783
6783
|
for (const parameter of declaration.parent.parameters) {
|
|
6784
6784
|
if (!parameter.type) continue;
|
|
6785
6785
|
let found = false;
|
|
6786
|
-
const searchArgument = /* @__PURE__ */
|
|
6786
|
+
const searchArgument = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((node) => {
|
|
6787
6787
|
node = visitEachChild(node, searchArgument, this.context);
|
|
6788
6788
|
if (isTypeReferenceNode(node) && isIdentifier2(node.typeName) && node.typeName.escapedText === argumentName) {
|
|
6789
6789
|
found = true;
|
|
@@ -6862,7 +6862,7 @@ var ReflectionTransformer = class {
|
|
|
6862
6862
|
}
|
|
6863
6863
|
const source = this.resolver.resolve(sourceFile, importOrExport);
|
|
6864
6864
|
if (!source) {
|
|
6865
|
-
|
|
6865
|
+
chunkG33GCWR5_cjs.debug("module not found", importOrExport.moduleSpecifier.text, "Is transpileOnly enabled? It needs to be disabled.");
|
|
6866
6866
|
return;
|
|
6867
6867
|
}
|
|
6868
6868
|
const declaration = this.findDeclarationInFile(source, declarationName);
|
|
@@ -7042,7 +7042,7 @@ var ReflectionTransformer = class {
|
|
|
7042
7042
|
};
|
|
7043
7043
|
var DeclarationTransformer = class extends ReflectionTransformer {
|
|
7044
7044
|
static {
|
|
7045
|
-
|
|
7045
|
+
chunkG33GCWR5_cjs.__name(this, "DeclarationTransformer");
|
|
7046
7046
|
}
|
|
7047
7047
|
constructor() {
|
|
7048
7048
|
super(...arguments);
|
|
@@ -7056,7 +7056,7 @@ var DeclarationTransformer = class extends ReflectionTransformer {
|
|
|
7056
7056
|
const reflection = configResolver.match(sourceFile.fileName);
|
|
7057
7057
|
Object.assign(this.compilerOptions, configResolver.config.compilerOptions);
|
|
7058
7058
|
if (reflection.mode === "never") return sourceFile;
|
|
7059
|
-
const visitor = /* @__PURE__ */
|
|
7059
|
+
const visitor = /* @__PURE__ */ chunkG33GCWR5_cjs.__name((node) => {
|
|
7060
7060
|
node = visitEachChild(node, visitor, this.context);
|
|
7061
7061
|
if ((isTypeAliasDeclaration(node) || isInterfaceDeclaration(node) || isEnumDeclaration(node)) && hasModifier(node, SyntaxKind2.ExportKeyword)) {
|
|
7062
7062
|
const reflection2 = this.isWithReflection(sourceFile, node);
|
|
@@ -7091,15 +7091,15 @@ var DeclarationTransformer = class extends ReflectionTransformer {
|
|
|
7091
7091
|
};
|
|
7092
7092
|
var loaded = false;
|
|
7093
7093
|
var cache = new Cache();
|
|
7094
|
-
var transformer = /* @__PURE__ */
|
|
7094
|
+
var transformer = /* @__PURE__ */ chunkG33GCWR5_cjs.__name(function deepkitTransformer(context) {
|
|
7095
7095
|
if (!loaded) {
|
|
7096
|
-
|
|
7096
|
+
chunkG33GCWR5_cjs.debug("@deepkit/type transformer loaded\n");
|
|
7097
7097
|
loaded = true;
|
|
7098
7098
|
}
|
|
7099
7099
|
cache.tick();
|
|
7100
7100
|
return new ReflectionTransformer(context, cache);
|
|
7101
7101
|
}, "deepkitTransformer");
|
|
7102
|
-
var declarationTransformer = /* @__PURE__ */
|
|
7102
|
+
var declarationTransformer = /* @__PURE__ */ chunkG33GCWR5_cjs.__name(function deepkitDeclarationTransformer(context) {
|
|
7103
7103
|
return new DeclarationTransformer(context, cache);
|
|
7104
7104
|
}, "deepkitDeclarationTransformer");
|
|
7105
7105
|
|