@artel/artc 0.6.26016 → 0.6.26018
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 +3 -7
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +72 -265
- package/build/{chunk-6YO3VB2X.js → chunk-4LBH5LW4.js} +1 -1
- package/build/{chunk-46EEXYHP.js → chunk-NQCSWP3L.js} +2552 -4269
- package/build/{chunk-R55UIINW.js → chunk-WVQAJC2B.js} +2 -2
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +0 -1
- package/build/types/analysis/Analyzer.d.ts +11 -29
- package/build/types/analysis/BaseExpressionMeaning.d.ts +3 -14
- package/build/types/analysis/CallExpressionMeaning.d.ts +1 -11
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -19
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +2 -17
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +0 -1
- package/build/types/analysis/ReductionSourceMemberFinder.d.ts +0 -1
- package/build/types/analysis/ResolvedImplementationPackage.d.ts +1 -3
- package/build/types/analysis/SourceFileAnalyzer.d.ts +1 -1
- package/build/types/analysis/SpecialNameKey.d.ts +32 -0
- package/build/types/analysis/TypeMemberConflictsValidator.d.ts +0 -1
- package/build/types/analysis/TypeMemberLookup.d.ts +1 -5
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +1 -1
- package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +2 -2
- package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +1 -6
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +2 -30
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +1 -5
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +2 -6
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +2 -6
- package/build/types/analysis/semantic-context/SpecialLocalDeclarationsBuilder.d.ts +0 -1
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +2 -17
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +1 -9
- package/build/types/common/Name.d.ts +3 -7
- package/build/types/diagnostic/DiagnosticCode.d.ts +177 -173
- package/build/types/emitter/EntityMap.d.ts +0 -1
- package/build/types/emitter/IrBuilder.d.ts +1 -2
- package/build/types/emitter/ir/Nodes.d.ts +24 -26
- package/build/types/entities/Entity.d.ts +2 -3
- package/build/types/entities/EntityLocalizationContext.d.ts +2 -3
- package/build/types/entities/OperatorKind.d.ts +20 -20
- package/build/types/entities/TypeEntityMembers.d.ts +2 -10
- package/build/types/entities/interfaces/FunctionEntity.d.ts +2 -1
- package/build/types/entities/interfaces/VariableEntity.d.ts +2 -2
- package/build/types/entities/interfaces/index.d.ts +0 -1
- package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +4 -2
- package/build/types/entities/intrinsic/IntrinsicStructuredTypeEntity.d.ts +3 -3
- package/build/types/entities/source/SourceFunctionEntity.d.ts +4 -1
- package/build/types/entities/source/index.d.ts +0 -1
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +2 -1
- package/build/types/entities/translated/index.d.ts +0 -1
- package/build/types/parser/TokenKind.d.ts +1 -2
- package/build/types/project/CompilationLoader.d.ts +3 -3
- package/build/types/project/SourcePackage.d.ts +3 -0
- package/build/types/project/configuration/ConfigurationConverter.d.ts +3 -5
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +7 -6
- package/build/types/project/configuration/ConfigurationTranslator.d.ts +1 -3
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +1 -2
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +1 -2
- package/build/types/services/DisplayService.d.ts +5 -27
- package/build/types/services/NodeSemanticInfo.d.ts +1 -6
- package/build/types/services/signature-help/SignatureWithParameters.d.ts +1 -8
- package/build/types/services/workspace/CompilationController.d.ts +2 -2
- package/build/types/tree/BaseNode.d.ts +5 -5
- package/build/types/tree/Nodes.d.ts +7 -31
- package/build/types/tree/OperatorKind.d.ts +16 -17
- package/build/types/tree/SyntaxFactory.d.ts +0 -1
- package/build/types/tree/SyntaxToCode.d.ts +0 -1
- package/build/types/tree/TokenKind.d.ts +1 -2
- package/build/types/tree/index.d.ts +5 -5
- package/build/types/ts-interop/Entities.d.ts +3 -1
- package/build/types/types/TypeMembers.d.ts +3 -24
- package/package.json +1 -1
- package/build/types/analysis/OperatorAccessResolver.d.ts +0 -10
- package/build/types/entities/interfaces/OperatorEntity.d.ts +0 -25
- package/build/types/entities/source/SourceOperatorEntity.d.ts +0 -42
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +0 -54
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as tree from '../../tree/index.js';
|
|
2
2
|
import { Analyzer } from '../Analyzer.js';
|
|
3
3
|
import { FunctionDeclaration, FunctionTypeDeclaration, IndexedElementAccessorDeclaration, PackageTypeDeclaration, RegularOrBlockFunctionLiteral, SubprogramDeclarationOrLiteral } from '../NodeTypeUtils.js';
|
|
4
|
-
import { CatchClauseSemanticContext, ConstructorSemanticContext, DestructorSemanticContext, ForStatementSemanticContext, FunctionLiteralSemanticContext, FunctionSemanticContext, IndexedElementAccessorSemanticContext,
|
|
4
|
+
import { CatchClauseSemanticContext, ConstructorSemanticContext, DestructorSemanticContext, ForStatementSemanticContext, FunctionLiteralSemanticContext, FunctionSemanticContext, IndexedElementAccessorSemanticContext, OutermostSemanticContextOfSubprogram, OutermostSemanticContextOfType, PackageConstructorSemanticContext, PackageEntryPointSemanticContext, ParametersOfFunctionTypeSemanticContext, SemanticContext, SemanticContextContainingTypeMember, SourceFileSemanticContext, SpecialLocalDeclarationSemanticContext, StatementBlockSemanticContext, SubprogramParameterListSemanticContext, SubprogramTypeParameterSemanticContext, TextTranslationFunctionDeclarationSemanticContext, TypeBodySemanticContext, TypeDeclarationCreatingSemanticContext, TypeDeclarationWithMemberBlock, TypeExtensionBodySemanticContext, TypeParametersOfTypeSemanticContext, VariableAccessorDeclaration, VariableAccessorSemanticContext } from '../semantic-context/index.js';
|
|
5
5
|
export declare class SemanticContextBuilder {
|
|
6
6
|
private readonly analyzer;
|
|
7
7
|
private readonly sourceFileContexts;
|
|
8
8
|
private readonly indexedElementAccessorContexts;
|
|
9
|
-
private readonly operatorContexts;
|
|
10
9
|
private readonly fieldWithInitializerContexts;
|
|
11
10
|
private readonly forStatementContexts;
|
|
12
11
|
private readonly catchClauseSemanticContexts;
|
|
@@ -39,8 +38,6 @@ export declare class SemanticContextBuilder {
|
|
|
39
38
|
ofFunctionDeclarationParameters(node: FunctionDeclaration): SubprogramParameterListSemanticContext;
|
|
40
39
|
ofFunctionDeclarationTypeParameters(node: FunctionDeclaration, typeParameterClause: tree.TypeParameterClause): SubprogramTypeParameterSemanticContext;
|
|
41
40
|
outermostSemanticContextOfFunctionDeclaration(node: FunctionDeclaration): FunctionSemanticContext;
|
|
42
|
-
ofOperatorDeclarationParameters(node: tree.OperatorDeclaration): SubprogramParameterListSemanticContext;
|
|
43
|
-
outermostSemanticContextOfOperatorDeclaration(node: tree.OperatorDeclaration): OperatorSemanticContext;
|
|
44
41
|
ofTypeDeclarationMemberBlock(typeDeclaration: TypeDeclarationWithMemberBlock, memberBlock: tree.TypeMemberDeclarationBlock): TypeBodySemanticContext;
|
|
45
42
|
ofFunctionTypeDeclarationParameters(node: FunctionTypeDeclaration): ParametersOfFunctionTypeSemanticContext;
|
|
46
43
|
outermostSemanticContextOfTypeDeclaration(node: TypeDeclarationCreatingSemanticContext): OutermostSemanticContextOfType;
|
|
@@ -75,7 +72,6 @@ export declare class SemanticContextBuilder {
|
|
|
75
72
|
private ofChildOfTypeDeclarationWithMemberBlock2;
|
|
76
73
|
private ofChildOfAnonymousFunctionTypeDeclaration;
|
|
77
74
|
private ofChildOfFunctionLiteral;
|
|
78
|
-
private ofOperatorDeclarationChild;
|
|
79
75
|
private ofConstructorDeclarationChild;
|
|
80
76
|
private ofDestructorDeclarationChild;
|
|
81
77
|
private ofIndexedElementGetterDeclarationChild;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Name } from '../../common/index.js';
|
|
2
2
|
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
|
3
|
-
import { LocalVariableEntity, NestedFunctionEntity,
|
|
3
|
+
import { LocalVariableEntity, NestedFunctionEntity, ParameterEntity, TypeParameterEntity } from '../../entities/index.js';
|
|
4
4
|
import * as tree from '../../tree/index.js';
|
|
5
|
-
import * as types from '../../types/index.js';
|
|
6
5
|
import { Analyzer } from '../Analyzer.js';
|
|
7
6
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
8
7
|
import { SemanticContext } from './SemanticContext.js';
|
|
9
|
-
import { NamedDeclarationLookupResult,
|
|
8
|
+
import { NamedDeclarationLookupResult, SemanticContextLookupState } from './SemanticContextBase.js';
|
|
10
9
|
import { SemanticContextWithParent } from './SemanticContextWithParent.js';
|
|
11
10
|
export interface NameConflictsValidator {
|
|
12
11
|
validateNameConflicts(diagnostics: DiagnosticAcceptor): void;
|
|
@@ -33,9 +32,6 @@ export declare abstract class SemanticContextValidatingNameConflictsBase extends
|
|
|
33
32
|
getOwnTypesOrContainersWithTypesByName(name: Name, _initialContext: SemanticContext): readonly TypeOrContainerWithTypes[];
|
|
34
33
|
getOwnNamedDeclarations(_initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupState: SemanticContextLookupState): readonly NamedDeclaration[];
|
|
35
34
|
getOwnNamedDeclarationsByName(name: Name, _initialContext: SemanticContext, _noInstanceMembers: boolean, lookupResult: NamedDeclarationLookupResult): void;
|
|
36
|
-
getOwnOperators(_initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupState: SemanticContextLookupState): readonly types.Operator[];
|
|
37
|
-
getOwnOperatorsByKind(_kind: OperatorKind, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: OperatorLookupResult): void;
|
|
38
|
-
getOwnOperatorsBySyntacticKind(_kind: tree.OperatorKind, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: OperatorLookupResult): void;
|
|
39
35
|
validateNameConflicts(diagnostics: DiagnosticAcceptor): void;
|
|
40
36
|
private getMemberEntityDictionary;
|
|
41
37
|
private validateNestedFunctionsConflicts;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Name } from '../../common/index.js';
|
|
2
2
|
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
|
3
|
-
import {
|
|
3
|
+
import { PackageEntity, TextTranslationEntity, TypeEntity, TypeExtensionEntity } from '../../entities/index.js';
|
|
4
4
|
import { SourceFile } from '../../project/SourceFile.js';
|
|
5
5
|
import * as tree from '../../tree/index.js';
|
|
6
|
-
import * as types from '../../types/index.js';
|
|
7
6
|
import { Analyzer } from '../Analyzer.js';
|
|
8
7
|
import { DiagnosticArgumentFactory } from '../DiagnosticArgumentFactory.js';
|
|
9
8
|
import { PackageMemberLookupContext } from '../PackageMemberLookup.js';
|
|
@@ -11,7 +10,7 @@ import { TextKey } from '../TextIdentity.js';
|
|
|
11
10
|
import { TypeMemberLookupContext } from '../TypeMemberLookup.js';
|
|
12
11
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
13
12
|
import { SemanticContext } from './SemanticContext.js';
|
|
14
|
-
import { NamedDeclarationLookupResult, ObjectVariableInfo,
|
|
13
|
+
import { NamedDeclarationLookupResult, ObjectVariableInfo, SemanticContextBase, SemanticContextLookupState, SubprogramInfo, TryStatementContextKind, TypeOrTypeExtension } from './SemanticContextBase.js';
|
|
15
14
|
export declare class SourceFileSemanticContext extends SemanticContextBase {
|
|
16
15
|
readonly kind = "source-file";
|
|
17
16
|
readonly outer: SemanticContext | undefined;
|
|
@@ -46,9 +45,6 @@ export declare class SourceFileSemanticContext extends SemanticContextBase {
|
|
|
46
45
|
getOwnTypesOrContainersWithTypesByName(name: Name, initialContext: SemanticContext): readonly TypeOrContainerWithTypes[];
|
|
47
46
|
getOwnNamedDeclarations(initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupState: SemanticContextLookupState): NamedDeclaration[];
|
|
48
47
|
getOwnNamedDeclarationsByName(name: Name, initialContext: SemanticContext, _noInstanceMembers: boolean, lookupResult: NamedDeclarationLookupResult): void;
|
|
49
|
-
getOwnOperators(_initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupState: SemanticContextLookupState): readonly types.Operator[];
|
|
50
|
-
getOwnOperatorsByKind(_kind: OperatorKind, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: OperatorLookupResult): void;
|
|
51
|
-
getOwnOperatorsBySyntacticKind(_kind: tree.OperatorKind, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: OperatorLookupResult): void;
|
|
52
48
|
getOwnTypeExtensionsByType(type: TypeEntity, initialContext: SemanticContext): TypeExtensionEntity[];
|
|
53
49
|
getTextTranslationEntityByTextKey(key: TextKey): readonly TextTranslationEntity[];
|
|
54
50
|
validateNameConflicts(diagnostics: DiagnosticAcceptor): void;
|
|
@@ -18,7 +18,6 @@ export declare class SpecialLocalDeclarationsBuilder {
|
|
|
18
18
|
static buildForFunctionLiteral(analyzer: Analyzer, node: tree.FunctionLiteral): readonly SpecialLocalDeclarationEntity[];
|
|
19
19
|
static buildForConstructorDeclaration(analyzer: Analyzer, node: tree.ConstructorDeclaration): readonly SpecialLocalDeclarationEntity[];
|
|
20
20
|
static buildForMethodDeclaration(analyzer: Analyzer, node: tree.MethodDeclaration): readonly SpecialLocalDeclarationEntity[];
|
|
21
|
-
static buildForOperatorDeclaration(analyzer: Analyzer, node: tree.OperatorDeclaration): readonly SpecialLocalDeclarationEntity[];
|
|
22
21
|
static buildForTextTranslationFunctionDeclaration(analyzer: Analyzer, node: tree.TextTranslationFunctionDeclaration): readonly SpecialLocalDeclarationEntity[];
|
|
23
22
|
}
|
|
24
23
|
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Name } from '../../common/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { ParameterEntity } from '../../entities/index.js';
|
|
3
3
|
import * as tree from '../../tree/index.js';
|
|
4
|
-
import * as types from '../../types/index.js';
|
|
5
4
|
import { Analyzer } from '../Analyzer.js';
|
|
6
5
|
import { DereferencedVariableAccessorDeclaration, FieldAccessorDeclaration, FunctionDeclaration, IndexedElementAccessorDeclaration, PackageVariableAccessorDeclaration, RegularOrBlockFunctionLiteral } from '../NodeTypeUtils.js';
|
|
7
6
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
8
7
|
import { SemanticContext } from './SemanticContext.js';
|
|
9
|
-
import { NamedDeclarationLookupResult, ObjectVariableInfo,
|
|
8
|
+
import { NamedDeclarationLookupResult, ObjectVariableInfo, SemanticContextLookupState, SubprogramInfo, TryStatementContextKind } from './SemanticContextBase.js';
|
|
10
9
|
import { SemanticContextWithParent } from './SemanticContextWithParent.js';
|
|
11
10
|
import { SourceFileSemanticContext } from './SourceFileSemanticContext.js';
|
|
12
11
|
import { SemanticContextContainingTypeMember } from './TypeSemanticContext.js';
|
|
@@ -32,9 +31,6 @@ export declare abstract class OutermostSemanticContextOfSubprogram extends Seman
|
|
|
32
31
|
getOwnTypesOrContainersWithTypesByName(_name: Name, _initialContext: SemanticContext): readonly TypeOrContainerWithTypes[];
|
|
33
32
|
getOwnNamedDeclarations(initialContext: SemanticContext, noInstanceMembers: boolean, lookupState: SemanticContextLookupState): readonly NamedDeclaration[];
|
|
34
33
|
getOwnNamedDeclarationsByName(name: Name, initialContext: SemanticContext, noInstanceMembers: boolean, lookupResult: NamedDeclarationLookupResult): void;
|
|
35
|
-
getOwnOperators(initialContext: SemanticContext, noInstanceMembers: boolean, lookupState: SemanticContextLookupState): readonly types.Operator[];
|
|
36
|
-
getOwnOperatorsByKind(kind: OperatorKind, initialContext: SemanticContext, noInstanceMembers: boolean, lookupResult: OperatorLookupResult): void;
|
|
37
|
-
getOwnOperatorsBySyntacticKind(kind: tree.OperatorKind, initialContext: SemanticContext, noInstanceMembers: boolean, lookupResult: OperatorLookupResult): void;
|
|
38
34
|
private convertNamedMember;
|
|
39
35
|
}
|
|
40
36
|
export declare class FunctionSemanticContext extends OutermostSemanticContextOfSubprogram {
|
|
@@ -69,17 +65,6 @@ export declare class PackageEntryPointSemanticContext extends OutermostSemanticC
|
|
|
69
65
|
getContainingSubprogram(): SubprogramInfo;
|
|
70
66
|
protected findObjectParameter(): ParameterEntity | undefined;
|
|
71
67
|
}
|
|
72
|
-
export declare class OperatorSemanticContext extends OutermostSemanticContextOfSubprogram {
|
|
73
|
-
readonly outer: SemanticContextContainingTypeMember;
|
|
74
|
-
protected readonly asContext: SemanticContext;
|
|
75
|
-
protected readonly analyzer: Analyzer;
|
|
76
|
-
private readonly node;
|
|
77
|
-
private readonly subprogramInfo;
|
|
78
|
-
constructor(analyzer: Analyzer, node: tree.OperatorDeclaration, outer: SemanticContextContainingTypeMember);
|
|
79
|
-
getContainingSubprogram(): SubprogramInfo;
|
|
80
|
-
isStatic(): boolean;
|
|
81
|
-
protected findObjectParameter(): ParameterEntity | undefined;
|
|
82
|
-
}
|
|
83
68
|
export declare class ConstructorSemanticContext extends OutermostSemanticContextOfSubprogram {
|
|
84
69
|
readonly outer: SemanticContextContainingTypeMember;
|
|
85
70
|
protected readonly asContext: SemanticContext;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { Name } from '../../common/index.js';
|
|
2
|
-
import { OperatorKind } from '../../entities/index.js';
|
|
3
2
|
import * as tree from '../../tree/index.js';
|
|
4
|
-
import * as types from '../../types/index.js';
|
|
5
3
|
import { Analyzer } from '../Analyzer.js';
|
|
6
4
|
import { FunctionTypeDeclaration, StructuredTypeDeclaration, TypeDeclaration, VariantTypeDeclaration } from '../NodeTypeUtils.js';
|
|
7
5
|
import { TypeMemberLookup, TypeMemberLookupContext } from '../TypeMemberLookup.js';
|
|
8
6
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
9
7
|
import { SemanticContext } from './SemanticContext.js';
|
|
10
|
-
import { NamedDeclarationLookupResult, ObjectVariableInfo,
|
|
8
|
+
import { NamedDeclarationLookupResult, ObjectVariableInfo, SemanticContextLookupState, SubprogramInfo, TypeOrTypeExtension } from './SemanticContextBase.js';
|
|
11
9
|
import { MemberOfSemanticContextValidatingNameConflicts, MemberOfSemanticContextValidatingNameConflictsForTypeLookup, SemanticContextValidatingNameConflictsBase } from './SemanticContextValidatingNameConflicts.js';
|
|
12
10
|
import { SemanticContextWithParent } from './SemanticContextWithParent.js';
|
|
13
11
|
import { SourceFileSemanticContext } from './SourceFileSemanticContext.js';
|
|
@@ -34,9 +32,6 @@ export declare class OutermostSemanticContextOfType extends SemanticContextWithP
|
|
|
34
32
|
getOwnTypesOrContainersWithTypesByName(_name: Name, _initialContext: SemanticContext): readonly TypeOrContainerWithTypes[];
|
|
35
33
|
getOwnNamedDeclarations(_initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupState: SemanticContextLookupState): readonly NamedDeclaration[];
|
|
36
34
|
getOwnNamedDeclarationsByName(_name: Name, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: SemanticContextLookupState): void;
|
|
37
|
-
getOwnOperators(_initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupState: SemanticContextLookupState): readonly types.Operator[];
|
|
38
|
-
getOwnOperatorsByKind(_kind: OperatorKind, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: OperatorLookupResult): void;
|
|
39
|
-
getOwnOperatorsBySyntacticKind(_kind: tree.OperatorKind, _initialContext: SemanticContext, _noInstanceMembers: boolean, _lookupResult: OperatorLookupResult): void;
|
|
40
35
|
private getContainingType;
|
|
41
36
|
}
|
|
42
37
|
type TypeDeclarationWithTypeParameters = TypeDeclaration & tree.TypeParameterClauseParent;
|
|
@@ -56,9 +51,6 @@ declare abstract class TypeOrExtensionBodySemanticContext extends SemanticContex
|
|
|
56
51
|
getOwnTypesOrContainersWithTypesByName(_name: Name, _initialContext: SemanticContext): readonly TypeOrContainerWithTypes[];
|
|
57
52
|
getOwnNamedDeclarations(initialContext: SemanticContext, noInstanceMembers: boolean, lookupState: SemanticContextLookupState): readonly NamedDeclaration[];
|
|
58
53
|
getOwnNamedDeclarationsByName(name: Name, initialContext: SemanticContext, noInstanceMembers: boolean, lookupResult: NamedDeclarationLookupResult): void;
|
|
59
|
-
getOwnOperators(initialContext: SemanticContext, noInstanceMembers: boolean | undefined, lookupState: SemanticContextLookupState): readonly types.Operator[];
|
|
60
|
-
getOwnOperatorsByKind(kind: OperatorKind, initialContext: SemanticContext, noInstanceMembers: boolean | undefined, lookupResult: OperatorLookupResult): void;
|
|
61
|
-
getOwnOperatorsBySyntacticKind(kind: tree.OperatorKind, initialContext: SemanticContext, noInstanceMembers: boolean | undefined, lookupResult: OperatorLookupResult): void;
|
|
62
54
|
private convertNamedMember;
|
|
63
55
|
}
|
|
64
56
|
export type SemanticContextContainingTypeMember = TypeBodySemanticContext | TypeExtensionBodySemanticContext;
|
|
@@ -25,11 +25,7 @@ export declare const enum NameFlags {
|
|
|
25
25
|
/**
|
|
26
26
|
* Конвертировать имя в формат kebab case при формировании исходного имени.
|
|
27
27
|
*/
|
|
28
|
-
PreferKebabCase = 32
|
|
29
|
-
/**
|
|
30
|
-
* Параметр с именем 'объект'.
|
|
31
|
-
*/
|
|
32
|
-
ObjectParameterName = 64
|
|
28
|
+
PreferKebabCase = 32
|
|
33
29
|
}
|
|
34
30
|
export declare class Name implements Displayable {
|
|
35
31
|
static readonly objectParameterNameKey = "-object";
|
|
@@ -65,13 +61,13 @@ export declare class Name implements Displayable {
|
|
|
65
61
|
* @param unescapedOriginalWithoutQuotes Исходное имя без апострофов, одиночных кавычек и экранирования.
|
|
66
62
|
* @param flags Флаги имени (`NameFlags`). `NameFlags.None` по умолчанию.
|
|
67
63
|
*/
|
|
68
|
-
constructor(unescapedOriginalWithoutQuotes: string, flags?: NameFlags);
|
|
64
|
+
constructor(unescapedOriginalWithoutQuotes: string, flags?: NameFlags, specialKey?: string);
|
|
69
65
|
toConflictResolvingParameterName(): Name;
|
|
70
66
|
toBackingVariableName(): Name;
|
|
71
67
|
considerEqual(other: Name, considerBackQuotes?: boolean): boolean;
|
|
72
68
|
toString(): string;
|
|
73
69
|
getPreferredUnescapedOriginal(flags: NameFlags): string;
|
|
74
70
|
getDisplayText(): string;
|
|
75
|
-
static parse(original: string, initialFlags?: NameFlags): Name;
|
|
71
|
+
static parse(original: string, initialFlags?: NameFlags, specialKey?: string): Name;
|
|
76
72
|
private static toUnescapedOriginal;
|
|
77
73
|
}
|
|
@@ -90,179 +90,183 @@ export declare enum DiagnosticCode {
|
|
|
90
90
|
TranslationsCanOnlyBeDeclaredInTranslationPackage = 2051,
|
|
91
91
|
UnknownTranslatingPackage0 = 2052,
|
|
92
92
|
BaseCannotBeUsedInThisContext = 2053,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
93
|
+
BaseCannotBeUsedInStaticContext = 2054,
|
|
94
|
+
OverriddenMethodNotFound = 2055,
|
|
95
|
+
ObjectCannotBeUsedInThisContext = 2056,
|
|
96
|
+
ObjectCannotBeUsedInStaticContext = 2057,
|
|
97
|
+
OwnConstructorCannotBeCalledHere = 2058,
|
|
98
|
+
BaseCannotBeUsedAsAnExpressionInItself = 2059,
|
|
99
|
+
InterfacePackageMustNotContainImplementation = 2060,
|
|
100
|
+
InterfacePackageVariablesMustNotHaveInitializers = 2061,
|
|
101
|
+
BodyIsMissing = 2062,
|
|
102
|
+
AbstractTypeMembersMustNotHaveBody = 2063,
|
|
103
|
+
MembersOfAspectTypeMustNotHaveBody = 2064,
|
|
104
|
+
AspectTypeFieldsMustBeAbstract = 2065,
|
|
105
|
+
DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody = 2066,
|
|
106
|
+
ReducedTypeMembersMustNotHaveBody = 2067,
|
|
107
|
+
AbstractFieldsMustNotHaveInitializers = 2068,
|
|
108
|
+
ReducedTypeFieldsMustNotHaveInitializers = 2069,
|
|
109
|
+
PackageIsAlreadyImported = 2070,
|
|
110
|
+
OnlySubprogramsWithReturnTypeCanReturnValue = 2071,
|
|
111
|
+
FunctionsUsingYieldStatementCannotReturnValue = 2072,
|
|
112
|
+
YieldStatementCannotBeUsedInAnonymousFunctions = 2073,
|
|
113
|
+
YieldStatementCannotBeUsedHere = 2074,
|
|
114
|
+
FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType = 2075,
|
|
115
|
+
YieldStatementCannotBeUsedInTryStatementThatHasCatchClause = 2076,
|
|
116
|
+
YieldStatementCannotBeUsedInFinallyBlock = 2077,
|
|
117
|
+
SubprogramMustReturnValue = 2078,
|
|
118
|
+
ResultVariableCannotBeUsedInFunctionsUsingYieldStatement = 2079,
|
|
119
|
+
TypeAliasReferencesItself = 2080,
|
|
120
|
+
ReducedTypeReferencesItself = 2081,
|
|
121
|
+
TypeParameterHasCircularConstraint = 2082,
|
|
122
|
+
BaseTypeCausesInheritanceCycle = 2083,
|
|
123
|
+
OnlyGenericTypesAndFunctionsCanBeSpecialized = 2084,
|
|
124
|
+
Expected0TypeArguments = 2085,
|
|
125
|
+
ExpectedFrom0To1TypeArguments = 2086,
|
|
126
|
+
Type0IsNotAssignableToConstraint1 = 2087,
|
|
127
|
+
VariableIsDeclaredButItsValueIsNeverRead = 2088,
|
|
128
|
+
FunctionIsDeclaredButNotUsed = 2089,
|
|
129
|
+
TypeParameterIsDeclaredButNotUsed = 2090,
|
|
130
|
+
DefaultConstructorArgumentsMustBeNamed = 2091,
|
|
131
|
+
IncorrectBodyOfBasicAliasTypeMethod = 2092,
|
|
132
|
+
TheFollowingDeclarationsAreNotTranslated0 = 2093,
|
|
133
|
+
TheFollowingDeclarationsAreNotTranslated0And1More = 2094,
|
|
134
|
+
TheFollowingTextsAreNotTranslated0 = 2095,
|
|
135
|
+
TheFollowingTextsAreNotTranslated0And1More = 2096,
|
|
136
|
+
OperatorFunction0MustNotHaveParameters = 2097,
|
|
137
|
+
OperatorFunction0MustHaveOneParameter = 2098,
|
|
138
|
+
OperatorFunction0MustHaveNoMoreThanOneParameter = 2099,
|
|
139
|
+
CorrespondingBasicTypeMemberNotFound = 2100,
|
|
140
|
+
AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier = 2101,
|
|
141
|
+
TagNotFound = 2102,
|
|
142
|
+
TypeOrFunctionNameExpected = 2103,
|
|
143
|
+
PackageNameOrAliasExpected = 2104,
|
|
144
|
+
ExpressionCanBeNull = 2105,
|
|
145
|
+
TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator = 2106,
|
|
146
|
+
UnreachableCode = 2107,
|
|
147
|
+
RecursionOccurredWhileCalculatingTheTypeOfTheExpression = 2108,
|
|
148
|
+
RecursionOccurredWhileInferringTheTypeOfTheVariable = 2109,
|
|
149
|
+
ScopeAlreadyContainsDeclarationWithTheSameName = 2110,
|
|
150
|
+
ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 2111,
|
|
151
|
+
ParameterName0ConflictsWithAutomaticallyGeneratedVariableName = 2112,
|
|
152
|
+
PackageAlreadyContainsDeclarationWithTheSameName = 2113,
|
|
153
|
+
PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 2114,
|
|
154
|
+
PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount = 2115,
|
|
155
|
+
PackageAliasWithTheSameNameAlreadyExits = 2116,
|
|
156
|
+
TypeAlreadyContainsDeclarationWithTheSameName = 2117,
|
|
157
|
+
TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes = 2118,
|
|
158
|
+
TypeAlreadyContainsConstructorWithTheSameParameterTypes = 2119,
|
|
159
|
+
TypeAlreadyContainsIndexerWithTheSameParameterTypes = 2120,
|
|
160
|
+
TypeCanHaveOnlyOneDestructor = 2121,
|
|
161
|
+
TypeCanHaveOnlyOneDereferenceOperator = 2122,
|
|
162
|
+
VariableIsUsedBeforeItsDeclaration = 2123,
|
|
163
|
+
VariableMayNotHasBeenAssignedBeforeUsage = 2124,
|
|
164
|
+
NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned = 2125,
|
|
165
|
+
WriteFunctionHasNoCorrespondingReadFunction = 2126,
|
|
166
|
+
TypeCannotHaveMultipleBaseObjectTypes = 2127,
|
|
167
|
+
TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType = 2128,
|
|
168
|
+
StructureCannotBeUsedAsBaseType = 2129,
|
|
169
|
+
ThisTypeIsAlreadyListedInBaseTypeList = 2130,
|
|
170
|
+
OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes = 2131,
|
|
171
|
+
StructureCanHaveOnlyAspectsAsBaseTypes = 2132,
|
|
172
|
+
AspectTypeCanHaveOnlyAspectsAsBaseTypes = 2133,
|
|
173
|
+
ModifierListAlreadyContains0Modifier = 2134,
|
|
174
|
+
ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier = 2135,
|
|
175
|
+
_0ModifierIsNotAllowedHere = 2136,
|
|
176
|
+
DeclarationCannotBePlacedInGroupHaving0Modifier = 2137,
|
|
177
|
+
PackageConstructorDeclarationCannotHaveModifiers = 2138,
|
|
178
|
+
PackageEntryPointDeclarationCannotHaveModifiers = 2139,
|
|
179
|
+
TranslationsCannotHaveModifiers = 2140,
|
|
180
|
+
AbstractModifierCanOnlyBeUsedInAbstractObjectTypes = 2141,
|
|
181
|
+
BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases = 2142,
|
|
182
|
+
OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes = 2143,
|
|
183
|
+
_0ModifierCannotBeUsedWith1Modifier = 2144,
|
|
184
|
+
VariantValueCannotBeHidden = 2145,
|
|
185
|
+
BasicModifierCanOnlyBeAppliedToObjectTypes = 2146,
|
|
186
|
+
AbstractModifierCanOnlyBeAppliedToObjectTypes = 2147,
|
|
187
|
+
NotBasicObjectTypesCannotHaveBasicMembers = 2148,
|
|
188
|
+
BasicModifierCannotBeAppliedToAspectTypeFields = 2149,
|
|
189
|
+
WriteFunctionMustHaveTheSameModifiersAsReadFunction = 2150,
|
|
190
|
+
WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction = 2151,
|
|
191
|
+
DeclarationConflictsWithBaseTypeMember0 = 2152,
|
|
192
|
+
DeclarationConflictsWithBaseTypeMember0AddOverrideModifier = 2153,
|
|
193
|
+
DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden = 2154,
|
|
194
|
+
DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 = 2155,
|
|
195
|
+
DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 = 2156,
|
|
196
|
+
OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 = 2157,
|
|
197
|
+
OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync = 2158,
|
|
198
|
+
OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync = 2159,
|
|
199
|
+
OverridingFieldMustMustBeMutableToMatchBaseField0 = 2160,
|
|
200
|
+
OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 = 2161,
|
|
201
|
+
TypeDoesNotImplementMember0 = 2162,
|
|
202
|
+
TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 = 2163,
|
|
203
|
+
TypeDoesNotImplementMember0ImplicitImplementation1IsAsync = 2164,
|
|
204
|
+
TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync = 2165,
|
|
205
|
+
TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable = 2166,
|
|
206
|
+
TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden = 2167,
|
|
207
|
+
CannotAccessAbstractMemberOfBaseType = 2168,
|
|
208
|
+
TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 = 2169,
|
|
209
|
+
TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 = 2170,
|
|
210
|
+
TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall = 2171,
|
|
211
|
+
ThisCallCausesOwnConstructorCallCycle = 2172,
|
|
212
|
+
OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock = 2173,
|
|
213
|
+
BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock = 2174,
|
|
214
|
+
Field0HasNoInitializerAndMayNotBeAssignedInConstructor = 2175,
|
|
215
|
+
Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 2176,
|
|
216
|
+
Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 2177,
|
|
217
|
+
ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 = 2178,
|
|
218
|
+
ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType = 2179,
|
|
219
|
+
CannotInferTypeArguments = 2180,
|
|
220
|
+
CanNotInferReturnTypeAddExplicitReturnTypeSpecifier = 2181,
|
|
221
|
+
ImmutableVariablesBustBeInitialized = 2182,
|
|
222
|
+
VariableTypeIsNotSpecified = 2183,
|
|
223
|
+
CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter = 2184,
|
|
224
|
+
TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters = 2185,
|
|
225
|
+
RequiredTypeParametersCannotFollowTypeParametersWithDefaults = 2186,
|
|
226
|
+
RequiredParametersCannotFollowOptionalParameters = 2187,
|
|
227
|
+
ExpressionCannotBeReferenced = 2188,
|
|
228
|
+
TextIsMissingAmongPrimaryTextTranslationDefinitions = 2189,
|
|
229
|
+
DeclarationHasAlreadyBeenTranslated = 2190,
|
|
230
|
+
TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters = 2191,
|
|
231
|
+
TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters = 2192,
|
|
232
|
+
TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName = 2193,
|
|
233
|
+
TranslationOfFunctionTypeMustIncludeParameterList = 2194,
|
|
234
|
+
OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary = 2195,
|
|
235
|
+
Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 = 2196,
|
|
236
|
+
TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 = 2197,
|
|
237
|
+
TranslatedOverridingMember0MustTheSameNameAsBaseMember1 = 2198,
|
|
238
|
+
TextTranslationAlreadyExistsInTheTextTranslationPackage = 2199,
|
|
239
|
+
PackageDoesNotContainImplementationOf0 = 2200,
|
|
240
|
+
TypeDoesNotContainImplementationOf0 = 2201,
|
|
241
|
+
ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0 = 2202,
|
|
242
|
+
ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 = 2203,
|
|
243
|
+
ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 = 2204,
|
|
244
|
+
ImplementationTypeMustBeBasicToMatchInterfacePackageType0 = 2205,
|
|
245
|
+
ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0 = 2206,
|
|
246
|
+
ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0 = 2207,
|
|
247
|
+
ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0 = 2208,
|
|
248
|
+
ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 = 2209,
|
|
249
|
+
BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop = 2210,
|
|
250
|
+
BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock = 2211,
|
|
251
|
+
TheCodeWasExpectedToBeUnreachable = 2212,
|
|
252
|
+
CorrespondingReductionSourceTypeMemberNotFound = 2213,
|
|
253
|
+
OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified = 2214,
|
|
254
|
+
ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember = 2215,
|
|
255
|
+
ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember = 2216,
|
|
256
|
+
ReducedTypeFieldMustBeImmutableToMatchReductionSourceField = 2217,
|
|
257
|
+
ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod = 2218,
|
|
258
|
+
ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod = 2219,
|
|
259
|
+
ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember = 2220,
|
|
260
|
+
StructureFieldsMustBeImmutable = 2221,
|
|
261
|
+
StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable = 2222,
|
|
262
|
+
FieldTypeCausesRecursiveStructureLayout = 2223,
|
|
263
|
+
QuestionOperatorCanBeUsedOnlyInSpecificExpressions = 2224,
|
|
264
|
+
BaseTypeListMustNotBeEmpty = 2225,
|
|
265
|
+
ObjectParameterMustBeTheFirstParameter = 2226,
|
|
266
|
+
ObjectParameterCannotBeDeclaredHere = 2227,
|
|
267
|
+
OperatorCannotBeAsync = 2228,
|
|
268
|
+
OperatorCannotContainTypeParameterDeclarations = 2229,
|
|
269
|
+
TypeNameExpectedAtLastQualifier = 2230,
|
|
266
270
|
CannotFindTsLibDirectoryBaseSearchPaths0 = 3000,
|
|
267
271
|
SourceFile0IsNotPartOfThePackageAndWontBeLoaded = 3001,
|
|
268
272
|
ProgramWithoutMainPackageCannotBeCompiled = 3002,
|
|
@@ -19,7 +19,6 @@ export declare class EntityMap {
|
|
|
19
19
|
constructor(analyzer: Analyzer, targetPlatform: PlatformKind);
|
|
20
20
|
getVariableEntity(entity: analyzerEntities.VariableEntity): emitterEntities.VariableEntity;
|
|
21
21
|
getNamedFunctionEntity(entity: analyzerEntities.NamedFunctionEntity): emitterEntities.FunctionEntity;
|
|
22
|
-
getOperatorEntity(entity: analyzerEntities.OperatorEntity): emitterEntities.FunctionEntity;
|
|
23
22
|
getConstructorEntity(entity: analyzerEntities.ConstructorEntity): emitterEntities.FunctionEntity;
|
|
24
23
|
getDestructorEntity(entity: analyzerEntities.DestructorEntity): emitterEntities.FunctionEntity;
|
|
25
24
|
getGetterEntity(entity: analyzerEntities.GetterEntity): emitterEntities.FunctionEntity;
|
|
@@ -51,7 +51,6 @@ export declare class IrBuilder {
|
|
|
51
51
|
private buildDereferencedVariableGetterDeclaration;
|
|
52
52
|
private buildDereferencedVariableSetterDeclaration;
|
|
53
53
|
private buildMethodDeclaration;
|
|
54
|
-
private buildOperatorDeclaration;
|
|
55
54
|
private buildFieldDeclaration;
|
|
56
55
|
private buildComputedFieldDeclaration;
|
|
57
56
|
private buildFieldGetterDeclarationRequired;
|
|
@@ -120,7 +119,7 @@ export declare class IrBuilder {
|
|
|
120
119
|
private buildAndSaveAnonymousTypeDeclaration;
|
|
121
120
|
private buildAnonymousStructuredTypeDeclaration;
|
|
122
121
|
private getUnderlyingTypeKind;
|
|
123
|
-
private
|
|
122
|
+
private createAccessedFunctionFromOperatorMethod;
|
|
124
123
|
private expressionIsCallee;
|
|
125
124
|
private generateLoopLabel;
|
|
126
125
|
private buildTextTranslationDeclarationList;
|