@artel/artc 0.6.26039 → 0.9.26001
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 +19 -15
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +11426 -5066
- package/build/{chunk-LTJPPRSR.js → chunk-FLMCFMMG.js} +87218 -50777
- package/build/{chunk-AEW4TILW.js → chunk-V2TFXOVJ.js} +1 -1
- package/build/{chunk-5VVFNKOH.js → chunk-XMOVE7NP.js} +2 -2
- package/build/types/analysis/Analyzer.d.ts +6 -1
- package/build/types/analysis/TypeMemberLookup.d.ts +3 -1
- package/build/types/analysis/WellKnownDeclarations.d.ts +54 -0
- package/build/types/analysis/a/Analyzer.d.ts +10 -10
- package/build/types/analysis/a/IdentifierExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/a/MemberAccessExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/a/ModifierValidator.d.ts +3 -2
- package/build/types/analysis/a/ResolvedTranslationPackage.d.ts +2 -1
- package/build/types/analysis/a/SourceFileAnalyzer.d.ts +1 -1
- package/build/types/analysis/a/SourcePackageMembersCreator.d.ts +1 -2
- package/build/types/analysis/a/TreeQuery.d.ts +1 -2
- package/build/types/analysis/a/TypeMemberLookup.d.ts +3 -1
- package/build/types/analysis/a/semantic-context/FieldWithInitializerSemanticContext.d.ts +3 -3
- package/build/types/analysis/a/semantic-context/SemanticContext.d.ts +2 -2
- package/build/types/analysis/a/semantic-context/SemanticContextBuilder.d.ts +10 -12
- package/build/types/analysis/a/semantic-context/SpecialLocalDeclarationsBuilder.d.ts +0 -1
- package/build/types/analysis/a/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +5 -4
- package/build/types/analysis/a/semantic-context/SubprogramSemanticContext.d.ts +11 -10
- package/build/types/analysis/a/semantic-context/TypeSemanticContext.d.ts +13 -13
- package/build/types/analysis/m/Analyzer.d.ts +425 -1
- package/build/types/analysis/m/ArgumentToParameterMatchResult.d.ts +23 -0
- package/build/types/analysis/m/ArgumentsToParametersMatcher.d.ts +40 -0
- package/build/types/analysis/m/BaseExpressionMeaning.d.ts +25 -0
- package/build/types/analysis/m/CallExpressionMeaning.d.ts +72 -0
- package/build/types/analysis/m/ConstructorCallResolver.d.ts +24 -0
- package/build/types/analysis/m/DeclarationsUsageCounter.d.ts +12 -0
- package/build/types/analysis/m/DereferenceExpressionMeaning.d.ts +28 -0
- package/build/types/analysis/m/ExpressionAnalysisOptions.d.ts +21 -0
- package/build/types/analysis/m/FunctionAccessResolver.d.ts +19 -0
- package/build/types/analysis/m/IdentifierExpressionMeaning.d.ts +137 -0
- package/build/types/analysis/m/IndexedAccessExpressionMeaning.d.ts +32 -0
- package/build/types/analysis/m/InstanceFieldsInitializationValidator.d.ts +18 -0
- package/build/types/analysis/m/MemberAccessExpressionMeaning.d.ts +137 -0
- package/build/types/analysis/m/ModifierFlags.d.ts +20 -0
- package/build/types/analysis/m/NamedTypeResolver.d.ts +44 -0
- package/build/types/analysis/m/NamedTypeSpecifierResolver.d.ts +19 -0
- package/build/types/analysis/m/ObjectExpressionMeaning.d.ts +29 -0
- package/build/types/analysis/m/OverloadResolver.d.ts +104 -0
- package/build/types/analysis/m/OwnAndBaseConstructorCallsChecker.d.ts +36 -0
- package/build/types/analysis/m/PackageAndStaticVariablesInitializationValidator.d.ts +17 -0
- package/build/types/analysis/m/ReachabilityChecker.d.ts +27 -0
- package/build/types/analysis/m/ReductionSourceMemberFinder.d.ts +17 -0
- package/build/types/analysis/m/ReservedNameDictionary.d.ts +15 -0
- package/build/types/analysis/m/ResolvedTranslationPackage.d.ts +68 -0
- package/build/types/analysis/m/ReturnTypeInferrer.d.ts +13 -0
- package/build/types/analysis/m/SourceFileAnalyzer.d.ts +131 -0
- package/build/types/analysis/m/SourcePackageMembersCreator.d.ts +7 -0
- package/build/types/analysis/m/SourceTypeMembersCreator.d.ts +9 -0
- package/build/types/analysis/m/StaticDeclarationMeaning.d.ts +32 -0
- package/build/types/analysis/m/SyntacticAccessKind.d.ts +6 -0
- package/build/types/analysis/m/TagMeaning.d.ts +70 -0
- package/build/types/analysis/m/TextIdentity.d.ts +7 -0
- package/build/types/analysis/m/TranslatedEntityNameConflictsValidator.d.ts +28 -0
- package/build/types/analysis/m/TreeQuery.d.ts +15 -0
- package/build/types/analysis/m/TypeArgumentInferrer.d.ts +52 -0
- package/build/types/analysis/m/TypeInferrer.d.ts +11 -0
- package/build/types/analysis/m/TypeMemberLookup.d.ts +4 -1
- package/build/types/analysis/m/TypeNarrower.d.ts +31 -0
- package/build/types/analysis/m/TypeOverloadResolver.d.ts +9 -0
- package/build/types/analysis/m/UserDefinableBinaryOperatorResolver.d.ts +34 -0
- package/build/types/analysis/m/UserDefinableUnaryOperatorResolver.d.ts +23 -0
- package/build/types/analysis/m/VariableIsAssignedChecker.d.ts +11 -0
- package/build/types/analysis/m/VariableIsNotAssignedChecker.d.ts +12 -0
- package/build/types/analysis/m/control-flow/GraphBuilder.d.ts +52 -0
- package/build/types/analysis/m/control-flow/GraphVisualizer.d.ts +12 -0
- package/build/types/analysis/m/control-flow/NarrowableExpression.d.ts +5 -0
- package/build/types/analysis/m/control-flow/NarrowableReference.d.ts +72 -0
- package/build/types/analysis/m/control-flow/Nodes.d.ts +112 -0
- package/build/types/analysis/m/control-flow/index.d.ts +5 -0
- package/build/types/analysis/m/semantic-context/Declarations.d.ts +94 -0
- package/build/types/analysis/m/semantic-context/FieldWithInitializerSemanticContext.d.ts +28 -0
- package/build/types/analysis/m/semantic-context/SemanticContext.d.ts +14 -0
- package/build/types/analysis/m/semantic-context/SemanticContextBase.d.ts +190 -0
- package/build/types/analysis/m/semantic-context/SemanticContextBuilder.d.ts +69 -0
- package/build/types/analysis/m/semantic-context/SemanticContextValidatingNameConflicts.d.ts +51 -0
- package/build/types/analysis/m/semantic-context/SemanticContextWithParent.d.ts +12 -0
- package/build/types/analysis/m/semantic-context/SourceFileSemanticContext.d.ts +63 -0
- package/build/types/analysis/m/semantic-context/StaticDeclarationSemanticContext.d.ts +26 -0
- package/build/types/analysis/m/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +108 -0
- package/build/types/analysis/m/semantic-context/SubprogramSemanticContext.d.ts +92 -0
- package/build/types/analysis/m/semantic-context/TypeSemanticContext.d.ts +93 -0
- package/build/types/analysis/m/semantic-context/index.d.ts +10 -0
- package/build/types/common/LocalizationHelper.d.ts +3 -1
- package/build/types/common/LocalizationHelperA.d.ts +0 -2
- package/build/types/common/LocalizationHelperM.d.ts +13 -0
- package/build/types/common/Name.d.ts +1 -1
- package/build/types/common/index.d.ts +1 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +211 -192
- package/build/types/diagnostic/TokenDiagnosticM.d.ts +2 -0
- package/build/types/emitter/EmitPhaseName.d.ts +2 -2
- package/build/types/emitter/EmitterContext.d.ts +4 -4
- package/build/types/emitter/Entities.d.ts +4 -2
- package/build/types/emitter/IrBuilderM.d.ts +124 -0
- package/build/types/emitter/IrFactory.d.ts +2 -2
- package/build/types/entities/Entity.d.ts +8 -5
- package/build/types/entities/EntityLocalizationContext.d.ts +3 -2
- package/build/types/entities/OperatorKind.d.ts +13 -18
- package/build/types/entities/Translation.d.ts +4 -3
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +4 -1
- package/build/types/entities/interfaces/DereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/interfaces/FunctionEntity.d.ts +3 -1
- package/build/types/entities/interfaces/FunctionTypeEntity.d.ts +3 -1
- package/build/types/entities/interfaces/IndexerEntity.d.ts +4 -1
- package/build/types/entities/interfaces/PackageAliasEntity.d.ts +4 -1
- package/build/types/entities/interfaces/PackageEntity.d.ts +2 -1
- package/build/types/entities/interfaces/ReducedTypeEntity.d.ts +3 -1
- package/build/types/entities/interfaces/StructuredTypeEntity.d.ts +9 -2
- package/build/types/entities/interfaces/TextTranslationEntity.d.ts +4 -1
- package/build/types/entities/interfaces/TypeExtensionEntity.d.ts +4 -1
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +7 -3
- package/build/types/entities/interfaces/VariableEntity.d.ts +3 -2
- package/build/types/entities/interfaces/VariantTypeEntity.d.ts +3 -1
- package/build/types/entities/interfaces/m/ConstructorEntityM.d.ts +10 -0
- package/build/types/entities/interfaces/m/DestructorEntityM.d.ts +8 -0
- package/build/types/entities/interfaces/m/index.d.ts +2 -0
- package/build/types/entities/source/a/SourceFunctionEntity.d.ts +1 -1
- package/build/types/entities/source/a/SourcePackageEntity.d.ts +2 -1
- package/build/types/entities/source/a/SourceStructuredTypeEntity.d.ts +3 -5
- package/build/types/entities/source/m/SourceAliasTypeEntity.d.ts +32 -0
- package/build/types/entities/source/m/SourceConstructorEntity.d.ts +40 -0
- package/build/types/entities/source/m/SourceDestructorEntity.d.ts +38 -0
- package/build/types/entities/source/m/SourceFunctionEntity.d.ts +252 -0
- package/build/types/entities/source/m/SourceFunctionTypeEntity.d.ts +35 -0
- package/build/types/entities/source/m/SourceGetterEntity.d.ts +122 -0
- package/build/types/entities/source/m/SourceIndexerEntity.d.ts +36 -0
- package/build/types/entities/source/m/SourcePackageAliasEntity.d.ts +22 -0
- package/build/types/entities/source/m/SourcePackageEntity.d.ts +68 -0
- package/build/types/entities/source/m/SourceSetterEntity.d.ts +122 -0
- package/build/types/entities/source/m/SourceStructuredTypeEntity.d.ts +111 -0
- package/build/types/entities/source/m/SourceTextTranslationEntity.d.ts +29 -0
- package/build/types/entities/source/m/SourceTypeParameterEntity.d.ts +30 -0
- package/build/types/entities/source/m/SourceVariableEntity.d.ts +447 -0
- package/build/types/entities/source/m/SourceVariantTypeEntity.d.ts +38 -0
- package/build/types/entities/source/m/index.d.ts +15 -0
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +2 -1
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +33 -1
- package/build/types/entities/translated/source/a/SourceTranslatedPackageStructuredTypeEntity.d.ts +8 -2
- package/build/types/entities/translated/source/m/SourceTranslatedAliasTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/m/SourceTranslatedDestructorEntity.d.ts +12 -0
- package/build/types/entities/translated/source/m/SourceTranslatedFunctionEntity.d.ts +24 -0
- package/build/types/entities/translated/source/m/SourceTranslatedFunctionTypeEntity.d.ts +13 -0
- package/build/types/entities/translated/source/m/SourceTranslatedIndexerEntity.d.ts +12 -0
- package/build/types/entities/translated/source/m/SourceTranslatedPackageEntity.d.ts +19 -0
- package/build/types/entities/translated/source/m/SourceTranslatedPackageStructuredTypeEntity.d.ts +26 -0
- package/build/types/entities/translated/source/m/SourceTranslatedPackageVariantTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/m/SourceTranslatedReducedTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/m/index.d.ts +9 -0
- package/build/types/parser/a/KeywordDictionary.d.ts +2 -3
- package/build/types/parser/a/Parser.d.ts +2 -2
- package/build/types/parser/m/ConvertTokenKind.d.ts +3 -0
- package/build/types/parser/m/KeywordDictionary.d.ts +33 -0
- package/build/types/parser/m/Parser.d.ts +7 -0
- package/build/types/parser/m/Scanner.d.ts +56 -0
- package/build/types/parser/m/TokenKind.d.ts +81 -0
- package/build/types/parser/m/TriviaInterner.d.ts +8 -0
- package/build/types/project/SourceFile.d.ts +5 -6
- package/build/types/services/LanguageServer.d.ts +23 -12
- package/build/types/services/a/NodeSemanticInfo.d.ts +2 -2
- package/build/types/services/common/WorkspaceItemsService.d.ts +1 -0
- package/build/types/services/common/completion/Types.d.ts +8 -2
- package/build/types/services/common/display/DisplayService.d.ts +3 -0
- package/build/types/services/common/display/Types.d.ts +2 -2
- package/build/types/services/m/CodeActionsService.d.ts +10 -0
- package/build/types/services/m/CompletionService.d.ts +60 -0
- package/build/types/services/m/DefinitionService.d.ts +11 -0
- package/build/types/services/m/DisplayService.d.ts +52 -0
- package/build/types/services/m/EvaluatableExpressionService.d.ts +10 -0
- package/build/types/services/m/HoverService.d.ts +11 -0
- package/build/types/services/m/NodeSemanticInfo.d.ts +46 -0
- package/build/types/services/m/RenameService.d.ts +11 -0
- package/build/types/services/m/SelectionRangeService.d.ts +7 -0
- package/build/types/services/m/SemanticTokensService.d.ts +11 -0
- package/build/types/services/m/SourceFileItemsService.d.ts +10 -0
- package/build/types/services/m/TranslationService.d.ts +23 -0
- package/build/types/services/m/TranslationsGenerationService.d.ts +7 -0
- package/build/types/services/m/TreeUtils.d.ts +58 -0
- package/build/types/services/m/references/DefinitionInfoFinder.d.ts +6 -0
- package/build/types/services/m/references/ReferencesFinder.d.ts +7 -0
- package/build/types/services/m/signature-help/ParametersSignatureHelpProvider.d.ts +15 -0
- package/build/types/services/m/signature-help/SignatureHelpService.d.ts +6 -0
- package/build/types/services/m/signature-help/SignatureWithParameters.d.ts +94 -0
- package/build/types/services/m/signature-help/TypeParameterSignatureHelpProvider.d.ts +21 -0
- package/build/types/services/m/signature-help/utils.d.ts +9 -0
- package/build/types/tree/a/KeywordKind.d.ts +1 -3
- package/build/types/tree/a/NodeKind.d.ts +113 -114
- package/build/types/tree/a/Nodes.d.ts +6 -5
- package/build/types/tree/a/OperatorKind.d.ts +5 -0
- package/build/types/tree/a/Types.d.ts +9 -4
- package/build/types/tree/m/BaseNode.d.ts +8 -40
- package/build/types/tree/m/KeywordFlags.d.ts +4 -0
- package/build/types/tree/m/KeywordKind.d.ts +40 -0
- package/build/types/tree/m/NodeKind.d.ts +147 -2
- package/build/types/tree/m/Nodes.d.ts +2064 -9
- package/build/types/tree/m/NodesDebug.d.ts +9 -0
- package/build/types/tree/m/OperatorKind.d.ts +39 -0
- package/build/types/tree/m/SyntaxToCode.d.ts +107 -0
- package/build/types/tree/m/Token.d.ts +46 -0
- package/build/types/tree/m/TokenFlags.d.ts +12 -0
- package/build/types/tree/m/TokenKind.d.ts +61 -60
- package/build/types/tree/m/TreeTraversal.d.ts +18 -0
- package/build/types/tree/m/Types.d.ts +46 -0
- package/build/types/tree/m/Utils.d.ts +7 -0
- package/build/types/tree/m/index.d.ts +9 -0
- package/build/types/types/StandardTypes.d.ts +2 -0
- package/package.json +2 -2
- /package/build/types/diagnostic/{TokenDiagnostic.d.ts → TokenDiagnosticA.d.ts} +0 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import { Analyzer } from '../../../analysis/m/Analyzer.js';
|
|
2
|
+
import { Name, PackageDialect, PackageLocale } from '../../../common/index.js';
|
|
3
|
+
import * as tree from '../../../tree/m/index.js';
|
|
4
|
+
import * as types from '../../../types/index.js';
|
|
5
|
+
import { BaseFieldEntity, EntityContainingParameter, EntityHidingLevel, EntityKind, FieldEntity, FieldEntityWithImplicitAccessors, IndexerEntity, LocalVariableEntity, LocalVariableKind, MethodEntity, PackageEntity, PackageFunctionEntity, PackageVariableEntity, ParameterEntity, PreservedReducedTypeEntityMemberInfo, SpecialVariableEntityInfo, Tag, Translation, TypeWithMembersOrExtensionEntity, VariableEntityDefinition } from '../../index.js';
|
|
6
|
+
export declare class PackageVariableDeclarationEntity implements PackageVariableEntity {
|
|
7
|
+
private readonly analyzer;
|
|
8
|
+
private readonly node;
|
|
9
|
+
readonly kind = EntityKind.Variable;
|
|
10
|
+
readonly subkind = "package";
|
|
11
|
+
private readonly name;
|
|
12
|
+
private readonly typeInferrer;
|
|
13
|
+
private readonly hiding;
|
|
14
|
+
private modifierFlags_;
|
|
15
|
+
private hasReportedAllDiagnostics;
|
|
16
|
+
private get modifierFlags();
|
|
17
|
+
constructor(analyzer: Analyzer, node: tree.PackageVariableDeclaration);
|
|
18
|
+
getName(): Name;
|
|
19
|
+
getContainingPackage(): PackageEntity;
|
|
20
|
+
getType(): types.Type;
|
|
21
|
+
getDefinition(): VariableEntityDefinition;
|
|
22
|
+
getGetter(): PackageFunctionEntity | undefined;
|
|
23
|
+
getSetter(): PackageFunctionEntity | undefined;
|
|
24
|
+
isConstant(): boolean;
|
|
25
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
26
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
27
|
+
getTags(): readonly Tag[];
|
|
28
|
+
ensureAllDiagnosticsReported(): void;
|
|
29
|
+
getTranslation(): Translation | undefined;
|
|
30
|
+
getLocale(): PackageLocale;
|
|
31
|
+
getDialect(): PackageDialect;
|
|
32
|
+
getOriginalEntity(): PackageVariableEntity;
|
|
33
|
+
}
|
|
34
|
+
export declare class ComputedPackageVariableDeclarationEntity implements PackageVariableEntity {
|
|
35
|
+
readonly kind = EntityKind.Variable;
|
|
36
|
+
readonly subkind = "package";
|
|
37
|
+
private readonly analyzer;
|
|
38
|
+
private readonly getterDeclaration;
|
|
39
|
+
private readonly setterDeclaration;
|
|
40
|
+
private readonly getterOrSetterDeclaration;
|
|
41
|
+
private readonly name;
|
|
42
|
+
private readonly hiding;
|
|
43
|
+
private hasReportedAllDiagnostics;
|
|
44
|
+
constructor(analyzer: Analyzer, getterDeclaration: tree.PackageVariableGetterDeclaration | undefined, setterDeclaration: tree.PackageVariableSetterDeclaration | undefined);
|
|
45
|
+
getName(): Name;
|
|
46
|
+
getType(): types.Type;
|
|
47
|
+
getContainingPackage(): PackageEntity;
|
|
48
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
49
|
+
isConstant(): boolean;
|
|
50
|
+
getDefinition(): VariableEntityDefinition;
|
|
51
|
+
getGetter(): PackageFunctionEntity | undefined;
|
|
52
|
+
getSetter(): PackageFunctionEntity | undefined;
|
|
53
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
54
|
+
getTags(): readonly Tag[];
|
|
55
|
+
getTranslation(): Translation | undefined;
|
|
56
|
+
getLocale(): PackageLocale;
|
|
57
|
+
getDialect(): PackageDialect;
|
|
58
|
+
getOriginalEntity(): PackageVariableEntity;
|
|
59
|
+
ensureAllDiagnosticsReported(): void;
|
|
60
|
+
}
|
|
61
|
+
export declare class FieldDeclarationEntity extends FieldEntityWithImplicitAccessors {
|
|
62
|
+
protected readonly analyzer: Analyzer;
|
|
63
|
+
private readonly node;
|
|
64
|
+
private readonly name;
|
|
65
|
+
private readonly typeInferrer;
|
|
66
|
+
private readonly hiding;
|
|
67
|
+
private readonly isPreservedReducedTypeMember_;
|
|
68
|
+
private containingEntity;
|
|
69
|
+
private modifierFlags_;
|
|
70
|
+
private hasReportedAllDiagnostics;
|
|
71
|
+
private get modifierFlags();
|
|
72
|
+
constructor(analyzer: Analyzer, node: tree.FieldDeclaration);
|
|
73
|
+
getName(): Name;
|
|
74
|
+
getType(): types.Type;
|
|
75
|
+
getDefinition(): VariableEntityDefinition;
|
|
76
|
+
isConstant(): boolean;
|
|
77
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
78
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
79
|
+
getTags(): readonly Tag[];
|
|
80
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
81
|
+
getContainingPackage(): PackageEntity;
|
|
82
|
+
isStatic(): boolean;
|
|
83
|
+
markedBasic(): boolean;
|
|
84
|
+
isOverride(): boolean;
|
|
85
|
+
markedAbstract(): boolean;
|
|
86
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
87
|
+
isVariant(): boolean;
|
|
88
|
+
getTranslation(): Translation | undefined;
|
|
89
|
+
getLocale(): PackageLocale;
|
|
90
|
+
getDialect(): PackageDialect;
|
|
91
|
+
getOriginalEntity(): FieldEntity;
|
|
92
|
+
ensureAllDiagnosticsReported(): void;
|
|
93
|
+
protected getExplicitGetter(): MethodEntity | undefined;
|
|
94
|
+
protected getExplicitSetter(): MethodEntity | undefined;
|
|
95
|
+
}
|
|
96
|
+
export declare class ComputedFieldDeclarationEntity extends BaseFieldEntity {
|
|
97
|
+
protected readonly analyzer: Analyzer;
|
|
98
|
+
private readonly getterDeclaration;
|
|
99
|
+
private readonly setterDeclaration;
|
|
100
|
+
private readonly getterOrSetterDeclaration;
|
|
101
|
+
private readonly name;
|
|
102
|
+
private readonly hiding;
|
|
103
|
+
private readonly isPreservedReducedTypeMember_;
|
|
104
|
+
private containingEntity;
|
|
105
|
+
private hasReportedAllDiagnostics;
|
|
106
|
+
constructor(analyzer: Analyzer, getterDeclaration: tree.FieldGetterDeclaration | undefined, setterDeclaration: tree.FieldSetterDeclaration | undefined);
|
|
107
|
+
getName(): Name;
|
|
108
|
+
getType(): types.Type;
|
|
109
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
110
|
+
getContainingPackage(): PackageEntity;
|
|
111
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
112
|
+
isConstant(): boolean;
|
|
113
|
+
isStatic(): boolean;
|
|
114
|
+
markedBasic(): boolean;
|
|
115
|
+
isOverride(): boolean;
|
|
116
|
+
markedAbstract(): boolean;
|
|
117
|
+
getDefinition(): VariableEntityDefinition;
|
|
118
|
+
getGetter(): MethodEntity | undefined;
|
|
119
|
+
getSetter(): MethodEntity | undefined;
|
|
120
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
121
|
+
getTags(): readonly Tag[];
|
|
122
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
123
|
+
isVariant(): boolean;
|
|
124
|
+
getTranslation(): Translation | undefined;
|
|
125
|
+
getLocale(): PackageLocale;
|
|
126
|
+
getDialect(): PackageDialect;
|
|
127
|
+
getOriginalEntity(): FieldEntity;
|
|
128
|
+
ensureAllDiagnosticsReported(): void;
|
|
129
|
+
}
|
|
130
|
+
export declare class VariantValueDeclarationEntity extends BaseFieldEntity {
|
|
131
|
+
protected readonly analyzer: Analyzer;
|
|
132
|
+
private readonly node;
|
|
133
|
+
private readonly containingDeclaration;
|
|
134
|
+
private readonly name;
|
|
135
|
+
private readonly type;
|
|
136
|
+
private readonly isPreservedReducedTypeMember_;
|
|
137
|
+
private containingEntity;
|
|
138
|
+
constructor(analyzer: Analyzer, node: tree.VariantValueDeclaration);
|
|
139
|
+
getName(): Name;
|
|
140
|
+
getType(): types.Type;
|
|
141
|
+
getDefinition(): VariableEntityDefinition;
|
|
142
|
+
getGetter(): MethodEntity | undefined;
|
|
143
|
+
getSetter(): MethodEntity | undefined;
|
|
144
|
+
isConstant(): boolean;
|
|
145
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
146
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
147
|
+
getTags(): readonly Tag[];
|
|
148
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
149
|
+
getContainingPackage(): PackageEntity;
|
|
150
|
+
isStatic(): boolean;
|
|
151
|
+
markedBasic(): boolean;
|
|
152
|
+
isOverride(): boolean;
|
|
153
|
+
markedAbstract(): boolean;
|
|
154
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
155
|
+
isVariant(): boolean;
|
|
156
|
+
getTranslation(): Translation | undefined;
|
|
157
|
+
getLocale(): PackageLocale;
|
|
158
|
+
getDialect(): PackageDialect;
|
|
159
|
+
getOriginalEntity(): FieldEntity;
|
|
160
|
+
}
|
|
161
|
+
export declare class LocalVariableDeclarationEntity implements LocalVariableEntity {
|
|
162
|
+
private readonly analyzer;
|
|
163
|
+
private readonly node;
|
|
164
|
+
readonly kind = EntityKind.Variable;
|
|
165
|
+
readonly subkind = "local";
|
|
166
|
+
private readonly name;
|
|
167
|
+
private readonly typeInferrer;
|
|
168
|
+
private hasReportedAllDiagnostics;
|
|
169
|
+
constructor(analyzer: Analyzer, node: tree.LocalVariableDeclaration);
|
|
170
|
+
getName(): Name;
|
|
171
|
+
getType(): types.Type;
|
|
172
|
+
getDefinition(): VariableEntityDefinition;
|
|
173
|
+
getGetter(): undefined;
|
|
174
|
+
getSetter(): undefined;
|
|
175
|
+
isConstant(): boolean;
|
|
176
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
177
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
178
|
+
getTags(): readonly Tag[];
|
|
179
|
+
getLocalVariableKind(): LocalVariableKind;
|
|
180
|
+
getContainingPackage(): PackageEntity;
|
|
181
|
+
getTranslation(): Translation | undefined;
|
|
182
|
+
getLocale(): PackageLocale;
|
|
183
|
+
getDialect(): PackageDialect;
|
|
184
|
+
getOriginalEntity(): LocalVariableEntity;
|
|
185
|
+
ensureAllDiagnosticsReported(): void;
|
|
186
|
+
}
|
|
187
|
+
export declare class ForStatementElementVariableDeclarationEntity implements LocalVariableEntity {
|
|
188
|
+
private readonly analyzer;
|
|
189
|
+
private readonly node;
|
|
190
|
+
readonly kind = EntityKind.Variable;
|
|
191
|
+
readonly subkind = "local";
|
|
192
|
+
private readonly name;
|
|
193
|
+
private readonly typeInferrer;
|
|
194
|
+
private hasReportedAllDiagnostics;
|
|
195
|
+
constructor(analyzer: Analyzer, node: tree.ForStatementVariableDeclaration);
|
|
196
|
+
getName(): Name;
|
|
197
|
+
getType(): types.Type;
|
|
198
|
+
getDefinition(): VariableEntityDefinition;
|
|
199
|
+
getGetter(): undefined;
|
|
200
|
+
getSetter(): undefined;
|
|
201
|
+
isConstant(): boolean;
|
|
202
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
203
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
204
|
+
getTags(): readonly Tag[];
|
|
205
|
+
getLocalVariableKind(): LocalVariableKind;
|
|
206
|
+
getContainingPackage(): PackageEntity;
|
|
207
|
+
getTranslation(): Translation | undefined;
|
|
208
|
+
getLocale(): PackageLocale;
|
|
209
|
+
getDialect(): PackageDialect;
|
|
210
|
+
getOriginalEntity(): LocalVariableEntity;
|
|
211
|
+
ensureAllDiagnosticsReported(): void;
|
|
212
|
+
}
|
|
213
|
+
export declare class ForStatementIndexVariableDeclarationEntity implements LocalVariableEntity {
|
|
214
|
+
private readonly analyzer;
|
|
215
|
+
private readonly node;
|
|
216
|
+
readonly kind = EntityKind.Variable;
|
|
217
|
+
readonly subkind = "local";
|
|
218
|
+
private readonly name;
|
|
219
|
+
constructor(analyzer: Analyzer, node: tree.ForStatementVariableDeclaration);
|
|
220
|
+
getName(): Name;
|
|
221
|
+
getType(): types.Type;
|
|
222
|
+
getDefinition(): VariableEntityDefinition;
|
|
223
|
+
getGetter(): undefined;
|
|
224
|
+
getSetter(): undefined;
|
|
225
|
+
isConstant(): boolean;
|
|
226
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
227
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
228
|
+
getTags(): readonly Tag[];
|
|
229
|
+
getLocalVariableKind(): LocalVariableKind;
|
|
230
|
+
getContainingPackage(): PackageEntity;
|
|
231
|
+
getTranslation(): Translation | undefined;
|
|
232
|
+
getLocale(): PackageLocale;
|
|
233
|
+
getDialect(): PackageDialect;
|
|
234
|
+
getOriginalEntity(): LocalVariableEntity;
|
|
235
|
+
}
|
|
236
|
+
export declare class ErrorVariableDeclarationEntity implements LocalVariableEntity {
|
|
237
|
+
private readonly analyzer;
|
|
238
|
+
private readonly node;
|
|
239
|
+
readonly kind = EntityKind.Variable;
|
|
240
|
+
readonly subkind = "local";
|
|
241
|
+
private readonly name;
|
|
242
|
+
private readonly type;
|
|
243
|
+
constructor(analyzer: Analyzer, node: tree.ErrorVariableDeclaration);
|
|
244
|
+
getName(): Name;
|
|
245
|
+
getType(): types.Type;
|
|
246
|
+
getDefinition(): VariableEntityDefinition;
|
|
247
|
+
getGetter(): undefined;
|
|
248
|
+
getSetter(): undefined;
|
|
249
|
+
isConstant(): boolean;
|
|
250
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
251
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
252
|
+
getTags(): readonly Tag[];
|
|
253
|
+
getLocalVariableKind(): LocalVariableKind;
|
|
254
|
+
getContainingPackage(): PackageEntity;
|
|
255
|
+
getTranslation(): Translation | undefined;
|
|
256
|
+
getLocale(): PackageLocale;
|
|
257
|
+
getDialect(): PackageDialect;
|
|
258
|
+
getOriginalEntity(): LocalVariableEntity;
|
|
259
|
+
}
|
|
260
|
+
export declare class ParameterDeclarationEntity implements ParameterEntity {
|
|
261
|
+
private readonly analyzer;
|
|
262
|
+
private readonly node;
|
|
263
|
+
readonly kind = EntityKind.Variable;
|
|
264
|
+
readonly subkind = "parameter";
|
|
265
|
+
private readonly name;
|
|
266
|
+
private readonly typeInferrer;
|
|
267
|
+
private hasReportedAllDiagnostics;
|
|
268
|
+
constructor(analyzer: Analyzer, node: tree.ParameterDeclaration);
|
|
269
|
+
getName(): Name;
|
|
270
|
+
getType(): types.Type;
|
|
271
|
+
getDefinition(): VariableEntityDefinition;
|
|
272
|
+
getGetter(): undefined;
|
|
273
|
+
getSetter(): undefined;
|
|
274
|
+
isConstant(): boolean;
|
|
275
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
276
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
277
|
+
getTags(): readonly Tag[];
|
|
278
|
+
getContainingEntity(): EntityContainingParameter;
|
|
279
|
+
getContainingPackage(): PackageEntity;
|
|
280
|
+
isOptional(): boolean;
|
|
281
|
+
isVariadic(): boolean;
|
|
282
|
+
getTranslation(): Translation | undefined;
|
|
283
|
+
getLocale(): PackageLocale;
|
|
284
|
+
getDialect(): PackageDialect;
|
|
285
|
+
isObjectParameter(): boolean;
|
|
286
|
+
getOriginalEntity(): ParameterEntity;
|
|
287
|
+
ensureAllDiagnosticsReported(): void;
|
|
288
|
+
}
|
|
289
|
+
export declare class IndexParameterDeclarationEntity implements ParameterEntity {
|
|
290
|
+
private readonly analyzer;
|
|
291
|
+
private readonly getterParameterDeclaration;
|
|
292
|
+
private readonly setterParameterDeclaration;
|
|
293
|
+
private readonly indexerEntity;
|
|
294
|
+
readonly kind = EntityKind.Variable;
|
|
295
|
+
readonly subkind = "parameter";
|
|
296
|
+
private readonly getterOrSetterParameterDeclaration;
|
|
297
|
+
private readonly name;
|
|
298
|
+
private readonly typeInferrer;
|
|
299
|
+
private hasReportedAllDiagnostics;
|
|
300
|
+
constructor(analyzer: Analyzer, getterParameterDeclaration: tree.ParameterDeclaration | undefined, setterParameterDeclaration: tree.ParameterDeclaration | undefined, indexerEntity: IndexerEntity);
|
|
301
|
+
getName(): Name;
|
|
302
|
+
getType(): types.Type;
|
|
303
|
+
getDefinition(): VariableEntityDefinition;
|
|
304
|
+
getGetter(): undefined;
|
|
305
|
+
getSetter(): undefined;
|
|
306
|
+
isConstant(): boolean;
|
|
307
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
308
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
309
|
+
getTags(): readonly Tag[];
|
|
310
|
+
getContainingEntity(): EntityContainingParameter;
|
|
311
|
+
getContainingPackage(): PackageEntity;
|
|
312
|
+
isOptional(): boolean;
|
|
313
|
+
isVariadic(): boolean;
|
|
314
|
+
getTranslation(): Translation | undefined;
|
|
315
|
+
getLocale(): PackageLocale;
|
|
316
|
+
getDialect(): PackageDialect;
|
|
317
|
+
isObjectParameter(): boolean;
|
|
318
|
+
getOriginalEntity(): ParameterEntity;
|
|
319
|
+
ensureAllDiagnosticsReported(): void;
|
|
320
|
+
}
|
|
321
|
+
export declare class FunctionLiteralParameterDeclarationEntity implements ParameterEntity {
|
|
322
|
+
private readonly analyzer;
|
|
323
|
+
private readonly node;
|
|
324
|
+
private readonly functionLiteral;
|
|
325
|
+
readonly kind = EntityKind.Variable;
|
|
326
|
+
readonly subkind = "parameter";
|
|
327
|
+
private readonly parameterIndex;
|
|
328
|
+
private readonly name;
|
|
329
|
+
private type;
|
|
330
|
+
constructor(analyzer: Analyzer, node: tree.ParameterDeclaration, functionLiteral: tree.FunctionLiteral);
|
|
331
|
+
setTypeIfHasNoTypeSpecifier(type: types.Type): void;
|
|
332
|
+
getName(): Name;
|
|
333
|
+
getType(): types.Type;
|
|
334
|
+
getDefinition(): VariableEntityDefinition;
|
|
335
|
+
getGetter(): undefined;
|
|
336
|
+
getSetter(): undefined;
|
|
337
|
+
isConstant(): boolean;
|
|
338
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
339
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
340
|
+
getTags(): readonly Tag[];
|
|
341
|
+
getContainingEntity(): EntityContainingParameter;
|
|
342
|
+
getContainingPackage(): PackageEntity;
|
|
343
|
+
isOptional(): boolean;
|
|
344
|
+
isVariadic(): boolean;
|
|
345
|
+
getTranslation(): Translation | undefined;
|
|
346
|
+
getLocale(): PackageLocale;
|
|
347
|
+
getDialect(): PackageDialect;
|
|
348
|
+
getOriginalEntity(): ParameterEntity;
|
|
349
|
+
isObjectParameter(): boolean;
|
|
350
|
+
private getContainingFunctionLiteralEntity;
|
|
351
|
+
}
|
|
352
|
+
export declare class TranslationTextTemplateParameterEntity implements ParameterEntity {
|
|
353
|
+
private readonly analyzer;
|
|
354
|
+
private readonly node;
|
|
355
|
+
readonly kind = EntityKind.Variable;
|
|
356
|
+
readonly subkind = "parameter";
|
|
357
|
+
private readonly name;
|
|
358
|
+
constructor(analyzer: Analyzer, node: tree.TranslationTextTemplateParameter);
|
|
359
|
+
getContainingEntity(): EntityContainingParameter;
|
|
360
|
+
getName(): Name;
|
|
361
|
+
getContainer(): PackageEntity;
|
|
362
|
+
getContainingPackage(): PackageEntity;
|
|
363
|
+
getType(): types.Type;
|
|
364
|
+
getDefinition(): VariableEntityDefinition;
|
|
365
|
+
getGetter(): undefined;
|
|
366
|
+
getSetter(): undefined;
|
|
367
|
+
isConstant(): boolean;
|
|
368
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
369
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
370
|
+
getTags(): readonly Tag[];
|
|
371
|
+
isOptional(): boolean;
|
|
372
|
+
isVariadic(): boolean;
|
|
373
|
+
getTranslation(): Translation | undefined;
|
|
374
|
+
getLocale(): PackageLocale;
|
|
375
|
+
getDialect(): PackageDialect;
|
|
376
|
+
isObjectParameter(): boolean;
|
|
377
|
+
getOriginalEntity(): ParameterEntity;
|
|
378
|
+
}
|
|
379
|
+
export declare class StaticFieldDeclarationEntity extends FieldEntityWithImplicitAccessors {
|
|
380
|
+
protected readonly analyzer: Analyzer;
|
|
381
|
+
private readonly node;
|
|
382
|
+
private readonly name;
|
|
383
|
+
private readonly typeInferrer;
|
|
384
|
+
private readonly hiding;
|
|
385
|
+
private readonly isPreservedReducedTypeMember_;
|
|
386
|
+
private containingEntity;
|
|
387
|
+
private modifierFlags_;
|
|
388
|
+
private hasReportedAllDiagnostics;
|
|
389
|
+
private get modifierFlags();
|
|
390
|
+
constructor(analyzer: Analyzer, node: tree.StaticFieldDeclaration);
|
|
391
|
+
getName(): Name;
|
|
392
|
+
getType(): types.Type;
|
|
393
|
+
getDefinition(): VariableEntityDefinition;
|
|
394
|
+
isConstant(): boolean;
|
|
395
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
396
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
397
|
+
getTags(): readonly Tag[];
|
|
398
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
399
|
+
getContainingPackage(): PackageEntity;
|
|
400
|
+
isStatic(): boolean;
|
|
401
|
+
markedBasic(): boolean;
|
|
402
|
+
isOverride(): boolean;
|
|
403
|
+
markedAbstract(): boolean;
|
|
404
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
405
|
+
isVariant(): boolean;
|
|
406
|
+
getTranslation(): Translation | undefined;
|
|
407
|
+
getLocale(): PackageLocale;
|
|
408
|
+
getDialect(): PackageDialect;
|
|
409
|
+
getOriginalEntity(): FieldEntity;
|
|
410
|
+
ensureAllDiagnosticsReported(): void;
|
|
411
|
+
protected getExplicitGetter(): MethodEntity | undefined;
|
|
412
|
+
protected getExplicitSetter(): MethodEntity | undefined;
|
|
413
|
+
}
|
|
414
|
+
export declare class ComputedStaticFieldDeclarationEntity extends BaseFieldEntity {
|
|
415
|
+
protected readonly analyzer: Analyzer;
|
|
416
|
+
private readonly getterDeclaration;
|
|
417
|
+
private readonly setterDeclaration;
|
|
418
|
+
private readonly getterOrSetterDeclaration;
|
|
419
|
+
private readonly name;
|
|
420
|
+
private readonly hiding;
|
|
421
|
+
private readonly isPreservedReducedTypeMember_;
|
|
422
|
+
private containingEntity;
|
|
423
|
+
private hasReportedAllDiagnostics;
|
|
424
|
+
constructor(analyzer: Analyzer, getterDeclaration: tree.StaticFieldGetterDeclaration | undefined, setterDeclaration: tree.StaticFieldSetterDeclaration | undefined);
|
|
425
|
+
getName(): Name;
|
|
426
|
+
getType(): types.Type;
|
|
427
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
428
|
+
getContainingPackage(): PackageEntity;
|
|
429
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
430
|
+
isConstant(): boolean;
|
|
431
|
+
isStatic(): boolean;
|
|
432
|
+
markedBasic(): boolean;
|
|
433
|
+
isOverride(): boolean;
|
|
434
|
+
markedAbstract(): boolean;
|
|
435
|
+
getDefinition(): VariableEntityDefinition;
|
|
436
|
+
getGetter(): MethodEntity | undefined;
|
|
437
|
+
getSetter(): MethodEntity | undefined;
|
|
438
|
+
isSpecial(): SpecialVariableEntityInfo | undefined;
|
|
439
|
+
getTags(): readonly Tag[];
|
|
440
|
+
isPreservedReducedTypeMember(): PreservedReducedTypeEntityMemberInfo<types.Field> | undefined;
|
|
441
|
+
isVariant(): boolean;
|
|
442
|
+
getTranslation(): Translation | undefined;
|
|
443
|
+
getLocale(): PackageLocale;
|
|
444
|
+
getDialect(): PackageDialect;
|
|
445
|
+
getOriginalEntity(): FieldEntity;
|
|
446
|
+
ensureAllDiagnosticsReported(): void;
|
|
447
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Analyzer } from '../../../analysis/m/Analyzer.js';
|
|
2
|
+
import { Name, PackageDialect, PackageLocale } from '../../../common/index.js';
|
|
3
|
+
import * as tree from '../../../tree/m/index.js';
|
|
4
|
+
import * as types from '../../../types/index.js';
|
|
5
|
+
import { BaseObjectType } from '../../BaseObjectType.js';
|
|
6
|
+
import { EntityHidingLevel, EntityKind, EntityNaming, PackageEntity, PackageVariantTypeEntity, SubstitutionApplicationMode, Tag, Translation, TypeEntityKind, TypeEntityMembers, TypeParameterEntity, VariantTypeEntityDefinition } from '../../index.js';
|
|
7
|
+
export declare class PackageVariantDeclarationEntity implements PackageVariantTypeEntity {
|
|
8
|
+
private readonly analyzer;
|
|
9
|
+
private readonly node;
|
|
10
|
+
readonly kind = EntityKind.Type;
|
|
11
|
+
readonly typeEntityKind = TypeEntityKind.Variant;
|
|
12
|
+
readonly subkind = "package";
|
|
13
|
+
private readonly name;
|
|
14
|
+
private readonly typeParameters;
|
|
15
|
+
private readonly members;
|
|
16
|
+
private readonly underlyingType;
|
|
17
|
+
private readonly baseObjectType;
|
|
18
|
+
private readonly hiding;
|
|
19
|
+
private modifierFlags_;
|
|
20
|
+
private get modifierFlags();
|
|
21
|
+
constructor(analyzer: Analyzer, node: tree.PackageTypeDeclaration);
|
|
22
|
+
getNaming(): EntityNaming;
|
|
23
|
+
getName(): Name;
|
|
24
|
+
getContainingPackage(): PackageEntity;
|
|
25
|
+
getMembers(): TypeEntityMembers;
|
|
26
|
+
getUnderlyingType(): types.Type;
|
|
27
|
+
getDefinition(): VariantTypeEntityDefinition;
|
|
28
|
+
getArity(): number;
|
|
29
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
|
30
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
31
|
+
getTags(): readonly Tag[];
|
|
32
|
+
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
33
|
+
getBaseObjectType(): BaseObjectType;
|
|
34
|
+
getTranslation(): Translation | undefined;
|
|
35
|
+
getLocale(): PackageLocale;
|
|
36
|
+
getDialect(): PackageDialect;
|
|
37
|
+
getOriginalEntity(): PackageVariantTypeEntity;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './SourceAliasTypeEntity.js';
|
|
2
|
+
export * from './SourceConstructorEntity.js';
|
|
3
|
+
export * from './SourceDestructorEntity.js';
|
|
4
|
+
export * from './SourceFunctionEntity.js';
|
|
5
|
+
export * from './SourceFunctionTypeEntity.js';
|
|
6
|
+
export * from './SourceGetterEntity.js';
|
|
7
|
+
export * from './SourceIndexerEntity.js';
|
|
8
|
+
export * from './SourcePackageAliasEntity.js';
|
|
9
|
+
export * from './SourcePackageEntity.js';
|
|
10
|
+
export * from './SourceSetterEntity.js';
|
|
11
|
+
export * from './SourceStructuredTypeEntity.js';
|
|
12
|
+
export * from './SourceTextTranslationEntity.js';
|
|
13
|
+
export * from './SourceTypeParameterEntity.js';
|
|
14
|
+
export * from './SourceVariableEntity.js';
|
|
15
|
+
export * from './SourceVariantTypeEntity.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
2
2
|
import { PackageName, PlatformKind } from '../../project/index.js';
|
|
3
|
-
import { AnonymousTypeEntity, EntityKind, EntityLocalizationContext, LocalizablePackageMemberEntity, Tag, Translation, TypeMemberEntity } from '../index.js';
|
|
3
|
+
import { AnonymousTypeEntity, EntityKind, EntityLocalizationContext, LocalizablePackageMemberEntity, Tag, Translation, TypeMemberEntity, LocalTypeEntity } from '../index.js';
|
|
4
4
|
import { InterfacePackageEntityInfo, PackageEntityDefinition } from '../interfaces/index.js';
|
|
5
5
|
import { IPackageEntity, NameTranslationPackageEntity, PackageEntity, ProgramPackageEntity, TextTranslationPackageEntity, TextTranslationPackageEntityInfo } from '../interfaces/PackageEntity.js';
|
|
6
6
|
import { PackageEntityMembers } from '../PackageEntityMembers.js';
|
|
@@ -44,6 +44,7 @@ export declare abstract class TranslatedNameTranslationPackageEntity extends Tra
|
|
|
44
44
|
getTranslatedPackageMember(entity: LocalizablePackageMemberEntity): LocalizablePackageMemberEntity;
|
|
45
45
|
getTranslatedTypeMember(entity: TypeMemberEntity): TypeMemberEntity;
|
|
46
46
|
getTranslatedAnonymousTypeEntity(entity: AnonymousTypeEntity): AnonymousTypeEntity;
|
|
47
|
+
getTranslatedLocalTypeEntity(entity: LocalTypeEntity): LocalTypeEntity;
|
|
47
48
|
}
|
|
48
49
|
export declare abstract class TranslatedTextTranslationPackageEntity extends TranslatedPackageEntity implements TextTranslationPackageEntity {
|
|
49
50
|
readonly subkind = "text-translation";
|
|
@@ -5,7 +5,7 @@ import { BaseObjectType, CycleFreeBaseObjectTypeResolutionResult } from '../Base
|
|
|
5
5
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
6
|
import { EntityHidingLevel, EntityKind, EntityNaming, Tag, Translation, TypeEntityMembers } from '../index.js';
|
|
7
7
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
8
|
-
import { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity, StructuredTypeEntityDefinition, StructuredTypeKind } from '../interfaces/StructuredTypeEntity.js';
|
|
8
|
+
import { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity, StructuredTypeEntityDefinition, StructuredTypeKind, LocalStructuredTypeEntity } from '../interfaces/StructuredTypeEntity.js';
|
|
9
9
|
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
10
10
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
11
11
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
@@ -71,6 +71,38 @@ export declare abstract class TranslatedAnonymousStructuredTypeEntity implements
|
|
|
71
71
|
getTags(): readonly Tag[];
|
|
72
72
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
73
73
|
}
|
|
74
|
+
export declare abstract class TranslatedLocalStructuredTypeEntity implements LocalStructuredTypeEntity {
|
|
75
|
+
readonly kind = EntityKind.Type;
|
|
76
|
+
readonly typeEntityKind = TypeEntityKind.Structured;
|
|
77
|
+
readonly subkind = "local";
|
|
78
|
+
protected readonly originalEntity: LocalStructuredTypeEntity;
|
|
79
|
+
protected readonly translation: Translation;
|
|
80
|
+
protected readonly name: Name;
|
|
81
|
+
private readonly containingPackage;
|
|
82
|
+
private readonly baseObjectType;
|
|
83
|
+
private readonly baseAspectTypes;
|
|
84
|
+
private get localizationContext();
|
|
85
|
+
getName(): Name;
|
|
86
|
+
constructor(originalEntity: LocalStructuredTypeEntity, translation: Translation, name: Name);
|
|
87
|
+
abstract getMembers(): TypeEntityMembers;
|
|
88
|
+
getContainingPackage(): PackageEntity;
|
|
89
|
+
getTranslation(): Translation | undefined;
|
|
90
|
+
getLocale(): PackageLocale;
|
|
91
|
+
getDialect(): PackageDialect;
|
|
92
|
+
getOriginalEntity(): LocalStructuredTypeEntity;
|
|
93
|
+
getNaming(): EntityNaming;
|
|
94
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
|
95
|
+
getDefinition(): StructuredTypeEntityDefinition;
|
|
96
|
+
markedBasic(): boolean;
|
|
97
|
+
isAbstract(): boolean;
|
|
98
|
+
getStructuredTypeKind(): StructuredTypeKind;
|
|
99
|
+
getArity(): number;
|
|
100
|
+
getBaseObjectType(): BaseObjectType;
|
|
101
|
+
getBaseAspectTypes(): BaseAspectTypes;
|
|
102
|
+
isHidden(): EntityHidingLevel | undefined;
|
|
103
|
+
getTags(): readonly Tag[];
|
|
104
|
+
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
105
|
+
}
|
|
74
106
|
export declare class LocalizedBaseObjectType extends BaseObjectType {
|
|
75
107
|
private readonly original;
|
|
76
108
|
private readonly localizationContext;
|
package/build/types/entities/translated/source/a/SourceTranslatedPackageStructuredTypeEntity.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ResolvedTranslationPackage } from '../../../../analysis/a/ResolvedTranslationPackage.js';
|
|
2
2
|
import { Name } from '../../../../common/index.js';
|
|
3
3
|
import * as tree from '../../../../tree/a/index.js';
|
|
4
|
-
import { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity, Translation, TypeEntityMembers, TypeParameterEntity } from '../../../index.js';
|
|
5
|
-
import { TranslatedAnonymousStructuredTypeEntity, TranslatedPackageStructuredTypeEntity } from '../../TranslatedStructuredTypeEntity.js';
|
|
4
|
+
import { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity, Translation, TypeEntityMembers, TypeParameterEntity, LocalStructuredTypeEntity } from '../../../index.js';
|
|
5
|
+
import { TranslatedAnonymousStructuredTypeEntity, TranslatedPackageStructuredTypeEntity, TranslatedLocalStructuredTypeEntity } from '../../TranslatedStructuredTypeEntity.js';
|
|
6
6
|
export declare class SourceTranslatedPackageStructuredTypeEntity extends TranslatedPackageStructuredTypeEntity {
|
|
7
7
|
private readonly translationPackage;
|
|
8
8
|
private readonly node;
|
|
@@ -18,3 +18,9 @@ export declare class SourceTranslatedAnonymousStructuredTypeEntity extends Trans
|
|
|
18
18
|
constructor(originalEntity: AnonymousStructuredTypeEntity, translation: Translation, translationPackage: ResolvedTranslationPackage);
|
|
19
19
|
getMembers(): TypeEntityMembers;
|
|
20
20
|
}
|
|
21
|
+
export declare class SourceTranslatedLocalStructuredTypeEntity extends TranslatedLocalStructuredTypeEntity {
|
|
22
|
+
private readonly translationPackage;
|
|
23
|
+
private readonly members;
|
|
24
|
+
constructor(originalEntity: LocalStructuredTypeEntity, translation: Translation, name: Name, translationPackage: ResolvedTranslationPackage);
|
|
25
|
+
getMembers(): TypeEntityMembers;
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ResolvedTranslationPackage } from '../../../../analysis/m/ResolvedTranslationPackage.js';
|
|
2
|
+
import { Name } from '../../../../common/index.js';
|
|
3
|
+
import * as tree from '../../../../tree/m/index.js';
|
|
4
|
+
import { AliasTypeEntity, Translation, TypeEntityMembers, TypeParameterEntity } from '../../../index.js';
|
|
5
|
+
import { TranslatedAliasTypeEntity } from '../../index.js';
|
|
6
|
+
export declare class SourceTranslatedAliasTypeEntity extends TranslatedAliasTypeEntity {
|
|
7
|
+
private readonly translationPackage;
|
|
8
|
+
private readonly node;
|
|
9
|
+
private readonly typeParameters;
|
|
10
|
+
private readonly members;
|
|
11
|
+
constructor(originalEntity: AliasTypeEntity, translation: Translation, name: Name, translationPackage: ResolvedTranslationPackage, node: tree.TypeTranslationDeclaration | tree.FunctionTypeTranslationDeclaration | undefined);
|
|
12
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
|
13
|
+
getMembers(): TypeEntityMembers;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ResolvedTranslationPackage } from '../../../../analysis/m/ResolvedTranslationPackage.js';
|
|
2
|
+
import { Analyzer } from '../../../../analysis/Analyzer.js';
|
|
3
|
+
import { MethodEntity, ParameterEntity, Translation, TypeParameterEntity, TypeWithMembersOrExtensionEntity } from '../../../index.js';
|
|
4
|
+
import { TranslatedMethodEntity } from '../../TranslatedFunctionEntity.js';
|
|
5
|
+
export declare class SourceTranslatedDestructorEntity extends TranslatedMethodEntity {
|
|
6
|
+
private readonly translationPackage;
|
|
7
|
+
private readonly parameters;
|
|
8
|
+
private readonly typeParameters;
|
|
9
|
+
constructor(analyzer: Analyzer, originalEntity: MethodEntity, translation: Translation, translationPackage: ResolvedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity);
|
|
10
|
+
getParameters(): readonly ParameterEntity[];
|
|
11
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ResolvedTranslationPackage } from '../../../../analysis/m/ResolvedTranslationPackage.js';
|
|
2
|
+
import { Analyzer } from '../../../../analysis/Analyzer.js';
|
|
3
|
+
import { Name } from '../../../../common/index.js';
|
|
4
|
+
import * as tree from '../../../../tree/m/index.js';
|
|
5
|
+
import { MethodEntity, PackageFunctionEntity, ParameterEntity, Translation, TypeParameterEntity, TypeWithMembersOrExtensionEntity } from '../../../index.js';
|
|
6
|
+
import { TranslatedMethodEntity, TranslatedPackageFunctionEntity } from '../../index.js';
|
|
7
|
+
export declare class SourceTranslatedPackageFunctionEntity extends TranslatedPackageFunctionEntity {
|
|
8
|
+
private readonly translationPackage;
|
|
9
|
+
private readonly node;
|
|
10
|
+
private readonly typeParameters;
|
|
11
|
+
private readonly parameters;
|
|
12
|
+
constructor(originalEntity: PackageFunctionEntity, translation: Translation, name: Name, translationPackage: ResolvedTranslationPackage, node: tree.PackageFunctionTranslationDeclaration | undefined);
|
|
13
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
|
14
|
+
getParameters(): readonly ParameterEntity[];
|
|
15
|
+
}
|
|
16
|
+
export declare class SourceTranslatedOrdinaryOrOperatorMethodEntity extends TranslatedMethodEntity {
|
|
17
|
+
private readonly node;
|
|
18
|
+
private readonly translationPackage;
|
|
19
|
+
private readonly typeParameters;
|
|
20
|
+
private readonly parameters;
|
|
21
|
+
constructor(analyzer: Analyzer, originalEntity: MethodEntity, translation: Translation, name: Name, translationPackage: ResolvedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity, node: tree.MethodTranslation | undefined);
|
|
22
|
+
getTypeParameters(): readonly TypeParameterEntity[];
|
|
23
|
+
getParameters(): readonly ParameterEntity[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResolvedTranslationPackage } from '../../../../analysis/m/ResolvedTranslationPackage.js';
|
|
2
|
+
import * as tree from '../../../../tree/m/index.js';
|
|
3
|
+
import { AnonymousFunctionTypeEntity, ParameterEntity, Translation, TypeEntityMembers } from '../../../index.js';
|
|
4
|
+
import { TranslatedAnonymousFunctionTypeEntity } from '../../TranslatedFunctionTypeEntity.js';
|
|
5
|
+
export declare class SourceTranslatedAnonymousFunctionTypeEntity extends TranslatedAnonymousFunctionTypeEntity {
|
|
6
|
+
private readonly translationPackage;
|
|
7
|
+
private readonly node;
|
|
8
|
+
private readonly parameters;
|
|
9
|
+
private readonly members;
|
|
10
|
+
constructor(originalEntity: AnonymousFunctionTypeEntity, translation: Translation, translationPackage: ResolvedTranslationPackage, node: tree.FunctionTypeTranslationDeclaration | undefined);
|
|
11
|
+
getParameters(): readonly ParameterEntity[];
|
|
12
|
+
getMembers(): TypeEntityMembers;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ResolvedTranslationPackage } from '../../../../analysis/m/ResolvedTranslationPackage.js';
|
|
2
|
+
import { Analyzer } from '../../../../analysis/Analyzer.js';
|
|
3
|
+
import * as tree from '../../../../tree/m/index.js';
|
|
4
|
+
import { IndexerEntity, ParameterEntity, Translation, TypeWithMembersOrExtensionEntity } from '../../../index.js';
|
|
5
|
+
import { TranslatedIndexerEntity } from '../../TranslatedIndexerEntity.js';
|
|
6
|
+
export declare class SourceTranslatedIndexerEntity extends TranslatedIndexerEntity {
|
|
7
|
+
readonly translationPackage: ResolvedTranslationPackage;
|
|
8
|
+
private readonly node;
|
|
9
|
+
private readonly parameters;
|
|
10
|
+
constructor(analyzer: Analyzer, originalEntity: IndexerEntity, translation: Translation, translationPackage: ResolvedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity, node: tree.IndexerTranslation | undefined);
|
|
11
|
+
getParameters(): readonly ParameterEntity[];
|
|
12
|
+
}
|