@artel/artc 0.6.25216 → 0.6.25218
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 +12 -50
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1056 -1060
- package/build/{chunk-6RYP5SET.js → chunk-FI6LW2RD.js} +5 -4
- package/build/{chunk-TJG64G2K.js → chunk-SK7ZBC3X.js} +16737 -15766
- package/build/{chunk-O7AXOZXA.js → chunk-TQDMVKTN.js} +13 -5
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +4 -26
- package/build/types/analysis/Analyzer.d.ts +162 -200
- package/build/types/analysis/{CallArgumentToParameterMatchResult.d.ts → ArgumentToParameterMatchResult.d.ts} +6 -7
- package/build/types/analysis/{CallArgumentsToParametersMatcher.d.ts → ArgumentsToParametersMatcher.d.ts} +14 -14
- package/build/types/analysis/ConstructorOverloadResolver.d.ts +1 -1
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
- package/build/types/analysis/FindModifier.d.ts +2 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +14 -12
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +12 -7
- package/build/types/analysis/LocalizationContext.d.ts +4 -5
- package/build/types/analysis/Lookup.d.ts +8 -7
- package/build/types/analysis/ModifierFlags.d.ts +16 -0
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
- package/build/types/analysis/OperationOverloadResolver.d.ts +2 -2
- package/build/types/analysis/OverloadResolver.d.ts +4 -4
- package/build/types/analysis/PackageMemberLookup.d.ts +5 -6
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +18 -16
- package/build/types/analysis/Scope.d.ts +21 -116
- package/build/types/analysis/SemanticContext.d.ts +16 -6
- package/build/types/analysis/SemanticContextBuilder.d.ts +1 -1
- package/build/types/analysis/SourceFileMembers.d.ts +12 -89
- package/build/types/analysis/TagMeaning.d.ts +57 -9
- package/build/types/analysis/Tags.d.ts +2 -2
- package/build/types/analysis/TypeMemberLookup.d.ts +15 -15
- package/build/types/analysis/TypeOverloadResolver.d.ts +1 -1
- package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
- package/build/types/analysis/index.d.ts +1 -1
- package/build/types/api/Api.d.ts +2 -6
- package/build/types/diagnostic/DiagnosticCode.d.ts +111 -103
- package/build/types/emitter/{EmitterGeneratedDeclarationKind.d.ts → EmitPhaseName.d.ts} +1 -44
- package/build/types/emitter/EmitterContext.d.ts +13 -1
- package/build/types/emitter/Entities.d.ts +58 -16
- package/build/types/emitter/EntityMap.d.ts +1 -3
- package/build/types/emitter/IrBuilder.d.ts +6 -2
- package/build/types/emitter/IrToJs.d.ts +5 -5
- package/build/types/emitter/Transformer.d.ts +20 -13
- package/build/types/emitter/ir/EmitOptions.d.ts +163 -0
- package/build/types/emitter/ir/Nodes.d.ts +213 -185
- package/build/types/emitter/ir/index.d.ts +1 -2
- package/build/types/emitter/ir/types.d.ts +4 -3
- package/build/types/entities/AliasTypeEntity.d.ts +9 -5
- package/build/types/entities/ConstructorEntity.d.ts +2 -0
- package/build/types/entities/DereferenceOperatorEntity.d.ts +9 -0
- package/build/types/entities/DestructorEntity.d.ts +2 -0
- package/build/types/entities/GetterEntity.d.ts +8 -0
- package/build/types/entities/IndexerEntity.d.ts +9 -0
- package/build/types/entities/MethodEntity.d.ts +9 -5
- package/build/types/entities/MethodTypeEntity.d.ts +18 -5
- package/build/types/entities/OperatorEntity.d.ts +5 -3
- package/build/types/entities/PackageEntity.d.ts +3 -3
- package/build/types/entities/PackageMembers.d.ts +4 -90
- package/build/types/entities/SetterEntity.d.ts +8 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +22 -9
- package/build/types/entities/TypeEntity.d.ts +15 -0
- package/build/types/entities/TypeExtensionEntity.d.ts +2 -0
- package/build/types/entities/TypeParameterEntity.d.ts +12 -7
- package/build/types/entities/VariableEntity.d.ts +50 -41
- package/build/types/entities/VariantTypeEntity.d.ts +18 -11
- package/build/types/entities/index.d.ts +17 -25
- package/build/types/executor/Compiler.d.ts +1 -0
- package/build/types/executor/NodeCompiler.d.ts +1 -0
- package/build/types/parser/CharacterCodes.d.ts +8 -0
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +1 -2
- package/build/types/parser/Scanner.d.ts +0 -6
- package/build/types/parser/UnescapeText.d.ts +1 -1
- package/build/types/project/FileSystemTree.d.ts +2 -2
- package/build/types/services/CompletionService.d.ts +4 -1
- package/build/types/services/DisplayService.d.ts +218 -163
- package/build/types/services/NodeSemanticInfo.d.ts +7 -5
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +8 -24
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -0
- package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
- package/build/types/services/source-generation/SourceGenerationService.d.ts +2 -2
- package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +5 -5
- package/build/types/services/workspace/CompilationController.d.ts +3 -3
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +4 -4
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
- package/build/types/services/workspace/Workspace.d.ts +3 -3
- package/build/types/services/workspace/WorkspaceFiles.d.ts +7 -7
- package/build/types/tree/KeywordKind.d.ts +37 -37
- package/build/types/tree/NodeKind.d.ts +37 -39
- package/build/types/tree/green/Nodes.d.ts +57 -80
- package/build/types/tree/green/SyntaxFactory.d.ts +4 -5
- package/build/types/tree/green/SyntaxToCode.d.ts +1 -2
- package/build/types/tree/red/Nodes.d.ts +65 -93
- package/build/types/ts-interop/Entities.d.ts +77 -34
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +0 -1
- package/build/types/types/MethodType.d.ts +2 -2
- package/build/types/types/TypeMembers.d.ts +9 -0
- package/build/types/types/VariantType.d.ts +2 -2
- package/package.json +2 -2
- package/build/types/analysis/DereferencedVariableAccess.d.ts +0 -14
- package/build/types/analysis/IndexedAccess.d.ts +0 -14
- package/build/types/analysis/VariableAccess.d.ts +0 -14
- package/build/types/analysis/VariantLookup.d.ts +0 -20
- package/build/types/emitter/ir/LoweringOptions.d.ts +0 -34
- package/build/types/emitter/ir/LoweringState.d.ts +0 -25
- package/build/types/entities/VariantEntity.d.ts +0 -31
- package/build/types/entities/Variants.d.ts +0 -10
@@ -1,10 +1,11 @@
|
|
1
|
+
import { AccessedMethod } from '../analysis/AccessedMethod.js';
|
1
2
|
import { Localization } from '../analysis/Localization.js';
|
2
3
|
import { LocalizationContext, NamedEntity } from '../analysis/LocalizationContext.js';
|
3
4
|
import { SubstitutedMethod } from '../analysis/SubstitutedMethod.js';
|
4
5
|
import { Analyzer } from '../analysis/index.js';
|
5
6
|
import { HelperPhraseKind } from '../common/HelperPhrases.js';
|
6
7
|
import { PackageDialect, PackageLocale } from '../common/index.js';
|
7
|
-
import
|
8
|
+
import * as e from '../entities/index.js';
|
8
9
|
import { KeywordKind } from '../tree/index.js';
|
9
10
|
import * as types from '../types/index.js';
|
10
11
|
export declare class DisplayService {
|
@@ -16,16 +17,15 @@ export declare class DisplayService {
|
|
16
17
|
displayType(type: types.Type): string;
|
17
18
|
getMethodTypeBodyDisplayParts(type: types.MethodType): MethodTypeBodyDisplayParts;
|
18
19
|
getNamedTypeDisplayParts(type: NamedType): NamedTypeDisplayParts;
|
19
|
-
|
20
|
-
|
21
|
-
displayPackage(package_: PackageEntity): string;
|
20
|
+
displayPackageAliasEntity(entity: e.PackageAliasEntity): string;
|
21
|
+
displayPackage(package_: e.PackageEntity): string;
|
22
22
|
displayValueParameterDeclaration(parameter: ValueParameterDeclaration, typeDisplayOptions?: TypeDisplayOptions): string;
|
23
23
|
getValueParameterDeclarationDisplayParts(parameter: ValueParameterDeclaration, typeDisplayOptions?: TypeDisplayOptions): ValueParameterDeclarationDisplayParts;
|
24
24
|
displayMethodDeclaration(method: MethodDeclaration): string;
|
25
25
|
getMethodDeclarationDisplayParts(method: MethodDeclaration): MethodDeclarationDisplayParts;
|
26
26
|
displayOperatorDeclaration(operator: OperatorDeclaration): string;
|
27
27
|
getOperatorDeclarationDisplayParts(operator: OperatorDeclaration): OperatorDeclarationDisplayParts;
|
28
|
-
displayOperatorKind(kind: OperatorKind, locale: PackageLocale): string;
|
28
|
+
displayOperatorKind(kind: e.OperatorKind, locale: PackageLocale): string;
|
29
29
|
displayConstructorDeclaration(constructor: ConstructorDeclaration): string;
|
30
30
|
getConstructorDeclarationDisplayParts(constructor: ConstructorDeclaration): ConstructorDeclarationDisplayParts;
|
31
31
|
displayDestructorDeclaration(constructor: DestructorDeclaration): string;
|
@@ -34,14 +34,15 @@ export declare class DisplayService {
|
|
34
34
|
displayDereferenceOperatorDeclaration(referenceOperator: DereferenceOperatorDeclaration): string;
|
35
35
|
getDereferenceOperatorDeclarationDisplayParts(dereferenceOperator: DereferenceOperatorDeclaration): DereferenceOperatorDeclarationDisplayParts;
|
36
36
|
displayTypeDeclaration(type: TypeDeclaration): string;
|
37
|
-
displayTypeDeclarationEntity(entity: TypeEntity, localization: Localization): string;
|
37
|
+
displayTypeDeclarationEntity(entity: e.TypeEntity, localization: Localization): string;
|
38
38
|
getTypeDeclarationDisplayParts(type: TypeDeclaration): TypeDeclarationDisplayParts;
|
39
|
-
getTypeDeclarationEntityDisplayParts(entity: TypeEntity, localization: Localization): TypeDeclarationDisplayParts;
|
39
|
+
getTypeDeclarationEntityDisplayParts(entity: e.TypeEntity, localization: Localization): TypeDeclarationDisplayParts;
|
40
40
|
displayTypeParameterValue(value: TypeParameterValue): string;
|
41
|
-
displayGetterEntity(entity: GetterEntity): string;
|
42
|
-
displaySetterEntity(entity: SetterEntity): string;
|
43
|
-
displayTypeExtensionEntity(entity: TypeExtensionEntity): string;
|
44
|
-
displayEntity(entity: Entity, localization?: Localization): string;
|
41
|
+
displayGetterEntity(entity: e.GetterEntity): string;
|
42
|
+
displaySetterEntity(entity: e.SetterEntity): string;
|
43
|
+
displayTypeExtensionEntity(entity: e.TypeExtensionEntity): string;
|
44
|
+
displayEntity(entity: e.Entity, localization?: Localization): string;
|
45
|
+
displayTypeEntity(entity: e.TypeEntity, localization?: Localization): string;
|
45
46
|
displayKeyword(kind: KeywordKind): string;
|
46
47
|
displayHelperPhrase(kind: HelperPhraseKind): string;
|
47
48
|
displayEntityName(entity: NamedEntity, localization: Localization | undefined): string;
|
@@ -56,12 +57,13 @@ export declare class DisplayService {
|
|
56
57
|
private displayTypeInternal;
|
57
58
|
private displayTypeUsageInternal;
|
58
59
|
private displayUnionTypeTypes;
|
59
|
-
private
|
60
|
+
private displayDeclarationContainer;
|
60
61
|
private getEntityName;
|
61
62
|
}
|
62
63
|
interface TypeDisplayOptions {
|
63
64
|
readonly unionAndAliasTypeDisplayKind: UnionAndAliasTypeDisplayKind;
|
64
65
|
readonly displayFullVersionOfNamedMethodType: boolean;
|
66
|
+
readonly displayContainer: boolean;
|
65
67
|
}
|
66
68
|
declare const enum UnionAndAliasTypeDisplayKind {
|
67
69
|
Full = 0,
|
@@ -70,49 +72,49 @@ declare const enum UnionAndAliasTypeDisplayKind {
|
|
70
72
|
}
|
71
73
|
export type VariableDeclaration = VariableDeclaration_entity | VariableDeclaration_typeMember;
|
72
74
|
export declare class VariableDeclaration_entity implements IVariableDeclaration {
|
73
|
-
readonly value: VariableEntity;
|
75
|
+
readonly value: e.VariableEntity;
|
74
76
|
readonly localization: Localization;
|
75
77
|
readonly kind = "entity";
|
76
|
-
constructor(value: VariableEntity, localization: Localization);
|
77
|
-
getEntity(): VariableEntity;
|
78
|
+
constructor(value: e.VariableEntity, localization: Localization);
|
79
|
+
getEntity(): e.VariableEntity;
|
78
80
|
getLocalization(): Localization;
|
79
81
|
getType(): types.Type;
|
80
82
|
isOptionalParameter(): boolean;
|
81
|
-
|
83
|
+
getContainer(): DeclarationContainer | undefined;
|
82
84
|
}
|
83
85
|
export declare class VariableDeclaration_typeMember implements IVariableDeclaration {
|
84
86
|
readonly value: types.Variable;
|
85
87
|
readonly localization: Localization;
|
86
88
|
readonly kind = "type-member";
|
87
89
|
constructor(value: types.Variable, localization: Localization);
|
88
|
-
getEntity(): VariableEntity;
|
90
|
+
getEntity(): e.VariableEntity;
|
89
91
|
getLocalization(): Localization;
|
90
92
|
getType(): types.Type;
|
91
93
|
isOptionalParameter(): boolean;
|
92
|
-
|
94
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
93
95
|
}
|
94
96
|
interface IVariableDeclaration {
|
95
|
-
getEntity(): VariableEntity;
|
97
|
+
getEntity(): e.VariableEntity;
|
96
98
|
getLocalization(): Localization;
|
97
99
|
getType(): types.Type;
|
98
100
|
isOptionalParameter(): boolean;
|
99
|
-
|
101
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
100
102
|
}
|
101
|
-
export type MethodDeclaration = MethodDeclaration_entity | MethodDeclaration_typeMember | MethodDeclaration_substitutedMethod;
|
103
|
+
export type MethodDeclaration = MethodDeclaration_entity | MethodDeclaration_typeMember | MethodDeclaration_substitutedMethod | MethodDeclaration_accessedMethod;
|
102
104
|
export declare class MethodDeclaration_entity implements IMethodDeclaration {
|
103
105
|
readonly kind = "entity";
|
104
106
|
private readonly _typeParameterValues;
|
105
107
|
private readonly _valueParameters;
|
106
|
-
readonly method: MethodEntity;
|
108
|
+
readonly method: e.MethodEntity;
|
107
109
|
readonly localization: Localization;
|
108
|
-
constructor(method: MethodEntity, localization: Localization);
|
109
|
-
getEntity(): MethodEntity;
|
110
|
+
constructor(method: e.MethodEntity, localization: Localization);
|
111
|
+
getEntity(): e.MethodEntity;
|
110
112
|
getLocalization(): Localization;
|
111
113
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
112
114
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
113
115
|
getReturnType(): types.Type;
|
114
116
|
isAsync(): boolean;
|
115
|
-
|
117
|
+
getContainer(): DeclarationContainer | undefined;
|
116
118
|
}
|
117
119
|
export declare class MethodDeclaration_typeMember implements IMethodDeclaration {
|
118
120
|
readonly kind = "type-member";
|
@@ -121,13 +123,13 @@ export declare class MethodDeclaration_typeMember implements IMethodDeclaration
|
|
121
123
|
readonly method: types.Method;
|
122
124
|
readonly localization: Localization;
|
123
125
|
constructor(method: types.Method, localization: Localization);
|
124
|
-
getEntity(): MethodEntity;
|
126
|
+
getEntity(): e.MethodEntity;
|
125
127
|
getLocalization(): Localization;
|
126
128
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
127
129
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
128
130
|
getReturnType(): types.Type;
|
129
131
|
isAsync(): boolean;
|
130
|
-
|
132
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
131
133
|
}
|
132
134
|
export declare class MethodDeclaration_substitutedMethod implements IMethodDeclaration {
|
133
135
|
readonly method: SubstitutedMethod;
|
@@ -136,31 +138,46 @@ export declare class MethodDeclaration_substitutedMethod implements IMethodDecla
|
|
136
138
|
private readonly _typeParameterValues;
|
137
139
|
private readonly _valueParameters;
|
138
140
|
constructor(method: SubstitutedMethod, localization: Localization);
|
139
|
-
getEntity(): MethodEntity;
|
141
|
+
getEntity(): e.MethodEntity;
|
140
142
|
getLocalization(): Localization;
|
141
143
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
142
144
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
143
145
|
getReturnType(): types.Type;
|
144
146
|
isAsync(): boolean;
|
145
|
-
|
147
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
148
|
+
}
|
149
|
+
export declare class MethodDeclaration_accessedMethod implements IMethodDeclaration {
|
150
|
+
readonly method: AccessedMethod;
|
151
|
+
readonly localization: Localization;
|
152
|
+
readonly kind = "accessed-method";
|
153
|
+
private readonly _typeParameterValues;
|
154
|
+
private readonly _valueParameters;
|
155
|
+
constructor(method: AccessedMethod, localization: Localization);
|
156
|
+
getEntity(): e.MethodEntity;
|
157
|
+
getLocalization(): Localization;
|
158
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
159
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
160
|
+
getReturnType(): types.Type;
|
161
|
+
isAsync(): boolean;
|
162
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
146
163
|
}
|
147
164
|
interface IMethodDeclaration {
|
148
|
-
getEntity(): MethodEntity;
|
165
|
+
getEntity(): e.MethodEntity;
|
149
166
|
getLocalization(): Localization;
|
150
167
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
151
168
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
152
169
|
getReturnType(): types.Type;
|
153
170
|
isAsync(): boolean;
|
154
|
-
|
171
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
155
172
|
}
|
156
173
|
export type ConstructorDeclaration = ConstructorDeclaration_entity | ConstructorDeclaration_typeMember;
|
157
174
|
export declare class ConstructorDeclaration_entity implements IConstructorDeclaration {
|
158
175
|
readonly kind = "type-member";
|
159
176
|
private readonly _valueParameters;
|
160
|
-
readonly value: ConstructorEntity;
|
177
|
+
readonly value: e.ConstructorEntity;
|
161
178
|
readonly localization: Localization;
|
162
|
-
constructor(value: ConstructorEntity, localization: Localization);
|
163
|
-
|
179
|
+
constructor(value: e.ConstructorEntity, localization: Localization);
|
180
|
+
getContainer(): TypeMemberDeclarationContainer;
|
164
181
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
165
182
|
}
|
166
183
|
export declare class ConstructorDeclaration_typeMember implements IConstructorDeclaration {
|
@@ -169,31 +186,20 @@ export declare class ConstructorDeclaration_typeMember implements IConstructorDe
|
|
169
186
|
readonly kind = "type-member";
|
170
187
|
private readonly _valueParameters;
|
171
188
|
constructor(value: types.Constructor, localization: Localization);
|
172
|
-
|
189
|
+
getContainer(analyzer: Analyzer | undefined): TypeMemberDeclarationContainer;
|
173
190
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
174
191
|
}
|
175
192
|
interface IConstructorDeclaration {
|
176
|
-
|
193
|
+
getContainer(analyzer: Analyzer | undefined): TypeMemberDeclarationContainer;
|
177
194
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
178
195
|
}
|
179
|
-
type TypeContainingConstructorDeclaration = TypeContainingConstructorDeclaration_entity | TypeContainingConstructorDeclaration_type;
|
180
|
-
declare class TypeContainingConstructorDeclaration_entity {
|
181
|
-
readonly value: TypeEntity;
|
182
|
-
readonly kind = "entity";
|
183
|
-
constructor(value: TypeEntity);
|
184
|
-
}
|
185
|
-
declare class TypeContainingConstructorDeclaration_type {
|
186
|
-
readonly value: types.Type;
|
187
|
-
readonly kind = "type";
|
188
|
-
constructor(value: types.Type);
|
189
|
-
}
|
190
196
|
export type DestructorDeclaration = DestructorDeclaration_entity | DestructorDeclaration_typeMember;
|
191
197
|
export declare class DestructorDeclaration_entity implements IDestructorDeclaration {
|
192
198
|
readonly kind = "entity";
|
193
199
|
private readonly _valueParameters;
|
194
|
-
readonly value: DestructorEntity;
|
200
|
+
readonly value: e.DestructorEntity;
|
195
201
|
readonly localization: Localization;
|
196
|
-
constructor(value: DestructorEntity, localization: Localization);
|
202
|
+
constructor(value: e.DestructorEntity, localization: Localization);
|
197
203
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
198
204
|
}
|
199
205
|
export declare class DestructorDeclaration_typeMember implements IDestructorDeclaration {
|
@@ -209,33 +215,33 @@ interface IDestructorDeclaration {
|
|
209
215
|
}
|
210
216
|
export type DereferenceOperatorDeclaration = DereferenceOperatorDeclaration_entity | DereferenceOperatorDeclaration_typeMember;
|
211
217
|
export declare class DereferenceOperatorDeclaration_entity implements IDereferenceOperatorDeclaration {
|
212
|
-
readonly value: DereferenceOperatorEntity;
|
218
|
+
readonly value: e.DereferenceOperatorEntity;
|
213
219
|
readonly kind = "entity";
|
214
|
-
constructor(value: DereferenceOperatorEntity);
|
220
|
+
constructor(value: e.DereferenceOperatorEntity);
|
215
221
|
getType(): types.Type;
|
216
|
-
|
222
|
+
getContainer(): DeclarationContainer | undefined;
|
217
223
|
}
|
218
224
|
export declare class DereferenceOperatorDeclaration_typeMember implements IDereferenceOperatorDeclaration {
|
219
225
|
readonly value: types.DereferenceOperator;
|
220
226
|
readonly kind = "type-member";
|
221
227
|
constructor(value: types.DereferenceOperator);
|
222
228
|
getType(): types.Type;
|
223
|
-
|
229
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
224
230
|
}
|
225
231
|
interface IDereferenceOperatorDeclaration {
|
226
232
|
getType(): types.Type;
|
227
|
-
|
233
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
228
234
|
}
|
229
235
|
export type IndexerDeclaration = IndexerDeclaration_entity | IndexerDeclaration_typeMember;
|
230
236
|
export declare class IndexerDeclaration_entity implements IIndexerDeclaration {
|
231
|
-
readonly value: IndexerEntity;
|
237
|
+
readonly value: e.IndexerEntity;
|
232
238
|
readonly localization: Localization;
|
233
239
|
readonly kind = "entity";
|
234
240
|
private readonly _valueParameters;
|
235
|
-
constructor(value: IndexerEntity, localization: Localization);
|
241
|
+
constructor(value: e.IndexerEntity, localization: Localization);
|
236
242
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
237
243
|
getType(): types.Type;
|
238
|
-
|
244
|
+
getContainer(): DeclarationContainer | undefined;
|
239
245
|
}
|
240
246
|
export declare class IndexerDeclaration_typeMember implements IIndexerDeclaration {
|
241
247
|
readonly value: types.Indexer;
|
@@ -245,21 +251,21 @@ export declare class IndexerDeclaration_typeMember implements IIndexerDeclaratio
|
|
245
251
|
constructor(value: types.Indexer, localization: Localization);
|
246
252
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
247
253
|
getType(): types.Type;
|
248
|
-
|
254
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
249
255
|
}
|
250
256
|
interface IIndexerDeclaration {
|
251
257
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
252
258
|
getType(): types.Type;
|
253
|
-
|
259
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
254
260
|
}
|
255
261
|
export type ValueParameterDeclaration = ValueParameterDeclaration_entity | ValueParameterDeclaration_typeMember | ValueParameterDeclaration_substitutedMethod | ValueParameterDeclaration_matchResultValueParameter | ValueParameterDeclaration_universal;
|
256
262
|
export declare class ValueParameterDeclaration_entity implements IValueParameter {
|
257
|
-
readonly value: VariableEntity;
|
263
|
+
readonly value: e.VariableEntity;
|
258
264
|
readonly localization: Localization;
|
259
265
|
readonly kind = "entity";
|
260
|
-
constructor(value: VariableEntity, localization: Localization);
|
266
|
+
constructor(value: e.VariableEntity, localization: Localization);
|
261
267
|
getName(): string;
|
262
|
-
getEntity(): VariableEntity;
|
268
|
+
getEntity(): e.VariableEntity;
|
263
269
|
getLocalization(): Localization;
|
264
270
|
isOptional(): boolean;
|
265
271
|
getType(): types.Type;
|
@@ -270,63 +276,63 @@ export declare class ValueParameterDeclaration_typeMember implements IValueParam
|
|
270
276
|
readonly kind = "type-member";
|
271
277
|
constructor(value: types.ValueParameter, localization: Localization);
|
272
278
|
getName(): string;
|
273
|
-
getEntity(): VariableEntity;
|
279
|
+
getEntity(): e.VariableEntity;
|
274
280
|
getLocalization(): Localization;
|
275
281
|
isOptional(): boolean;
|
276
282
|
getType(): types.Type;
|
277
283
|
}
|
278
284
|
export declare class ValueParameterDeclaration_substitutedMethod implements IValueParameter {
|
279
|
-
readonly entity: VariableEntity;
|
285
|
+
readonly entity: e.VariableEntity;
|
280
286
|
readonly type: types.Type;
|
281
287
|
readonly localization: Localization;
|
282
|
-
constructor(entity: VariableEntity, type: types.Type, localization: Localization);
|
288
|
+
constructor(entity: e.VariableEntity, type: types.Type, localization: Localization);
|
283
289
|
getName(): string;
|
284
|
-
getEntity(): VariableEntity;
|
290
|
+
getEntity(): e.VariableEntity;
|
285
291
|
getLocalization(): Localization;
|
286
292
|
isOptional(): boolean;
|
287
293
|
getType(): types.Type;
|
288
294
|
}
|
289
295
|
export declare class ValueParameterDeclaration_matchResultValueParameter implements IValueParameter {
|
290
296
|
readonly parameter: {
|
291
|
-
entity: VariableEntity;
|
297
|
+
entity: e.VariableEntity;
|
292
298
|
type: types.Type;
|
293
299
|
};
|
294
300
|
readonly localization: Localization;
|
295
301
|
readonly kind = "type-member";
|
296
302
|
constructor(parameter: {
|
297
|
-
entity: VariableEntity;
|
303
|
+
entity: e.VariableEntity;
|
298
304
|
type: types.Type;
|
299
305
|
}, localization: Localization);
|
300
306
|
getName(): string;
|
301
|
-
getEntity(): VariableEntity;
|
307
|
+
getEntity(): e.VariableEntity;
|
302
308
|
getLocalization(): Localization;
|
303
309
|
isOptional(): boolean;
|
304
310
|
getType(): types.Type;
|
305
311
|
}
|
306
312
|
export declare class ValueParameterDeclaration_universal implements IValueParameter {
|
307
|
-
readonly entity: VariableEntity;
|
313
|
+
readonly entity: e.VariableEntity;
|
308
314
|
readonly type: types.Type;
|
309
315
|
readonly localization: Localization;
|
310
|
-
constructor(entity: VariableEntity, type: types.Type, localization: Localization);
|
316
|
+
constructor(entity: e.VariableEntity, type: types.Type, localization: Localization);
|
311
317
|
getName(): string;
|
312
|
-
getEntity(): VariableEntity;
|
318
|
+
getEntity(): e.VariableEntity;
|
313
319
|
getLocalization(): Localization;
|
314
320
|
isOptional(): boolean;
|
315
321
|
getType(): types.Type;
|
316
322
|
}
|
317
323
|
interface IValueParameter {
|
318
324
|
getName(): string;
|
319
|
-
getEntity(): VariableEntity;
|
325
|
+
getEntity(): e.VariableEntity;
|
320
326
|
getLocalization(): Localization;
|
321
327
|
isOptional(): boolean;
|
322
328
|
getType(): types.Type;
|
323
329
|
}
|
324
330
|
export type TypeParameterValue = TypeParameterValue_typeParameter | TypeParameterValue_typeArgument;
|
325
331
|
export declare class TypeParameterValue_typeParameter {
|
326
|
-
readonly value: TypeParameterEntity;
|
332
|
+
readonly value: e.TypeParameterEntity;
|
327
333
|
readonly localization: Localization;
|
328
334
|
readonly kind = "type-parameter";
|
329
|
-
constructor(value: TypeParameterEntity, localization: Localization);
|
335
|
+
constructor(value: e.TypeParameterEntity, localization: Localization);
|
330
336
|
}
|
331
337
|
export declare class TypeParameterValue_typeArgument {
|
332
338
|
readonly value: types.Type;
|
@@ -338,23 +344,25 @@ export declare class TypeDeclaration_structured implements ITypeDeclaration {
|
|
338
344
|
readonly value: TypeDeclarationStructured;
|
339
345
|
readonly kind = "structured";
|
340
346
|
constructor(value: TypeDeclarationStructured);
|
341
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
347
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
342
348
|
getLocalization(): Localization;
|
343
349
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
350
|
+
getContainer(): DeclarationContainer | undefined;
|
344
351
|
}
|
345
352
|
export type TypeDeclarationStructured = TypeDeclarationStructured_entity | TypeDeclarationStructured_type;
|
346
353
|
export declare class TypeDeclarationStructured_entity implements ITypeDeclarationStructured {
|
347
|
-
readonly entity: StructuredTypeEntity;
|
354
|
+
readonly entity: e.StructuredTypeEntity;
|
348
355
|
readonly localization: Localization;
|
349
356
|
readonly kind = "entity";
|
350
357
|
private readonly _typeParameterValues;
|
351
|
-
constructor(entity: StructuredTypeEntity, localization: Localization);
|
352
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
358
|
+
constructor(entity: e.StructuredTypeEntity, localization: Localization);
|
359
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
353
360
|
getLocalization(): Localization;
|
354
361
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
355
362
|
isRefObject(): boolean;
|
356
363
|
isPlainObject(): boolean;
|
357
364
|
isAspect(): boolean;
|
365
|
+
getContainer(): DeclarationContainer | undefined;
|
358
366
|
}
|
359
367
|
export declare class TypeDeclarationStructured_type implements ITypeDeclarationStructured {
|
360
368
|
readonly type: types.StructuredType;
|
@@ -362,43 +370,47 @@ export declare class TypeDeclarationStructured_type implements ITypeDeclarationS
|
|
362
370
|
readonly kind = "type";
|
363
371
|
private readonly _typeParameterValues;
|
364
372
|
constructor(type: types.StructuredType, localization: Localization);
|
365
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
373
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
366
374
|
getLocalization(): Localization;
|
367
375
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
368
376
|
isRefObject(): boolean;
|
369
377
|
isPlainObject(): boolean;
|
370
378
|
isAspect(): boolean;
|
379
|
+
getContainer(): DeclarationContainer | undefined;
|
371
380
|
}
|
372
381
|
interface ITypeDeclarationStructured {
|
373
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
382
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
374
383
|
getLocalization(): Localization;
|
375
384
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
376
385
|
isRefObject(): boolean;
|
377
386
|
isPlainObject(): boolean;
|
378
387
|
isAspect(): boolean;
|
388
|
+
getContainer(): DeclarationContainer | undefined;
|
379
389
|
}
|
380
390
|
export declare class TypeDeclaration_method implements ITypeDeclaration {
|
381
391
|
readonly value: TypeDeclarationMethod;
|
382
392
|
readonly kind = "method";
|
383
393
|
constructor(value: TypeDeclarationMethod);
|
384
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
394
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
385
395
|
getLocalization(): Localization;
|
386
396
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
397
|
+
getContainer(): DeclarationContainer | undefined;
|
387
398
|
}
|
388
399
|
export type TypeDeclarationMethod = TypeDeclarationMethod_entity | TypeDeclarationMethod_type;
|
389
400
|
export declare class TypeDeclarationMethod_entity implements ITypeDeclarationMethod {
|
390
|
-
readonly entity: MethodTypeEntity;
|
401
|
+
readonly entity: e.MethodTypeEntity;
|
391
402
|
readonly localization: Localization;
|
392
403
|
readonly kind = "entity";
|
393
404
|
private readonly _typeParameterValues;
|
394
405
|
private readonly _valueParameters;
|
395
|
-
constructor(entity: MethodTypeEntity, localization: Localization);
|
396
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
406
|
+
constructor(entity: e.MethodTypeEntity, localization: Localization);
|
407
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
397
408
|
getLocalization(): Localization;
|
398
409
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
399
410
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
400
411
|
getReturnType(): types.Type;
|
401
412
|
isAsync(): boolean;
|
413
|
+
getContainer(): DeclarationContainer | undefined;
|
402
414
|
}
|
403
415
|
export declare class TypeDeclarationMethod_type implements ITypeDeclarationMethod {
|
404
416
|
readonly type: types.MethodType;
|
@@ -407,39 +419,43 @@ export declare class TypeDeclarationMethod_type implements ITypeDeclarationMetho
|
|
407
419
|
private readonly _typeParameterValues;
|
408
420
|
private readonly _valueParameters;
|
409
421
|
constructor(type: types.MethodType, localization: Localization);
|
410
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
422
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
411
423
|
getLocalization(): Localization;
|
412
424
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
413
425
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
414
426
|
getReturnType(): types.Type;
|
415
427
|
isAsync(): boolean;
|
428
|
+
getContainer(): DeclarationContainer | undefined;
|
416
429
|
}
|
417
430
|
interface ITypeDeclarationMethod {
|
418
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
431
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
419
432
|
getLocalization(): Localization;
|
420
433
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
421
434
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
422
435
|
getReturnType(): types.Type;
|
423
436
|
isAsync(): boolean;
|
437
|
+
getContainer(): DeclarationContainer | undefined;
|
424
438
|
}
|
425
439
|
export declare class TypeDeclaration_variant implements ITypeDeclaration {
|
426
440
|
readonly value: TypeDeclarationVariant;
|
427
441
|
readonly kind = "variant";
|
428
442
|
constructor(value: TypeDeclarationVariant);
|
429
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
443
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
430
444
|
getLocalization(): Localization;
|
431
445
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
446
|
+
getContainer(): DeclarationContainer | undefined;
|
432
447
|
}
|
433
448
|
export type TypeDeclarationVariant = TypeDeclarationVariant_entity | TypeDeclarationVariant_type;
|
434
449
|
export declare class TypeDeclarationVariant_entity implements ITypeDeclarationVariant {
|
435
|
-
readonly entity: VariantTypeEntity;
|
450
|
+
readonly entity: e.VariantTypeEntity;
|
436
451
|
readonly localization: Localization;
|
437
452
|
readonly kind = "entity";
|
438
453
|
private readonly _typeParameterValues;
|
439
|
-
constructor(entity: VariantTypeEntity, localization: Localization);
|
440
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
454
|
+
constructor(entity: e.VariantTypeEntity, localization: Localization);
|
455
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
441
456
|
getLocalization(): Localization;
|
442
457
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
458
|
+
getContainer(): DeclarationContainer | undefined;
|
443
459
|
}
|
444
460
|
export declare class TypeDeclarationVariant_type implements ITypeDeclarationVariant {
|
445
461
|
readonly type: types.VariantType;
|
@@ -447,34 +463,38 @@ export declare class TypeDeclarationVariant_type implements ITypeDeclarationVari
|
|
447
463
|
readonly kind = "type";
|
448
464
|
private readonly _typeParameterValues;
|
449
465
|
constructor(type: types.VariantType, localization: Localization);
|
450
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
466
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
451
467
|
getLocalization(): Localization;
|
452
468
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
469
|
+
getContainer(): DeclarationContainer | undefined;
|
453
470
|
}
|
454
471
|
interface ITypeDeclarationVariant {
|
455
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
472
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
456
473
|
getLocalization(): Localization;
|
457
474
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
475
|
+
getContainer(): DeclarationContainer | undefined;
|
458
476
|
}
|
459
477
|
export declare class TypeDeclaration_alias implements ITypeDeclaration {
|
460
478
|
readonly value: TypeDeclarationAlias;
|
461
479
|
readonly kind = "alias";
|
462
480
|
constructor(value: TypeDeclarationAlias);
|
463
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
481
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
464
482
|
getLocalization(): Localization;
|
465
483
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
484
|
+
getContainer(): DeclarationContainer | undefined;
|
466
485
|
}
|
467
486
|
export type TypeDeclarationAlias = TypeDeclarationAlias_entity | TypeDeclarationAlias_type;
|
468
487
|
export declare class TypeDeclarationAlias_entity implements ITypeDeclarationAlias {
|
469
|
-
readonly entity: AliasTypeEntity;
|
488
|
+
readonly entity: e.AliasTypeEntity;
|
470
489
|
readonly localization: Localization;
|
471
490
|
readonly kind = "entity";
|
472
491
|
private readonly _typeParameterValues;
|
473
|
-
constructor(entity: AliasTypeEntity, localization: Localization);
|
474
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
492
|
+
constructor(entity: e.AliasTypeEntity, localization: Localization);
|
493
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
475
494
|
getLocalization(): Localization;
|
476
495
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
477
496
|
getAliasedType(): types.Type;
|
497
|
+
getContainer(): DeclarationContainer | undefined;
|
478
498
|
}
|
479
499
|
export declare class TypeDeclarationAlias_type implements ITypeDeclarationAlias {
|
480
500
|
readonly type: types.AliasType;
|
@@ -482,91 +502,96 @@ export declare class TypeDeclarationAlias_type implements ITypeDeclarationAlias
|
|
482
502
|
readonly kind = "type";
|
483
503
|
private readonly _typeParameterValues;
|
484
504
|
constructor(type: types.AliasType, localization: Localization);
|
485
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
505
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
486
506
|
getLocalization(): Localization;
|
487
507
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
488
508
|
getAliasedType(): types.Type;
|
509
|
+
getContainer(): DeclarationContainer | undefined;
|
489
510
|
}
|
490
511
|
interface ITypeDeclarationAlias {
|
491
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
512
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
492
513
|
getLocalization(): Localization;
|
493
514
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
494
515
|
getAliasedType(): types.Type;
|
516
|
+
getContainer(): DeclarationContainer | undefined;
|
495
517
|
}
|
496
518
|
export declare class TypeDeclaration_parameter implements ITypeDeclaration {
|
497
|
-
readonly entity: TypeParameterEntity;
|
519
|
+
readonly entity: e.TypeParameterEntity;
|
498
520
|
readonly localization: Localization;
|
499
521
|
readonly kind = "parameter";
|
500
|
-
constructor(entity: TypeParameterEntity, localization: Localization);
|
501
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
522
|
+
constructor(entity: e.TypeParameterEntity, localization: Localization);
|
523
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
502
524
|
getLocalization(): Localization;
|
503
525
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
526
|
+
getContainer(): DeclarationContainer | undefined;
|
504
527
|
}
|
505
528
|
export declare class TypeDeclaration_unresolved implements ITypeDeclaration {
|
506
529
|
readonly localization: Localization;
|
507
530
|
readonly kind = "unresolved";
|
508
531
|
constructor(localization: Localization);
|
509
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
532
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
510
533
|
getLocalization(): Localization;
|
511
534
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
535
|
+
getContainer(): DeclarationContainer | undefined;
|
512
536
|
}
|
513
537
|
interface ITypeDeclaration {
|
514
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
538
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
515
539
|
getLocalization(): Localization;
|
516
540
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
541
|
+
getContainer(): DeclarationContainer | undefined;
|
517
542
|
}
|
518
543
|
type NamedType = NamedType_method | NamedType_structured | NamedType_typeParameter | NamedType_variant | NamedType_alias;
|
519
544
|
export declare class NamedType_method implements INamedType {
|
520
|
-
readonly value: PackageMethodTypeEntity;
|
545
|
+
readonly value: e.PackageMethodTypeEntity;
|
521
546
|
readonly kind = "method";
|
522
|
-
constructor(value: PackageMethodTypeEntity);
|
523
|
-
getEntity(): NamedTypeEntity;
|
524
|
-
getTypeParameters(): readonly TypeParameterEntity[];
|
547
|
+
constructor(value: e.PackageMethodTypeEntity);
|
548
|
+
getEntity(): e.NamedTypeEntity;
|
549
|
+
getTypeParameters(): readonly e.TypeParameterEntity[];
|
525
550
|
}
|
526
551
|
export declare class NamedType_structured implements INamedType {
|
527
|
-
readonly value: PackageStructuredTypeEntity;
|
552
|
+
readonly value: e.PackageStructuredTypeEntity;
|
528
553
|
readonly kind = "structured";
|
529
|
-
constructor(value: PackageStructuredTypeEntity);
|
530
|
-
getEntity(): NamedTypeEntity;
|
531
|
-
getTypeParameters(): readonly TypeParameterEntity[];
|
554
|
+
constructor(value: e.PackageStructuredTypeEntity);
|
555
|
+
getEntity(): e.NamedTypeEntity;
|
556
|
+
getTypeParameters(): readonly e.TypeParameterEntity[];
|
532
557
|
}
|
533
558
|
export declare class NamedType_typeParameter implements INamedType {
|
534
|
-
readonly value: TypeParameterEntity;
|
559
|
+
readonly value: e.TypeParameterEntity;
|
535
560
|
readonly kind = "typeParam";
|
536
|
-
constructor(value: TypeParameterEntity);
|
537
|
-
getEntity(): NamedTypeEntity;
|
538
|
-
getTypeParameters(): readonly TypeParameterEntity[];
|
561
|
+
constructor(value: e.TypeParameterEntity);
|
562
|
+
getEntity(): e.NamedTypeEntity;
|
563
|
+
getTypeParameters(): readonly e.TypeParameterEntity[];
|
539
564
|
}
|
540
565
|
export declare class NamedType_variant implements INamedType {
|
541
|
-
readonly value: PackageVariantTypeEntity;
|
566
|
+
readonly value: e.PackageVariantTypeEntity;
|
542
567
|
readonly kind = "variant";
|
543
|
-
constructor(value: PackageVariantTypeEntity);
|
544
|
-
getEntity(): NamedTypeEntity;
|
545
|
-
getTypeParameters(): readonly TypeParameterEntity[];
|
568
|
+
constructor(value: e.PackageVariantTypeEntity);
|
569
|
+
getEntity(): e.NamedTypeEntity;
|
570
|
+
getTypeParameters(): readonly e.TypeParameterEntity[];
|
546
571
|
}
|
547
572
|
export declare class NamedType_alias implements INamedType {
|
548
|
-
readonly value: AliasTypeEntity;
|
573
|
+
readonly value: e.AliasTypeEntity;
|
549
574
|
readonly kind = "alias";
|
550
|
-
constructor(value: AliasTypeEntity);
|
551
|
-
getEntity(): NamedTypeEntity;
|
552
|
-
getTypeParameters(): readonly TypeParameterEntity[];
|
575
|
+
constructor(value: e.AliasTypeEntity);
|
576
|
+
getEntity(): e.NamedTypeEntity;
|
577
|
+
getTypeParameters(): readonly e.TypeParameterEntity[];
|
553
578
|
}
|
554
579
|
interface INamedType {
|
555
|
-
getEntity(): NamedTypeEntity;
|
556
|
-
getTypeParameters(): readonly TypeParameterEntity[];
|
580
|
+
getEntity(): e.NamedTypeEntity;
|
581
|
+
getTypeParameters(): readonly e.TypeParameterEntity[];
|
557
582
|
}
|
558
583
|
export type OperatorDeclaration = OperatorDeclaration_entity | OperatorDeclaration_typeMember;
|
559
584
|
export declare class OperatorDeclaration_entity implements IOperatorDeclaration {
|
560
|
-
readonly operator: OperatorEntity;
|
585
|
+
readonly operator: e.OperatorEntity;
|
561
586
|
readonly localization: Localization;
|
562
587
|
readonly kind = "entity";
|
563
588
|
private readonly _valueParameters;
|
564
|
-
constructor(operator: OperatorEntity, localization: Localization);
|
589
|
+
constructor(operator: e.OperatorEntity, localization: Localization);
|
565
590
|
getLocalization(): Localization;
|
566
|
-
getOperatorKind(): OperatorKind;
|
591
|
+
getOperatorKind(): e.OperatorKind;
|
567
592
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
568
593
|
getReturnType(): types.Type;
|
569
|
-
|
594
|
+
getContainer(): DeclarationContainer | undefined;
|
570
595
|
}
|
571
596
|
export declare class OperatorDeclaration_typeMember implements IOperatorDeclaration {
|
572
597
|
readonly operator: types.Operator;
|
@@ -575,17 +600,17 @@ export declare class OperatorDeclaration_typeMember implements IOperatorDeclarat
|
|
575
600
|
private readonly _valueParameters;
|
576
601
|
constructor(operator: types.Operator, localization: Localization);
|
577
602
|
getLocalization(): Localization;
|
578
|
-
getOperatorKind(): OperatorKind;
|
603
|
+
getOperatorKind(): e.OperatorKind;
|
579
604
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
580
605
|
getReturnType(): types.Type;
|
581
|
-
|
606
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
582
607
|
}
|
583
608
|
interface IOperatorDeclaration {
|
584
609
|
getLocalization(): Localization;
|
585
|
-
getOperatorKind(): OperatorKind;
|
610
|
+
getOperatorKind(): e.OperatorKind;
|
586
611
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
587
612
|
getReturnType(): types.Type;
|
588
|
-
|
613
|
+
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
589
614
|
}
|
590
615
|
export type TypeUsage = StructuredTypeUsage | VariantTypeUsage | MethodTypeUsage | AliasTypeUsage | ParameterTypeUsage | UnionTypeUsage | UnresolvedTypeUsage;
|
591
616
|
export type StructuredTypeUsage = StructuredTypeUsage_type | StructuredTypeUsage_entity;
|
@@ -593,23 +618,26 @@ export declare class StructuredTypeUsage_type implements IStructuredTypeUsage {
|
|
593
618
|
readonly type: types.StructuredType;
|
594
619
|
readonly kind = "structured";
|
595
620
|
constructor(type: types.StructuredType);
|
596
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
621
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
597
622
|
getStructuredTypeKind(): StructuredTypeKind;
|
598
623
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
624
|
+
getContainer(): DeclarationContainer | undefined;
|
599
625
|
}
|
600
626
|
export declare class StructuredTypeUsage_entity implements IStructuredTypeUsage {
|
601
|
-
readonly entity: StructuredTypeEntity;
|
627
|
+
readonly entity: e.StructuredTypeEntity;
|
602
628
|
readonly kind = "structured";
|
603
|
-
constructor(entity: StructuredTypeEntity);
|
604
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
629
|
+
constructor(entity: e.StructuredTypeEntity);
|
630
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
605
631
|
getStructuredTypeKind(): StructuredTypeKind;
|
606
632
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
633
|
+
getContainer(): DeclarationContainer | undefined;
|
607
634
|
}
|
608
635
|
interface IStructuredTypeUsage {
|
609
636
|
readonly kind: 'structured';
|
610
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
637
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
611
638
|
getStructuredTypeKind(): StructuredTypeKind;
|
612
639
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
640
|
+
getContainer(): DeclarationContainer | undefined;
|
613
641
|
}
|
614
642
|
type StructuredTypeKind = 'ref-object' | 'plain-object' | 'aspect';
|
615
643
|
export type VariantTypeUsage = VariantTypeUsage_type | VariantTypeUsage_entity;
|
@@ -617,88 +645,97 @@ export declare class VariantTypeUsage_type implements IVariantTypeUsage {
|
|
617
645
|
readonly type: types.VariantType;
|
618
646
|
readonly kind = "variant";
|
619
647
|
constructor(type: types.VariantType);
|
620
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
648
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
649
|
+
getContainer(): DeclarationContainer | undefined;
|
621
650
|
}
|
622
651
|
export declare class VariantTypeUsage_entity implements IVariantTypeUsage {
|
623
|
-
readonly entity: VariantTypeEntity;
|
652
|
+
readonly entity: e.VariantTypeEntity;
|
624
653
|
readonly kind = "variant";
|
625
|
-
constructor(entity: VariantTypeEntity);
|
626
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
654
|
+
constructor(entity: e.VariantTypeEntity);
|
655
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
656
|
+
getContainer(): DeclarationContainer | undefined;
|
627
657
|
}
|
628
658
|
interface IVariantTypeUsage {
|
629
659
|
readonly kind: 'variant';
|
630
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
660
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
661
|
+
getContainer(): DeclarationContainer | undefined;
|
631
662
|
}
|
632
663
|
export type MethodTypeUsage = MethodTypeUsage_type | MethodTypeUsage_entity;
|
633
664
|
export declare class MethodTypeUsage_type implements IMethodTypeUsage {
|
634
665
|
readonly type: types.MethodType;
|
635
666
|
readonly kind = "method";
|
636
667
|
constructor(type: types.MethodType);
|
637
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
668
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
638
669
|
isAsync(): boolean;
|
639
670
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
640
671
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
641
672
|
getReturnType(): types.Type;
|
673
|
+
getContainer(): DeclarationContainer | undefined;
|
642
674
|
}
|
643
675
|
export declare class MethodTypeUsage_entity implements IMethodTypeUsage {
|
644
|
-
readonly entity: MethodTypeEntity;
|
676
|
+
readonly entity: e.MethodTypeEntity;
|
645
677
|
readonly kind = "method";
|
646
|
-
constructor(entity: MethodTypeEntity);
|
647
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
678
|
+
constructor(entity: e.MethodTypeEntity);
|
679
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
648
680
|
isAsync(): boolean;
|
649
681
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
650
682
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
651
683
|
getReturnType(): types.Type;
|
684
|
+
getContainer(): DeclarationContainer | undefined;
|
652
685
|
}
|
653
686
|
interface IMethodTypeUsage {
|
654
687
|
readonly kind: 'method';
|
655
|
-
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
688
|
+
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
656
689
|
isAsync(): boolean;
|
657
690
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
658
691
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
659
692
|
getReturnType(): types.Type;
|
693
|
+
getContainer(): DeclarationContainer | undefined;
|
660
694
|
}
|
661
695
|
export type AliasTypeUsage = AliasTypeUsage_type | AliasTypeUsage_entity;
|
662
696
|
export declare class AliasTypeUsage_type implements IAliasTypeUsage {
|
663
697
|
readonly type: types.AliasType;
|
664
698
|
readonly kind = "alias";
|
665
699
|
constructor(type: types.AliasType);
|
666
|
-
getEntity(): NamedTypeEntity;
|
700
|
+
getEntity(): e.NamedTypeEntity;
|
667
701
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
668
702
|
getAliasedType(): types.Type;
|
703
|
+
getContainer(): DeclarationContainer | undefined;
|
669
704
|
}
|
670
705
|
export declare class AliasTypeUsage_entity implements IAliasTypeUsage {
|
671
|
-
readonly entity: AliasTypeEntity;
|
706
|
+
readonly entity: e.AliasTypeEntity;
|
672
707
|
readonly kind = "alias";
|
673
|
-
constructor(entity: AliasTypeEntity);
|
674
|
-
getEntity(): NamedTypeEntity;
|
708
|
+
constructor(entity: e.AliasTypeEntity);
|
709
|
+
getEntity(): e.NamedTypeEntity;
|
675
710
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
676
711
|
getAliasedType(): types.Type;
|
712
|
+
getContainer(): DeclarationContainer | undefined;
|
677
713
|
}
|
678
714
|
interface IAliasTypeUsage {
|
679
715
|
readonly kind: 'alias';
|
680
|
-
getEntity(): NamedTypeEntity;
|
716
|
+
getEntity(): e.NamedTypeEntity;
|
681
717
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
682
718
|
getAliasedType(): types.Type;
|
719
|
+
getContainer(): DeclarationContainer | undefined;
|
683
720
|
}
|
684
721
|
export type ParameterTypeUsage = ParameterTypeUsage_type | ParameterTypeUsage_entity;
|
685
722
|
export declare class ParameterTypeUsage_type implements IParameterTypeUsage {
|
686
723
|
readonly type: types.ParameterType;
|
687
724
|
readonly kind = "parameter";
|
688
725
|
constructor(type: types.ParameterType);
|
689
|
-
getEntity(): NamedTypeEntity;
|
726
|
+
getEntity(): e.NamedTypeEntity;
|
690
727
|
isNoneExcluded(): boolean;
|
691
728
|
}
|
692
729
|
export declare class ParameterTypeUsage_entity implements IParameterTypeUsage {
|
693
|
-
readonly entity: TypeParameterEntity;
|
730
|
+
readonly entity: e.TypeParameterEntity;
|
694
731
|
readonly kind = "parameter";
|
695
|
-
constructor(entity: TypeParameterEntity);
|
696
|
-
getEntity(): NamedTypeEntity;
|
732
|
+
constructor(entity: e.TypeParameterEntity);
|
733
|
+
getEntity(): e.NamedTypeEntity;
|
697
734
|
isNoneExcluded(): boolean;
|
698
735
|
}
|
699
736
|
interface IParameterTypeUsage {
|
700
737
|
readonly kind: 'parameter';
|
701
|
-
getEntity(): NamedTypeEntity;
|
738
|
+
getEntity(): e.NamedTypeEntity;
|
702
739
|
isNoneExcluded(): boolean;
|
703
740
|
}
|
704
741
|
type UnionTypeUsage = UnionTypeUsage_type;
|
@@ -713,9 +750,26 @@ type UnresolvedTypeUsage = UnresolvedTypeUsage_type;
|
|
713
750
|
declare class UnresolvedTypeUsage_type {
|
714
751
|
readonly kind = "unresolved";
|
715
752
|
}
|
716
|
-
|
717
|
-
|
718
|
-
|
753
|
+
type TypeMemberDeclarationContainer = DeclarationContainer.Type | DeclarationContainer.TypeExtension;
|
754
|
+
type DeclarationContainer = DeclarationContainer.Type | DeclarationContainer.TypeExtension | DeclarationContainer.Package;
|
755
|
+
declare namespace DeclarationContainer {
|
756
|
+
class Type {
|
757
|
+
readonly typeUsage: TypeUsage;
|
758
|
+
readonly parent: Package | undefined;
|
759
|
+
readonly kind = "type";
|
760
|
+
constructor(typeUsage: TypeUsage, parent: Package | undefined);
|
761
|
+
}
|
762
|
+
class TypeExtension {
|
763
|
+
readonly entity: e.TypeExtensionEntity;
|
764
|
+
readonly parent: Package | undefined;
|
765
|
+
readonly kind = "type-extension";
|
766
|
+
constructor(entity: e.TypeExtensionEntity, parent: Package | undefined);
|
767
|
+
}
|
768
|
+
class Package {
|
769
|
+
readonly entity: e.PackageEntity;
|
770
|
+
readonly kind = "package";
|
771
|
+
constructor(entity: e.PackageEntity);
|
772
|
+
}
|
719
773
|
}
|
720
774
|
export declare class MethodDeclarationDisplayParts {
|
721
775
|
readonly asyncKeywordWithWhitespace: string;
|
@@ -761,6 +815,7 @@ export declare class ValueParameterDeclarationDisplayParts {
|
|
761
815
|
export declare class TypeDeclarationDisplayParts {
|
762
816
|
readonly typeKeyword: string;
|
763
817
|
readonly whitespaceAfterTypeKeyword: string;
|
818
|
+
readonly container: string;
|
764
819
|
readonly name: string;
|
765
820
|
readonly constraint: string;
|
766
821
|
readonly typeParametersStart: string;
|
@@ -769,7 +824,7 @@ export declare class TypeDeclarationDisplayParts {
|
|
769
824
|
readonly typeParametersEnd: string;
|
770
825
|
readonly equalsSignWithWhitespace: string;
|
771
826
|
readonly typeBody: string;
|
772
|
-
constructor(typeKeyword: string, whitespaceAfterTypeKeyword: string, name: string, constraint: string, typeParametersStart: string, typeParameters: readonly string[], typeParameterSeparator: string, typeParametersEnd: string, equalsSignWithWhitespace: string, typeBody: string);
|
827
|
+
constructor(typeKeyword: string, whitespaceAfterTypeKeyword: string, container: string, name: string, constraint: string, typeParametersStart: string, typeParameters: readonly string[], typeParameterSeparator: string, typeParametersEnd: string, equalsSignWithWhitespace: string, typeBody: string);
|
773
828
|
toString(): string;
|
774
829
|
}
|
775
830
|
export declare class ConstructorDeclarationDisplayParts {
|