@artel/artc 0.9.26048-pre-release → 0.9.26050-pre-release
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/build/Cli.js +3 -3
- package/build/api/Api.js +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +17 -17
- package/build/{chunk-NT4OVN2D.js → chunk-5AX3R55V.js} +1403 -196
- package/build/{chunk-467TFDOD.js → chunk-F6TALOY6.js} +9 -9
- package/build/{chunk-J3BXLO7R.js → chunk-VVNCXTTU.js} +1 -1
- package/build/types/analysis/WellKnownDeclarations.d.ts +6 -6
- package/build/types/analysis/a/ModifierFlags.d.ts +1 -1
- package/build/types/analysis/m/Analyzer.d.ts +1 -0
- package/build/types/analysis/m/SourceFileAnalyzer.d.ts +2 -0
- package/build/types/analysis/m/WellKnownTagValidator.d.ts +86 -0
- package/build/types/emitter/Emitter.d.ts +1 -1
- package/build/types/emitter/EmitterContext.d.ts +1 -0
- package/build/types/tree/m/WellKnownTagFlags.d.ts +18 -15
- package/build/types/ts-interop/TsInteropContext.d.ts +2 -1
- package/package.json +6 -6
package/build/Cli.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CommandLineCompiler
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-F6TALOY6.js";
|
|
5
|
+
import "./chunk-VVNCXTTU.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5AX3R55V.js";
|
|
9
9
|
|
|
10
10
|
// source/Cli.ts
|
|
11
11
|
function main() {
|
package/build/api/Api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Compiler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VVNCXTTU.js";
|
|
4
4
|
import {
|
|
5
5
|
AccessKind,
|
|
6
6
|
AccessedFunction_entity,
|
|
@@ -311,7 +311,7 @@ import {
|
|
|
311
311
|
withoutQuotes,
|
|
312
312
|
withoutTemplateQuotes,
|
|
313
313
|
yieldTask
|
|
314
|
-
} from "../chunk-
|
|
314
|
+
} from "../chunk-5AX3R55V.js";
|
|
315
315
|
export {
|
|
316
316
|
AccessKind,
|
|
317
317
|
AccessedFunction_entity,
|
package/build/api/ApiNodeJS.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
PhysicalFileSystem,
|
|
7
7
|
PhysicalTypeScriptLibrariesProvider,
|
|
8
8
|
PrintingDiagnosticAcceptor
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-F6TALOY6.js";
|
|
10
|
+
import "../chunk-VVNCXTTU.js";
|
|
11
|
+
import "../chunk-5AX3R55V.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|
package/build/api/ApiServices.js
CHANGED
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
traverseTreeAsync,
|
|
141
141
|
traverseTreeAsync2,
|
|
142
142
|
yieldTask
|
|
143
|
-
} from "../chunk-
|
|
143
|
+
} from "../chunk-5AX3R55V.js";
|
|
144
144
|
|
|
145
145
|
// source/services/common/Types.ts
|
|
146
146
|
import * as ls from "vscode-languageserver";
|
|
@@ -10341,69 +10341,69 @@ var EntityToSyntax2 = class {
|
|
|
10341
10341
|
const wkTagFlags = /* @__PURE__ */ new Set();
|
|
10342
10342
|
const isHidden = entity.isHidden();
|
|
10343
10343
|
if (isHidden?.kind === "type") {
|
|
10344
|
-
wkTagFlags.add(
|
|
10344
|
+
wkTagFlags.add(1 /* HiddenInType */);
|
|
10345
10345
|
}
|
|
10346
10346
|
if (isHidden?.kind === "type-hierarchy") {
|
|
10347
|
-
wkTagFlags.add(
|
|
10347
|
+
wkTagFlags.add(2 /* HiddenInHierarchy */);
|
|
10348
10348
|
}
|
|
10349
10349
|
if (isHidden?.kind === "file") {
|
|
10350
|
-
wkTagFlags.add(
|
|
10350
|
+
wkTagFlags.add(4 /* HiddenInFile */);
|
|
10351
10351
|
}
|
|
10352
10352
|
if (isHidden?.kind === "package") {
|
|
10353
|
-
wkTagFlags.add(
|
|
10353
|
+
wkTagFlags.add(8 /* HiddenInPackage */);
|
|
10354
10354
|
}
|
|
10355
10355
|
switch (entity.kind) {
|
|
10356
10356
|
case 2 /* Type */: {
|
|
10357
10357
|
if (entity.typeEntityKind === 1 /* Structured */ && entity.structuredTypeKind === 1 /* Structure */) {
|
|
10358
|
-
wkTagFlags.add(
|
|
10358
|
+
wkTagFlags.add(2048 /* Plain */);
|
|
10359
10359
|
}
|
|
10360
10360
|
if (entity.typeEntityKind === 1 /* Structured */ && entity.structuredTypeKind === 2 /* Aspect */) {
|
|
10361
|
-
wkTagFlags.add(
|
|
10361
|
+
wkTagFlags.add(4096 /* Aspect */);
|
|
10362
10362
|
}
|
|
10363
10363
|
if (entity.typeEntityKind === 6 /* Extension */) {
|
|
10364
|
-
wkTagFlags.add(
|
|
10364
|
+
wkTagFlags.add(8192 /* Extension */);
|
|
10365
10365
|
}
|
|
10366
10366
|
if (entity.typeEntityKind === 4 /* Alias */ && entity.getMembers().getAll().length > 0) {
|
|
10367
|
-
wkTagFlags.add(
|
|
10367
|
+
wkTagFlags.add(16384 /* Wrapper */);
|
|
10368
10368
|
}
|
|
10369
10369
|
if (entity.typeEntityKind === 1 /* Structured */ && entity.isAbstract()) {
|
|
10370
|
-
wkTagFlags.add(
|
|
10370
|
+
wkTagFlags.add(32 /* Abstract */);
|
|
10371
10371
|
}
|
|
10372
10372
|
break;
|
|
10373
10373
|
}
|
|
10374
10374
|
case 0 /* Variable */: {
|
|
10375
10375
|
if (entity.subkind === "field" && entity.isStatic()) {
|
|
10376
|
-
wkTagFlags.add(
|
|
10376
|
+
wkTagFlags.add(16 /* Static */);
|
|
10377
10377
|
}
|
|
10378
10378
|
if (entity.subkind === "field" && entity.markedBase()) {
|
|
10379
10379
|
wkTagFlags.add(64 /* Base */);
|
|
10380
10380
|
}
|
|
10381
10381
|
if (entity.subkind === "field" && entity.markedAbstract()) {
|
|
10382
|
-
wkTagFlags.add(
|
|
10382
|
+
wkTagFlags.add(32 /* Abstract */);
|
|
10383
10383
|
}
|
|
10384
10384
|
if (entity.subkind === "field" && entity.isOverride()) {
|
|
10385
10385
|
wkTagFlags.add(128 /* Override */);
|
|
10386
10386
|
}
|
|
10387
10387
|
if (entity.subkind !== "parameter" && entity.isConstant()) {
|
|
10388
|
-
wkTagFlags.add(
|
|
10388
|
+
wkTagFlags.add(512 /* Const */);
|
|
10389
10389
|
}
|
|
10390
10390
|
break;
|
|
10391
10391
|
}
|
|
10392
10392
|
case 1 /* Function */: {
|
|
10393
10393
|
if (entity.subkind === "method" && entity.isStatic()) {
|
|
10394
|
-
wkTagFlags.add(
|
|
10394
|
+
wkTagFlags.add(16 /* Static */);
|
|
10395
10395
|
}
|
|
10396
10396
|
if (entity.subkind === "method" && entity.markedBase()) {
|
|
10397
10397
|
wkTagFlags.add(64 /* Base */);
|
|
10398
10398
|
}
|
|
10399
10399
|
if (entity.subkind === "method" && entity.markedAbstract()) {
|
|
10400
|
-
wkTagFlags.add(
|
|
10400
|
+
wkTagFlags.add(32 /* Abstract */);
|
|
10401
10401
|
}
|
|
10402
10402
|
if (entity.subkind === "method" && entity.isOverride()) {
|
|
10403
10403
|
wkTagFlags.add(128 /* Override */);
|
|
10404
10404
|
}
|
|
10405
10405
|
if (entity.isAsync()) {
|
|
10406
|
-
wkTagFlags.add(
|
|
10406
|
+
wkTagFlags.add(256 /* Async */);
|
|
10407
10407
|
}
|
|
10408
10408
|
break;
|
|
10409
10409
|
}
|
|
@@ -19348,7 +19348,7 @@ var _LanguageServer = class _LanguageServer {
|
|
|
19348
19348
|
const options7 = {
|
|
19349
19349
|
importEmitKind: 2 /* Custom */,
|
|
19350
19350
|
isCustomImportSynchronous: true,
|
|
19351
|
-
|
|
19351
|
+
embedSyntaxNodePaths: true
|
|
19352
19352
|
};
|
|
19353
19353
|
let result;
|
|
19354
19354
|
try {
|