@artel/artc 0.9.26059-pre-release → 0.9.26060-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 +7 -7
- package/build/{chunk-WNCXRYBB.js → chunk-CSGFLTKZ.js} +1 -1
- package/build/{chunk-V4PX2NRT.js → chunk-ETOGWBIL.js} +2 -2
- package/build/{chunk-CMFD56EC.js → chunk-OBK4F7TH.js} +2251 -1739
- package/build/types/analysis/WellKnownDeclarations.d.ts +6 -6
- package/build/types/analysis/a/Analyzer.d.ts +2 -3
- package/build/types/analysis/a/FindModifier.d.ts +2 -3
- package/build/types/analysis/a/ModifierValidator.d.ts +1 -1
- package/build/types/analysis/m/BaseExpressionMeaning.d.ts +0 -1
- package/build/types/analysis/m/SourceFileAnalyzer.d.ts +2 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +256 -254
- package/build/types/entities/interfaces/BaseOrdinaryPackageFunctionEntity.d.ts +1 -0
- package/build/types/entities/interfaces/BasePackageMemberAccessorEntity.d.ts +1 -0
- package/build/types/entities/interfaces/FunctionEntity.d.ts +2 -0
- package/build/types/entities/intrinsic/IntrinsicConstructorEntity.d.ts +2 -0
- package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +10 -4
- package/build/types/entities/source/a/SourceConstructorEntity.d.ts +2 -0
- package/build/types/entities/source/a/SourceDestructorEntity.d.ts +1 -0
- package/build/types/entities/source/a/SourceFunctionEntity.d.ts +6 -0
- package/build/types/entities/source/a/SourceGetterEntity.d.ts +4 -0
- package/build/types/entities/source/a/SourceSetterEntity.d.ts +4 -0
- package/build/types/entities/source/m/SourceConstructorEntity.d.ts +2 -0
- package/build/types/entities/source/m/SourceDestructorEntity.d.ts +1 -0
- package/build/types/entities/source/m/SourceFunctionEntity.d.ts +6 -0
- package/build/types/entities/source/m/SourceGetterEntity.d.ts +5 -1
- package/build/types/entities/source/m/SourceSetterEntity.d.ts +5 -1
- package/build/types/entities/translated/BaseTranslatedTypeMemberAccessorEntity.d.ts +42 -0
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +1 -1
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +2 -0
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +5 -7
- package/build/types/entities/translated/TranslatedPackageMemberAccessorEntity.d.ts +1 -0
- package/build/types/entities/translated/TranslatedTypeMemberAccessorEntity.d.ts +5 -40
- package/build/types/entities/translated/TranslatedTypeMemberAccessorStandaloneEntity.d.ts +13 -0
- package/build/types/entities/translated/index.d.ts +1 -0
- package/build/types/entities/translated/source/a/SourceTranslatedIndexerEntity.d.ts +6 -2
- package/build/types/entities/translated/source/m/SourceTranslatedConstructorEntity.d.ts +24 -0
- package/build/types/entities/translated/source/m/SourceTranslatedDestructorEntity.d.ts +13 -0
- package/build/types/entities/translated/source/m/SourceTranslatedIndexerEntity.d.ts +4 -6
- package/build/types/entities/translated/source/m/index.d.ts +2 -1
- package/build/types/{analysis → tree}/a/ModifierFlags.d.ts +4 -3
- package/build/types/tree/a/index.d.ts +1 -0
- package/build/types/tree/m/WellKnownTagFlags.d.ts +8 -8
- package/build/types/ts-interop/Entities.d.ts +5 -0
- package/package.json +1 -1
- package/build/types/entities/translated/source/m/SourceTranslatedIndexedElementAccessorEntity.d.ts +0 -13
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-ETOGWBIL.js";
|
|
5
|
+
import "./chunk-CSGFLTKZ.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OBK4F7TH.js";
|
|
9
9
|
|
|
10
10
|
// source/Cli.ts
|
|
11
11
|
function main() {
|
package/build/api/Api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Compiler,
|
|
3
3
|
DiagnosticFormatter
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CSGFLTKZ.js";
|
|
5
5
|
import {
|
|
6
6
|
AccessKind,
|
|
7
7
|
AccessedFunction_entity,
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
withoutQuotes,
|
|
319
319
|
withoutTemplateQuotes,
|
|
320
320
|
yieldTask
|
|
321
|
-
} from "../chunk-
|
|
321
|
+
} from "../chunk-OBK4F7TH.js";
|
|
322
322
|
export {
|
|
323
323
|
AccessKind,
|
|
324
324
|
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-ETOGWBIL.js";
|
|
10
|
+
import "../chunk-CSGFLTKZ.js";
|
|
11
|
+
import "../chunk-OBK4F7TH.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|
package/build/api/ApiServices.js
CHANGED
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
traverseTreeAsync,
|
|
147
147
|
traverseTreeAsync2,
|
|
148
148
|
yieldTask
|
|
149
|
-
} from "../chunk-
|
|
149
|
+
} from "../chunk-OBK4F7TH.js";
|
|
150
150
|
|
|
151
151
|
// source/services/common/Types.ts
|
|
152
152
|
import * as ls from "vscode-languageserver";
|
|
@@ -1063,7 +1063,7 @@ var CodeActionsServiceA = class {
|
|
|
1063
1063
|
getCodeActions(analyzer, sourceFile, offset, diagnosticCodes) {
|
|
1064
1064
|
const result = new Array();
|
|
1065
1065
|
const diagnosticCodeSet = new Set(diagnosticCodes ?? []);
|
|
1066
|
-
if (diagnosticCodeSet.has(
|
|
1066
|
+
if (diagnosticCodeSet.has(2098 /* TheFollowingDeclarationsAreNotTranslated0 */) || diagnosticCodeSet.has(2099 /* TheFollowingDeclarationsAreNotTranslated0And1More */)) {
|
|
1067
1067
|
const data = { onlyTypeMembers: false };
|
|
1068
1068
|
result.push(CodeAction.unresolved(
|
|
1069
1069
|
"\u0421\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0430\u044E\u0449\u0438\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u044B.",
|
|
@@ -10833,16 +10833,16 @@ var EntityToSyntax2 = class {
|
|
|
10833
10833
|
switch (entity.kind) {
|
|
10834
10834
|
case 2 /* Type */: {
|
|
10835
10835
|
if (entity.typeEntityKind === 1 /* Structured */ && entity.structuredTypeKind === 1 /* Structure */) {
|
|
10836
|
-
wkTagFlags.add(
|
|
10836
|
+
wkTagFlags.add(32768 /* Plain */);
|
|
10837
10837
|
}
|
|
10838
10838
|
if (entity.typeEntityKind === 1 /* Structured */ && entity.structuredTypeKind === 2 /* Aspect */) {
|
|
10839
|
-
wkTagFlags.add(
|
|
10839
|
+
wkTagFlags.add(65536 /* Aspect */);
|
|
10840
10840
|
}
|
|
10841
10841
|
if (entity.typeEntityKind === 6 /* Extension */) {
|
|
10842
|
-
wkTagFlags.add(
|
|
10842
|
+
wkTagFlags.add(262144 /* Extension */);
|
|
10843
10843
|
}
|
|
10844
10844
|
if (TypeEntity.isWrapperType(entity)) {
|
|
10845
|
-
wkTagFlags.add(
|
|
10845
|
+
wkTagFlags.add(131072 /* Wrapper */);
|
|
10846
10846
|
}
|
|
10847
10847
|
if (entity.typeEntityKind === 1 /* Structured */ && entity.isAbstract()) {
|
|
10848
10848
|
wkTagFlags.add(32 /* Abstract */);
|
|
@@ -14783,7 +14783,7 @@ var CodeActionsServiceM = class {
|
|
|
14783
14783
|
getCodeActions(analyzer, sourceFile, offset, diagnosticCodes) {
|
|
14784
14784
|
const result = new Array();
|
|
14785
14785
|
const diagnosticCodeSet = new Set(diagnosticCodes ?? []);
|
|
14786
|
-
if (diagnosticCodeSet.has(
|
|
14786
|
+
if (diagnosticCodeSet.has(2098 /* TheFollowingDeclarationsAreNotTranslated0 */) || diagnosticCodeSet.has(2099 /* TheFollowingDeclarationsAreNotTranslated0And1More */)) {
|
|
14787
14787
|
const data = { onlyTypeMembers: false };
|
|
14788
14788
|
result.push(CodeAction.unresolved(
|
|
14789
14789
|
"\u0421\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0430\u044E\u0449\u0438\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u044B.",
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
WellKnownDeclarationsLoadError,
|
|
12
12
|
__async,
|
|
13
13
|
createTsInteropInputsForCompilation
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OBK4F7TH.js";
|
|
15
15
|
|
|
16
16
|
// source/diagnostic/DiagnosticFormatter.ts
|
|
17
17
|
var DiagnosticFormatter = class _DiagnosticFormatter {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Compiler,
|
|
3
3
|
DiagnosticFormatter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CSGFLTKZ.js";
|
|
5
5
|
import {
|
|
6
6
|
ArtelVersion,
|
|
7
7
|
Cached,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
__async,
|
|
17
17
|
performanceMeasurementStageNames,
|
|
18
18
|
performanceMeasurementStages
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OBK4F7TH.js";
|
|
20
20
|
|
|
21
21
|
// source/executor/FileSystemUri.ts
|
|
22
22
|
import { platform } from "os";
|