@artel/artc 0.6.25207 → 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.
Files changed (91) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +32 -18
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +9964 -9262
  5. package/build/{chunk-FYWHIGGV.js → chunk-FABHNF5H.js} +8 -6
  6. package/build/{chunk-OORYH37I.js → chunk-LZ4IJBSA.js} +3 -4
  7. package/build/{chunk-F6DF37J3.js → chunk-PNUVVKWZ.js} +38838 -46249
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +10 -7
  9. package/build/types/analysis/Analyzer.d.ts +27 -10
  10. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
  11. package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
  12. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -5
  13. package/build/types/analysis/IndexedAccess.d.ts +14 -0
  14. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +6 -3
  15. package/build/types/analysis/ObjectExpressionMeaning.d.ts +2 -2
  16. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +2 -4
  17. package/build/types/analysis/SemanticContext.d.ts +4 -4
  18. package/build/types/analysis/VariableAccess.d.ts +6 -2
  19. package/build/types/analysis/index.d.ts +4 -2
  20. package/build/types/api/Api.d.ts +2 -2
  21. package/build/types/common/AccessKind.d.ts +2 -1
  22. package/build/types/common/Constants.d.ts +1 -1
  23. package/build/types/common/JavaScriptIdentifier.d.ts +6 -0
  24. package/build/types/common/Logger.d.ts +1 -0
  25. package/build/types/common/Name.d.ts +18 -21
  26. package/build/types/common/Query.d.ts +4 -0
  27. package/build/types/common/TreeQuery.d.ts +0 -2
  28. package/build/types/common/index.d.ts +2 -1
  29. package/build/types/emitter/Emitter.d.ts +50 -16
  30. package/build/types/emitter/EmitterContext.d.ts +42 -337
  31. package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +55 -17
  32. package/build/types/emitter/Entities.d.ts +144 -0
  33. package/build/types/emitter/EntityMap.d.ts +45 -0
  34. package/build/types/emitter/ExpressionTransformationResult.d.ts +1 -1
  35. package/build/types/emitter/GeneralLowering.d.ts +4 -68
  36. package/build/types/emitter/Internal.d.ts +0 -1
  37. package/build/types/emitter/IrBuilder.d.ts +27 -17
  38. package/build/types/emitter/IrToJs.d.ts +17 -11
  39. package/build/types/emitter/StatementTransformationResult.d.ts +5 -2
  40. package/build/types/emitter/Transformer.d.ts +21 -93
  41. package/build/types/emitter/ir/AccessedEntities.d.ts +5 -11
  42. package/build/types/emitter/ir/ComputedAccess.d.ts +19 -0
  43. package/build/types/emitter/ir/LoweringState.d.ts +25 -0
  44. package/build/types/emitter/ir/Nodes.d.ts +531 -1109
  45. package/build/types/emitter/ir/index.d.ts +3 -1
  46. package/build/types/emitter/ir/types.d.ts +6 -7
  47. package/build/types/entities/PackageMembers.d.ts +2 -2
  48. package/build/types/entities/TypeEntityMembers.d.ts +2 -2
  49. package/build/types/entities/Variants.d.ts +2 -2
  50. package/build/types/entities/index.d.ts +3 -1
  51. package/build/types/parser/Scanner.d.ts +1 -0
  52. package/build/types/project/CompilationLoader.d.ts +17 -22
  53. package/build/types/project/PackageContent.d.ts +16 -0
  54. package/build/types/project/PackageContentCreator.d.ts +3 -0
  55. package/build/types/project/SourceFile.d.ts +1 -1
  56. package/build/types/project/SourcePackage.d.ts +3 -3
  57. package/build/types/project/configuration/ConfigurationConverter.d.ts +2 -3
  58. package/build/types/project/configuration/ConfigurationTranslator.d.ts +23 -0
  59. package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +1 -27
  60. package/build/types/project/index.d.ts +3 -1
  61. package/build/types/services/AddPropertyAssignmentService.d.ts +2 -2
  62. package/build/types/services/CodeActionsService.d.ts +22 -0
  63. package/build/types/services/DefinitionService.d.ts +2 -2
  64. package/build/types/services/LanguageServer.d.ts +9 -2
  65. package/build/types/services/NodeSemanticInfo.d.ts +13 -7
  66. package/build/types/services/ReferencesService.d.ts +1 -3
  67. package/build/types/services/TranslationsGenerationService.d.ts +7 -0
  68. package/build/types/services/Types.d.ts +10 -0
  69. package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -4
  70. package/build/types/services/workspace/CompilationController.d.ts +4 -3
  71. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +5 -2
  72. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +1 -1
  73. package/build/types/services/workspace/Workspace.d.ts +5 -2
  74. package/build/types/services/workspace/WorkspaceFiles.d.ts +2 -2
  75. package/build/types/tree/KeywordKind.d.ts +47 -46
  76. package/build/types/tree/green/SyntaxToCode.d.ts +4 -3
  77. package/build/types/ts-interop/TsInteropContext.d.ts +2 -2
  78. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +3 -3
  79. package/build/types/ts-interop/Utils.d.ts +39 -33
  80. package/package.json +3 -4
  81. package/build/types/analysis/IndexerAccess.d.ts +0 -10
  82. package/build/types/emitter/EmitterPackage.d.ts +0 -60
  83. package/build/types/emitter/EntityNameProviders.d.ts +0 -33
  84. package/build/types/generated/BuiltInSystemPackages.d.ts +0 -3
  85. package/build/types/old/Executor.d.ts +0 -14
  86. package/build/types/old/JavaScriptEmittingVisitor.d.ts +0 -1
  87. package/build/types/old/NzonParser.d.ts +0 -1
  88. package/build/types/old/NzonScanner.d.ts +0 -1
  89. package/build/types/old/NzonSyntax.d.ts +0 -1
  90. package/build/types/old/RemoteWorkspaceFileSystem.d.ts +0 -1
  91. /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-F6DF37J3.js";
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 config = {
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
- config,
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.emitToFileSystem(analyzer, outputUri, outputAcceptor, emitOptions, cancellationToken);
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
- return yield Emitter.emitToString(analyzer, emitOptions, cancellationToken);
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-FYWHIGGV.js";
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-F6DF37J3.js";
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: true,
398
- justApplicationCode: false
397
+ includeSourcesContent: false
399
398
  }
400
399
  }
401
400
  };