@artel/artc 0.6.25213 → 0.6.25214

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 CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CommandLineCompiler
4
- } from "./chunk-YFV3TSQP.js";
5
- import "./chunk-6UMHRF7Y.js";
4
+ } from "./chunk-YCHDDDYS.js";
5
+ import "./chunk-SKJMYOQR.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-X4XDV2CH.js";
8
+ } from "./chunk-ZFBZFTRR.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-6UMHRF7Y.js";
3
+ } from "../chunk-SKJMYOQR.js";
4
4
  import {
5
5
  AccessKind,
6
6
  AccessedMethodValueParameter,
@@ -24,6 +24,7 @@ import {
24
24
  BackingSpecialVariableEntityInfo,
25
25
  BaseAspectTypes,
26
26
  BaseObjectType,
27
+ BoundTypeMemberLookup,
27
28
  Cached,
28
29
  CancelledError,
29
30
  CharacterCodes,
@@ -344,7 +345,7 @@ import {
344
345
  visitChildrenRecursively,
345
346
  withoutQuotes,
346
347
  yieldExecution
347
- } from "../chunk-X4XDV2CH.js";
348
+ } from "../chunk-ZFBZFTRR.js";
348
349
  export {
349
350
  AccessKind,
350
351
  AccessedMethodValueParameter,
@@ -368,6 +369,7 @@ export {
368
369
  BackingSpecialVariableEntityInfo,
369
370
  BaseAspectTypes,
370
371
  BaseObjectType,
372
+ BoundTypeMemberLookup,
371
373
  Cached,
372
374
  CancelledError,
373
375
  CharacterCodes,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-YFV3TSQP.js";
10
- import "../chunk-6UMHRF7Y.js";
11
- import "../chunk-X4XDV2CH.js";
9
+ } from "../chunk-YCHDDDYS.js";
10
+ import "../chunk-SKJMYOQR.js";
11
+ import "../chunk-ZFBZFTRR.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -182,7 +182,7 @@ import {
182
182
  unwrapParenthesizedExpressions,
183
183
  visitChildren,
184
184
  yieldExecution
185
- } from "../chunk-X4XDV2CH.js";
185
+ } from "../chunk-ZFBZFTRR.js";
186
186
 
187
187
  // source/services/CustomCommand.ts
188
188
  import * as ls from "vscode-languageserver";
@@ -2741,7 +2741,7 @@ var CodeActionsService = class {
2741
2741
  }
2742
2742
  const result = new Array();
2743
2743
  const diagnosticCodeSet = new Set(diagnosticCodes);
2744
- if (diagnosticCodeSet.has(142 /* TheFollowingDeclarationsAreNotTranslated0 */) || diagnosticCodeSet.has(143 /* TheFollowingDeclarationAreNotTranslated0And1More */)) {
2744
+ if (diagnosticCodeSet.has(103 /* TheFollowingDeclarationsAreNotTranslated0 */) || diagnosticCodeSet.has(104 /* TheFollowingDeclarationAreNotTranslated0And1More */)) {
2745
2745
  const data = { onlyTypeMembers: false };
2746
2746
  result.push(CodeAction.unresolved(
2747
2747
  "\u0421\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0430\u044E\u0449\u0438\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u044B.",
@@ -8471,6 +8471,13 @@ var SemanticTokensService = class {
8471
8471
  )
8472
8472
  );
8473
8473
  }
8474
+ if (meaning.kind === "operator-access") {
8475
+ result.push(new SemanticToken(
8476
+ node.rangeWithoutTrivia,
8477
+ 7 /* Operator */,
8478
+ new SemanticTokenModifiers()
8479
+ ));
8480
+ }
8474
8481
  }
8475
8482
  if (node.kind === 80 /* PropertyAccessExpression */) {
8476
8483
  const meaning = analyzer.resolvePropertyAccessExpression(node).meaning;
@@ -8505,6 +8512,13 @@ var SemanticTokensService = class {
8505
8512
  )
8506
8513
  );
8507
8514
  }
8515
+ if (meaning.kind === "operator-access") {
8516
+ result.push(new SemanticToken(
8517
+ node.propertyName.rangeWithoutTrivia,
8518
+ 7 /* Operator */,
8519
+ new SemanticTokenModifiers()
8520
+ ));
8521
+ }
8508
8522
  }
8509
8523
  if (node.kind === 141 /* VariantDeclaration */) {
8510
8524
  result.push(
@@ -10,7 +10,7 @@ import {
10
10
  WellKnownDeclarationsLoadError,
11
11
  __async,
12
12
  createTsInteropInputsForCompilation
13
- } from "./chunk-X4XDV2CH.js";
13
+ } from "./chunk-ZFBZFTRR.js";
14
14
 
15
15
  // source/executor/Compiler.ts
16
16
  var Compiler = class {
@@ -68,7 +68,7 @@ var Compiler = class {
68
68
  return __async(this, null, function* () {
69
69
  if (analyzer.compilation.mainPackage === void 0) {
70
70
  _diagnostics?.addDiagnostic(new Diagnostic(DiagnosticData.withCode(
71
- 151 /* ProgramWithoutMainPackageCanNotBeCompiled */
71
+ 111 /* ProgramWithoutMainPackageCanNotBeCompiled */
72
72
  ), void 0));
73
73
  return void 0;
74
74
  }
@@ -82,7 +82,7 @@ var Compiler = class {
82
82
  return __async(this, null, function* () {
83
83
  if (analyzer.compilation.mainPackage === void 0) {
84
84
  _diagnostics?.addDiagnostic(new Diagnostic(DiagnosticData.withCode(
85
- 151 /* ProgramWithoutMainPackageCanNotBeCompiled */
85
+ 111 /* ProgramWithoutMainPackageCanNotBeCompiled */
86
86
  ), void 0));
87
87
  return "";
88
88
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "./chunk-6UMHRF7Y.js";
3
+ } from "./chunk-SKJMYOQR.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-X4XDV2CH.js";
17
+ } from "./chunk-ZFBZFTRR.js";
18
18
 
19
19
  // source/executor/FileSystemUri.ts
20
20
  import { platform } from "os";
@@ -216,7 +216,7 @@ var NodeCompiler = class {
216
216
  const standardLibraryUri = yield this.findStandardTypeScriptLibrary(nodeModulesSearchPaths, defaultTsLibraryPath);
217
217
  if (standardLibraryUri === void 0) {
218
218
  const diagnostic = new Diagnostic(DiagnosticData.withCode(
219
- 148 /* CanNotFindTsLibDirectoryBaseSearchPaths0 */,
219
+ 109 /* CanNotFindTsLibDirectoryBaseSearchPaths0 */,
220
220
  [nodeModulesSearchPaths.map((p) => `'${p}'`).join(", ")]
221
221
  ), void 0);
222
222
  diagnostics?.addDiagnostic(diagnostic);