@artel/artc 0.9.26072-pre-release → 0.9.26073-pre-release

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-DO2TCR45.js";
5
- import "./chunk-UN3WJATG.js";
4
+ } from "./chunk-OHEVIYK7.js";
5
+ import "./chunk-EVBBPJT6.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-SEDG5ETC.js";
8
+ } from "./chunk-4ALH4HEN.js";
9
9
 
10
10
  // source/Cli.ts
11
11
  function main() {
package/build/api/Api.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  ImportEmitKind,
9
9
  NotEmittedPackageInfo,
10
10
  SourceMapMode
11
- } from "../chunk-UN3WJATG.js";
11
+ } from "../chunk-EVBBPJT6.js";
12
12
  import {
13
13
  AccessKind,
14
14
  AccessedFunction_entity,
@@ -328,7 +328,7 @@ import {
328
328
  withoutQuotes,
329
329
  withoutTemplateQuotes,
330
330
  yieldTask
331
- } from "../chunk-SEDG5ETC.js";
331
+ } from "../chunk-4ALH4HEN.js";
332
332
  export {
333
333
  AccessKind,
334
334
  AccessedFunction_entity,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-DO2TCR45.js";
10
- import "../chunk-UN3WJATG.js";
11
- import "../chunk-SEDG5ETC.js";
9
+ } from "../chunk-OHEVIYK7.js";
10
+ import "../chunk-EVBBPJT6.js";
11
+ import "../chunk-4ALH4HEN.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -147,7 +147,7 @@ import {
147
147
  traverseTreeAsync,
148
148
  traverseTreeAsync2,
149
149
  yieldTask
150
- } from "../chunk-SEDG5ETC.js";
150
+ } from "../chunk-4ALH4HEN.js";
151
151
 
152
152
  // source/services/common/Types.ts
153
153
  import * as ls from "vscode-languageserver";
@@ -9672,7 +9672,8 @@ var supportedSemanticTokens = [
9672
9672
  5 /* NestedFunction */,
9673
9673
  6 /* Method */,
9674
9674
  7 /* Operator */,
9675
- 8 /* KeywordControl */
9675
+ 8 /* KeywordControl */,
9676
+ 9 /* NamedArgument */
9676
9677
  ];
9677
9678
  var supportedSemanticTokenModifiers = [
9678
9679
  1 /* Const */,
@@ -9822,6 +9823,15 @@ var SemanticTokensServiceA = class {
9822
9823
  new SemanticToken(node.name.rangeWithoutTrivia, kind, new SemanticTokenModifiers().makeDeclaration().setCapitalized(this.isCapitalizedName(node.name.value)))
9823
9824
  );
9824
9825
  }
9826
+ if (node.kind === 147 /* Argument */ && node.name !== void 0) {
9827
+ result.push(
9828
+ new SemanticToken(
9829
+ node.name.rangeWithoutTrivia,
9830
+ 9 /* NamedArgument */,
9831
+ new SemanticTokenModifiers()
9832
+ )
9833
+ );
9834
+ }
9825
9835
  return void 0;
9826
9836
  }
9827
9837
  );
@@ -19331,6 +19341,15 @@ var SemanticTokensServiceM = class {
19331
19341
  new SemanticTokenModifiers()
19332
19342
  ));
19333
19343
  }
19344
+ if (node.kind === 1003 /* Argument */ && node.name !== void 0) {
19345
+ result.push(
19346
+ new SemanticToken(
19347
+ node.name.rangeWithoutTrivia,
19348
+ 9 /* NamedArgument */,
19349
+ new SemanticTokenModifiers()
19350
+ )
19351
+ );
19352
+ }
19334
19353
  return void 0;
19335
19354
  }
19336
19355
  );
@@ -21120,6 +21139,8 @@ var _LanguageServer = class _LanguageServer {
21120
21139
  return ls3.SemanticTokenTypes.operator;
21121
21140
  case 8 /* KeywordControl */:
21122
21141
  return "keyword.control";
21142
+ case 9 /* NamedArgument */:
21143
+ return "keywordNotControl";
21123
21144
  default:
21124
21145
  Debug.never(kind);
21125
21146
  }
@@ -782,7 +782,7 @@ var UniqueWithComparatorQuery = class extends Query {
782
782
  };
783
783
 
784
784
  // source/common/Constants.ts
785
- var ArtelVersion = true ? "0.9.26072-pre-release" : "";
785
+ var ArtelVersion = true ? "0.9.26073-pre-release" : "";
786
786
  var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel", ".\u0430\u0440\u0442\u043C", ".\u0430\u0440\u0442\u0435\u043B\u044C\u043C", ".artm", ".artelm"];
787
787
  var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
788
788
  var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
@@ -58,7 +58,7 @@ import {
58
58
  validJavaScriptIdentifierStartRegExp,
59
59
  withoutQuotes,
60
60
  withoutTemplateQuotes
61
- } from "./chunk-SEDG5ETC.js";
61
+ } from "./chunk-4ALH4HEN.js";
62
62
 
63
63
  // source/emitter/ir/AccessedEntities.ts
64
64
  var AccessedVariable = class _AccessedVariable {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Compiler,
3
3
  DiagnosticFormatter
4
- } from "./chunk-UN3WJATG.js";
4
+ } from "./chunk-EVBBPJT6.js";
5
5
  import {
6
6
  ArtelVersion,
7
7
  Cached,
@@ -16,7 +16,7 @@ import {
16
16
  __async,
17
17
  performanceMeasurementStageNames,
18
18
  performanceMeasurementStages
19
- } from "./chunk-SEDG5ETC.js";
19
+ } from "./chunk-4ALH4HEN.js";
20
20
 
21
21
  // source/executor/FileSystemUri.ts
22
22
  import { platform } from "os";
@@ -22,9 +22,10 @@ export declare const enum SemanticTokenKind {
22
22
  NestedFunction = 5,
23
23
  Method = 6,
24
24
  Operator = 7,
25
- KeywordControl = 8
25
+ KeywordControl = 8,
26
+ NamedArgument = 9
26
27
  }
27
- export declare const supportedSemanticTokens: readonly [SemanticTokenKind.FunctionBlockLiteralParameter, SemanticTokenKind.SpecialVariable, SemanticTokenKind.SpecialMethod, SemanticTokenKind.Variant, SemanticTokenKind.PackageFunction, SemanticTokenKind.NestedFunction, SemanticTokenKind.Method, SemanticTokenKind.Operator, SemanticTokenKind.KeywordControl];
28
+ export declare const supportedSemanticTokens: readonly [SemanticTokenKind.FunctionBlockLiteralParameter, SemanticTokenKind.SpecialVariable, SemanticTokenKind.SpecialMethod, SemanticTokenKind.Variant, SemanticTokenKind.PackageFunction, SemanticTokenKind.NestedFunction, SemanticTokenKind.Method, SemanticTokenKind.Operator, SemanticTokenKind.KeywordControl, SemanticTokenKind.NamedArgument];
28
29
  export declare const enum SemanticTokenModifierFlag {
29
30
  Const = 1,
30
31
  Declaration = 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artel/artc",
3
- "version": "0.9.26072-pre-release",
3
+ "version": "0.9.26073-pre-release",
4
4
  "description": "Артель Компилятор | Artel Compiler",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "Apache-2.0",