@artel/artc 0.6.25259 → 0.6.25261
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 +28 -20
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1266 -1217
- package/build/{chunk-HE4MTX63.js → chunk-66RH6JKB.js} +14377 -13458
- package/build/{chunk-VQI5PLBW.js → chunk-7OS2G5WZ.js} +1 -1
- package/build/{chunk-GVYF4DV5.js → chunk-UWQKBRAT.js} +11 -11
- package/build/types/analysis/AccessedFunction.d.ts +11 -11
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +28 -28
- package/build/types/analysis/Analyzer.d.ts +184 -168
- package/build/types/analysis/ArgumentToParameterMatchResult.d.ts +9 -9
- package/build/types/analysis/ArgumentsToParametersMatcher.d.ts +8 -8
- package/build/types/analysis/AssignmentChecker.d.ts +4 -4
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +8 -6
- package/build/types/analysis/BaseExpressionMeaning.d.ts +5 -5
- package/build/types/analysis/BaseMemberConflictsValidator.d.ts +7 -7
- package/build/types/analysis/CallExpressionMeaning.d.ts +4 -6
- package/build/types/analysis/ConstructorCallResolver.d.ts +1 -1
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +5 -5
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +4 -4
- package/build/types/analysis/DiagnosticArgumentFactory.d.ts +2 -2
- package/build/types/analysis/DiagnosticCollector.d.ts +11 -9
- package/build/types/analysis/DisplayableEntity.d.ts +30 -30
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +7 -7
- package/build/types/analysis/ImportedPackageNameTree.d.ts +1 -1
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +4 -4
- package/build/types/analysis/InstanceFieldsInitializationValidator.d.ts +6 -6
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +7 -7
- package/build/types/analysis/ModifierValidator.d.ts +3 -3
- package/build/types/analysis/NamedTypeResolver.d.ts +3 -3
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +3 -3
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -1
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +2 -2
- package/build/types/analysis/OverloadResolver.d.ts +13 -13
- package/build/types/analysis/OwnAndBaseConstructorCallsChecker.d.ts +5 -5
- package/build/types/analysis/PackageAndStaticVariablesInitializationValidator.d.ts +5 -5
- package/build/types/analysis/PackageMemberLookup.d.ts +2 -2
- package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +7 -7
- package/build/types/analysis/ReturnTypeInferrer.d.ts +4 -4
- package/build/types/analysis/SourceFileMembers.d.ts +6 -6
- package/build/types/analysis/SourcePackageDependencyGraph.d.ts +3 -3
- package/build/types/analysis/SubstitutedFunction.d.ts +8 -8
- package/build/types/analysis/TagMeaning.d.ts +4 -4
- package/build/types/analysis/Tags.d.ts +8 -7
- package/build/types/analysis/{Localization.d.ts → Translation.d.ts} +1 -23
- package/build/types/analysis/TypeArgumentInferrer.d.ts +9 -9
- package/build/types/analysis/TypeInferrer.d.ts +4 -4
- package/build/types/analysis/TypeMemberConflictsValidator.d.ts +4 -4
- package/build/types/analysis/TypeMemberImplementationChecker.d.ts +3 -3
- package/build/types/analysis/TypeMemberLookup.d.ts +7 -7
- package/build/types/analysis/TypeNarrower.d.ts +7 -7
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +6 -6
- package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +3 -3
- package/build/types/analysis/Utils.d.ts +1 -2
- package/build/types/analysis/WellKnownDeclarations.d.ts +32 -32
- package/build/types/analysis/control-flow/GraphBuilder.d.ts +11 -11
- package/build/types/analysis/control-flow/NarrowableReference.d.ts +10 -10
- package/build/types/analysis/semantic-context/Declarations.d.ts +0 -24
- package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +2 -2
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +23 -22
- package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +4 -4
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +25 -25
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +9 -9
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +8 -8
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +27 -27
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +9 -9
- package/build/types/api/Api.d.ts +2 -2
- package/build/types/common/Cached.d.ts +3 -3
- package/build/types/common/CancellationToken.d.ts +2 -2
- package/build/types/common/Delayed.d.ts +2 -2
- package/build/types/common/Displayable.d.ts +3 -3
- package/build/types/common/HelperPhrases.d.ts +2 -1
- package/build/types/common/Interner.d.ts +1 -1
- package/build/types/common/Lazy.d.ts +3 -3
- package/build/types/common/Option.d.ts +2 -2
- package/build/types/common/PerformanceMeasurement.d.ts +2 -2
- package/build/types/common/Query.d.ts +15 -0
- package/build/types/common/ThrottledCancellationToken.d.ts +6 -6
- package/build/types/common/TreeQuery.d.ts +2 -5
- package/build/types/diagnostic/DiagnosticCode.d.ts +142 -139
- package/build/types/diagnostic/DiagnosticData.d.ts +3 -3
- package/build/types/diagnostic/RangeDiagnostic.d.ts +3 -3
- package/build/types/emitter/DebugStack.d.ts +2 -2
- package/build/types/emitter/Emitter.d.ts +5 -5
- package/build/types/emitter/EmitterContext.d.ts +21 -21
- package/build/types/emitter/EntityMap.d.ts +8 -8
- package/build/types/emitter/GeneralLowering.d.ts +2 -2
- package/build/types/emitter/IrBuilder.d.ts +10 -10
- package/build/types/emitter/IrToJs.d.ts +5 -5
- package/build/types/emitter/Transformer.d.ts +5 -5
- package/build/types/emitter/ir/EmitOptions.d.ts +27 -13
- package/build/types/emitter/ir/Nodes.d.ts +28 -27
- package/build/types/emitter/ir/types.d.ts +2 -2
- package/build/types/entities/AliasTypeEntity.d.ts +15 -12
- package/build/types/entities/AliasedType.d.ts +2 -2
- package/build/types/entities/BaseAspectTypes.d.ts +31 -0
- package/build/types/entities/BaseEntityHidingMatcher.d.ts +1 -1
- package/build/types/entities/BaseObjectType.d.ts +31 -0
- package/build/types/entities/ConstructorEntity.d.ts +51 -38
- package/build/types/entities/DereferenceOperatorEntity.d.ts +19 -13
- package/build/types/entities/DestructorEntity.d.ts +21 -14
- package/build/types/entities/EntityHidingMatcherWithinTypeEntity.d.ts +2 -2
- package/build/types/entities/EntityLocalizationContext.d.ts +10 -10
- package/build/types/entities/FunctionEntity.d.ts +86 -70
- package/build/types/entities/FunctionTypeEntity.d.ts +37 -31
- package/build/types/entities/GetterEntity.d.ts +51 -30
- package/build/types/entities/IEntity.d.ts +12 -0
- package/build/types/entities/IndexerEntity.d.ts +24 -24
- package/build/types/entities/LocalizableTextEntity.d.ts +26 -21
- package/build/types/entities/OperatorEntity.d.ts +23 -16
- package/build/types/entities/PackageAliasEntity.d.ts +15 -9
- package/build/types/entities/PackageEntity.d.ts +15 -10
- package/build/types/entities/PackageMembers.d.ts +5 -5
- package/build/types/entities/SetterEntity.d.ts +50 -29
- package/build/types/entities/StructuredTypeEntity.d.ts +76 -115
- package/build/types/entities/TypeEntity.d.ts +2 -1
- package/build/types/entities/TypeEntityMembers.d.ts +11 -11
- package/build/types/entities/TypeExtensionEntity.d.ts +13 -8
- package/build/types/entities/TypeParameterEntity.d.ts +28 -21
- package/build/types/entities/VariableEntity.d.ts +236 -179
- package/build/types/entities/VariantTypeEntity.d.ts +28 -22
- package/build/types/entities/index.d.ts +5 -1
- package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +18 -16
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +15 -11
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +16 -12
- package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +15 -11
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +32 -27
- package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +33 -29
- package/build/types/entities/translated/TranslatedGetterEntity.d.ts +12 -8
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +19 -15
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +18 -14
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +10 -7
- package/build/types/entities/translated/TranslatedSetterEntity.d.ts +11 -7
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +41 -39
- package/build/types/entities/translated/TranslatedTypeExtensionEntity.d.ts +12 -9
- package/build/types/entities/translated/TranslatedTypeParameterEntity.d.ts +19 -16
- package/build/types/entities/translated/TranslatedVariableEntity.d.ts +44 -36
- package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +28 -24
- package/build/types/executor/NodeCompiler.d.ts +3 -3
- package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +2 -2
- package/build/types/parser/Parser.d.ts +1 -1
- package/build/types/parser/TriviaInterner.d.ts +3 -3
- package/build/types/project/Compilation.d.ts +3 -3
- package/build/types/project/CompilationLoader.d.ts +5 -5
- package/build/types/project/FileSystemTree.d.ts +6 -6
- package/build/types/project/SourceFile.d.ts +2 -2
- package/build/types/project/SourcePackage.d.ts +1 -1
- package/build/types/project/TextFile.d.ts +1 -1
- package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +1 -1
- package/build/types/services/AssignFieldService.d.ts +10 -0
- package/build/types/services/CodeActionsService.d.ts +1 -1
- package/build/types/services/CompletionService.d.ts +8 -8
- package/build/types/services/CustomCommand.d.ts +13 -7
- package/build/types/services/DefinitionService.d.ts +1 -1
- package/build/types/services/DisplayService.d.ts +76 -80
- package/build/types/services/DocumentHighlightsService.d.ts +1 -1
- package/build/types/services/HoverService.d.ts +3 -3
- package/build/types/services/LanguageServer.d.ts +32 -32
- package/build/types/services/NodeSemanticInfo.d.ts +9 -9
- package/build/types/services/ProjectItemsService.d.ts +1 -1
- package/build/types/services/RenameService.d.ts +1 -1
- package/build/types/services/SemanticTokensService.d.ts +1 -1
- package/build/types/services/SourceFileItemsService.d.ts +1 -1
- package/build/types/services/TranslationService.d.ts +1 -1
- package/build/types/services/signature-help/{ValueParametersSignatureHelpProvider.d.ts → ParametersSignatureHelpProvider.d.ts} +6 -6
- package/build/types/services/signature-help/{SignatureWithValueParameters.d.ts → SignatureWithParameters.d.ts} +34 -34
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +4 -4
- package/build/types/services/source-generation/EntityToSyntax.d.ts +4 -4
- package/build/types/services/source-generation/SourceGenerationService.d.ts +5 -5
- package/build/types/services/workspace/CompilationController.d.ts +22 -22
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +13 -13
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
- package/build/types/services/workspace/Workspace.d.ts +7 -7
- package/build/types/services/workspace/WorkspaceFiles.d.ts +1 -1
- package/build/types/tree/BaseNode.d.ts +12 -3
- package/build/types/tree/NodeKind.d.ts +56 -57
- package/build/types/tree/Nodes.d.ts +18 -20
- package/build/types/tree/SyntaxToCode.d.ts +11 -11
- package/build/types/ts-interop/Entities.d.ts +326 -263
- package/build/types/ts-interop/TsInteropContext.d.ts +16 -14
- package/build/types/ts-interop/TsPackageContents.d.ts +16 -16
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +10 -10
- package/build/types/ts-interop/TsProgramLoader.d.ts +7 -7
- package/build/types/ts-interop/TsTypeMembersCreator.d.ts +9 -9
- package/build/types/types/AliasType.d.ts +6 -5
- package/build/types/types/FunctionType.d.ts +8 -7
- package/build/types/types/IntersectionType.d.ts +3 -2
- package/build/types/types/ParameterType.d.ts +5 -4
- package/build/types/types/StandardTypes.d.ts +21 -21
- package/build/types/types/StructuredType.d.ts +9 -10
- package/build/types/types/Substitutions.d.ts +1 -1
- package/build/types/types/Type.d.ts +1 -0
- package/build/types/types/TypeMembers.d.ts +42 -42
- package/build/types/types/UnionType.d.ts +3 -2
- package/build/types/types/UnresolvedType.d.ts +3 -2
- package/build/types/types/VariantType.d.ts +5 -4
- package/package.json +1 -1
- package/build/types/entities/TypeMemberContainer.d.ts +0 -23
- package/build/types/services/AddPropertyAssignmentService.d.ts +0 -8
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { Localization } from '../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../analysis/Translation.js';
|
|
3
3
|
import { Analyzer } from '../analysis/index.js';
|
|
4
|
-
import { Name } from '../common/index.js';
|
|
4
|
+
import { Name, PackageDialect, PackageLocale } from '../common/index.js';
|
|
5
5
|
import { AnonymousVariantTypeDeclaration, PackageVariantTypeDeclaration } from '../tree/index.js';
|
|
6
6
|
import * as types from '../types/index.js';
|
|
7
|
+
import { BaseObjectType } from './BaseObjectType.js';
|
|
7
8
|
import { EntityNaming } from './EntityNaming.js';
|
|
8
9
|
import { TypeEntityMembers } from './TypeEntityMembers.js';
|
|
9
|
-
import {
|
|
10
|
+
import { DefinitionKind, EntityContext, EntityHidingLevel, EntityKind, ITypeEntity, PackageEntity, SubstitutionApplicationMode, TypeEntityKind, TypeParameterEntity } from './index.js';
|
|
10
11
|
export type VariantTypeEntity = PackageVariantTypeEntity | AnonymousVariantTypeEntity;
|
|
11
12
|
export interface PackageVariantTypeEntity extends IVariantTypeEntity {
|
|
12
13
|
readonly subkind: 'package';
|
|
13
14
|
getName(): Name;
|
|
14
15
|
getContainingPackage(): PackageEntity;
|
|
15
|
-
|
|
16
|
+
getTranslation(): Translation | undefined;
|
|
16
17
|
getOriginalEntity(): PackageVariantTypeEntity;
|
|
17
18
|
}
|
|
18
19
|
export interface AnonymousVariantTypeEntity extends IVariantTypeEntity {
|
|
19
20
|
readonly subkind: 'anonymous';
|
|
20
21
|
getContainingPackage(): PackageEntity;
|
|
21
|
-
|
|
22
|
+
getTranslation(): Translation | undefined;
|
|
22
23
|
getOriginalEntity(): AnonymousVariantTypeEntity;
|
|
23
24
|
}
|
|
24
25
|
interface IVariantTypeEntity extends ITypeEntity {
|
|
@@ -45,19 +46,20 @@ export type VariantTypeEntityDefinition = {
|
|
|
45
46
|
kind: DefinitionKind.TypeScript;
|
|
46
47
|
};
|
|
47
48
|
export declare class PackageVariantTypeDeclarationEntity implements PackageVariantTypeEntity {
|
|
48
|
-
private readonly
|
|
49
|
-
private readonly
|
|
49
|
+
private readonly analyzer;
|
|
50
|
+
private readonly node;
|
|
50
51
|
readonly kind = EntityKind.Type;
|
|
51
52
|
readonly typeEntityKind = TypeEntityKind.Variant;
|
|
52
53
|
readonly subkind = "package";
|
|
53
|
-
private readonly
|
|
54
|
-
private readonly
|
|
55
|
-
private readonly
|
|
56
|
-
private readonly
|
|
57
|
-
private readonly
|
|
58
|
-
private
|
|
54
|
+
private readonly name;
|
|
55
|
+
private readonly typeParameters;
|
|
56
|
+
private readonly members;
|
|
57
|
+
private readonly underlyingType;
|
|
58
|
+
private readonly baseObjectType;
|
|
59
|
+
private readonly hiding;
|
|
60
|
+
private modifierFlags_;
|
|
59
61
|
private get modifierFlags();
|
|
60
|
-
constructor(
|
|
62
|
+
constructor(analyzer: Analyzer, node: PackageVariantTypeDeclaration);
|
|
61
63
|
getNaming(): EntityNaming;
|
|
62
64
|
getName(): Name;
|
|
63
65
|
getContainingPackage(): PackageEntity;
|
|
@@ -71,19 +73,21 @@ export declare class PackageVariantTypeDeclarationEntity implements PackageVaria
|
|
|
71
73
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
72
74
|
getBaseObjectType(): BaseObjectType;
|
|
73
75
|
getContext(): EntityContext;
|
|
74
|
-
|
|
76
|
+
getTranslation(): Translation | undefined;
|
|
77
|
+
getLocale(): PackageLocale;
|
|
78
|
+
getDialect(): PackageDialect;
|
|
75
79
|
getOriginalEntity(): PackageVariantTypeEntity;
|
|
76
80
|
}
|
|
77
81
|
export declare class AnonymousVariantTypeDeclarationEntity implements AnonymousVariantTypeEntity {
|
|
78
|
-
private readonly
|
|
79
|
-
private readonly
|
|
82
|
+
private readonly analyzer;
|
|
83
|
+
private readonly node;
|
|
80
84
|
readonly kind = EntityKind.Type;
|
|
81
85
|
readonly typeEntityKind = TypeEntityKind.Variant;
|
|
82
86
|
readonly subkind = "anonymous";
|
|
83
|
-
private readonly
|
|
84
|
-
private readonly
|
|
85
|
-
private readonly
|
|
86
|
-
constructor(
|
|
87
|
+
private readonly underlyingType;
|
|
88
|
+
private readonly members;
|
|
89
|
+
private readonly baseObjectType;
|
|
90
|
+
constructor(analyzer: Analyzer, node: AnonymousVariantTypeDeclaration);
|
|
87
91
|
getMembers(): TypeEntityMembers;
|
|
88
92
|
getUnderlyingType(): types.Type;
|
|
89
93
|
getDefinition(): VariantTypeEntityDefinition;
|
|
@@ -96,7 +100,9 @@ export declare class AnonymousVariantTypeDeclarationEntity implements AnonymousV
|
|
|
96
100
|
getContainingPackage(): PackageEntity;
|
|
97
101
|
getBaseObjectType(): BaseObjectType;
|
|
98
102
|
getContext(): EntityContext;
|
|
99
|
-
|
|
103
|
+
getTranslation(): Translation | undefined;
|
|
104
|
+
getLocale(): PackageLocale;
|
|
105
|
+
getDialect(): PackageDialect;
|
|
100
106
|
getOriginalEntity(): AnonymousVariantTypeEntity;
|
|
101
107
|
}
|
|
102
108
|
export {};
|
|
@@ -24,6 +24,8 @@ import { FieldEntity, PackageVariableEntity, VariableEntity } from './VariableEn
|
|
|
24
24
|
import { PackageVariantTypeEntity, VariantTypeEntity } from './VariantTypeEntity.js';
|
|
25
25
|
export * from './AliasedType.js';
|
|
26
26
|
export * from './AliasTypeEntity.js';
|
|
27
|
+
export * from './BaseAspectTypes.js';
|
|
28
|
+
export * from './BaseObjectType.js';
|
|
27
29
|
export * from './ConstructorEntity.js';
|
|
28
30
|
export * from './DereferenceOperatorEntity.js';
|
|
29
31
|
export * from './DestructorEntity.js';
|
|
@@ -43,7 +45,6 @@ export * from './StructuredTypeEntity.js';
|
|
|
43
45
|
export * from './SubstitutionApplicationMode.js';
|
|
44
46
|
export * from './TypeEntity.js';
|
|
45
47
|
export * from './TypeExtensionEntity.js';
|
|
46
|
-
export * from './TypeMemberContainer.js';
|
|
47
48
|
export * from './TypeParameterEntity.js';
|
|
48
49
|
export * from './VariableEntity.js';
|
|
49
50
|
export * from './VariantTypeEntity.js';
|
|
@@ -76,6 +77,9 @@ export type TypeEntityWithMembers = FunctionTypeEntity | StructuredTypeEntity |
|
|
|
76
77
|
export declare function isTypeEntityWithMembers(entity: TypeEntity): entity is TypeEntityWithMembers;
|
|
77
78
|
export type TypeOrExtensionEntity = TypeEntity | TypeExtensionEntity;
|
|
78
79
|
export type TypeWithMembersOrExtensionEntity = TypeEntityWithMembers | TypeExtensionEntity;
|
|
80
|
+
export declare namespace TypeWithMembersOrExtensionEntity {
|
|
81
|
+
function getContextualTypeEntity(entity: TypeWithMembersOrExtensionEntity): TypeEntity | undefined;
|
|
82
|
+
}
|
|
79
83
|
export declare function isTypeWithMembersOrExtensionEntity(entity: Entity): entity is TypeWithMembersOrExtensionEntity;
|
|
80
84
|
export declare function isTypeEntity(entity: Entity): entity is TypeEntity;
|
|
81
85
|
export declare function isNamedTypeEntity(entity: TypeEntity): entity is NamedTypeEntity;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
4
|
import * as types from '../../types/index.js';
|
|
5
5
|
import { AliasedType, CycleFreeAliasedTypeResolutionResult } from '../AliasedType.js';
|
|
6
6
|
import type { AliasTypeEntity } from '../AliasTypeEntity.js';
|
|
@@ -17,19 +17,21 @@ export declare class TranslatedAliasTypeEntity implements AliasTypeEntity {
|
|
|
17
17
|
readonly kind = EntityKind.Type;
|
|
18
18
|
readonly typeEntityKind = TypeEntityKind.Alias;
|
|
19
19
|
readonly subkind = "package";
|
|
20
|
-
private readonly
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
26
|
-
private readonly
|
|
27
|
-
private readonly
|
|
28
|
-
private readonly
|
|
20
|
+
private readonly originalEntity;
|
|
21
|
+
private readonly translation;
|
|
22
|
+
private readonly name;
|
|
23
|
+
private readonly localizationContext;
|
|
24
|
+
private readonly containingPackage;
|
|
25
|
+
private readonly typeParameters;
|
|
26
|
+
private readonly aliasedType;
|
|
27
|
+
private readonly members;
|
|
28
|
+
private readonly context;
|
|
29
29
|
constructor(originalEntity: AliasTypeEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
30
30
|
getName(): Name;
|
|
31
31
|
getContainingPackage(): PackageEntity;
|
|
32
|
-
|
|
32
|
+
getTranslation(): Translation | undefined;
|
|
33
|
+
getLocale(): PackageLocale;
|
|
34
|
+
getDialect(): PackageDialect;
|
|
33
35
|
getOriginalEntity(): AliasTypeEntity;
|
|
34
36
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
35
37
|
getAliasedType(): AliasedType;
|
|
@@ -42,10 +44,10 @@ export declare class TranslatedAliasTypeEntity implements AliasTypeEntity {
|
|
|
42
44
|
getContext(): EntityContext;
|
|
43
45
|
}
|
|
44
46
|
export declare class LocalizedAliasedType extends AliasedType {
|
|
45
|
-
private readonly
|
|
46
|
-
private readonly
|
|
47
|
-
private readonly
|
|
48
|
-
private readonly
|
|
47
|
+
private readonly original;
|
|
48
|
+
private readonly localizationContext;
|
|
49
|
+
private readonly declared_;
|
|
50
|
+
private readonly cycleFree_;
|
|
49
51
|
get declared(): types.Type;
|
|
50
52
|
get cycleFree(): types.Type;
|
|
51
53
|
get causesCycle(): boolean;
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import type { ConstructorEntity, ConstructorEntityDefinition, DefaultConstructorEntityInfo } from '../ConstructorEntity.js';
|
|
4
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
5
6
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
|
-
import { EntityKind,
|
|
7
|
-
import {
|
|
7
|
+
import { EntityKind, PackageEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
|
+
import { ParameterEntity } from '../VariableEntity.js';
|
|
8
9
|
export declare class TranslatedConstructorEntity implements ConstructorEntity {
|
|
9
10
|
readonly kind = EntityKind.Constructor;
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
11
|
+
private readonly originalEntity;
|
|
12
|
+
private readonly translation;
|
|
13
|
+
private readonly localizationContext;
|
|
14
|
+
private readonly containingEntity;
|
|
15
|
+
private readonly parameters;
|
|
15
16
|
constructor(originalEntity: ConstructorEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
18
|
+
getContainingPackage(): PackageEntity;
|
|
19
|
+
getTranslation(): Translation | undefined;
|
|
20
|
+
getLocale(): PackageLocale;
|
|
21
|
+
getDialect(): PackageDialect;
|
|
18
22
|
getOriginalEntity(): ConstructorEntity;
|
|
19
|
-
|
|
23
|
+
getParameters(): readonly ParameterEntity[];
|
|
20
24
|
getDefinition(): ConstructorEntityDefinition;
|
|
21
25
|
isDefault(): DefaultConstructorEntityInfo | undefined;
|
|
22
26
|
isHidden(): EntityHidingLevel | undefined;
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import * as types from '../../types/index.js';
|
|
4
5
|
import type { DereferenceOperatorEntity, DereferenceOperatorEntityDefinition } from '../DereferenceOperatorEntity.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
7
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
|
-
import { EntityKind, GetterEntity, SetterEntity,
|
|
8
|
+
import { EntityKind, GetterEntity, PackageEntity, SetterEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
9
|
export declare class TranslatedDereferenceOperatorEntity implements DereferenceOperatorEntity {
|
|
9
10
|
readonly kind = EntityKind.DereferenceOperator;
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
16
|
-
private readonly
|
|
17
|
-
private readonly
|
|
11
|
+
private readonly originalEntity;
|
|
12
|
+
private readonly translation;
|
|
13
|
+
private readonly localizationContext;
|
|
14
|
+
private readonly containingEntity;
|
|
15
|
+
private readonly type;
|
|
16
|
+
private readonly getter;
|
|
17
|
+
private readonly setter;
|
|
18
|
+
private readonly overriddenMembers;
|
|
18
19
|
constructor(originalEntity: DereferenceOperatorEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
21
|
+
getContainingPackage(): PackageEntity;
|
|
22
|
+
getTranslation(): Translation | undefined;
|
|
23
|
+
getLocale(): PackageLocale;
|
|
24
|
+
getDialect(): PackageDialect;
|
|
21
25
|
getOriginalEntity(): DereferenceOperatorEntity;
|
|
22
26
|
getDefinition(): DereferenceOperatorEntityDefinition;
|
|
23
27
|
isHidden(): EntityHidingLevel | undefined;
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import type { DestructorEntity, DestructorEntityDefinition } from '../DestructorEntity.js';
|
|
4
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
5
6
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
|
-
import { EntityKind,
|
|
7
|
-
import {
|
|
7
|
+
import { EntityKind, PackageEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
|
+
import { ParameterEntity } from '../VariableEntity.js';
|
|
8
9
|
export declare class TranslatedDestructorEntity implements DestructorEntity {
|
|
9
10
|
readonly kind = EntityKind.Destructor;
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
11
|
+
private readonly originalEntity;
|
|
12
|
+
private readonly translation;
|
|
13
|
+
private readonly localizationContext;
|
|
14
|
+
private readonly containingEntity;
|
|
15
|
+
private readonly parameters;
|
|
15
16
|
constructor(originalEntity: DestructorEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
18
|
+
getContainingPackage(): PackageEntity;
|
|
19
|
+
getTranslation(): Translation | undefined;
|
|
20
|
+
getLocale(): PackageLocale;
|
|
21
|
+
getDialect(): PackageDialect;
|
|
18
22
|
getOriginalEntity(): DestructorEntity;
|
|
19
|
-
|
|
23
|
+
getParameters(): readonly ParameterEntity[];
|
|
20
24
|
getDefinition(): DestructorEntityDefinition;
|
|
21
25
|
isHidden(): EntityHidingLevel | undefined;
|
|
22
26
|
markedAbstract(): boolean;
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
2
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
3
2
|
import { Tag } from '../../analysis/Tags.js';
|
|
4
|
-
import {
|
|
3
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
4
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
5
5
|
import * as types from '../../types/index.js';
|
|
6
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
7
7
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
8
8
|
import type { MethodEntity, PackageFunctionEntity } from '../FunctionEntity.js';
|
|
9
9
|
import { FunctionEntityDefinition } from '../FunctionEntity.js';
|
|
10
|
-
import { EntityKind,
|
|
10
|
+
import { EntityKind, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
11
11
|
import { PackageEntity } from '../PackageEntity.js';
|
|
12
12
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
13
13
|
import { TypeParameterEntity } from '../TypeParameterEntity.js';
|
|
14
|
-
import {
|
|
14
|
+
import { ParameterEntity } from '../VariableEntity.js';
|
|
15
15
|
export declare class TranslatedPackageFunctionEntity implements PackageFunctionEntity {
|
|
16
16
|
readonly kind = EntityKind.Function;
|
|
17
17
|
readonly subkind = "package";
|
|
18
|
-
private readonly
|
|
19
|
-
private readonly
|
|
20
|
-
private readonly
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
18
|
+
private readonly originalEntity;
|
|
19
|
+
private readonly translation;
|
|
20
|
+
private readonly name;
|
|
21
|
+
private readonly localizationContext;
|
|
22
|
+
private readonly containingPackage;
|
|
23
|
+
private readonly typeParameters;
|
|
24
|
+
private readonly parameters;
|
|
25
|
+
private readonly returnType;
|
|
26
26
|
constructor(originalEntity: PackageFunctionEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
27
27
|
getContainingPackage(): PackageEntity;
|
|
28
|
-
|
|
28
|
+
getTranslation(): Translation | undefined;
|
|
29
|
+
getLocale(): PackageLocale;
|
|
30
|
+
getDialect(): PackageDialect;
|
|
29
31
|
getOriginalEntity(): PackageFunctionEntity;
|
|
30
32
|
getName(): Name;
|
|
31
33
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
32
|
-
|
|
34
|
+
getParameters(): readonly ParameterEntity[];
|
|
33
35
|
getReturnType(): types.Type;
|
|
34
36
|
getDefinition(): FunctionEntityDefinition;
|
|
35
37
|
isAsync(): boolean;
|
|
@@ -41,23 +43,26 @@ export declare class TranslatedPackageFunctionEntity implements PackageFunctionE
|
|
|
41
43
|
export declare class TranslatedMethodEntity implements MethodEntity {
|
|
42
44
|
readonly kind = EntityKind.Function;
|
|
43
45
|
readonly subkind = "method";
|
|
44
|
-
private readonly
|
|
45
|
-
private readonly
|
|
46
|
-
private readonly
|
|
47
|
-
private readonly
|
|
48
|
-
private readonly
|
|
49
|
-
private readonly
|
|
50
|
-
private readonly
|
|
51
|
-
private readonly
|
|
52
|
-
private readonly
|
|
53
|
-
private readonly
|
|
46
|
+
private readonly analyzer;
|
|
47
|
+
private readonly originalEntity;
|
|
48
|
+
private readonly translation;
|
|
49
|
+
private readonly name;
|
|
50
|
+
private readonly localizationContext;
|
|
51
|
+
private readonly containingEntity;
|
|
52
|
+
private readonly typeParameters;
|
|
53
|
+
private readonly parameters;
|
|
54
|
+
private readonly returnType;
|
|
55
|
+
private readonly overriddenMembers;
|
|
54
56
|
constructor(analyzer: Analyzer, originalEntity: MethodEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
58
|
+
getContainingPackage(): PackageEntity;
|
|
59
|
+
getTranslation(): Translation | undefined;
|
|
60
|
+
getLocale(): PackageLocale;
|
|
61
|
+
getDialect(): PackageDialect;
|
|
57
62
|
getOriginalEntity(): MethodEntity;
|
|
58
63
|
getName(): Name;
|
|
59
64
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
60
|
-
|
|
65
|
+
getParameters(): readonly ParameterEntity[];
|
|
61
66
|
getReturnType(): types.Type;
|
|
62
67
|
getDefinition(): FunctionEntityDefinition;
|
|
63
68
|
isStatic(): boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
4
|
import * as types from '../../types/Type.js';
|
|
5
|
+
import { BaseObjectType } from '../BaseObjectType.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
7
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
8
|
import { EntityNaming } from '../EntityNaming.js';
|
|
@@ -9,35 +10,36 @@ import type { AnonymousFunctionTypeEntity, PackageFunctionTypeEntity } from '../
|
|
|
9
10
|
import { FunctionTypeEntityDefinition } from '../FunctionTypeEntity.js';
|
|
10
11
|
import { EntityContext, EntityKind } from '../index.js';
|
|
11
12
|
import { PackageEntity } from '../PackageEntity.js';
|
|
12
|
-
import { BaseObjectType } from '../StructuredTypeEntity.js';
|
|
13
13
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
14
14
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
15
15
|
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
16
16
|
import { TypeParameterEntity } from '../TypeParameterEntity.js';
|
|
17
|
-
import {
|
|
17
|
+
import { ParameterEntity } from '../VariableEntity.js';
|
|
18
18
|
export declare class TranslatedPackageFunctionTypeEntity implements PackageFunctionTypeEntity {
|
|
19
19
|
readonly kind = EntityKind.Type;
|
|
20
20
|
readonly typeEntityKind = TypeEntityKind.Function;
|
|
21
21
|
readonly subkind = "package";
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
26
|
-
private readonly
|
|
27
|
-
private readonly
|
|
28
|
-
private readonly
|
|
29
|
-
private readonly
|
|
30
|
-
private readonly
|
|
31
|
-
private readonly
|
|
32
|
-
private readonly
|
|
22
|
+
private readonly originalEntity;
|
|
23
|
+
private readonly translation;
|
|
24
|
+
private readonly name;
|
|
25
|
+
private readonly localizationContext;
|
|
26
|
+
private readonly containingPackage;
|
|
27
|
+
private readonly typeParameters;
|
|
28
|
+
private readonly parameters;
|
|
29
|
+
private readonly returnType;
|
|
30
|
+
private readonly members;
|
|
31
|
+
private readonly baseObjectType;
|
|
32
|
+
private readonly context;
|
|
33
33
|
constructor(originalEntity: PackageFunctionTypeEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
34
34
|
getName(): Name;
|
|
35
35
|
getContainingPackage(): PackageEntity;
|
|
36
|
-
|
|
36
|
+
getTranslation(): Translation | undefined;
|
|
37
|
+
getLocale(): PackageLocale;
|
|
38
|
+
getDialect(): PackageDialect;
|
|
37
39
|
getOriginalEntity(): PackageFunctionTypeEntity;
|
|
38
40
|
getNaming(): EntityNaming;
|
|
39
41
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
40
|
-
|
|
42
|
+
getParameters(): readonly ParameterEntity[];
|
|
41
43
|
getReturnType(): types.Type;
|
|
42
44
|
getMembers(): TypeEntityMembers;
|
|
43
45
|
getDefinition(): FunctionTypeEntityDefinition;
|
|
@@ -53,23 +55,25 @@ export declare class TranslatedAnonymousFunctionTypeEntity implements AnonymousF
|
|
|
53
55
|
readonly kind = EntityKind.Type;
|
|
54
56
|
readonly typeEntityKind = TypeEntityKind.Function;
|
|
55
57
|
readonly subkind = "anonymous";
|
|
56
|
-
private readonly
|
|
57
|
-
private readonly
|
|
58
|
-
private readonly
|
|
59
|
-
private readonly
|
|
60
|
-
private readonly
|
|
61
|
-
private readonly
|
|
62
|
-
private readonly
|
|
63
|
-
private readonly
|
|
64
|
-
private readonly
|
|
65
|
-
private readonly
|
|
58
|
+
private readonly originalEntity;
|
|
59
|
+
private readonly translation;
|
|
60
|
+
private readonly localizationContext;
|
|
61
|
+
private readonly containingPackage;
|
|
62
|
+
private readonly typeParameters;
|
|
63
|
+
private readonly parameters;
|
|
64
|
+
private readonly returnType;
|
|
65
|
+
private readonly members;
|
|
66
|
+
private readonly baseObjectType;
|
|
67
|
+
private readonly context;
|
|
66
68
|
constructor(originalEntity: AnonymousFunctionTypeEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
67
69
|
getContainingPackage(): PackageEntity;
|
|
68
|
-
|
|
70
|
+
getTranslation(): Translation | undefined;
|
|
71
|
+
getLocale(): PackageLocale;
|
|
72
|
+
getDialect(): PackageDialect;
|
|
69
73
|
getOriginalEntity(): AnonymousFunctionTypeEntity;
|
|
70
74
|
getNaming(): EntityNaming;
|
|
71
75
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
72
|
-
|
|
76
|
+
getParameters(): readonly ParameterEntity[];
|
|
73
77
|
getReturnType(): types.Type;
|
|
74
78
|
getMembers(): TypeEntityMembers;
|
|
75
79
|
getDefinition(): FunctionTypeEntityDefinition;
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import { Type } from '../../types/Type.js';
|
|
4
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
5
6
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
7
|
import type { GetterEntity } from '../GetterEntity.js';
|
|
7
8
|
import { EntityOwningGetter, GetterEntityDefinition } from '../GetterEntity.js';
|
|
8
|
-
import { EntityKind } from '../index.js';
|
|
9
|
+
import { EntityKind, PackageEntity } from '../index.js';
|
|
9
10
|
export declare class TranslatedGetterEntity implements GetterEntity {
|
|
10
11
|
readonly kind = EntityKind.Getter;
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
12
|
+
private readonly originalEntity;
|
|
13
|
+
private readonly translation;
|
|
14
|
+
private readonly localizationContext;
|
|
15
|
+
private readonly returnType;
|
|
16
|
+
private readonly owningEntity;
|
|
16
17
|
constructor(originalEntity: GetterEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
17
18
|
getReturnType(): Type;
|
|
18
19
|
getDefinition(): GetterEntityDefinition;
|
|
19
20
|
isModifyingOwningPlainObject(): boolean;
|
|
20
21
|
getOwningEntity(): EntityOwningGetter;
|
|
22
|
+
getContainingPackage(): PackageEntity;
|
|
21
23
|
isHidden(): EntityHidingLevel | undefined;
|
|
22
24
|
getTags(): readonly Tag[];
|
|
23
|
-
|
|
25
|
+
getTranslation(): Translation | undefined;
|
|
26
|
+
getLocale(): PackageLocale;
|
|
27
|
+
getDialect(): PackageDialect;
|
|
24
28
|
getOriginalEntity(): GetterEntity;
|
|
25
29
|
}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import * as types from '../../types/index.js';
|
|
4
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
5
6
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
|
-
import { EntityKind, GetterEntity, SetterEntity,
|
|
7
|
+
import { EntityKind, GetterEntity, PackageEntity, SetterEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
7
8
|
import type { IndexerEntity, IndexerEntityDefinition } from '../IndexerEntity.js';
|
|
8
|
-
import {
|
|
9
|
+
import { ParameterEntity } from '../VariableEntity.js';
|
|
9
10
|
export declare class TranslatedIndexerEntity implements IndexerEntity {
|
|
10
11
|
readonly kind = EntityKind.Indexer;
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
16
|
-
private readonly
|
|
17
|
-
private readonly
|
|
18
|
-
private readonly
|
|
19
|
-
private readonly
|
|
12
|
+
private readonly originalEntity;
|
|
13
|
+
private readonly translation;
|
|
14
|
+
private readonly localizationContext;
|
|
15
|
+
private readonly containingEntity;
|
|
16
|
+
private readonly parameters;
|
|
17
|
+
private readonly type;
|
|
18
|
+
private readonly getter;
|
|
19
|
+
private readonly setter;
|
|
20
|
+
private readonly overriddenMembers;
|
|
20
21
|
constructor(originalEntity: IndexerEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
23
|
+
getContainingPackage(): PackageEntity;
|
|
24
|
+
getTranslation(): Translation | undefined;
|
|
25
|
+
getLocale(): PackageLocale;
|
|
26
|
+
getDialect(): PackageDialect;
|
|
23
27
|
getOriginalEntity(): IndexerEntity;
|
|
24
|
-
|
|
28
|
+
getParameters(): readonly ParameterEntity[];
|
|
25
29
|
getDefinition(): IndexerEntityDefinition;
|
|
26
30
|
isHidden(): EntityHidingLevel | undefined;
|
|
27
31
|
markedAbstract(): boolean;
|
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
2
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
3
2
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
4
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
5
|
import * as types from '../../types/index.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
7
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
|
-
import { EntityKind, OperatorKind,
|
|
8
|
+
import { EntityKind, OperatorKind, PackageEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
9
|
import type { OperatorEntity, OperatorEntityDefinition } from '../OperatorEntity.js';
|
|
9
|
-
import {
|
|
10
|
+
import { ParameterEntity } from '../VariableEntity.js';
|
|
10
11
|
export declare class TranslatedOperatorEntity implements OperatorEntity {
|
|
11
12
|
readonly kind = EntityKind.Operator;
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
16
|
-
private readonly
|
|
17
|
-
private readonly
|
|
18
|
-
private readonly
|
|
19
|
-
private readonly
|
|
13
|
+
private readonly analyzer;
|
|
14
|
+
private readonly originalEntity;
|
|
15
|
+
private readonly translation;
|
|
16
|
+
private readonly localizationContext;
|
|
17
|
+
private readonly containingEntity;
|
|
18
|
+
private readonly parameters;
|
|
19
|
+
private readonly returnType;
|
|
20
|
+
private readonly overriddenMembers;
|
|
20
21
|
constructor(analyzer: Analyzer, originalEntity: OperatorEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
23
|
+
getContainingPackage(): PackageEntity;
|
|
24
|
+
getTranslation(): Translation | undefined;
|
|
25
|
+
getLocale(): PackageLocale;
|
|
26
|
+
getDialect(): PackageDialect;
|
|
23
27
|
getOriginalEntity(): OperatorEntity;
|
|
24
28
|
getOperatorKind(): OperatorKind;
|
|
25
|
-
|
|
29
|
+
getParameters(): readonly ParameterEntity[];
|
|
26
30
|
getReturnType(): types.Type;
|
|
27
31
|
getDefinition(): OperatorEntityDefinition;
|
|
28
32
|
isStatic(): boolean;
|