@artel/artc 0.6.25234 → 0.6.25236
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 +359 -359
- package/build/{chunk-YAYSHO33.js → chunk-ATYKWZ5R.js} +1550 -1550
- package/build/{chunk-C2RH46GK.js → chunk-QHJIIZHP.js} +1 -1
- package/build/{chunk-ENNXNHHT.js → chunk-SLLHPOY3.js} +2 -2
- package/build/types/common/Constants.d.ts +1 -1
- package/build/types/common/PackageDialect.d.ts +3 -3
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +3 -3
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +3 -3
- package/build/types/tree/NodeKind.d.ts +104 -104
- package/build/types/tree/green/Nodes.d.ts +31 -31
- package/build/types/tree/red/Nodes.d.ts +32 -32
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
Compiler
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-QHJIIZHP.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-
|
17
|
+
} from "./chunk-ATYKWZ5R.js";
|
18
18
|
|
19
19
|
// source/executor/FileSystemUri.ts
|
20
20
|
import { platform } from "os";
|
@@ -14,6 +14,6 @@ export declare const InMemoryPackageScheme = "artel-in-memory";
|
|
14
14
|
export declare const GeneratedSourceFileScheme = "artel-gen";
|
15
15
|
export declare const DefaultTsLibDeclarationsFileName = "lib.es2023.d.ts";
|
16
16
|
export declare const DefaultLocale = PackageLocale.Ru;
|
17
|
-
export declare const DefaultDialect = PackageDialect.
|
17
|
+
export declare const DefaultDialect = PackageDialect.ArtelAM;
|
18
18
|
export declare const DefaultNamesOfDirectoriesToIgnore: string[];
|
19
19
|
export declare const NodeModulesDirectoryName = "node_modules";
|
@@ -29,9 +29,9 @@ export declare enum Language {
|
|
29
29
|
English = "english"
|
30
30
|
}
|
31
31
|
export declare enum Dialect {
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
ArtelAM = "Artel-AM",
|
33
|
+
ArtelA = "Artel-A",
|
34
|
+
ArtelM = "Artel-M"
|
35
35
|
}
|
36
36
|
export type TargetPlatform = JavaScriptPlatform | DotNetPlatform | AnyPlatform;
|
37
37
|
export interface JavaScriptPlatform {
|
@@ -29,9 +29,9 @@ export declare enum Язык {
|
|
29
29
|
Английский = "\u0430\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439"
|
30
30
|
}
|
31
31
|
export declare enum Диалект {
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
АртельАМ = "\u0410\u0440\u0442\u0435\u043B\u044C-\u0410\u041C",
|
33
|
+
АртельА = "\u0410\u0440\u0442\u0435\u043B\u044C-\u0410",
|
34
|
+
АртельМ = "\u0410\u0440\u0442\u0435\u043B\u044C-\u041C"
|
35
35
|
}
|
36
36
|
export type ЦелеваяПлатформа = ПлатформаJavaScript | ПлатформаDotNet | ПлатформаЛюбая;
|
37
37
|
export interface ПлатформаJavaScript {
|
@@ -19,110 +19,110 @@ export declare enum NodeKind {
|
|
19
19
|
AnonymousFunctionTypeDeclaration = 17,
|
20
20
|
AnonymousStructuredTypeDeclaration = 18,
|
21
21
|
AnonymousVariantTypeDeclaration = 19,
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
22
|
+
PackageAliasTypeDeclaration = 20,
|
23
|
+
AliasTypeDeclarationBody = 21,
|
24
|
+
PackageMemberGroupDeclaration = 22,
|
25
|
+
PackageConstructorDeclaration = 23,
|
26
|
+
PackageEntryPointDeclaration = 24,
|
27
|
+
PackageFunctionDeclaration = 25,
|
28
|
+
PackageFunctionTypeDeclaration = 26,
|
29
|
+
FunctionTypeDeclarationBody = 27,
|
30
|
+
BaseTypeList = 28,
|
31
|
+
TypeMemberDeclarationList = 29,
|
32
|
+
TypeMemberDeclarationBlock = 30,
|
33
|
+
PackageStructuredTypeDeclaration = 31,
|
34
|
+
StructuredTypeDeclarationBody = 32,
|
35
|
+
PackageVariableDeclaration = 33,
|
36
|
+
PackageVariableGetterDeclaration = 34,
|
37
|
+
PackageVariableSetterDeclaration = 35,
|
38
|
+
PackageVariantTypeDeclaration = 36,
|
39
|
+
VariantTypeDeclarationBody = 37,
|
40
|
+
TypeExtensionDeclaration = 38,
|
41
|
+
ExtendedTypeClauseCommaList = 39,
|
42
|
+
ExtendedTypeClause = 40,
|
43
|
+
InvalidPackageMemberDeclaration = 41,
|
44
|
+
TypeMemberGroupDeclaration = 42,
|
45
|
+
ConstructorDeclaration = 43,
|
46
|
+
DestructorDeclaration = 44,
|
47
|
+
IndexedElementGetterDeclaration = 45,
|
48
|
+
IndexedElementSetterDeclaration = 46,
|
49
|
+
IndexParameterClause = 47,
|
50
|
+
DereferencedVariableGetterDeclaration = 48,
|
51
|
+
DereferencedVariableSetterDeclaration = 49,
|
52
|
+
MethodDeclaration = 50,
|
53
|
+
OperatorDeclaration = 51,
|
54
|
+
FieldDeclaration = 52,
|
55
|
+
FieldGetterDeclaration = 53,
|
56
|
+
FieldSetterDeclaration = 54,
|
57
|
+
InvalidTypeMemberDeclaration = 55,
|
58
|
+
NestedFunctionDeclaration = 56,
|
59
|
+
LocalVariableDeclaration = 57,
|
60
|
+
EnumerationVariableDeclaration = 58,
|
61
|
+
ArrayLiteral = 59,
|
62
|
+
ArrayLiteralElementList = 60,
|
63
|
+
AssertionExpression = 61,
|
64
|
+
AssumptionExpression = 62,
|
65
|
+
AsExpression = 63,
|
66
|
+
BinaryExpression = 64,
|
67
|
+
FunctionBlockLiteral = 65,
|
68
|
+
ArgumentList = 66,
|
69
|
+
CallExpression = 67,
|
70
|
+
AutotypeCallExpression = 68,
|
71
|
+
IndexedAccessExpression = 69,
|
72
|
+
InvalidExpression = 70,
|
73
|
+
IsExpression = 71,
|
74
|
+
FunctionLiteral = 72,
|
75
|
+
ParenthesizedExpression = 73,
|
76
|
+
ConditionalExpression = 74,
|
77
|
+
PrefixUnaryExpression = 75,
|
78
|
+
MemberAccessExpression = 76,
|
79
|
+
ReferenceExpression = 77,
|
80
|
+
DereferenceExpression = 78,
|
81
|
+
TextTemplateLiteral = 79,
|
82
|
+
TextTemplateSpanList = 80,
|
83
|
+
TextTemplateSpan = 81,
|
84
|
+
TokenExpression = 82,
|
85
|
+
KeywordExpression = 83,
|
86
|
+
ObjectExpression = 84,
|
87
|
+
BaseExpression = 85,
|
88
|
+
IdentifierExpression = 86,
|
89
|
+
GenericSpecializationExpression = 87,
|
90
|
+
DefaultMatchExpression = 88,
|
91
|
+
AssignmentStatement = 89,
|
92
|
+
StatementList = 90,
|
93
|
+
StatementBlock = 91,
|
94
|
+
FunctionBlock = 92,
|
95
|
+
BreakLoopStatement = 93,
|
96
|
+
ContinueLoopStatement = 94,
|
97
|
+
DisposeStatement = 95,
|
98
|
+
RunStatement = 96,
|
99
|
+
TryStatement = 97,
|
100
|
+
CatchClause = 98,
|
101
|
+
ErrorVariableDeclaration = 99,
|
102
|
+
FinallyClause = 100,
|
103
|
+
EmptyStatement = 101,
|
104
|
+
ErrorStatement = 102,
|
105
|
+
ImportantStatement = 103,
|
106
|
+
ExpressionStatement = 104,
|
107
|
+
EnumerationVariableList = 105,
|
108
|
+
ForStatement = 106,
|
109
|
+
IfStatement = 107,
|
110
|
+
ElseIfClauseList = 108,
|
111
|
+
ElseIfClause = 109,
|
112
|
+
ElseClause = 110,
|
113
|
+
InvalidStatement = 111,
|
114
|
+
NestedFunctionDeclarationStatement = 112,
|
115
|
+
LocalVariableDeclarationStatement = 113,
|
116
|
+
LoopStatement = 114,
|
117
|
+
ReturnStatement = 115,
|
118
|
+
CaseClauseList = 116,
|
119
|
+
SwitchStatement = 117,
|
120
|
+
MatchExpressionList = 118,
|
121
|
+
CaseClause = 119,
|
122
|
+
WhileStatement = 120,
|
123
|
+
YieldStatement = 121,
|
124
|
+
TranslationsDeclaration = 122,
|
125
|
+
TopLevelTranslationList = 123,
|
126
126
|
TranslationParameterList = 124,
|
127
127
|
TranslationParameterClause = 125,
|
128
128
|
ConstructorTranslation = 126,
|
@@ -217,36 +217,7 @@ export declare class AnonymousVariantTypeDeclaration extends BaseNode {
|
|
217
217
|
constructor(body: VariantTypeDeclarationBody);
|
218
218
|
toRed(rangeStart: number, parent: red.AnonymousTypeDeclarationParent): red.AnonymousVariantTypeDeclaration;
|
219
219
|
}
|
220
|
-
export type PackageMemberDeclaration =
|
221
|
-
export type TopLevelTranslationListElement = TopLevelTranslation | Semicolon;
|
222
|
-
export declare class TopLevelTranslationList extends BaseNode {
|
223
|
-
readonly kind = NodeKind.TopLevelTranslationList;
|
224
|
-
readonly children: readonly TopLevelTranslationListElement[];
|
225
|
-
get elements(): readonly TopLevelTranslationListElement[];
|
226
|
-
protected get thisAsNode(): Node;
|
227
|
-
constructor(elements: readonly TopLevelTranslationListElement[]);
|
228
|
-
toRed(rangeStart: number, parent: red.TopLevelTranslationListParent): red.TopLevelTranslationList;
|
229
|
-
}
|
230
|
-
export declare class TranslationsDeclaration extends BaseNode {
|
231
|
-
readonly kind = NodeKind.TranslationsDeclaration;
|
232
|
-
readonly children: readonly [
|
233
|
-
TagList,
|
234
|
-
ModifierList,
|
235
|
-
Keyword<KeywordKind.Translations>,
|
236
|
-
Token<TokenKind.OpenBrace>,
|
237
|
-
TopLevelTranslationList,
|
238
|
-
Token<TokenKind.CloseBrace>
|
239
|
-
];
|
240
|
-
get tagList(): TagList;
|
241
|
-
get modifierList(): ModifierList;
|
242
|
-
get translationsKeyword(): Keyword<KeywordKind.Translations>;
|
243
|
-
get openBraceToken(): Token<TokenKind.OpenBrace>;
|
244
|
-
get translationList(): TopLevelTranslationList;
|
245
|
-
get closeBraceToken(): Token<TokenKind.CloseBrace>;
|
246
|
-
protected get thisAsNode(): Node;
|
247
|
-
constructor(tagList: TagList, modifierList: ModifierList, translationsKeyword: Keyword<KeywordKind.Translations>, openBraceToken: Token<TokenKind.OpenBrace>, translationList: TopLevelTranslationList, closeBraceToken: Token<TokenKind.CloseBrace>);
|
248
|
-
toRed(rangeStart: number, parent: red.PackageMemberDeclarationParent): red.TranslationsDeclaration;
|
249
|
-
}
|
220
|
+
export type PackageMemberDeclaration = PackageAliasTypeDeclaration | PackageMemberGroupDeclaration | TypeExtensionDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | PackageStructuredTypeDeclaration | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | InvalidPackageMemberDeclaration | TranslationsDeclaration;
|
250
221
|
export declare class PackageAliasTypeDeclaration extends BaseNode {
|
251
222
|
readonly kind = NodeKind.PackageAliasTypeDeclaration;
|
252
223
|
readonly children: readonly [
|
@@ -1705,6 +1676,35 @@ export declare class YieldStatement extends BaseNode {
|
|
1705
1676
|
constructor(yieldKeyword: Keyword<KeywordKind.Yield>, expression: Expression);
|
1706
1677
|
toRed(rangeStart: number, parent: red.StatementParent): red.YieldStatement;
|
1707
1678
|
}
|
1679
|
+
export declare class TranslationsDeclaration extends BaseNode {
|
1680
|
+
readonly kind = NodeKind.TranslationsDeclaration;
|
1681
|
+
readonly children: readonly [
|
1682
|
+
TagList,
|
1683
|
+
ModifierList,
|
1684
|
+
Keyword<KeywordKind.Translations>,
|
1685
|
+
Token<TokenKind.OpenBrace>,
|
1686
|
+
TopLevelTranslationList,
|
1687
|
+
Token<TokenKind.CloseBrace>
|
1688
|
+
];
|
1689
|
+
get tagList(): TagList;
|
1690
|
+
get modifierList(): ModifierList;
|
1691
|
+
get translationsKeyword(): Keyword<KeywordKind.Translations>;
|
1692
|
+
get openBraceToken(): Token<TokenKind.OpenBrace>;
|
1693
|
+
get translationList(): TopLevelTranslationList;
|
1694
|
+
get closeBraceToken(): Token<TokenKind.CloseBrace>;
|
1695
|
+
protected get thisAsNode(): Node;
|
1696
|
+
constructor(tagList: TagList, modifierList: ModifierList, translationsKeyword: Keyword<KeywordKind.Translations>, openBraceToken: Token<TokenKind.OpenBrace>, translationList: TopLevelTranslationList, closeBraceToken: Token<TokenKind.CloseBrace>);
|
1697
|
+
toRed(rangeStart: number, parent: red.PackageMemberDeclarationParent): red.TranslationsDeclaration;
|
1698
|
+
}
|
1699
|
+
export type TopLevelTranslationListElement = TopLevelTranslation | Semicolon;
|
1700
|
+
export declare class TopLevelTranslationList extends BaseNode {
|
1701
|
+
readonly kind = NodeKind.TopLevelTranslationList;
|
1702
|
+
readonly children: readonly TopLevelTranslationListElement[];
|
1703
|
+
get elements(): readonly TopLevelTranslationListElement[];
|
1704
|
+
protected get thisAsNode(): Node;
|
1705
|
+
constructor(elements: readonly TopLevelTranslationListElement[]);
|
1706
|
+
toRed(rangeStart: number, parent: red.TopLevelTranslationListParent): red.TopLevelTranslationList;
|
1707
|
+
}
|
1708
1708
|
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation;
|
1709
1709
|
export declare class TranslationParameterList extends BaseNode {
|
1710
1710
|
readonly kind = NodeKind.TranslationParameterList;
|
@@ -2187,4 +2187,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2187
2187
|
constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier);
|
2188
2188
|
toRed(rangeStart: number, parent: red.TypeAnnotationParent): red.TypeAnnotation;
|
2189
2189
|
}
|
2190
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration |
|
2190
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | FunctionLiteral | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|
@@ -254,38 +254,8 @@ export declare class AnonymousVariantTypeDeclaration extends BaseNode {
|
|
254
254
|
constructor(green: green.AnonymousVariantTypeDeclaration, rangeStart: number, parent: AnonymousTypeDeclarationParent);
|
255
255
|
private createChildren;
|
256
256
|
}
|
257
|
-
export type PackageMemberDeclaration =
|
258
|
-
export type TopLevelTranslationListElement = TopLevelTranslation | Semicolon;
|
259
|
-
export type TopLevelTranslationListParent = TranslationsDeclaration;
|
260
|
-
export declare class TopLevelTranslationList extends BaseNode {
|
261
|
-
readonly kind = NodeKind.TopLevelTranslationList;
|
262
|
-
readonly green: green.TopLevelTranslationList;
|
263
|
-
readonly parent: TopLevelTranslationListParent;
|
264
|
-
private _children;
|
265
|
-
get children(): readonly TopLevelTranslationListElement[];
|
266
|
-
get elements(): readonly TopLevelTranslationListElement[];
|
267
|
-
get translationDeclarations(): Query<TopLevelTranslation>;
|
268
|
-
protected get thisAsNode(): Node;
|
269
|
-
constructor(green: green.TopLevelTranslationList, rangeStart: number, parent: TopLevelTranslationListParent);
|
270
|
-
private createChildren;
|
271
|
-
}
|
257
|
+
export type PackageMemberDeclaration = PackageAliasTypeDeclaration | PackageMemberGroupDeclaration | TypeExtensionDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | PackageStructuredTypeDeclaration | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | InvalidPackageMemberDeclaration | TranslationsDeclaration;
|
272
258
|
export type PackageMemberDeclarationParent = PackageMemberDeclarationList;
|
273
|
-
export declare class TranslationsDeclaration extends BaseNode {
|
274
|
-
readonly kind = NodeKind.TranslationsDeclaration;
|
275
|
-
readonly green: green.TranslationsDeclaration;
|
276
|
-
readonly parent: PackageMemberDeclarationParent;
|
277
|
-
private _children;
|
278
|
-
get children(): readonly [TagList, ModifierList, Keyword<green.KeywordKind.Translations>, Token<green.TokenKind.OpenBrace>, TopLevelTranslationList, Token<green.TokenKind.CloseBrace>];
|
279
|
-
get tagList(): TagList;
|
280
|
-
get modifierList(): ModifierList;
|
281
|
-
get translationsKeyword(): Keyword<KeywordKind.Translations>;
|
282
|
-
get openBraceToken(): Token<TokenKind.OpenBrace>;
|
283
|
-
get translationList(): TopLevelTranslationList;
|
284
|
-
get closeBraceToken(): Token<TokenKind.CloseBrace>;
|
285
|
-
protected get thisAsNode(): Node;
|
286
|
-
constructor(green: green.TranslationsDeclaration, rangeStart: number, parent: PackageMemberDeclarationParent);
|
287
|
-
private createChildren;
|
288
|
-
}
|
289
259
|
export declare class PackageAliasTypeDeclaration extends BaseNode {
|
290
260
|
readonly kind = NodeKind.PackageAliasTypeDeclaration;
|
291
261
|
readonly green: green.PackageAliasTypeDeclaration;
|
@@ -1693,6 +1663,36 @@ export declare class YieldStatement extends BaseNode {
|
|
1693
1663
|
constructor(green: green.YieldStatement, rangeStart: number, parent: StatementParent);
|
1694
1664
|
private createChildren;
|
1695
1665
|
}
|
1666
|
+
export declare class TranslationsDeclaration extends BaseNode {
|
1667
|
+
readonly kind = NodeKind.TranslationsDeclaration;
|
1668
|
+
readonly green: green.TranslationsDeclaration;
|
1669
|
+
readonly parent: PackageMemberDeclarationParent;
|
1670
|
+
private _children;
|
1671
|
+
get children(): readonly [TagList, ModifierList, Keyword<green.KeywordKind.Translations>, Token<green.TokenKind.OpenBrace>, TopLevelTranslationList, Token<green.TokenKind.CloseBrace>];
|
1672
|
+
get tagList(): TagList;
|
1673
|
+
get modifierList(): ModifierList;
|
1674
|
+
get translationsKeyword(): Keyword<KeywordKind.Translations>;
|
1675
|
+
get openBraceToken(): Token<TokenKind.OpenBrace>;
|
1676
|
+
get translationList(): TopLevelTranslationList;
|
1677
|
+
get closeBraceToken(): Token<TokenKind.CloseBrace>;
|
1678
|
+
protected get thisAsNode(): Node;
|
1679
|
+
constructor(green: green.TranslationsDeclaration, rangeStart: number, parent: PackageMemberDeclarationParent);
|
1680
|
+
private createChildren;
|
1681
|
+
}
|
1682
|
+
export type TopLevelTranslationListElement = TopLevelTranslation | Semicolon;
|
1683
|
+
export type TopLevelTranslationListParent = TranslationsDeclaration;
|
1684
|
+
export declare class TopLevelTranslationList extends BaseNode {
|
1685
|
+
readonly kind = NodeKind.TopLevelTranslationList;
|
1686
|
+
readonly green: green.TopLevelTranslationList;
|
1687
|
+
readonly parent: TopLevelTranslationListParent;
|
1688
|
+
private _children;
|
1689
|
+
get children(): readonly TopLevelTranslationListElement[];
|
1690
|
+
get elements(): readonly TopLevelTranslationListElement[];
|
1691
|
+
get translationDeclarations(): Query<TopLevelTranslation>;
|
1692
|
+
protected get thisAsNode(): Node;
|
1693
|
+
constructor(green: green.TopLevelTranslationList, rangeStart: number, parent: TopLevelTranslationListParent);
|
1694
|
+
private createChildren;
|
1695
|
+
}
|
1696
1696
|
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation;
|
1697
1697
|
export type TranslationParameterListParent = TranslationParameterClause | IndexParameterTranslationClause;
|
1698
1698
|
export declare class TranslationParameterList extends BaseNode {
|
@@ -2184,4 +2184,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2184
2184
|
constructor(green: green.TypeAnnotation, rangeStart: number, parent: TypeAnnotationParent);
|
2185
2185
|
private createChildren;
|
2186
2186
|
}
|
2187
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration |
|
2187
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | FunctionLiteral | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|