@artel/artc 0.6.25258 → 0.6.25260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Cli.js +3 -3
- package/build/api/Api.js +28 -20
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1266 -1217
- package/build/{chunk-642CVYPB.js → chunk-7FERF2MU.js} +11 -11
- package/build/{chunk-QAOTQQD7.js → chunk-RIIOVQBM.js} +14371 -13456
- package/build/{chunk-B5Z42ZT6.js → chunk-ZNXSVPQT.js} +1 -1
- package/build/types/analysis/AccessedFunction.d.ts +11 -11
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +28 -28
- package/build/types/analysis/Analyzer.d.ts +184 -168
- package/build/types/analysis/ArgumentToParameterMatchResult.d.ts +9 -9
- package/build/types/analysis/ArgumentsToParametersMatcher.d.ts +8 -8
- package/build/types/analysis/AssignmentChecker.d.ts +4 -4
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +8 -6
- package/build/types/analysis/BaseExpressionMeaning.d.ts +5 -5
- package/build/types/analysis/BaseMemberConflictsValidator.d.ts +7 -7
- package/build/types/analysis/CallExpressionMeaning.d.ts +4 -6
- package/build/types/analysis/ConstructorCallResolver.d.ts +1 -1
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +5 -5
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +4 -4
- package/build/types/analysis/DiagnosticArgumentFactory.d.ts +2 -2
- package/build/types/analysis/DiagnosticCollector.d.ts +11 -9
- package/build/types/analysis/DisplayableEntity.d.ts +30 -30
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +7 -7
- package/build/types/analysis/ImportedPackageNameTree.d.ts +1 -1
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +4 -4
- package/build/types/analysis/InstanceFieldsInitializationValidator.d.ts +6 -6
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +7 -7
- package/build/types/analysis/ModifierValidator.d.ts +3 -3
- package/build/types/analysis/NamedTypeResolver.d.ts +3 -3
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +3 -3
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -1
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +2 -2
- package/build/types/analysis/OverloadResolver.d.ts +13 -13
- package/build/types/analysis/OwnAndBaseConstructorCallsChecker.d.ts +5 -5
- package/build/types/analysis/PackageAndStaticVariablesInitializationValidator.d.ts +5 -5
- package/build/types/analysis/PackageMemberLookup.d.ts +2 -2
- package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +7 -7
- package/build/types/analysis/ReturnTypeInferrer.d.ts +4 -4
- package/build/types/analysis/SourceFileMembers.d.ts +6 -6
- package/build/types/analysis/SourcePackageDependencyGraph.d.ts +3 -3
- package/build/types/analysis/SubstitutedFunction.d.ts +8 -8
- package/build/types/analysis/TagMeaning.d.ts +4 -4
- package/build/types/analysis/Tags.d.ts +8 -7
- package/build/types/analysis/{Localization.d.ts → Translation.d.ts} +1 -23
- package/build/types/analysis/TypeArgumentInferrer.d.ts +9 -9
- package/build/types/analysis/TypeInferrer.d.ts +4 -4
- package/build/types/analysis/TypeMemberConflictsValidator.d.ts +4 -4
- package/build/types/analysis/TypeMemberImplementationChecker.d.ts +3 -3
- package/build/types/analysis/TypeMemberLookup.d.ts +7 -7
- package/build/types/analysis/TypeNarrower.d.ts +7 -7
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +6 -6
- package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +3 -3
- package/build/types/analysis/Utils.d.ts +1 -2
- package/build/types/analysis/WellKnownDeclarations.d.ts +32 -32
- package/build/types/analysis/control-flow/GraphBuilder.d.ts +11 -11
- package/build/types/analysis/control-flow/NarrowableReference.d.ts +10 -10
- package/build/types/analysis/semantic-context/Declarations.d.ts +0 -24
- package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +2 -2
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +23 -22
- package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +4 -4
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +25 -25
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +9 -9
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +8 -8
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +27 -27
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +9 -9
- package/build/types/api/Api.d.ts +2 -2
- package/build/types/common/Cached.d.ts +3 -3
- package/build/types/common/CancellationToken.d.ts +2 -2
- package/build/types/common/Delayed.d.ts +2 -2
- package/build/types/common/Displayable.d.ts +3 -3
- package/build/types/common/HelperPhrases.d.ts +2 -1
- package/build/types/common/Interner.d.ts +1 -1
- package/build/types/common/Lazy.d.ts +3 -3
- package/build/types/common/Option.d.ts +2 -2
- package/build/types/common/PerformanceMeasurement.d.ts +2 -2
- package/build/types/common/Query.d.ts +15 -0
- package/build/types/common/ThrottledCancellationToken.d.ts +6 -6
- package/build/types/common/TreeQuery.d.ts +2 -5
- package/build/types/diagnostic/DiagnosticCode.d.ts +142 -139
- package/build/types/diagnostic/DiagnosticData.d.ts +3 -3
- package/build/types/diagnostic/RangeDiagnostic.d.ts +3 -3
- package/build/types/emitter/DebugStack.d.ts +2 -2
- package/build/types/emitter/Emitter.d.ts +5 -5
- package/build/types/emitter/EmitterContext.d.ts +21 -21
- package/build/types/emitter/EntityMap.d.ts +8 -8
- package/build/types/emitter/GeneralLowering.d.ts +2 -2
- package/build/types/emitter/IrBuilder.d.ts +10 -10
- package/build/types/emitter/IrToJs.d.ts +5 -5
- package/build/types/emitter/Transformer.d.ts +5 -5
- package/build/types/emitter/ir/EmitOptions.d.ts +27 -13
- package/build/types/emitter/ir/Nodes.d.ts +28 -27
- package/build/types/emitter/ir/types.d.ts +2 -2
- package/build/types/entities/AliasTypeEntity.d.ts +15 -12
- package/build/types/entities/AliasedType.d.ts +2 -2
- package/build/types/entities/BaseAspectTypes.d.ts +31 -0
- package/build/types/entities/BaseEntityHidingMatcher.d.ts +1 -1
- package/build/types/entities/BaseObjectType.d.ts +31 -0
- package/build/types/entities/ConstructorEntity.d.ts +51 -38
- package/build/types/entities/DereferenceOperatorEntity.d.ts +19 -13
- package/build/types/entities/DestructorEntity.d.ts +21 -14
- package/build/types/entities/EntityHidingMatcherWithinTypeEntity.d.ts +2 -2
- package/build/types/entities/EntityLocalizationContext.d.ts +10 -10
- package/build/types/entities/FunctionEntity.d.ts +86 -70
- package/build/types/entities/FunctionTypeEntity.d.ts +37 -31
- package/build/types/entities/GetterEntity.d.ts +51 -30
- package/build/types/entities/IEntity.d.ts +12 -0
- package/build/types/entities/IndexerEntity.d.ts +24 -24
- package/build/types/entities/LocalizableTextEntity.d.ts +26 -21
- package/build/types/entities/OperatorEntity.d.ts +23 -16
- package/build/types/entities/PackageAliasEntity.d.ts +15 -9
- package/build/types/entities/PackageEntity.d.ts +15 -10
- package/build/types/entities/PackageMembers.d.ts +5 -5
- package/build/types/entities/SetterEntity.d.ts +50 -29
- package/build/types/entities/StructuredTypeEntity.d.ts +76 -115
- package/build/types/entities/TypeEntity.d.ts +2 -1
- package/build/types/entities/TypeEntityMembers.d.ts +11 -11
- package/build/types/entities/TypeExtensionEntity.d.ts +13 -8
- package/build/types/entities/TypeParameterEntity.d.ts +28 -21
- package/build/types/entities/VariableEntity.d.ts +236 -179
- package/build/types/entities/VariantTypeEntity.d.ts +28 -22
- package/build/types/entities/index.d.ts +5 -1
- package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +18 -16
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +15 -11
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +16 -12
- package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +15 -11
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +32 -27
- package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +33 -29
- package/build/types/entities/translated/TranslatedGetterEntity.d.ts +12 -8
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +19 -15
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +18 -14
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +10 -7
- package/build/types/entities/translated/TranslatedSetterEntity.d.ts +11 -7
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +41 -39
- package/build/types/entities/translated/TranslatedTypeExtensionEntity.d.ts +12 -9
- package/build/types/entities/translated/TranslatedTypeParameterEntity.d.ts +19 -16
- package/build/types/entities/translated/TranslatedVariableEntity.d.ts +44 -36
- package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +28 -24
- package/build/types/executor/NodeCompiler.d.ts +3 -3
- package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +2 -2
- package/build/types/parser/Parser.d.ts +1 -1
- package/build/types/parser/TriviaInterner.d.ts +3 -3
- package/build/types/project/Compilation.d.ts +3 -3
- package/build/types/project/CompilationLoader.d.ts +5 -5
- package/build/types/project/FileSystemTree.d.ts +6 -6
- package/build/types/project/SourceFile.d.ts +2 -2
- package/build/types/project/SourcePackage.d.ts +1 -1
- package/build/types/project/TextFile.d.ts +1 -1
- package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +1 -1
- package/build/types/services/AssignFieldService.d.ts +10 -0
- package/build/types/services/CodeActionsService.d.ts +1 -1
- package/build/types/services/CompletionService.d.ts +8 -8
- package/build/types/services/CustomCommand.d.ts +13 -7
- package/build/types/services/DefinitionService.d.ts +1 -1
- package/build/types/services/DisplayService.d.ts +76 -80
- package/build/types/services/DocumentHighlightsService.d.ts +1 -1
- package/build/types/services/HoverService.d.ts +3 -3
- package/build/types/services/LanguageServer.d.ts +32 -32
- package/build/types/services/NodeSemanticInfo.d.ts +9 -9
- package/build/types/services/ProjectItemsService.d.ts +1 -1
- package/build/types/services/RenameService.d.ts +1 -1
- package/build/types/services/SemanticTokensService.d.ts +1 -1
- package/build/types/services/SourceFileItemsService.d.ts +1 -1
- package/build/types/services/TranslationService.d.ts +1 -1
- package/build/types/services/signature-help/{ValueParametersSignatureHelpProvider.d.ts → ParametersSignatureHelpProvider.d.ts} +6 -6
- package/build/types/services/signature-help/{SignatureWithValueParameters.d.ts → SignatureWithParameters.d.ts} +34 -34
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +4 -4
- package/build/types/services/source-generation/EntityToSyntax.d.ts +4 -4
- package/build/types/services/source-generation/SourceGenerationService.d.ts +5 -5
- package/build/types/services/workspace/CompilationController.d.ts +22 -22
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +13 -13
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
- package/build/types/services/workspace/Workspace.d.ts +7 -7
- package/build/types/services/workspace/WorkspaceFiles.d.ts +1 -1
- package/build/types/tree/BaseNode.d.ts +12 -3
- package/build/types/tree/NodeKind.d.ts +56 -57
- package/build/types/tree/Nodes.d.ts +18 -20
- package/build/types/tree/SyntaxToCode.d.ts +11 -11
- package/build/types/ts-interop/Entities.d.ts +326 -263
- package/build/types/ts-interop/TsInteropContext.d.ts +16 -14
- package/build/types/ts-interop/TsPackageContents.d.ts +16 -16
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +10 -10
- package/build/types/ts-interop/TsProgramLoader.d.ts +7 -7
- package/build/types/ts-interop/TsTypeMembersCreator.d.ts +9 -9
- package/build/types/types/AliasType.d.ts +6 -5
- package/build/types/types/FunctionType.d.ts +8 -7
- package/build/types/types/IntersectionType.d.ts +3 -2
- package/build/types/types/ParameterType.d.ts +5 -4
- package/build/types/types/StandardTypes.d.ts +21 -21
- package/build/types/types/StructuredType.d.ts +9 -10
- package/build/types/types/Substitutions.d.ts +1 -1
- package/build/types/types/Type.d.ts +1 -0
- package/build/types/types/TypeMembers.d.ts +42 -42
- package/build/types/types/UnionType.d.ts +3 -2
- package/build/types/types/UnresolvedType.d.ts +3 -2
- package/build/types/types/VariantType.d.ts +5 -4
- package/package.json +1 -1
- package/build/types/entities/TypeMemberContainer.d.ts +0 -23
- package/build/types/services/AddPropertyAssignmentService.d.ts +0 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
2
3
|
import { PackageDialect } from '../../common/PackageDialect.js';
|
|
3
4
|
import { PackageLocale } from '../../common/PackageLocale.js';
|
|
4
5
|
import { PackageName, PlatformKind } from '../../project/SourcePackage.js';
|
|
@@ -9,11 +10,11 @@ import { InterfacePackageEntityInfo, PackageEntityDefinition } from '../PackageE
|
|
|
9
10
|
import { PackageEntityMembers } from '../PackageMembers.js';
|
|
10
11
|
export declare class TranslatedPackageEntity implements PackageEntity {
|
|
11
12
|
readonly kind = EntityKind.Package;
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
16
|
-
private readonly
|
|
13
|
+
private readonly originalEntity;
|
|
14
|
+
private readonly translation;
|
|
15
|
+
private readonly name;
|
|
16
|
+
private readonly localizationContext;
|
|
17
|
+
private readonly members;
|
|
17
18
|
constructor(originalEntity: PackageEntity, translation: Translation, name: PackageName, localizationContext: EntityLocalizationContext);
|
|
18
19
|
getName(): PackageName;
|
|
19
20
|
getLocale(): PackageLocale;
|
|
@@ -23,6 +24,8 @@ export declare class TranslatedPackageEntity implements PackageEntity {
|
|
|
23
24
|
getImplementedInterfacePackage(): PackageEntity | undefined;
|
|
24
25
|
getSupportedPlatforms(): readonly PlatformKind[];
|
|
25
26
|
getDefinition(): PackageEntityDefinition;
|
|
26
|
-
|
|
27
|
+
getContainingPackage(): PackageEntity;
|
|
28
|
+
getTranslation(): Translation | undefined;
|
|
27
29
|
getOriginalEntity(): PackageEntity;
|
|
30
|
+
getTags(): readonly Tag[];
|
|
28
31
|
}
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
4
5
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
5
|
-
import { EntityKind } from '../index.js';
|
|
6
|
+
import { EntityKind, PackageEntity } from '../index.js';
|
|
6
7
|
import type { SetterEntity } from '../SetterEntity.js';
|
|
7
8
|
import { EntityOwningSetter, SetterEntityDefinition } from '../SetterEntity.js';
|
|
8
9
|
export declare class TranslatedSetterEntity implements SetterEntity {
|
|
9
10
|
readonly kind = EntityKind.Setter;
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
11
|
+
private readonly originalEntity;
|
|
12
|
+
private readonly translation;
|
|
13
|
+
private readonly localizationContext;
|
|
14
|
+
private readonly owningEntity;
|
|
14
15
|
constructor(originalEntity: SetterEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
15
16
|
getDefinition(): SetterEntityDefinition;
|
|
16
17
|
isModifyingOwningPlainObject(): boolean;
|
|
17
18
|
getOwningEntity(): EntityOwningSetter;
|
|
19
|
+
getContainingPackage(): PackageEntity;
|
|
18
20
|
isHidden(): EntityHidingLevel | undefined;
|
|
19
21
|
getTags(): readonly Tag[];
|
|
20
|
-
|
|
22
|
+
getTranslation(): Translation | undefined;
|
|
23
|
+
getLocale(): PackageLocale;
|
|
24
|
+
getDialect(): PackageDialect;
|
|
21
25
|
getOriginalEntity(): SetterEntity;
|
|
22
26
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
4
|
import * as types from '../../types/index.js';
|
|
5
|
+
import { BaseAspectTypes } from '../BaseAspectTypes.js';
|
|
6
|
+
import { BaseObjectType } from '../BaseObjectType.js';
|
|
5
7
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
8
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
9
|
import { EntityNaming } from '../EntityNaming.js';
|
|
8
10
|
import { EntityContext, EntityKind } from '../index.js';
|
|
9
11
|
import { PackageEntity } from '../PackageEntity.js';
|
|
10
|
-
import type { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity } from '../StructuredTypeEntity.js';
|
|
11
|
-
import {
|
|
12
|
+
import type { AnonymousStructuredTypeEntity, PackageStructuredTypeEntity, StructuredTypeKind } from '../StructuredTypeEntity.js';
|
|
13
|
+
import { CycleFreeBaseAspectTypesResolutionResult, CycleFreeBaseObjectTypeResolutionResult, StructuredTypeEntityDefinition } from '../StructuredTypeEntity.js';
|
|
12
14
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
13
15
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
14
16
|
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
@@ -17,20 +19,22 @@ export declare class TranslatedPackageStructuredTypeEntity implements PackageStr
|
|
|
17
19
|
readonly kind = EntityKind.Type;
|
|
18
20
|
readonly typeEntityKind = TypeEntityKind.Structured;
|
|
19
21
|
readonly subkind = "package";
|
|
20
|
-
private readonly
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
26
|
-
private readonly
|
|
27
|
-
private readonly
|
|
28
|
-
private readonly
|
|
29
|
-
private readonly
|
|
22
|
+
private readonly originalEntity;
|
|
23
|
+
private readonly translation;
|
|
24
|
+
private readonly name;
|
|
25
|
+
private readonly localizationContext;
|
|
26
|
+
private readonly containingPackage;
|
|
27
|
+
private readonly typeParameters;
|
|
28
|
+
private readonly members;
|
|
29
|
+
private readonly baseObjectType;
|
|
30
|
+
private readonly baseAspectTypes;
|
|
31
|
+
private readonly context;
|
|
30
32
|
constructor(originalEntity: PackageStructuredTypeEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
31
33
|
getName(): Name;
|
|
32
34
|
getContainingPackage(): PackageEntity;
|
|
33
|
-
|
|
35
|
+
getTranslation(): Translation | undefined;
|
|
36
|
+
getLocale(): PackageLocale;
|
|
37
|
+
getDialect(): PackageDialect;
|
|
34
38
|
getOriginalEntity(): PackageStructuredTypeEntity;
|
|
35
39
|
getNaming(): EntityNaming;
|
|
36
40
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
@@ -38,9 +42,7 @@ export declare class TranslatedPackageStructuredTypeEntity implements PackageStr
|
|
|
38
42
|
getDefinition(): StructuredTypeEntityDefinition;
|
|
39
43
|
markedBasic(): boolean;
|
|
40
44
|
isAbstract(): boolean;
|
|
41
|
-
|
|
42
|
-
isRefObject(): boolean;
|
|
43
|
-
isPlainObject(): boolean;
|
|
45
|
+
getStructuredTypeKind(): StructuredTypeKind;
|
|
44
46
|
getArity(): number;
|
|
45
47
|
getBaseObjectType(): BaseObjectType;
|
|
46
48
|
getBaseAspectTypes(): BaseAspectTypes;
|
|
@@ -53,18 +55,20 @@ export declare class TranslatedAnonymousStructuredTypeEntity implements Anonymou
|
|
|
53
55
|
readonly kind = EntityKind.Type;
|
|
54
56
|
readonly typeEntityKind = TypeEntityKind.Structured;
|
|
55
57
|
readonly subkind = "anonymous";
|
|
56
|
-
private readonly
|
|
57
|
-
private readonly
|
|
58
|
-
private readonly
|
|
59
|
-
private readonly
|
|
60
|
-
private readonly
|
|
61
|
-
private readonly
|
|
62
|
-
private readonly
|
|
63
|
-
private readonly
|
|
64
|
-
private readonly
|
|
58
|
+
private readonly originalEntity;
|
|
59
|
+
private readonly translation;
|
|
60
|
+
private readonly localizationContext;
|
|
61
|
+
private readonly containingPackage;
|
|
62
|
+
private readonly typeParameters;
|
|
63
|
+
private readonly members;
|
|
64
|
+
private readonly baseObjectType;
|
|
65
|
+
private readonly baseAspectTypes;
|
|
66
|
+
private readonly context;
|
|
65
67
|
constructor(originalEntity: AnonymousStructuredTypeEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
66
68
|
getContainingPackage(): PackageEntity;
|
|
67
|
-
|
|
69
|
+
getTranslation(): Translation | undefined;
|
|
70
|
+
getLocale(): PackageLocale;
|
|
71
|
+
getDialect(): PackageDialect;
|
|
68
72
|
getOriginalEntity(): AnonymousStructuredTypeEntity;
|
|
69
73
|
getNaming(): EntityNaming;
|
|
70
74
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
@@ -72,9 +76,7 @@ export declare class TranslatedAnonymousStructuredTypeEntity implements Anonymou
|
|
|
72
76
|
getDefinition(): StructuredTypeEntityDefinition;
|
|
73
77
|
markedBasic(): boolean;
|
|
74
78
|
isAbstract(): boolean;
|
|
75
|
-
|
|
76
|
-
isRefObject(): boolean;
|
|
77
|
-
isPlainObject(): boolean;
|
|
79
|
+
getStructuredTypeKind(): StructuredTypeKind;
|
|
78
80
|
getArity(): number;
|
|
79
81
|
getBaseObjectType(): BaseObjectType;
|
|
80
82
|
getBaseAspectTypes(): BaseAspectTypes;
|
|
@@ -84,10 +86,10 @@ export declare class TranslatedAnonymousStructuredTypeEntity implements Anonymou
|
|
|
84
86
|
getContext(): EntityContext;
|
|
85
87
|
}
|
|
86
88
|
export declare class LocalizedBaseObjectType extends BaseObjectType {
|
|
87
|
-
private readonly
|
|
88
|
-
private readonly
|
|
89
|
-
private readonly
|
|
90
|
-
private readonly
|
|
89
|
+
private readonly original;
|
|
90
|
+
private readonly localizationContext;
|
|
91
|
+
private readonly declared_;
|
|
92
|
+
private readonly cycleFree_;
|
|
91
93
|
get declared(): types.Type | undefined;
|
|
92
94
|
get cycleFree(): types.Type | undefined;
|
|
93
95
|
get causesCycle(): boolean;
|
|
@@ -95,10 +97,10 @@ export declare class LocalizedBaseObjectType extends BaseObjectType {
|
|
|
95
97
|
resolveBaseObjectType(circularityTrackingStack: boolean[]): CycleFreeBaseObjectTypeResolutionResult;
|
|
96
98
|
}
|
|
97
99
|
export declare class LocalizedBaseAspectTypes extends BaseAspectTypes {
|
|
98
|
-
private readonly
|
|
99
|
-
private readonly
|
|
100
|
-
private readonly
|
|
101
|
-
private readonly
|
|
100
|
+
private readonly original;
|
|
101
|
+
private readonly localizationContext;
|
|
102
|
+
private readonly declared_;
|
|
103
|
+
private readonly cycleFree_;
|
|
102
104
|
get declared(): readonly types.Type[];
|
|
103
105
|
get cycleFree(): readonly types.Type[];
|
|
104
106
|
get causesCycle(): boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { PackageDialect, PackageLocale } from '../../common/index.js';
|
|
3
4
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
4
5
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
5
6
|
import { EntityContext, EntityKind, NamedTypeEntity } from '../index.js';
|
|
@@ -8,13 +9,13 @@ import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
|
8
9
|
import type { TypeExtensionEntity, TypeExtensionEntityDefinition } from '../TypeExtensionEntity.js';
|
|
9
10
|
export declare class TranslatedTypeExtensionEntity implements TypeExtensionEntity {
|
|
10
11
|
readonly kind = EntityKind.TypeExtension;
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
16
|
-
private readonly
|
|
17
|
-
private readonly
|
|
12
|
+
private readonly originalEntity;
|
|
13
|
+
private readonly translation;
|
|
14
|
+
private readonly localizationContext;
|
|
15
|
+
private readonly containingPackage;
|
|
16
|
+
private readonly members;
|
|
17
|
+
private readonly extendedTypeEntity;
|
|
18
|
+
private readonly context;
|
|
18
19
|
constructor(originalEntity: TypeExtensionEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
19
20
|
getMembers(): TypeEntityMembers;
|
|
20
21
|
getContainingPackage(): PackageEntity;
|
|
@@ -23,6 +24,8 @@ export declare class TranslatedTypeExtensionEntity implements TypeExtensionEntit
|
|
|
23
24
|
isHidden(): EntityHidingLevel | undefined;
|
|
24
25
|
getTags(): readonly Tag[];
|
|
25
26
|
getContext(): EntityContext;
|
|
26
|
-
|
|
27
|
+
getTranslation(): Translation | undefined;
|
|
28
|
+
getLocale(): PackageLocale;
|
|
29
|
+
getDialect(): PackageDialect;
|
|
27
30
|
getOriginalEntity(): TypeExtensionEntity;
|
|
28
31
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
4
|
import * as types from '../../types/index.js';
|
|
5
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
6
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
|
-
import { EntityContext, EntityKind } from '../index.js';
|
|
7
|
+
import { EntityContext, EntityKind, PackageEntity } from '../index.js';
|
|
8
8
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
9
9
|
import type { TypeParameterEntity } from '../TypeParameterEntity.js';
|
|
10
10
|
import { CycleFreeConstraintResolutionResult, EntityContainingTypeParameter, TypeParameterConstraint, TypeParameterEntityDefinition } from '../TypeParameterEntity.js';
|
|
11
11
|
export declare class TranslatedTypeParameterEntity implements TypeParameterEntity {
|
|
12
12
|
readonly kind = EntityKind.Type;
|
|
13
13
|
readonly typeEntityKind = TypeEntityKind.Parameter;
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
16
|
-
private readonly
|
|
17
|
-
private readonly
|
|
18
|
-
private readonly
|
|
19
|
-
private readonly
|
|
20
|
-
private readonly
|
|
21
|
-
private readonly
|
|
14
|
+
private readonly originalEntity;
|
|
15
|
+
private readonly translation;
|
|
16
|
+
private readonly name;
|
|
17
|
+
private readonly localizationContext;
|
|
18
|
+
private readonly defaultType;
|
|
19
|
+
private readonly constraint;
|
|
20
|
+
private readonly context;
|
|
21
|
+
private readonly containingEntity;
|
|
22
22
|
constructor(originalEntity: TypeParameterEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
23
23
|
getName(): Name;
|
|
24
24
|
getConstraint(): TypeParameterConstraint;
|
|
@@ -27,17 +27,20 @@ export declare class TranslatedTypeParameterEntity implements TypeParameterEntit
|
|
|
27
27
|
getArity(): number;
|
|
28
28
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
29
29
|
getContainingEntity(): EntityContainingTypeParameter;
|
|
30
|
+
getContainingPackage(): PackageEntity;
|
|
30
31
|
isHidden(): EntityHidingLevel | undefined;
|
|
31
|
-
|
|
32
|
+
getTranslation(): Translation | undefined;
|
|
33
|
+
getLocale(): PackageLocale;
|
|
34
|
+
getDialect(): PackageDialect;
|
|
32
35
|
getOriginalEntity(): TypeParameterEntity;
|
|
33
36
|
getContext(): EntityContext;
|
|
34
37
|
getTags(): readonly Tag[];
|
|
35
38
|
}
|
|
36
39
|
export declare class LocalizedTypeParameterConstraint extends TypeParameterConstraint {
|
|
37
|
-
private readonly
|
|
38
|
-
private readonly
|
|
39
|
-
private readonly
|
|
40
|
-
private readonly
|
|
40
|
+
private readonly original;
|
|
41
|
+
private readonly localizationContext;
|
|
42
|
+
private readonly declared_;
|
|
43
|
+
private readonly cycleFree_;
|
|
41
44
|
get declared(): types.Type | undefined;
|
|
42
45
|
get cycleFree(): types.Type | undefined;
|
|
43
46
|
get causesCycle(): boolean;
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
4
|
import * as types from '../../types/index.js';
|
|
5
5
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
6
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
7
|
import { GetterEntity } from '../GetterEntity.js';
|
|
8
|
-
import { EntityKind,
|
|
8
|
+
import { EntityKind, TypeWithMembersOrExtensionEntity } from '../index.js';
|
|
9
9
|
import { PackageEntity } from '../PackageEntity.js';
|
|
10
10
|
import { SetterEntity } from '../SetterEntity.js';
|
|
11
|
-
import type { FieldEntity, PackageVariableEntity,
|
|
12
|
-
import {
|
|
11
|
+
import type { FieldEntity, PackageVariableEntity, ParameterEntity } from '../VariableEntity.js';
|
|
12
|
+
import { EntityContainingParameter, SpecialVariableEntityInfo, VariableEntityDefinition } from '../VariableEntity.js';
|
|
13
13
|
export declare class TranslatedPackageVariableEntity implements PackageVariableEntity {
|
|
14
14
|
readonly kind = EntityKind.Variable;
|
|
15
15
|
readonly subkind = "package";
|
|
16
|
-
private readonly
|
|
17
|
-
private readonly
|
|
18
|
-
private readonly
|
|
19
|
-
private readonly
|
|
20
|
-
private readonly
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
16
|
+
private readonly originalEntity;
|
|
17
|
+
private readonly translation;
|
|
18
|
+
private readonly name;
|
|
19
|
+
private readonly localizationContext;
|
|
20
|
+
private readonly containingPackage;
|
|
21
|
+
private readonly type;
|
|
22
|
+
private readonly getter;
|
|
23
|
+
private readonly setter;
|
|
24
24
|
constructor(originalEntity: PackageVariableEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
25
25
|
getContainingPackage(): PackageEntity;
|
|
26
|
-
|
|
26
|
+
getTranslation(): Translation | undefined;
|
|
27
|
+
getLocale(): PackageLocale;
|
|
28
|
+
getDialect(): PackageDialect;
|
|
27
29
|
getOriginalEntity(): PackageVariableEntity;
|
|
28
30
|
getName(): Name;
|
|
29
31
|
getType(): types.Type;
|
|
@@ -39,18 +41,21 @@ export declare class TranslatedPackageVariableEntity implements PackageVariableE
|
|
|
39
41
|
export declare class TranslatedFieldEntity implements FieldEntity {
|
|
40
42
|
readonly kind = EntityKind.Variable;
|
|
41
43
|
readonly subkind = "field";
|
|
42
|
-
private readonly
|
|
43
|
-
private readonly
|
|
44
|
-
private readonly
|
|
45
|
-
private readonly
|
|
46
|
-
private readonly
|
|
47
|
-
private readonly
|
|
48
|
-
private readonly
|
|
49
|
-
private readonly
|
|
50
|
-
private readonly
|
|
44
|
+
private readonly originalEntity;
|
|
45
|
+
private readonly translation;
|
|
46
|
+
private readonly name;
|
|
47
|
+
private readonly localizationContext;
|
|
48
|
+
private readonly containingEntity;
|
|
49
|
+
private readonly type;
|
|
50
|
+
private readonly getter;
|
|
51
|
+
private readonly setter;
|
|
52
|
+
private readonly overriddenMembers;
|
|
51
53
|
constructor(originalEntity: FieldEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
getContainingEntity(): TypeWithMembersOrExtensionEntity;
|
|
55
|
+
getContainingPackage(): PackageEntity;
|
|
56
|
+
getTranslation(): Translation | undefined;
|
|
57
|
+
getLocale(): PackageLocale;
|
|
58
|
+
getDialect(): PackageDialect;
|
|
54
59
|
getOriginalEntity(): FieldEntity;
|
|
55
60
|
getName(): Name;
|
|
56
61
|
getType(): types.Type;
|
|
@@ -69,21 +74,24 @@ export declare class TranslatedFieldEntity implements FieldEntity {
|
|
|
69
74
|
getTags(): readonly Tag[];
|
|
70
75
|
ensureAllDiagnosticsReported?(): void;
|
|
71
76
|
}
|
|
72
|
-
export declare class
|
|
77
|
+
export declare class TranslatedParameterEntity implements ParameterEntity {
|
|
73
78
|
readonly kind = EntityKind.Variable;
|
|
74
79
|
readonly subkind = "parameter";
|
|
75
|
-
private readonly
|
|
76
|
-
private readonly
|
|
77
|
-
private readonly
|
|
78
|
-
private readonly
|
|
79
|
-
private readonly
|
|
80
|
-
private readonly
|
|
81
|
-
constructor(originalEntity:
|
|
82
|
-
|
|
80
|
+
private readonly originalEntity;
|
|
81
|
+
private readonly translation;
|
|
82
|
+
private readonly name;
|
|
83
|
+
private readonly localizationContext;
|
|
84
|
+
private readonly containingEntity;
|
|
85
|
+
private readonly type;
|
|
86
|
+
constructor(originalEntity: ParameterEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
87
|
+
getContainingEntity(): EntityContainingParameter;
|
|
88
|
+
getContainingPackage(): PackageEntity;
|
|
83
89
|
isOptional(): boolean;
|
|
84
90
|
isVariadic(): boolean;
|
|
85
|
-
|
|
86
|
-
|
|
91
|
+
getTranslation(): Translation | undefined;
|
|
92
|
+
getLocale(): PackageLocale;
|
|
93
|
+
getDialect(): PackageDialect;
|
|
94
|
+
getOriginalEntity(): ParameterEntity;
|
|
87
95
|
getName(): Name;
|
|
88
96
|
getType(): types.Type;
|
|
89
97
|
getDefinition(): VariableEntityDefinition;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Localization, Translation } from '../../analysis/Localization.js';
|
|
2
1
|
import { Tag } from '../../analysis/Tags.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Translation } from '../../analysis/Translation.js';
|
|
3
|
+
import { Name, PackageDialect, PackageLocale } from '../../common/index.js';
|
|
4
4
|
import * as types from '../../types/Type.js';
|
|
5
|
+
import { BaseObjectType } from '../BaseObjectType.js';
|
|
5
6
|
import { EntityHidingLevel } from '../EntityHiding.js';
|
|
6
7
|
import { EntityLocalizationContext } from '../EntityLocalizationContext.js';
|
|
7
8
|
import { EntityNaming } from '../EntityNaming.js';
|
|
8
9
|
import { EntityContext, EntityKind } from '../index.js';
|
|
9
10
|
import { PackageEntity } from '../PackageEntity.js';
|
|
10
|
-
import { BaseObjectType } from '../StructuredTypeEntity.js';
|
|
11
11
|
import { SubstitutionApplicationMode } from '../SubstitutionApplicationMode.js';
|
|
12
12
|
import { TypeEntityKind } from '../TypeEntity.js';
|
|
13
13
|
import { TypeEntityMembers } from '../TypeEntityMembers.js';
|
|
@@ -18,20 +18,22 @@ export declare class TranslatedPackageVariantTypeEntity implements PackageVarian
|
|
|
18
18
|
readonly kind = EntityKind.Type;
|
|
19
19
|
readonly typeEntityKind = TypeEntityKind.Variant;
|
|
20
20
|
readonly subkind = "package";
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
26
|
-
private readonly
|
|
27
|
-
private readonly
|
|
28
|
-
private readonly
|
|
29
|
-
private readonly
|
|
30
|
-
private readonly
|
|
21
|
+
private readonly originalEntity;
|
|
22
|
+
private readonly translation;
|
|
23
|
+
private readonly name;
|
|
24
|
+
private readonly localizationContext;
|
|
25
|
+
private readonly containingPackage;
|
|
26
|
+
private readonly typeParameters;
|
|
27
|
+
private readonly underlyingType;
|
|
28
|
+
private readonly members;
|
|
29
|
+
private readonly baseObjectType;
|
|
30
|
+
private readonly context;
|
|
31
31
|
constructor(originalEntity: PackageVariantTypeEntity, translation: Translation, name: Name, localizationContext: EntityLocalizationContext);
|
|
32
32
|
getName(): Name;
|
|
33
33
|
getContainingPackage(): PackageEntity;
|
|
34
|
-
|
|
34
|
+
getTranslation(): Translation | undefined;
|
|
35
|
+
getLocale(): PackageLocale;
|
|
36
|
+
getDialect(): PackageDialect;
|
|
35
37
|
getOriginalEntity(): PackageVariantTypeEntity;
|
|
36
38
|
getNaming(): EntityNaming;
|
|
37
39
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
@@ -49,18 +51,20 @@ export declare class TranslatedAnonymousVariantTypeEntity implements AnonymousVa
|
|
|
49
51
|
readonly kind = EntityKind.Type;
|
|
50
52
|
readonly typeEntityKind = TypeEntityKind.Variant;
|
|
51
53
|
readonly subkind = "anonymous";
|
|
52
|
-
private readonly
|
|
53
|
-
private readonly
|
|
54
|
-
private readonly
|
|
55
|
-
private readonly
|
|
56
|
-
private readonly
|
|
57
|
-
private readonly
|
|
58
|
-
private readonly
|
|
59
|
-
private readonly
|
|
60
|
-
private readonly
|
|
54
|
+
private readonly originalEntity;
|
|
55
|
+
private readonly translation;
|
|
56
|
+
private readonly localizationContext;
|
|
57
|
+
private readonly containingPackage;
|
|
58
|
+
private readonly typeParameters;
|
|
59
|
+
private readonly underlyingType;
|
|
60
|
+
private readonly members;
|
|
61
|
+
private readonly baseObjectType;
|
|
62
|
+
private readonly context;
|
|
61
63
|
constructor(originalEntity: AnonymousVariantTypeEntity, translation: Translation, localizationContext: EntityLocalizationContext);
|
|
62
64
|
getContainingPackage(): PackageEntity;
|
|
63
|
-
|
|
65
|
+
getTranslation(): Translation | undefined;
|
|
66
|
+
getLocale(): PackageLocale;
|
|
67
|
+
getDialect(): PackageDialect;
|
|
64
68
|
getOriginalEntity(): AnonymousVariantTypeEntity;
|
|
65
69
|
getNaming(): EntityNaming;
|
|
66
70
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
@@ -6,7 +6,7 @@ import { Compilation } from '../project/index.js';
|
|
|
6
6
|
import { TypeScriptLibrariesProvider } from '../ts-interop/TsLibrariesProvider.js';
|
|
7
7
|
export type LaunchPath = string;
|
|
8
8
|
export declare class NodeCompiler {
|
|
9
|
-
private static
|
|
9
|
+
private static fileSystem_;
|
|
10
10
|
private static get fileSystem();
|
|
11
11
|
static findStandardTypeScriptLibrary(nodeModulesSearchPaths: readonly string[], defaultTsLibraryPath?: string): Promise<Uri | undefined>;
|
|
12
12
|
static createTypeScriptLibrariesProvider(nodeModulesSearchPaths: readonly string[], defaultTsLibraryPath: string | undefined, diagnostics: DiagnosticAcceptor | undefined): Promise<TypeScriptLibrariesProvider | undefined>;
|
|
@@ -34,12 +34,12 @@ export interface NodeCompilerTask {
|
|
|
34
34
|
}
|
|
35
35
|
export declare class PrintingDiagnosticAcceptor implements DiagnosticAcceptor {
|
|
36
36
|
private readonly noWarnings;
|
|
37
|
-
private readonly
|
|
37
|
+
private readonly formatter;
|
|
38
38
|
constructor(noWarnings: boolean, basePath?: string);
|
|
39
39
|
addDiagnostic(diagnostic: Diagnostic): void;
|
|
40
40
|
}
|
|
41
41
|
export declare class NodeDiagnosticFormatter {
|
|
42
|
-
private readonly
|
|
42
|
+
private readonly formatDiagnosticOptions;
|
|
43
43
|
constructor(basePath?: string);
|
|
44
44
|
format(diagnostic: Diagnostic): string;
|
|
45
45
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Uri } from '../common/Uri.js';
|
|
2
2
|
import { TypeScriptLibrariesProvider } from '../ts-interop/TsLibrariesProvider.js';
|
|
3
3
|
export declare class PhysicalTypeScriptLibrariesProvider implements TypeScriptLibrariesProvider {
|
|
4
|
-
private readonly
|
|
5
|
-
private readonly
|
|
4
|
+
private readonly standardLibraryUri;
|
|
5
|
+
private readonly isCaseSensitive_;
|
|
6
6
|
constructor(standardLibraryUri: Uri);
|
|
7
7
|
getStandardLibraryUri(): Uri;
|
|
8
8
|
readFileSync(uri: Uri): string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PackageDialect, PackageLocale } from '../common/index.js';
|
|
2
2
|
import * as tree from '../tree/index.js';
|
|
3
3
|
export declare class Parser {
|
|
4
|
-
private readonly
|
|
4
|
+
private readonly parser;
|
|
5
5
|
constructor(text: string, locale?: PackageLocale, dialect?: PackageDialect);
|
|
6
6
|
parse(): tree.SourceFile;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Trivia } from '../tree/index.js';
|
|
2
2
|
export declare class TriviaInterner {
|
|
3
|
-
private readonly
|
|
4
|
-
private readonly
|
|
5
|
-
private readonly
|
|
3
|
+
private readonly triviaCache;
|
|
4
|
+
private readonly triviaArrayCache;
|
|
5
|
+
private readonly emptyTriviaArray;
|
|
6
6
|
internTrivia(trivia: Trivia): Trivia;
|
|
7
7
|
internTriviaArray(trivia: readonly Trivia[] | undefined): readonly Trivia[];
|
|
8
8
|
}
|
|
@@ -8,9 +8,9 @@ export declare class Compilation {
|
|
|
8
8
|
readonly userPackages: readonly SourcePackage[];
|
|
9
9
|
readonly libraryPackages: readonly SourcePackage[];
|
|
10
10
|
readonly allPackages: readonly SourcePackage[];
|
|
11
|
-
private
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
11
|
+
private parsedSourceFiles;
|
|
12
|
+
private readonly packageByUri;
|
|
13
|
+
private readonly sourceFileByUri;
|
|
14
14
|
constructor(uri: Uri, mainPackage: ProgramPackage | undefined, userPackages: readonly SourcePackage[], libraryPackages: readonly SourcePackage[]);
|
|
15
15
|
getSourceFileByUri(uri: Uri): SourceFile | undefined;
|
|
16
16
|
getSourceFileByNode(node: tree.SourceFile): SourceFile;
|
|
@@ -7,11 +7,11 @@ import * as packageContent from './PackageContent.js';
|
|
|
7
7
|
import { PackageName, ProgramPackageConfiguration } from './SourcePackage.js';
|
|
8
8
|
export declare class CompilationLoader {
|
|
9
9
|
static readonly artelSystemPackageName: PackageName;
|
|
10
|
-
private readonly
|
|
11
|
-
private readonly
|
|
12
|
-
private readonly
|
|
13
|
-
private readonly
|
|
14
|
-
private
|
|
10
|
+
private readonly source;
|
|
11
|
+
private readonly config;
|
|
12
|
+
private readonly diagnostics;
|
|
13
|
+
private readonly cancellationToken;
|
|
14
|
+
private configurationsByPackageOrGroupUri;
|
|
15
15
|
private constructor();
|
|
16
16
|
static loadUsingSourcesProvider(uri: Uri, sourcesProvider: SourcesProvider, options?: CompilationLoaderOptions, diagnostics?: DiagnosticAcceptor, workspaceUri?: Uri, namesOfDirectoriesToIgnore?: readonly string[], cancellationToken?: CancellationToken): Promise<{
|
|
17
17
|
loadResult: CompilationLoadResult;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ObservableObject } from 'reactronic';
|
|
2
2
|
import { Uri } from '../common/index.js';
|
|
3
3
|
export declare class FileSystemTree extends ObservableObject implements ReadonlyFileSystemTree {
|
|
4
|
-
private readonly
|
|
5
|
-
private readonly
|
|
6
|
-
private readonly
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private
|
|
4
|
+
private readonly handleInconsistentRequestsWithoutErrors;
|
|
5
|
+
private readonly deleteEmptyDirectories;
|
|
6
|
+
private readonly rootsByScheme;
|
|
7
|
+
private version_;
|
|
8
|
+
private createdDirectoriesVersion_;
|
|
9
|
+
private deletedDirectoriesVersion_;
|
|
10
10
|
get version(): number;
|
|
11
11
|
get createdDirectoriesVersion(): number;
|
|
12
12
|
get deletedDirectoriesVersion(): number;
|
|
@@ -4,8 +4,8 @@ import { SourcePackage } from './SourcePackage.js';
|
|
|
4
4
|
import { TextFile } from './TextFile.js';
|
|
5
5
|
export declare class SourceFile extends TextFile {
|
|
6
6
|
readonly name: string;
|
|
7
|
-
private
|
|
8
|
-
private readonly
|
|
7
|
+
private package_;
|
|
8
|
+
private readonly node;
|
|
9
9
|
get package(): SourcePackage;
|
|
10
10
|
private constructor();
|
|
11
11
|
static create(text: string, uri: Uri, version: number): SourceFile;
|
|
@@ -6,7 +6,7 @@ declare abstract class SourcePackageBase {
|
|
|
6
6
|
readonly uri: Uri;
|
|
7
7
|
readonly name: PackageName;
|
|
8
8
|
readonly sourceFiles: readonly SourceFile[];
|
|
9
|
-
private
|
|
9
|
+
private compilation_;
|
|
10
10
|
get compilation(): Compilation;
|
|
11
11
|
protected abstract get asPackage(): SourcePackage;
|
|
12
12
|
abstract get locale(): PackageLocale;
|