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