@artel/artc 0.6.25227 → 0.6.25229
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 +4 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +297 -284
- package/build/{chunk-74TFH7TE.js → chunk-2FHW6RUS.js} +3 -3
- package/build/{chunk-VD6OPILI.js → chunk-4UBNOTKC.js} +3 -3
- package/build/{chunk-NOECPQMV.js → chunk-6YPLDA76.js} +2612 -2072
- package/build/types/analysis/Analyzer.d.ts +12 -5
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +8 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +9 -2
- package/build/types/analysis/ModifierFlags.d.ts +5 -6
- package/build/types/analysis/NodeTypeUtils.d.ts +2 -2
- package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +24 -0
- package/build/types/analysis/SourceFileMembers.d.ts +6 -1
- package/build/types/analysis/SourcePackageMembersCreator.d.ts +2 -1
- package/build/types/analysis/TypeInferrer.d.ts +2 -0
- package/build/types/analysis/control-flow/GraphBuilder.d.ts +5 -2
- package/build/types/analysis/semantic-context/SemanticContext.d.ts +1 -1
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +1 -80
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +1 -1
- package/build/types/analysis/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +89 -0
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +0 -8
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +9 -24
- package/build/types/analysis/semantic-context/index.d.ts +1 -0
- package/build/types/common/Cached.d.ts +1 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +86 -72
- package/build/types/emitter/Entities.d.ts +4 -4
- package/build/types/emitter/IrBuilder.d.ts +0 -1
- package/build/types/entities/DereferenceOperatorEntity.d.ts +4 -4
- package/build/types/entities/FunctionEntity.d.ts +8 -8
- package/build/types/entities/IndexerEntity.d.ts +4 -4
- package/build/types/entities/OperatorEntity.d.ts +4 -4
- package/build/types/entities/VariableEntity.d.ts +25 -12
- package/build/types/entities/index.d.ts +4 -0
- package/build/types/project/SourcePackage.d.ts +3 -1
- package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +2 -0
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +2 -0
- package/build/types/tree/KeywordKind.d.ts +21 -22
- package/build/types/tree/NodeKind.d.ts +81 -82
- package/build/types/tree/green/BaseNode.d.ts +3 -1
- package/build/types/tree/green/Nodes.d.ts +3 -21
- package/build/types/tree/red/BaseNode.d.ts +2 -1
- package/build/types/tree/red/Nodes.d.ts +4 -19
- package/build/types/ts-interop/Entities.d.ts +12 -12
- package/package.json +1 -1
@@ -75,86 +75,85 @@ export declare enum NodeKind {
|
|
75
75
|
IsExpression = 73,
|
76
76
|
FunctionLiteral = 74,
|
77
77
|
ParenthesizedExpression = 75,
|
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
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
TypeAnnotation = 157
|
78
|
+
ConditionalExpression = 76,
|
79
|
+
PrefixUnaryExpression = 77,
|
80
|
+
MemberAccessExpression = 78,
|
81
|
+
ReferenceExpression = 79,
|
82
|
+
DereferenceExpression = 80,
|
83
|
+
TextTemplateLiteral = 81,
|
84
|
+
TextTemplateSpanList = 82,
|
85
|
+
TextTemplateSpan = 83,
|
86
|
+
TokenExpression = 84,
|
87
|
+
KeywordExpression = 85,
|
88
|
+
ObjectExpression = 86,
|
89
|
+
BaseExpression = 87,
|
90
|
+
IdentifierExpression = 88,
|
91
|
+
GenericSpecializationExpression = 89,
|
92
|
+
DefaultMatchExpression = 90,
|
93
|
+
AssignmentStatement = 91,
|
94
|
+
StatementList = 92,
|
95
|
+
StatementBlock = 93,
|
96
|
+
FunctionBlock = 94,
|
97
|
+
BreakLoopStatement = 95,
|
98
|
+
ContinueLoopStatement = 96,
|
99
|
+
DisposeStatement = 97,
|
100
|
+
RunStatement = 98,
|
101
|
+
TryStatement = 99,
|
102
|
+
CatchClause = 100,
|
103
|
+
ErrorVariableDeclaration = 101,
|
104
|
+
FinallyClause = 102,
|
105
|
+
EmptyStatement = 103,
|
106
|
+
ErrorStatement = 104,
|
107
|
+
ImportantStatement = 105,
|
108
|
+
ExpressionStatement = 106,
|
109
|
+
EnumerationVariableList = 107,
|
110
|
+
ForStatement = 108,
|
111
|
+
IfStatement = 109,
|
112
|
+
ElseIfClauseList = 110,
|
113
|
+
ElseIfClause = 111,
|
114
|
+
ElseClause = 112,
|
115
|
+
InvalidStatement = 113,
|
116
|
+
NestedFunctionDeclarationStatement = 114,
|
117
|
+
LocalVariableDeclarationStatement = 115,
|
118
|
+
LoopStatement = 116,
|
119
|
+
ReturnStatement = 117,
|
120
|
+
CaseClauseList = 118,
|
121
|
+
SwitchStatement = 119,
|
122
|
+
MatchExpressionList = 120,
|
123
|
+
CaseClause = 121,
|
124
|
+
WhileStatement = 122,
|
125
|
+
YieldStatement = 123,
|
126
|
+
TranslationParameterList = 124,
|
127
|
+
TranslationParameterClause = 125,
|
128
|
+
ConstructorTranslation = 126,
|
129
|
+
IndexParameterTranslationClause = 127,
|
130
|
+
IndexerTranslation = 128,
|
131
|
+
TranslationTypeParameterList = 129,
|
132
|
+
TranslationTypeParameterClause = 130,
|
133
|
+
PackageFunctionTranslation = 131,
|
134
|
+
MethodTranslation = 132,
|
135
|
+
FunctionTypeTranslation = 133,
|
136
|
+
PackageImportTranslation = 134,
|
137
|
+
QualifiedName = 135,
|
138
|
+
PackageVariableTranslation = 136,
|
139
|
+
FieldOrVariantTranslation = 137,
|
140
|
+
TypeMemberTranslationList = 138,
|
141
|
+
TypeTranslation = 139,
|
142
|
+
TextLiteralTranslation = 140,
|
143
|
+
TextTemplateLiteralTranslation = 141,
|
144
|
+
VariantDeclaration = 142,
|
145
|
+
TypeParameterDeclaration = 143,
|
146
|
+
ParameterDeclaration = 144,
|
147
|
+
Argument = 145,
|
148
|
+
TagList = 146,
|
149
|
+
Tag = 147,
|
150
|
+
ModifierList = 148,
|
151
|
+
Modifier = 149,
|
152
|
+
ParameterClause = 150,
|
153
|
+
ParameterList = 151,
|
154
|
+
TypeArgumentClause = 152,
|
155
|
+
TypeArgumentList = 153,
|
156
|
+
TypeParameterClause = 154,
|
157
|
+
TypeParameterList = 155,
|
158
|
+
TypeAnnotation = 156
|
160
159
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Node } from './index.js';
|
1
|
+
import { Node, Token } from './index.js';
|
2
2
|
export declare abstract class BaseNode {
|
3
3
|
protected _rangeLength: number;
|
4
4
|
protected abstract thisAsNode: Node;
|
@@ -9,4 +9,6 @@ export declare abstract class BaseNode {
|
|
9
9
|
* Информация для оценки размера дерева при отладке.
|
10
10
|
*/
|
11
11
|
get descendantCount(): number;
|
12
|
+
findLeftmostToken(): Token | undefined;
|
13
|
+
private countDescendants;
|
12
14
|
}
|
@@ -920,7 +920,7 @@ export declare class EnumerationVariableDeclaration extends BaseNode {
|
|
920
920
|
constructor(name: Identifier);
|
921
921
|
toRed(rangeStart: number, parent: red.EnumerationVariableDeclarationParent): red.EnumerationVariableDeclaration;
|
922
922
|
}
|
923
|
-
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | FunctionBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | FunctionLiteral | ParenthesizedExpression |
|
923
|
+
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | FunctionBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | FunctionLiteral | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | GenericSpecializationExpression | DefaultMatchExpression | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression;
|
924
924
|
export type ExpressionListElement = Expression | Comma;
|
925
925
|
export declare class ArrayLiteral extends BaseNode {
|
926
926
|
readonly kind = NodeKind.ArrayLiteral;
|
@@ -1117,24 +1117,6 @@ export declare class ParenthesizedExpression extends BaseNode {
|
|
1117
1117
|
constructor(openParenthesisToken: Token<TokenKind.OpenParenthesis>, expression: Expression, closeParenthesisToken: Token<TokenKind.CloseParenthesis>);
|
1118
1118
|
toRed(rangeStart: number, parent: red.ExpressionParent): red.ParenthesizedExpression;
|
1119
1119
|
}
|
1120
|
-
export declare class WhenTernaryExpression extends BaseNode {
|
1121
|
-
readonly kind = NodeKind.WhenTernaryExpression;
|
1122
|
-
readonly children: readonly [
|
1123
|
-
Expression,
|
1124
|
-
Keyword<KeywordKind.When>,
|
1125
|
-
Expression,
|
1126
|
-
Token<TokenKind.Colon>,
|
1127
|
-
Expression
|
1128
|
-
];
|
1129
|
-
get firstExpression(): Expression;
|
1130
|
-
get whenKeyword(): Keyword<KeywordKind.When>;
|
1131
|
-
get condition(): Expression;
|
1132
|
-
get colonToken(): Token<TokenKind.Colon>;
|
1133
|
-
get secondExpression(): Expression;
|
1134
|
-
protected get thisAsNode(): Node;
|
1135
|
-
constructor(firstExpression: Expression, whenKeyword: Keyword<KeywordKind.When>, condition: Expression, colonToken: Token<TokenKind.Colon>, secondExpression: Expression);
|
1136
|
-
toRed(rangeStart: number, parent: red.ExpressionParent): red.WhenTernaryExpression;
|
1137
|
-
}
|
1138
1120
|
export declare class ConditionalExpression extends BaseNode {
|
1139
1121
|
readonly kind = NodeKind.ConditionalExpression;
|
1140
1122
|
readonly children: readonly [
|
@@ -2122,7 +2104,7 @@ export declare class Modifier extends BaseNode {
|
|
2122
2104
|
toRed(rangeStart: number, parent: red.ModifierParent): red.Modifier;
|
2123
2105
|
}
|
2124
2106
|
export type ModifierKeyword = Keyword<ModifierKeywordKind>;
|
2125
|
-
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.
|
2107
|
+
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.Abstract | KeywordKind.Redefined | KeywordKind.Async | KeywordKind.Const;
|
2126
2108
|
export type ModifierLevelKeyword = Keyword<KeywordKind.InType> | Keyword<KeywordKind.InHierarchy> | Keyword<KeywordKind.InFile> | Keyword<KeywordKind.InPackage>;
|
2127
2109
|
export declare class ParameterClause extends BaseNode {
|
2128
2110
|
readonly kind = NodeKind.ParameterClause;
|
@@ -2205,4 +2187,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2205
2187
|
constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier);
|
2206
2188
|
toRed(rangeStart: number, parent: red.TypeAnnotationParent): red.TypeAnnotation;
|
2207
2189
|
}
|
2208
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | 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 |
|
2190
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | 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 | 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;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Range } from '../../common/index.js';
|
2
2
|
import * as green from '../green/index.js';
|
3
|
-
import { Node } from './index.js';
|
3
|
+
import { Node, Token } from './index.js';
|
4
4
|
export declare abstract class BaseNode {
|
5
5
|
readonly green: green.Node;
|
6
6
|
readonly rangeStart: number;
|
@@ -12,4 +12,5 @@ export declare abstract class BaseNode {
|
|
12
12
|
get debuggerDisplay(): string;
|
13
13
|
get descendantCount(): number;
|
14
14
|
constructor(green: green.Node, rangeStart: number, parent: Node | undefined);
|
15
|
+
findLeftmostToken(): Token | undefined;
|
15
16
|
}
|
@@ -879,8 +879,8 @@ export declare class EnumerationVariableDeclaration extends BaseNode {
|
|
879
879
|
constructor(green: green.EnumerationVariableDeclaration, rangeStart: number, parent: EnumerationVariableDeclarationParent);
|
880
880
|
private createChildren;
|
881
881
|
}
|
882
|
-
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | FunctionBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | FunctionLiteral | ParenthesizedExpression |
|
883
|
-
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | Argument | CallExpression | DisposeStatement | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression |
|
882
|
+
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | FunctionBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | FunctionLiteral | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | GenericSpecializationExpression | DefaultMatchExpression | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression;
|
883
|
+
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | Argument | CallExpression | DisposeStatement | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | LoopStatement | ReturnStatement | TextTemplateSpan | FieldDeclaration | SwitchStatement | VariantDeclaration | WhileStatement | YieldStatement | GenericSpecializationExpression | ElseIfClause | TextTemplateLiteralTranslation | FunctionBlock;
|
884
884
|
export type ExpressionListElement = Expression | Comma;
|
885
885
|
export declare class ArrayLiteral extends BaseNode {
|
886
886
|
readonly kind = NodeKind.ArrayLiteral;
|
@@ -1075,21 +1075,6 @@ export declare class ParenthesizedExpression extends BaseNode {
|
|
1075
1075
|
constructor(green: green.ParenthesizedExpression, rangeStart: number, parent: ExpressionParent);
|
1076
1076
|
private createChildren;
|
1077
1077
|
}
|
1078
|
-
export declare class WhenTernaryExpression extends BaseNode {
|
1079
|
-
readonly kind = NodeKind.WhenTernaryExpression;
|
1080
|
-
readonly green: green.WhenTernaryExpression;
|
1081
|
-
readonly parent: ExpressionParent;
|
1082
|
-
private _children;
|
1083
|
-
get children(): readonly [Expression, Keyword<green.KeywordKind.When>, Expression, Token<green.TokenKind.Colon>, Expression];
|
1084
|
-
get firstExpression(): Expression;
|
1085
|
-
get whenKeyword(): Keyword<KeywordKind.When>;
|
1086
|
-
get condition(): Expression;
|
1087
|
-
get colonToken(): Token<TokenKind.Colon>;
|
1088
|
-
get secondExpression(): Expression;
|
1089
|
-
protected get thisAsNode(): Node;
|
1090
|
-
constructor(green: green.WhenTernaryExpression, rangeStart: number, parent: ExpressionParent);
|
1091
|
-
private createChildren;
|
1092
|
-
}
|
1093
1078
|
export declare class ConditionalExpression extends BaseNode {
|
1094
1079
|
readonly kind = NodeKind.ConditionalExpression;
|
1095
1080
|
readonly green: green.ConditionalExpression;
|
@@ -2100,7 +2085,7 @@ export declare class Modifier extends BaseNode {
|
|
2100
2085
|
private createChildren;
|
2101
2086
|
}
|
2102
2087
|
export type ModifierKeyword = Keyword<ModifierKeywordKind>;
|
2103
|
-
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.
|
2088
|
+
export type ModifierKeywordKind = KeywordKind.Hidden | KeywordKind.Basic | KeywordKind.Static | KeywordKind.Abstract | KeywordKind.Redefined | KeywordKind.Async | KeywordKind.Const;
|
2104
2089
|
export type ModifierLevelKeyword = Keyword<KeywordKind.InType> | Keyword<KeywordKind.InHierarchy> | Keyword<KeywordKind.InFile> | Keyword<KeywordKind.InPackage>;
|
2105
2090
|
export type ParameterClauseParent = PackageFunctionDeclaration | NestedFunctionDeclaration | FunctionLiteral | ConstructorDeclaration | DestructorDeclaration | MethodDeclaration | OperatorDeclaration | FunctionTypeDeclarationBody;
|
2106
2091
|
export declare class ParameterClause extends BaseNode {
|
@@ -2199,4 +2184,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2199
2184
|
constructor(green: green.TypeAnnotation, rangeStart: number, parent: TypeAnnotationParent);
|
2200
2185
|
private createChildren;
|
2201
2186
|
}
|
2202
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | 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 |
|
2187
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | 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 | 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;
|
@@ -310,8 +310,8 @@ export declare class TsPropertyEntity implements FieldEntity {
|
|
310
310
|
getTags(): readonly Tag[];
|
311
311
|
getContainer(): TypeMemberEntityContainer;
|
312
312
|
isStatic(): boolean;
|
313
|
-
|
314
|
-
|
313
|
+
isBasic(): boolean;
|
314
|
+
isOverridden(): boolean;
|
315
315
|
isAbstract(): boolean;
|
316
316
|
getOverriddenMembers(): readonly types.Variable[];
|
317
317
|
isVariant(): boolean;
|
@@ -340,8 +340,8 @@ export declare class TsAccessorEntity implements FieldEntity {
|
|
340
340
|
getTags(): readonly Tag[];
|
341
341
|
getContainer(): TypeMemberEntityContainer;
|
342
342
|
isStatic(): boolean;
|
343
|
-
|
344
|
-
|
343
|
+
isBasic(): boolean;
|
344
|
+
isOverridden(): boolean;
|
345
345
|
isAbstract(): boolean;
|
346
346
|
getOverriddenMembers(): readonly types.Variable[];
|
347
347
|
isVariant(): boolean;
|
@@ -395,8 +395,8 @@ export declare class TsFunctionEntity implements MethodEntity {
|
|
395
395
|
getDefinition(): FunctionEntityDefinition;
|
396
396
|
getContainer(): TypeMemberEntityContainer;
|
397
397
|
isStatic(): boolean;
|
398
|
-
|
399
|
-
|
398
|
+
isBasic(): boolean;
|
399
|
+
isOverridden(): boolean;
|
400
400
|
isAbstract(): boolean;
|
401
401
|
isModifyingOwningPlainObject(): boolean;
|
402
402
|
isAsync(): boolean;
|
@@ -423,8 +423,8 @@ export declare class TsIteratorFunctionEntity implements MethodEntity {
|
|
423
423
|
getDefinition(): FunctionEntityDefinition;
|
424
424
|
getContainer(): TypeMemberEntityContainer;
|
425
425
|
isStatic(): boolean;
|
426
|
-
|
427
|
-
|
426
|
+
isBasic(): boolean;
|
427
|
+
isOverridden(): boolean;
|
428
428
|
isAbstract(): boolean;
|
429
429
|
isModifyingOwningPlainObject(): boolean;
|
430
430
|
isAsync(): boolean;
|
@@ -499,8 +499,8 @@ export declare class TsIndexSignatureEntity implements IndexerEntity {
|
|
499
499
|
getContainer(): TypeMemberEntityContainer;
|
500
500
|
isStatic(): boolean;
|
501
501
|
isHidden(): EntityHidingLevel | undefined;
|
502
|
-
|
503
|
-
|
502
|
+
isBasic(): boolean;
|
503
|
+
isOverridden(): boolean;
|
504
504
|
isAbstract(): boolean;
|
505
505
|
getTags(): readonly Tag[];
|
506
506
|
getOverriddenMembers(): readonly types.Indexer[];
|
@@ -571,8 +571,8 @@ export declare class TsEnumMemberEntity implements FieldEntity {
|
|
571
571
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _variantTypeEntity: VariantTypeEntity);
|
572
572
|
getContainer(): TypeMemberEntityContainer;
|
573
573
|
isStatic(): boolean;
|
574
|
-
|
575
|
-
|
574
|
+
isBasic(): boolean;
|
575
|
+
isOverridden(): boolean;
|
576
576
|
isAbstract(): boolean;
|
577
577
|
getOverriddenMembers(): readonly types.Variable[];
|
578
578
|
isVariant(): boolean;
|