@artel/artc 0.9.26071-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 +3 -3
- package/build/api/Api.js +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +23 -2
- package/build/{chunk-CALIV63X.js → chunk-4ALH4HEN.js} +5 -7
- package/build/{chunk-2WHUJJKM.js → chunk-EVBBPJT6.js} +1 -1
- package/build/{chunk-OMQRGP7A.js → chunk-OHEVIYK7.js} +2 -2
- package/build/types/services/common/semantic-tokens/Types.d.ts +3 -2
- package/package.json +1 -1
package/build/Cli.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CommandLineCompiler
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-OHEVIYK7.js";
|
|
5
|
+
import "./chunk-EVBBPJT6.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
331
|
+
} from "../chunk-4ALH4HEN.js";
|
|
332
332
|
export {
|
|
333
333
|
AccessKind,
|
|
334
334
|
AccessedFunction_entity,
|
package/build/api/ApiNodeJS.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
PhysicalFileSystem,
|
|
7
7
|
PhysicalTypeScriptLibrariesProvider,
|
|
8
8
|
PrintingDiagnosticAcceptor
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-OHEVIYK7.js";
|
|
10
|
+
import "../chunk-EVBBPJT6.js";
|
|
11
|
+
import "../chunk-4ALH4HEN.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|
package/build/api/ApiServices.js
CHANGED
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
traverseTreeAsync,
|
|
148
148
|
traverseTreeAsync2,
|
|
149
149
|
yieldTask
|
|
150
|
-
} from "../chunk-
|
|
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.
|
|
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");
|
|
@@ -4768,8 +4768,6 @@ var russianKeywords2 = new Lazy(() => [
|
|
|
4768
4768
|
{ keyword: "\u0446\u0438\u043A\u043B-\u043F\u043E\u043A\u0430", kind: 1036 /* While */ },
|
|
4769
4769
|
{ keyword: "\u043F\u043E\u043A\u0430", kind: 1036 /* While */ },
|
|
4770
4770
|
{ keyword: "\u044D\u043A\u0437", kind: 1026 /* Object */ },
|
|
4771
|
-
{ keyword: "\u043A\u0444", kind: 1012 /* End */ },
|
|
4772
|
-
// вероятно будет удалено
|
|
4773
4771
|
{ keyword: "\u0432\u0441\u0435", kind: 1012 /* End */ },
|
|
4774
4772
|
// вероятно будет удалено
|
|
4775
4773
|
{ keyword: "\u0432\u0441\u0451", kind: 1012 /* End */ }
|
|
@@ -19336,7 +19334,7 @@ var nameByWellKnownTagFlagByLocale = {
|
|
|
19336
19334
|
[2 /* HiddenInHierarchy */]: new Name("intra-hierarchy"),
|
|
19337
19335
|
[8 /* HiddenInPackage */]: new Name("intra-module"),
|
|
19338
19336
|
[1 /* HiddenInType */]: new Name("intra-type"),
|
|
19339
|
-
[2048 /* Meta */]: new Name("modifier
|
|
19337
|
+
[2048 /* Meta */]: new Name("modifier"),
|
|
19340
19338
|
[16384 /* ClosedHierarchyInFile */]: new Name("hierarchy-is-closed-in-file"),
|
|
19341
19339
|
[32768 /* ClosedHierarchyInPackage */]: new Name("hierarchy-is-closed-in-module"),
|
|
19342
19340
|
[65536 /* NamedConstructor */]: new Name("named-constructor"),
|
|
@@ -19623,7 +19621,7 @@ var SyntaxFactory2 = class {
|
|
|
19623
19621
|
);
|
|
19624
19622
|
}
|
|
19625
19623
|
static emptyFunctionBlock() {
|
|
19626
|
-
const endClause = this.
|
|
19624
|
+
const endClause = this.keyword(1012 /* End */);
|
|
19627
19625
|
return new FunctionBlock2(void 0, new StatementList2([], void 0), void 0, endClause, void 0);
|
|
19628
19626
|
}
|
|
19629
19627
|
static localStructuredTypeDeclaration(name, baseTypes, members) {
|
|
@@ -19716,7 +19714,7 @@ var SyntaxFactory2 = class {
|
|
|
19716
19714
|
}
|
|
19717
19715
|
static typeMemberDeclarationBlock(members) {
|
|
19718
19716
|
const memberList = members instanceof Array ? new TypeMemberDeclarationList2(members, void 0) : members;
|
|
19719
|
-
const endClause = this.
|
|
19717
|
+
const endClause = this.keyword(1012 /* End */);
|
|
19720
19718
|
return new TypeMemberDeclarationBlock2(
|
|
19721
19719
|
void 0,
|
|
19722
19720
|
memberList,
|
|
@@ -19838,7 +19836,7 @@ var SyntaxFactory2 = class {
|
|
|
19838
19836
|
if (members !== void 0) {
|
|
19839
19837
|
memberList = new TypeMemberTranslationList2(members, void 0);
|
|
19840
19838
|
}
|
|
19841
|
-
const endClause = this.
|
|
19839
|
+
const endClause = this.keyword(1012 /* End */);
|
|
19842
19840
|
return new TypeTranslationDeclaration2(
|
|
19843
19841
|
typeKeyword,
|
|
19844
19842
|
sourceNameIdentifier,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Compiler,
|
|
3
3
|
DiagnosticFormatter
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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