@artel/artc 0.6.25207 → 0.6.25209
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 +36 -20
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +9923 -9250
- package/build/{chunk-FYWHIGGV.js → chunk-4EDLYSNW.js} +11 -8
- package/build/{chunk-F6DF37J3.js → chunk-5SWGY25I.js} +39172 -46399
- package/build/{chunk-OORYH37I.js → chunk-GKEW2LBL.js} +27 -14
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +14 -10
- package/build/types/analysis/Analyzer.d.ts +27 -11
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/BaseExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/CallExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
- package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
- package/build/types/analysis/DiagnosticCollector.d.ts +3 -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 +19 -3
- 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/WellKnownDeclarations.d.ts +1 -0
- 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 +6 -1
- 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/BinaryOperatorEntity.d.ts +3 -0
- package/build/types/entities/ConstructorEntity.d.ts +17 -21
- package/build/types/entities/PackageMembers.d.ts +2 -2
- package/build/types/entities/TypeEntityMembers.d.ts +2 -2
- package/build/types/entities/UnaryOperatorEntity.d.ts +3 -0
- package/build/types/entities/Variants.d.ts +2 -2
- package/build/types/entities/index.d.ts +4 -2
- package/build/types/executor/Compiler.d.ts +6 -1
- package/build/types/executor/NodeCompiler.d.ts +7 -3
- 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 +11 -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 +6 -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 +6 -6
- 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,22 +10,23 @@ import {
|
|
10
10
|
WellKnownDeclarationsLoadError,
|
11
11
|
__async,
|
12
12
|
createTsInteropInputsForCompilation
|
13
|
-
} from "./chunk-
|
13
|
+
} from "./chunk-5SWGY25I.js";
|
14
14
|
|
15
15
|
// source/executor/Compiler.ts
|
16
16
|
var Compiler = class {
|
17
|
-
static loadCompilation(projectUri, sourcesProvider, tsLibrariesProvider, diagnostics,
|
17
|
+
static loadCompilation(projectUri, sourcesProvider, tsLibrariesProvider, diagnostics, options, cancellationToken) {
|
18
18
|
return __async(this, null, function* () {
|
19
|
-
const
|
19
|
+
const loaderOptions = {
|
20
20
|
treatRootAsPackageIfConfigIsMissing: true,
|
21
|
-
|
21
|
+
userStandardPackagesUri: options?.userStandardPackagesUri,
|
22
|
+
builtInStandardPackagesUri: options?.builtInsStandardPackagesUri
|
22
23
|
};
|
23
24
|
const { loadResult } = yield CompilationLoader.loadUsingSourcesProvider(
|
24
25
|
projectUri,
|
25
26
|
sourcesProvider,
|
26
|
-
|
27
|
+
loaderOptions,
|
27
28
|
diagnostics,
|
28
|
-
workspaceUri,
|
29
|
+
options?.workspaceUri,
|
29
30
|
DefaultNamesOfDirectoriesToIgnore,
|
30
31
|
cancellationToken
|
31
32
|
);
|
@@ -71,7 +72,8 @@ var Compiler = class {
|
|
71
72
|
), void 0));
|
72
73
|
return void 0;
|
73
74
|
}
|
74
|
-
yield Emitter.
|
75
|
+
const emitter = yield Emitter.create(analyzer, emitOptions, cancellationToken);
|
76
|
+
yield emitter.emitToFileSystem(outputUri, outputAcceptor);
|
75
77
|
const launchUri = outputUri.append(Emitter.LaunchFileName);
|
76
78
|
return launchUri;
|
77
79
|
});
|
@@ -84,7 +86,8 @@ var Compiler = class {
|
|
84
86
|
), void 0));
|
85
87
|
return "";
|
86
88
|
}
|
87
|
-
|
89
|
+
const emitter = yield Emitter.create(analyzer, emitOptions, cancellationToken);
|
90
|
+
return emitter.emitToString();
|
88
91
|
});
|
89
92
|
}
|
90
93
|
};
|