@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.
Files changed (101) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +36 -20
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +9923 -9250
  5. package/build/{chunk-FYWHIGGV.js → chunk-4EDLYSNW.js} +11 -8
  6. package/build/{chunk-F6DF37J3.js → chunk-5SWGY25I.js} +39172 -46399
  7. package/build/{chunk-OORYH37I.js → chunk-GKEW2LBL.js} +27 -14
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +14 -10
  9. package/build/types/analysis/Analyzer.d.ts +27 -11
  10. package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +17 -1
  11. package/build/types/analysis/BaseExpressionMeaning.d.ts +17 -1
  12. package/build/types/analysis/CallExpressionMeaning.d.ts +17 -1
  13. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
  14. package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
  15. package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
  16. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -5
  17. package/build/types/analysis/IndexedAccess.d.ts +14 -0
  18. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +6 -3
  19. package/build/types/analysis/ObjectExpressionMeaning.d.ts +19 -3
  20. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +2 -4
  21. package/build/types/analysis/SemanticContext.d.ts +4 -4
  22. package/build/types/analysis/VariableAccess.d.ts +6 -2
  23. package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
  24. package/build/types/analysis/index.d.ts +4 -2
  25. package/build/types/api/Api.d.ts +2 -2
  26. package/build/types/common/AccessKind.d.ts +2 -1
  27. package/build/types/common/Constants.d.ts +1 -1
  28. package/build/types/common/JavaScriptIdentifier.d.ts +6 -0
  29. package/build/types/common/Logger.d.ts +1 -0
  30. package/build/types/common/Name.d.ts +18 -21
  31. package/build/types/common/Query.d.ts +6 -1
  32. package/build/types/common/TreeQuery.d.ts +0 -2
  33. package/build/types/common/index.d.ts +2 -1
  34. package/build/types/emitter/Emitter.d.ts +50 -16
  35. package/build/types/emitter/EmitterContext.d.ts +42 -337
  36. package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +55 -17
  37. package/build/types/emitter/Entities.d.ts +144 -0
  38. package/build/types/emitter/EntityMap.d.ts +45 -0
  39. package/build/types/emitter/ExpressionTransformationResult.d.ts +1 -1
  40. package/build/types/emitter/GeneralLowering.d.ts +4 -68
  41. package/build/types/emitter/Internal.d.ts +0 -1
  42. package/build/types/emitter/IrBuilder.d.ts +27 -17
  43. package/build/types/emitter/IrToJs.d.ts +17 -11
  44. package/build/types/emitter/StatementTransformationResult.d.ts +5 -2
  45. package/build/types/emitter/Transformer.d.ts +21 -93
  46. package/build/types/emitter/ir/AccessedEntities.d.ts +5 -11
  47. package/build/types/emitter/ir/ComputedAccess.d.ts +19 -0
  48. package/build/types/emitter/ir/LoweringState.d.ts +25 -0
  49. package/build/types/emitter/ir/Nodes.d.ts +531 -1109
  50. package/build/types/emitter/ir/index.d.ts +3 -1
  51. package/build/types/emitter/ir/types.d.ts +6 -7
  52. package/build/types/entities/BinaryOperatorEntity.d.ts +3 -0
  53. package/build/types/entities/ConstructorEntity.d.ts +17 -21
  54. package/build/types/entities/PackageMembers.d.ts +2 -2
  55. package/build/types/entities/TypeEntityMembers.d.ts +2 -2
  56. package/build/types/entities/UnaryOperatorEntity.d.ts +3 -0
  57. package/build/types/entities/Variants.d.ts +2 -2
  58. package/build/types/entities/index.d.ts +4 -2
  59. package/build/types/executor/Compiler.d.ts +6 -1
  60. package/build/types/executor/NodeCompiler.d.ts +7 -3
  61. package/build/types/parser/Scanner.d.ts +1 -0
  62. package/build/types/project/CompilationLoader.d.ts +17 -22
  63. package/build/types/project/PackageContent.d.ts +16 -0
  64. package/build/types/project/PackageContentCreator.d.ts +3 -0
  65. package/build/types/project/SourceFile.d.ts +1 -1
  66. package/build/types/project/SourcePackage.d.ts +3 -3
  67. package/build/types/project/configuration/ConfigurationConverter.d.ts +2 -3
  68. package/build/types/project/configuration/ConfigurationTranslator.d.ts +23 -0
  69. package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +1 -27
  70. package/build/types/project/index.d.ts +3 -1
  71. package/build/types/services/AddPropertyAssignmentService.d.ts +2 -2
  72. package/build/types/services/CodeActionsService.d.ts +22 -0
  73. package/build/types/services/DefinitionService.d.ts +2 -2
  74. package/build/types/services/LanguageServer.d.ts +11 -2
  75. package/build/types/services/NodeSemanticInfo.d.ts +13 -7
  76. package/build/types/services/ReferencesService.d.ts +1 -3
  77. package/build/types/services/TranslationsGenerationService.d.ts +7 -0
  78. package/build/types/services/Types.d.ts +10 -0
  79. package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -4
  80. package/build/types/services/workspace/CompilationController.d.ts +4 -3
  81. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +5 -2
  82. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +1 -1
  83. package/build/types/services/workspace/Workspace.d.ts +6 -2
  84. package/build/types/services/workspace/WorkspaceFiles.d.ts +2 -2
  85. package/build/types/tree/KeywordKind.d.ts +47 -46
  86. package/build/types/tree/green/SyntaxToCode.d.ts +4 -3
  87. package/build/types/ts-interop/TsInteropContext.d.ts +2 -2
  88. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +3 -3
  89. package/build/types/ts-interop/Utils.d.ts +39 -33
  90. package/package.json +6 -6
  91. package/build/types/analysis/IndexerAccess.d.ts +0 -10
  92. package/build/types/emitter/EmitterPackage.d.ts +0 -60
  93. package/build/types/emitter/EntityNameProviders.d.ts +0 -33
  94. package/build/types/generated/BuiltInSystemPackages.d.ts +0 -3
  95. package/build/types/old/Executor.d.ts +0 -14
  96. package/build/types/old/JavaScriptEmittingVisitor.d.ts +0 -1
  97. package/build/types/old/NzonParser.d.ts +0 -1
  98. package/build/types/old/NzonScanner.d.ts +0 -1
  99. package/build/types/old/NzonSyntax.d.ts +0 -1
  100. package/build/types/old/RemoteWorkspaceFileSystem.d.ts +0 -1
  101. /package/build/types/{old/JavaScriptEmitter.d.ts → emitter/EmitterContextOld.d.ts} +0 -0
@@ -1,33 +0,0 @@
1
- import { Name } from '../common/index.js';
2
- import { Entity, EntityNaming } from '../entities/index.js';
3
- import { EmitterContext } from './EmitterContext.js';
4
- export interface EntityNameProvider extends OptionalEntityNameProvider {
5
- getName(entity: Entity): string;
6
- }
7
- export interface OptionalEntityNameProvider {
8
- getName(entity: Entity): string | undefined;
9
- }
10
- export declare class RegisteredEntityNames implements OptionalEntityNameProvider {
11
- private readonly _registeredEntityNames;
12
- get registeredEntityNames(): ReadonlyMap<Entity, string>;
13
- registerName(entity: Entity, name: string): void;
14
- registerNames(names: ReadonlyMap<Entity, string>): void;
15
- getName(entity: Entity): string | undefined;
16
- }
17
- export declare class RealJsNameProvider implements OptionalEntityNameProvider {
18
- private readonly _ectx;
19
- constructor(_ectx: EmitterContext);
20
- getName(entity: Entity): string | undefined;
21
- }
22
- export declare class EntityNameProviderChain implements EntityNameProvider {
23
- private readonly _optionalProviders;
24
- private readonly _requiredProvider;
25
- constructor(_optionalProviders: readonly OptionalEntityNameProvider[], _requiredProvider: EntityNameProvider);
26
- getName(entity: Entity): string;
27
- }
28
- export declare class NormalizedEntityNameProvider implements EntityNameProvider {
29
- static getName(entity: Entity): string;
30
- getName(entity: Entity): string;
31
- }
32
- export declare function getEntityNameRequired(entity: Entity): Name;
33
- export declare function getEntityNaming(entity: Entity): EntityNaming;
@@ -1,3 +0,0 @@
1
- import { ReadonlyFileSystemTree } from '../project/FileSystemTree.js';
2
- export declare const builtInSystemPackagesFileSystemTree: ReadonlyFileSystemTree;
3
- export declare const builtInSystemPackagesDirectory: import("../project/FileSystemTree.js").Directory;
@@ -1,14 +0,0 @@
1
- import { Analyzer, TsInteropInputs } from '../analysis/index.js';
2
- import { Uri } from '../common/index.js';
3
- import { Compilation } from '../project/index.js';
4
- import { PhysicalFileSystem } from '../executor/PhysicalFileSystem.js';
5
- export declare class Executor {
6
- readonly fileSystem: PhysicalFileSystem;
7
- readonly outputUri: Uri;
8
- readonly compilation: Compilation;
9
- readonly programUri: Uri;
10
- readonly analyzer: Analyzer;
11
- constructor(compilation: Compilation, tsInteropInputs: TsInteropInputs, outputUri: Uri);
12
- setup(): void;
13
- createPackageJsonFile(): Promise<void>;
14
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};