@artel/artc 0.6.25258 → 0.6.25260
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-642CVYPB.js → chunk-7FERF2MU.js} +11 -11
- package/build/{chunk-QAOTQQD7.js → chunk-RIIOVQBM.js} +14371 -13456
- package/build/{chunk-B5Z42ZT6.js → chunk-ZNXSVPQT.js} +1 -1
- 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,20 +1,22 @@
|
|
|
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 { PackageDialect, PackageLocale } from '../common/index.js';
|
|
4
5
|
import { ConstructorDeclaration } from '../tree/index.js';
|
|
5
6
|
import * as types from '../types/index.js';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
7
|
+
import { IEntity } from './IEntity.js';
|
|
8
|
+
import type { PackageEntity, TypeEntityWithMembers, TypeWithMembersOrExtensionEntity } from './index.js';
|
|
9
|
+
import { DefinitionKind, EntityHidingLevel, EntityKind, FieldEntity, ParameterEntity } from './index.js';
|
|
10
|
+
export interface ConstructorEntity extends IEntity {
|
|
9
11
|
readonly kind: EntityKind.Constructor;
|
|
10
|
-
|
|
12
|
+
getParameters(): readonly ParameterEntity[];
|
|
11
13
|
getDefinition(): ConstructorEntityDefinition;
|
|
12
|
-
|
|
14
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
13
15
|
isDefault(): DefaultConstructorEntityInfo | undefined;
|
|
14
16
|
isHidden(): EntityHidingLevel | undefined;
|
|
15
17
|
markedAbstract(): boolean;
|
|
16
18
|
getTags(): readonly Tag[];
|
|
17
|
-
|
|
19
|
+
getTranslation(): Translation | undefined;
|
|
18
20
|
getOriginalEntity(): ConstructorEntity;
|
|
19
21
|
}
|
|
20
22
|
export declare class DefaultConstructorEntityInfo {
|
|
@@ -25,14 +27,14 @@ export declare class DefaultConstructorEntityInfo {
|
|
|
25
27
|
constructor(baseConstructor: types.Constructor | undefined, orderedParametersForBaseConstructor: readonly DefaultConstructorParameterForBaseConstructorInfo[], hasParametersForFieldInitialization: boolean, parametersForOwnFieldsInitialization: readonly ConstructorParameterInitializingFieldInfo[] | undefined);
|
|
26
28
|
}
|
|
27
29
|
export declare class DefaultConstructorParameterForBaseConstructorInfo {
|
|
28
|
-
readonly parameter:
|
|
29
|
-
readonly baseConstructorParameter:
|
|
30
|
-
constructor(parameter:
|
|
30
|
+
readonly parameter: ParameterEntity;
|
|
31
|
+
readonly baseConstructorParameter: ParameterEntity;
|
|
32
|
+
constructor(parameter: ParameterEntity, baseConstructorParameter: ParameterEntity);
|
|
31
33
|
}
|
|
32
34
|
export declare class ConstructorParameterInitializingFieldInfo {
|
|
33
|
-
readonly parameter:
|
|
35
|
+
readonly parameter: ParameterEntity;
|
|
34
36
|
readonly field: FieldEntity;
|
|
35
|
-
constructor(parameter:
|
|
37
|
+
constructor(parameter: ParameterEntity, field: FieldEntity);
|
|
36
38
|
}
|
|
37
39
|
export type ConstructorEntityDefinition = {
|
|
38
40
|
kind: DefinitionKind.Source;
|
|
@@ -43,57 +45,68 @@ export type ConstructorEntityDefinition = {
|
|
|
43
45
|
kind: DefinitionKind.TypeScript;
|
|
44
46
|
};
|
|
45
47
|
export declare class ConstructorDeclarationEntity implements ConstructorEntity {
|
|
46
|
-
private readonly
|
|
47
|
-
private readonly
|
|
48
|
+
private readonly analyzer;
|
|
49
|
+
private readonly node;
|
|
48
50
|
readonly kind = EntityKind.Constructor;
|
|
49
|
-
private readonly
|
|
50
|
-
private
|
|
51
|
+
private readonly parameters;
|
|
52
|
+
private readonly hiding;
|
|
53
|
+
private containingEntity;
|
|
54
|
+
private modifierFlags_;
|
|
51
55
|
private get modifierFlags();
|
|
52
|
-
constructor(
|
|
53
|
-
|
|
56
|
+
constructor(analyzer: Analyzer, node: ConstructorDeclaration);
|
|
57
|
+
getParameters(): readonly ParameterEntity[];
|
|
54
58
|
getDefinition(): ConstructorEntityDefinition;
|
|
55
|
-
|
|
59
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
60
|
+
getContainingPackage(): PackageEntity;
|
|
56
61
|
isDefault(): DefaultConstructorEntityInfo | undefined;
|
|
57
62
|
isHidden(): EntityHidingLevel | undefined;
|
|
58
63
|
markedAbstract(): boolean;
|
|
59
64
|
getTags(): readonly Tag[];
|
|
60
|
-
|
|
65
|
+
getTranslation(): Translation | undefined;
|
|
66
|
+
getLocale(): PackageLocale;
|
|
67
|
+
getDialect(): PackageDialect;
|
|
61
68
|
getOriginalEntity(): ConstructorEntity;
|
|
62
69
|
}
|
|
63
70
|
export declare class IntrinsicConstructorEntity implements ConstructorEntity {
|
|
64
|
-
private readonly
|
|
65
|
-
private readonly
|
|
66
|
-
private readonly
|
|
67
|
-
private readonly
|
|
68
|
-
private readonly
|
|
71
|
+
private readonly parameters;
|
|
72
|
+
private readonly containingEntity;
|
|
73
|
+
private readonly isDefault_;
|
|
74
|
+
private readonly isHidden_;
|
|
75
|
+
private readonly markedAbstract_;
|
|
69
76
|
readonly kind = EntityKind.Constructor;
|
|
70
|
-
constructor(
|
|
71
|
-
|
|
77
|
+
constructor(parameters: readonly ParameterEntity[], containingEntity: TypeWithMembersOrExtensionEntity, isDefault_: DefaultConstructorEntityInfo | undefined, isHidden_: EntityHidingLevel | undefined, markedAbstract_: boolean);
|
|
78
|
+
getParameters(): readonly ParameterEntity[];
|
|
72
79
|
getDefinition(): ConstructorEntityDefinition;
|
|
73
|
-
|
|
80
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
81
|
+
getContainingPackage(): PackageEntity;
|
|
74
82
|
isDefault(): DefaultConstructorEntityInfo | undefined;
|
|
75
83
|
isHidden(): EntityHidingLevel | undefined;
|
|
76
84
|
markedAbstract(): boolean;
|
|
77
85
|
getTags(): readonly Tag[];
|
|
78
|
-
|
|
86
|
+
getTranslation(): Translation | undefined;
|
|
87
|
+
getLocale(): PackageLocale;
|
|
88
|
+
getDialect(): PackageDialect;
|
|
79
89
|
getOriginalEntity(): ConstructorEntity;
|
|
80
90
|
}
|
|
81
91
|
export declare class DefaultConstructorEntity implements ConstructorEntity {
|
|
82
|
-
private readonly
|
|
83
|
-
private readonly
|
|
84
|
-
private readonly
|
|
85
|
-
private readonly
|
|
92
|
+
private readonly analyzer;
|
|
93
|
+
private readonly containingType;
|
|
94
|
+
private readonly variablesToInitialize;
|
|
95
|
+
private readonly baseConstructor;
|
|
86
96
|
readonly kind = EntityKind.Constructor;
|
|
87
|
-
private readonly
|
|
88
|
-
constructor(
|
|
89
|
-
|
|
97
|
+
private readonly parametersInfo;
|
|
98
|
+
constructor(analyzer: Analyzer, containingType: TypeEntityWithMembers, variablesToInitialize: readonly VariableToInitialize[], baseConstructor: types.Constructor | undefined);
|
|
99
|
+
getParameters(): readonly ParameterEntity[];
|
|
90
100
|
getDefinition(): ConstructorEntityDefinition;
|
|
91
|
-
|
|
101
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
102
|
+
getContainingPackage(): PackageEntity;
|
|
92
103
|
isDefault(): DefaultConstructorEntityInfo | undefined;
|
|
93
104
|
isHidden(): EntityHidingLevel | undefined;
|
|
94
105
|
markedAbstract(): boolean;
|
|
95
106
|
getTags(): readonly Tag[];
|
|
96
|
-
|
|
107
|
+
getTranslation(): Translation | undefined;
|
|
108
|
+
getLocale(): PackageLocale;
|
|
109
|
+
getDialect(): PackageDialect;
|
|
97
110
|
getOriginalEntity(): ConstructorEntity;
|
|
98
111
|
private getParametersInfo;
|
|
99
112
|
private createOrderedParametersForBaseConstructor;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { Analyzer } from '../analysis/index.js';
|
|
2
|
-
import { Localization } 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 { DereferencedVariableGetterDeclaration, DereferencedVariableSetterDeclaration } from '../tree/index.js';
|
|
5
6
|
import * as types from '../types/index.js';
|
|
6
|
-
import {
|
|
7
|
-
|
|
7
|
+
import { IEntity } from './IEntity.js';
|
|
8
|
+
import { DefinitionKind, EntityHidingLevel, EntityKind, GetterEntity, PackageEntity, SetterEntity, TypeWithMembersOrExtensionEntity } from './index.js';
|
|
9
|
+
export interface DereferenceOperatorEntity extends IEntity {
|
|
8
10
|
readonly kind: EntityKind.DereferenceOperator;
|
|
9
11
|
getType(): types.Type;
|
|
10
12
|
getGetter(): GetterEntity | undefined;
|
|
11
13
|
getSetter(): SetterEntity | undefined;
|
|
12
14
|
getDefinition(): DereferenceOperatorEntityDefinition;
|
|
13
|
-
|
|
15
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
14
16
|
isStatic(): boolean;
|
|
15
17
|
isHidden(): EntityHidingLevel | undefined;
|
|
16
18
|
isOverride(): boolean;
|
|
@@ -18,7 +20,7 @@ export interface DereferenceOperatorEntity {
|
|
|
18
20
|
markedAbstract(): boolean;
|
|
19
21
|
getTags(): readonly Tag[];
|
|
20
22
|
getOverriddenMembers(): readonly types.DereferenceOperator[];
|
|
21
|
-
|
|
23
|
+
getTranslation(): Translation | undefined;
|
|
22
24
|
getOriginalEntity(): DereferenceOperatorEntity;
|
|
23
25
|
ensureAllDiagnosticsReported?(): void;
|
|
24
26
|
}
|
|
@@ -30,19 +32,21 @@ export type DereferenceOperatorEntityDefinition = {
|
|
|
30
32
|
};
|
|
31
33
|
export declare class DereferenceOperatorDeclarationEntity implements DereferenceOperatorEntity {
|
|
32
34
|
readonly kind = EntityKind.DereferenceOperator;
|
|
33
|
-
private readonly
|
|
34
|
-
private readonly
|
|
35
|
-
private readonly
|
|
36
|
-
private readonly
|
|
37
|
-
private
|
|
38
|
-
private
|
|
35
|
+
private readonly analyzer;
|
|
36
|
+
private readonly getterDeclaration;
|
|
37
|
+
private readonly setterDeclaration;
|
|
38
|
+
private readonly getterOrSetterDeclaration;
|
|
39
|
+
private containingEntity;
|
|
40
|
+
private modifierFlags_;
|
|
41
|
+
private hasReportedAllDiagnostics;
|
|
39
42
|
private get modifierFlags();
|
|
40
43
|
constructor(analyzer: Analyzer, getterDeclaration: DereferencedVariableGetterDeclaration | undefined, setterDeclaration: DereferencedVariableSetterDeclaration | undefined);
|
|
41
44
|
getType(): types.Type;
|
|
42
45
|
getGetter(): GetterEntity | undefined;
|
|
43
46
|
getSetter(): SetterEntity | undefined;
|
|
44
47
|
getDefinition(): DereferenceOperatorEntityDefinition;
|
|
45
|
-
|
|
48
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
49
|
+
getContainingPackage(): PackageEntity;
|
|
46
50
|
isStatic(): boolean;
|
|
47
51
|
isHidden(): EntityHidingLevel | undefined;
|
|
48
52
|
markedBasic(): boolean;
|
|
@@ -50,7 +54,9 @@ export declare class DereferenceOperatorDeclarationEntity implements Dereference
|
|
|
50
54
|
markedAbstract(): boolean;
|
|
51
55
|
getTags(): readonly Tag[];
|
|
52
56
|
getOverriddenMembers(): readonly types.DereferenceOperator[];
|
|
53
|
-
|
|
57
|
+
getTranslation(): Translation | undefined;
|
|
58
|
+
getLocale(): PackageLocale;
|
|
59
|
+
getDialect(): PackageDialect;
|
|
54
60
|
getOriginalEntity(): DereferenceOperatorEntity;
|
|
55
61
|
ensureAllDiagnosticsReported(): void;
|
|
56
62
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
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 { PackageDialect, PackageLocale } from '../common/index.js';
|
|
4
5
|
import { DestructorDeclaration } from '../tree/index.js';
|
|
5
|
-
import {
|
|
6
|
-
|
|
6
|
+
import { IEntity } from './IEntity.js';
|
|
7
|
+
import { DefinitionKind, EntityHidingLevel, EntityKind, PackageEntity, ParameterEntity, TypeWithMembersOrExtensionEntity } from './index.js';
|
|
8
|
+
export interface DestructorEntity extends IEntity {
|
|
7
9
|
readonly kind: EntityKind.Destructor;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
getParameters(): readonly ParameterEntity[];
|
|
11
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
10
12
|
getDefinition(): DestructorEntityDefinition;
|
|
11
13
|
isHidden(): EntityHidingLevel | undefined;
|
|
12
14
|
markedAbstract(): boolean;
|
|
13
15
|
getTags(): readonly Tag[];
|
|
14
|
-
|
|
16
|
+
getTranslation(): Translation | undefined;
|
|
15
17
|
getOriginalEntity(): DestructorEntity;
|
|
16
18
|
}
|
|
17
19
|
export type DestructorEntityDefinition = {
|
|
@@ -19,19 +21,24 @@ export type DestructorEntityDefinition = {
|
|
|
19
21
|
node: DestructorDeclaration;
|
|
20
22
|
};
|
|
21
23
|
export declare class DestructorDeclarationEntity implements DestructorEntity {
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
+
private readonly analyzer;
|
|
25
|
+
private readonly node;
|
|
24
26
|
readonly kind = EntityKind.Destructor;
|
|
25
|
-
private readonly
|
|
26
|
-
private
|
|
27
|
+
private readonly parameters;
|
|
28
|
+
private readonly hiding;
|
|
29
|
+
private containingEntity;
|
|
30
|
+
private modifierFlags_;
|
|
27
31
|
private get modifierFlags();
|
|
28
|
-
constructor(
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
constructor(analyzer: Analyzer, node: DestructorDeclaration);
|
|
33
|
+
getParameters(): readonly ParameterEntity[];
|
|
34
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
35
|
+
getContainingPackage(): PackageEntity;
|
|
31
36
|
getDefinition(): DestructorEntityDefinition;
|
|
32
37
|
isHidden(): EntityHidingLevel | undefined;
|
|
33
38
|
markedAbstract(): boolean;
|
|
34
39
|
getTags(): readonly Tag[];
|
|
35
|
-
|
|
40
|
+
getTranslation(): Translation | undefined;
|
|
41
|
+
getLocale(): PackageLocale;
|
|
42
|
+
getDialect(): PackageDialect;
|
|
36
43
|
getOriginalEntity(): DestructorEntity;
|
|
37
44
|
}
|
|
@@ -2,9 +2,9 @@ import { SourceFile } from '../project/SourceFile.js';
|
|
|
2
2
|
import { BaseEntityHidingMatcher } from './BaseEntityHidingMatcher.js';
|
|
3
3
|
import { PackageEntity, TypeEntity } from './index.js';
|
|
4
4
|
export declare class EntityHidingMatcherWithinTypeEntity extends BaseEntityHidingMatcher {
|
|
5
|
-
private readonly
|
|
5
|
+
private readonly typeEntity_;
|
|
6
6
|
protected sourceFile: SourceFile | undefined;
|
|
7
7
|
protected get typeEntity(): TypeEntity | undefined;
|
|
8
8
|
protected get package(): PackageEntity;
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(typeEntity_: TypeEntity);
|
|
10
10
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AnalyzedTranslationPackage } from '../analysis/AnalyzedTranslationPackage.js';
|
|
2
2
|
import { Analyzer } from '../analysis/Analyzer.js';
|
|
3
3
|
import * as types from '../types/index.js';
|
|
4
|
-
import { AliasTypeEntity, AnonymousFunctionTypeEntity, AnonymousStructuredTypeEntity, AnonymousVariantTypeEntity, ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, Entity, EntityContext, FieldEntity, FunctionTypeEntity, GetterEntity, IndexerEntity, MethodEntity, NamedPackageMemberEntity, NamedTypeMemberEntity, OperatorEntity, PackageEntity, PackageFunctionEntity, PackageFunctionTypeEntity, PackageStructuredTypeEntity, PackageTypeEntity, PackageVariableEntity, PackageVariantTypeEntity,
|
|
4
|
+
import { AliasTypeEntity, AnonymousFunctionTypeEntity, AnonymousStructuredTypeEntity, AnonymousVariantTypeEntity, ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, Entity, EntityContext, FieldEntity, FunctionTypeEntity, GetterEntity, IndexerEntity, MethodEntity, NamedPackageMemberEntity, NamedTypeMemberEntity, OperatorEntity, PackageEntity, PackageFunctionEntity, PackageFunctionTypeEntity, PackageStructuredTypeEntity, PackageTypeEntity, PackageVariableEntity, PackageVariantTypeEntity, ParameterEntity, SetterEntity, StructuredTypeEntity, TypeEntity, TypeEntityWithMembers, TypeExtensionEntity, TypeParameterEntity, TypeWithMembersOrExtensionEntity, VariantTypeEntity } from './index.js';
|
|
5
5
|
import { TypeEntityMembers } from './TypeEntityMembers.js';
|
|
6
6
|
export declare class EntityLocalizationContext {
|
|
7
|
-
private readonly
|
|
8
|
-
private readonly
|
|
9
|
-
private readonly
|
|
7
|
+
private readonly analyzer;
|
|
8
|
+
private readonly translationPackage;
|
|
9
|
+
private readonly translatedEntities_;
|
|
10
10
|
constructor(analyzer: Analyzer, translationPackage: AnalyzedTranslationPackage);
|
|
11
11
|
getLocalizedPackageEntity(entity: PackageEntity): PackageEntity;
|
|
12
12
|
getLocalizedPackageVariableEntity(entity: PackageVariableEntity): PackageVariableEntity;
|
|
13
13
|
getLocalizedFieldEntity(entity: FieldEntity): FieldEntity;
|
|
14
|
-
|
|
14
|
+
getLocalizedParameterEntity(entity: ParameterEntity): ParameterEntity;
|
|
15
15
|
getLocalizedPackageVariantTypeEntity(entity: PackageVariantTypeEntity): PackageVariantTypeEntity;
|
|
16
16
|
getLocalizedAnonymousVariantTypeEntity(entity: AnonymousVariantTypeEntity): AnonymousVariantTypeEntity;
|
|
17
17
|
getLocalizedGetterEntity(entity: GetterEntity): GetterEntity;
|
|
@@ -36,18 +36,18 @@ export declare class EntityLocalizationContext {
|
|
|
36
36
|
getLocalizedFunctionTypeEntity(entity: FunctionTypeEntity): FunctionTypeEntity;
|
|
37
37
|
getLocalizedVariantTypeEntity(entity: VariantTypeEntity): VariantTypeEntity;
|
|
38
38
|
getLocalizedTypeEntity(entity: TypeEntity): TypeEntity;
|
|
39
|
-
|
|
39
|
+
getLocalizedTypeEntityWithMembers(entity: TypeEntityWithMembers): TypeEntityWithMembers;
|
|
40
40
|
getLocalizedPackageTypeEntity(entity: PackageTypeEntity): PackageTypeEntity;
|
|
41
41
|
getLocalizedEntity(entity: LocalizableEntity): LocalizableEntity;
|
|
42
42
|
getLocalizedEntityForPossiblyNotLocalizableEntity(entity: Entity): Entity;
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
createLocalizedType(type: types.Type): types.Type;
|
|
44
|
+
createLocalizedSubstitutions(substitutions: types.Substitutions): types.Substitutions;
|
|
45
45
|
createLocalizedTypeEntityMembers(members: TypeEntityMembers): TypeEntityMembers;
|
|
46
|
-
|
|
46
|
+
getLocalizedTypeWithMembersOrExtensionEntity(entity: TypeWithMembersOrExtensionEntity): TypeWithMembersOrExtensionEntity;
|
|
47
47
|
createLocalizedEntityContext(context: EntityContext): EntityContext;
|
|
48
48
|
private createTranslatedEntity;
|
|
49
49
|
private createTranslatedTypeEntity;
|
|
50
50
|
private getTranslatedName;
|
|
51
51
|
}
|
|
52
|
-
export type LocalizableEntity = PackageEntity | PackageVariableEntity | FieldEntity |
|
|
52
|
+
export type LocalizableEntity = PackageEntity | PackageVariableEntity | FieldEntity | ParameterEntity | PackageVariantTypeEntity | AnonymousVariantTypeEntity | GetterEntity | SetterEntity | PackageFunctionEntity | MethodEntity | TypeParameterEntity | OperatorEntity | IndexerEntity | DereferenceOperatorEntity | ConstructorEntity | DestructorEntity | PackageFunctionTypeEntity | AnonymousFunctionTypeEntity | PackageStructuredTypeEntity | AnonymousStructuredTypeEntity | AliasTypeEntity | TypeExtensionEntity;
|
|
53
53
|
export declare function isLocalizableEntity(entity: Entity): entity is LocalizableEntity;
|
|
@@ -1,21 +1,22 @@
|
|
|
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 { MethodDeclaration, NestedFunctionDeclaration, PackageFunctionDeclaration } from '../tree/index.js';
|
|
6
6
|
import * as types from '../types/index.js';
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
7
|
+
import { IEntity } from './IEntity.js';
|
|
8
|
+
import type { PackageEntity, TypeWithMembersOrExtensionEntity } from './index.js';
|
|
9
|
+
import { DefinitionKind, EntityHidingLevel, EntityKind, ParameterEntity, SubstitutionApplicationMode, TypeParameterEntity } from './index.js';
|
|
9
10
|
export type FunctionEntity = PackageFunctionEntity | MethodEntity | NestedFunctionEntity;
|
|
10
11
|
export interface PackageFunctionEntity extends IFunctionEntity {
|
|
11
12
|
readonly subkind: 'package';
|
|
12
13
|
getContainingPackage(): PackageEntity;
|
|
13
|
-
|
|
14
|
+
getTranslation(): Translation | undefined;
|
|
14
15
|
getOriginalEntity(): PackageFunctionEntity;
|
|
15
16
|
}
|
|
16
17
|
export interface MethodEntity extends IFunctionEntity {
|
|
17
18
|
readonly subkind: 'method';
|
|
18
|
-
|
|
19
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
19
20
|
isStatic(): boolean;
|
|
20
21
|
isOverride(): boolean;
|
|
21
22
|
markedBasic(): boolean;
|
|
@@ -23,20 +24,20 @@ export interface MethodEntity extends IFunctionEntity {
|
|
|
23
24
|
isModifyingOwningPlainObject(): boolean;
|
|
24
25
|
isFunctionTypeInvokeMethod(): boolean;
|
|
25
26
|
getOverriddenMembers(): readonly types.Method[];
|
|
26
|
-
|
|
27
|
+
getTranslation(): Translation | undefined;
|
|
27
28
|
getOriginalEntity(): MethodEntity;
|
|
28
29
|
}
|
|
29
30
|
export interface NestedFunctionEntity extends IFunctionEntity {
|
|
30
31
|
readonly subkind: 'nested';
|
|
31
32
|
getContainingPackage(): PackageEntity;
|
|
32
|
-
|
|
33
|
+
getTranslation(): Translation | undefined;
|
|
33
34
|
getOriginalEntity(): NestedFunctionEntity;
|
|
34
35
|
}
|
|
35
|
-
interface IFunctionEntity {
|
|
36
|
+
interface IFunctionEntity extends IEntity {
|
|
36
37
|
readonly kind: EntityKind.Function;
|
|
37
38
|
getName(): Name;
|
|
38
39
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
39
|
-
|
|
40
|
+
getParameters(): readonly ParameterEntity[];
|
|
40
41
|
getReturnType(): types.Type;
|
|
41
42
|
getDefinition(): FunctionEntityDefinition;
|
|
42
43
|
isAsync(): boolean;
|
|
@@ -54,21 +55,22 @@ export type FunctionEntityDefinition = {
|
|
|
54
55
|
kind: DefinitionKind.TypeScript;
|
|
55
56
|
};
|
|
56
57
|
export declare class PackageFunctionDeclarationEntity implements PackageFunctionEntity {
|
|
57
|
-
private readonly
|
|
58
|
-
private readonly
|
|
58
|
+
private readonly analyzer;
|
|
59
|
+
private readonly node;
|
|
59
60
|
readonly kind = EntityKind.Function;
|
|
60
61
|
readonly subkind = "package";
|
|
61
|
-
private readonly
|
|
62
|
-
private readonly
|
|
63
|
-
private readonly
|
|
64
|
-
private readonly
|
|
65
|
-
private
|
|
62
|
+
private readonly name;
|
|
63
|
+
private readonly typeParameters;
|
|
64
|
+
private readonly parameters;
|
|
65
|
+
private readonly returnType;
|
|
66
|
+
private readonly hiding;
|
|
67
|
+
private modifierFlags_;
|
|
66
68
|
private get modifierFlags();
|
|
67
|
-
constructor(
|
|
69
|
+
constructor(analyzer: Analyzer, node: PackageFunctionDeclaration);
|
|
68
70
|
getName(): Name;
|
|
69
71
|
getContainingPackage(): PackageEntity;
|
|
70
72
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
71
|
-
|
|
73
|
+
getParameters(): readonly ParameterEntity[];
|
|
72
74
|
getReturnType(): types.Type;
|
|
73
75
|
getDefinition(): FunctionEntityDefinition;
|
|
74
76
|
isAsync(): boolean;
|
|
@@ -76,24 +78,28 @@ export declare class PackageFunctionDeclarationEntity implements PackageFunction
|
|
|
76
78
|
getTags(): readonly Tag[];
|
|
77
79
|
getTypeParametersArity(): number;
|
|
78
80
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
79
|
-
|
|
81
|
+
getTranslation(): Translation | undefined;
|
|
82
|
+
getLocale(): PackageLocale;
|
|
83
|
+
getDialect(): PackageDialect;
|
|
80
84
|
getOriginalEntity(): PackageFunctionEntity;
|
|
81
85
|
}
|
|
82
86
|
export declare class MethodDeclarationEntity implements MethodEntity {
|
|
83
|
-
private readonly
|
|
84
|
-
private readonly
|
|
87
|
+
private readonly analyzer;
|
|
88
|
+
private readonly node;
|
|
85
89
|
readonly kind = EntityKind.Function;
|
|
86
90
|
readonly subkind = "method";
|
|
87
|
-
private readonly
|
|
88
|
-
private readonly
|
|
89
|
-
private readonly
|
|
90
|
-
private readonly
|
|
91
|
-
private
|
|
91
|
+
private readonly name;
|
|
92
|
+
private readonly typeParameters;
|
|
93
|
+
private readonly parameters;
|
|
94
|
+
private readonly returnType;
|
|
95
|
+
private readonly hiding;
|
|
96
|
+
private containingEntity;
|
|
97
|
+
private modifierFlags_;
|
|
92
98
|
private get modifierFlags();
|
|
93
|
-
constructor(
|
|
99
|
+
constructor(analyzer: Analyzer, node: MethodDeclaration);
|
|
94
100
|
getName(): Name;
|
|
95
101
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
96
|
-
|
|
102
|
+
getParameters(): readonly ParameterEntity[];
|
|
97
103
|
getReturnType(): types.Type;
|
|
98
104
|
getDefinition(): FunctionEntityDefinition;
|
|
99
105
|
isAsync(): boolean;
|
|
@@ -101,7 +107,8 @@ export declare class MethodDeclarationEntity implements MethodEntity {
|
|
|
101
107
|
getTags(): readonly Tag[];
|
|
102
108
|
getTypeParametersArity(): number;
|
|
103
109
|
isFunctionTypeInvokeMethod(): boolean;
|
|
104
|
-
|
|
110
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
111
|
+
getContainingPackage(): PackageEntity;
|
|
105
112
|
isStatic(): boolean;
|
|
106
113
|
markedBasic(): boolean;
|
|
107
114
|
isOverride(): boolean;
|
|
@@ -109,23 +116,25 @@ export declare class MethodDeclarationEntity implements MethodEntity {
|
|
|
109
116
|
isModifyingOwningPlainObject(): boolean;
|
|
110
117
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
111
118
|
getOverriddenMembers(): readonly types.Method[];
|
|
112
|
-
|
|
119
|
+
getTranslation(): Translation | undefined;
|
|
120
|
+
getLocale(): PackageLocale;
|
|
121
|
+
getDialect(): PackageDialect;
|
|
113
122
|
getOriginalEntity(): MethodEntity;
|
|
114
123
|
}
|
|
115
124
|
export declare class NestedFunctionDeclarationEntity implements NestedFunctionEntity {
|
|
116
|
-
private readonly
|
|
117
|
-
private readonly
|
|
125
|
+
private readonly analyzer;
|
|
126
|
+
private readonly node;
|
|
118
127
|
readonly kind = EntityKind.Function;
|
|
119
128
|
readonly subkind = "nested";
|
|
120
|
-
private readonly
|
|
121
|
-
private readonly
|
|
122
|
-
private readonly
|
|
123
|
-
private readonly
|
|
124
|
-
constructor(
|
|
129
|
+
private readonly name;
|
|
130
|
+
private readonly typeParameters;
|
|
131
|
+
private readonly parameters;
|
|
132
|
+
private readonly returnType;
|
|
133
|
+
constructor(analyzer: Analyzer, node: NestedFunctionDeclaration);
|
|
125
134
|
getName(): Name;
|
|
126
135
|
getContainingPackage(): PackageEntity;
|
|
127
136
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
128
|
-
|
|
137
|
+
getParameters(): readonly ParameterEntity[];
|
|
129
138
|
getReturnType(): types.Type;
|
|
130
139
|
getDefinition(): FunctionEntityDefinition;
|
|
131
140
|
isAsync(): boolean;
|
|
@@ -133,25 +142,27 @@ export declare class NestedFunctionDeclarationEntity implements NestedFunctionEn
|
|
|
133
142
|
getTags(): readonly Tag[];
|
|
134
143
|
getTypeParametersArity(): number;
|
|
135
144
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
136
|
-
|
|
145
|
+
getTranslation(): Translation | undefined;
|
|
146
|
+
getLocale(): PackageLocale;
|
|
147
|
+
getDialect(): PackageDialect;
|
|
137
148
|
getOriginalEntity(): NestedFunctionEntity;
|
|
138
149
|
}
|
|
139
150
|
export declare class IntrinsicPackageFunctionEntity implements PackageFunctionEntity {
|
|
140
|
-
private readonly
|
|
141
|
-
private readonly
|
|
142
|
-
private readonly
|
|
143
|
-
private readonly
|
|
144
|
-
private readonly
|
|
145
|
-
private readonly
|
|
146
|
-
private readonly
|
|
147
|
-
private readonly
|
|
151
|
+
private readonly name;
|
|
152
|
+
private readonly typeParameters;
|
|
153
|
+
private readonly parameters;
|
|
154
|
+
private readonly returnType;
|
|
155
|
+
private readonly isAsync_;
|
|
156
|
+
private readonly isHidden_;
|
|
157
|
+
private readonly tags;
|
|
158
|
+
private readonly containingPackage;
|
|
148
159
|
readonly kind = EntityKind.Function;
|
|
149
160
|
readonly subkind = "package";
|
|
150
|
-
constructor(
|
|
161
|
+
constructor(name: Name, typeParameters: readonly TypeParameterEntity[], parameters: readonly ParameterEntity[], returnType: types.Type, isAsync_: boolean, isHidden_: EntityHidingLevel | undefined, tags: readonly Tag[], containingPackage: PackageEntity);
|
|
151
162
|
getName(): Name;
|
|
152
163
|
getContainingPackage(): PackageEntity;
|
|
153
164
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
154
|
-
|
|
165
|
+
getParameters(): readonly ParameterEntity[];
|
|
155
166
|
getReturnType(): types.Type;
|
|
156
167
|
getDefinition(): FunctionEntityDefinition;
|
|
157
168
|
isAsync(): boolean;
|
|
@@ -159,31 +170,33 @@ export declare class IntrinsicPackageFunctionEntity implements PackageFunctionEn
|
|
|
159
170
|
getTags(): readonly Tag[];
|
|
160
171
|
getTypeParametersArity(): number;
|
|
161
172
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
162
|
-
|
|
173
|
+
getTranslation(): Translation | undefined;
|
|
174
|
+
getLocale(): PackageLocale;
|
|
175
|
+
getDialect(): PackageDialect;
|
|
163
176
|
getOriginalEntity(): PackageFunctionEntity;
|
|
164
177
|
}
|
|
165
178
|
export declare class IntrinsicMethodEntity implements MethodEntity {
|
|
166
|
-
private readonly
|
|
167
|
-
private readonly
|
|
168
|
-
private readonly
|
|
169
|
-
private readonly
|
|
170
|
-
private readonly
|
|
171
|
-
private readonly
|
|
172
|
-
private readonly
|
|
173
|
-
private readonly
|
|
174
|
-
private readonly
|
|
175
|
-
private readonly
|
|
176
|
-
private readonly
|
|
177
|
-
private readonly
|
|
178
|
-
private readonly
|
|
179
|
-
private readonly
|
|
180
|
-
private readonly
|
|
179
|
+
private readonly name;
|
|
180
|
+
private readonly typeParameters;
|
|
181
|
+
private readonly parameters;
|
|
182
|
+
private readonly returnType;
|
|
183
|
+
private readonly isAsync_;
|
|
184
|
+
private readonly isHidden_;
|
|
185
|
+
private readonly tags;
|
|
186
|
+
private readonly isFunctionTypeInvokeMethod_;
|
|
187
|
+
private readonly containingEntity;
|
|
188
|
+
private readonly isStatic_;
|
|
189
|
+
private readonly isBasic_;
|
|
190
|
+
private readonly isOverride_;
|
|
191
|
+
private readonly isAbstract_;
|
|
192
|
+
private readonly isModifyingOwningPlainObject_;
|
|
193
|
+
private readonly overriddenMembers;
|
|
181
194
|
readonly kind = EntityKind.Function;
|
|
182
195
|
readonly subkind = "method";
|
|
183
|
-
constructor(
|
|
196
|
+
constructor(name: Name, typeParameters: readonly TypeParameterEntity[], parameters: readonly ParameterEntity[], returnType: types.Type, isAsync_: boolean, isHidden_: EntityHidingLevel | undefined, tags: readonly Tag[], isFunctionTypeInvokeMethod_: boolean, containingEntity: TypeWithMembersOrExtensionEntity, isStatic_: boolean, isBasic_: boolean, isOverride_: boolean, isAbstract_: boolean, isModifyingOwningPlainObject_: boolean, overriddenMembers: readonly types.Method[]);
|
|
184
197
|
getName(): Name;
|
|
185
198
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
186
|
-
|
|
199
|
+
getParameters(): readonly ParameterEntity[];
|
|
187
200
|
getReturnType(): types.Type;
|
|
188
201
|
getDefinition(): FunctionEntityDefinition;
|
|
189
202
|
isAsync(): boolean;
|
|
@@ -191,7 +204,8 @@ export declare class IntrinsicMethodEntity implements MethodEntity {
|
|
|
191
204
|
getTags(): readonly Tag[];
|
|
192
205
|
getTypeParametersArity(): number;
|
|
193
206
|
isFunctionTypeInvokeMethod(): boolean;
|
|
194
|
-
|
|
207
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
208
|
+
getContainingPackage(): PackageEntity;
|
|
195
209
|
isStatic(): boolean;
|
|
196
210
|
markedBasic(): boolean;
|
|
197
211
|
isOverride(): boolean;
|
|
@@ -199,7 +213,9 @@ export declare class IntrinsicMethodEntity implements MethodEntity {
|
|
|
199
213
|
isModifyingOwningPlainObject(): boolean;
|
|
200
214
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
201
215
|
getOverriddenMembers(): readonly types.Method[];
|
|
202
|
-
|
|
216
|
+
getTranslation(): Translation | undefined;
|
|
217
|
+
getLocale(): PackageLocale;
|
|
218
|
+
getDialect(): PackageDialect;
|
|
203
219
|
getOriginalEntity(): MethodEntity;
|
|
204
220
|
}
|
|
205
221
|
export {};
|