@artel/artc 0.6.25215 → 0.6.25217
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 +23 -9
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +381 -339
- package/build/{chunk-TT3Q66WU.js → chunk-CMPXXHBQ.js} +3 -3
- package/build/{chunk-GEFYL4SZ.js → chunk-HN3XZZQX.js} +3 -3
- package/build/{chunk-DZ66PBHU.js → chunk-TXAEJ2GI.js} +3397 -2484
- package/build/types/analysis/Analyzer.d.ts +163 -159
- package/build/types/analysis/CallArgumentToParameterMatchResult.d.ts +3 -4
- package/build/types/analysis/DiagnosticCollector.d.ts +1 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +12 -7
- package/build/types/analysis/SourceFileMembers.d.ts +11 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +107 -103
- package/build/types/emitter/EmitterContext.d.ts +9 -0
- package/build/types/emitter/Entities.d.ts +8 -2
- package/build/types/emitter/IrToJs.d.ts +0 -1
- package/build/types/emitter/Transformer.d.ts +2 -3
- package/build/types/emitter/ir/LoweringOptions.d.ts +3 -1
- package/build/types/emitter/ir/LoweringState.d.ts +24 -0
- package/build/types/emitter/ir/Nodes.d.ts +74 -85
- package/build/types/emitter/ir/types.d.ts +3 -2
- package/build/types/entities/AliasTypeEntity.d.ts +1 -1
- package/build/types/entities/DereferenceOperatorEntity.d.ts +7 -0
- package/build/types/entities/IndexerEntity.d.ts +7 -0
- package/build/types/entities/MethodTypeEntity.d.ts +9 -1
- package/build/types/entities/StructuredTypeEntity.d.ts +11 -3
- package/build/types/entities/TypeParameterEntity.d.ts +1 -1
- package/build/types/entities/VariantTypeEntity.d.ts +9 -1
- package/build/types/parser/Scanner.d.ts +0 -6
- package/build/types/parser/UnescapeText.d.ts +1 -1
- package/build/types/services/DisplayService.d.ts +201 -162
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +1 -3
- package/build/types/services/workspace/CompilationController.d.ts +23 -1
- package/build/types/services/workspace/Workspace.d.ts +1 -0
- package/build/types/tree/NodeKind.d.ts +85 -86
- package/build/types/tree/green/Nodes.d.ts +4 -13
- package/build/types/tree/red/Nodes.d.ts +5 -19
- package/build/types/ts-interop/Entities.d.ts +28 -8
- package/build/types/types/MethodType.d.ts +2 -2
- package/build/types/types/VariantType.d.ts +2 -2
- package/package.json +1 -1
@@ -6,13 +6,11 @@ import { MethodEntity, ParameterVariableEntity } from '../../entities/index.js';
|
|
6
6
|
import * as tree from '../../tree/index.js';
|
7
7
|
import * as types from '../../types/index.js';
|
8
8
|
export declare class ValueArgumentFactory {
|
9
|
-
private static createValueArgumentFromCallArgument;
|
10
|
-
private static createValueArgumentFromIndexerArgument;
|
11
9
|
static createValueArgumentsOfCallExpression(node: tree.CallExpression): ValueArgument[];
|
12
10
|
static createValueArgumentsOfAutotypeCallExpression(node: tree.AutotypeCallExpression): ValueArgument[];
|
13
11
|
static createValueArgumentsOfIndexedAccessExpression(node: tree.IndexedAccessExpression): ValueArgument[];
|
14
12
|
static createValueArgumentsOfTag(node: tree.Tag): ValueArgument[];
|
15
|
-
private static
|
13
|
+
private static createValueArgumentsFromList;
|
16
14
|
}
|
17
15
|
export declare class SignatureForNode {
|
18
16
|
static getSignaturesForNode(analyzer: Analyzer, node: NodeWithValueArguments): SignaturesWithSingleSuitable | undefined;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Indicator, ObservableObject } from 'reactronic';
|
2
|
-
import { Analyzer } from '../../analysis/index.js';
|
2
|
+
import { Analyzer, TsInteropInputs } from '../../analysis/index.js';
|
3
3
|
import { CancellationToken, Uri } from '../../common/index.js';
|
4
4
|
import { Diagnostic } from '../../diagnostic/Diagnostic.js';
|
5
5
|
import { ConvertedConfiguration, ProgramPackageConfiguration, SourceFile, fsTree } from '../../project/index.js';
|
@@ -23,6 +23,7 @@ export declare class CompilationController extends ObservableObject {
|
|
23
23
|
private _packageConfigurationsVersion;
|
24
24
|
private _packageConfigurationsVersionDuringCompilationLoad;
|
25
25
|
private _tsInteropInputs;
|
26
|
+
private _tsInteropInputsKey;
|
26
27
|
private _tsProgramLoaderInputs;
|
27
28
|
private _state;
|
28
29
|
private _configurationsOfPackagesOutsideProject;
|
@@ -61,6 +62,7 @@ export interface CompilationControllerConfig {
|
|
61
62
|
readonly showErrorMessage?: (message: string) => Promise<void>;
|
62
63
|
readonly builtInStandardPackagesUri?: Uri;
|
63
64
|
readonly additionalPackageContents?: readonly PackageContent[];
|
65
|
+
readonly tsInteropInputsCache?: TsInteropInputsCache;
|
64
66
|
}
|
65
67
|
export declare enum CompilationControllerState {
|
66
68
|
Created = 0,
|
@@ -69,6 +71,13 @@ export declare enum CompilationControllerState {
|
|
69
71
|
LoadedMainCompilation = 3,
|
70
72
|
ErrorsCreatingAnalyzer = 4
|
71
73
|
}
|
74
|
+
declare class TsProgramLoaderInputs {
|
75
|
+
readonly orderedStandardLibraryNames: readonly string[];
|
76
|
+
readonly orderedPackageNames: readonly string[];
|
77
|
+
readonly orderedModuleNames: readonly string[];
|
78
|
+
readonly tsProjectUri: Uri;
|
79
|
+
constructor(orderedStandardLibraryNames: readonly string[], orderedPackageNames: readonly string[], orderedModuleNames: readonly string[], tsProjectUri: Uri);
|
80
|
+
}
|
72
81
|
export type DiagnosticsCollectedInBackgroundHandler = (sourceFile: SourceFile, trackedVersion: number | undefined, diagnostics: readonly Diagnostic[], compilationVersion: number, controller: CompilationController) => Promise<void>;
|
73
82
|
export type RawPackageConfigurationsChangedHandler = (configurations: readonly ChangedPackageConfiguration[]) => Promise<void>;
|
74
83
|
export declare class ChangedPackageConfiguration {
|
@@ -108,4 +117,17 @@ declare class ConfigurationController extends ObservableObject {
|
|
108
117
|
protected updateJsonConfigurationFile(): void;
|
109
118
|
protected processConfiguration(): Promise<void>;
|
110
119
|
}
|
120
|
+
export declare class TsInteropInputsCache {
|
121
|
+
private readonly _inputsByKey;
|
122
|
+
getTsInteropInputs(tsProgramLoaderInputs: TsProgramLoaderInputs, librariesProvider: TypeScriptLibrariesProvider): {
|
123
|
+
inputs: TsInteropInputs;
|
124
|
+
key: string;
|
125
|
+
} | undefined;
|
126
|
+
getOrAddTsInteropInputs(tsProgramLoaderInputs: TsProgramLoaderInputs, librariesProvider: TypeScriptLibrariesProvider, inputs: TsInteropInputs): {
|
127
|
+
inputs: TsInteropInputs;
|
128
|
+
key: string;
|
129
|
+
};
|
130
|
+
removeTsInteropInputs(key: string): void;
|
131
|
+
private createKey;
|
132
|
+
}
|
111
133
|
export {};
|
@@ -16,6 +16,7 @@ export declare class Workspace extends ObservableObject {
|
|
16
16
|
private _atLeastOneFileOfCompilationHasBeenOpened;
|
17
17
|
private readonly _files;
|
18
18
|
private _standardPackageContents;
|
19
|
+
private readonly _tsInteropInputsCache;
|
19
20
|
get compilationControllers(): readonly CompilationController[];
|
20
21
|
get trackedSourceFiles(): ReadonlyClientTrackedSourceFiles;
|
21
22
|
get loadedWorkspaceFolderByUri(): ObservableMap<string, fsTree.Directory>;
|
@@ -70,90 +70,89 @@ export declare enum NodeKind {
|
|
70
70
|
CallArgumentList = 68,
|
71
71
|
CallExpression = 69,
|
72
72
|
AutotypeCallExpression = 70,
|
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
|
-
|
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
|
-
TypeAnnotation = 156
|
73
|
+
IndexedAccessExpression = 71,
|
74
|
+
InvalidExpression = 72,
|
75
|
+
IsExpression = 73,
|
76
|
+
MethodLiteral = 74,
|
77
|
+
ParenthesizedExpression = 75,
|
78
|
+
WhenTernaryExpression = 76,
|
79
|
+
PrefixUnaryExpression = 77,
|
80
|
+
PropertyAccessExpression = 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
|
+
BreakLoopStatement = 94,
|
97
|
+
ContinueLoopStatement = 95,
|
98
|
+
DisposeStatement = 96,
|
99
|
+
RunStatementClauseList = 97,
|
100
|
+
RunStatement = 98,
|
101
|
+
OnErrorClause = 99,
|
102
|
+
ErrorVariableDeclaration = 100,
|
103
|
+
FinallyClause = 101,
|
104
|
+
EmptyStatement = 102,
|
105
|
+
ErrorStatement = 103,
|
106
|
+
ExpressionStatement = 104,
|
107
|
+
EnumerationVariableList = 105,
|
108
|
+
ForStatement = 106,
|
109
|
+
IfStatement = 107,
|
110
|
+
ElseIfClauseList = 108,
|
111
|
+
ElseIfClause = 109,
|
112
|
+
InvalidStatement = 110,
|
113
|
+
NestedMethodDeclarationStatement = 111,
|
114
|
+
LocalVariableDeclarationStatement = 112,
|
115
|
+
LoopStatement = 113,
|
116
|
+
ReturnStatement = 114,
|
117
|
+
CaseClauseList = 115,
|
118
|
+
SwitchStatement = 116,
|
119
|
+
MatchExpressionList = 117,
|
120
|
+
SwitchStatementCaseClause = 118,
|
121
|
+
WhileStatement = 119,
|
122
|
+
YieldStatement = 120,
|
123
|
+
TranslationParameterList = 121,
|
124
|
+
TranslationParameterClause = 122,
|
125
|
+
ConstructorTranslation = 123,
|
126
|
+
IndexerTranslationParameterClause = 124,
|
127
|
+
IndexerTranslation = 125,
|
128
|
+
TranslationTypeParameterList = 126,
|
129
|
+
TranslationTypeParameterClause = 127,
|
130
|
+
PackageMethodTranslation = 128,
|
131
|
+
TypeMethodTranslation = 129,
|
132
|
+
MethodTypeTranslation = 130,
|
133
|
+
PackageImportTranslation = 131,
|
134
|
+
QualifiedName = 132,
|
135
|
+
PackageVariableTranslation = 133,
|
136
|
+
TypeVariableOrVariantTranslation = 134,
|
137
|
+
TypeMemberTranslationList = 135,
|
138
|
+
TypeTranslation = 136,
|
139
|
+
TextLiteralTranslation = 137,
|
140
|
+
TextTemplateLiteralTranslation = 138,
|
141
|
+
VariantDeclaration = 139,
|
142
|
+
TypeParameterDeclaration = 140,
|
143
|
+
ParameterDeclaration = 141,
|
144
|
+
CallArgument = 142,
|
145
|
+
TagList = 143,
|
146
|
+
Tag = 144,
|
147
|
+
ModifierList = 145,
|
148
|
+
Modifier = 146,
|
149
|
+
ParameterClause = 147,
|
150
|
+
ParameterList = 148,
|
151
|
+
SetterParameterClause = 149,
|
152
|
+
SetterParameterDeclaration = 150,
|
153
|
+
TypeArgumentClause = 151,
|
154
|
+
TypeArgumentList = 152,
|
155
|
+
TypeParameterClause = 153,
|
156
|
+
TypeParameterList = 154,
|
157
|
+
TypeAnnotation = 155
|
159
158
|
}
|
@@ -1056,29 +1056,20 @@ export declare class AutotypeCallExpression extends BaseNode {
|
|
1056
1056
|
constructor(autotypeKeyword: Keyword<KeywordKind.Autotype>, openParenthesisToken: Token<TokenKind.OpenParenthesis>, callArgumentList: CallArgumentList, closeParenthesisToken: Token<TokenKind.CloseParenthesis>);
|
1057
1057
|
toRed(rangeStart: number, parent: red.ExpressionParent): red.AutotypeCallExpression;
|
1058
1058
|
}
|
1059
|
-
export type IndexedAccessArgumentListElement = Expression | Comma;
|
1060
|
-
export declare class IndexedAccessArgumentList extends BaseNode {
|
1061
|
-
readonly kind = NodeKind.IndexedAccessArgumentList;
|
1062
|
-
readonly children: readonly IndexedAccessArgumentListElement[];
|
1063
|
-
get elements(): readonly IndexedAccessArgumentListElement[];
|
1064
|
-
protected get thisAsNode(): Node;
|
1065
|
-
constructor(elements: readonly IndexedAccessArgumentListElement[]);
|
1066
|
-
toRed(rangeStart: number, parent: red.IndexedAccessArgumentListParent): red.IndexedAccessArgumentList;
|
1067
|
-
}
|
1068
1059
|
export declare class IndexedAccessExpression extends BaseNode {
|
1069
1060
|
readonly kind = NodeKind.IndexedAccessExpression;
|
1070
1061
|
readonly children: readonly [
|
1071
1062
|
Expression,
|
1072
1063
|
Token<TokenKind.OpenSquareBracket>,
|
1073
|
-
|
1064
|
+
CallArgumentList,
|
1074
1065
|
Token<TokenKind.CloseSquareBracket>
|
1075
1066
|
];
|
1076
1067
|
get expression(): Expression;
|
1077
1068
|
get openSquareBracketToken(): Token<TokenKind.OpenSquareBracket>;
|
1078
|
-
get argumentsList():
|
1069
|
+
get argumentsList(): CallArgumentList;
|
1079
1070
|
get closeSquareBracketToken(): Token<TokenKind.CloseSquareBracket>;
|
1080
1071
|
protected get thisAsNode(): Node;
|
1081
|
-
constructor(expression: Expression, openSquareBracketToken: Token<TokenKind.OpenSquareBracket>, argumentsList:
|
1072
|
+
constructor(expression: Expression, openSquareBracketToken: Token<TokenKind.OpenSquareBracket>, argumentsList: CallArgumentList, closeSquareBracketToken: Token<TokenKind.CloseSquareBracket>);
|
1082
1073
|
toRed(rangeStart: number, parent: red.ExpressionParent): red.IndexedAccessExpression;
|
1083
1074
|
}
|
1084
1075
|
export declare class InvalidExpression extends BaseNode {
|
@@ -2183,4 +2174,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2183
2174
|
constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier);
|
2184
2175
|
toRed(rangeStart: number, parent: red.TypeAnnotationParent): red.TypeAnnotation;
|
2185
2176
|
}
|
2186
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | CallArgumentList | CallExpression | AutotypeCallExpression |
|
2177
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | CallArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatementClauseList | RunStatement | OnErrorClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | InvalidStatement | NestedMethodDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | SwitchStatementCaseClause | WhileStatement | YieldStatement | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexerTranslationParameterClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageMethodTranslation | TypeMethodTranslation | MethodTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | TypeVariableOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | CallArgument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | SetterParameterClause | SetterParameterDeclaration | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|
@@ -882,7 +882,7 @@ export declare class EnumerationVariableDeclaration extends BaseNode {
|
|
882
882
|
private createChildren;
|
883
883
|
}
|
884
884
|
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | MethodBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | GenericSpecializationExpression | DefaultMatchExpression | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression;
|
885
|
-
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | CallArgument | CallExpression | DisposeStatement | ErrorStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement |
|
885
|
+
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | CallArgument | CallExpression | DisposeStatement | ErrorStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | LoopStatement | ReturnStatement | TextTemplateSpan | TypeVariableDeclaration | SwitchStatement | VariantDeclaration | WhileStatement | YieldStatement | GenericSpecializationExpression | ElseIfClause | TextTemplateLiteralTranslation;
|
886
886
|
export declare class ArrayLiteral extends BaseNode {
|
887
887
|
readonly kind = NodeKind.ArrayLiteral;
|
888
888
|
readonly green: green.ArrayLiteral;
|
@@ -973,7 +973,7 @@ export declare class MethodBlockLiteral extends BaseNode {
|
|
973
973
|
private createChildren;
|
974
974
|
}
|
975
975
|
export type CallArgumentListElement = CallArgument | Comma;
|
976
|
-
export type CallArgumentListParent = CallExpression | AutotypeCallExpression | Tag;
|
976
|
+
export type CallArgumentListParent = CallExpression | AutotypeCallExpression | Tag | IndexedAccessExpression;
|
977
977
|
export declare class CallArgumentList extends BaseNode {
|
978
978
|
readonly kind = NodeKind.CallArgumentList;
|
979
979
|
readonly green: green.CallArgumentList;
|
@@ -1014,29 +1014,15 @@ export declare class AutotypeCallExpression extends BaseNode {
|
|
1014
1014
|
constructor(green: green.AutotypeCallExpression, rangeStart: number, parent: ExpressionParent);
|
1015
1015
|
private createChildren;
|
1016
1016
|
}
|
1017
|
-
export type IndexedAccessArgumentListElement = Expression | Comma;
|
1018
|
-
export type IndexedAccessArgumentListParent = IndexedAccessExpression;
|
1019
|
-
export declare class IndexedAccessArgumentList extends BaseNode {
|
1020
|
-
readonly kind = NodeKind.IndexedAccessArgumentList;
|
1021
|
-
readonly green: green.IndexedAccessArgumentList;
|
1022
|
-
readonly parent: IndexedAccessArgumentListParent;
|
1023
|
-
private _children;
|
1024
|
-
get children(): readonly IndexedAccessArgumentListElement[];
|
1025
|
-
get elements(): readonly IndexedAccessArgumentListElement[];
|
1026
|
-
get arguments(): Query<Expression>;
|
1027
|
-
protected get thisAsNode(): Node;
|
1028
|
-
constructor(green: green.IndexedAccessArgumentList, rangeStart: number, parent: IndexedAccessArgumentListParent);
|
1029
|
-
private createChildren;
|
1030
|
-
}
|
1031
1017
|
export declare class IndexedAccessExpression extends BaseNode {
|
1032
1018
|
readonly kind = NodeKind.IndexedAccessExpression;
|
1033
1019
|
readonly green: green.IndexedAccessExpression;
|
1034
1020
|
readonly parent: ExpressionParent;
|
1035
1021
|
private _children;
|
1036
|
-
get children(): readonly [Expression, Token<green.TokenKind.OpenSquareBracket>,
|
1022
|
+
get children(): readonly [Expression, Token<green.TokenKind.OpenSquareBracket>, CallArgumentList, Token<green.TokenKind.CloseSquareBracket>];
|
1037
1023
|
get expression(): Expression;
|
1038
1024
|
get openSquareBracketToken(): Token<TokenKind.OpenSquareBracket>;
|
1039
|
-
get argumentsList():
|
1025
|
+
get argumentsList(): CallArgumentList;
|
1040
1026
|
get closeSquareBracketToken(): Token<TokenKind.CloseSquareBracket>;
|
1041
1027
|
protected get thisAsNode(): Node;
|
1042
1028
|
constructor(green: green.IndexedAccessExpression, rangeStart: number, parent: ExpressionParent);
|
@@ -2186,4 +2172,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2186
2172
|
constructor(green: green.TypeAnnotation, rangeStart: number, parent: TypeAnnotationParent);
|
2187
2173
|
private createChildren;
|
2188
2174
|
}
|
2189
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | CallArgumentList | CallExpression | AutotypeCallExpression |
|
2175
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | CallArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatementClauseList | RunStatement | OnErrorClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | InvalidStatement | NestedMethodDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | SwitchStatementCaseClause | WhileStatement | YieldStatement | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexerTranslationParameterClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageMethodTranslation | TypeMethodTranslation | MethodTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | TypeVariableOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | CallArgument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | SetterParameterClause | SetterParameterDeclaration | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|
@@ -59,7 +59,6 @@ export declare class TsGlobalVariableEntity implements PackageVariableEntity {
|
|
59
59
|
readonly kind = EntityKind.Variable;
|
60
60
|
readonly subkind = "package";
|
61
61
|
private readonly _type;
|
62
|
-
private get declaration();
|
63
62
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _isDefaultExport: boolean, _containingPackage: PackageEntity, _forceHiddenInPackage: boolean);
|
64
63
|
getName(): Name;
|
65
64
|
getContainingPackage(): PackageEntity;
|
@@ -71,6 +70,7 @@ export declare class TsGlobalVariableEntity implements PackageVariableEntity {
|
|
71
70
|
isHidden(): EntityHidingLevel | undefined;
|
72
71
|
isSpecial(): SpecialVariableEntityInfo | undefined;
|
73
72
|
getTags(): readonly Tag[];
|
73
|
+
private getDeclaration;
|
74
74
|
}
|
75
75
|
export declare class TsGlobalFunctionEntity implements PackageMethodEntity {
|
76
76
|
private readonly _tsctx;
|
@@ -148,7 +148,6 @@ export declare class TsGlobalClassOrInterfaceEntity implements PackageStructured
|
|
148
148
|
private readonly _members;
|
149
149
|
private readonly _baseObjectType;
|
150
150
|
private readonly _baseAspectTypes;
|
151
|
-
private get declaration();
|
152
151
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _isDefaultExport: boolean, _containingPackage: PackageEntity, _forceHiddenInPackage: boolean);
|
153
152
|
getNaming(): EntityNaming;
|
154
153
|
getName(): Name;
|
@@ -156,6 +155,8 @@ export declare class TsGlobalClassOrInterfaceEntity implements PackageStructured
|
|
156
155
|
getTypeParameters(): readonly TypeParameterEntity[];
|
157
156
|
getMembers(): OriginalTypeEntityMembers;
|
158
157
|
getDefinition(): StructuredTypeEntityDefinition;
|
158
|
+
isBasic(): boolean;
|
159
|
+
isAbstract(): boolean;
|
159
160
|
isAspect(): boolean;
|
160
161
|
isRefObject(): boolean;
|
161
162
|
isPlainObject(): boolean;
|
@@ -165,6 +166,7 @@ export declare class TsGlobalClassOrInterfaceEntity implements PackageStructured
|
|
165
166
|
isHidden(): EntityHidingLevel | undefined;
|
166
167
|
getTags(): readonly Tag[];
|
167
168
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
169
|
+
private getDeclaration;
|
168
170
|
private isClassOrInterfaceAndVariableMerge;
|
169
171
|
}
|
170
172
|
export declare class SourceAndTsGlobalClassOrInterfaceMergeEntity implements PackageStructuredTypeEntity {
|
@@ -183,6 +185,8 @@ export declare class SourceAndTsGlobalClassOrInterfaceMergeEntity implements Pac
|
|
183
185
|
getTypeParameters(): readonly TypeParameterEntity[];
|
184
186
|
getMembers(): OriginalTypeEntityMembers;
|
185
187
|
getDefinition(): StructuredTypeEntityDefinition;
|
188
|
+
isBasic(): boolean;
|
189
|
+
isAbstract(): boolean;
|
186
190
|
isAspect(): boolean;
|
187
191
|
isRefObject(): boolean;
|
188
192
|
isPlainObject(): boolean;
|
@@ -207,6 +211,8 @@ export declare class TsTypeLiteralEntity implements AnonymousStructuredTypeEntit
|
|
207
211
|
getTypeParameters(): readonly TypeParameterEntity[];
|
208
212
|
getMembers(): OriginalTypeEntityMembers;
|
209
213
|
getDefinition(): StructuredTypeEntityDefinition;
|
214
|
+
isBasic(): boolean;
|
215
|
+
isAbstract(): boolean;
|
210
216
|
isAspect(): boolean;
|
211
217
|
isRefObject(): boolean;
|
212
218
|
isPlainObject(): boolean;
|
@@ -239,6 +245,8 @@ export declare class TsNamedTypeLiteralEntity implements PackageStructuredTypeEn
|
|
239
245
|
getTypeParameters(): readonly TypeParameterEntity[];
|
240
246
|
getMembers(): OriginalTypeEntityMembers;
|
241
247
|
getDefinition(): StructuredTypeEntityDefinition;
|
248
|
+
isBasic(): boolean;
|
249
|
+
isAbstract(): boolean;
|
242
250
|
isAspect(): boolean;
|
243
251
|
isRefObject(): boolean;
|
244
252
|
isPlainObject(): boolean;
|
@@ -265,6 +273,8 @@ export declare class SourceAndTsNamedTypeLiteralMergeEntity implements PackageSt
|
|
265
273
|
getTypeParameters(): readonly TypeParameterEntity[];
|
266
274
|
getMembers(): OriginalTypeEntityMembers;
|
267
275
|
getDefinition(): StructuredTypeEntityDefinition;
|
276
|
+
isBasic(): boolean;
|
277
|
+
isAbstract(): boolean;
|
268
278
|
isAspect(): boolean;
|
269
279
|
isRefObject(): boolean;
|
270
280
|
isPlainObject(): boolean;
|
@@ -284,7 +294,6 @@ export declare class TsPropertyEntity implements TypeVariableEntity {
|
|
284
294
|
readonly subkind = "type";
|
285
295
|
private readonly _type;
|
286
296
|
private readonly _overriddenMember;
|
287
|
-
private get declaration();
|
288
297
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _containingType: TypeEntityWithMembers, _forceStatic: boolean);
|
289
298
|
getName(): Name;
|
290
299
|
getType(): types.Type;
|
@@ -301,6 +310,7 @@ export declare class TsPropertyEntity implements TypeVariableEntity {
|
|
301
310
|
isRedefined(): boolean;
|
302
311
|
isAbstract(): boolean;
|
303
312
|
getOverriddenMember(): types.Variable | undefined;
|
313
|
+
private getDeclaration;
|
304
314
|
}
|
305
315
|
export declare class TsAccessorEntity implements TypeVariableEntity {
|
306
316
|
private readonly _tsctx;
|
@@ -313,7 +323,6 @@ export declare class TsAccessorEntity implements TypeVariableEntity {
|
|
313
323
|
private readonly _getter;
|
314
324
|
private readonly _setter;
|
315
325
|
private readonly _overriddenMember;
|
316
|
-
private get getAccessorDeclaration();
|
317
326
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _containingType: TypeEntityWithMembers, _forceStatic: boolean);
|
318
327
|
getName(): Name;
|
319
328
|
getType(): types.Type;
|
@@ -330,6 +339,7 @@ export declare class TsAccessorEntity implements TypeVariableEntity {
|
|
330
339
|
isRedefined(): boolean;
|
331
340
|
isAbstract(): boolean;
|
332
341
|
getOverriddenMember(): types.Variable | undefined;
|
342
|
+
private getGetAccessorDeclaration;
|
333
343
|
}
|
334
344
|
export declare class TsGetAccessorEntity implements GetterEntity {
|
335
345
|
private readonly _tsctx;
|
@@ -399,7 +409,6 @@ export declare class TsIteratorMethodEntity implements TypeMethodEntity {
|
|
399
409
|
readonly subkind = "type";
|
400
410
|
private readonly _returnType;
|
401
411
|
private readonly _overriddenMethod;
|
402
|
-
private get firstDeclaration();
|
403
412
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _containingType: TypeEntityWithMembers);
|
404
413
|
getName(): Name;
|
405
414
|
getTypeParameters(): readonly TypeParameterEntity[];
|
@@ -419,6 +428,7 @@ export declare class TsIteratorMethodEntity implements TypeMethodEntity {
|
|
419
428
|
isMethodTypeInvokeMethod(): boolean;
|
420
429
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
421
430
|
getOverriddenMember(): types.Method | undefined;
|
431
|
+
private getFirstDeclaration;
|
422
432
|
}
|
423
433
|
export declare class TsParameterEntity implements ParameterVariableEntity {
|
424
434
|
private readonly _tsctx;
|
@@ -427,7 +437,6 @@ export declare class TsParameterEntity implements ParameterVariableEntity {
|
|
427
437
|
readonly kind = EntityKind.Variable;
|
428
438
|
readonly subkind = "parameter";
|
429
439
|
private readonly _type;
|
430
|
-
private get declaration();
|
431
440
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _containingEntity: EntityContainingValueParameter);
|
432
441
|
getName(): Name;
|
433
442
|
getType(): types.Type;
|
@@ -441,6 +450,7 @@ export declare class TsParameterEntity implements ParameterVariableEntity {
|
|
441
450
|
getContainer(): ParameterVariableEntityContainer;
|
442
451
|
isOptional(): boolean;
|
443
452
|
isVariadic(): boolean;
|
453
|
+
private getDeclaration;
|
444
454
|
}
|
445
455
|
export declare class TsTypeParameterEntity implements TypeParameterEntity {
|
446
456
|
private readonly _tsctx;
|
@@ -449,7 +459,6 @@ export declare class TsTypeParameterEntity implements TypeParameterEntity {
|
|
449
459
|
readonly kind = EntityKind.TypeParameter;
|
450
460
|
private readonly _constraint;
|
451
461
|
private readonly _defaultType;
|
452
|
-
get declaration(): ts.TypeParameterDeclaration | undefined;
|
453
462
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _containingEntity: EntityContainingTypeParameter);
|
454
463
|
getName(): Name;
|
455
464
|
getConstraint(): TypeParameterConstraint;
|
@@ -459,6 +468,7 @@ export declare class TsTypeParameterEntity implements TypeParameterEntity {
|
|
459
468
|
getTypeParameters(): readonly TypeParameterEntity[];
|
460
469
|
getContainingEntity(): EntityContainingTypeParameter;
|
461
470
|
isHidden(): EntityHidingLevel | undefined;
|
471
|
+
private getDeclaration;
|
462
472
|
}
|
463
473
|
export declare class TsIndexSignatureEntity implements IndexerEntity {
|
464
474
|
private readonly _tsctx;
|
@@ -471,6 +481,7 @@ export declare class TsIndexSignatureEntity implements IndexerEntity {
|
|
471
481
|
private readonly _type;
|
472
482
|
private readonly _getter;
|
473
483
|
private readonly _setter;
|
484
|
+
private readonly _overriddenMember;
|
474
485
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _declaration: ts.IndexSignatureDeclaration, _containingType: TypeEntityWithMembers, _forceStatic: boolean);
|
475
486
|
getValueParameters(): readonly ParameterVariableEntity[];
|
476
487
|
getType(): types.Type;
|
@@ -480,8 +491,11 @@ export declare class TsIndexSignatureEntity implements IndexerEntity {
|
|
480
491
|
getContainer(): TypeMemberEntityContainer;
|
481
492
|
isStatic(): boolean;
|
482
493
|
isHidden(): EntityHidingLevel | undefined;
|
494
|
+
isRedefinable(): boolean;
|
495
|
+
isRedefined(): boolean;
|
483
496
|
isAbstract(): boolean;
|
484
497
|
getTags(): readonly Tag[];
|
498
|
+
getOverriddenMember(): types.Indexer | undefined;
|
485
499
|
}
|
486
500
|
export declare class TsConstructorEntity implements ConstructorEntity {
|
487
501
|
private readonly _tsctx;
|
@@ -524,6 +538,7 @@ export declare class TsEnumEntity implements PackageVariantTypeEntity {
|
|
524
538
|
private readonly _variants;
|
525
539
|
private readonly _members;
|
526
540
|
private readonly _underlyingType;
|
541
|
+
private readonly _baseObjectType;
|
527
542
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _isDefaultExport: boolean, _containingPackage: PackageEntity);
|
528
543
|
getNaming(): EntityNaming;
|
529
544
|
getName(): Name;
|
@@ -537,6 +552,7 @@ export declare class TsEnumEntity implements PackageVariantTypeEntity {
|
|
537
552
|
isHidden(): EntityHidingLevel | undefined;
|
538
553
|
getTags(): readonly Tag[];
|
539
554
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
555
|
+
getBaseObjectType(): BaseObjectType;
|
540
556
|
}
|
541
557
|
export declare class TsEnumMemberEntity implements VariantEntity {
|
542
558
|
private readonly _tsctx;
|
@@ -558,7 +574,6 @@ export declare class TsTypeAliasEntity implements AliasTypeEntity {
|
|
558
574
|
readonly kind = EntityKind.AliasType;
|
559
575
|
private readonly _aliasedType;
|
560
576
|
private readonly _typeParameters;
|
561
|
-
private get declaration();
|
562
577
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _isDefaultExport: boolean, _containingPackage: PackageEntity);
|
563
578
|
getName(): Name;
|
564
579
|
getContainingPackage(): PackageEntity;
|
@@ -570,6 +585,7 @@ export declare class TsTypeAliasEntity implements AliasTypeEntity {
|
|
570
585
|
isHidden(): EntityHidingLevel | undefined;
|
571
586
|
getTags(): readonly Tag[];
|
572
587
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
588
|
+
private getDeclaration;
|
573
589
|
}
|
574
590
|
export declare class TsAnonymousFunctionTypeEntity implements AnonymousMethodTypeEntity {
|
575
591
|
private readonly _tsctx;
|
@@ -581,6 +597,7 @@ export declare class TsAnonymousFunctionTypeEntity implements AnonymousMethodTyp
|
|
581
597
|
private readonly _valueParameters;
|
582
598
|
private readonly _returnType;
|
583
599
|
private readonly _members;
|
600
|
+
private readonly _baseObjectType;
|
584
601
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _declaration: ts.FunctionTypeNode, _containingPackage: PackageEntity);
|
585
602
|
getNaming(): EntityNaming;
|
586
603
|
getTypeParameters(): readonly TypeParameterEntity[];
|
@@ -594,6 +611,7 @@ export declare class TsAnonymousFunctionTypeEntity implements AnonymousMethodTyp
|
|
594
611
|
getTags(): readonly Tag[];
|
595
612
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
596
613
|
getContainingPackage(): PackageEntity;
|
614
|
+
getBaseObjectType(): BaseObjectType;
|
597
615
|
}
|
598
616
|
/**
|
599
617
|
* Представляет объявления следующего вида:
|
@@ -621,6 +639,7 @@ export declare class TsNamedFunctionTypeEntity implements PackageMethodTypeEntit
|
|
621
639
|
private readonly _valueParameters;
|
622
640
|
private readonly _members;
|
623
641
|
private readonly _returnType;
|
642
|
+
private readonly _baseObjectType;
|
624
643
|
constructor(_tsctx: TsInteropContext, _signatureSymbol: ts.Symbol, _signatureDeclaration: ts.CallSignatureDeclaration | ts.FunctionTypeNode, _owningNamedSymbol: ts.Symbol, _isDefaultExport: boolean, _owningDeclarationWithTypeParameters: ts.DeclarationWithTypeParameterChildren, _containingPackage: PackageEntity, _forceHiddenInPackage: boolean);
|
625
644
|
getNaming(): EntityNaming;
|
626
645
|
getName(): Name;
|
@@ -635,4 +654,5 @@ export declare class TsNamedFunctionTypeEntity implements PackageMethodTypeEntit
|
|
635
654
|
isHidden(): EntityHidingLevel | undefined;
|
636
655
|
getTags(): readonly Tag[];
|
637
656
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
657
|
+
getBaseObjectType(): BaseObjectType;
|
638
658
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Analyzer } from '../analysis/index.js';
|
2
2
|
import { MethodTypeEntity, TypeParameterEntity } from '../entities/index.js';
|
3
|
-
import { IType,
|
3
|
+
import { IType, SubstitutionMap, Substitutions, Type, ValueParameter } from './index.js';
|
4
4
|
export declare class MethodType implements IType {
|
5
5
|
private readonly _analyzer;
|
6
6
|
private readonly _entity;
|
@@ -17,7 +17,7 @@ export declare class MethodType implements IType {
|
|
17
17
|
isAsync(): boolean;
|
18
18
|
getReturnType(): Type;
|
19
19
|
getValueParameters(): readonly ValueParameter[];
|
20
|
-
getBaseType():
|
20
|
+
getBaseType(): Type | undefined;
|
21
21
|
getBaseObjectTypeOrAliasedType(): Type | undefined;
|
22
22
|
toString(): string;
|
23
23
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Analyzer } from '../analysis/index.js';
|
2
2
|
import { VariantTypeEntity } from '../entities/index.js';
|
3
|
-
import { IType,
|
3
|
+
import { IType, SubstitutionMap, Substitutions, Type } from './index.js';
|
4
4
|
export declare class VariantType implements IType {
|
5
5
|
private readonly _analyzer;
|
6
6
|
private readonly _entity;
|
@@ -13,7 +13,7 @@ export declare class VariantType implements IType {
|
|
13
13
|
getEntity(): VariantTypeEntity;
|
14
14
|
equals(other: Type): boolean;
|
15
15
|
getUnderlyingType(): Type;
|
16
|
-
getBaseType():
|
16
|
+
getBaseType(): Type | undefined;
|
17
17
|
getBaseObjectTypeOrAliasedType(): Type | undefined;
|
18
18
|
toString(): string;
|
19
19
|
}
|