@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.
Files changed (74) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +3 -7
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +72 -265
  5. package/build/{chunk-6YO3VB2X.js → chunk-4LBH5LW4.js} +1 -1
  6. package/build/{chunk-46EEXYHP.js → chunk-NQCSWP3L.js} +2552 -4269
  7. package/build/{chunk-R55UIINW.js → chunk-WVQAJC2B.js} +2 -2
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +0 -1
  9. package/build/types/analysis/Analyzer.d.ts +11 -29
  10. package/build/types/analysis/BaseExpressionMeaning.d.ts +3 -14
  11. package/build/types/analysis/CallExpressionMeaning.d.ts +1 -11
  12. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -19
  13. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +2 -17
  14. package/build/types/analysis/ObjectExpressionMeaning.d.ts +0 -1
  15. package/build/types/analysis/ReductionSourceMemberFinder.d.ts +0 -1
  16. package/build/types/analysis/ResolvedImplementationPackage.d.ts +1 -3
  17. package/build/types/analysis/SourceFileAnalyzer.d.ts +1 -1
  18. package/build/types/analysis/SpecialNameKey.d.ts +32 -0
  19. package/build/types/analysis/TypeMemberConflictsValidator.d.ts +0 -1
  20. package/build/types/analysis/TypeMemberLookup.d.ts +1 -5
  21. package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +1 -1
  22. package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +2 -2
  23. package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +1 -6
  24. package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +2 -30
  25. package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +1 -5
  26. package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +2 -6
  27. package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +2 -6
  28. package/build/types/analysis/semantic-context/SpecialLocalDeclarationsBuilder.d.ts +0 -1
  29. package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +2 -17
  30. package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +1 -9
  31. package/build/types/common/Name.d.ts +3 -7
  32. package/build/types/diagnostic/DiagnosticCode.d.ts +177 -173
  33. package/build/types/emitter/EntityMap.d.ts +0 -1
  34. package/build/types/emitter/IrBuilder.d.ts +1 -2
  35. package/build/types/emitter/ir/Nodes.d.ts +24 -26
  36. package/build/types/entities/Entity.d.ts +2 -3
  37. package/build/types/entities/EntityLocalizationContext.d.ts +2 -3
  38. package/build/types/entities/OperatorKind.d.ts +20 -20
  39. package/build/types/entities/TypeEntityMembers.d.ts +2 -10
  40. package/build/types/entities/interfaces/FunctionEntity.d.ts +2 -1
  41. package/build/types/entities/interfaces/VariableEntity.d.ts +2 -2
  42. package/build/types/entities/interfaces/index.d.ts +0 -1
  43. package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +4 -2
  44. package/build/types/entities/intrinsic/IntrinsicStructuredTypeEntity.d.ts +3 -3
  45. package/build/types/entities/source/SourceFunctionEntity.d.ts +4 -1
  46. package/build/types/entities/source/index.d.ts +0 -1
  47. package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +2 -1
  48. package/build/types/entities/translated/index.d.ts +0 -1
  49. package/build/types/parser/TokenKind.d.ts +1 -2
  50. package/build/types/project/CompilationLoader.d.ts +3 -3
  51. package/build/types/project/SourcePackage.d.ts +3 -0
  52. package/build/types/project/configuration/ConfigurationConverter.d.ts +3 -5
  53. package/build/types/project/configuration/ConfigurationFileParser.d.ts +7 -6
  54. package/build/types/project/configuration/ConfigurationTranslator.d.ts +1 -3
  55. package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +1 -2
  56. package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +1 -2
  57. package/build/types/services/DisplayService.d.ts +5 -27
  58. package/build/types/services/NodeSemanticInfo.d.ts +1 -6
  59. package/build/types/services/signature-help/SignatureWithParameters.d.ts +1 -8
  60. package/build/types/services/workspace/CompilationController.d.ts +2 -2
  61. package/build/types/tree/BaseNode.d.ts +5 -5
  62. package/build/types/tree/Nodes.d.ts +7 -31
  63. package/build/types/tree/OperatorKind.d.ts +16 -17
  64. package/build/types/tree/SyntaxFactory.d.ts +0 -1
  65. package/build/types/tree/SyntaxToCode.d.ts +0 -1
  66. package/build/types/tree/TokenKind.d.ts +1 -2
  67. package/build/types/tree/index.d.ts +5 -5
  68. package/build/types/ts-interop/Entities.d.ts +3 -1
  69. package/build/types/types/TypeMembers.d.ts +3 -24
  70. package/package.json +1 -1
  71. package/build/types/analysis/OperatorAccessResolver.d.ts +0 -10
  72. package/build/types/entities/interfaces/OperatorEntity.d.ts +0 -25
  73. package/build/types/entities/source/SourceOperatorEntity.d.ts +0 -42
  74. 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, OperatorSemanticContext, 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';
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, OperatorKind, ParameterEntity, TypeParameterEntity } from '../../entities/index.js';
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, OperatorLookupResult, SemanticContextLookupState } from './SemanticContextBase.js';
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 { OperatorKind, PackageEntity, TextTranslationEntity, TypeEntity, TypeExtensionEntity } from '../../entities/index.js';
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, OperatorLookupResult, SemanticContextBase, SemanticContextLookupState, SubprogramInfo, TryStatementContextKind, TypeOrTypeExtension } from './SemanticContextBase.js';
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 { OperatorKind, ParameterEntity } from '../../entities/index.js';
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, OperatorLookupResult, SemanticContextLookupState, SubprogramInfo, TryStatementContextKind } from './SemanticContextBase.js';
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, OperatorLookupResult, SemanticContextLookupState, SubprogramInfo, TypeOrTypeExtension } from './SemanticContextBase.js';
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
- OverriddenMethodNotFound = 2054,
94
- ObjectCannotBeUsedInThisContext = 2055,
95
- OwnConstructorCannotBeCalledHere = 2056,
96
- BaseCannotBeUsedAsAnExpressionInItself = 2057,
97
- InterfacePackageMustNotContainImplementation = 2058,
98
- InterfacePackageVariablesMustNotHaveInitializers = 2059,
99
- BodyIsMissing = 2060,
100
- AbstractTypeMembersMustNotHaveBody = 2061,
101
- MembersOfAspectTypeMustNotHaveBody = 2062,
102
- AspectTypeFieldsMustBeAbstract = 2063,
103
- DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody = 2064,
104
- ReducedTypeMembersMustNotHaveBody = 2065,
105
- AbstractFieldsMustNotHaveInitializers = 2066,
106
- ReducedTypeFieldsMustNotHaveInitializers = 2067,
107
- PackageIsAlreadyImported = 2068,
108
- OnlySubprogramsWithReturnTypeCanReturnValue = 2069,
109
- FunctionsUsingYieldStatementCannotReturnValue = 2070,
110
- YieldStatementCannotBeUsedInAnonymousFunctions = 2071,
111
- YieldStatementCannotBeUsedHere = 2072,
112
- FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType = 2073,
113
- YieldStatementCannotBeUsedInTryStatementThatHasCatchClause = 2074,
114
- YieldStatementCannotBeUsedInFinallyBlock = 2075,
115
- SubprogramMustReturnValue = 2076,
116
- ResultVariableCannotBeUsedInFunctionsUsingYieldStatement = 2077,
117
- TypeAliasReferencesItself = 2078,
118
- ReducedTypeReferencesItself = 2079,
119
- TypeParameterHasCircularConstraint = 2080,
120
- BaseTypeCausesInheritanceCycle = 2081,
121
- OnlyGenericTypesAndFunctionsCanBeSpecialized = 2082,
122
- Expected0TypeArguments = 2083,
123
- ExpectedFrom0To1TypeArguments = 2084,
124
- Type0IsNotAssignableToConstraint1 = 2085,
125
- VariableIsDeclaredButItsValueIsNeverRead = 2086,
126
- FunctionIsDeclaredButNotUsed = 2087,
127
- TypeParameterIsDeclaredButNotUsed = 2088,
128
- DefaultConstructorArgumentsMustBeNamed = 2089,
129
- IncorrectBodyOfBasicAliasTypeMethod = 2090,
130
- TheFollowingDeclarationsAreNotTranslated0 = 2091,
131
- TheFollowingDeclarationsAreNotTranslated0And1More = 2092,
132
- TheFollowingTextsAreNotTranslated0 = 2093,
133
- TheFollowingTextsAreNotTranslated0And1More = 2094,
134
- OperatorFunction0MustNotHaveParameters = 2095,
135
- OperatorFunction0MustHaveOneParameter = 2096,
136
- OperatorFunction0MustHaveNoMoreThanOneParameter = 2097,
137
- CorrespondingBasicTypeMemberNotFound = 2098,
138
- AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier = 2099,
139
- TagNotFound = 2100,
140
- TypeOrFunctionNameExpected = 2101,
141
- PackageNameOrAliasExpected = 2102,
142
- ExpressionCanBeNull = 2103,
143
- TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator = 2104,
144
- UnreachableCode = 2105,
145
- RecursionOccurredWhileCalculatingTheTypeOfTheExpression = 2106,
146
- RecursionOccurredWhileInferringTheTypeOfTheVariable = 2107,
147
- ScopeAlreadyContainsDeclarationWithTheSameName = 2108,
148
- ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 2109,
149
- ParameterName0ConflictsWithAutomaticallyGeneratedVariableName = 2110,
150
- PackageAlreadyContainsDeclarationWithTheSameName = 2111,
151
- PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 2112,
152
- PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount = 2113,
153
- PackageAliasWithTheSameNameAlreadyExits = 2114,
154
- TypeAlreadyContainsDeclarationWithTheSameName = 2115,
155
- TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes = 2116,
156
- TypeAlreadyContainsConstructorWithTheSameParameterTypes = 2117,
157
- TypeAlreadyContainsOperatorFunctionWithTheSameParameterTypes = 2118,
158
- TypeAlreadyContainsIndexerWithTheSameParameterTypes = 2119,
159
- TypeCanHaveOnlyOneDestructor = 2120,
160
- TypeCanHaveOnlyOneDereferenceOperator = 2121,
161
- VariableIsUsedBeforeItsDeclaration = 2122,
162
- VariableMayNotHasBeenAssignedBeforeUsage = 2123,
163
- NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned = 2124,
164
- WriteFunctionHasNoCorrespondingReadFunction = 2125,
165
- TypeCannotHaveMultipleBaseObjectTypes = 2126,
166
- TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType = 2127,
167
- StructureCannotBeUsedAsBaseType = 2128,
168
- ThisTypeIsAlreadyListedInBaseTypeList = 2129,
169
- OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes = 2130,
170
- StructureCanHaveOnlyAspectsAsBaseTypes = 2131,
171
- AspectTypeCanHaveOnlyAspectsAsBaseTypes = 2132,
172
- ModifierListAlreadyContains0Modifier = 2133,
173
- ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier = 2134,
174
- _0ModifierIsNotAllowedHere = 2135,
175
- DeclarationCannotBePlacedInGroupHaving0Modifier = 2136,
176
- PackageConstructorDeclarationCannotHaveModifiers = 2137,
177
- PackageEntryPointDeclarationCannotHaveModifiers = 2138,
178
- TranslationsCannotHaveModifiers = 2139,
179
- AbstractModifierCanOnlyBeUsedInAbstractObjectTypes = 2140,
180
- BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases = 2141,
181
- OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes = 2142,
182
- _0ModifierCannotBeUsedWith1Modifier = 2143,
183
- VariantValueCannotBeHidden = 2144,
184
- BasicModifierCanOnlyBeAppliedToObjectTypes = 2145,
185
- AbstractModifierCanOnlyBeAppliedToObjectTypes = 2146,
186
- NotBasicObjectTypesCannotHaveBasicMembers = 2147,
187
- BasicModifierCannotBeAppliedToAspectTypeFields = 2148,
188
- WriteFunctionMustHaveTheSameModifiersAsReadFunction = 2149,
189
- WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction = 2150,
190
- DeclarationConflictsWithBaseTypeMember0 = 2151,
191
- DeclarationConflictsWithBaseTypeMember0AddOverrideModifier = 2152,
192
- DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden = 2153,
193
- DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 = 2154,
194
- DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 = 2155,
195
- OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 = 2156,
196
- OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync = 2157,
197
- OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync = 2158,
198
- OverridingFieldMustMustBeMutableToMatchBaseField0 = 2159,
199
- OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 = 2160,
200
- TypeDoesNotImplementMember0 = 2161,
201
- TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 = 2162,
202
- TypeDoesNotImplementMember0ImplicitImplementation1IsAsync = 2163,
203
- TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync = 2164,
204
- TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable = 2165,
205
- TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden = 2166,
206
- CannotAccessAbstractMemberOfBaseType = 2167,
207
- TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 = 2168,
208
- TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 = 2169,
209
- TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall = 2170,
210
- ThisCallCausesOwnConstructorCallCycle = 2171,
211
- OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock = 2172,
212
- BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock = 2173,
213
- Field0HasNoInitializerAndMayNotBeAssignedInConstructor = 2174,
214
- Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 2175,
215
- Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 2176,
216
- ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 = 2177,
217
- ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType = 2178,
218
- CannotInferTypeArguments = 2179,
219
- CanNotInferReturnTypeAddExplicitReturnTypeSpecifier = 2180,
220
- ImmutableVariablesBustBeInitialized = 2181,
221
- VariableTypeIsNotSpecified = 2182,
222
- CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter = 2183,
223
- TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters = 2184,
224
- RequiredTypeParametersCannotFollowTypeParametersWithDefaults = 2185,
225
- RequiredParametersCannotFollowOptionalParameters = 2186,
226
- ExpressionCannotBeReferenced = 2187,
227
- TextIsMissingAmongPrimaryTextTranslationDefinitions = 2188,
228
- DeclarationHasAlreadyBeenTranslated = 2189,
229
- TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters = 2190,
230
- TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters = 2191,
231
- TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName = 2192,
232
- TranslationOfFunctionTypeMustIncludeParameterList = 2193,
233
- OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary = 2194,
234
- Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 = 2195,
235
- TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 = 2196,
236
- TranslatedOverridingMember0MustTheSameNameAsBaseMember1 = 2197,
237
- TextTranslationAlreadyExistsInTheTextTranslationPackage = 2198,
238
- PackageDoesNotContainImplementationOf0 = 2199,
239
- TypeDoesNotContainImplementationOf0 = 2200,
240
- ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0 = 2201,
241
- ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 = 2202,
242
- ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 = 2203,
243
- ImplementationTypeMustBeBasicToMatchInterfacePackageType0 = 2204,
244
- ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0 = 2205,
245
- ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0 = 2206,
246
- ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0 = 2207,
247
- ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 = 2208,
248
- BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop = 2209,
249
- BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock = 2210,
250
- TheCodeWasExpectedToBeUnreachable = 2211,
251
- CorrespondingReductionSourceTypeMemberNotFound = 2212,
252
- OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified = 2213,
253
- ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember = 2214,
254
- ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember = 2215,
255
- ReducedTypeFieldMustBeImmutableToMatchReductionSourceField = 2216,
256
- ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod = 2217,
257
- ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod = 2218,
258
- ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember = 2219,
259
- StructureFieldsMustBeImmutable = 2220,
260
- StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable = 2221,
261
- FieldTypeCausesRecursiveStructureLayout = 2222,
262
- QuestionOperatorCanBeUsedOnlyInSpecificExpressions = 2223,
263
- BaseTypeListMustNotBeEmpty = 2224,
264
- ObjectParameterMustBeTheFirstParameter = 2225,
265
- ObjectParameterCannotBeDeclaredHere = 2226,
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 createAccessedFunctionFromOperator;
122
+ private createAccessedFunctionFromOperatorMethod;
124
123
  private expressionIsCallee;
125
124
  private generateLoopLabel;
126
125
  private buildTextTranslationDeclarationList;