@artel/artc 0.9.26034-pre-release → 0.9.26036-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 +8 -4
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +10 -10
- package/build/{chunk-GJRZAUOJ.js → chunk-AUCAONLF.js} +1 -1
- package/build/{chunk-WZARPDJJ.js → chunk-D247ZQ57.js} +2 -2
- package/build/{chunk-BDE2DYAO.js → chunk-JTOL3VLA.js} +2989 -2018
- package/build/types/analysis/Analyzer.d.ts +25 -19
- package/build/types/analysis/DiagnosticArgumentFactory.d.ts +3 -2
- package/build/types/analysis/DisplayableEntity.d.ts +10 -1
- package/build/types/analysis/ResolvedImplementationPackage.d.ts +2 -2
- package/build/types/analysis/WellKnownDeclarations.d.ts +134 -195
- package/build/types/analysis/a/Analyzer.d.ts +10 -2
- package/build/types/analysis/a/AutotypeCallExpressionMeaning.d.ts +1 -0
- package/build/types/analysis/a/ModifierValidator.d.ts +2 -2
- package/build/types/analysis/m/Analyzer.d.ts +12 -4
- package/build/types/diagnostic/DiagnosticCode.d.ts +175 -174
- package/build/types/emitter/Entities.d.ts +7 -3
- package/build/types/emitter/EntityMap.d.ts +1 -0
- package/build/types/entities/IEntity.d.ts +1 -0
- package/build/types/entities/Tag.d.ts +9 -2
- package/build/types/entities/TypeEntity.d.ts +1 -1
- package/build/types/entities/interfaces/FunctionEntity.d.ts +1 -0
- package/build/types/entities/source/a/SourceAliasTypeEntity.d.ts +2 -0
- package/build/types/entities/source/a/SourceFunctionEntity.d.ts +4 -0
- package/build/types/entities/source/a/SourceFunctionTypeEntity.d.ts +2 -0
- package/build/types/entities/source/a/SourceGetterEntity.d.ts +8 -0
- package/build/types/entities/source/a/SourceSetterEntity.d.ts +8 -0
- package/build/types/entities/source/a/SourceStructuredTypeEntity.d.ts +6 -0
- package/build/types/entities/source/a/SourceVariableEntity.d.ts +4 -0
- package/build/types/entities/source/a/SourceVariantTypeEntity.d.ts +2 -0
- package/build/types/entities/source/m/SourceFunctionEntity.d.ts +2 -0
- package/build/types/entities/source/m/SourceFunctionTypeEntity.d.ts +2 -0
- package/build/types/entities/source/m/SourceGetterEntity.d.ts +8 -0
- package/build/types/entities/source/m/SourceSetterEntity.d.ts +8 -0
- package/build/types/entities/source/m/SourceStructuredTypeEntity.d.ts +5 -0
- package/build/types/entities/source/m/SourceVariableEntity.d.ts +2 -0
- package/build/types/entities/source/m/SourceVariantTypeEntity.d.ts +2 -0
- package/build/types/services/a/DisplayService.d.ts +1 -2
- package/build/types/services/common/display/BaseDisplayService.d.ts +2 -0
- package/build/types/services/common/display/DisplayService.d.ts +1 -0
- package/build/types/services/m/DisplayService.d.ts +1 -2
- package/build/types/ts-interop/Entities.d.ts +6 -3
- package/build/types/ts-interop/TsInteropContext.d.ts +3 -0
- package/build/types/types/StandardTypes.d.ts +21 -63
- package/package.json +1 -1
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-D247ZQ57.js";
|
|
5
|
+
import "./chunk-AUCAONLF.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JTOL3VLA.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-AUCAONLF.js";
|
|
4
4
|
import {
|
|
5
5
|
AccessKind,
|
|
6
6
|
AccessedFunction_entity,
|
|
@@ -124,7 +124,8 @@ import {
|
|
|
124
124
|
LocalizationHelper,
|
|
125
125
|
LocalizationHelperA,
|
|
126
126
|
LocalizationHelperM,
|
|
127
|
-
|
|
127
|
+
LocalizedWellKnownDeclarationsA,
|
|
128
|
+
LocalizedWellKnownDeclarationsM,
|
|
128
129
|
Logger,
|
|
129
130
|
MatchResult,
|
|
130
131
|
MatchResultParameter,
|
|
@@ -197,6 +198,7 @@ import {
|
|
|
197
198
|
TagArgument_invalid,
|
|
198
199
|
TagArgument_numeric,
|
|
199
200
|
TagArgument_string,
|
|
201
|
+
TagArgument_variableExpression,
|
|
200
202
|
TagFunction,
|
|
201
203
|
TagType,
|
|
202
204
|
TargetPlatformConfig,
|
|
@@ -309,7 +311,7 @@ import {
|
|
|
309
311
|
withoutQuotes,
|
|
310
312
|
withoutTemplateQuotes,
|
|
311
313
|
yieldTask
|
|
312
|
-
} from "../chunk-
|
|
314
|
+
} from "../chunk-JTOL3VLA.js";
|
|
313
315
|
export {
|
|
314
316
|
AccessKind,
|
|
315
317
|
AccessedFunction_entity,
|
|
@@ -433,7 +435,8 @@ export {
|
|
|
433
435
|
LocalizationHelper,
|
|
434
436
|
LocalizationHelperA,
|
|
435
437
|
LocalizationHelperM,
|
|
436
|
-
|
|
438
|
+
LocalizedWellKnownDeclarationsA,
|
|
439
|
+
LocalizedWellKnownDeclarationsM,
|
|
437
440
|
Logger,
|
|
438
441
|
MatchResult,
|
|
439
442
|
MatchResultParameter,
|
|
@@ -504,6 +507,7 @@ export {
|
|
|
504
507
|
TagArgument_invalid,
|
|
505
508
|
TagArgument_numeric,
|
|
506
509
|
TagArgument_string,
|
|
510
|
+
TagArgument_variableExpression,
|
|
507
511
|
TagFunction,
|
|
508
512
|
TagType,
|
|
509
513
|
TargetPlatformConfig,
|
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-D247ZQ57.js";
|
|
10
|
+
import "../chunk-AUCAONLF.js";
|
|
11
|
+
import "../chunk-JTOL3VLA.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-JTOL3VLA.js";
|
|
144
144
|
|
|
145
145
|
// source/services/common/Types.ts
|
|
146
146
|
import * as ls from "vscode-languageserver";
|
|
@@ -9410,8 +9410,8 @@ var EntityToSyntax = class {
|
|
|
9410
9410
|
let baseTypeSpecifiers;
|
|
9411
9411
|
const baseTypes = entity.getBaseTypes().values;
|
|
9412
9412
|
if (baseTypes.length > 0) {
|
|
9413
|
-
const objectTypeEntity = this.analyzer.
|
|
9414
|
-
const referenceTypeEntity = this.analyzer.
|
|
9413
|
+
const objectTypeEntity = this.analyzer.originalWellKnownDeclarationsA.object;
|
|
9414
|
+
const referenceTypeEntity = this.analyzer.originalWellKnownDeclarationsA.reference;
|
|
9415
9415
|
baseTypeSpecifiers = baseTypes.filter((a) => a.unalias().entity?.originalEntity !== objectTypeEntity && a.unalias().entity?.originalEntity !== referenceTypeEntity).map((t) => this.convertType(t)).filter((t) => t.kind === 10 /* NamedTypeSpecifier */);
|
|
9416
9416
|
}
|
|
9417
9417
|
const members = this.convertTypeEntityMembers(entity.getMembers());
|
|
@@ -9494,8 +9494,8 @@ var EntityToSyntax = class {
|
|
|
9494
9494
|
baseTypeSpecifiers.push(reductionSource);
|
|
9495
9495
|
const baseTypes = entity.getBaseTypes().values;
|
|
9496
9496
|
if (baseTypes.length > 0) {
|
|
9497
|
-
const objectTypeEntity = this.analyzer.
|
|
9498
|
-
const referenceTypeEntity = this.analyzer.
|
|
9497
|
+
const objectTypeEntity = this.analyzer.originalWellKnownDeclarationsA.object;
|
|
9498
|
+
const referenceTypeEntity = this.analyzer.originalWellKnownDeclarationsA.reference;
|
|
9499
9499
|
baseTypeSpecifiers.push(...baseTypes.filter((a) => a.unalias().entity?.originalEntity !== objectTypeEntity && a.unalias().entity?.originalEntity !== referenceTypeEntity).map((t) => this.convertType(t)).filter((t) => t.kind === 10 /* NamedTypeSpecifier */));
|
|
9500
9500
|
}
|
|
9501
9501
|
const members = this.convertTypeEntityMembers(entity.getMembers());
|
|
@@ -10045,8 +10045,8 @@ var EntityToSyntax = class {
|
|
|
10045
10045
|
let baseTypeSpecifiers;
|
|
10046
10046
|
const baseTypes = entity.getBaseTypes().values;
|
|
10047
10047
|
if (baseTypes.length > 0) {
|
|
10048
|
-
const objectTypeEntity = this.analyzer.
|
|
10049
|
-
const referenceTypeEntity = this.analyzer.
|
|
10048
|
+
const objectTypeEntity = this.analyzer.originalWellKnownDeclarationsA.object;
|
|
10049
|
+
const referenceTypeEntity = this.analyzer.originalWellKnownDeclarationsA.reference;
|
|
10050
10050
|
baseTypeSpecifiers = baseTypes.filter((a) => a.unalias().entity?.originalEntity !== objectTypeEntity && a.unalias().entity?.originalEntity !== referenceTypeEntity).map((t) => this.convertType(t)).filter((t) => t.kind === 10 /* NamedTypeSpecifier */);
|
|
10051
10051
|
}
|
|
10052
10052
|
const members = this.convertTypeEntityMembers(entity.getMembers());
|
|
@@ -10154,8 +10154,8 @@ var EntityToSyntax2 = class {
|
|
|
10154
10154
|
let baseTypeSpecifiers;
|
|
10155
10155
|
const baseTypes = entity.getBaseTypes().values;
|
|
10156
10156
|
if (baseTypes.length > 0) {
|
|
10157
|
-
const objectTypeEntity = this.analyzer.
|
|
10158
|
-
const referenceTypeEntity = this.analyzer.
|
|
10157
|
+
const objectTypeEntity = this.analyzer.originalWellKnownDeclarationsA.object;
|
|
10158
|
+
const referenceTypeEntity = this.analyzer.originalWellKnownDeclarationsA.reference;
|
|
10159
10159
|
baseTypeSpecifiers = baseTypes.filter((a) => a.unalias().entity?.originalEntity !== objectTypeEntity && a.unalias().entity?.originalEntity !== referenceTypeEntity).map((t) => this.convertType(t)).filter((t) => t.kind === 1068 /* NamedTypeSpecifier */);
|
|
10160
10160
|
}
|
|
10161
10161
|
const members = this.convertTypeEntityMembers(entity.getMembers());
|
|
@@ -14861,7 +14861,7 @@ var CompletionServiceM = class {
|
|
|
14861
14861
|
}
|
|
14862
14862
|
if (role.kind === "error-value") {
|
|
14863
14863
|
const standardTypes = this.analyzer.getLocalizedStandardTypes(role.errorStatement.locale);
|
|
14864
|
-
return { targetTypes: [standardTypes.
|
|
14864
|
+
return { targetTypes: [standardTypes.error, standardTypes.text], targetSignaturesParameters: void 0 };
|
|
14865
14865
|
}
|
|
14866
14866
|
if (role.kind === "other") {
|
|
14867
14867
|
if (role.expressionForTargetType !== void 0) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Compiler
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AUCAONLF.js";
|
|
4
4
|
import {
|
|
5
5
|
ArtelVersion,
|
|
6
6
|
Cached,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
__async,
|
|
17
17
|
performanceMeasurementStageNames,
|
|
18
18
|
performanceMeasurementStages
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JTOL3VLA.js";
|
|
20
20
|
|
|
21
21
|
// source/executor/FileSystemUri.ts
|
|
22
22
|
import { platform } from "os";
|