@artel/artc 0.6.25230 → 0.6.25232
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 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +13 -13
- package/build/{chunk-ZUIGWNN5.js → chunk-E72KEKQV.js} +10116 -8220
- package/build/{chunk-3LHZOXTJ.js → chunk-QDDCF32T.js} +2 -2
- package/build/{chunk-WS3ILL2L.js → chunk-S7ZUX7EX.js} +1 -1
- package/build/types/analysis/Analyzer.d.ts +66 -28
- package/build/types/analysis/BaseExpressionMeaning.d.ts +6 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +4 -0
- package/build/types/analysis/FindModifier.d.ts +1 -0
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +1 -1
- package/build/types/analysis/ModifierFlags.d.ts +9 -4
- package/build/types/analysis/ModifierValidator.d.ts +84 -0
- package/build/types/analysis/TypeMemberConflictsValidator.d.ts +22 -0
- package/build/types/analysis/TypeMemberImplementationValidator.d.ts +13 -0
- package/build/types/common/ArrayUtils.d.ts +13 -0
- package/build/types/common/index.d.ts +1 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +92 -51
- package/build/types/entities/DereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/FunctionEntity.d.ts +0 -1
- package/build/types/entities/IndexerEntity.d.ts +3 -1
- package/build/types/entities/OperatorEntity.d.ts +0 -1
- package/build/types/entities/StructuredTypeEntity.d.ts +13 -13
- package/build/types/entities/TypeEntityMembers.d.ts +5 -3
- package/build/types/entities/VariableEntity.d.ts +4 -2
- package/build/types/entities/index.d.ts +9 -14
- package/build/types/project/SourcePackage.d.ts +7 -7
- package/build/types/services/DisplayService.d.ts +1 -0
- package/build/types/services/NodeSemanticInfo.d.ts +1 -1
- package/build/types/tree/green/Nodes.d.ts +2 -2
- package/build/types/tree/red/Nodes.d.ts +1 -1
- package/build/types/ts-interop/Entities.d.ts +5 -5
- package/build/types/types/StructuredType.d.ts +2 -0
- package/build/types/types/TypeMembers.d.ts +4 -4
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Tag } from '../analysis/Tags.js';
|
2
2
|
import { Analyzer } from '../analysis/index.js';
|
3
3
|
import { Name } from '../common/index.js';
|
4
|
-
import
|
4
|
+
import * as tree from '../tree/index.js';
|
5
5
|
import * as types from '../types/index.js';
|
6
6
|
import { EntityNaming } from './EntityNaming.js';
|
7
7
|
import { NamedTypeMemberEntity, OriginalTypeEntityMembers } from './TypeEntityMembers.js';
|
@@ -24,7 +24,7 @@ interface IStructuredTypeEntity extends ITypeEntity {
|
|
24
24
|
getTypeParameters(): readonly TypeParameterEntity[];
|
25
25
|
getMembers(): OriginalTypeEntityMembers;
|
26
26
|
getDefinition(): StructuredTypeEntityDefinition;
|
27
|
-
|
27
|
+
markedBasic(): boolean;
|
28
28
|
isAbstract(): boolean;
|
29
29
|
isAspect(): boolean;
|
30
30
|
isRefObject(): boolean;
|
@@ -50,7 +50,7 @@ export type StructuredTypeEntityDefinition = {
|
|
50
50
|
} | {
|
51
51
|
kind: DefinitionKind.TypeScript;
|
52
52
|
};
|
53
|
-
type StructuredTypeEntityDefinitionNode = PackageStructuredTypeDeclaration | AnonymousStructuredTypeDeclaration;
|
53
|
+
type StructuredTypeEntityDefinitionNode = tree.PackageStructuredTypeDeclaration | tree.AnonymousStructuredTypeDeclaration;
|
54
54
|
/**
|
55
55
|
* Класс позволяет работать с базовым объектным типом, исключая циклы наследования.
|
56
56
|
*
|
@@ -122,14 +122,14 @@ export declare class PackageStructuredTypeDeclarationEntity implements PackageSt
|
|
122
122
|
private readonly _analyzer;
|
123
123
|
private readonly _node;
|
124
124
|
private readonly _data;
|
125
|
-
constructor(analyzer: Analyzer, node: PackageStructuredTypeDeclaration);
|
125
|
+
constructor(analyzer: Analyzer, node: tree.PackageStructuredTypeDeclaration);
|
126
126
|
getNaming(): EntityNaming;
|
127
127
|
getName(): Name;
|
128
128
|
getContainingPackage(): PackageEntity;
|
129
129
|
getTypeParameters(): readonly TypeParameterEntity[];
|
130
130
|
getMembers(): OriginalTypeEntityMembers;
|
131
131
|
getDefinition(): StructuredTypeEntityDefinition;
|
132
|
-
|
132
|
+
markedBasic(): boolean;
|
133
133
|
isAbstract(): boolean;
|
134
134
|
isAspect(): boolean;
|
135
135
|
isRefObject(): boolean;
|
@@ -146,19 +146,18 @@ export declare class SourcePackageStructuredTypeDeclarationData {
|
|
146
146
|
private readonly _node;
|
147
147
|
private readonly _entity;
|
148
148
|
private readonly _typeParameters;
|
149
|
-
private readonly
|
150
|
-
private readonly _baseAspectTypes;
|
149
|
+
private readonly _baseTypes;
|
151
150
|
private readonly _members;
|
152
151
|
private _modifierFlags;
|
153
152
|
private get modifierFlags();
|
154
|
-
constructor(analyzer: Analyzer, node: PackageStructuredTypeDeclaration, entity: PackageStructuredTypeEntity);
|
153
|
+
constructor(analyzer: Analyzer, node: tree.PackageStructuredTypeDeclaration, entity: PackageStructuredTypeEntity);
|
155
154
|
getNaming(): EntityNaming;
|
156
155
|
getName(): Name;
|
157
156
|
getContainingPackage(): PackageEntity;
|
158
157
|
getTypeParameters(): readonly TypeParameterEntity[];
|
159
158
|
getMembers(): OriginalTypeEntityMembers;
|
160
159
|
getDefinition(): StructuredTypeEntityDefinition;
|
161
|
-
|
160
|
+
markedBasic(): boolean;
|
162
161
|
isAbstract(): boolean;
|
163
162
|
isAspect(): boolean;
|
164
163
|
isRefObject(): boolean;
|
@@ -169,6 +168,7 @@ export declare class SourcePackageStructuredTypeDeclarationData {
|
|
169
168
|
isHidden(): EntityHidingLevel | undefined;
|
170
169
|
getTags(): readonly Tag[];
|
171
170
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
171
|
+
private getBaseTypes;
|
172
172
|
}
|
173
173
|
export declare class AnonymousStructuredTypeDeclarationEntity implements AnonymousStructuredTypeEntity {
|
174
174
|
private readonly _analyzer;
|
@@ -176,15 +176,14 @@ export declare class AnonymousStructuredTypeDeclarationEntity implements Anonymo
|
|
176
176
|
readonly kind = EntityKind.Type;
|
177
177
|
readonly typeEntityKind = TypeEntityKind.Structured;
|
178
178
|
readonly subkind = "anonymous";
|
179
|
-
private readonly
|
180
|
-
private readonly _baseAspectTypes;
|
179
|
+
private readonly _baseTypes;
|
181
180
|
private readonly _members;
|
182
|
-
constructor(_analyzer: Analyzer, _node: AnonymousStructuredTypeDeclaration);
|
181
|
+
constructor(_analyzer: Analyzer, _node: tree.AnonymousStructuredTypeDeclaration);
|
183
182
|
getNaming(): EntityNaming;
|
184
183
|
getTypeParameters(): readonly TypeParameterEntity[];
|
185
184
|
getMembers(): OriginalTypeEntityMembers;
|
186
185
|
getDefinition(): StructuredTypeEntityDefinition;
|
187
|
-
|
186
|
+
markedBasic(): boolean;
|
188
187
|
isAbstract(): boolean;
|
189
188
|
isAspect(): boolean;
|
190
189
|
isRefObject(): boolean;
|
@@ -196,6 +195,7 @@ export declare class AnonymousStructuredTypeDeclarationEntity implements Anonymo
|
|
196
195
|
getTags(): readonly Tag[];
|
197
196
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
198
197
|
getContainingPackage(): PackageEntity;
|
198
|
+
private getBaseTypes;
|
199
199
|
}
|
200
200
|
export declare class UnfinishedIntrinsicPackageStructuredTypeEntity {
|
201
201
|
private readonly _unfinishedValue;
|
@@ -2,23 +2,24 @@ import { Name } from '../common/index.js';
|
|
2
2
|
import { ConstructorEntity } from './ConstructorEntity.js';
|
3
3
|
import { DereferenceOperatorEntity } from './DereferenceOperatorEntity.js';
|
4
4
|
import { DestructorEntity } from './DestructorEntity.js';
|
5
|
-
import { IndexerEntity } from './IndexerEntity.js';
|
6
5
|
import { MethodEntity } from './FunctionEntity.js';
|
6
|
+
import { IndexerEntity } from './IndexerEntity.js';
|
7
7
|
import { OperatorEntity } from './OperatorEntity.js';
|
8
8
|
import { OperatorKind } from './OperatorKind.js';
|
9
9
|
import { FieldEntity } from './VariableEntity.js';
|
10
|
+
import { TypeMemberEntity } from './index.js';
|
10
11
|
export declare class OriginalTypeEntityMembers {
|
11
12
|
private readonly _namedMembers;
|
12
13
|
private readonly _operators;
|
13
14
|
private readonly _constructors;
|
14
15
|
private readonly _destructors;
|
15
16
|
private readonly _indexers;
|
16
|
-
private readonly
|
17
|
+
private readonly _dereferenceOperators;
|
17
18
|
private readonly _membersByNameKey;
|
18
19
|
private readonly _operatorsByKind;
|
19
20
|
private get membersByNameKey();
|
20
21
|
private get operatorByKind();
|
21
|
-
constructor(_namedMembers: readonly NamedTypeMemberEntity[], _operators: readonly OperatorEntity[], _constructors: readonly ConstructorEntity[], _destructors: readonly DestructorEntity[], _indexers: readonly IndexerEntity[],
|
22
|
+
constructor(_namedMembers: readonly NamedTypeMemberEntity[], _operators: readonly OperatorEntity[], _constructors: readonly ConstructorEntity[], _destructors: readonly DestructorEntity[], _indexers: readonly IndexerEntity[], _dereferenceOperators: readonly DereferenceOperatorEntity[]);
|
22
23
|
getNamedMembers(): readonly NamedTypeMemberEntity[];
|
23
24
|
getNamedMembersByName(name: Name): readonly NamedTypeMemberEntity[];
|
24
25
|
getOperators(): readonly OperatorEntity[];
|
@@ -27,5 +28,6 @@ export declare class OriginalTypeEntityMembers {
|
|
27
28
|
getDereferenceOperators(): readonly DereferenceOperatorEntity[];
|
28
29
|
getConstructors(): readonly ConstructorEntity[];
|
29
30
|
getDestructors(): readonly DestructorEntity[];
|
31
|
+
getAll(): readonly TypeMemberEntity[];
|
30
32
|
}
|
31
33
|
export type NamedTypeMemberEntity = FieldEntity | MethodEntity;
|
@@ -133,6 +133,7 @@ export declare class ComputedPackageVariableDeclarationEntity implements Package
|
|
133
133
|
private readonly _setterDeclaration;
|
134
134
|
private readonly _getterOrSetterDeclaration;
|
135
135
|
private _modifierFlags;
|
136
|
+
private _hasReportedAllDiagnostics;
|
136
137
|
private get modifierFlags();
|
137
138
|
constructor(analyzer: Analyzer, getterDeclaration: tree.PackageVariableGetterDeclaration | undefined, setterDeclaration: tree.PackageVariableSetterDeclaration | undefined);
|
138
139
|
getName(): Name;
|
@@ -145,6 +146,7 @@ export declare class ComputedPackageVariableDeclarationEntity implements Package
|
|
145
146
|
getSetter(): SetterEntity | undefined;
|
146
147
|
isSpecial(): SpecialVariableEntityInfo | undefined;
|
147
148
|
getTags(): readonly Tag[];
|
149
|
+
ensureAllDiagnosticsReported(): void;
|
148
150
|
}
|
149
151
|
export declare class FieldDeclarationEntity implements FieldEntity {
|
150
152
|
readonly kind = EntityKind.Variable;
|
@@ -152,7 +154,6 @@ export declare class FieldDeclarationEntity implements FieldEntity {
|
|
152
154
|
private readonly _analyzer;
|
153
155
|
private readonly _node;
|
154
156
|
private readonly _typeInferrer;
|
155
|
-
private readonly _overriddenMembers;
|
156
157
|
private _modifierFlags;
|
157
158
|
private _hasReportedAllDiagnostics;
|
158
159
|
private get modifierFlags();
|
@@ -182,8 +183,8 @@ export declare class ComputedFieldDeclarationEntity implements FieldEntity {
|
|
182
183
|
private readonly _getterDeclaration;
|
183
184
|
private readonly _setterDeclaration;
|
184
185
|
private readonly _getterOrSetterDeclaration;
|
185
|
-
private readonly _overriddenMembers;
|
186
186
|
private _modifierFlags;
|
187
|
+
private _hasReportedAllDiagnostics;
|
187
188
|
private get modifierFlags();
|
188
189
|
constructor(analyzer: Analyzer, getterDeclaration: tree.FieldGetterDeclaration | undefined, setterDeclaration: tree.FieldSetterDeclaration | undefined);
|
189
190
|
getName(): Name;
|
@@ -202,6 +203,7 @@ export declare class ComputedFieldDeclarationEntity implements FieldEntity {
|
|
202
203
|
getTags(): readonly Tag[];
|
203
204
|
getOverriddenMembers(): readonly types.Field[];
|
204
205
|
isVariant(): boolean;
|
206
|
+
ensureAllDiagnosticsReported(): void;
|
205
207
|
}
|
206
208
|
export declare class VariantDeclarationEntity implements FieldEntity {
|
207
209
|
readonly kind = EntityKind.Variable;
|
@@ -1,11 +1,13 @@
|
|
1
|
+
import { Analyzer } from '../analysis/Analyzer.js';
|
2
|
+
import * as types from '../types/index.js';
|
1
3
|
import { AliasTypeEntity } from './AliasTypeEntity.js';
|
2
4
|
import { ConstructorEntity } from './ConstructorEntity.js';
|
3
5
|
import { DereferenceOperatorEntity } from './DereferenceOperatorEntity.js';
|
4
6
|
import { DestructorEntity } from './DestructorEntity.js';
|
5
|
-
import { GetterEntity } from './GetterEntity.js';
|
6
|
-
import { IndexerEntity } from './IndexerEntity.js';
|
7
7
|
import { FunctionEntity, MethodEntity, PackageFunctionEntity } from './FunctionEntity.js';
|
8
8
|
import { FunctionTypeEntity, PackageFunctionTypeEntity } from './FunctionTypeEntity.js';
|
9
|
+
import { GetterEntity } from './GetterEntity.js';
|
10
|
+
import { IndexerEntity } from './IndexerEntity.js';
|
9
11
|
import { OperatorEntity } from './OperatorEntity.js';
|
10
12
|
import { PackageAliasEntity } from './PackageAliasEntity.js';
|
11
13
|
import { PackageEntity } from './PackageEntity.js';
|
@@ -14,7 +16,7 @@ import { PackageStructuredTypeEntity, StructuredTypeEntity } from './StructuredT
|
|
14
16
|
import { TypeEntity } from './TypeEntity.js';
|
15
17
|
import { TypeExtensionEntity } from './TypeExtensionEntity.js';
|
16
18
|
import { TypeParameterEntity } from './TypeParameterEntity.js';
|
17
|
-
import {
|
19
|
+
import { FieldEntity, PackageVariableEntity, VariableEntity } from './VariableEntity.js';
|
18
20
|
import { PackageVariantTypeEntity, VariantTypeEntity } from './VariantTypeEntity.js';
|
19
21
|
export * from './AliasTypeEntity.js';
|
20
22
|
export * from './ConstructorEntity.js';
|
@@ -22,10 +24,10 @@ export * from './DereferenceOperatorEntity.js';
|
|
22
24
|
export * from './DestructorEntity.js';
|
23
25
|
export * from './EntityHiding.js';
|
24
26
|
export * from './EntityNaming.js';
|
25
|
-
export * from './GetterEntity.js';
|
26
|
-
export * from './IndexerEntity.js';
|
27
27
|
export * from './FunctionEntity.js';
|
28
28
|
export * from './FunctionTypeEntity.js';
|
29
|
+
export * from './GetterEntity.js';
|
30
|
+
export * from './IndexerEntity.js';
|
29
31
|
export * from './OperatorEntity.js';
|
30
32
|
export * from './OperatorKind.js';
|
31
33
|
export * from './PackageAliasEntity.js';
|
@@ -96,18 +98,11 @@ export declare namespace TypeMemberEntity {
|
|
96
98
|
* Объявление можно заменить в производном типе, если оно не всеобщее, и выполняется одно из условий:
|
97
99
|
* - объявление помечено модификатором "базовое"
|
98
100
|
* - объявление помечено модификатором "абстрактное"
|
99
|
-
* - объявление помечено модификатором "расширенное"
|
100
|
-
* - объявление является членом аспектного типа
|
101
101
|
*/
|
102
102
|
function isBasic(entity: TypeMemberEntity): boolean;
|
103
|
-
/**
|
104
|
-
* Возвращает `true`, если объявление не имеет реализации.
|
105
|
-
*
|
106
|
-
* Объявление не имеет реализации, если выполняется одно из условий:
|
107
|
-
* - объявление помечено модификатором "абстрактное"
|
108
|
-
* - объявление является является членом аспекта, не помечено модификатором "базовое" и не является всеобщим.
|
109
|
-
*/
|
110
103
|
function isAbstract(entity: TypeMemberEntity): boolean;
|
104
|
+
function getOverriddenMembers(entity: TypeMemberEntity): readonly types.TypeMember[];
|
105
|
+
function instantiate(analyzer: Analyzer, entity: TypeMemberEntity, substitutions: types.Substitutions): types.TypeMember;
|
111
106
|
}
|
112
107
|
export declare function entityToStringDecorator<T extends {
|
113
108
|
new (...args: any[]): Entity;
|
@@ -10,7 +10,7 @@ declare abstract class SourcePackageBase {
|
|
10
10
|
get compilation(): Compilation;
|
11
11
|
protected abstract get asPackage(): SourcePackage;
|
12
12
|
abstract get locale(): PackageLocale;
|
13
|
-
abstract get dialect(): PackageDialect
|
13
|
+
abstract get dialect(): PackageDialect;
|
14
14
|
constructor(uri: Uri, name: PackageName, sourceFiles: readonly SourceFile[]);
|
15
15
|
/**
|
16
16
|
* Данный метод должен вызываться только из конструктора компиляции (Compilation).
|
@@ -22,7 +22,7 @@ export declare class ProgramPackage extends SourcePackageBase {
|
|
22
22
|
readonly configuration: ProgramPackageConfiguration;
|
23
23
|
protected get asPackage(): SourcePackage;
|
24
24
|
get locale(): PackageLocale;
|
25
|
-
get dialect(): PackageDialect
|
25
|
+
get dialect(): PackageDialect;
|
26
26
|
constructor(uri: Uri, configuration: ProgramPackageConfiguration, sourceFiles: readonly SourceFile[]);
|
27
27
|
}
|
28
28
|
export declare class TranslationPackage extends SourcePackageBase {
|
@@ -30,7 +30,7 @@ export declare class TranslationPackage extends SourcePackageBase {
|
|
30
30
|
readonly configuration: TranslationPackageConfiguration;
|
31
31
|
protected get asPackage(): SourcePackage;
|
32
32
|
get locale(): PackageLocale;
|
33
|
-
get dialect(): PackageDialect
|
33
|
+
get dialect(): PackageDialect;
|
34
34
|
constructor(uri: Uri, configuration: TranslationPackageConfiguration, sourceFiles: SourceFile[]);
|
35
35
|
}
|
36
36
|
export type PackageConfiguration = ProgramPackageConfiguration | TranslationPackageConfiguration;
|
@@ -39,14 +39,14 @@ export declare class TranslationPackageConfiguration {
|
|
39
39
|
readonly translatedName: PackageName;
|
40
40
|
readonly translationLocale: PackageLocale;
|
41
41
|
readonly locale: PackageLocale;
|
42
|
-
readonly dialect
|
42
|
+
readonly dialect: PackageDialect;
|
43
43
|
get name(): PackageName;
|
44
|
-
constructor(targetPackageName: PackageName, translatedName: PackageName, translationLocale: PackageLocale, locale: PackageLocale, dialect?: PackageDialect
|
44
|
+
constructor(targetPackageName: PackageName, translatedName: PackageName, translationLocale: PackageLocale, locale: PackageLocale, dialect?: PackageDialect);
|
45
45
|
}
|
46
46
|
export declare class ProgramPackageConfiguration {
|
47
47
|
readonly name: PackageName;
|
48
48
|
readonly locale: PackageLocale;
|
49
|
-
readonly dialect
|
49
|
+
readonly dialect: PackageDialect;
|
50
50
|
readonly version?: string | undefined;
|
51
51
|
readonly targetPlatform: TargetPlatformConfig;
|
52
52
|
readonly requiredPackages: readonly RequiredPackageConfig[];
|
@@ -54,7 +54,7 @@ export declare class ProgramPackageConfiguration {
|
|
54
54
|
readonly jsProjectRootUri?: Uri | undefined;
|
55
55
|
readonly packageImportLocales: readonly PackageImportLocaleConfig[];
|
56
56
|
readonly automaticallyImportedPackages?: readonly PackageName[] | undefined;
|
57
|
-
constructor(name: PackageName, locale: PackageLocale, dialect?: PackageDialect
|
57
|
+
constructor(name: PackageName, locale: PackageLocale, dialect?: PackageDialect, version?: string | undefined, targetPlatform?: TargetPlatformConfig, requiredPackages?: readonly RequiredPackageConfig[], implementedInterfacePackageName?: PackageName | undefined, jsProjectRootUri?: Uri | undefined, packageImportLocales?: readonly PackageImportLocaleConfig[], automaticallyImportedPackages?: readonly PackageName[] | undefined);
|
58
58
|
isInterfacePackage(): boolean;
|
59
59
|
}
|
60
60
|
export declare class PackageName {
|
@@ -45,6 +45,7 @@ export declare class DisplayService {
|
|
45
45
|
displayTypeExtensionEntity(entity: e.TypeExtensionEntity): string;
|
46
46
|
displayEntity(entity: e.Entity, localization?: Localization): string;
|
47
47
|
displayTypeEntity(entity: e.TypeEntity, localization?: Localization): string;
|
48
|
+
displayTypeMember(member: types.TypeMember, localization?: Localization): string;
|
48
49
|
displayKeyword(kind: KeywordKind): string;
|
49
50
|
displayHelperPhrase(kind: HelperPhraseKind): string;
|
50
51
|
displayEntityName(entity: NamedEntity, localization: Localization | undefined): string;
|
@@ -13,7 +13,7 @@ export declare class NodeSemanticInfoService {
|
|
13
13
|
static ofTokenOrKeyword(analyzer: Analyzer, tokenOrKeyword: TokenOrKeyword, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
14
14
|
static ofDefaultMatchExpression(analyzer: Analyzer, node: tree.DefaultMatchExpression): NodeSemanticInfo | undefined;
|
15
15
|
static ofNonKeywordIdentifier(analyzer: Analyzer, node: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
16
|
-
static
|
16
|
+
static ofMember(analyzer: Analyzer, node: tree.MemberAccessExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
17
17
|
static ofQualifiedNameQualifier(analyzer: Analyzer, node: tree.QualifiedName, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
18
18
|
static ofNamedTypeSpecifierNameQualifier(analyzer: Analyzer, node: tree.NamedTypeSpecifier, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
19
19
|
static ofTagNameQualifier(analyzer: Analyzer, node: tree.Tag, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
@@ -1163,9 +1163,9 @@ export declare class MemberAccessExpression extends BaseNode {
|
|
1163
1163
|
];
|
1164
1164
|
get expression(): Expression;
|
1165
1165
|
get dotToken(): Token<TokenKind.Dot>;
|
1166
|
-
get
|
1166
|
+
get memberName(): Identifier;
|
1167
1167
|
protected get thisAsNode(): Node;
|
1168
|
-
constructor(expression: Expression, dotToken: Token<TokenKind.Dot>,
|
1168
|
+
constructor(expression: Expression, dotToken: Token<TokenKind.Dot>, memberName: Identifier);
|
1169
1169
|
toRed(rangeStart: number, parent: red.ExpressionParent): red.MemberAccessExpression;
|
1170
1170
|
}
|
1171
1171
|
export declare class ReferenceExpression extends BaseNode {
|
@@ -1114,7 +1114,7 @@ export declare class MemberAccessExpression extends BaseNode {
|
|
1114
1114
|
get children(): readonly [Expression, Token<green.TokenKind.Dot>, Identifier];
|
1115
1115
|
get expression(): Expression;
|
1116
1116
|
get dotToken(): Token<TokenKind.Dot>;
|
1117
|
-
get
|
1117
|
+
get memberName(): Identifier;
|
1118
1118
|
protected get thisAsNode(): Node;
|
1119
1119
|
constructor(green: green.MemberAccessExpression, rangeStart: number, parent: ExpressionParent);
|
1120
1120
|
private createChildren;
|
@@ -155,7 +155,7 @@ export declare class TsGlobalClassOrInterfaceEntity implements PackageStructured
|
|
155
155
|
getTypeParameters(): readonly TypeParameterEntity[];
|
156
156
|
getMembers(): OriginalTypeEntityMembers;
|
157
157
|
getDefinition(): StructuredTypeEntityDefinition;
|
158
|
-
|
158
|
+
markedBasic(): boolean;
|
159
159
|
isAbstract(): boolean;
|
160
160
|
isAspect(): boolean;
|
161
161
|
isRefObject(): boolean;
|
@@ -186,7 +186,7 @@ export declare class SourceAndTsGlobalClassOrInterfaceMergeEntity implements Pac
|
|
186
186
|
getTypeParameters(): readonly TypeParameterEntity[];
|
187
187
|
getMembers(): OriginalTypeEntityMembers;
|
188
188
|
getDefinition(): StructuredTypeEntityDefinition;
|
189
|
-
|
189
|
+
markedBasic(): boolean;
|
190
190
|
isAbstract(): boolean;
|
191
191
|
isAspect(): boolean;
|
192
192
|
isRefObject(): boolean;
|
@@ -213,7 +213,7 @@ export declare class TsTypeLiteralEntity implements AnonymousStructuredTypeEntit
|
|
213
213
|
getTypeParameters(): readonly TypeParameterEntity[];
|
214
214
|
getMembers(): OriginalTypeEntityMembers;
|
215
215
|
getDefinition(): StructuredTypeEntityDefinition;
|
216
|
-
|
216
|
+
markedBasic(): boolean;
|
217
217
|
isAbstract(): boolean;
|
218
218
|
isAspect(): boolean;
|
219
219
|
isRefObject(): boolean;
|
@@ -248,7 +248,7 @@ export declare class TsNamedTypeLiteralEntity implements PackageStructuredTypeEn
|
|
248
248
|
getTypeParameters(): readonly TypeParameterEntity[];
|
249
249
|
getMembers(): OriginalTypeEntityMembers;
|
250
250
|
getDefinition(): StructuredTypeEntityDefinition;
|
251
|
-
|
251
|
+
markedBasic(): boolean;
|
252
252
|
isAbstract(): boolean;
|
253
253
|
isAspect(): boolean;
|
254
254
|
isRefObject(): boolean;
|
@@ -277,7 +277,7 @@ export declare class SourceAndTsNamedTypeLiteralMergeEntity implements PackageSt
|
|
277
277
|
getTypeParameters(): readonly TypeParameterEntity[];
|
278
278
|
getMembers(): OriginalTypeEntityMembers;
|
279
279
|
getDefinition(): StructuredTypeEntityDefinition;
|
280
|
-
|
280
|
+
markedBasic(): boolean;
|
281
281
|
isAbstract(): boolean;
|
282
282
|
isAspect(): boolean;
|
283
283
|
isRefObject(): boolean;
|
@@ -16,6 +16,8 @@ export declare class StructuredType implements IType {
|
|
16
16
|
isAspect(): boolean;
|
17
17
|
isRefObject(): boolean;
|
18
18
|
isPlainObject(): boolean;
|
19
|
+
markedBasic(): boolean;
|
20
|
+
isAbstract(): boolean;
|
19
21
|
equals(other: Type): boolean;
|
20
22
|
getEntity(): StructuredTypeEntity;
|
21
23
|
getBaseObjectType(): Type | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Analyzer } from '../analysis/index.js';
|
2
2
|
import { Name } from '../common/index.js';
|
3
|
-
import { ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, EntityHidingLevel, IndexerEntity, OperatorEntity, OperatorKind, ParameterVariableEntity,
|
3
|
+
import { ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, EntityHidingLevel, FieldEntity, IndexerEntity, MethodEntity, OperatorEntity, OperatorKind, ParameterVariableEntity, TypeParameterEntity } from '../entities/index.js';
|
4
4
|
import { FunctionType } from './FunctionType.js';
|
5
5
|
import { Substitutions } from './Substitutions.js';
|
6
6
|
import { Type } from './Type.js';
|
@@ -77,16 +77,15 @@ export declare class Operator implements ITypeMember {
|
|
77
77
|
export declare class Constructor implements ITypeMember {
|
78
78
|
private readonly _entity;
|
79
79
|
private readonly _substitutions;
|
80
|
-
private readonly _instanceType;
|
81
80
|
readonly kind = "constructor";
|
82
81
|
private readonly _valueParameters;
|
83
|
-
constructor(_entity: ConstructorEntity, _substitutions: Substitutions
|
82
|
+
constructor(_entity: ConstructorEntity, _substitutions: Substitutions);
|
84
83
|
getValueParameters(): readonly ValueParameter[];
|
85
|
-
getInstanceType(): Type;
|
86
84
|
getEntity(): ConstructorEntity;
|
87
85
|
getSubstitutions(): Substitutions;
|
88
86
|
isHidden(): EntityHidingLevel | undefined;
|
89
87
|
isStatic(): boolean;
|
88
|
+
applySubstitutions(substitutions: Substitutions): TypeMember;
|
90
89
|
equals(other: TypeMember): boolean;
|
91
90
|
}
|
92
91
|
export declare class Destructor implements ITypeMember {
|
@@ -136,4 +135,5 @@ export interface ITypeMember {
|
|
136
135
|
isStatic(): boolean;
|
137
136
|
getSubstitutions(): Substitutions;
|
138
137
|
equals(other: TypeMember): boolean;
|
138
|
+
applySubstitutions(substitutions: Substitutions): TypeMember;
|
139
139
|
}
|