@artel/artc 0.6.25207 → 0.6.25209
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 +36 -20
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +9923 -9250
- package/build/{chunk-FYWHIGGV.js → chunk-4EDLYSNW.js} +11 -8
- package/build/{chunk-F6DF37J3.js → chunk-5SWGY25I.js} +39172 -46399
- package/build/{chunk-OORYH37I.js → chunk-GKEW2LBL.js} +27 -14
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +14 -10
- package/build/types/analysis/Analyzer.d.ts +27 -11
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/BaseExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/CallExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
- package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
- package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -5
- package/build/types/analysis/IndexedAccess.d.ts +14 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +6 -3
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +19 -3
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +2 -4
- package/build/types/analysis/SemanticContext.d.ts +4 -4
- package/build/types/analysis/VariableAccess.d.ts +6 -2
- package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
- package/build/types/analysis/index.d.ts +4 -2
- package/build/types/api/Api.d.ts +2 -2
- package/build/types/common/AccessKind.d.ts +2 -1
- package/build/types/common/Constants.d.ts +1 -1
- package/build/types/common/JavaScriptIdentifier.d.ts +6 -0
- package/build/types/common/Logger.d.ts +1 -0
- package/build/types/common/Name.d.ts +18 -21
- package/build/types/common/Query.d.ts +6 -1
- package/build/types/common/TreeQuery.d.ts +0 -2
- package/build/types/common/index.d.ts +2 -1
- package/build/types/emitter/Emitter.d.ts +50 -16
- package/build/types/emitter/EmitterContext.d.ts +42 -337
- package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +55 -17
- package/build/types/emitter/Entities.d.ts +144 -0
- package/build/types/emitter/EntityMap.d.ts +45 -0
- package/build/types/emitter/ExpressionTransformationResult.d.ts +1 -1
- package/build/types/emitter/GeneralLowering.d.ts +4 -68
- package/build/types/emitter/Internal.d.ts +0 -1
- package/build/types/emitter/IrBuilder.d.ts +27 -17
- package/build/types/emitter/IrToJs.d.ts +17 -11
- package/build/types/emitter/StatementTransformationResult.d.ts +5 -2
- package/build/types/emitter/Transformer.d.ts +21 -93
- package/build/types/emitter/ir/AccessedEntities.d.ts +5 -11
- package/build/types/emitter/ir/ComputedAccess.d.ts +19 -0
- package/build/types/emitter/ir/LoweringState.d.ts +25 -0
- package/build/types/emitter/ir/Nodes.d.ts +531 -1109
- package/build/types/emitter/ir/index.d.ts +3 -1
- package/build/types/emitter/ir/types.d.ts +6 -7
- package/build/types/entities/BinaryOperatorEntity.d.ts +3 -0
- package/build/types/entities/ConstructorEntity.d.ts +17 -21
- package/build/types/entities/PackageMembers.d.ts +2 -2
- package/build/types/entities/TypeEntityMembers.d.ts +2 -2
- package/build/types/entities/UnaryOperatorEntity.d.ts +3 -0
- package/build/types/entities/Variants.d.ts +2 -2
- package/build/types/entities/index.d.ts +4 -2
- package/build/types/executor/Compiler.d.ts +6 -1
- package/build/types/executor/NodeCompiler.d.ts +7 -3
- package/build/types/parser/Scanner.d.ts +1 -0
- package/build/types/project/CompilationLoader.d.ts +17 -22
- package/build/types/project/PackageContent.d.ts +16 -0
- package/build/types/project/PackageContentCreator.d.ts +3 -0
- package/build/types/project/SourceFile.d.ts +1 -1
- package/build/types/project/SourcePackage.d.ts +3 -3
- package/build/types/project/configuration/ConfigurationConverter.d.ts +2 -3
- package/build/types/project/configuration/ConfigurationTranslator.d.ts +23 -0
- package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +1 -27
- package/build/types/project/index.d.ts +3 -1
- package/build/types/services/AddPropertyAssignmentService.d.ts +2 -2
- package/build/types/services/CodeActionsService.d.ts +22 -0
- package/build/types/services/DefinitionService.d.ts +2 -2
- package/build/types/services/LanguageServer.d.ts +11 -2
- package/build/types/services/NodeSemanticInfo.d.ts +13 -7
- package/build/types/services/ReferencesService.d.ts +1 -3
- package/build/types/services/TranslationsGenerationService.d.ts +7 -0
- package/build/types/services/Types.d.ts +10 -0
- package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -4
- package/build/types/services/workspace/CompilationController.d.ts +4 -3
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +5 -2
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +1 -1
- package/build/types/services/workspace/Workspace.d.ts +6 -2
- package/build/types/services/workspace/WorkspaceFiles.d.ts +2 -2
- package/build/types/tree/KeywordKind.d.ts +47 -46
- package/build/types/tree/green/SyntaxToCode.d.ts +4 -3
- package/build/types/ts-interop/TsInteropContext.d.ts +2 -2
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +3 -3
- package/build/types/ts-interop/Utils.d.ts +39 -33
- package/package.json +6 -6
- package/build/types/analysis/IndexerAccess.d.ts +0 -10
- package/build/types/emitter/EmitterPackage.d.ts +0 -60
- package/build/types/emitter/EntityNameProviders.d.ts +0 -33
- package/build/types/generated/BuiltInSystemPackages.d.ts +0 -3
- package/build/types/old/Executor.d.ts +0 -14
- package/build/types/old/JavaScriptEmittingVisitor.d.ts +0 -1
- package/build/types/old/NzonParser.d.ts +0 -1
- package/build/types/old/NzonScanner.d.ts +0 -1
- package/build/types/old/NzonSyntax.d.ts +0 -1
- package/build/types/old/RemoteWorkspaceFileSystem.d.ts +0 -1
- /package/build/types/{old/JavaScriptEmitter.d.ts → emitter/EmitterContextOld.d.ts} +0 -0
package/build/types/api/Api.d.ts
CHANGED
@@ -5,6 +5,7 @@ export type { Meaning as AutotypeCallExpressionMeaning } from '../analysis/Autot
|
|
5
5
|
export type { Meaning as BaseExpressionMeaning } from '../analysis/BaseExpressionMeaning.js';
|
6
6
|
export { MatchResult, MatchResultValueParameter } from '../analysis/CallArgumentToParameterMatchResult.js';
|
7
7
|
export type { Meaning as CallExpressionMeaning } from '../analysis/CallExpressionMeaning.js';
|
8
|
+
export * as dereferencedVariableAccess from '../analysis/DereferencedVariableAccess.js';
|
8
9
|
export type { Meaning as DereferenceExpressionMeaning } from '../analysis/DereferenceExpressionMeaning.js';
|
9
10
|
export * from '../analysis/DiagnosticCollector.js';
|
10
11
|
export * from '../analysis/EntityLocalizationHelper.js';
|
@@ -12,8 +13,8 @@ export * from '../analysis/FindModifier.js';
|
|
12
13
|
export * from '../analysis/FoundDeclaration.js';
|
13
14
|
export type { Meaning as IdentifierExpressionMeaning, ResolutionResult as IdentifierExpressionResolutionResult } from '../analysis/IdentifierExpressionMeaning.js';
|
14
15
|
export * from '../analysis/ImportedPackageNameTree.js';
|
16
|
+
export * as indexedAccess from '../analysis/IndexedAccess.js';
|
15
17
|
export type { Meaning as IndexedAccessExpressionMeaning } from '../analysis/IndexedAccessExpressionMeaning.js';
|
16
|
-
export * as indexerAccess from '../analysis/IndexerAccess.js';
|
17
18
|
export * from '../analysis/Localization.js';
|
18
19
|
export * from '../analysis/LocalizationContext.js';
|
19
20
|
export * from '../analysis/Lookup.js';
|
@@ -42,7 +43,6 @@ export * from '../diagnostic/DiagnosticData.js';
|
|
42
43
|
export * from '../emitter/Emitter.js';
|
43
44
|
export * from '../entities/index.js';
|
44
45
|
export * from '../executor/Compiler.js';
|
45
|
-
export * from '../generated/BuiltInSystemPackages.js';
|
46
46
|
export * from '../parser/CharacterCodes.js';
|
47
47
|
export * from '../parser/KeywordDictionary.js';
|
48
48
|
export * from '../parser/ParseNumber.js';
|
@@ -10,7 +10,7 @@ export declare const LocaleByConfigurationDirectoryName: Map<string, PackageLoca
|
|
10
10
|
export declare const JsonConfigurationFileNamesByLocale: Map<PackageLocale, string[]>;
|
11
11
|
export declare const JsonConfigurationFileNameSet: Set<string>;
|
12
12
|
export declare const LocaleByJsonConfigurationFileName: Map<string, PackageLocale>;
|
13
|
-
export declare const
|
13
|
+
export declare const InMemoryPackageScheme = "artel-in-memory";
|
14
14
|
export declare const GeneratedSourceFileScheme = "artel-gen";
|
15
15
|
export declare const DefaultTsLibDeclarationsFileName = "lib.es2023.d.ts";
|
16
16
|
export declare const DefaultLocale = PackageLocale.Ru;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const validJavaScriptIdentifierStartRegExp: RegExp;
|
2
|
+
export declare const invalidJavaScriptIdentifierCharsRegExp: RegExp;
|
3
|
+
export declare const javaScriptIdentifierRegExp: RegExp;
|
4
|
+
export declare function isJavaScriptIdentifier(text: string, allowReserved?: boolean): boolean;
|
5
|
+
export declare function isReservedJavaScriptIdentifier(text: string): boolean;
|
6
|
+
export declare const reservedJavaScriptIdentifiers: ReadonlySet<string>;
|
@@ -2,6 +2,7 @@ import { EmitterError } from '../emitter/error-boundary.js';
|
|
2
2
|
import { Node } from '../tree/index.js';
|
3
3
|
export declare class Logger {
|
4
4
|
static info(message: string): void;
|
5
|
+
static warn(message: string): void;
|
5
6
|
static error(message: string): void;
|
6
7
|
static error(error: Error | unknown): void;
|
7
8
|
static errorAtNode(message: string, node: Node): void;
|
@@ -15,35 +15,26 @@ export declare const enum NameFlags {
|
|
15
15
|
* Имя не может быть отображено без кавычек, например: 'имя с пробелами', '+'.
|
16
16
|
*/
|
17
17
|
RequiresQuotes = 8,
|
18
|
-
/**
|
19
|
-
* Имя с обратным апострофом для превращения служебного слова в обычное имя, например: тип\`, объект\`.
|
20
|
-
*/
|
21
|
-
EscapedKeyword = 16,
|
22
18
|
/**
|
23
19
|
* Имя с обратным апострофом для избежания конфликта между параметром метода и свойством объекта,
|
24
20
|
* например: имя\`, 'имя с пробелами'\`.
|
25
21
|
*/
|
26
|
-
ConflictResolvingParameterName =
|
22
|
+
ConflictResolvingParameterName = 16,
|
27
23
|
/**
|
28
24
|
* Имя с двойным обратным апострофом для избежания конфликта между вычисляемым свойством и скрытой
|
29
25
|
* хранимой переменной объекта, например: длина\`\`, 'имя с пробелами'\`\`.
|
30
26
|
*/
|
31
|
-
BackingVariableName =
|
27
|
+
BackingVariableName = 32,
|
32
28
|
/**
|
33
|
-
*
|
29
|
+
* Конвертировать имя в формат kebab case при формировании исходного имени.
|
34
30
|
*/
|
35
|
-
|
31
|
+
PreferKebabCase = 64
|
36
32
|
}
|
37
33
|
export declare class Name {
|
38
34
|
/**
|
39
35
|
* Исходное имя без одиночных кавычек и без символов '\`' в конце. Не содержит символ '~'.
|
40
36
|
*/
|
41
|
-
readonly
|
42
|
-
/**
|
43
|
-
* Исходное имя, при необходимости взятое в одиночные кавычки и содержащее обратные кавычки согласно флагам.
|
44
|
-
* Не содержит символ '~'.
|
45
|
-
*/
|
46
|
-
readonly original: string;
|
37
|
+
readonly unescapedOriginalWithoutQuotes: string;
|
47
38
|
/**
|
48
39
|
* Флаги, указывающие на наличии у имени символов '~', '\`', одиночных кавычек и их смысл.
|
49
40
|
*/
|
@@ -65,14 +56,20 @@ export declare class Name {
|
|
65
56
|
*/
|
66
57
|
get meaningfulBackQuoteCount(): number;
|
67
58
|
/**
|
68
|
-
*
|
69
|
-
*
|
70
|
-
|
59
|
+
* Исходное имя, при необходимости взятое в одиночные кавычки и содержащее обратные кавычки согласно флагам.
|
60
|
+
* Не содержит символ '~'.
|
61
|
+
*/
|
62
|
+
get unescapedOriginal(): string;
|
63
|
+
/**
|
64
|
+
* @param unescapedOriginalWithoutQuotes Исходное имя без апострофов, одиночных кавычек и экранирования.
|
65
|
+
* @param flags Флаги имени (`NameFlags`). `NameFlags.None` по умолчанию.
|
71
66
|
*/
|
72
|
-
constructor(
|
67
|
+
constructor(unescapedOriginalWithoutQuotes: string, flags?: NameFlags);
|
68
|
+
toConflictResolvingParameterName(): Name;
|
69
|
+
toBackingVariableName(): Name;
|
73
70
|
considerEqual(other: Name, considerBackQuotes?: boolean): boolean;
|
74
71
|
toString(): string;
|
75
|
-
|
76
|
-
|
77
|
-
private static
|
72
|
+
getPreferredUnescapedOriginal(flags: NameFlags): string;
|
73
|
+
static parse(original: string, initialFlags?: NameFlags): Name;
|
74
|
+
private static toUnescapedOriginal;
|
78
75
|
}
|
@@ -14,7 +14,7 @@ export declare abstract class Query<T> implements Iterable<T> {
|
|
14
14
|
toMap<K, V>(keySelector: (t: T) => K, valueSelector: (t: T) => V): Map<K, V>;
|
15
15
|
flatMap<K>(fn: (t: T) => Iterable<K>): Query<K>;
|
16
16
|
toArray(): T[];
|
17
|
-
count(): number;
|
17
|
+
count(fn?: (t: T) => boolean): number;
|
18
18
|
chain(other: Iterable<T>): Query<T>;
|
19
19
|
filter<K extends T>(fn: (t: T) => t is K): Query<K>;
|
20
20
|
filter(fn: (t: T) => boolean): Query<T>;
|
@@ -34,6 +34,11 @@ export declare abstract class Query<T> implements Iterable<T> {
|
|
34
34
|
groupByToMap<K>(keySelector: (t: T) => K): Map<K, T[]>;
|
35
35
|
groupByToMap<K, V>(keySelector: (t: T) => K, mapFn: (t: T) => V): Map<K, V[]>;
|
36
36
|
unique(keySelector?: (t: T) => any): Query<T>;
|
37
|
+
uniqueWithComparator(comparator: (t1: T, t2: T) => boolean): Query<T>;
|
37
38
|
uniqueToSet(): Set<T>;
|
38
39
|
maxByValue(valueSelector: (t: T) => number): T | undefined;
|
40
|
+
minByValue(valueSelector: (t: T) => number): T | undefined;
|
41
|
+
single(): T | undefined;
|
42
|
+
single<K extends T>(fn: (t: T) => t is K): K | undefined;
|
43
|
+
single(fn: (t: T) => boolean): T | undefined;
|
39
44
|
}
|
@@ -41,13 +41,11 @@ declare class TypeMemberDeclarationContainer_typeExtension implements ITypeMembe
|
|
41
41
|
constructor(declaration: tree.TypeExtensionDeclaration, memberBlock: tree.TypeMemberDeclarationBlock);
|
42
42
|
getNode(): tree.TypeExtensionDeclaration;
|
43
43
|
getMemberBlock(): tree.TypeMemberDeclarationBlock;
|
44
|
-
getTypeEntity(_analyzer: Analyzer): TypeEntityWithMembers | undefined;
|
45
44
|
getContextualTypeEntity(analyzer: Analyzer): TypeEntity | undefined;
|
46
45
|
}
|
47
46
|
interface ITypeMemberDeclarationContainer {
|
48
47
|
getNode(): StructuredTypeDeclaration | VariantTypeDeclaration | tree.PackageAliasTypeDeclaration | tree.TypeExtensionDeclaration;
|
49
48
|
getMemberBlock(): tree.TypeMemberDeclarationBlock;
|
50
|
-
getTypeEntity(analyzer: Analyzer): TypeEntityWithMembers | undefined;
|
51
49
|
getContextualTypeEntity(analyzer: Analyzer): TypeEntity | undefined;
|
52
50
|
}
|
53
51
|
export {};
|
@@ -7,6 +7,7 @@ export * from './Debug.js';
|
|
7
7
|
export * from './Delayed.js';
|
8
8
|
export * from './FormatString.js';
|
9
9
|
export * from './Interner.js';
|
10
|
+
export * from './JavaScriptIdentifier.js';
|
10
11
|
export * from './Lazy.js';
|
11
12
|
export * from './LocalizationHelper.js';
|
12
13
|
export * from './Logger.js';
|
@@ -14,8 +15,8 @@ export * from './Name.js';
|
|
14
15
|
export * from './NameFormatConversion.js';
|
15
16
|
export * from './NonEmptyArray.js';
|
16
17
|
export * from './Option.js';
|
17
|
-
export * from './PackageLocale.js';
|
18
18
|
export * from './PackageDialect.js';
|
19
|
+
export * from './PackageLocale.js';
|
19
20
|
export * from './Path.js';
|
20
21
|
export * from './PerformanceMeasurement.js';
|
21
22
|
export * from './Query.js';
|
@@ -1,21 +1,46 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import { EntityNameProviderChain } from './EntityNameProviders.js';
|
1
|
+
import { Analyzer, SourcePackageDependencyGraph } from '../analysis/index.js';
|
2
|
+
import { CancellationToken, Uri } from '../common/index.js';
|
3
|
+
import { JavaScriptImplementationConfig, PlatformKind } from '../project/index.js';
|
4
|
+
import { NamedEntity, PackageEntity, PackageMemberEntity } from './Entities.js';
|
6
5
|
import * as ir from './ir/index.js';
|
7
|
-
import { SourceLocation } from './ir/index.js';
|
8
6
|
export declare class Emitter {
|
9
|
-
static LaunchFileName
|
10
|
-
static IndexFileName
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
7
|
+
static readonly LaunchFileName = "launch.mjs";
|
8
|
+
static readonly IndexFileName = "index.mjs";
|
9
|
+
readonly targetPlatform = PlatformKind.JavaScript;
|
10
|
+
private readonly _analyzer;
|
11
|
+
private readonly _declarationsUsageCountResults;
|
12
|
+
private readonly _options;
|
13
|
+
private readonly _entityMap;
|
14
|
+
private readonly _ectx;
|
15
|
+
private _packageGraph;
|
16
|
+
get packageGraph(): SourcePackageDependencyGraph;
|
17
|
+
private constructor();
|
18
|
+
static create(analyzer: Analyzer, options?: EmitOptions, cancellationToken?: CancellationToken): Promise<Emitter>;
|
19
|
+
emitToFileSystem(outputUri: Uri, outputAcceptor: OutputAcceptor): Promise<void>;
|
20
|
+
emitToString(): string;
|
21
|
+
private createEmitterPackageFromSource;
|
22
|
+
private enumerateEmittingSourcePackages;
|
23
|
+
private createPackageWithMainMethod;
|
24
|
+
private createMainMethod;
|
25
|
+
private createMainMethodCall;
|
26
|
+
private createUniqueNamesForPackageMembers;
|
27
|
+
private setOutputUris;
|
28
|
+
private addImports;
|
29
|
+
private addExportModifierToAllPackageMemberDeclarations;
|
30
|
+
private renameDeclarationsAndAddImportsInToStringMode;
|
31
|
+
private generateCode;
|
32
|
+
private generateCodeAndSourceMaps;
|
33
|
+
private prepareSourceMap;
|
34
|
+
}
|
35
|
+
export declare class EmitterPackage {
|
36
|
+
ir: ir.Package;
|
37
|
+
entity: PackageEntity;
|
38
|
+
outputUri: Uri;
|
39
|
+
packageLevelNames: ReadonlySet<string>;
|
40
|
+
entityNameOverrides: ReadonlyMap<NamedEntity, string> | undefined;
|
41
|
+
private _referencedPackageMembers;
|
42
|
+
constructor(ir: ir.Package, entity: PackageEntity);
|
43
|
+
getReferencedPackageMembers(): ReferencedPackageMembers;
|
19
44
|
}
|
20
45
|
export interface OutputAcceptor {
|
21
46
|
clearDirectory(uri: Uri): Promise<void>;
|
@@ -59,3 +84,12 @@ export declare enum ImportEmitKind {
|
|
59
84
|
*/
|
60
85
|
CustomWithFallbackToDynamic = 3
|
61
86
|
}
|
87
|
+
declare class ReferencedPackageMembers {
|
88
|
+
readonly entitiesByPackage: ReadonlyMap<PackageEntity, ReadonlySet<PackageMemberEntity>>;
|
89
|
+
constructor(entitiesByPackage: ReadonlyMap<PackageEntity, ReadonlySet<PackageMemberEntity>>);
|
90
|
+
excludeMembersOfPackage(entity: PackageEntity): ReferencedPackageMembers;
|
91
|
+
getNamesOfGlobalJsDeclarations(): ReadonlySet<string>;
|
92
|
+
getEntitiesFromJs(): ReadonlyMap<JavaScriptImplementationConfig, ReadonlySet<PackageMemberEntity>>;
|
93
|
+
getEntitiesFromArtel(): ReadonlyMap<PackageEntity, ReadonlySet<PackageMemberEntity>>;
|
94
|
+
}
|
95
|
+
export {};
|
@@ -1,344 +1,49 @@
|
|
1
|
-
import {
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import { OriginalPackageMembers } from '../entities/PackageMembers.js';
|
6
|
-
import { AliasTypeEntity, ConstructorEntity, DereferenceOperatorEntity, Entity, EntityKind, IndexerEntity, InterfacePackageEntityInfo, MethodEntity, MethodTypeEntity, PackageAliasEntity, PackageEntity, PackageEntityDefinition, PackageMemberEntity, PackageVariableEntity, StructuredTypeEntity, TypeEntity, TypeEntityWithMembers, TypeMethodEntity, TypeParameterEntity, TypeVariableEntity, VariableEntity, VariantEntity, VariantTypeEntity } from '../entities/index.js';
|
7
|
-
import { JavaScriptImplementationConfig, PackageName, PlatformKind, ProgramPackage, SourceFile as ProjectSourceFile } from '../project/index.js';
|
8
|
-
import * as types from '../types/index.js';
|
9
|
-
import { EmitterPackage } from './EmitterPackage.js';
|
10
|
-
import { EntityNameProvider, RegisteredEntityNames } from './EntityNameProviders.js';
|
11
|
-
import * as ir from './ir/index.js';
|
12
|
-
import { AssignmentExpression, AssignmentOperator, BaseConstructorCallExpression, BinaryExpressionOperator, BlockStatement, CallArguments, Expression, MethodAccessExpression, OrderedCallArguments, OwnConstructorCallExpression, SourceFile, TypeMethodAccessExpression, TypeVariableAccessExpression, UnorderedCallArguments, VariableAccessExpression } from './ir/index.js';
|
1
|
+
import { Analyzer } from '../analysis/Analyzer.js';
|
2
|
+
import { Type, TypeOrExtensionEntity } from './Entities.js';
|
3
|
+
import { EntityMap } from './EntityMap.js';
|
4
|
+
import { Expression } from './ir/index.js';
|
13
5
|
export declare class EmitterContext {
|
14
6
|
readonly analyzer: Analyzer;
|
15
|
-
readonly
|
16
|
-
readonly
|
17
|
-
readonly
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
readonly linker: ExternalDeclarationLinker;
|
22
|
-
readonly helperMethods: HelperMethods;
|
23
|
-
readonly jsStandardTypes: JsStandardTypes;
|
24
|
-
readonly generatedName: GeneratedName;
|
25
|
-
private readonly _declarationsUsageCountResults;
|
26
|
-
private readonly _emitterPackages;
|
27
|
-
private readonly _packageMethodByPackageVariableGetter;
|
28
|
-
private readonly _packageMethodByPackageVariableSetter;
|
29
|
-
private readonly _typeMethodByIndexedGetter;
|
30
|
-
private readonly _typeMethodByIndexedSetter;
|
31
|
-
private readonly _typeDereferencedVariableVariableByDereferenceOperator;
|
32
|
-
private readonly _overloadedConstructorGroupByType;
|
33
|
-
private readonly _typeMethodNamesByType;
|
34
|
-
private readonly _typeMethodByPlainObjectConstructor;
|
35
|
-
private readonly _plainObjectDefaultEmptyConstructorByPlainObject;
|
36
|
-
private readonly _proxyTypeVariables;
|
37
|
-
private readonly _lazySystemForJavaScriptPackage;
|
38
|
-
private readonly _lazySystemInteroperabilityPackage;
|
39
|
-
private readonly _esPackage;
|
40
|
-
private readonly _packageByPackageMember;
|
41
|
-
private readonly _registeredEntityNamesForCompilation;
|
42
|
-
private _packageGraph;
|
43
|
-
private readonly _isConstantPlainObjectResults;
|
44
|
-
get systemPackage(): PackageEntity;
|
45
|
-
get systemJavaScriptPackage(): PackageEntity;
|
46
|
-
get systemInteroperabilityPackage(): PackageEntity;
|
47
|
-
get platformJavaScriptPackage(): PackageEntity;
|
48
|
-
get standardTypes(): types.StandardTypes;
|
49
|
-
get packageByPackageMember(): ReadonlyMap<Entity, EmitterPackage>;
|
50
|
-
get registeredEntityNamesForCompilation(): RegisteredEntityNames;
|
51
|
-
get packageGraph(): SourcePackageDependencyGraph;
|
52
|
-
private constructor();
|
53
|
-
static create(analyzer: Analyzer, cancellationToken: CancellationToken | undefined, targetPlatform?: PlatformKind): Promise<EmitterContext>;
|
54
|
-
buildIR(sourceFile: ProjectSourceFile): ir.SourceFile;
|
55
|
-
enumerateEmittingPackages(): Iterable<EmitterPackage>;
|
56
|
-
enumerateEmittingSourcePackages(): Iterable<ProgramPackage>;
|
57
|
-
/**
|
58
|
-
* Главным считается файл главного пакета, в котором находится блок "создание" или блок "выполнить".
|
59
|
-
*/
|
60
|
-
getMainFileUri(): Uri | undefined;
|
61
|
-
getTypeIndexedElementGetter(indexer: IndexerEntity): TypeMethodEntity;
|
62
|
-
getTypeIndexedElementSetter(indexer: IndexerEntity): TypeMethodEntity;
|
63
|
-
getTypeDereferencedVariableVariable(operator: DereferenceOperatorEntity): TypeVariableEntity;
|
64
|
-
getPackageMethodForPackageVariableGetter(variable: PackageVariableEntity): MethodEntity;
|
65
|
-
getPackageMethodForPackageVariableSetter(variable: PackageVariableEntity): MethodEntity;
|
66
|
-
getOverloadedConstructorGroupForType(entity: TypeEntityWithMembers): OverloadedConstructorGroup;
|
67
|
-
getTypeMethodNames(entity: TypeEntityWithMembers): UniqueEntityNames;
|
68
|
-
getTypeMethodForPlainObjectConstructor(entity: ConstructorEntity, containingType: TypeEntityWithMembers): TypeMethodEntity;
|
69
|
-
getPlainObjectDefaultEmptyConstructor(entity: StructuredTypeEntity): ConstructorEntity;
|
70
|
-
createUniqueNamesForReferencedPackageMemberEntities(ownNames: UniqueEntityNames, referencedEntities: ReferencedPackageMemberEntities): UniqueEntityNames;
|
71
|
-
createImportDirectivesForPackage(referencedEntities: ReferencedPackageMemberEntities, referencedEntityNames: UniqueEntityNames, mode: ImportDirectivesCreationMode, fileLocale: PackageLocale): readonly ir.Statement[];
|
72
|
-
/**
|
73
|
-
* Проверяет, является ли простой объект константным. Если объект является таковым, для него не нужно выполнять
|
74
|
-
* copy-on-write.
|
75
|
-
*
|
76
|
-
* @returns Возвращает `true`, если
|
77
|
-
* 1. Все поля объекта - конст.
|
78
|
-
* 2. Типы всех полей либо не являются простыми объектами, либо являются константными простыми объектами.
|
79
|
-
*/
|
80
|
-
isConstantPlainObject(entity: StructuredTypeEntity, entitiesBeingChecked?: Set<StructuredTypeEntity>): boolean;
|
81
|
-
ifProxiedTypeVariableThenProxyTag(entity: TypeVariableEntity): tags.Tag | undefined;
|
82
|
-
getProxyTypeVariable(proxiedVariable: TypeVariableEntity): TypeVariableEntity;
|
83
|
-
private tryGetEmitterPackage;
|
84
|
-
private createPackageByPackageMember;
|
85
|
-
private createRegisteredEntityNamesForCompilation;
|
7
|
+
readonly entityMap: EntityMap;
|
8
|
+
readonly type: TypeUtils;
|
9
|
+
readonly standardTypes: StandardTypes;
|
10
|
+
constructor(analyzer: Analyzer, entityMap: EntityMap);
|
11
|
+
createIdentitySubstitutedType(entity: TypeOrExtensionEntity): Type;
|
12
|
+
unaliasTypeEntity(typeEntity: TypeOrExtensionEntity): Type;
|
86
13
|
}
|
87
|
-
|
88
|
-
export declare namespace ImportDirectivesCreationMode {
|
89
|
-
class OnlyJsLibrariesDependencies {
|
90
|
-
readonly kind = "only-js-libraries-dependencies";
|
91
|
-
}
|
92
|
-
class AllDependencies {
|
93
|
-
readonly package_: EmitterPackage;
|
94
|
-
readonly getArtelPackageImportPath: (p: EmitterPackage) => string;
|
95
|
-
readonly kind = "all-dependencies";
|
96
|
-
constructor(package_: EmitterPackage, getArtelPackageImportPath: (p: EmitterPackage) => string);
|
97
|
-
}
|
98
|
-
}
|
99
|
-
declare class Utils {
|
100
|
-
private readonly _ectx;
|
101
|
-
private _id;
|
102
|
-
constructor(_ectx: EmitterContext);
|
103
|
-
getOrderedCallArguments(callArguments: CallArguments): OrderedCallArguments;
|
104
|
-
orderCallArgumentsAccordingToParameters(callArguments: UnorderedCallArguments): OrderedCallArguments;
|
105
|
-
findOwnConstructorCall(body: BlockStatement): OwnConstructorCall | undefined;
|
106
|
-
findBaseConstructorCall(body: BlockStatement): BaseConstructorCall | undefined;
|
107
|
-
createUniqueLocalVariableEntity(locale: PackageLocale, type: types.Type): VariableEntity;
|
108
|
-
getBinaryExpressionOperatorFromAssignmentOperator(operator: AssignmentOperator): BinaryExpressionOperator;
|
109
|
-
generateId(): number;
|
110
|
-
createIdentitySubstitutedStructuredType(entity: StructuredTypeEntity): types.StructuredType;
|
111
|
-
createIdentitySubstitutedVariantType(entity: VariantTypeEntity): types.VariantType;
|
112
|
-
createInitializedTemporaryVariable(locale: PackageLocale, initializer: Expression, tempVariables?: VariableEntity[]): [VariableEntity, AssignmentExpression, VariableAccessExpression];
|
113
|
-
lowerOwnTypeVariableAccessExpression(expression: VariableAccessExpression): TypeVariableAccessExpression;
|
114
|
-
lowerOwnTypeMethodAccessExpression(expression: MethodAccessExpression): TypeMethodAccessExpression;
|
115
|
-
getPackageStructuredTypeRequired(originalName: string, packageEntity: PackageEntity): StructuredTypeEntity;
|
116
|
-
getPackageMethodRequired(originalName: string, packageEntity: PackageEntity): MethodEntity;
|
117
|
-
getTypeMethodRequired(originalName: string, type: TypeEntityWithMembers): TypeMethodEntity;
|
118
|
-
getTypeVariableRequired(originalName: string, type: TypeEntityWithMembers): TypeVariableEntity;
|
119
|
-
getTypeConstructorRequired(type: TypeEntityWithMembers): ConstructorEntity;
|
120
|
-
private createReceiverForOwnMemberAccess;
|
121
|
-
}
|
122
|
-
declare class Type {
|
123
|
-
private readonly _ectx;
|
124
|
-
private get standardTypes();
|
125
|
-
constructor(_ectx: EmitterContext);
|
126
|
-
ofExpression(expression: Expression): types.Type;
|
127
|
-
}
|
128
|
-
declare class GeneratedName {
|
129
|
-
ofMainFunction(locale: PackageLocale): string;
|
130
|
-
ofPackageConstructor(locale: PackageLocale, id: number): string;
|
131
|
-
ofPackageRunFunction(locale: PackageLocale, id: number): string;
|
132
|
-
ofPlainObjectConstructor(locale: PackageLocale, id: number): string;
|
133
|
-
ofExtensionConstructor(locale: PackageLocale): string;
|
134
|
-
ofExtensionMethodTargetParameter(locale: PackageLocale): string;
|
135
|
-
ofGlobalVariableGetter(locale: PackageLocale, originalName: string): string;
|
136
|
-
ofGlobalVariableSetter(locale: PackageLocale, originalName: string): string;
|
137
|
-
ofTypeVariableGetter(locale: PackageLocale, originalName: string): string;
|
138
|
-
ofTypeVariableSetter(locale: PackageLocale, originalName: string): string;
|
139
|
-
ofTypeIndexedElementGetter(locale: PackageLocale): string;
|
140
|
-
ofTypeIndexedElementSetter(locale: PackageLocale): string;
|
141
|
-
ofTypeDereferencedVariable(locale: PackageLocale): string;
|
142
|
-
ofTypeBackingVariable(locale: PackageLocale, originalName: string): string;
|
143
|
-
ofTempVariable(locale: PackageLocale, id: number): string;
|
144
|
-
ofDefaultImport(locale: PackageLocale, id: number): string;
|
145
|
-
ofNamespaceImport(locale: PackageLocale, id: number): string;
|
146
|
-
ofRefCountVariable(locale: PackageLocale): string;
|
147
|
-
ofAddReferenceMethod(locale: PackageLocale): string;
|
148
|
-
ofRemoveReferenceMethod(locale: PackageLocale): string;
|
149
|
-
ofShallowCopyMethod(locale: PackageLocale): string;
|
150
|
-
ofMergedConstructorIdParameter(locale: PackageLocale): string;
|
151
|
-
ofMergedConstructorParameter(locale: PackageLocale, id: number): string;
|
152
|
-
ofAnonymousType(locale: PackageLocale): string;
|
153
|
-
ofPlainObjectMethodNewThisVariable(locale: PackageLocale): string;
|
154
|
-
ofPlainObjectMethodResultNewThisProperty(locale: PackageLocale): string;
|
155
|
-
ofPlainObjectMethodResultResultProperty(locale: PackageLocale): string;
|
156
|
-
ofProxyVariable(locale: PackageLocale, originalName: string): string;
|
157
|
-
}
|
158
|
-
type OwnConstructorCall = {
|
159
|
-
expression: OwnConstructorCallExpression;
|
160
|
-
statementIndex: number;
|
161
|
-
};
|
162
|
-
type BaseConstructorCall = {
|
163
|
-
expression: BaseConstructorCallExpression;
|
164
|
-
statementIndex: number;
|
165
|
-
};
|
166
|
-
declare class ExtensionLikeMembers {
|
167
|
-
private readonly _ectx;
|
168
|
-
private readonly _methodSubstitutions;
|
169
|
-
private readonly _getterSubstitutions;
|
170
|
-
private readonly _setterSubstitutions;
|
171
|
-
private readonly _constructorSubstitutions;
|
172
|
-
constructor(_ectx: EmitterContext);
|
173
|
-
isExtensionLikeMethod(entity: TypeMethodEntity): ExtensionLikeMethodInfo | undefined;
|
174
|
-
isExtensionLikeConstructor(entity: ConstructorEntity): ExtensionLikeConstructorInfo | undefined;
|
175
|
-
isExtensionLikeVariable(entity: TypeVariableEntity): ExtensionLikeVariableInfo | undefined;
|
176
|
-
getMethodSubstitution(method: ExtensionLikeMethodInfo): TypeMethodEntity;
|
177
|
-
getConstructorSubstitution(constructor: ExtensionLikeConstructorInfo): TypeMethodEntity;
|
178
|
-
getVariableGetterSubstitution(variable: ExtensionLikeVariableInfo): TypeMethodEntity;
|
179
|
-
getVariableSetterSubstitution(variable: ExtensionLikeVariableInfo): TypeMethodEntity;
|
180
|
-
private ifContainerOfExtensionLikeMemberThenTargetType;
|
181
|
-
private createTargetParameter;
|
182
|
-
}
|
183
|
-
export declare class ExtensionLikeMethodInfo {
|
184
|
-
readonly entity: TypeMethodEntity;
|
185
|
-
readonly targetType: types.Type;
|
186
|
-
constructor(entity: TypeMethodEntity, targetType: types.Type);
|
187
|
-
}
|
188
|
-
export declare class ExtensionLikeConstructorInfo {
|
189
|
-
readonly entity: ConstructorEntity;
|
190
|
-
readonly targetType: types.Type;
|
191
|
-
constructor(entity: ConstructorEntity, targetType: types.Type);
|
192
|
-
}
|
193
|
-
export declare class ExtensionLikeVariableInfo {
|
194
|
-
readonly entity: TypeVariableEntity;
|
195
|
-
readonly targetType: types.Type;
|
196
|
-
constructor(entity: TypeVariableEntity, targetType: types.Type);
|
197
|
-
}
|
198
|
-
export declare class MembersForCopyOnWriteContext {
|
199
|
-
private readonly _ectx;
|
200
|
-
private readonly _membersForCopyOnWrite;
|
201
|
-
constructor(_ectx: EmitterContext);
|
202
|
-
ofType(entity: StructuredTypeEntity): MembersForCopyOnWrite;
|
203
|
-
private createReferenceCountField;
|
204
|
-
private createAddReferenceMethod;
|
205
|
-
private createRemoveReferenceMethod;
|
206
|
-
private createShallowCopyMethod;
|
207
|
-
private createIdentitySubstitutedType;
|
208
|
-
}
|
209
|
-
export declare class MembersForCopyOnWrite {
|
210
|
-
readonly referenceCountField: TypeVariableEntity;
|
211
|
-
readonly incrementReferenceCountMethod: TypeMethodEntity;
|
212
|
-
readonly decrementReferenceCountMethod: TypeMethodEntity;
|
213
|
-
readonly shallowCopyMethod: TypeMethodEntity;
|
214
|
-
constructor(referenceCountField: TypeVariableEntity, incrementReferenceCountMethod: TypeMethodEntity, decrementReferenceCountMethod: TypeMethodEntity, shallowCopyMethod: TypeMethodEntity);
|
215
|
-
}
|
216
|
-
export declare class OverloadedConstructorGroup {
|
217
|
-
private readonly _ectx;
|
218
|
-
readonly constructors: readonly ConstructorEntity[];
|
219
|
-
private readonly _containingType;
|
220
|
-
readonly mergedConstructor: ConstructorEntity;
|
221
|
-
constructor(_ectx: EmitterContext, constructors: readonly ConstructorEntity[], _containingType: TypeEntityWithMembers);
|
222
|
-
getOverloadId(constructor: ConstructorEntity): number;
|
223
|
-
private createMergedConstructor;
|
224
|
-
}
|
225
|
-
export declare class UniqueEntityNames {
|
226
|
-
private readonly _nameByEntity;
|
227
|
-
private readonly _uniqueNames;
|
228
|
-
get nameByEntity(): ReadonlyMap<Entity, string>;
|
229
|
-
constructor(uniqueNameByEntity?: ReadonlyMap<Entity, string>);
|
230
|
-
getName(entity: Entity): string;
|
231
|
-
registerEntity(entity: Entity, suggestedName: string): string;
|
232
|
-
registerEntity(entity: Entity, nameProvider: EntityNameProvider): string;
|
233
|
-
registerUniqueName(entity: Entity, uniqueName: string): void;
|
234
|
-
private generateUniqueName;
|
235
|
-
}
|
236
|
-
export declare class RealName {
|
237
|
-
private readonly _ectx;
|
238
|
-
static readonly RealNameArgumentName: string;
|
239
|
-
constructor(_ectx: EmitterContext);
|
240
|
-
ofEntity(entity: Entity): string | undefined;
|
241
|
-
private ofTypeMethod;
|
242
|
-
private ofTypeVariable;
|
243
|
-
ofMethod(entity: MethodEntity): string | undefined;
|
244
|
-
private getRealName;
|
245
|
-
private getLinkedTypeMethodOrPreserve;
|
246
|
-
private getLinkedTypeVariableOrPreserve;
|
247
|
-
}
|
248
|
-
export type NamedEntity = VariableEntity | VariantEntity | VariantTypeEntity | MethodEntity | TypeParameterEntity | MethodTypeEntity | StructuredTypeEntity | PackageAliasEntity | AliasTypeEntity;
|
249
|
-
declare class ExternalDeclarationLinker {
|
14
|
+
declare class TypeUtils {
|
250
15
|
private readonly _ectx;
|
251
|
-
private readonly _targetPlatform;
|
252
|
-
constructor(_ectx: EmitterContext, _targetPlatform: PlatformKind);
|
253
|
-
link(sourceFile: SourceFile): void;
|
254
|
-
getLinkedVariable(variable: VariableEntity): VariableEntity | undefined;
|
255
|
-
getLinkedTypeVariable(variable: TypeVariableEntity): TypeVariableEntity | undefined;
|
256
|
-
getLinkedMethod(method: MethodEntity): MethodEntity | undefined;
|
257
|
-
getLinkedTypeMethod(method: TypeMethodEntity): TypeMethodEntity | undefined;
|
258
|
-
getLinkedIndexer(indexer: IndexerEntity): IndexerEntity | undefined;
|
259
|
-
getLinkedConstructor(constructor: ConstructorEntity): ConstructorEntity | undefined;
|
260
|
-
getLinkedTypeEntity(entity: TypeEntity): TypeEntity | undefined;
|
261
|
-
getLinkedType(type: types.Type): types.Type | undefined;
|
262
|
-
private linkVariableAccessExpression;
|
263
|
-
private linkInstanceVariableAccessExpression;
|
264
|
-
private linkMethodAccessExpression;
|
265
|
-
private linkInstanceMethodAccessExpression;
|
266
|
-
private linkAsExpression;
|
267
|
-
private linkIsExpression;
|
268
|
-
private linkIndexedAccessExpression;
|
269
|
-
private linkConstructorCallExpression;
|
270
|
-
private linkBaseConstructorCallExpression;
|
271
|
-
private linkTypeAccessExpression;
|
272
|
-
private linkPackageTypeDeclarationBaseType;
|
273
|
-
private entityShouldBeLinked;
|
274
|
-
private aspectEntityShouldBeLinked;
|
275
|
-
private typeShouldBeLinked;
|
276
|
-
}
|
277
|
-
declare class HelperMethods {
|
278
|
-
private readonly _ectx;
|
279
|
-
private readonly _integerDivisionMethod;
|
280
|
-
private readonly _numberIsIntegerMethod;
|
281
|
-
private readonly _throwErrorMethod;
|
282
16
|
constructor(_ectx: EmitterContext);
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
private
|
288
|
-
|
289
|
-
|
290
|
-
private
|
291
|
-
private
|
292
|
-
private
|
293
|
-
private
|
294
|
-
private
|
295
|
-
private
|
296
|
-
private
|
297
|
-
private
|
298
|
-
private
|
299
|
-
private
|
300
|
-
|
301
|
-
get
|
302
|
-
get
|
303
|
-
get
|
304
|
-
get
|
305
|
-
get
|
306
|
-
get
|
307
|
-
get
|
308
|
-
get
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
private readonly _packageByPackageMember;
|
315
|
-
private readonly _entitiesFromArtel;
|
316
|
-
private readonly _entitiesFromJs;
|
317
|
-
get entitiesFromArtel(): ReadonlyMap<EmitterPackage, ReadonlySet<Entity>>;
|
318
|
-
get entitiesFromJs(): ReadonlyMap<JavaScriptImplementationConfig, ReadonlySet<PackageMemberEntity>>;
|
319
|
-
constructor(_analyzer: Analyzer, node: ir.SourceFile, packageByPackageMember: ReadonlyMap<Entity, EmitterPackage>);
|
320
|
-
private addPackageMember;
|
321
|
-
private addEntityFromArtel;
|
322
|
-
private addEntityFromJs;
|
323
|
-
}
|
324
|
-
export declare class ReferencedEntityFromJs {
|
325
|
-
readonly value: NamedEntity;
|
326
|
-
readonly isDefaultImport: boolean;
|
327
|
-
constructor(value: NamedEntity, isDefaultImport: boolean);
|
328
|
-
}
|
329
|
-
export declare class EntitiesImportedFromJs {
|
330
|
-
readonly libraryName: string;
|
331
|
-
readonly values: Map<Entity, ReferencedEntityFromJs>;
|
332
|
-
constructor(libraryName: string, values: Map<Entity, ReferencedEntityFromJs>);
|
333
|
-
}
|
334
|
-
export declare class DummyPackageEntity implements PackageEntity {
|
335
|
-
readonly kind = EntityKind.Package;
|
336
|
-
getName(): PackageName;
|
337
|
-
getLocale(): PackageLocale;
|
338
|
-
getMembers(): OriginalPackageMembers;
|
339
|
-
isInterface(): InterfacePackageEntityInfo | undefined;
|
340
|
-
getImplementedInterfacePackage(): PackageEntity | undefined;
|
341
|
-
getSupportedPlatforms(): readonly PlatformKind[];
|
342
|
-
getDefinition(): PackageEntityDefinition;
|
17
|
+
ofExpression(expression: Expression): Type;
|
18
|
+
private getTypeOfComputedAccess;
|
19
|
+
}
|
20
|
+
declare class StandardTypes {
|
21
|
+
private readonly _analyzer;
|
22
|
+
private readonly _entityMap;
|
23
|
+
private _none;
|
24
|
+
private _yesNo;
|
25
|
+
private _refObject;
|
26
|
+
private _plainObject;
|
27
|
+
private _number;
|
28
|
+
private _integer;
|
29
|
+
private _text;
|
30
|
+
private _char;
|
31
|
+
private _array;
|
32
|
+
private _method;
|
33
|
+
private _textTemplate;
|
34
|
+
private _reference;
|
35
|
+
get none(): Type;
|
36
|
+
get yesNo(): Type;
|
37
|
+
get refObject(): Type;
|
38
|
+
get plainObject(): Type;
|
39
|
+
get number(): Type;
|
40
|
+
get integer(): Type;
|
41
|
+
get text(): Type;
|
42
|
+
get char(): Type;
|
43
|
+
get array(): Type;
|
44
|
+
get method(): Type;
|
45
|
+
get textTemplate(): Type;
|
46
|
+
get reference(): Type;
|
47
|
+
constructor(_analyzer: Analyzer, _entityMap: EntityMap);
|
343
48
|
}
|
344
49
|
export {};
|