@artel/artc 0.6.25191
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 +20 -0
- package/build/api/Api.js +664 -0
- package/build/api/ApiNodeJS.js +20 -0
- package/build/api/ApiServices.js +12847 -0
- package/build/chunk-BQHCAH6D.js +588 -0
- package/build/chunk-O2JKESUU.js +63219 -0
- package/build/chunk-QRBDQKYM.js +94 -0
- package/build/types/Cli.d.ts +3 -0
- package/build/types/analysis/AccessedMethod.d.ts +53 -0
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +191 -0
- package/build/types/analysis/Analyzer.d.ts +665 -0
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +25 -0
- package/build/types/analysis/BaseExpressionMeaning.d.ts +47 -0
- package/build/types/analysis/BuiltInOperators.d.ts +14 -0
- package/build/types/analysis/CallArgumentToParameterMatchResult.d.ts +30 -0
- package/build/types/analysis/CallArgumentsToParametersMatcher.d.ts +44 -0
- package/build/types/analysis/CallExpressionMeaning.d.ts +39 -0
- package/build/types/analysis/ConstructorOverloadResolver.d.ts +34 -0
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +18 -0
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +23 -0
- package/build/types/analysis/DiagnosticCollector.d.ts +68 -0
- package/build/types/analysis/EntityLocalizationHelper.d.ts +15 -0
- package/build/types/analysis/FindModifier.d.ts +4 -0
- package/build/types/analysis/FoundDeclaration.d.ts +19 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +98 -0
- package/build/types/analysis/ImportedPackageNameTree.d.ts +22 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +26 -0
- package/build/types/analysis/IndexerAccess.d.ts +10 -0
- package/build/types/analysis/Localization.d.ts +54 -0
- package/build/types/analysis/LocalizationContext.d.ts +15 -0
- package/build/types/analysis/Lookup.d.ts +23 -0
- package/build/types/analysis/NamedTypeResolver.d.ts +42 -0
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +20 -0
- package/build/types/analysis/NodeTypeUtils.d.ts +28 -0
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +38 -0
- package/build/types/analysis/OperationOverloadResolver.d.ts +19 -0
- package/build/types/analysis/OverloadResolver.d.ts +12 -0
- package/build/types/analysis/PackageMemberLookup.d.ts +15 -0
- package/build/types/analysis/PrefixUnaryOperatorResolver.d.ts +27 -0
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +100 -0
- package/build/types/analysis/Scope.d.ts +309 -0
- package/build/types/analysis/SemanticContext.d.ts +320 -0
- package/build/types/analysis/SemanticContextBuilder.d.ts +54 -0
- package/build/types/analysis/SourceFileMembers.d.ts +92 -0
- package/build/types/analysis/SourcePackageDependencyGraph.d.ts +41 -0
- package/build/types/analysis/SourcePackageMembersCreator.d.ts +6 -0
- package/build/types/analysis/StatementBlockScopeBuilder.d.ts +22 -0
- package/build/types/analysis/SubstitutedMethod.d.ts +49 -0
- package/build/types/analysis/TagMeaning.d.ts +26 -0
- package/build/types/analysis/Tags.d.ts +29 -0
- package/build/types/analysis/TargetTypeHint.d.ts +5 -0
- package/build/types/analysis/TypeInferrer.d.ts +9 -0
- package/build/types/analysis/TypeMemberLookup.d.ts +27 -0
- package/build/types/analysis/TypeOverloadResolver.d.ts +7 -0
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +37 -0
- package/build/types/analysis/Utils.d.ts +17 -0
- package/build/types/analysis/VariableAccess.d.ts +10 -0
- package/build/types/analysis/VariantLookup.d.ts +20 -0
- package/build/types/analysis/Visitor.d.ts +7 -0
- package/build/types/analysis/WellKnownDeclarations.d.ts +34 -0
- package/build/types/analysis/index.d.ts +8 -0
- package/build/types/api/Api.d.ts +59 -0
- package/build/types/api/ApiNodeJS.d.ts +5 -0
- package/build/types/api/ApiServices.d.ts +3 -0
- package/build/types/common/AccessKind.d.ts +4 -0
- package/build/types/common/ArtelFileCheck.d.ts +2 -0
- package/build/types/common/Cached.d.ts +6 -0
- package/build/types/common/CancellationToken.d.ts +13 -0
- package/build/types/common/Constants.d.ts +19 -0
- package/build/types/common/Debug.d.ts +10 -0
- package/build/types/common/Delayed.d.ts +7 -0
- package/build/types/common/ErrorHandlingStrategy.d.ts +3 -0
- package/build/types/common/FormatString.d.ts +5 -0
- package/build/types/common/HelperPhrases.d.ts +11 -0
- package/build/types/common/Interner.d.ts +4 -0
- package/build/types/common/L10nConfig.d.ts +1 -0
- package/build/types/common/Lazy.d.ts +9 -0
- package/build/types/common/LocalizationHelper.d.ts +10 -0
- package/build/types/common/Logger.d.ts +10 -0
- package/build/types/common/Name.d.ts +83 -0
- package/build/types/common/NameFormatConversion.d.ts +12 -0
- package/build/types/common/NonEmptyArray.d.ts +8 -0
- package/build/types/common/Option.d.ts +28 -0
- package/build/types/common/PackageDialect.d.ts +5 -0
- package/build/types/common/PackageLocale.d.ts +15 -0
- package/build/types/common/PackageLocaleGuard.d.ts +1 -0
- package/build/types/common/Path.d.ts +8 -0
- package/build/types/common/PerformanceMeasurement.d.ts +20 -0
- package/build/types/common/Query.d.ts +39 -0
- package/build/types/common/Range.d.ts +10 -0
- package/build/types/common/Result.d.ts +13 -0
- package/build/types/common/SearchName.d.ts +13 -0
- package/build/types/common/ThrottledCancellationToken.d.ts +17 -0
- package/build/types/common/TreeQuery.d.ts +53 -0
- package/build/types/common/TreeTraversal.d.ts +13 -0
- package/build/types/common/Uri.d.ts +28 -0
- package/build/types/common/UriTree.d.ts +41 -0
- package/build/types/common/UserLocale.d.ts +2 -0
- package/build/types/common/WithDiagnostics.d.ts +19 -0
- package/build/types/common/YieldExecution.d.ts +1 -0
- package/build/types/common/index.d.ts +32 -0
- package/build/types/diagnostic/Diagnostic.d.ts +21 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +146 -0
- package/build/types/diagnostic/DiagnosticData.d.ts +20 -0
- package/build/types/diagnostic/DiagnosticFormatter.d.ts +8 -0
- package/build/types/diagnostic/RangeDiagnostic.d.ts +19 -0
- package/build/types/emitter/BlockStatementTransformationResult.d.ts +10 -0
- package/build/types/emitter/CustomModuleLoader.d.ts +1 -0
- package/build/types/emitter/DebugStack.d.ts +10 -0
- package/build/types/emitter/Emitter.d.ts +61 -0
- package/build/types/emitter/EmitterContext.d.ts +342 -0
- package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +36 -0
- package/build/types/emitter/EmitterPackage.d.ts +60 -0
- package/build/types/emitter/EntityNameProviders.d.ts +33 -0
- package/build/types/emitter/ExpressionTransformationResult.d.ts +17 -0
- package/build/types/emitter/GeneralLowering.d.ts +72 -0
- package/build/types/emitter/Internal.d.ts +10 -0
- package/build/types/emitter/IntrinsicEntities.d.ts +118 -0
- package/build/types/emitter/IrBuilder.d.ts +108 -0
- package/build/types/emitter/IrToJs.d.ts +113 -0
- package/build/types/emitter/JavaScriptName.d.ts +1 -0
- package/build/types/emitter/PackageMemberDeclarationTransformationResult.d.ts +17 -0
- package/build/types/emitter/SimpleTransformationResult.d.ts +14 -0
- package/build/types/emitter/StatementTransformationResult.d.ts +16 -0
- package/build/types/emitter/StructuredTypeMemberDeclarationTransformationResult.d.ts +13 -0
- package/build/types/emitter/TransformationContinuationAction.d.ts +4 -0
- package/build/types/emitter/Transformer.d.ts +282 -0
- package/build/types/emitter/TypeAccessExpressionTransformationResult.d.ts +12 -0
- package/build/types/emitter/error-boundary.d.ts +10 -0
- package/build/types/emitter/index.d.ts +1 -0
- package/build/types/emitter/ir/AccessedEntities.d.ts +19 -0
- package/build/types/emitter/ir/LoweringOptions.d.ts +34 -0
- package/build/types/emitter/ir/Nodes.d.ts +1585 -0
- package/build/types/emitter/ir/SourceLocation.d.ts +10 -0
- package/build/types/emitter/ir/index.d.ts +5 -0
- package/build/types/emitter/ir/types.d.ts +10 -0
- package/build/types/entities/AliasTypeEntity.d.ts +84 -0
- package/build/types/entities/BinaryOperatorEntity.d.ts +48 -0
- package/build/types/entities/ConstructorEntity.d.ts +99 -0
- package/build/types/entities/DereferenceOperatorEntity.d.ts +40 -0
- package/build/types/entities/DestructorEntity.d.ts +31 -0
- package/build/types/entities/EntityHiding.d.ts +27 -0
- package/build/types/entities/EntityNaming.d.ts +12 -0
- package/build/types/entities/GetterEntity.d.ts +86 -0
- package/build/types/entities/IndexerEntity.d.ts +51 -0
- package/build/types/entities/MethodEntity.d.ts +174 -0
- package/build/types/entities/MethodTypeEntity.d.ts +98 -0
- package/build/types/entities/PackageAliasEntity.d.ts +30 -0
- package/build/types/entities/PackageEntity.d.ts +56 -0
- package/build/types/entities/PackageMembers.d.ts +98 -0
- package/build/types/entities/SetterEntity.d.ts +78 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +199 -0
- package/build/types/entities/SubstitutionApplicationMode.d.ts +4 -0
- package/build/types/entities/TypeEntityMembers.d.ts +36 -0
- package/build/types/entities/TypeExtensionEntity.d.ts +33 -0
- package/build/types/entities/TypeMemberContainer.d.ts +23 -0
- package/build/types/entities/TypeParameterEntity.d.ts +94 -0
- package/build/types/entities/UnaryOperatorEntity.d.ts +33 -0
- package/build/types/entities/VariableEntity.d.ts +423 -0
- package/build/types/entities/VariantEntity.d.ts +31 -0
- package/build/types/entities/VariantTypeEntity.d.ts +83 -0
- package/build/types/entities/Variants.d.ts +10 -0
- package/build/types/entities/index.d.ts +87 -0
- package/build/types/executor/CommandLineCompiler.d.ts +8 -0
- package/build/types/executor/Compiler.d.ts +15 -0
- package/build/types/executor/FileSystemUri.d.ts +5 -0
- package/build/types/executor/NodeCompiler.d.ts +39 -0
- package/build/types/executor/PhysicalFileSystem.d.ts +12 -0
- package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +12 -0
- package/build/types/generated/BuiltInSystemPackages.d.ts +3 -0
- package/build/types/old/Executor.d.ts +14 -0
- package/build/types/old/JavaScriptEmitter.d.ts +1 -0
- package/build/types/old/JavaScriptEmittingVisitor.d.ts +1 -0
- package/build/types/old/NzonParser.d.ts +1 -0
- package/build/types/old/NzonScanner.d.ts +1 -0
- package/build/types/old/NzonSyntax.d.ts +1 -0
- package/build/types/old/RemoteWorkspaceFileSystem.d.ts +1 -0
- package/build/types/parser/CharacterCodes.d.ts +21 -0
- package/build/types/parser/ConvertTokenKind.d.ts +3 -0
- package/build/types/parser/KeywordDictionary.d.ts +12 -0
- package/build/types/parser/ParseNumber.d.ts +5 -0
- package/build/types/parser/Parser.d.ts +7 -0
- package/build/types/parser/ParserDiagnostic.d.ts +7 -0
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +12 -0
- package/build/types/parser/Scanner.d.ts +60 -0
- package/build/types/parser/TokenKind.d.ts +73 -0
- package/build/types/parser/UnescapeText.d.ts +2 -0
- package/build/types/project/Compilation.d.ts +21 -0
- package/build/types/project/CompilationLoader.d.ts +104 -0
- package/build/types/project/FileSystemTree.d.ts +70 -0
- package/build/types/project/PackageConfigurationSerializer.d.ts +1 -0
- package/build/types/project/Position.d.ts +5 -0
- package/build/types/project/SourceFile.d.ts +21 -0
- package/build/types/project/SourcePackage.d.ts +151 -0
- package/build/types/project/TextFile.d.ts +11 -0
- package/build/types/project/configuration/BuildPackageApi.d.ts +75 -0
- package/build/types/project/configuration/ConfigurationConverter.d.ts +25 -0
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +26 -0
- package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +27 -0
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +90 -0
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +91 -0
- package/build/types/project/index.d.ts +12 -0
- package/build/types/services/AddPropertyAssignmentService.d.ts +15 -0
- package/build/types/services/CompletionService.d.ts +95 -0
- package/build/types/services/CustomCommand.d.ts +120 -0
- package/build/types/services/DefinitionService.d.ts +19 -0
- package/build/types/services/DisplayService.d.ts +830 -0
- package/build/types/services/DocumentHighlightsService.d.ts +18 -0
- package/build/types/services/EvaluatableExpressionService.d.ts +15 -0
- package/build/types/services/FileSystemTreeDisplayService.d.ts +7 -0
- package/build/types/services/HoverService.d.ts +17 -0
- package/build/types/services/LanguageServer.d.ts +125 -0
- package/build/types/services/NodeSemanticInfo.d.ts +132 -0
- package/build/types/services/ProjectItemsService.d.ts +6 -0
- package/build/types/services/ReferencesService.d.ts +30 -0
- package/build/types/services/RenameService.d.ts +16 -0
- package/build/types/services/SelectionRangeService.d.ts +12 -0
- package/build/types/services/SemanticTokensService.d.ts +40 -0
- package/build/types/services/SourceFileItemsService.d.ts +42 -0
- package/build/types/services/TranslationService.d.ts +23 -0
- package/build/types/services/TreeUtils.d.ts +58 -0
- package/build/types/services/TypeDefinitionService.d.ts +9 -0
- package/build/types/services/Types.d.ts +22 -0
- package/build/types/services/Utils.d.ts +5 -0
- package/build/types/services/signature-help/SignatureHelpService.d.ts +17 -0
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +114 -0
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +20 -0
- package/build/types/services/signature-help/ValueParametersSignatureHelpProvider.d.ts +15 -0
- package/build/types/services/signature-help/utils.d.ts +9 -0
- package/build/types/services/source-generation/EntityToSyntax.d.ts +47 -0
- package/build/types/services/source-generation/SourceGenerationService.d.ts +22 -0
- package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +41 -0
- package/build/types/services/workspace/CompilationController.d.ts +108 -0
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +61 -0
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +21 -0
- package/build/types/services/workspace/Workspace.d.ts +59 -0
- package/build/types/services/workspace/WorkspaceFileSystem.d.ts +5 -0
- package/build/types/services/workspace/WorkspaceFiles.d.ts +35 -0
- package/build/types/services/workspace/index.d.ts +7 -0
- package/build/types/tree/KeywordKind.d.ts +64 -0
- package/build/types/tree/NodeKind.d.ts +163 -0
- package/build/types/tree/TokenKind.d.ts +132 -0
- package/build/types/tree/TriviaKind.d.ts +7 -0
- package/build/types/tree/green/BaseNode.d.ts +12 -0
- package/build/types/tree/green/Nodes.d.ts +2235 -0
- package/build/types/tree/green/SyntaxFactory.d.ts +67 -0
- package/build/types/tree/green/SyntaxToCode.d.ts +116 -0
- package/build/types/tree/green/Token.d.ts +37 -0
- package/build/types/tree/green/Utils.d.ts +2 -0
- package/build/types/tree/green/index.d.ts +7 -0
- package/build/types/tree/index.d.ts +4 -0
- package/build/types/tree/red/BaseNode.d.ts +15 -0
- package/build/types/tree/red/Internal.d.ts +2 -0
- package/build/types/tree/red/NodePath.d.ts +10 -0
- package/build/types/tree/red/Nodes.d.ts +2237 -0
- package/build/types/tree/red/Token.d.ts +29 -0
- package/build/types/tree/red/Utils.d.ts +6 -0
- package/build/types/tree/red/index.d.ts +6 -0
- package/build/types/ts-interop/Entities.d.ts +634 -0
- package/build/types/ts-interop/TsInteropContext.d.ts +179 -0
- package/build/types/ts-interop/TsLibrariesProvider.d.ts +12 -0
- package/build/types/ts-interop/TsPackageContents.d.ts +64 -0
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +69 -0
- package/build/types/ts-interop/TsProgramLoader.d.ts +38 -0
- package/build/types/ts-interop/TsTypeMembersCreator.d.ts +45 -0
- package/build/types/ts-interop/Utils.d.ts +43 -0
- package/build/types/types/AliasType.d.ts +20 -0
- package/build/types/types/Internal.d.ts +1 -0
- package/build/types/types/MethodType.d.ts +23 -0
- package/build/types/types/ParameterType.d.ts +19 -0
- package/build/types/types/StandardTypes.d.ts +42 -0
- package/build/types/types/StructuredType.d.ts +25 -0
- package/build/types/types/Substitutions.d.ts +18 -0
- package/build/types/types/Type.d.ts +16 -0
- package/build/types/types/TypeFactory.d.ts +15 -0
- package/build/types/types/TypeMembers.d.ts +134 -0
- package/build/types/types/UnionType.d.ts +20 -0
- package/build/types/types/UnresolvedType.d.ts +16 -0
- package/build/types/types/VariantType.d.ts +19 -0
- package/build/types/types/index.d.ts +12 -0
- package/package.json +73 -0
@@ -0,0 +1,830 @@
|
|
1
|
+
import { Localization } from '../analysis/Localization.js';
|
2
|
+
import { LocalizationContext, NamedEntity } from '../analysis/LocalizationContext.js';
|
3
|
+
import { SubstitutedMethod } from '../analysis/SubstitutedMethod.js';
|
4
|
+
import { Analyzer } from '../analysis/index.js';
|
5
|
+
import { HelperPhraseKind } from '../common/HelperPhrases.js';
|
6
|
+
import { PackageDialect, PackageLocale } from '../common/index.js';
|
7
|
+
import { AliasTypeEntity, BinaryOperatorEntity, BinaryOperatorKind, ConstructorEntity, DestructorEntity, Entity, GetterEntity, IndexerEntity, MethodEntity, MethodTypeEntity, NamedTypeEntity, PackageAliasEntity, PackageEntity, PackageMethodTypeEntity, PackageStructuredTypeEntity, PackageVariantTypeEntity, DereferenceOperatorEntity, SetterEntity, StructuredTypeEntity, TypeEntity, TypeExtensionEntity, TypeParameterEntity, UnaryOperatorEntity, UnaryOperatorKind, VariableEntity, VariantEntity, VariantTypeEntity } from '../entities/index.js';
|
8
|
+
import { KeywordKind } from '../tree/index.js';
|
9
|
+
import * as types from '../types/index.js';
|
10
|
+
export declare class DisplayService {
|
11
|
+
private readonly _analyzer;
|
12
|
+
private readonly _lctxOrLocale;
|
13
|
+
private readonly _dialect?;
|
14
|
+
constructor(_analyzer: Analyzer | undefined, _lctxOrLocale: LocalizationContext | PackageLocale, _dialect?: PackageDialect | undefined);
|
15
|
+
displayVariableDeclaration(variable: VariableDeclaration): string;
|
16
|
+
displayType(type: types.Type): string;
|
17
|
+
getMethodTypeBodyDisplayParts(type: types.MethodType): MethodTypeBodyDisplayParts;
|
18
|
+
getNamedTypeDisplayParts(type: NamedType): NamedTypeDisplayParts;
|
19
|
+
displayVariantEntity(entity: VariantEntity, localization: Localization): string;
|
20
|
+
displayPackageAliasEntity(entity: PackageAliasEntity): string;
|
21
|
+
displayPackage(package_: PackageEntity): string;
|
22
|
+
displayValueParameterDeclaration(parameter: ValueParameterDeclaration, typeDisplayOptions?: TypeDisplayOptions): string;
|
23
|
+
getValueParameterDeclarationDisplayParts(parameter: ValueParameterDeclaration, typeDisplayOptions?: TypeDisplayOptions): ValueParameterDeclarationDisplayParts;
|
24
|
+
displayMethodDeclaration(method: MethodDeclaration): string;
|
25
|
+
getMethodDeclarationDisplayParts(method: MethodDeclaration): MethodDeclarationDisplayParts;
|
26
|
+
displayConstructorDeclaration(constructor: ConstructorDeclaration): string;
|
27
|
+
getConstructorDeclarationDisplayParts(constructor: ConstructorDeclaration): ConstructorDeclarationDisplayParts;
|
28
|
+
displayDestructorDeclaration(constructor: DestructorDeclaration): string;
|
29
|
+
displayIndexerDeclaration(indexer: IndexerDeclaration): string;
|
30
|
+
getIndexerDeclarationDisplayParts(indexer: IndexerDeclaration): IndexerDeclarationDisplayParts;
|
31
|
+
displayDereferenceOperatorDeclaration(referenceOperator: DereferenceOperatorDeclaration): string;
|
32
|
+
getDereferenceOperatorDeclarationDisplayParts(dereferenceOperator: DereferenceOperatorDeclaration): DereferenceOperatorDeclarationDisplayParts;
|
33
|
+
displayTypeDeclaration(type: TypeDeclaration): string;
|
34
|
+
displayTypeDeclarationEntity(entity: TypeEntity, localization: Localization): string;
|
35
|
+
getTypeDeclarationDisplayParts(type: TypeDeclaration): TypeDeclarationDisplayParts;
|
36
|
+
getTypeDeclarationEntityDisplayParts(entity: TypeEntity, localization: Localization): TypeDeclarationDisplayParts;
|
37
|
+
displayTypeParameterValue(value: TypeParameterValue): string;
|
38
|
+
displayUnaryOperatorDeclaration(operator: UnaryOperatorDeclaration): string;
|
39
|
+
displayBinaryOperatorDeclaration(operator: BinaryOperatorDeclaration): string;
|
40
|
+
displayBinaryOperatorKind(operatorKind: BinaryOperatorKind): string;
|
41
|
+
displayUnaryOperatorKind(operatorKind: UnaryOperatorKind): string;
|
42
|
+
displayGetterEntity(entity: GetterEntity): string;
|
43
|
+
displaySetterEntity(entity: SetterEntity): string;
|
44
|
+
displayTypeExtensionEntity(entity: TypeExtensionEntity): string;
|
45
|
+
displayEntity(entity: Entity, localization?: Localization): string;
|
46
|
+
displayKeyword(kind: KeywordKind): string;
|
47
|
+
displayHelperPhrase(kind: HelperPhraseKind): string;
|
48
|
+
displayEntityName(entity: NamedEntity, localization: Localization | undefined): string;
|
49
|
+
private displayTypeEntityAsUsage;
|
50
|
+
private displayStructuredTypeUsage;
|
51
|
+
private displayVariantTypeUsage;
|
52
|
+
private displayMethodTypeUsage;
|
53
|
+
private displayParameterTypeUsage;
|
54
|
+
private displayAliasTypeUsage;
|
55
|
+
private displayUnionTypeUsage;
|
56
|
+
private displayUnresolvedTypeUsage;
|
57
|
+
private displayTypeInternal;
|
58
|
+
private displayTypeUsageInternal;
|
59
|
+
private displayUnionTypeTypes;
|
60
|
+
private displayTypeMemberContainer;
|
61
|
+
private getEntityName;
|
62
|
+
}
|
63
|
+
interface TypeDisplayOptions {
|
64
|
+
readonly unionAndAliasTypeDisplayKind: UnionAndAliasTypeDisplayKind;
|
65
|
+
readonly displayFullVersionOfNamedMethodType: boolean;
|
66
|
+
}
|
67
|
+
declare const enum UnionAndAliasTypeDisplayKind {
|
68
|
+
Full = 0,
|
69
|
+
OnlyOriginalType = 1,
|
70
|
+
OnlyFlattenedUnaliasedTypes = 2
|
71
|
+
}
|
72
|
+
export type VariableDeclaration = VariableDeclaration_entity | VariableDeclaration_typeMember;
|
73
|
+
export declare class VariableDeclaration_entity implements IVariableDeclaration {
|
74
|
+
readonly value: VariableEntity;
|
75
|
+
readonly localization: Localization;
|
76
|
+
readonly kind = "entity";
|
77
|
+
constructor(value: VariableEntity, localization: Localization);
|
78
|
+
getEntity(): VariableEntity;
|
79
|
+
getLocalization(): Localization;
|
80
|
+
getType(): types.Type;
|
81
|
+
isOptionalParameter(): boolean;
|
82
|
+
getTypeMemberContainer(): TypeMemberContainer | undefined;
|
83
|
+
}
|
84
|
+
export declare class VariableDeclaration_typeMember implements IVariableDeclaration {
|
85
|
+
readonly value: types.Variable;
|
86
|
+
readonly localization: Localization;
|
87
|
+
readonly kind = "type-member";
|
88
|
+
constructor(value: types.Variable, localization: Localization);
|
89
|
+
getEntity(): VariableEntity;
|
90
|
+
getLocalization(): Localization;
|
91
|
+
getType(): types.Type;
|
92
|
+
isOptionalParameter(): boolean;
|
93
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
94
|
+
}
|
95
|
+
interface IVariableDeclaration {
|
96
|
+
getEntity(): VariableEntity;
|
97
|
+
getLocalization(): Localization;
|
98
|
+
getType(): types.Type;
|
99
|
+
isOptionalParameter(): boolean;
|
100
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
101
|
+
}
|
102
|
+
export type MethodDeclaration = MethodDeclaration_entity | MethodDeclaration_typeMember | MethodDeclaration_substitutedMethod;
|
103
|
+
export declare class MethodDeclaration_entity implements IMethodDeclaration {
|
104
|
+
readonly kind = "entity";
|
105
|
+
private readonly _typeParameterValues;
|
106
|
+
private readonly _valueParameters;
|
107
|
+
readonly method: MethodEntity;
|
108
|
+
readonly localization: Localization;
|
109
|
+
constructor(method: MethodEntity, localization: Localization);
|
110
|
+
getEntity(): MethodEntity;
|
111
|
+
getLocalization(): Localization;
|
112
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
113
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
114
|
+
getReturnType(): types.Type;
|
115
|
+
isAsync(): boolean;
|
116
|
+
getTypeMemberContainer(): TypeMemberContainer | undefined;
|
117
|
+
}
|
118
|
+
export declare class MethodDeclaration_typeMember implements IMethodDeclaration {
|
119
|
+
readonly kind = "type-member";
|
120
|
+
private readonly _typeParameterValues;
|
121
|
+
private readonly _valueParameters;
|
122
|
+
readonly method: types.Method;
|
123
|
+
readonly localization: Localization;
|
124
|
+
constructor(method: types.Method, localization: Localization);
|
125
|
+
getEntity(): MethodEntity;
|
126
|
+
getLocalization(): Localization;
|
127
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
128
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
129
|
+
getReturnType(): types.Type;
|
130
|
+
isAsync(): boolean;
|
131
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
132
|
+
}
|
133
|
+
export declare class MethodDeclaration_substitutedMethod implements IMethodDeclaration {
|
134
|
+
readonly method: SubstitutedMethod;
|
135
|
+
readonly localization: Localization;
|
136
|
+
readonly kind = "substituted-method";
|
137
|
+
private readonly _typeParameterValues;
|
138
|
+
private readonly _valueParameters;
|
139
|
+
constructor(method: SubstitutedMethod, localization: Localization);
|
140
|
+
getEntity(): MethodEntity;
|
141
|
+
getLocalization(): Localization;
|
142
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
143
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
144
|
+
getReturnType(): types.Type;
|
145
|
+
isAsync(): boolean;
|
146
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
147
|
+
}
|
148
|
+
interface IMethodDeclaration {
|
149
|
+
getEntity(): MethodEntity;
|
150
|
+
getLocalization(): Localization;
|
151
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
152
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
153
|
+
getReturnType(): types.Type;
|
154
|
+
isAsync(): boolean;
|
155
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
156
|
+
}
|
157
|
+
export type ConstructorDeclaration = ConstructorDeclaration_entity | ConstructorDeclaration_typeMember;
|
158
|
+
export declare class ConstructorDeclaration_entity implements IConstructorDeclaration {
|
159
|
+
readonly kind = "type-member";
|
160
|
+
private readonly _valueParameters;
|
161
|
+
readonly value: ConstructorEntity;
|
162
|
+
readonly localization: Localization;
|
163
|
+
constructor(value: ConstructorEntity, localization: Localization);
|
164
|
+
getType(): TypeContainingConstructorDeclaration;
|
165
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
166
|
+
}
|
167
|
+
export declare class ConstructorDeclaration_typeMember implements IConstructorDeclaration {
|
168
|
+
readonly value: types.Constructor;
|
169
|
+
readonly localization: Localization;
|
170
|
+
readonly kind = "type-member";
|
171
|
+
private readonly _valueParameters;
|
172
|
+
constructor(value: types.Constructor, localization: Localization);
|
173
|
+
getType(): TypeContainingConstructorDeclaration;
|
174
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
175
|
+
}
|
176
|
+
interface IConstructorDeclaration {
|
177
|
+
getType(): TypeContainingConstructorDeclaration;
|
178
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
179
|
+
}
|
180
|
+
type TypeContainingConstructorDeclaration = TypeContainingConstructorDeclaration_entity | TypeContainingConstructorDeclaration_type;
|
181
|
+
declare class TypeContainingConstructorDeclaration_entity {
|
182
|
+
readonly value: TypeEntity;
|
183
|
+
readonly kind = "entity";
|
184
|
+
constructor(value: TypeEntity);
|
185
|
+
}
|
186
|
+
declare class TypeContainingConstructorDeclaration_type {
|
187
|
+
readonly value: types.Type;
|
188
|
+
readonly kind = "type";
|
189
|
+
constructor(value: types.Type);
|
190
|
+
}
|
191
|
+
export type DestructorDeclaration = DestructorDeclaration_entity | DestructorDeclaration_typeMember;
|
192
|
+
export declare class DestructorDeclaration_entity implements IDestructorDeclaration {
|
193
|
+
readonly kind = "entity";
|
194
|
+
private readonly _valueParameters;
|
195
|
+
readonly value: DestructorEntity;
|
196
|
+
readonly localization: Localization;
|
197
|
+
constructor(value: DestructorEntity, localization: Localization);
|
198
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
199
|
+
}
|
200
|
+
export declare class DestructorDeclaration_typeMember implements IDestructorDeclaration {
|
201
|
+
readonly value: types.Destructor;
|
202
|
+
readonly localization: Localization;
|
203
|
+
readonly kind = "type-member";
|
204
|
+
private readonly _valueParameters;
|
205
|
+
constructor(value: types.Destructor, localization: Localization);
|
206
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
207
|
+
}
|
208
|
+
interface IDestructorDeclaration {
|
209
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
210
|
+
}
|
211
|
+
export type DereferenceOperatorDeclaration = DereferenceOperatorDeclaration_entity | DereferenceOperatorDeclaration_typeMember;
|
212
|
+
export declare class DereferenceOperatorDeclaration_entity implements IDereferenceOperatorDeclaration {
|
213
|
+
readonly value: DereferenceOperatorEntity;
|
214
|
+
readonly kind = "entity";
|
215
|
+
constructor(value: DereferenceOperatorEntity);
|
216
|
+
getType(): types.Type;
|
217
|
+
getTypeMemberContainer(): TypeMemberContainer | undefined;
|
218
|
+
}
|
219
|
+
export declare class DereferenceOperatorDeclaration_typeMember implements IDereferenceOperatorDeclaration {
|
220
|
+
readonly value: types.DereferenceOperator;
|
221
|
+
readonly kind = "type-member";
|
222
|
+
constructor(value: types.DereferenceOperator);
|
223
|
+
getType(): types.Type;
|
224
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
225
|
+
}
|
226
|
+
interface IDereferenceOperatorDeclaration {
|
227
|
+
getType(): types.Type;
|
228
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
229
|
+
}
|
230
|
+
export type IndexerDeclaration = IndexerDeclaration_entity | IndexerDeclaration_typeMember;
|
231
|
+
export declare class IndexerDeclaration_entity implements IIndexerDeclaration {
|
232
|
+
readonly value: IndexerEntity;
|
233
|
+
readonly localization: Localization;
|
234
|
+
readonly kind = "entity";
|
235
|
+
private readonly _valueParameters;
|
236
|
+
constructor(value: IndexerEntity, localization: Localization);
|
237
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
238
|
+
getType(): types.Type;
|
239
|
+
getTypeMemberContainer(): TypeMemberContainer | undefined;
|
240
|
+
}
|
241
|
+
export declare class IndexerDeclaration_typeMember implements IIndexerDeclaration {
|
242
|
+
readonly value: types.Indexer;
|
243
|
+
readonly localization: Localization;
|
244
|
+
readonly kind = "type-member";
|
245
|
+
private readonly _valueParameters;
|
246
|
+
constructor(value: types.Indexer, localization: Localization);
|
247
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
248
|
+
getType(): types.Type;
|
249
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
250
|
+
}
|
251
|
+
interface IIndexerDeclaration {
|
252
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
253
|
+
getType(): types.Type;
|
254
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
255
|
+
}
|
256
|
+
export type ValueParameterDeclaration = ValueParameterDeclaration_entity | ValueParameterDeclaration_typeMember | ValueParameterDeclaration_substitutedMethod | ValueParameterDeclaration_matchResultValueParameter | ValueParameterDeclaration_universal;
|
257
|
+
export declare class ValueParameterDeclaration_entity implements IValueParameter {
|
258
|
+
readonly value: VariableEntity;
|
259
|
+
readonly localization: Localization;
|
260
|
+
readonly kind = "entity";
|
261
|
+
constructor(value: VariableEntity, localization: Localization);
|
262
|
+
getName(): string;
|
263
|
+
getEntity(): VariableEntity;
|
264
|
+
getLocalization(): Localization;
|
265
|
+
isOptional(): boolean;
|
266
|
+
getType(): types.Type;
|
267
|
+
}
|
268
|
+
export declare class ValueParameterDeclaration_typeMember implements IValueParameter {
|
269
|
+
readonly value: types.ValueParameter;
|
270
|
+
readonly localization: Localization;
|
271
|
+
readonly kind = "type-member";
|
272
|
+
constructor(value: types.ValueParameter, localization: Localization);
|
273
|
+
getName(): string;
|
274
|
+
getEntity(): VariableEntity;
|
275
|
+
getLocalization(): Localization;
|
276
|
+
isOptional(): boolean;
|
277
|
+
getType(): types.Type;
|
278
|
+
}
|
279
|
+
export declare class ValueParameterDeclaration_substitutedMethod implements IValueParameter {
|
280
|
+
readonly entity: VariableEntity;
|
281
|
+
readonly type: types.Type;
|
282
|
+
readonly localization: Localization;
|
283
|
+
constructor(entity: VariableEntity, type: types.Type, localization: Localization);
|
284
|
+
getName(): string;
|
285
|
+
getEntity(): VariableEntity;
|
286
|
+
getLocalization(): Localization;
|
287
|
+
isOptional(): boolean;
|
288
|
+
getType(): types.Type;
|
289
|
+
}
|
290
|
+
export declare class ValueParameterDeclaration_matchResultValueParameter implements IValueParameter {
|
291
|
+
readonly parameter: {
|
292
|
+
entity: VariableEntity;
|
293
|
+
type: types.Type;
|
294
|
+
};
|
295
|
+
readonly localization: Localization;
|
296
|
+
readonly kind = "type-member";
|
297
|
+
constructor(parameter: {
|
298
|
+
entity: VariableEntity;
|
299
|
+
type: types.Type;
|
300
|
+
}, localization: Localization);
|
301
|
+
getName(): string;
|
302
|
+
getEntity(): VariableEntity;
|
303
|
+
getLocalization(): Localization;
|
304
|
+
isOptional(): boolean;
|
305
|
+
getType(): types.Type;
|
306
|
+
}
|
307
|
+
export declare class ValueParameterDeclaration_universal implements IValueParameter {
|
308
|
+
readonly entity: VariableEntity;
|
309
|
+
readonly type: types.Type;
|
310
|
+
readonly localization: Localization;
|
311
|
+
constructor(entity: VariableEntity, type: types.Type, localization: Localization);
|
312
|
+
getName(): string;
|
313
|
+
getEntity(): VariableEntity;
|
314
|
+
getLocalization(): Localization;
|
315
|
+
isOptional(): boolean;
|
316
|
+
getType(): types.Type;
|
317
|
+
}
|
318
|
+
interface IValueParameter {
|
319
|
+
getName(): string;
|
320
|
+
getEntity(): VariableEntity;
|
321
|
+
getLocalization(): Localization;
|
322
|
+
isOptional(): boolean;
|
323
|
+
getType(): types.Type;
|
324
|
+
}
|
325
|
+
export type TypeParameterValue = TypeParameterValue_typeParameter | TypeParameterValue_typeArgument;
|
326
|
+
export declare class TypeParameterValue_typeParameter {
|
327
|
+
readonly value: TypeParameterEntity;
|
328
|
+
readonly localization: Localization;
|
329
|
+
readonly kind = "type-parameter";
|
330
|
+
constructor(value: TypeParameterEntity, localization: Localization);
|
331
|
+
}
|
332
|
+
export declare class TypeParameterValue_typeArgument {
|
333
|
+
readonly value: types.Type;
|
334
|
+
readonly kind = "type-argument";
|
335
|
+
constructor(value: types.Type);
|
336
|
+
}
|
337
|
+
export type TypeDeclaration = TypeDeclaration_structured | TypeDeclaration_method | TypeDeclaration_variant | TypeDeclaration_alias | TypeDeclaration_parameter | TypeDeclaration_unresolved;
|
338
|
+
export declare class TypeDeclaration_structured implements ITypeDeclaration {
|
339
|
+
readonly value: TypeDeclarationStructured;
|
340
|
+
readonly kind = "structured";
|
341
|
+
constructor(value: TypeDeclarationStructured);
|
342
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
343
|
+
getLocalization(): Localization;
|
344
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
345
|
+
}
|
346
|
+
export type TypeDeclarationStructured = TypeDeclarationStructured_entity | TypeDeclarationStructured_type;
|
347
|
+
export declare class TypeDeclarationStructured_entity implements ITypeDeclarationStructured {
|
348
|
+
readonly entity: StructuredTypeEntity;
|
349
|
+
readonly localization: Localization;
|
350
|
+
readonly kind = "entity";
|
351
|
+
private readonly _typeParameterValues;
|
352
|
+
constructor(entity: StructuredTypeEntity, localization: Localization);
|
353
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
354
|
+
getLocalization(): Localization;
|
355
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
356
|
+
isRefObject(): boolean;
|
357
|
+
isPlainObject(): boolean;
|
358
|
+
isAspect(): boolean;
|
359
|
+
}
|
360
|
+
export declare class TypeDeclarationStructured_type implements ITypeDeclarationStructured {
|
361
|
+
readonly type: types.StructuredType;
|
362
|
+
readonly localization: Localization;
|
363
|
+
readonly kind = "type";
|
364
|
+
private readonly _typeParameterValues;
|
365
|
+
constructor(type: types.StructuredType, localization: Localization);
|
366
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
367
|
+
getLocalization(): Localization;
|
368
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
369
|
+
isRefObject(): boolean;
|
370
|
+
isPlainObject(): boolean;
|
371
|
+
isAspect(): boolean;
|
372
|
+
}
|
373
|
+
interface ITypeDeclarationStructured {
|
374
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
375
|
+
getLocalization(): Localization;
|
376
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
377
|
+
isRefObject(): boolean;
|
378
|
+
isPlainObject(): boolean;
|
379
|
+
isAspect(): boolean;
|
380
|
+
}
|
381
|
+
export declare class TypeDeclaration_method implements ITypeDeclaration {
|
382
|
+
readonly value: TypeDeclarationMethod;
|
383
|
+
readonly kind = "method";
|
384
|
+
constructor(value: TypeDeclarationMethod);
|
385
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
386
|
+
getLocalization(): Localization;
|
387
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
388
|
+
}
|
389
|
+
export type TypeDeclarationMethod = TypeDeclarationMethod_entity | TypeDeclarationMethod_type;
|
390
|
+
export declare class TypeDeclarationMethod_entity implements ITypeDeclarationMethod {
|
391
|
+
readonly entity: MethodTypeEntity;
|
392
|
+
readonly localization: Localization;
|
393
|
+
readonly kind = "entity";
|
394
|
+
private readonly _typeParameterValues;
|
395
|
+
private readonly _valueParameters;
|
396
|
+
constructor(entity: MethodTypeEntity, localization: Localization);
|
397
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
398
|
+
getLocalization(): Localization;
|
399
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
400
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
401
|
+
getReturnType(): types.Type;
|
402
|
+
isAsync(): boolean;
|
403
|
+
}
|
404
|
+
export declare class TypeDeclarationMethod_type implements ITypeDeclarationMethod {
|
405
|
+
readonly type: types.MethodType;
|
406
|
+
readonly localization: Localization;
|
407
|
+
readonly kind = "type";
|
408
|
+
private readonly _typeParameterValues;
|
409
|
+
private readonly _valueParameters;
|
410
|
+
constructor(type: types.MethodType, localization: Localization);
|
411
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
412
|
+
getLocalization(): Localization;
|
413
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
414
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
415
|
+
getReturnType(): types.Type;
|
416
|
+
isAsync(): boolean;
|
417
|
+
}
|
418
|
+
interface ITypeDeclarationMethod {
|
419
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
420
|
+
getLocalization(): Localization;
|
421
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
422
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
423
|
+
getReturnType(): types.Type;
|
424
|
+
isAsync(): boolean;
|
425
|
+
}
|
426
|
+
export declare class TypeDeclaration_variant implements ITypeDeclaration {
|
427
|
+
readonly value: TypeDeclarationVariant;
|
428
|
+
readonly kind = "variant";
|
429
|
+
constructor(value: TypeDeclarationVariant);
|
430
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
431
|
+
getLocalization(): Localization;
|
432
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
433
|
+
}
|
434
|
+
export type TypeDeclarationVariant = TypeDeclarationVariant_entity | TypeDeclarationVariant_type;
|
435
|
+
export declare class TypeDeclarationVariant_entity implements ITypeDeclarationVariant {
|
436
|
+
readonly entity: VariantTypeEntity;
|
437
|
+
readonly localization: Localization;
|
438
|
+
readonly kind = "entity";
|
439
|
+
private readonly _typeParameterValues;
|
440
|
+
constructor(entity: VariantTypeEntity, localization: Localization);
|
441
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
442
|
+
getLocalization(): Localization;
|
443
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
444
|
+
}
|
445
|
+
export declare class TypeDeclarationVariant_type implements ITypeDeclarationVariant {
|
446
|
+
readonly type: types.VariantType;
|
447
|
+
readonly localization: Localization;
|
448
|
+
readonly kind = "type";
|
449
|
+
private readonly _typeParameterValues;
|
450
|
+
constructor(type: types.VariantType, localization: Localization);
|
451
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
452
|
+
getLocalization(): Localization;
|
453
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
454
|
+
}
|
455
|
+
interface ITypeDeclarationVariant {
|
456
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
457
|
+
getLocalization(): Localization;
|
458
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
459
|
+
}
|
460
|
+
export declare class TypeDeclaration_alias implements ITypeDeclaration {
|
461
|
+
readonly value: TypeDeclarationAlias;
|
462
|
+
readonly kind = "alias";
|
463
|
+
constructor(value: TypeDeclarationAlias);
|
464
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
465
|
+
getLocalization(): Localization;
|
466
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
467
|
+
}
|
468
|
+
export type TypeDeclarationAlias = TypeDeclarationAlias_entity | TypeDeclarationAlias_type;
|
469
|
+
export declare class TypeDeclarationAlias_entity implements ITypeDeclarationAlias {
|
470
|
+
readonly entity: AliasTypeEntity;
|
471
|
+
readonly localization: Localization;
|
472
|
+
readonly kind = "entity";
|
473
|
+
private readonly _typeParameterValues;
|
474
|
+
constructor(entity: AliasTypeEntity, localization: Localization);
|
475
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
476
|
+
getLocalization(): Localization;
|
477
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
478
|
+
getAliasedType(): types.Type;
|
479
|
+
}
|
480
|
+
export declare class TypeDeclarationAlias_type implements ITypeDeclarationAlias {
|
481
|
+
readonly type: types.AliasType;
|
482
|
+
readonly localization: Localization;
|
483
|
+
readonly kind = "type";
|
484
|
+
private readonly _typeParameterValues;
|
485
|
+
constructor(type: types.AliasType, localization: Localization);
|
486
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
487
|
+
getLocalization(): Localization;
|
488
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
489
|
+
getAliasedType(): types.Type;
|
490
|
+
}
|
491
|
+
interface ITypeDeclarationAlias {
|
492
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
493
|
+
getLocalization(): Localization;
|
494
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
495
|
+
getAliasedType(): types.Type;
|
496
|
+
}
|
497
|
+
export declare class TypeDeclaration_parameter implements ITypeDeclaration {
|
498
|
+
readonly entity: TypeParameterEntity;
|
499
|
+
readonly localization: Localization;
|
500
|
+
readonly kind = "parameter";
|
501
|
+
constructor(entity: TypeParameterEntity, localization: Localization);
|
502
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
503
|
+
getLocalization(): Localization;
|
504
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
505
|
+
}
|
506
|
+
export declare class TypeDeclaration_unresolved implements ITypeDeclaration {
|
507
|
+
readonly localization: Localization;
|
508
|
+
readonly kind = "unresolved";
|
509
|
+
constructor(localization: Localization);
|
510
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
511
|
+
getLocalization(): Localization;
|
512
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
513
|
+
}
|
514
|
+
interface ITypeDeclaration {
|
515
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
516
|
+
getLocalization(): Localization;
|
517
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
518
|
+
}
|
519
|
+
type NamedType = NamedType_method | NamedType_structured | NamedType_typeParameter | NamedType_variant | NamedType_alias;
|
520
|
+
export declare class NamedType_method implements INamedType {
|
521
|
+
readonly value: PackageMethodTypeEntity;
|
522
|
+
readonly kind = "method";
|
523
|
+
constructor(value: PackageMethodTypeEntity);
|
524
|
+
getEntity(): NamedTypeEntity;
|
525
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
526
|
+
}
|
527
|
+
export declare class NamedType_structured implements INamedType {
|
528
|
+
readonly value: PackageStructuredTypeEntity;
|
529
|
+
readonly kind = "structured";
|
530
|
+
constructor(value: PackageStructuredTypeEntity);
|
531
|
+
getEntity(): NamedTypeEntity;
|
532
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
533
|
+
}
|
534
|
+
export declare class NamedType_typeParameter implements INamedType {
|
535
|
+
readonly value: TypeParameterEntity;
|
536
|
+
readonly kind = "typeParam";
|
537
|
+
constructor(value: TypeParameterEntity);
|
538
|
+
getEntity(): NamedTypeEntity;
|
539
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
540
|
+
}
|
541
|
+
export declare class NamedType_variant implements INamedType {
|
542
|
+
readonly value: PackageVariantTypeEntity;
|
543
|
+
readonly kind = "variant";
|
544
|
+
constructor(value: PackageVariantTypeEntity);
|
545
|
+
getEntity(): NamedTypeEntity;
|
546
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
547
|
+
}
|
548
|
+
export declare class NamedType_alias implements INamedType {
|
549
|
+
readonly value: AliasTypeEntity;
|
550
|
+
readonly kind = "alias";
|
551
|
+
constructor(value: AliasTypeEntity);
|
552
|
+
getEntity(): NamedTypeEntity;
|
553
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
554
|
+
}
|
555
|
+
interface INamedType {
|
556
|
+
getEntity(): NamedTypeEntity;
|
557
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
558
|
+
}
|
559
|
+
export type UnaryOperatorDeclaration = UnaryOperatorDeclaration_entity | UnaryOperatorDeclaration_typeMember;
|
560
|
+
export declare class UnaryOperatorDeclaration_entity implements IUnaryOperatorDeclaration {
|
561
|
+
readonly operator: UnaryOperatorEntity;
|
562
|
+
readonly kind = "entity";
|
563
|
+
constructor(operator: UnaryOperatorEntity);
|
564
|
+
getOperatorKind(): UnaryOperatorKind;
|
565
|
+
getOperandType(): types.Type;
|
566
|
+
getResultType(): types.Type;
|
567
|
+
getTypeMemberContainer(): TypeMemberContainer | undefined;
|
568
|
+
}
|
569
|
+
export declare class UnaryOperatorDeclaration_typeMember implements IUnaryOperatorDeclaration {
|
570
|
+
readonly operator: types.UnaryOperator;
|
571
|
+
readonly kind = "typeMember";
|
572
|
+
constructor(operator: types.UnaryOperator);
|
573
|
+
getOperatorKind(): UnaryOperatorKind;
|
574
|
+
getOperandType(): types.Type;
|
575
|
+
getResultType(): types.Type;
|
576
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
577
|
+
}
|
578
|
+
interface IUnaryOperatorDeclaration {
|
579
|
+
getOperatorKind(): UnaryOperatorKind;
|
580
|
+
getOperandType(): types.Type;
|
581
|
+
getResultType(): types.Type;
|
582
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
583
|
+
}
|
584
|
+
export type BinaryOperatorDeclaration = BinaryOperatorDeclaration_entity | BinaryOperatorDeclaration_typeMember;
|
585
|
+
export declare class BinaryOperatorDeclaration_entity implements IBinaryOperatorDeclaration {
|
586
|
+
readonly operator: BinaryOperatorEntity;
|
587
|
+
readonly kind = "entity";
|
588
|
+
constructor(operator: BinaryOperatorEntity);
|
589
|
+
getOperatorKind(): BinaryOperatorKind;
|
590
|
+
getLeftOperandType(): types.Type;
|
591
|
+
getRightOperandType(): types.Type;
|
592
|
+
getResultType(): types.Type;
|
593
|
+
getTypeMemberContainer(): TypeMemberContainer | undefined;
|
594
|
+
}
|
595
|
+
export declare class BinaryOperatorDeclaration_typeMember implements IBinaryOperatorDeclaration {
|
596
|
+
readonly operator: types.BinaryOperator;
|
597
|
+
readonly kind = "type-member";
|
598
|
+
constructor(operator: types.BinaryOperator);
|
599
|
+
getOperatorKind(): BinaryOperatorKind;
|
600
|
+
getLeftOperandType(): types.Type;
|
601
|
+
getRightOperandType(): types.Type;
|
602
|
+
getResultType(): types.Type;
|
603
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
604
|
+
}
|
605
|
+
interface IBinaryOperatorDeclaration {
|
606
|
+
getOperatorKind(): BinaryOperatorKind;
|
607
|
+
getLeftOperandType(): types.Type;
|
608
|
+
getRightOperandType(): types.Type;
|
609
|
+
getResultType(): types.Type;
|
610
|
+
getTypeMemberContainer(analyzer: Analyzer | undefined): TypeMemberContainer | undefined;
|
611
|
+
}
|
612
|
+
export type TypeUsage = StructuredTypeUsage | VariantTypeUsage | MethodTypeUsage | AliasTypeUsage | ParameterTypeUsage | UnionTypeUsage | UnresolvedTypeUsage;
|
613
|
+
export type StructuredTypeUsage = StructuredTypeUsage_type | StructuredTypeUsage_entity;
|
614
|
+
export declare class StructuredTypeUsage_type implements IStructuredTypeUsage {
|
615
|
+
readonly type: types.StructuredType;
|
616
|
+
readonly kind = "structured";
|
617
|
+
constructor(type: types.StructuredType);
|
618
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
619
|
+
getStructuredTypeKind(): StructuredTypeKind;
|
620
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
621
|
+
}
|
622
|
+
export declare class StructuredTypeUsage_entity implements IStructuredTypeUsage {
|
623
|
+
readonly entity: StructuredTypeEntity;
|
624
|
+
readonly kind = "structured";
|
625
|
+
constructor(entity: StructuredTypeEntity);
|
626
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
627
|
+
getStructuredTypeKind(): StructuredTypeKind;
|
628
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
629
|
+
}
|
630
|
+
interface IStructuredTypeUsage {
|
631
|
+
readonly kind: 'structured';
|
632
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
633
|
+
getStructuredTypeKind(): StructuredTypeKind;
|
634
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
635
|
+
}
|
636
|
+
type StructuredTypeKind = 'ref-object' | 'plain-object' | 'aspect';
|
637
|
+
export type VariantTypeUsage = VariantTypeUsage_type | VariantTypeUsage_entity;
|
638
|
+
export declare class VariantTypeUsage_type implements IVariantTypeUsage {
|
639
|
+
readonly type: types.VariantType;
|
640
|
+
readonly kind = "variant";
|
641
|
+
constructor(type: types.VariantType);
|
642
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
643
|
+
}
|
644
|
+
export declare class VariantTypeUsage_entity implements IVariantTypeUsage {
|
645
|
+
readonly entity: VariantTypeEntity;
|
646
|
+
readonly kind = "variant";
|
647
|
+
constructor(entity: VariantTypeEntity);
|
648
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
649
|
+
}
|
650
|
+
interface IVariantTypeUsage {
|
651
|
+
readonly kind: 'variant';
|
652
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
653
|
+
}
|
654
|
+
export type MethodTypeUsage = MethodTypeUsage_type | MethodTypeUsage_entity;
|
655
|
+
export declare class MethodTypeUsage_type implements IMethodTypeUsage {
|
656
|
+
readonly type: types.MethodType;
|
657
|
+
readonly kind = "method";
|
658
|
+
constructor(type: types.MethodType);
|
659
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
660
|
+
isAsync(): boolean;
|
661
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
662
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
663
|
+
getReturnType(): types.Type;
|
664
|
+
}
|
665
|
+
export declare class MethodTypeUsage_entity implements IMethodTypeUsage {
|
666
|
+
readonly entity: MethodTypeEntity;
|
667
|
+
readonly kind = "method";
|
668
|
+
constructor(entity: MethodTypeEntity);
|
669
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
670
|
+
isAsync(): boolean;
|
671
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
672
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
673
|
+
getReturnType(): types.Type;
|
674
|
+
}
|
675
|
+
interface IMethodTypeUsage {
|
676
|
+
readonly kind: 'method';
|
677
|
+
ifNamedThenEntity(): NamedTypeEntity | undefined;
|
678
|
+
isAsync(): boolean;
|
679
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
680
|
+
getValueParameters(): readonly ValueParameterDeclaration[];
|
681
|
+
getReturnType(): types.Type;
|
682
|
+
}
|
683
|
+
export type AliasTypeUsage = AliasTypeUsage_type | AliasTypeUsage_entity;
|
684
|
+
export declare class AliasTypeUsage_type implements IAliasTypeUsage {
|
685
|
+
readonly type: types.AliasType;
|
686
|
+
readonly kind = "alias";
|
687
|
+
constructor(type: types.AliasType);
|
688
|
+
getEntity(): NamedTypeEntity;
|
689
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
690
|
+
getAliasedType(): types.Type;
|
691
|
+
}
|
692
|
+
export declare class AliasTypeUsage_entity implements IAliasTypeUsage {
|
693
|
+
readonly entity: AliasTypeEntity;
|
694
|
+
readonly kind = "alias";
|
695
|
+
constructor(entity: AliasTypeEntity);
|
696
|
+
getEntity(): NamedTypeEntity;
|
697
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
698
|
+
getAliasedType(): types.Type;
|
699
|
+
}
|
700
|
+
interface IAliasTypeUsage {
|
701
|
+
readonly kind: 'alias';
|
702
|
+
getEntity(): NamedTypeEntity;
|
703
|
+
getTypeParameterValues(): readonly TypeParameterValue[];
|
704
|
+
getAliasedType(): types.Type;
|
705
|
+
}
|
706
|
+
export type ParameterTypeUsage = ParameterTypeUsage_type | ParameterTypeUsage_entity;
|
707
|
+
export declare class ParameterTypeUsage_type implements IParameterTypeUsage {
|
708
|
+
readonly type: types.ParameterType;
|
709
|
+
readonly kind = "parameter";
|
710
|
+
constructor(type: types.ParameterType);
|
711
|
+
getEntity(): NamedTypeEntity;
|
712
|
+
isNoneExcluded(): boolean;
|
713
|
+
}
|
714
|
+
export declare class ParameterTypeUsage_entity implements IParameterTypeUsage {
|
715
|
+
readonly entity: TypeParameterEntity;
|
716
|
+
readonly kind = "parameter";
|
717
|
+
constructor(entity: TypeParameterEntity);
|
718
|
+
getEntity(): NamedTypeEntity;
|
719
|
+
isNoneExcluded(): boolean;
|
720
|
+
}
|
721
|
+
interface IParameterTypeUsage {
|
722
|
+
readonly kind: 'parameter';
|
723
|
+
getEntity(): NamedTypeEntity;
|
724
|
+
isNoneExcluded(): boolean;
|
725
|
+
}
|
726
|
+
type UnionTypeUsage = UnionTypeUsage_type;
|
727
|
+
declare class UnionTypeUsage_type {
|
728
|
+
readonly type: types.UnionType;
|
729
|
+
readonly kind = "union";
|
730
|
+
constructor(type: types.UnionType);
|
731
|
+
getOriginalTypes(): readonly types.Type[];
|
732
|
+
getUnaliasedFlattenedTypes(): readonly types.Type[];
|
733
|
+
}
|
734
|
+
type UnresolvedTypeUsage = UnresolvedTypeUsage_type;
|
735
|
+
declare class UnresolvedTypeUsage_type {
|
736
|
+
readonly kind = "unresolved";
|
737
|
+
}
|
738
|
+
declare class TypeMemberContainer {
|
739
|
+
readonly typeUsage: TypeUsage;
|
740
|
+
constructor(typeUsage: TypeUsage);
|
741
|
+
}
|
742
|
+
export declare class MethodDeclarationDisplayParts {
|
743
|
+
readonly asyncKeywordWithWhitespace: string;
|
744
|
+
readonly operationKeyword: string;
|
745
|
+
readonly whitespaceAfterOperationKeyword: string;
|
746
|
+
readonly container: string;
|
747
|
+
readonly name: string;
|
748
|
+
readonly typeParametersStart: string;
|
749
|
+
readonly typeParameters: readonly string[];
|
750
|
+
readonly typeParameterSeparator: string;
|
751
|
+
readonly typeParametersEnd: string;
|
752
|
+
readonly valueParametersStart: string;
|
753
|
+
readonly valueParameters: readonly ValueParameterDeclarationDisplayParts[];
|
754
|
+
readonly valueParameterSeparator: string;
|
755
|
+
readonly valueParametersEnd: string;
|
756
|
+
readonly returnTypeAnnotationColon: string;
|
757
|
+
readonly returnType: string;
|
758
|
+
constructor(asyncKeywordWithWhitespace: string, operationKeyword: string, whitespaceAfterOperationKeyword: string, container: string, name: string, typeParametersStart: string, typeParameters: readonly string[], typeParameterSeparator: string, typeParametersEnd: string, valueParametersStart: string, valueParameters: readonly ValueParameterDeclarationDisplayParts[], valueParameterSeparator: string, valueParametersEnd: string, returnTypeAnnotationColon: string, returnType: string);
|
759
|
+
toString(): string;
|
760
|
+
}
|
761
|
+
export declare class ValueParameterDeclarationDisplayParts {
|
762
|
+
readonly name: string;
|
763
|
+
readonly optionalityText: string;
|
764
|
+
readonly colonWithWhitespace: string;
|
765
|
+
readonly type: string;
|
766
|
+
constructor(name: string, optionalityText: string, colonWithWhitespace: string, type: string);
|
767
|
+
toString(): string;
|
768
|
+
}
|
769
|
+
export declare class TypeDeclarationDisplayParts {
|
770
|
+
readonly typeKeyword: string;
|
771
|
+
readonly whitespaceAfterTypeKeyword: string;
|
772
|
+
readonly name: string;
|
773
|
+
readonly constraint: string;
|
774
|
+
readonly typeParametersStart: string;
|
775
|
+
readonly typeParameters: readonly string[];
|
776
|
+
readonly typeParameterSeparator: string;
|
777
|
+
readonly typeParametersEnd: string;
|
778
|
+
readonly equalsSignWithWhitespace: string;
|
779
|
+
readonly typeBody: string;
|
780
|
+
constructor(typeKeyword: string, whitespaceAfterTypeKeyword: string, name: string, constraint: string, typeParametersStart: string, typeParameters: readonly string[], typeParameterSeparator: string, typeParametersEnd: string, equalsSignWithWhitespace: string, typeBody: string);
|
781
|
+
toString(): string;
|
782
|
+
}
|
783
|
+
export declare class ConstructorDeclarationDisplayParts {
|
784
|
+
readonly typeText: string;
|
785
|
+
readonly valueParametersStart: string;
|
786
|
+
readonly valueParameters: readonly ValueParameterDeclarationDisplayParts[];
|
787
|
+
readonly valueParameterSeparator: string;
|
788
|
+
readonly valueParametersEnd: string;
|
789
|
+
constructor(typeText: string, valueParametersStart: string, valueParameters: readonly ValueParameterDeclarationDisplayParts[], valueParameterSeparator: string, valueParametersEnd: string);
|
790
|
+
toString(): string;
|
791
|
+
}
|
792
|
+
export declare class IndexerDeclarationDisplayParts {
|
793
|
+
readonly container: string;
|
794
|
+
readonly valueParametersStart: string;
|
795
|
+
readonly valueParameters: readonly ValueParameterDeclarationDisplayParts[];
|
796
|
+
readonly valueParameterSeparator: string;
|
797
|
+
readonly valueParametersEnd: string;
|
798
|
+
readonly typeAnnotationColon: string;
|
799
|
+
readonly type: string;
|
800
|
+
constructor(container: string, valueParametersStart: string, valueParameters: readonly ValueParameterDeclarationDisplayParts[], valueParameterSeparator: string, valueParametersEnd: string, typeAnnotationColon: string, type: string);
|
801
|
+
toString(): string;
|
802
|
+
}
|
803
|
+
export declare class DereferenceOperatorDeclarationDisplayParts {
|
804
|
+
readonly container: string;
|
805
|
+
readonly operatorToken: string;
|
806
|
+
readonly typeAnnotationColon: string;
|
807
|
+
readonly type: string;
|
808
|
+
constructor(container: string, operatorToken: string, typeAnnotationColon: string, type: string);
|
809
|
+
toString(): string;
|
810
|
+
}
|
811
|
+
export declare class NamedTypeDisplayParts {
|
812
|
+
readonly prefix: string;
|
813
|
+
readonly typeParameters: readonly string[];
|
814
|
+
readonly typeParameterSeparator: string;
|
815
|
+
readonly postfix: string;
|
816
|
+
constructor(prefix: string, typeParameters: readonly string[], typeParameterSeparator: string, postfix: string);
|
817
|
+
}
|
818
|
+
export declare class MethodTypeBodyDisplayParts {
|
819
|
+
readonly asyncKeywordWithWhitespace: string;
|
820
|
+
readonly operationKeyword: string;
|
821
|
+
readonly valueParametersStart: string;
|
822
|
+
readonly valueParameters: readonly ValueParameterDeclarationDisplayParts[];
|
823
|
+
readonly valueParameterSeparator: string;
|
824
|
+
readonly valueParametersEnd: string;
|
825
|
+
readonly returnTypeAnnotationColon: string;
|
826
|
+
readonly returnType: string;
|
827
|
+
constructor(asyncKeywordWithWhitespace: string, operationKeyword: string, valueParametersStart: string, valueParameters: readonly ValueParameterDeclarationDisplayParts[], valueParameterSeparator: string, valueParametersEnd: string, returnTypeAnnotationColon: string, returnType: string);
|
828
|
+
toString(): string;
|
829
|
+
}
|
830
|
+
export {};
|