@artel/artc 0.6.25206 → 0.6.25208
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 +32 -18
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +9964 -9262
- package/build/{chunk-LAJRVDPO.js → chunk-FABHNF5H.js} +8 -6
- package/build/{chunk-EDDZCW2I.js → chunk-LZ4IJBSA.js} +3 -4
- package/build/{chunk-AY3Z4HOX.js → chunk-PNUVVKWZ.js} +38838 -46249
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +10 -7
- package/build/types/analysis/Analyzer.d.ts +27 -10
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
- package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -5
- package/build/types/analysis/IndexedAccess.d.ts +14 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +6 -3
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +2 -2
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +2 -4
- package/build/types/analysis/SemanticContext.d.ts +4 -4
- package/build/types/analysis/VariableAccess.d.ts +6 -2
- package/build/types/analysis/index.d.ts +4 -2
- package/build/types/api/Api.d.ts +2 -2
- package/build/types/common/AccessKind.d.ts +2 -1
- package/build/types/common/Constants.d.ts +1 -1
- package/build/types/common/JavaScriptIdentifier.d.ts +6 -0
- package/build/types/common/Logger.d.ts +1 -0
- package/build/types/common/Name.d.ts +18 -21
- package/build/types/common/Query.d.ts +4 -0
- package/build/types/common/TreeQuery.d.ts +0 -2
- package/build/types/common/index.d.ts +2 -1
- package/build/types/emitter/Emitter.d.ts +50 -16
- package/build/types/emitter/EmitterContext.d.ts +42 -337
- package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +55 -17
- package/build/types/emitter/Entities.d.ts +144 -0
- package/build/types/emitter/EntityMap.d.ts +45 -0
- package/build/types/emitter/ExpressionTransformationResult.d.ts +1 -1
- package/build/types/emitter/GeneralLowering.d.ts +4 -68
- package/build/types/emitter/Internal.d.ts +0 -1
- package/build/types/emitter/IrBuilder.d.ts +27 -17
- package/build/types/emitter/IrToJs.d.ts +17 -11
- package/build/types/emitter/StatementTransformationResult.d.ts +5 -2
- package/build/types/emitter/Transformer.d.ts +21 -93
- package/build/types/emitter/ir/AccessedEntities.d.ts +5 -11
- package/build/types/emitter/ir/ComputedAccess.d.ts +19 -0
- package/build/types/emitter/ir/LoweringState.d.ts +25 -0
- package/build/types/emitter/ir/Nodes.d.ts +531 -1109
- package/build/types/emitter/ir/index.d.ts +3 -1
- package/build/types/emitter/ir/types.d.ts +6 -7
- package/build/types/entities/PackageMembers.d.ts +2 -2
- package/build/types/entities/TypeEntityMembers.d.ts +2 -2
- package/build/types/entities/Variants.d.ts +2 -2
- package/build/types/entities/index.d.ts +3 -1
- package/build/types/parser/Scanner.d.ts +1 -0
- package/build/types/project/CompilationLoader.d.ts +17 -22
- package/build/types/project/PackageContent.d.ts +16 -0
- package/build/types/project/PackageContentCreator.d.ts +3 -0
- package/build/types/project/SourceFile.d.ts +1 -1
- package/build/types/project/SourcePackage.d.ts +3 -3
- package/build/types/project/configuration/ConfigurationConverter.d.ts +2 -3
- package/build/types/project/configuration/ConfigurationTranslator.d.ts +23 -0
- package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +1 -27
- package/build/types/project/index.d.ts +3 -1
- package/build/types/services/AddPropertyAssignmentService.d.ts +2 -2
- package/build/types/services/CodeActionsService.d.ts +22 -0
- package/build/types/services/DefinitionService.d.ts +2 -2
- package/build/types/services/LanguageServer.d.ts +9 -2
- package/build/types/services/NodeSemanticInfo.d.ts +13 -7
- package/build/types/services/ReferencesService.d.ts +1 -3
- package/build/types/services/TranslationsGenerationService.d.ts +7 -0
- package/build/types/services/Types.d.ts +10 -0
- package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -4
- package/build/types/services/workspace/CompilationController.d.ts +4 -3
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +5 -2
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +1 -1
- package/build/types/services/workspace/Workspace.d.ts +5 -2
- package/build/types/services/workspace/WorkspaceFiles.d.ts +2 -2
- package/build/types/tree/KeywordKind.d.ts +47 -46
- package/build/types/tree/green/SyntaxToCode.d.ts +4 -3
- package/build/types/ts-interop/TsInteropContext.d.ts +2 -2
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +3 -3
- package/build/types/ts-interop/Utils.d.ts +39 -33
- package/package.json +4 -5
- package/build/types/analysis/IndexerAccess.d.ts +0 -10
- package/build/types/emitter/EmitterPackage.d.ts +0 -60
- package/build/types/emitter/EntityNameProviders.d.ts +0 -33
- package/build/types/generated/BuiltInSystemPackages.d.ts +0 -3
- package/build/types/old/Executor.d.ts +0 -14
- package/build/types/old/JavaScriptEmittingVisitor.d.ts +0 -1
- package/build/types/old/NzonParser.d.ts +0 -1
- package/build/types/old/NzonScanner.d.ts +0 -1
- package/build/types/old/NzonSyntax.d.ts +0 -1
- package/build/types/old/RemoteWorkspaceFileSystem.d.ts +0 -1
- /package/build/types/{old/JavaScriptEmitter.d.ts → emitter/EmitterContextOld.d.ts} +0 -0
@@ -10,20 +10,20 @@ import {
|
|
10
10
|
WellKnownDeclarationsLoadError,
|
11
11
|
__async,
|
12
12
|
createTsInteropInputsForCompilation
|
13
|
-
} from "./chunk-
|
13
|
+
} from "./chunk-PNUVVKWZ.js";
|
14
14
|
|
15
15
|
// source/executor/Compiler.ts
|
16
16
|
var Compiler = class {
|
17
17
|
static loadCompilation(projectUri, sourcesProvider, tsLibrariesProvider, diagnostics, workspaceUri, standardPackagesUri, cancellationToken) {
|
18
18
|
return __async(this, null, function* () {
|
19
|
-
const
|
19
|
+
const loaderOptions = {
|
20
20
|
treatRootAsPackageIfConfigIsMissing: true,
|
21
|
-
standardPackagesUri
|
21
|
+
userStandardPackagesUri: standardPackagesUri
|
22
22
|
};
|
23
23
|
const { loadResult } = yield CompilationLoader.loadUsingSourcesProvider(
|
24
24
|
projectUri,
|
25
25
|
sourcesProvider,
|
26
|
-
|
26
|
+
loaderOptions,
|
27
27
|
diagnostics,
|
28
28
|
workspaceUri,
|
29
29
|
DefaultNamesOfDirectoriesToIgnore,
|
@@ -71,7 +71,8 @@ var Compiler = class {
|
|
71
71
|
), void 0));
|
72
72
|
return void 0;
|
73
73
|
}
|
74
|
-
yield Emitter.
|
74
|
+
const emitter = yield Emitter.create(analyzer, emitOptions, cancellationToken);
|
75
|
+
yield emitter.emitToFileSystem(outputUri, outputAcceptor);
|
75
76
|
const launchUri = outputUri.append(Emitter.LaunchFileName);
|
76
77
|
return launchUri;
|
77
78
|
});
|
@@ -84,7 +85,8 @@ var Compiler = class {
|
|
84
85
|
), void 0));
|
85
86
|
return "";
|
86
87
|
}
|
87
|
-
|
88
|
+
const emitter = yield Emitter.create(analyzer, emitOptions, cancellationToken);
|
89
|
+
return emitter.emitToString();
|
88
90
|
});
|
89
91
|
}
|
90
92
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
Compiler
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-FABHNF5H.js";
|
4
4
|
import {
|
5
5
|
ArtelVersion,
|
6
6
|
Cached,
|
@@ -14,7 +14,7 @@ import {
|
|
14
14
|
__async,
|
15
15
|
performanceMeasurementStageNames,
|
16
16
|
performanceMeasurementStages
|
17
|
-
} from "./chunk-
|
17
|
+
} from "./chunk-PNUVVKWZ.js";
|
18
18
|
|
19
19
|
// source/executor/FileSystemUri.ts
|
20
20
|
import { platform } from "os";
|
@@ -394,8 +394,7 @@ var CommandLineCompiler = class {
|
|
394
394
|
emitOptions: {
|
395
395
|
sourceMap: {
|
396
396
|
mode: "linked" /* Linked */,
|
397
|
-
includeSourcesContent:
|
398
|
-
justApplicationCode: false
|
397
|
+
includeSourcesContent: false
|
399
398
|
}
|
400
399
|
}
|
401
400
|
};
|