@artel/artc 0.6.25224 → 0.6.25226
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 +81 -79
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +995 -1001
- package/build/{chunk-62KHK23H.js → chunk-MHPX52MT.js} +3 -3
- package/build/{chunk-24QZJOMF.js → chunk-VRQPLLYS.js} +5414 -5323
- package/build/{chunk-Y6DODJCG.js → chunk-YNR2KYMJ.js} +3 -3
- package/build/types/analysis/AccessedFunction.d.ts +53 -0
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +15 -15
- package/build/types/analysis/Analyzer.d.ts +133 -124
- package/build/types/analysis/CallExpressionMeaning.d.ts +10 -10
- package/build/types/analysis/DiagnosticCollector.d.ts +16 -16
- package/build/types/analysis/EntityLocalizationHelper.d.ts +6 -6
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +10 -10
- package/build/types/analysis/LocalizationContext.d.ts +2 -2
- package/build/types/analysis/{PropertyAccessExpressionMeaning.d.ts → MemberAccessExpressionMeaning.d.ts} +20 -20
- package/build/types/analysis/NodeTypeUtils.d.ts +13 -13
- package/build/types/analysis/OperationOverloadResolver.d.ts +1 -1
- package/build/types/analysis/Scope.d.ts +15 -15
- package/build/types/analysis/SemanticContext.d.ts +29 -29
- package/build/types/analysis/SemanticContextBuilder.d.ts +22 -22
- package/build/types/analysis/SourceFileMembers.d.ts +2 -2
- package/build/types/analysis/StatementBlockScopeBuilder.d.ts +12 -12
- package/build/types/analysis/{SubstitutedMethod.d.ts → SubstitutedFunction.d.ts} +14 -14
- package/build/types/analysis/TagMeaning.d.ts +19 -19
- package/build/types/analysis/Tags.d.ts +6 -6
- package/build/types/analysis/Utils.d.ts +3 -3
- package/build/types/analysis/WellKnownDeclarations.d.ts +4 -4
- package/build/types/analysis/control-flow/NarrowableExpression.d.ts +1 -1
- package/build/types/api/Api.d.ts +3 -3
- package/build/types/diagnostic/DiagnosticCode.d.ts +125 -126
- package/build/types/emitter/EmitPhaseName.d.ts +8 -8
- package/build/types/emitter/Emitter.d.ts +4 -4
- package/build/types/emitter/EmitterContext.d.ts +2 -2
- package/build/types/emitter/Entities.d.ts +26 -25
- package/build/types/emitter/EntityMap.d.ts +8 -8
- package/build/types/emitter/IrBuilder.d.ts +18 -18
- package/build/types/emitter/IrToJs.d.ts +9 -9
- package/build/types/emitter/Transformer.d.ts +37 -37
- package/build/types/emitter/ir/AccessedEntities.d.ts +5 -5
- package/build/types/emitter/ir/ComputedAccess.d.ts +5 -5
- package/build/types/emitter/ir/EmitOptions.d.ts +41 -27
- package/build/types/emitter/ir/Nodes.d.ts +140 -139
- package/build/types/emitter/ir/types.d.ts +8 -8
- package/build/types/entities/ConstructorEntity.d.ts +9 -9
- package/build/types/entities/DereferenceOperatorEntity.d.ts +4 -4
- package/build/types/entities/DestructorEntity.d.ts +4 -4
- package/build/types/entities/{MethodEntity.d.ts → FunctionEntity.d.ts} +36 -36
- package/build/types/entities/{MethodTypeEntity.d.ts → FunctionTypeEntity.d.ts} +23 -23
- package/build/types/entities/GetterEntity.d.ts +9 -9
- package/build/types/entities/IndexerEntity.d.ts +4 -4
- package/build/types/entities/SetterEntity.d.ts +9 -9
- package/build/types/entities/TypeEntity.d.ts +3 -3
- package/build/types/entities/TypeEntityMembers.d.ts +3 -3
- package/build/types/entities/TypeParameterEntity.d.ts +2 -2
- package/build/types/entities/VariableEntity.d.ts +32 -32
- package/build/types/entities/index.d.ts +14 -14
- package/build/types/services/CompletionService.d.ts +8 -8
- package/build/types/services/DisplayService.d.ts +62 -62
- package/build/types/services/HoverService.d.ts +1 -1
- package/build/types/services/NodeSemanticInfo.d.ts +17 -17
- package/build/types/services/SemanticTokensService.d.ts +6 -6
- package/build/types/services/SourceFileItemsService.d.ts +11 -11
- package/build/types/services/TypeDefinitionService.d.ts +2 -2
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +10 -10
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -1
- package/build/types/services/source-generation/EntityToSyntax.d.ts +9 -9
- package/build/types/tree/NodeKind.d.ts +146 -148
- package/build/types/tree/green/Nodes.d.ts +119 -139
- package/build/types/tree/green/SyntaxFactory.d.ts +19 -19
- package/build/types/tree/green/SyntaxToCode.d.ts +20 -22
- package/build/types/tree/red/Nodes.d.ts +165 -189
- package/build/types/ts-interop/Entities.d.ts +28 -28
- package/build/types/ts-interop/TsInteropContext.d.ts +1 -1
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +1 -1
- package/build/types/ts-interop/TsTypeMembersCreator.d.ts +1 -1
- package/build/types/types/{MethodType.d.ts → FunctionType.d.ts} +6 -6
- package/build/types/types/StandardTypes.d.ts +2 -2
- package/build/types/types/Type.d.ts +2 -2
- package/build/types/types/TypeFactory.d.ts +6 -7
- package/build/types/types/TypeMembers.d.ts +8 -8
- package/build/types/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/build/types/analysis/AccessedMethod.d.ts +0 -53
@@ -3,10 +3,10 @@ import { ConstructorEntity } from './ConstructorEntity.js';
|
|
3
3
|
import { DereferenceOperatorEntity } from './DereferenceOperatorEntity.js';
|
4
4
|
import { DestructorEntity } from './DestructorEntity.js';
|
5
5
|
import { IndexerEntity } from './IndexerEntity.js';
|
6
|
-
import {
|
6
|
+
import { MethodEntity } from './FunctionEntity.js';
|
7
7
|
import { OperatorEntity } from './OperatorEntity.js';
|
8
8
|
import { OperatorKind } from './OperatorKind.js';
|
9
|
-
import {
|
9
|
+
import { FieldEntity } from './VariableEntity.js';
|
10
10
|
export declare class OriginalTypeEntityMembers {
|
11
11
|
private readonly _namedMembers;
|
12
12
|
private readonly _operators;
|
@@ -28,4 +28,4 @@ export declare class OriginalTypeEntityMembers {
|
|
28
28
|
getConstructors(): readonly ConstructorEntity[];
|
29
29
|
getDestructors(): readonly DestructorEntity[];
|
30
30
|
}
|
31
|
-
export type NamedTypeMemberEntity =
|
31
|
+
export type NamedTypeMemberEntity = FieldEntity | MethodEntity;
|
@@ -3,7 +3,7 @@ import { Tag } from '../analysis/Tags.js';
|
|
3
3
|
import { Name } from '../common/index.js';
|
4
4
|
import { TypeParameterDeclaration } from '../tree/index.js';
|
5
5
|
import * as types from '../types/index.js';
|
6
|
-
import { AliasTypeEntity, DefinitionKind, EntityHidingLevel, EntityKind, ITypeEntity,
|
6
|
+
import { AliasTypeEntity, DefinitionKind, EntityHidingLevel, EntityKind, ITypeEntity, FunctionEntity, FunctionTypeEntity, StructuredTypeEntity, TypeEntityKind, VariantTypeEntity } from './index.js';
|
7
7
|
export interface TypeParameterEntity extends ITypeEntity {
|
8
8
|
readonly kind: EntityKind.Type;
|
9
9
|
readonly typeEntityKind: TypeEntityKind.Parameter;
|
@@ -27,7 +27,7 @@ export type TypeParameterEntityDefinition = {
|
|
27
27
|
} | {
|
28
28
|
kind: DefinitionKind.TypeScript;
|
29
29
|
};
|
30
|
-
export type EntityContainingTypeParameter = VariantTypeEntity |
|
30
|
+
export type EntityContainingTypeParameter = VariantTypeEntity | FunctionEntity | FunctionTypeEntity | StructuredTypeEntity | AliasTypeEntity;
|
31
31
|
/**
|
32
32
|
* Класс позволяет работать с ограничением параметра шаблона, исключая циклы.
|
33
33
|
*
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { Tag } from '../analysis/Tags.js';
|
2
2
|
import { Analyzer } from '../analysis/index.js';
|
3
3
|
import { Lazy, Name } from '../common/index.js';
|
4
|
-
import { EnumerationVariableDeclaration, ErrorVariableDeclaration,
|
4
|
+
import { EnumerationVariableDeclaration, ErrorVariableDeclaration, FieldDeclaration, FieldGetterDeclaration, FieldSetterDeclaration, FunctionLiteral, LocalVariableDeclaration, PackageVariableDeclaration, PackageVariableGetterDeclaration, PackageVariableSetterDeclaration, ParameterDeclaration, VariantDeclaration } from '../tree/index.js';
|
5
5
|
import * as types from '../types/index.js';
|
6
6
|
import type { Entity, IndexerEntity, PackageEntity } from './index.js';
|
7
|
-
import { Entity as ActualEntity, ConstructorEntity, DefinitionKind, DestructorEntity, EntityHidingLevel, EntityKind,
|
8
|
-
export type VariableEntity = PackageVariableEntity |
|
7
|
+
import { Entity as ActualEntity, ConstructorEntity, DefinitionKind, DestructorEntity, EntityHidingLevel, EntityKind, FunctionEntity, FunctionTypeEntity, GetterEntity, OperatorEntity, SetterEntity, TypeMemberEntityContainer } from './index.js';
|
8
|
+
export type VariableEntity = PackageVariableEntity | FieldEntity | ParameterVariableEntity | LocalVariableEntity;
|
9
9
|
export interface PackageVariableEntity extends IVariableEntity {
|
10
10
|
readonly subkind: 'package';
|
11
11
|
getContainingPackage(): PackageEntity;
|
12
12
|
}
|
13
|
-
export interface
|
14
|
-
readonly subkind: '
|
13
|
+
export interface FieldEntity extends IVariableEntity {
|
14
|
+
readonly subkind: 'field';
|
15
15
|
getContainer(): TypeMemberEntityContainer;
|
16
16
|
isStatic(): boolean;
|
17
17
|
isRedefinable(): boolean;
|
@@ -42,20 +42,20 @@ interface IVariableEntity {
|
|
42
42
|
isSpecial(): SpecialVariableEntityInfo | undefined;
|
43
43
|
getTags(): readonly Tag[];
|
44
44
|
}
|
45
|
-
export type ParameterVariableEntityContainer = ParameterVariableEntityContainer.Entity | ParameterVariableEntityContainer.
|
45
|
+
export type ParameterVariableEntityContainer = ParameterVariableEntityContainer.Entity | ParameterVariableEntityContainer.FunctionLiteral;
|
46
46
|
export declare namespace ParameterVariableEntityContainer {
|
47
47
|
class Entity {
|
48
48
|
readonly entity: EntityContainingValueParameter;
|
49
49
|
readonly kind = "entity";
|
50
50
|
constructor(entity: EntityContainingValueParameter);
|
51
51
|
}
|
52
|
-
class
|
53
|
-
readonly
|
54
|
-
readonly kind = "
|
55
|
-
constructor(
|
52
|
+
class FunctionLiteral {
|
53
|
+
readonly entityContainingFunction: ActualEntity;
|
54
|
+
readonly kind = "function-literal";
|
55
|
+
constructor(entityContainingFunction: ActualEntity);
|
56
56
|
}
|
57
57
|
}
|
58
|
-
export type EntityContainingValueParameter =
|
58
|
+
export type EntityContainingValueParameter = FunctionEntity | IndexerEntity | ConstructorEntity | DestructorEntity | FunctionTypeEntity | SetterEntity | OperatorEntity;
|
59
59
|
export type VariableEntityDefinition = {
|
60
60
|
kind: DefinitionKind.Source;
|
61
61
|
value: SourceVariableEntityDefinition;
|
@@ -67,18 +67,18 @@ export type VariableEntityDefinition = {
|
|
67
67
|
export type SourceVariableEntityDefinition = SingleSourceVariableEntityDefinition | MultiSourceVariableEntityDefinition;
|
68
68
|
export type SingleSourceVariableEntityDefinition = {
|
69
69
|
kind: 'single';
|
70
|
-
node: PackageVariableDeclaration |
|
70
|
+
node: PackageVariableDeclaration | FieldDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ErrorVariableDeclaration | ParameterDeclaration | VariantDeclaration;
|
71
71
|
};
|
72
72
|
export type MultiSourceVariableEntityDefinition = {
|
73
73
|
kind: 'multi';
|
74
|
-
nodes: ReadonlyArray<PackageVariableGetterDeclaration | PackageVariableSetterDeclaration |
|
74
|
+
nodes: ReadonlyArray<PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | ParameterDeclaration>;
|
75
75
|
};
|
76
|
-
export declare class
|
76
|
+
export declare class ImplicitFunctionBlockParameterSpecialVariableEntityInfo {
|
77
77
|
readonly targetTypeParameter: types.ValueParameter;
|
78
|
-
readonly kind = "implicit-
|
78
|
+
readonly kind = "implicit-function-block-parameter";
|
79
79
|
constructor(targetTypeParameter: types.ValueParameter);
|
80
80
|
}
|
81
|
-
export type SpecialVariableEntityInfo = ResultSpecialVariableEntityInfo | ValueSpecialVariableEntityInfo | BackingSpecialVariableEntityInfo |
|
81
|
+
export type SpecialVariableEntityInfo = ResultSpecialVariableEntityInfo | ValueSpecialVariableEntityInfo | BackingSpecialVariableEntityInfo | ImplicitFunctionBlockParameterSpecialVariableEntityInfo;
|
82
82
|
export declare class ResultSpecialVariableEntityInfo {
|
83
83
|
readonly kind = "result";
|
84
84
|
}
|
@@ -86,9 +86,9 @@ export declare class ValueSpecialVariableEntityInfo {
|
|
86
86
|
readonly kind = "value";
|
87
87
|
}
|
88
88
|
export declare class BackingSpecialVariableEntityInfo {
|
89
|
-
readonly computedVariable: PackageVariableEntity |
|
89
|
+
readonly computedVariable: PackageVariableEntity | FieldEntity;
|
90
90
|
readonly kind = "backing";
|
91
|
-
constructor(computedVariable: PackageVariableEntity |
|
91
|
+
constructor(computedVariable: PackageVariableEntity | FieldEntity);
|
92
92
|
}
|
93
93
|
export declare class PackageVariableDeclarationEntity implements PackageVariableEntity {
|
94
94
|
private readonly _analyzer;
|
@@ -131,16 +131,16 @@ export declare class ComputedPackageVariableDeclarationEntity implements Package
|
|
131
131
|
isSpecial(): SpecialVariableEntityInfo | undefined;
|
132
132
|
getTags(): readonly Tag[];
|
133
133
|
}
|
134
|
-
export declare class
|
134
|
+
export declare class FieldDeclarationEntity implements FieldEntity {
|
135
135
|
readonly kind = EntityKind.Variable;
|
136
|
-
readonly subkind = "
|
136
|
+
readonly subkind = "field";
|
137
137
|
private readonly _analyzer;
|
138
138
|
private readonly _node;
|
139
139
|
private readonly _typeInferrer;
|
140
140
|
private readonly _overriddenMembers;
|
141
141
|
private readonly _modifierFlags;
|
142
142
|
private get modifierFlags();
|
143
|
-
constructor(analyzer: Analyzer, node:
|
143
|
+
constructor(analyzer: Analyzer, node: FieldDeclaration);
|
144
144
|
getName(): Name;
|
145
145
|
getType(): types.Type;
|
146
146
|
getDefinition(): VariableEntityDefinition;
|
@@ -158,9 +158,9 @@ export declare class TypeVariableDeclarationEntity implements TypeVariableEntity
|
|
158
158
|
getOverriddenMembers(): readonly types.Variable[];
|
159
159
|
isVariant(): boolean;
|
160
160
|
}
|
161
|
-
export declare class
|
161
|
+
export declare class ComputedFieldDeclarationEntity implements FieldEntity {
|
162
162
|
readonly kind = EntityKind.Variable;
|
163
|
-
readonly subkind = "
|
163
|
+
readonly subkind = "field";
|
164
164
|
private readonly _analyzer;
|
165
165
|
private readonly _getterDeclaration;
|
166
166
|
private readonly _setterDeclaration;
|
@@ -168,7 +168,7 @@ export declare class ComputedTypeVariableDeclarationEntity implements TypeVariab
|
|
168
168
|
private readonly _overriddenMembers;
|
169
169
|
private readonly _modifierFlags;
|
170
170
|
private get modifierFlags();
|
171
|
-
constructor(analyzer: Analyzer, getterDeclaration:
|
171
|
+
constructor(analyzer: Analyzer, getterDeclaration: FieldGetterDeclaration | undefined, setterDeclaration: FieldSetterDeclaration | undefined);
|
172
172
|
getName(): Name;
|
173
173
|
getType(): types.Type;
|
174
174
|
getContainer(): TypeMemberEntityContainer;
|
@@ -186,9 +186,9 @@ export declare class ComputedTypeVariableDeclarationEntity implements TypeVariab
|
|
186
186
|
getOverriddenMembers(): readonly types.Variable[];
|
187
187
|
isVariant(): boolean;
|
188
188
|
}
|
189
|
-
export declare class VariantDeclarationEntity implements
|
189
|
+
export declare class VariantDeclarationEntity implements FieldEntity {
|
190
190
|
readonly kind = EntityKind.Variable;
|
191
|
-
readonly subkind = "
|
191
|
+
readonly subkind = "field";
|
192
192
|
private readonly _analyzer;
|
193
193
|
private readonly _node;
|
194
194
|
private readonly _variantTypeDeclaration;
|
@@ -284,7 +284,7 @@ export declare class ParameterDeclarationEntity implements ParameterVariableEnti
|
|
284
284
|
isOptional(): boolean;
|
285
285
|
isVariadic(): boolean;
|
286
286
|
}
|
287
|
-
export declare class
|
287
|
+
export declare class IndexParameterDeclarationEntity implements ParameterVariableEntity {
|
288
288
|
private readonly _analyzer;
|
289
289
|
private readonly _getterParameterDeclaration;
|
290
290
|
private readonly _setterParameterDeclaration;
|
@@ -307,14 +307,14 @@ export declare class TypeIndexerParameterDeclarationEntity implements ParameterV
|
|
307
307
|
isOptional(): boolean;
|
308
308
|
isVariadic(): boolean;
|
309
309
|
}
|
310
|
-
export declare class
|
310
|
+
export declare class FunctionLiteralParameterDeclarationEntity implements ParameterVariableEntity {
|
311
311
|
private readonly _analyzer;
|
312
312
|
private readonly _node;
|
313
|
-
private readonly
|
313
|
+
private readonly _functionLiteral;
|
314
314
|
readonly kind = EntityKind.Variable;
|
315
315
|
readonly subkind = "parameter";
|
316
316
|
private readonly _parameterIndex;
|
317
|
-
constructor(_analyzer: Analyzer, _node: ParameterDeclaration,
|
317
|
+
constructor(_analyzer: Analyzer, _node: ParameterDeclaration, _functionLiteral: FunctionLiteral);
|
318
318
|
getName(): Name;
|
319
319
|
getType(): types.Type;
|
320
320
|
getDefinition(): VariableEntityDefinition;
|
@@ -350,7 +350,7 @@ export declare class IntrinsicPackageVariableEntity implements PackageVariableEn
|
|
350
350
|
getTags(): readonly Tag[];
|
351
351
|
getContainingPackage(): PackageEntity;
|
352
352
|
}
|
353
|
-
export declare class
|
353
|
+
export declare class IntrinsicFieldEntity implements FieldEntity {
|
354
354
|
private readonly _name;
|
355
355
|
private readonly _type;
|
356
356
|
private readonly _container;
|
@@ -364,7 +364,7 @@ export declare class IntrinsicTypeVariableEntity implements TypeVariableEntity {
|
|
364
364
|
private readonly _setter;
|
365
365
|
private readonly _overriddenMembers;
|
366
366
|
readonly kind = EntityKind.Variable;
|
367
|
-
readonly subkind = "
|
367
|
+
readonly subkind = "field";
|
368
368
|
constructor(_name: Name, _type: types.Type, _container: TypeMemberEntityContainer, _isStatic: boolean, _isRedefinable: boolean, _isRedefined: boolean, _isAbstract: boolean, _isSpecial: SpecialVariableEntityInfo | undefined, _isHidden: EntityHidingLevel | undefined, _getter: GetterEntity | undefined, _setter: SetterEntity | undefined, _overriddenMembers: readonly types.Variable[]);
|
369
369
|
getName(): Name;
|
370
370
|
getType(): types.Type;
|
@@ -4,8 +4,8 @@ import { DereferenceOperatorEntity } from './DereferenceOperatorEntity.js';
|
|
4
4
|
import { DestructorEntity } from './DestructorEntity.js';
|
5
5
|
import { GetterEntity } from './GetterEntity.js';
|
6
6
|
import { IndexerEntity } from './IndexerEntity.js';
|
7
|
-
import {
|
8
|
-
import {
|
7
|
+
import { FunctionEntity, MethodEntity, PackageFunctionEntity } from './FunctionEntity.js';
|
8
|
+
import { FunctionTypeEntity, PackageFunctionTypeEntity } from './FunctionTypeEntity.js';
|
9
9
|
import { OperatorEntity } from './OperatorEntity.js';
|
10
10
|
import { PackageAliasEntity } from './PackageAliasEntity.js';
|
11
11
|
import { PackageEntity } from './PackageEntity.js';
|
@@ -14,7 +14,7 @@ import { PackageStructuredTypeEntity, StructuredTypeEntity } from './StructuredT
|
|
14
14
|
import { TypeEntity } from './TypeEntity.js';
|
15
15
|
import { TypeExtensionEntity } from './TypeExtensionEntity.js';
|
16
16
|
import { TypeParameterEntity } from './TypeParameterEntity.js';
|
17
|
-
import { PackageVariableEntity,
|
17
|
+
import { PackageVariableEntity, FieldEntity, VariableEntity } from './VariableEntity.js';
|
18
18
|
import { PackageVariantTypeEntity, VariantTypeEntity } from './VariantTypeEntity.js';
|
19
19
|
export * from './AliasTypeEntity.js';
|
20
20
|
export * from './ConstructorEntity.js';
|
@@ -24,8 +24,8 @@ export * from './EntityHiding.js';
|
|
24
24
|
export * from './EntityNaming.js';
|
25
25
|
export * from './GetterEntity.js';
|
26
26
|
export * from './IndexerEntity.js';
|
27
|
-
export * from './
|
28
|
-
export * from './
|
27
|
+
export * from './FunctionEntity.js';
|
28
|
+
export * from './FunctionTypeEntity.js';
|
29
29
|
export * from './OperatorEntity.js';
|
30
30
|
export * from './OperatorKind.js';
|
31
31
|
export * from './PackageAliasEntity.js';
|
@@ -46,7 +46,7 @@ export declare const enum DefinitionKind {
|
|
46
46
|
}
|
47
47
|
export declare const enum EntityKind {
|
48
48
|
Variable = 0,
|
49
|
-
|
49
|
+
Function = 1,
|
50
50
|
Type = 2,
|
51
51
|
Getter = 3,
|
52
52
|
Setter = 4,
|
@@ -59,23 +59,23 @@ export declare const enum EntityKind {
|
|
59
59
|
TypeExtension = 11,
|
60
60
|
Package = 12
|
61
61
|
}
|
62
|
-
export type Entity = PackageEntity | VariableEntity | VariantTypeEntity | GetterEntity | SetterEntity |
|
63
|
-
export type PackageTypeEntity =
|
62
|
+
export type Entity = PackageEntity | VariableEntity | VariantTypeEntity | GetterEntity | SetterEntity | FunctionEntity | TypeParameterEntity | OperatorEntity | IndexerEntity | DereferenceOperatorEntity | ConstructorEntity | DestructorEntity | FunctionTypeEntity | StructuredTypeEntity | PackageAliasEntity | AliasTypeEntity | TypeExtensionEntity;
|
63
|
+
export type PackageTypeEntity = PackageFunctionTypeEntity | PackageStructuredTypeEntity | PackageVariantTypeEntity | AliasTypeEntity;
|
64
64
|
export declare function isPackageTypeEntity(entity: TypeEntity): entity is PackageTypeEntity;
|
65
|
-
export type NamedTypeEntity =
|
66
|
-
export type TypeEntityWithMembers =
|
65
|
+
export type NamedTypeEntity = PackageFunctionTypeEntity | PackageStructuredTypeEntity | PackageVariantTypeEntity | AliasTypeEntity | TypeParameterEntity;
|
66
|
+
export type TypeEntityWithMembers = FunctionTypeEntity | StructuredTypeEntity | VariantTypeEntity | AliasTypeEntity;
|
67
67
|
export declare function isTypeEntityWithMembers(entity: TypeEntity): entity is TypeEntityWithMembers;
|
68
68
|
export type TypeOrExtensionEntity = TypeEntity | TypeExtensionEntity;
|
69
69
|
export type TypeWithMembersOrExtensionEntity = TypeEntityWithMembers | TypeExtensionEntity;
|
70
70
|
export declare function isTypeWithMembersOrExtensionEntity(entity: Entity): entity is TypeWithMembersOrExtensionEntity;
|
71
71
|
export declare function isTypeEntity(entity: Entity): entity is TypeEntity;
|
72
72
|
export declare function isNamedTypeEntity(entity: TypeEntity): entity is NamedTypeEntity;
|
73
|
-
export type PackageMemberEntity = PackageVariableEntity |
|
73
|
+
export type PackageMemberEntity = PackageVariableEntity | PackageFunctionEntity | PackageTypeEntity | TypeExtensionEntity;
|
74
74
|
export declare function isPackageMemberEntity(entity: Entity): entity is PackageMemberEntity;
|
75
|
-
export type NamedPackageMemberEntity = PackageVariableEntity |
|
76
|
-
export type EntityWithTags = ConstructorEntity | DestructorEntity | IndexerEntity | DereferenceOperatorEntity |
|
75
|
+
export type NamedPackageMemberEntity = PackageVariableEntity | PackageFunctionEntity | PackageTypeEntity;
|
76
|
+
export type EntityWithTags = ConstructorEntity | DestructorEntity | IndexerEntity | DereferenceOperatorEntity | FunctionEntity | VariableEntity | GetterEntity | SetterEntity | TypeEntity | OperatorEntity;
|
77
77
|
export declare function isEntityWithTags(entity: Entity): entity is EntityWithTags;
|
78
|
-
export type TypeMemberEntity =
|
78
|
+
export type TypeMemberEntity = FieldEntity | MethodEntity | OperatorEntity | ConstructorEntity | DestructorEntity | IndexerEntity | DereferenceOperatorEntity;
|
79
79
|
export declare function isTypeMemberEntity(entity: Entity): entity is TypeMemberEntity;
|
80
80
|
export declare function entityToStringDecorator<T extends {
|
81
81
|
new (...args: any[]): Entity;
|
@@ -50,7 +50,7 @@ export declare class CompletionService {
|
|
50
50
|
private getTopLevelAliasListCompletionItemInfos;
|
51
51
|
private getTypeAliasMemberListItemInfos;
|
52
52
|
private getOperatorNameItemInfos;
|
53
|
-
private
|
53
|
+
private mergeOverloadedFunctions;
|
54
54
|
private removeCompletionItemsWithDuplicateLabels;
|
55
55
|
private convertCompletionItemInfos;
|
56
56
|
private convertCompletionItemInfo;
|
@@ -69,23 +69,23 @@ export declare class CompletionItem {
|
|
69
69
|
export declare const enum CompletionItemKind {
|
70
70
|
PackageNameSegment = 0,
|
71
71
|
PackageAlias = 1,
|
72
|
-
|
73
|
-
|
72
|
+
Field = 2,
|
73
|
+
Method = 3,
|
74
74
|
Operator = 4,
|
75
|
-
|
76
|
-
|
75
|
+
Indexer = 5,
|
76
|
+
Constructor = 6,
|
77
77
|
PackageVariable = 7,
|
78
|
-
|
78
|
+
PackageFunction = 8,
|
79
79
|
LocalVariable = 9,
|
80
80
|
ParameterVariable = 10,
|
81
|
-
|
81
|
+
NestedFunction = 11,
|
82
82
|
Variant = 12,
|
83
83
|
RefObjectType = 13,
|
84
84
|
PlainObjectType = 14,
|
85
85
|
AspectType = 15,
|
86
86
|
VariantType = 16,
|
87
87
|
TypeParameter = 17,
|
88
|
-
|
88
|
+
FunctionType = 18,
|
89
89
|
AliasType = 19,
|
90
90
|
InvalidType = 20,
|
91
91
|
Keyword = 21,
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { AccessedFunction } from '../analysis/AccessedFunction.js';
|
2
2
|
import { PackageNameTreeNode } from '../analysis/ImportedPackageNameTree.js';
|
3
3
|
import { Localization } from '../analysis/Localization.js';
|
4
4
|
import { LocalizationContext, NamedEntity } from '../analysis/LocalizationContext.js';
|
5
|
-
import {
|
5
|
+
import { SubstitutedFunction } from '../analysis/SubstitutedFunction.js';
|
6
6
|
import { Analyzer } from '../analysis/index.js';
|
7
7
|
import { HelperPhraseKind } from '../common/HelperPhrases.js';
|
8
8
|
import { PackageDialect, PackageLocale } from '../common/index.js';
|
@@ -16,15 +16,15 @@ export declare class DisplayService {
|
|
16
16
|
constructor(_analyzer: Analyzer | undefined, _lctxOrLocale: LocalizationContext | PackageLocale, _dialect?: PackageDialect | undefined);
|
17
17
|
displayVariableDeclaration(variable: VariableDeclaration): string;
|
18
18
|
displayType(type: types.Type): string;
|
19
|
-
|
19
|
+
getFunctionTypeBodyDisplayParts(type: types.FunctionType): FunctionTypeBodyDisplayParts;
|
20
20
|
getNamedTypeDisplayParts(type: NamedType): NamedTypeDisplayParts;
|
21
21
|
displayPackageAliasEntity(entity: e.PackageAliasEntity): string;
|
22
22
|
displayPackage(package_: e.PackageEntity): string;
|
23
23
|
displayPackageNameTreeNode(node: PackageNameTreeNode): string;
|
24
24
|
displayValueParameterDeclaration(parameter: ValueParameterDeclaration, typeDisplayOptions?: TypeDisplayOptions): string;
|
25
25
|
getValueParameterDeclarationDisplayParts(parameter: ValueParameterDeclaration, typeDisplayOptions?: TypeDisplayOptions): ValueParameterDeclarationDisplayParts;
|
26
|
-
|
27
|
-
|
26
|
+
displayFunctionDeclaration(func: FunctionDeclaration): string;
|
27
|
+
getFunctionDeclarationDisplayParts(func: FunctionDeclaration): FunctionDeclarationDisplayParts;
|
28
28
|
displayOperatorDeclaration(operator: OperatorDeclaration): string;
|
29
29
|
getOperatorDeclarationDisplayParts(operator: OperatorDeclaration): OperatorDeclarationDisplayParts;
|
30
30
|
displayOperatorKind(kind: e.OperatorKind, locale: PackageLocale): string;
|
@@ -51,7 +51,7 @@ export declare class DisplayService {
|
|
51
51
|
private displayTypeEntityAsUsage;
|
52
52
|
private displayStructuredTypeUsage;
|
53
53
|
private displayVariantTypeUsage;
|
54
|
-
private
|
54
|
+
private displayFunctionTypeUsage;
|
55
55
|
private displayParameterTypeUsage;
|
56
56
|
private displayAliasTypeUsage;
|
57
57
|
private displayUnionOrIntersectionTypeUsage;
|
@@ -64,7 +64,7 @@ export declare class DisplayService {
|
|
64
64
|
}
|
65
65
|
interface TypeDisplayOptions {
|
66
66
|
readonly unionAndAliasTypeDisplayKind: UnionAndAliasTypeDisplayKind;
|
67
|
-
readonly
|
67
|
+
readonly displayFullVersionOfNamedFunctionType: boolean;
|
68
68
|
readonly displayContainer: boolean;
|
69
69
|
}
|
70
70
|
declare const enum UnionAndAliasTypeDisplayKind {
|
@@ -104,15 +104,15 @@ interface IVariableDeclaration {
|
|
104
104
|
isOptionalParameter(): boolean;
|
105
105
|
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
106
106
|
}
|
107
|
-
export type
|
108
|
-
export declare class
|
107
|
+
export type FunctionDeclaration = FunctionDeclaration_entity | FunctionDeclaration_typeMember | FunctionDeclaration_substitutedFunction | FunctionDeclaration_accessedFunction;
|
108
|
+
export declare class FunctionDeclaration_entity implements IFunctionDeclaration {
|
109
109
|
readonly kind = "entity";
|
110
110
|
private readonly _typeParameterValues;
|
111
111
|
private readonly _valueParameters;
|
112
|
-
readonly
|
112
|
+
readonly func: e.FunctionEntity;
|
113
113
|
readonly localization: Localization;
|
114
|
-
constructor(
|
115
|
-
getEntity(): e.
|
114
|
+
constructor(func: e.FunctionEntity, localization: Localization);
|
115
|
+
getEntity(): e.FunctionEntity;
|
116
116
|
getLocalization(): Localization;
|
117
117
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
118
118
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
@@ -120,14 +120,14 @@ export declare class MethodDeclaration_entity implements IMethodDeclaration {
|
|
120
120
|
isAsync(): boolean;
|
121
121
|
getContainer(): DeclarationContainer | undefined;
|
122
122
|
}
|
123
|
-
export declare class
|
123
|
+
export declare class FunctionDeclaration_typeMember implements IFunctionDeclaration {
|
124
124
|
readonly kind = "type-member";
|
125
125
|
private readonly _typeParameterValues;
|
126
126
|
private readonly _valueParameters;
|
127
|
-
readonly
|
127
|
+
readonly func: types.Method;
|
128
128
|
readonly localization: Localization;
|
129
|
-
constructor(
|
130
|
-
getEntity(): e.
|
129
|
+
constructor(func: types.Method, localization: Localization);
|
130
|
+
getEntity(): e.FunctionEntity;
|
131
131
|
getLocalization(): Localization;
|
132
132
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
133
133
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
@@ -135,14 +135,14 @@ export declare class MethodDeclaration_typeMember implements IMethodDeclaration
|
|
135
135
|
isAsync(): boolean;
|
136
136
|
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
137
137
|
}
|
138
|
-
export declare class
|
139
|
-
readonly
|
138
|
+
export declare class FunctionDeclaration_substitutedFunction implements IFunctionDeclaration {
|
139
|
+
readonly func: SubstitutedFunction;
|
140
140
|
readonly localization: Localization;
|
141
|
-
readonly kind = "substituted-
|
141
|
+
readonly kind = "substituted-function";
|
142
142
|
private readonly _typeParameterValues;
|
143
143
|
private readonly _valueParameters;
|
144
|
-
constructor(
|
145
|
-
getEntity(): e.
|
144
|
+
constructor(func: SubstitutedFunction, localization: Localization);
|
145
|
+
getEntity(): e.FunctionEntity;
|
146
146
|
getLocalization(): Localization;
|
147
147
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
148
148
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
@@ -150,14 +150,14 @@ export declare class MethodDeclaration_substitutedMethod implements IMethodDecla
|
|
150
150
|
isAsync(): boolean;
|
151
151
|
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
152
152
|
}
|
153
|
-
export declare class
|
154
|
-
readonly
|
153
|
+
export declare class FunctionDeclaration_accessedFunction implements IFunctionDeclaration {
|
154
|
+
readonly func: AccessedFunction;
|
155
155
|
readonly localization: Localization;
|
156
|
-
readonly kind = "accessed-
|
156
|
+
readonly kind = "accessed-function";
|
157
157
|
private readonly _typeParameterValues;
|
158
158
|
private readonly _valueParameters;
|
159
|
-
constructor(
|
160
|
-
getEntity(): e.
|
159
|
+
constructor(func: AccessedFunction, localization: Localization);
|
160
|
+
getEntity(): e.FunctionEntity;
|
161
161
|
getLocalization(): Localization;
|
162
162
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
163
163
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
@@ -165,8 +165,8 @@ export declare class MethodDeclaration_accessedMethod implements IMethodDeclarat
|
|
165
165
|
isAsync(): boolean;
|
166
166
|
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
167
167
|
}
|
168
|
-
interface
|
169
|
-
getEntity(): e.
|
168
|
+
interface IFunctionDeclaration {
|
169
|
+
getEntity(): e.FunctionEntity;
|
170
170
|
getLocalization(): Localization;
|
171
171
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
172
172
|
getValueParameters(): readonly ValueParameterDeclaration[];
|
@@ -262,7 +262,7 @@ interface IIndexerDeclaration {
|
|
262
262
|
getType(): types.Type;
|
263
263
|
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
264
264
|
}
|
265
|
-
export type ValueParameterDeclaration = ValueParameterDeclaration_entity | ValueParameterDeclaration_typeMember |
|
265
|
+
export type ValueParameterDeclaration = ValueParameterDeclaration_entity | ValueParameterDeclaration_typeMember | ValueParameterDeclaration_substitutedFunction | ValueParameterDeclaration_matchResultValueParameter | ValueParameterDeclaration_universal;
|
266
266
|
export declare class ValueParameterDeclaration_entity implements IValueParameter {
|
267
267
|
readonly value: e.VariableEntity;
|
268
268
|
readonly localization: Localization;
|
@@ -285,7 +285,7 @@ export declare class ValueParameterDeclaration_typeMember implements IValueParam
|
|
285
285
|
isOptional(): boolean;
|
286
286
|
getType(): types.Type;
|
287
287
|
}
|
288
|
-
export declare class
|
288
|
+
export declare class ValueParameterDeclaration_substitutedFunction implements IValueParameter {
|
289
289
|
readonly entity: e.VariableEntity;
|
290
290
|
readonly type: types.Type;
|
291
291
|
readonly localization: Localization;
|
@@ -343,7 +343,7 @@ export declare class TypeParameterValue_typeArgument {
|
|
343
343
|
readonly kind = "type-argument";
|
344
344
|
constructor(value: types.Type);
|
345
345
|
}
|
346
|
-
export type TypeDeclaration = TypeDeclaration_structured |
|
346
|
+
export type TypeDeclaration = TypeDeclaration_structured | TypeDeclaration_function | TypeDeclaration_variant | TypeDeclaration_alias | TypeDeclaration_parameter | TypeDeclaration_unresolved;
|
347
347
|
export declare class TypeDeclaration_structured implements ITypeDeclaration {
|
348
348
|
readonly value: TypeDeclarationStructured;
|
349
349
|
readonly kind = "structured";
|
@@ -391,23 +391,23 @@ interface ITypeDeclarationStructured {
|
|
391
391
|
isAspect(): boolean;
|
392
392
|
getContainer(): DeclarationContainer | undefined;
|
393
393
|
}
|
394
|
-
export declare class
|
395
|
-
readonly value:
|
396
|
-
readonly kind = "
|
397
|
-
constructor(value:
|
394
|
+
export declare class TypeDeclaration_function implements ITypeDeclaration {
|
395
|
+
readonly value: TypeDeclarationFunction;
|
396
|
+
readonly kind = "function";
|
397
|
+
constructor(value: TypeDeclarationFunction);
|
398
398
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
399
399
|
getLocalization(): Localization;
|
400
400
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
401
401
|
getContainer(): DeclarationContainer | undefined;
|
402
402
|
}
|
403
|
-
export type
|
404
|
-
export declare class
|
405
|
-
readonly entity: e.
|
403
|
+
export type TypeDeclarationFunction = TypeDeclarationFunction_entity | TypeDeclarationFunction_type;
|
404
|
+
export declare class TypeDeclarationFunction_entity implements ITypeDeclarationFunction {
|
405
|
+
readonly entity: e.FunctionTypeEntity;
|
406
406
|
readonly localization: Localization;
|
407
407
|
readonly kind = "entity";
|
408
408
|
private readonly _typeParameterValues;
|
409
409
|
private readonly _valueParameters;
|
410
|
-
constructor(entity: e.
|
410
|
+
constructor(entity: e.FunctionTypeEntity, localization: Localization);
|
411
411
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
412
412
|
getLocalization(): Localization;
|
413
413
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
@@ -416,13 +416,13 @@ export declare class TypeDeclarationMethod_entity implements ITypeDeclarationMet
|
|
416
416
|
isAsync(): boolean;
|
417
417
|
getContainer(): DeclarationContainer | undefined;
|
418
418
|
}
|
419
|
-
export declare class
|
420
|
-
readonly type: types.
|
419
|
+
export declare class TypeDeclarationFunction_type implements ITypeDeclarationFunction {
|
420
|
+
readonly type: types.FunctionType;
|
421
421
|
readonly localization: Localization;
|
422
422
|
readonly kind = "type";
|
423
423
|
private readonly _typeParameterValues;
|
424
424
|
private readonly _valueParameters;
|
425
|
-
constructor(type: types.
|
425
|
+
constructor(type: types.FunctionType, localization: Localization);
|
426
426
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
427
427
|
getLocalization(): Localization;
|
428
428
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
@@ -431,7 +431,7 @@ export declare class TypeDeclarationMethod_type implements ITypeDeclarationMetho
|
|
431
431
|
isAsync(): boolean;
|
432
432
|
getContainer(): DeclarationContainer | undefined;
|
433
433
|
}
|
434
|
-
interface
|
434
|
+
interface ITypeDeclarationFunction {
|
435
435
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
436
436
|
getLocalization(): Localization;
|
437
437
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
@@ -544,11 +544,11 @@ interface ITypeDeclaration {
|
|
544
544
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
545
545
|
getContainer(): DeclarationContainer | undefined;
|
546
546
|
}
|
547
|
-
type NamedType =
|
548
|
-
export declare class
|
549
|
-
readonly value: e.
|
550
|
-
readonly kind = "
|
551
|
-
constructor(value: e.
|
547
|
+
type NamedType = NamedType_function | NamedType_structured | NamedType_typeParameter | NamedType_variant | NamedType_alias;
|
548
|
+
export declare class NamedType_function implements INamedType {
|
549
|
+
readonly value: e.PackageFunctionTypeEntity;
|
550
|
+
readonly kind = "function";
|
551
|
+
constructor(value: e.PackageFunctionTypeEntity);
|
552
552
|
getEntity(): e.NamedTypeEntity;
|
553
553
|
getTypeParameters(): readonly e.TypeParameterEntity[];
|
554
554
|
}
|
@@ -616,7 +616,7 @@ interface IOperatorDeclaration {
|
|
616
616
|
getReturnType(): types.Type;
|
617
617
|
getContainer(analyzer: Analyzer | undefined): DeclarationContainer | undefined;
|
618
618
|
}
|
619
|
-
export type TypeUsage = StructuredTypeUsage | VariantTypeUsage |
|
619
|
+
export type TypeUsage = StructuredTypeUsage | VariantTypeUsage | FunctionTypeUsage | AliasTypeUsage | ParameterTypeUsage | UnionOrIntersectionTypeUsage | UnresolvedTypeUsage;
|
620
620
|
export type StructuredTypeUsage = StructuredTypeUsage_type | StructuredTypeUsage_entity;
|
621
621
|
export declare class StructuredTypeUsage_type implements IStructuredTypeUsage {
|
622
622
|
readonly type: types.StructuredType;
|
@@ -664,11 +664,11 @@ interface IVariantTypeUsage {
|
|
664
664
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
665
665
|
getContainer(): DeclarationContainer | undefined;
|
666
666
|
}
|
667
|
-
export type
|
668
|
-
export declare class
|
669
|
-
readonly type: types.
|
670
|
-
readonly kind = "
|
671
|
-
constructor(type: types.
|
667
|
+
export type FunctionTypeUsage = FunctionTypeUsage_type | FunctionTypeUsage_entity;
|
668
|
+
export declare class FunctionTypeUsage_type implements IFunctionTypeUsage {
|
669
|
+
readonly type: types.FunctionType;
|
670
|
+
readonly kind = "function";
|
671
|
+
constructor(type: types.FunctionType);
|
672
672
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
673
673
|
isAsync(): boolean;
|
674
674
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
@@ -676,10 +676,10 @@ export declare class MethodTypeUsage_type implements IMethodTypeUsage {
|
|
676
676
|
getReturnType(): types.Type;
|
677
677
|
getContainer(): DeclarationContainer | undefined;
|
678
678
|
}
|
679
|
-
export declare class
|
680
|
-
readonly entity: e.
|
681
|
-
readonly kind = "
|
682
|
-
constructor(entity: e.
|
679
|
+
export declare class FunctionTypeUsage_entity implements IFunctionTypeUsage {
|
680
|
+
readonly entity: e.FunctionTypeEntity;
|
681
|
+
readonly kind = "function";
|
682
|
+
constructor(entity: e.FunctionTypeEntity);
|
683
683
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
684
684
|
isAsync(): boolean;
|
685
685
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
@@ -687,8 +687,8 @@ export declare class MethodTypeUsage_entity implements IMethodTypeUsage {
|
|
687
687
|
getReturnType(): types.Type;
|
688
688
|
getContainer(): DeclarationContainer | undefined;
|
689
689
|
}
|
690
|
-
interface
|
691
|
-
readonly kind: '
|
690
|
+
interface IFunctionTypeUsage {
|
691
|
+
readonly kind: 'function';
|
692
692
|
ifNamedThenEntity(): e.NamedTypeEntity | undefined;
|
693
693
|
isAsync(): boolean;
|
694
694
|
getTypeParameterValues(): readonly TypeParameterValue[];
|
@@ -776,7 +776,7 @@ declare namespace DeclarationContainer {
|
|
776
776
|
constructor(entity: e.PackageEntity);
|
777
777
|
}
|
778
778
|
}
|
779
|
-
export declare class
|
779
|
+
export declare class FunctionDeclarationDisplayParts {
|
780
780
|
readonly asyncKeywordWithWhitespace: string;
|
781
781
|
readonly functionKeyword: string;
|
782
782
|
readonly whitespaceAfterFunctionKeyword: string;
|
@@ -867,7 +867,7 @@ export declare class NamedTypeDisplayParts {
|
|
867
867
|
readonly postfix: string;
|
868
868
|
constructor(prefix: string, typeParameters: readonly string[], typeParameterSeparator: string, postfix: string);
|
869
869
|
}
|
870
|
-
export declare class
|
870
|
+
export declare class FunctionTypeBodyDisplayParts {
|
871
871
|
readonly asyncKeywordWithWhitespace: string;
|
872
872
|
readonly functionKeyword: string;
|
873
873
|
readonly valueParametersStart: string;
|