@artel/artc 0.6.25275 → 0.6.25277
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 +22 -26
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +282 -143
- package/build/{chunk-TYQHZ7HH.js → chunk-DKZTCPRN.js} +1 -1
- package/build/{chunk-DB2CJDOL.js → chunk-EVYL6VFM.js} +30646 -30435
- package/build/{chunk-ORP2UF4D.js → chunk-QK3TWMY2.js} +2 -2
- package/build/types/analysis/AnalyzedTextTranslationPackage.d.ts +1 -1
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +49 -125
- package/build/types/analysis/Analyzer.d.ts +9 -2
- package/build/types/analysis/DiagnosticCollector.d.ts +0 -8
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +3 -1
- package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +1 -2
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +5 -1
- package/build/types/common/Name.d.ts +3 -1
- package/build/types/common/Query.d.ts +3 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +184 -173
- package/build/types/emitter/Emitter.d.ts +0 -1
- package/build/types/emitter/Entities.d.ts +1 -0
- package/build/types/emitter/IrFactory.d.ts +1 -1
- package/build/types/entities/Entity.d.ts +16 -9
- package/build/types/entities/EntityLocalizationContext.d.ts +11 -10
- package/build/types/entities/PackageMembers.d.ts +2 -1
- package/build/types/entities/index.d.ts +4 -0
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +1 -0
- package/build/types/entities/interfaces/FunctionTypeEntity.d.ts +1 -0
- package/build/types/entities/interfaces/PackageEntity.d.ts +1 -0
- package/build/types/entities/interfaces/StructuredTypeEntity.d.ts +1 -0
- package/build/types/entities/interfaces/TypeExtensionEntity.d.ts +1 -0
- package/build/types/entities/interfaces/VariantTypeEntity.d.ts +1 -0
- package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +9 -6
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +21 -9
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +4 -4
- package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +4 -4
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +10 -8
- package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +11 -11
- package/build/types/entities/translated/TranslatedGetterEntity.d.ts +5 -5
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +5 -3
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +5 -3
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +4 -3
- package/build/types/entities/translated/TranslatedSetterEntity.d.ts +5 -5
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +9 -8
- package/build/types/entities/translated/TranslatedTypeExtensionEntity.d.ts +4 -5
- package/build/types/entities/translated/TranslatedTypeParameterEntity.d.ts +6 -5
- package/build/types/entities/translated/TranslatedVariableEntity.d.ts +10 -11
- package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +11 -11
- package/build/types/project/SourcePackage.d.ts +2 -1
- package/build/types/services/NodeSemanticInfo.d.ts +6 -0
- package/build/types/tree/Nodes.d.ts +3 -3
- package/build/types/ts-interop/Entities.d.ts +1 -2
- package/build/types/ts-interop/TsInteropContext.d.ts +1 -2
- package/build/types/ts-interop/TsPackageContents.d.ts +1 -2
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,17 +1,19 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
5
|
+
import * as tree from '../../tree/index.js';
|
|
4
6
|
import * as types from '../../types/index.js';
|
|
5
|
-
import type { AliasTypeEntity, CycleFreeAliasedTypeResolutionResult } from '../interfaces/AliasTypeEntity.js';
|
|
6
|
-
import { AliasedType, AliasTypeEntityDefinition } from '../interfaces/AliasTypeEntity.js';
|
|
7
7
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
8
8
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
9
9
|
import { EntityContext, EntityKind } from '../index.js';
|
|
10
|
+
import type { AliasTypeEntity, CycleFreeAliasedTypeResolutionResult } from '../interfaces/AliasTypeEntity.js';
|
|
11
|
+
import { AliasedType, AliasTypeEntityDefinition } from '../interfaces/AliasTypeEntity.js';
|
|
10
12
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
13
|
+
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
11
14
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
12
15
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
13
16
|
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
14
|
-
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
15
17
|
export declare class TranslatedAliasTypeEntity implements AliasTypeEntity {
|
|
16
18
|
readonly kind = EntityKind.Type;
|
|
17
19
|
readonly typeEntityKind = TypeEntityKind.Alias;
|
|
@@ -19,13 +21,13 @@ export declare class TranslatedAliasTypeEntity implements AliasTypeEntity {
|
|
|
19
21
|
private readonly originalEntity;
|
|
20
22
|
private readonly translation;
|
|
21
23
|
private readonly name;
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
+
private readonly translationPackage;
|
|
25
|
+
private readonly node;
|
|
24
26
|
private readonly typeParameters;
|
|
25
27
|
private readonly aliasedType;
|
|
26
28
|
private readonly members;
|
|
27
29
|
private readonly context;
|
|
28
|
-
constructor(originalEntity: AliasTypeEntity, translation: Translation, name: Name,
|
|
30
|
+
constructor(originalEntity: AliasTypeEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, node: tree.TypeTranslationDeclaration | undefined);
|
|
29
31
|
getName(): Name;
|
|
30
32
|
getContainingPackage(): PackageEntity;
|
|
31
33
|
getTranslation(): Translation | undefined;
|
|
@@ -41,6 +43,7 @@ export declare class TranslatedAliasTypeEntity implements AliasTypeEntity {
|
|
|
41
43
|
getTags(): readonly Tag[];
|
|
42
44
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
43
45
|
getContext(): EntityContext;
|
|
46
|
+
ensureAllDiagnosticsReported(): void;
|
|
44
47
|
}
|
|
45
48
|
export declare class LocalizedAliasedType extends AliasedType {
|
|
46
49
|
private readonly original;
|
|
@@ -1,29 +1,41 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
|
-
import
|
|
5
|
+
import * as tree from '../../tree/index.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
7
|
import { EntityKind, PackageEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
|
+
import type { ConstructorEntity, ConstructorEntityDefinition, DefaultConstructorEntityInfo } from '../interfaces/ConstructorEntity.js';
|
|
8
9
|
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
9
|
-
export declare class TranslatedConstructorEntity implements ConstructorEntity {
|
|
10
|
+
export declare abstract class TranslatedConstructorEntity implements ConstructorEntity {
|
|
10
11
|
readonly kind = EntityKind.Constructor;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
protected readonly originalEntity: ConstructorEntity;
|
|
13
|
+
protected readonly translation: Translation;
|
|
14
|
+
protected readonly translationPackage: AnalyzedTranslationPackage;
|
|
14
15
|
private readonly containingEntity;
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
constructor(originalEntity: ConstructorEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity);
|
|
17
|
+
abstract getParameters(): readonly ParameterEntity[];
|
|
17
18
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
18
19
|
getContainingPackage(): PackageEntity;
|
|
19
20
|
getTranslation(): Translation | undefined;
|
|
20
21
|
getLocale(): PackageLocale;
|
|
21
22
|
getDialect(): PackageDialect;
|
|
22
23
|
getOriginalEntity(): ConstructorEntity;
|
|
23
|
-
getParameters(): readonly ParameterEntity[];
|
|
24
24
|
getDefinition(): ConstructorEntityDefinition;
|
|
25
25
|
isDefault(): DefaultConstructorEntityInfo | undefined;
|
|
26
26
|
isHidden(): EntityHidingLevel | undefined;
|
|
27
27
|
markedAbstract(): boolean;
|
|
28
28
|
getTags(): readonly Tag[];
|
|
29
29
|
}
|
|
30
|
+
export declare class SourceTranslatedConstructorEntity extends TranslatedConstructorEntity {
|
|
31
|
+
private readonly node;
|
|
32
|
+
private readonly parameters;
|
|
33
|
+
constructor(originalEntity: ConstructorEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity, node: tree.ConstructorTranslation | undefined);
|
|
34
|
+
getParameters(): readonly ParameterEntity[];
|
|
35
|
+
}
|
|
36
|
+
export declare class UnfinishedIntrinsicTranslatedConstructorEntity {
|
|
37
|
+
private readonly unfinishedValue_;
|
|
38
|
+
get unfinishedValue(): ConstructorEntity;
|
|
39
|
+
constructor(originalEntity: ConstructorEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity);
|
|
40
|
+
finish(parameters: readonly ParameterEntity[]): ConstructorEntity;
|
|
41
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
5
|
import * as types from '../../types/index.js';
|
|
5
|
-
import type { DereferenceOperatorEntity, DereferenceOperatorEntityDefinition } from '../interfaces/DereferenceOperatorEntity.js';
|
|
6
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
7
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
8
7
|
import { EntityKind, GetterEntity, PackageEntity, SetterEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
|
+
import type { DereferenceOperatorEntity, DereferenceOperatorEntityDefinition } from '../interfaces/DereferenceOperatorEntity.js';
|
|
9
9
|
export declare class TranslatedDereferenceOperatorEntity implements DereferenceOperatorEntity {
|
|
10
10
|
readonly kind = EntityKind.DereferenceOperator;
|
|
11
11
|
private readonly originalEntity;
|
|
12
12
|
private readonly translation;
|
|
13
|
-
private readonly
|
|
13
|
+
private readonly translationPackage;
|
|
14
14
|
private readonly containingEntity;
|
|
15
15
|
private readonly type;
|
|
16
16
|
private readonly getter;
|
|
17
17
|
private readonly setter;
|
|
18
18
|
private readonly overriddenMembers;
|
|
19
|
-
constructor(originalEntity: DereferenceOperatorEntity, translation: Translation,
|
|
19
|
+
constructor(originalEntity: DereferenceOperatorEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity);
|
|
20
20
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
21
21
|
getContainingPackage(): PackageEntity;
|
|
22
22
|
getTranslation(): Translation | undefined;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
|
-
import type { DestructorEntity, DestructorEntityDefinition } from '../interfaces/DestructorEntity.js';
|
|
5
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
6
|
import { EntityKind, PackageEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
7
|
+
import type { DestructorEntity, DestructorEntityDefinition } from '../interfaces/DestructorEntity.js';
|
|
8
8
|
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
9
9
|
export declare class TranslatedDestructorEntity implements DestructorEntity {
|
|
10
10
|
readonly kind = EntityKind.Destructor;
|
|
11
11
|
private readonly originalEntity;
|
|
12
12
|
private readonly translation;
|
|
13
|
-
private readonly
|
|
13
|
+
private readonly translationPackage;
|
|
14
14
|
private readonly containingEntity;
|
|
15
15
|
private readonly parameters;
|
|
16
|
-
constructor(originalEntity: DestructorEntity, translation: Translation,
|
|
16
|
+
constructor(originalEntity: DestructorEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity);
|
|
17
17
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
18
18
|
getContainingPackage(): PackageEntity;
|
|
19
19
|
getTranslation(): Translation | undefined;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
2
3
|
import { Tag } from '../../analysis/Tag.js';
|
|
3
4
|
import { Translation } from '../../analysis/Translation.js';
|
|
4
5
|
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
6
|
+
import * as tree from '../../tree/index.js';
|
|
5
7
|
import * as types from '../../types/index.js';
|
|
6
8
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
7
|
-
import {
|
|
9
|
+
import { EntityKind, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
10
|
import type { MethodEntity, PackageFunctionEntity } from '../interfaces/FunctionEntity.js';
|
|
9
11
|
import { FunctionEntityDefinition } from '../interfaces/FunctionEntity.js';
|
|
10
|
-
import { EntityKind, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
11
12
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
12
|
-
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
13
13
|
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
14
14
|
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
15
|
+
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
15
16
|
export declare class TranslatedPackageFunctionEntity implements PackageFunctionEntity {
|
|
16
17
|
readonly kind = EntityKind.Function;
|
|
17
18
|
readonly subkind = "package";
|
|
18
19
|
private readonly originalEntity;
|
|
19
20
|
private readonly translation;
|
|
20
21
|
private readonly name;
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
22
|
+
private readonly translationPackage;
|
|
23
|
+
private readonly node;
|
|
23
24
|
private readonly typeParameters;
|
|
24
25
|
private readonly parameters;
|
|
25
26
|
private readonly returnType;
|
|
26
|
-
constructor(originalEntity: PackageFunctionEntity, translation: Translation, name: Name,
|
|
27
|
+
constructor(originalEntity: PackageFunctionEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, node: tree.PackageFunctionTranslationDeclaration | undefined);
|
|
27
28
|
getContainingPackage(): PackageEntity;
|
|
28
29
|
getTranslation(): Translation | undefined;
|
|
29
30
|
getLocale(): PackageLocale;
|
|
@@ -47,13 +48,14 @@ export declare class TranslatedMethodEntity implements MethodEntity {
|
|
|
47
48
|
private readonly originalEntity;
|
|
48
49
|
private readonly translation;
|
|
49
50
|
private readonly name;
|
|
50
|
-
private readonly
|
|
51
|
+
private readonly translationPackage;
|
|
51
52
|
private readonly containingEntity;
|
|
53
|
+
private readonly node;
|
|
52
54
|
private readonly typeParameters;
|
|
53
55
|
private readonly parameters;
|
|
54
56
|
private readonly returnType;
|
|
55
57
|
private readonly overriddenMembers;
|
|
56
|
-
constructor(analyzer: Analyzer, originalEntity: MethodEntity, translation: Translation, name: Name,
|
|
58
|
+
constructor(analyzer: Analyzer, originalEntity: MethodEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity, node: tree.MethodTranslation | undefined);
|
|
57
59
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
58
60
|
getContainingPackage(): PackageEntity;
|
|
59
61
|
getTranslation(): Translation | undefined;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
5
|
+
import * as tree from '../../tree/index.js';
|
|
4
6
|
import * as types from '../../types/Type.js';
|
|
5
7
|
import { BaseObjectType } from '../BaseObjectType.js';
|
|
6
8
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
7
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
8
9
|
import { EntityNaming } from '../EntityNaming.js';
|
|
10
|
+
import { EntityContext, EntityKind } from '../index.js';
|
|
9
11
|
import type { AnonymousFunctionTypeEntity, PackageFunctionTypeEntity } from '../interfaces/FunctionTypeEntity.js';
|
|
10
12
|
import { FunctionTypeEntityDefinition } from '../interfaces/FunctionTypeEntity.js';
|
|
11
|
-
import { EntityContext, EntityKind } from '../index.js';
|
|
12
13
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
14
|
+
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
15
|
+
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
13
16
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
14
17
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
15
18
|
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
16
|
-
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
17
|
-
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
18
19
|
export declare class TranslatedPackageFunctionTypeEntity implements PackageFunctionTypeEntity {
|
|
19
20
|
readonly kind = EntityKind.Type;
|
|
20
21
|
readonly typeEntityKind = TypeEntityKind.Function;
|
|
@@ -22,15 +23,15 @@ export declare class TranslatedPackageFunctionTypeEntity implements PackageFunct
|
|
|
22
23
|
private readonly originalEntity;
|
|
23
24
|
private readonly translation;
|
|
24
25
|
private readonly name;
|
|
25
|
-
private readonly
|
|
26
|
-
private readonly
|
|
26
|
+
private readonly translationPackage;
|
|
27
|
+
private readonly node;
|
|
27
28
|
private readonly typeParameters;
|
|
28
29
|
private readonly parameters;
|
|
29
30
|
private readonly returnType;
|
|
30
31
|
private readonly members;
|
|
31
32
|
private readonly baseObjectType;
|
|
32
33
|
private readonly context;
|
|
33
|
-
constructor(originalEntity: PackageFunctionTypeEntity, translation: Translation, name: Name,
|
|
34
|
+
constructor(originalEntity: PackageFunctionTypeEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, node: tree.FunctionTypeTranslationDeclaration | undefined);
|
|
34
35
|
getName(): Name;
|
|
35
36
|
getContainingPackage(): PackageEntity;
|
|
36
37
|
getTranslation(): Translation | undefined;
|
|
@@ -50,6 +51,7 @@ export declare class TranslatedPackageFunctionTypeEntity implements PackageFunct
|
|
|
50
51
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
51
52
|
getBaseObjectType(): BaseObjectType;
|
|
52
53
|
getContext(): EntityContext;
|
|
54
|
+
ensureAllDiagnosticsReported(): void;
|
|
53
55
|
}
|
|
54
56
|
export declare class TranslatedAnonymousFunctionTypeEntity implements AnonymousFunctionTypeEntity {
|
|
55
57
|
readonly kind = EntityKind.Type;
|
|
@@ -57,15 +59,13 @@ export declare class TranslatedAnonymousFunctionTypeEntity implements AnonymousF
|
|
|
57
59
|
readonly subkind = "anonymous";
|
|
58
60
|
private readonly originalEntity;
|
|
59
61
|
private readonly translation;
|
|
60
|
-
private readonly
|
|
61
|
-
private readonly containingPackage;
|
|
62
|
-
private readonly typeParameters;
|
|
62
|
+
private readonly translationPackage;
|
|
63
63
|
private readonly parameters;
|
|
64
64
|
private readonly returnType;
|
|
65
65
|
private readonly members;
|
|
66
66
|
private readonly baseObjectType;
|
|
67
67
|
private readonly context;
|
|
68
|
-
constructor(originalEntity: AnonymousFunctionTypeEntity, translation: Translation,
|
|
68
|
+
constructor(originalEntity: AnonymousFunctionTypeEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage);
|
|
69
69
|
getContainingPackage(): PackageEntity;
|
|
70
70
|
getTranslation(): Translation | undefined;
|
|
71
71
|
getLocale(): PackageLocale;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
5
|
import { Type } from '../../types/Type.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
|
-
import type { GetterEntity } from '../interfaces/GetterEntity.js';
|
|
8
|
-
import { EntityOwningGetter, GetterEntityDefinition } from '../interfaces/GetterEntity.js';
|
|
9
7
|
import { EntityKind, PackageEntity } from '../index.js';
|
|
8
|
+
import type { EntityOwningGetter, GetterEntity } from '../interfaces/GetterEntity.js';
|
|
9
|
+
import { GetterEntityDefinition } from '../interfaces/GetterEntity.js';
|
|
10
10
|
export declare class TranslatedGetterEntity implements GetterEntity {
|
|
11
11
|
readonly kind = EntityKind.Getter;
|
|
12
12
|
private readonly originalEntity;
|
|
13
13
|
private readonly translation;
|
|
14
|
-
private readonly
|
|
14
|
+
private readonly translationPackage;
|
|
15
15
|
private readonly returnType;
|
|
16
16
|
private readonly owningEntity;
|
|
17
|
-
constructor(originalEntity: GetterEntity, translation: Translation,
|
|
17
|
+
constructor(originalEntity: GetterEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedOwningEntity: EntityOwningGetter);
|
|
18
18
|
getReturnType(): Type;
|
|
19
19
|
getDefinition(): GetterEntityDefinition;
|
|
20
20
|
isModifyingOwningPlainObject(): boolean;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
5
|
+
import * as tree from '../../tree/index.js';
|
|
4
6
|
import * as types from '../../types/index.js';
|
|
5
7
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
8
|
import { EntityKind, GetterEntity, PackageEntity, SetterEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
9
|
import type { IndexerEntity, IndexerEntityDefinition } from '../interfaces/IndexerEntity.js';
|
|
9
10
|
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
@@ -11,14 +12,15 @@ export declare class TranslatedIndexerEntity implements IndexerEntity {
|
|
|
11
12
|
readonly kind = EntityKind.Indexer;
|
|
12
13
|
private readonly originalEntity;
|
|
13
14
|
private readonly translation;
|
|
14
|
-
private readonly
|
|
15
|
+
private readonly translationPackage;
|
|
15
16
|
private readonly containingEntity;
|
|
17
|
+
private readonly node;
|
|
16
18
|
private readonly parameters;
|
|
17
19
|
private readonly type;
|
|
18
20
|
private readonly getter;
|
|
19
21
|
private readonly setter;
|
|
20
22
|
private readonly overriddenMembers;
|
|
21
|
-
constructor(originalEntity: IndexerEntity, translation: Translation,
|
|
23
|
+
constructor(originalEntity: IndexerEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity, node: tree.IndexerTranslation | undefined);
|
|
22
24
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
23
25
|
getContainingPackage(): PackageEntity;
|
|
24
26
|
getTranslation(): Translation | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
2
3
|
import { Tag } from '../../analysis/Tag.js';
|
|
3
4
|
import { Translation } from '../../analysis/Translation.js';
|
|
4
5
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
6
|
+
import * as tree from '../../tree/index.js';
|
|
5
7
|
import * as types from '../../types/index.js';
|
|
6
8
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
7
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
8
9
|
import { EntityKind, OperatorKind, PackageEntity, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
9
10
|
import type { OperatorEntity, OperatorEntityDefinition } from '../interfaces/OperatorEntity.js';
|
|
10
11
|
import { ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
@@ -13,12 +14,13 @@ export declare class TranslatedOperatorEntity implements OperatorEntity {
|
|
|
13
14
|
private readonly analyzer;
|
|
14
15
|
private readonly originalEntity;
|
|
15
16
|
private readonly translation;
|
|
16
|
-
private readonly
|
|
17
|
+
private readonly translationPackage;
|
|
18
|
+
private readonly node;
|
|
17
19
|
private readonly containingEntity;
|
|
18
20
|
private readonly parameters;
|
|
19
21
|
private readonly returnType;
|
|
20
22
|
private readonly overriddenMembers;
|
|
21
|
-
constructor(analyzer: Analyzer, originalEntity: OperatorEntity, translation: Translation,
|
|
23
|
+
constructor(analyzer: Analyzer, originalEntity: OperatorEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity, node: tree.MethodTranslation | undefined);
|
|
22
24
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
23
25
|
getContainingPackage(): PackageEntity;
|
|
24
26
|
getTranslation(): Translation | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect } from '../../common/PackageDialect.js';
|
|
4
5
|
import { PackageLocale } from '../../common/PackageLocale.js';
|
|
5
6
|
import { PackageName, PlatformKind } from '../../project/SourcePackage.js';
|
|
6
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
7
|
import { EntityKind } from '../index.js';
|
|
8
8
|
import type { PackageEntity, TextTranslationPackageEntityInfo } from '../interfaces/PackageEntity.js';
|
|
9
9
|
import { InterfacePackageEntityInfo, PackageEntityDefinition } from '../interfaces/PackageEntity.js';
|
|
@@ -13,9 +13,9 @@ export declare class TranslatedPackageEntity implements PackageEntity {
|
|
|
13
13
|
private readonly originalEntity;
|
|
14
14
|
private readonly translation;
|
|
15
15
|
private readonly name;
|
|
16
|
-
private readonly
|
|
16
|
+
private readonly translationPackage;
|
|
17
17
|
private readonly members;
|
|
18
|
-
constructor(originalEntity: PackageEntity, translation: Translation, name: PackageName,
|
|
18
|
+
constructor(originalEntity: PackageEntity, translation: Translation, name: PackageName, translationPackage: AnalyzedTranslationPackage);
|
|
19
19
|
getName(): PackageName;
|
|
20
20
|
getLocale(): PackageLocale;
|
|
21
21
|
getDialect(): PackageDialect;
|
|
@@ -29,4 +29,5 @@ export declare class TranslatedPackageEntity implements PackageEntity {
|
|
|
29
29
|
getOriginalEntity(): PackageEntity;
|
|
30
30
|
getTags(): readonly Tag[];
|
|
31
31
|
getTextTranslationPackageInfo(): TextTranslationPackageEntityInfo | undefined;
|
|
32
|
+
ensureAllDiagnosticsReported(): void;
|
|
32
33
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
5
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
6
|
import { EntityKind, PackageEntity } from '../index.js';
|
|
7
|
-
import type { SetterEntity } from '../interfaces/SetterEntity.js';
|
|
8
|
-
import {
|
|
7
|
+
import type { EntityOwningSetter, SetterEntity } from '../interfaces/SetterEntity.js';
|
|
8
|
+
import { SetterEntityDefinition } from '../interfaces/SetterEntity.js';
|
|
9
9
|
export declare class TranslatedSetterEntity implements SetterEntity {
|
|
10
10
|
readonly kind = EntityKind.Setter;
|
|
11
11
|
private readonly originalEntity;
|
|
12
12
|
private readonly translation;
|
|
13
|
-
private readonly
|
|
13
|
+
private readonly translationPackage;
|
|
14
14
|
private readonly owningEntity;
|
|
15
|
-
constructor(originalEntity: SetterEntity, translation: Translation,
|
|
15
|
+
constructor(originalEntity: SetterEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage, translatedOwningEntity: EntityOwningSetter);
|
|
16
16
|
getDefinition(): SetterEntityDefinition;
|
|
17
17
|
isModifyingOwningPlainObject(): boolean;
|
|
18
18
|
getOwningEntity(): EntityOwningSetter;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
5
|
+
import * as tree from '../../tree/index.js';
|
|
4
6
|
import * as types from '../../types/index.js';
|
|
5
7
|
import { BaseAspectTypes, CycleFreeBaseAspectTypesResolutionResult } from '../BaseAspectTypes.js';
|
|
6
8
|
import { BaseObjectType, CycleFreeBaseObjectTypeResolutionResult } from '../BaseObjectType.js';
|
|
@@ -10,10 +12,10 @@ import { EntityNaming } from '../EntityNaming.js';
|
|
|
10
12
|
import { EntityContext, EntityKind } from '../index.js';
|
|
11
13
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
12
14
|
import type { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity, StructuredTypeEntityDefinition, StructuredTypeKind } from '../interfaces/StructuredTypeEntity.js';
|
|
15
|
+
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
13
16
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
14
17
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
15
18
|
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
16
|
-
import { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
17
19
|
export declare class TranslatedPackageStructuredTypeEntity implements PackageStructuredTypeEntity {
|
|
18
20
|
readonly kind = EntityKind.Type;
|
|
19
21
|
readonly typeEntityKind = TypeEntityKind.Structured;
|
|
@@ -21,14 +23,14 @@ export declare class TranslatedPackageStructuredTypeEntity implements PackageStr
|
|
|
21
23
|
private readonly originalEntity;
|
|
22
24
|
private readonly translation;
|
|
23
25
|
private readonly name;
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
26
|
+
private readonly translationPackage;
|
|
27
|
+
private readonly node;
|
|
26
28
|
private readonly typeParameters;
|
|
27
29
|
private readonly members;
|
|
28
30
|
private readonly baseObjectType;
|
|
29
31
|
private readonly baseAspectTypes;
|
|
30
32
|
private readonly context;
|
|
31
|
-
constructor(originalEntity: PackageStructuredTypeEntity, translation: Translation, name: Name,
|
|
33
|
+
constructor(originalEntity: PackageStructuredTypeEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, node: tree.TypeTranslationDeclaration | undefined);
|
|
32
34
|
getName(): Name;
|
|
33
35
|
getContainingPackage(): PackageEntity;
|
|
34
36
|
getTranslation(): Translation | undefined;
|
|
@@ -49,6 +51,7 @@ export declare class TranslatedPackageStructuredTypeEntity implements PackageStr
|
|
|
49
51
|
getTags(): readonly Tag[];
|
|
50
52
|
getSubstitutionApplicationMode(): SubstitutionApplicationMode;
|
|
51
53
|
getContext(): EntityContext;
|
|
54
|
+
ensureAllDiagnosticsReported(): void;
|
|
52
55
|
}
|
|
53
56
|
export declare class TranslatedAnonymousStructuredTypeEntity implements AnonymousStructuredTypeEntity {
|
|
54
57
|
readonly kind = EntityKind.Type;
|
|
@@ -56,14 +59,12 @@ export declare class TranslatedAnonymousStructuredTypeEntity implements Anonymou
|
|
|
56
59
|
readonly subkind = "anonymous";
|
|
57
60
|
private readonly originalEntity;
|
|
58
61
|
private readonly translation;
|
|
59
|
-
private readonly
|
|
60
|
-
private readonly containingPackage;
|
|
61
|
-
private readonly typeParameters;
|
|
62
|
+
private readonly translationPackage;
|
|
62
63
|
private readonly members;
|
|
63
64
|
private readonly baseObjectType;
|
|
64
65
|
private readonly baseAspectTypes;
|
|
65
66
|
private readonly context;
|
|
66
|
-
constructor(originalEntity: AnonymousStructuredTypeEntity, translation: Translation,
|
|
67
|
+
constructor(originalEntity: AnonymousStructuredTypeEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage);
|
|
67
68
|
getContainingPackage(): PackageEntity;
|
|
68
69
|
getTranslation(): Translation | undefined;
|
|
69
70
|
getLocale(): PackageLocale;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
5
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
6
6
|
import { EntityContext, EntityKind, NamedTypeEntity } from '../index.js';
|
|
7
7
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
8
|
-
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
9
8
|
import type { TypeExtensionEntity, TypeExtensionEntityDefinition } from '../interfaces/TypeExtensionEntity.js';
|
|
9
|
+
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
10
10
|
export declare class TranslatedTypeExtensionEntity implements TypeExtensionEntity {
|
|
11
11
|
readonly kind = EntityKind.TypeExtension;
|
|
12
12
|
private readonly originalEntity;
|
|
13
13
|
private readonly translation;
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly containingPackage;
|
|
14
|
+
private readonly translationPackage;
|
|
16
15
|
private readonly members;
|
|
17
16
|
private readonly extendedTypeEntity;
|
|
18
17
|
private readonly context;
|
|
19
|
-
constructor(originalEntity: TypeExtensionEntity, translation: Translation,
|
|
18
|
+
constructor(originalEntity: TypeExtensionEntity, translation: Translation, translationPackage: AnalyzedTranslationPackage);
|
|
20
19
|
getMembers(): TypeEntityMembers;
|
|
21
20
|
getContainingPackage(): PackageEntity;
|
|
22
21
|
getExtendedTypeEntity(): NamedTypeEntity | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
@@ -5,21 +6,21 @@ import * as types from '../../types/index.js';
|
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
7
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
8
|
import { EntityContext, EntityKind, PackageEntity } from '../index.js';
|
|
9
|
+
import type { EntityContainingTypeParameter, TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
10
|
+
import { CycleFreeConstraintResolutionResult, TypeParameterConstraint, TypeParameterEntityDefinition } from '../interfaces/TypeParameterEntity.js';
|
|
8
11
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
9
|
-
import type { TypeParameterEntity } from '../interfaces/TypeParameterEntity.js';
|
|
10
|
-
import { CycleFreeConstraintResolutionResult, EntityContainingTypeParameter, TypeParameterConstraint, TypeParameterEntityDefinition } from '../interfaces/TypeParameterEntity.js';
|
|
11
12
|
export declare class TranslatedTypeParameterEntity implements TypeParameterEntity {
|
|
12
13
|
readonly kind = EntityKind.Type;
|
|
13
14
|
readonly typeEntityKind = TypeEntityKind.Parameter;
|
|
14
15
|
private readonly originalEntity;
|
|
15
16
|
private readonly translation;
|
|
16
17
|
private readonly name;
|
|
17
|
-
private readonly
|
|
18
|
+
private readonly translationPackage;
|
|
19
|
+
private readonly containingEntity;
|
|
18
20
|
private readonly defaultType;
|
|
19
21
|
private readonly constraint;
|
|
20
22
|
private readonly context;
|
|
21
|
-
|
|
22
|
-
constructor(originalEntity: TypeParameterEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
23
|
+
constructor(originalEntity: TypeParameterEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: EntityContainingTypeParameter);
|
|
23
24
|
getName(): Name;
|
|
24
25
|
getConstraint(): TypeParameterConstraint;
|
|
25
26
|
getDefaultType(): types.Type | undefined;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
+
import { AnalyzedTranslationPackage } from '../../analysis/AnalyzedTranslationPackage.js';
|
|
1
2
|
import { Tag } from '../../analysis/Tag.js';
|
|
2
3
|
import { Translation } from '../../analysis/Translation.js';
|
|
3
4
|
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
5
|
import * as types from '../../types/index.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
|
-
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
|
-
import { GetterEntity } from '../interfaces/GetterEntity.js';
|
|
8
7
|
import { EntityKind, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
8
|
+
import { GetterEntity } from '../interfaces/GetterEntity.js';
|
|
9
9
|
import { PackageEntity } from '../interfaces/PackageEntity.js';
|
|
10
10
|
import { SetterEntity } from '../interfaces/SetterEntity.js';
|
|
11
|
-
import type { FieldEntity, PackageVariableEntity, ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
12
|
-
import {
|
|
11
|
+
import type { EntityContainingParameter, FieldEntity, PackageVariableEntity, ParameterEntity } from '../interfaces/VariableEntity.js';
|
|
12
|
+
import { SpecialVariableEntityInfo, VariableEntityDefinition } from '../interfaces/VariableEntity.js';
|
|
13
13
|
export declare class TranslatedPackageVariableEntity implements PackageVariableEntity {
|
|
14
14
|
readonly kind = EntityKind.Variable;
|
|
15
15
|
readonly subkind = "package";
|
|
16
16
|
private readonly originalEntity;
|
|
17
17
|
private readonly translation;
|
|
18
18
|
private readonly name;
|
|
19
|
-
private readonly
|
|
20
|
-
private readonly containingPackage;
|
|
19
|
+
private readonly translationPackage;
|
|
21
20
|
private readonly type;
|
|
22
21
|
private readonly getter;
|
|
23
22
|
private readonly setter;
|
|
24
|
-
constructor(originalEntity: PackageVariableEntity, translation: Translation, name: Name,
|
|
23
|
+
constructor(originalEntity: PackageVariableEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage);
|
|
25
24
|
getContainingPackage(): PackageEntity;
|
|
26
25
|
getTranslation(): Translation | undefined;
|
|
27
26
|
getLocale(): PackageLocale;
|
|
@@ -44,13 +43,13 @@ export declare class TranslatedFieldEntity implements FieldEntity {
|
|
|
44
43
|
private readonly originalEntity;
|
|
45
44
|
private readonly translation;
|
|
46
45
|
private readonly name;
|
|
47
|
-
private readonly
|
|
46
|
+
private readonly translationPackage;
|
|
48
47
|
private readonly containingEntity;
|
|
49
48
|
private readonly type;
|
|
50
49
|
private readonly getter;
|
|
51
50
|
private readonly setter;
|
|
52
51
|
private readonly overriddenMembers;
|
|
53
|
-
constructor(originalEntity: FieldEntity, translation: Translation, name: Name,
|
|
52
|
+
constructor(originalEntity: FieldEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: TypeWithMembersOrExtensionEntity);
|
|
54
53
|
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
55
54
|
getContainingPackage(): PackageEntity;
|
|
56
55
|
getTranslation(): Translation | undefined;
|
|
@@ -80,10 +79,10 @@ export declare class TranslatedParameterEntity implements ParameterEntity {
|
|
|
80
79
|
private readonly originalEntity;
|
|
81
80
|
private readonly translation;
|
|
82
81
|
private readonly name;
|
|
83
|
-
private readonly
|
|
82
|
+
private readonly translationPackage;
|
|
84
83
|
private readonly containingEntity;
|
|
85
84
|
private readonly type;
|
|
86
|
-
constructor(originalEntity: ParameterEntity, translation: Translation, name: Name,
|
|
85
|
+
constructor(originalEntity: ParameterEntity, translation: Translation, name: Name, translationPackage: AnalyzedTranslationPackage, translatedContainingEntity: EntityContainingParameter);
|
|
87
86
|
getContainingEntity(): EntityContainingParameter;
|
|
88
87
|
getContainingPackage(): PackageEntity;
|
|
89
88
|
isOptional(): boolean;
|