@artel/artc 0.6.25258 → 0.6.25260

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +28 -20
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +1266 -1217
  5. package/build/{chunk-642CVYPB.js → chunk-7FERF2MU.js} +11 -11
  6. package/build/{chunk-QAOTQQD7.js → chunk-RIIOVQBM.js} +14371 -13456
  7. package/build/{chunk-B5Z42ZT6.js → chunk-ZNXSVPQT.js} +1 -1
  8. package/build/types/analysis/AccessedFunction.d.ts +11 -11
  9. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +28 -28
  10. package/build/types/analysis/Analyzer.d.ts +184 -168
  11. package/build/types/analysis/ArgumentToParameterMatchResult.d.ts +9 -9
  12. package/build/types/analysis/ArgumentsToParametersMatcher.d.ts +8 -8
  13. package/build/types/analysis/AssignmentChecker.d.ts +4 -4
  14. package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +8 -6
  15. package/build/types/analysis/BaseExpressionMeaning.d.ts +5 -5
  16. package/build/types/analysis/BaseMemberConflictsValidator.d.ts +7 -7
  17. package/build/types/analysis/CallExpressionMeaning.d.ts +4 -6
  18. package/build/types/analysis/ConstructorCallResolver.d.ts +1 -1
  19. package/build/types/analysis/DeclarationsUsageCounter.d.ts +5 -5
  20. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +4 -4
  21. package/build/types/analysis/DiagnosticArgumentFactory.d.ts +2 -2
  22. package/build/types/analysis/DiagnosticCollector.d.ts +11 -9
  23. package/build/types/analysis/DisplayableEntity.d.ts +30 -30
  24. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +7 -7
  25. package/build/types/analysis/ImportedPackageNameTree.d.ts +1 -1
  26. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +4 -4
  27. package/build/types/analysis/InstanceFieldsInitializationValidator.d.ts +6 -6
  28. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +7 -7
  29. package/build/types/analysis/ModifierValidator.d.ts +3 -3
  30. package/build/types/analysis/NamedTypeResolver.d.ts +3 -3
  31. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +3 -3
  32. package/build/types/analysis/NodeTypeUtils.d.ts +1 -1
  33. package/build/types/analysis/ObjectExpressionMeaning.d.ts +2 -2
  34. package/build/types/analysis/OverloadResolver.d.ts +13 -13
  35. package/build/types/analysis/OwnAndBaseConstructorCallsChecker.d.ts +5 -5
  36. package/build/types/analysis/PackageAndStaticVariablesInitializationValidator.d.ts +5 -5
  37. package/build/types/analysis/PackageMemberLookup.d.ts +2 -2
  38. package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +7 -7
  39. package/build/types/analysis/ReturnTypeInferrer.d.ts +4 -4
  40. package/build/types/analysis/SourceFileMembers.d.ts +6 -6
  41. package/build/types/analysis/SourcePackageDependencyGraph.d.ts +3 -3
  42. package/build/types/analysis/SubstitutedFunction.d.ts +8 -8
  43. package/build/types/analysis/TagMeaning.d.ts +4 -4
  44. package/build/types/analysis/Tags.d.ts +8 -7
  45. package/build/types/analysis/{Localization.d.ts → Translation.d.ts} +1 -23
  46. package/build/types/analysis/TypeArgumentInferrer.d.ts +9 -9
  47. package/build/types/analysis/TypeInferrer.d.ts +4 -4
  48. package/build/types/analysis/TypeMemberConflictsValidator.d.ts +4 -4
  49. package/build/types/analysis/TypeMemberImplementationChecker.d.ts +3 -3
  50. package/build/types/analysis/TypeMemberLookup.d.ts +7 -7
  51. package/build/types/analysis/TypeNarrower.d.ts +7 -7
  52. package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +6 -6
  53. package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +3 -3
  54. package/build/types/analysis/Utils.d.ts +1 -2
  55. package/build/types/analysis/WellKnownDeclarations.d.ts +32 -32
  56. package/build/types/analysis/control-flow/GraphBuilder.d.ts +11 -11
  57. package/build/types/analysis/control-flow/NarrowableReference.d.ts +10 -10
  58. package/build/types/analysis/semantic-context/Declarations.d.ts +0 -24
  59. package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +2 -2
  60. package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +23 -22
  61. package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +4 -4
  62. package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +25 -25
  63. package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +9 -9
  64. package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +8 -8
  65. package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +27 -27
  66. package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +9 -9
  67. package/build/types/api/Api.d.ts +2 -2
  68. package/build/types/common/Cached.d.ts +3 -3
  69. package/build/types/common/CancellationToken.d.ts +2 -2
  70. package/build/types/common/Delayed.d.ts +2 -2
  71. package/build/types/common/Displayable.d.ts +3 -3
  72. package/build/types/common/HelperPhrases.d.ts +2 -1
  73. package/build/types/common/Interner.d.ts +1 -1
  74. package/build/types/common/Lazy.d.ts +3 -3
  75. package/build/types/common/Option.d.ts +2 -2
  76. package/build/types/common/PerformanceMeasurement.d.ts +2 -2
  77. package/build/types/common/Query.d.ts +15 -0
  78. package/build/types/common/ThrottledCancellationToken.d.ts +6 -6
  79. package/build/types/common/TreeQuery.d.ts +2 -5
  80. package/build/types/diagnostic/DiagnosticCode.d.ts +142 -139
  81. package/build/types/diagnostic/DiagnosticData.d.ts +3 -3
  82. package/build/types/diagnostic/RangeDiagnostic.d.ts +3 -3
  83. package/build/types/emitter/DebugStack.d.ts +2 -2
  84. package/build/types/emitter/Emitter.d.ts +5 -5
  85. package/build/types/emitter/EmitterContext.d.ts +21 -21
  86. package/build/types/emitter/EntityMap.d.ts +8 -8
  87. package/build/types/emitter/GeneralLowering.d.ts +2 -2
  88. package/build/types/emitter/IrBuilder.d.ts +10 -10
  89. package/build/types/emitter/IrToJs.d.ts +5 -5
  90. package/build/types/emitter/Transformer.d.ts +5 -5
  91. package/build/types/emitter/ir/EmitOptions.d.ts +27 -13
  92. package/build/types/emitter/ir/Nodes.d.ts +28 -27
  93. package/build/types/emitter/ir/types.d.ts +2 -2
  94. package/build/types/entities/AliasTypeEntity.d.ts +15 -12
  95. package/build/types/entities/AliasedType.d.ts +2 -2
  96. package/build/types/entities/BaseAspectTypes.d.ts +31 -0
  97. package/build/types/entities/BaseEntityHidingMatcher.d.ts +1 -1
  98. package/build/types/entities/BaseObjectType.d.ts +31 -0
  99. package/build/types/entities/ConstructorEntity.d.ts +51 -38
  100. package/build/types/entities/DereferenceOperatorEntity.d.ts +19 -13
  101. package/build/types/entities/DestructorEntity.d.ts +21 -14
  102. package/build/types/entities/EntityHidingMatcherWithinTypeEntity.d.ts +2 -2
  103. package/build/types/entities/EntityLocalizationContext.d.ts +10 -10
  104. package/build/types/entities/FunctionEntity.d.ts +86 -70
  105. package/build/types/entities/FunctionTypeEntity.d.ts +37 -31
  106. package/build/types/entities/GetterEntity.d.ts +51 -30
  107. package/build/types/entities/IEntity.d.ts +12 -0
  108. package/build/types/entities/IndexerEntity.d.ts +24 -24
  109. package/build/types/entities/LocalizableTextEntity.d.ts +26 -21
  110. package/build/types/entities/OperatorEntity.d.ts +23 -16
  111. package/build/types/entities/PackageAliasEntity.d.ts +15 -9
  112. package/build/types/entities/PackageEntity.d.ts +15 -10
  113. package/build/types/entities/PackageMembers.d.ts +5 -5
  114. package/build/types/entities/SetterEntity.d.ts +50 -29
  115. package/build/types/entities/StructuredTypeEntity.d.ts +76 -115
  116. package/build/types/entities/TypeEntity.d.ts +2 -1
  117. package/build/types/entities/TypeEntityMembers.d.ts +11 -11
  118. package/build/types/entities/TypeExtensionEntity.d.ts +13 -8
  119. package/build/types/entities/TypeParameterEntity.d.ts +28 -21
  120. package/build/types/entities/VariableEntity.d.ts +236 -179
  121. package/build/types/entities/VariantTypeEntity.d.ts +28 -22
  122. package/build/types/entities/index.d.ts +5 -1
  123. package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +18 -16
  124. package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +15 -11
  125. package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +16 -12
  126. package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +15 -11
  127. package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +32 -27
  128. package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +33 -29
  129. package/build/types/entities/translated/TranslatedGetterEntity.d.ts +12 -8
  130. package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +19 -15
  131. package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +18 -14
  132. package/build/types/entities/translated/TranslatedPackageEntity.d.ts +10 -7
  133. package/build/types/entities/translated/TranslatedSetterEntity.d.ts +11 -7
  134. package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +41 -39
  135. package/build/types/entities/translated/TranslatedTypeExtensionEntity.d.ts +12 -9
  136. package/build/types/entities/translated/TranslatedTypeParameterEntity.d.ts +19 -16
  137. package/build/types/entities/translated/TranslatedVariableEntity.d.ts +44 -36
  138. package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +28 -24
  139. package/build/types/executor/NodeCompiler.d.ts +3 -3
  140. package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +2 -2
  141. package/build/types/parser/Parser.d.ts +1 -1
  142. package/build/types/parser/TriviaInterner.d.ts +3 -3
  143. package/build/types/project/Compilation.d.ts +3 -3
  144. package/build/types/project/CompilationLoader.d.ts +5 -5
  145. package/build/types/project/FileSystemTree.d.ts +6 -6
  146. package/build/types/project/SourceFile.d.ts +2 -2
  147. package/build/types/project/SourcePackage.d.ts +1 -1
  148. package/build/types/project/TextFile.d.ts +1 -1
  149. package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
  150. package/build/types/project/configuration/ConfigurationFileParser.d.ts +1 -1
  151. package/build/types/services/AssignFieldService.d.ts +10 -0
  152. package/build/types/services/CodeActionsService.d.ts +1 -1
  153. package/build/types/services/CompletionService.d.ts +8 -8
  154. package/build/types/services/CustomCommand.d.ts +13 -7
  155. package/build/types/services/DefinitionService.d.ts +1 -1
  156. package/build/types/services/DisplayService.d.ts +76 -80
  157. package/build/types/services/DocumentHighlightsService.d.ts +1 -1
  158. package/build/types/services/HoverService.d.ts +3 -3
  159. package/build/types/services/LanguageServer.d.ts +32 -32
  160. package/build/types/services/NodeSemanticInfo.d.ts +9 -9
  161. package/build/types/services/ProjectItemsService.d.ts +1 -1
  162. package/build/types/services/RenameService.d.ts +1 -1
  163. package/build/types/services/SemanticTokensService.d.ts +1 -1
  164. package/build/types/services/SourceFileItemsService.d.ts +1 -1
  165. package/build/types/services/TranslationService.d.ts +1 -1
  166. package/build/types/services/signature-help/{ValueParametersSignatureHelpProvider.d.ts → ParametersSignatureHelpProvider.d.ts} +6 -6
  167. package/build/types/services/signature-help/{SignatureWithValueParameters.d.ts → SignatureWithParameters.d.ts} +34 -34
  168. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +4 -4
  169. package/build/types/services/source-generation/EntityToSyntax.d.ts +4 -4
  170. package/build/types/services/source-generation/SourceGenerationService.d.ts +5 -5
  171. package/build/types/services/workspace/CompilationController.d.ts +22 -22
  172. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +13 -13
  173. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
  174. package/build/types/services/workspace/Workspace.d.ts +7 -7
  175. package/build/types/services/workspace/WorkspaceFiles.d.ts +1 -1
  176. package/build/types/tree/BaseNode.d.ts +12 -3
  177. package/build/types/tree/NodeKind.d.ts +56 -57
  178. package/build/types/tree/Nodes.d.ts +18 -20
  179. package/build/types/tree/SyntaxToCode.d.ts +11 -11
  180. package/build/types/ts-interop/Entities.d.ts +326 -263
  181. package/build/types/ts-interop/TsInteropContext.d.ts +16 -14
  182. package/build/types/ts-interop/TsPackageContents.d.ts +16 -16
  183. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +10 -10
  184. package/build/types/ts-interop/TsProgramLoader.d.ts +7 -7
  185. package/build/types/ts-interop/TsTypeMembersCreator.d.ts +9 -9
  186. package/build/types/types/AliasType.d.ts +6 -5
  187. package/build/types/types/FunctionType.d.ts +8 -7
  188. package/build/types/types/IntersectionType.d.ts +3 -2
  189. package/build/types/types/ParameterType.d.ts +5 -4
  190. package/build/types/types/StandardTypes.d.ts +21 -21
  191. package/build/types/types/StructuredType.d.ts +9 -10
  192. package/build/types/types/Substitutions.d.ts +1 -1
  193. package/build/types/types/Type.d.ts +1 -0
  194. package/build/types/types/TypeMembers.d.ts +42 -42
  195. package/build/types/types/UnionType.d.ts +3 -2
  196. package/build/types/types/UnresolvedType.d.ts +3 -2
  197. package/build/types/types/VariantType.d.ts +5 -4
  198. package/package.json +1 -1
  199. package/build/types/entities/TypeMemberContainer.d.ts +0 -23
  200. package/build/types/services/AddPropertyAssignmentService.d.ts +0 -8
@@ -3,17 +3,19 @@ import { AutotypeCallExpression } from '../tree/index.js';
3
3
  import * as types from '../types/index.js';
4
4
  import { Analyzer, ExpressionAnalysisOptions } from './index.js';
5
5
  export declare class Resolver {
6
- private readonly _analyzer;
7
- private readonly _node;
8
- private readonly _analysisOptions;
9
- constructor(_analyzer: Analyzer, _node: AutotypeCallExpression, _analysisOptions: ExpressionAnalysisOptions | undefined);
6
+ private readonly analyzer;
7
+ private readonly node;
8
+ private readonly analysisOptions;
9
+ constructor(analyzer: Analyzer, node: AutotypeCallExpression, analysisOptions: ExpressionAnalysisOptions | undefined);
10
10
  resolve(): ResolutionResult;
11
+ private isAutotypeExpressionInValidPosition;
11
12
  }
12
13
  export declare class ResolutionResult {
13
14
  readonly meaning: Meaning;
14
15
  readonly diagnostics?: readonly Diagnostic[] | undefined;
15
- constructor(meaning: Meaning, diagnostics?: readonly Diagnostic[] | undefined);
16
- static unresolved(diagnostics: readonly Diagnostic[] | undefined): ResolutionResult;
16
+ readonly dependsOnTargetType: boolean;
17
+ constructor(meaning: Meaning, diagnostics?: readonly Diagnostic[] | undefined, dependsOnTargetType?: boolean);
18
+ static unresolved(diagnostics: readonly Diagnostic[] | undefined, dependsOnTargetType?: boolean): ResolutionResult;
17
19
  }
18
20
  export type Meaning = Meaning_constructorCall | Meaning_unresolved;
19
21
  declare class Meaning_constructorCall {
@@ -4,8 +4,8 @@ import * as types from '../types/index.js';
4
4
  import { AccessedFunction } from './AccessedFunction.js';
5
5
  import { Analyzer } from './Analyzer.js';
6
6
  export declare class FirstStageResolver {
7
- private readonly _analyzer;
8
- private readonly _node;
7
+ private readonly analyzer;
8
+ private readonly node;
9
9
  constructor(analyzer: Analyzer, node: tree.BaseExpression);
10
10
  resolve(): FirstStageResolutionsResult;
11
11
  private resolveBaseConstructorOrMethodAccess;
@@ -27,9 +27,9 @@ export declare class FirstStageResolver {
27
27
  * реализации по умолчанию члена базового аспекта.
28
28
  */
29
29
  export declare class SecondStageResolver {
30
- private readonly _analyzer;
31
- private readonly _node;
32
- private readonly _firstStageResolutionResult;
30
+ private readonly analyzer;
31
+ private readonly node;
32
+ private readonly firstStageResolutionResult;
33
33
  constructor(analyzer: Analyzer, node: tree.BaseExpression, firstStageResolutionResult: FirstStageResolutionsResult);
34
34
  resolve(): ResolutionResult;
35
35
  private resolveOverriddenMethodAccess;
@@ -4,13 +4,13 @@ import { Node } from '../tree/index.js';
4
4
  import { Analyzer } from './Analyzer.js';
5
5
  import { DiagnosticArgumentFactory } from './DiagnosticArgumentFactory.js';
6
6
  export declare class BaseMemberConflictsValidator {
7
- private readonly _analyzer;
8
- private readonly _typeEntity;
9
- private readonly _hidingMatcher;
10
- private readonly _diagnosticArgumentFactory;
11
- private readonly _diagnostics;
12
- private readonly _nodeForDiagnostic;
13
- constructor(_analyzer: Analyzer, _typeEntity: TypeEntityWithMembers, _hidingMatcher: IEntityHidingMatcher, _diagnosticArgumentFactory: DiagnosticArgumentFactory, _diagnostics: DiagnosticAcceptor, _nodeForDiagnostic: Node);
7
+ private readonly analyzer;
8
+ private readonly typeEntity;
9
+ private readonly hidingMatcher;
10
+ private readonly diagnosticArgumentFactory;
11
+ private readonly diagnostics;
12
+ private readonly nodeForDiagnostic;
13
+ constructor(analyzer: Analyzer, typeEntity: TypeEntityWithMembers, hidingMatcher: IEntityHidingMatcher, diagnosticArgumentFactory: DiagnosticArgumentFactory, diagnostics: DiagnosticAcceptor, nodeForDiagnostic: Node);
14
14
  validate(): void;
15
15
  private getAllNotShadowedNotOverriddenMembers;
16
16
  private validateMemberConflicts;
@@ -5,11 +5,10 @@ import * as types from '../types/index.js';
5
5
  import { AccessedFunction, NotSubstitutedAccessedFunction } from './AccessedFunction.js';
6
6
  import { Analyzer, ExpressionAnalysisOptions } from './index.js';
7
7
  export declare class Resolver {
8
- private readonly _analyzer;
9
- private readonly _node;
10
- private readonly _analysisOptions;
11
- constructor(_analyzer: Analyzer, _node: tree.CallExpression, _analysisOptions: ExpressionAnalysisOptions | undefined);
12
- private get callee();
8
+ private readonly analyzer;
9
+ private readonly node;
10
+ private readonly analysisOptions;
11
+ constructor(analyzer: Analyzer, node: tree.CallExpression, analysisOptions: ExpressionAnalysisOptions | undefined);
13
12
  resolve(): ResolutionResult;
14
13
  private checkExpressionDenotesType;
15
14
  private checkExpressionDenotesFunction;
@@ -18,7 +17,6 @@ export declare class Resolver {
18
17
  private resolveOperatorCallExpression;
19
18
  private resolveConstructorCallExpression;
20
19
  private resolveObjectFunctionCallExpression;
21
- private getNodeForDiagnostics;
22
20
  }
23
21
  export declare class ResolutionResult {
24
22
  readonly meaning: Meaning;
@@ -16,7 +16,7 @@ export declare class ResolutionResult {
16
16
  readonly typeEntity: NamedTypeEntity | undefined;
17
17
  readonly type: types.Type | undefined;
18
18
  readonly singleNotSuitableSubstitutedCandidate: types.Constructor | undefined;
19
- private static _empty;
19
+ private static empty_;
20
20
  static get empty(): ResolutionResult;
21
21
  constructor(candidates: readonly types.Constructor[], suitableConstructors: readonly types.Constructor[], typeEntity: NamedTypeEntity | undefined, type: types.Type | undefined, singleNotSuitableSubstitutedCandidate: types.Constructor | undefined);
22
22
  }
@@ -3,16 +3,16 @@ import { Entity, NamedEntity } from '../entities/index.js';
3
3
  import * as tree from '../tree/index.js';
4
4
  import { Analyzer } from './Analyzer.js';
5
5
  export declare class DeclarationsUsageCounter {
6
- private readonly _analyzer;
7
- private readonly _sourceFile;
8
- private readonly _usageInfoByEntity;
6
+ private readonly analyzer;
7
+ private readonly sourceFile;
8
+ private readonly usageInfoByEntity;
9
9
  constructor(analyzer: Analyzer, sourceFile: tree.SourceFile);
10
10
  count(cancellationToken?: CancellationToken | undefined): Promise<DeclarationsUsageMap>;
11
11
  private recordUsage;
12
12
  }
13
13
  export declare class DeclarationsUsageMap {
14
- private readonly _usageCountByEntity;
15
- constructor(_usageCountByEntity: ReadonlyMap<Entity, DeclarationUsageInfo>);
14
+ private readonly usageCountByEntity;
15
+ constructor(usageCountByEntity: ReadonlyMap<Entity, DeclarationUsageInfo>);
16
16
  getUsageInfo(entity: NamedEntity): DeclarationUsageInfo;
17
17
  }
18
18
  export interface DeclarationUsageInfo {
@@ -4,11 +4,11 @@ import { DereferenceExpression } from '../tree/index.js';
4
4
  import * as types from '../types/index.js';
5
5
  import { Analyzer } from './index.js';
6
6
  export declare class Resolver {
7
- private readonly _analyzer;
8
- private readonly _node;
9
- private readonly _semanticContext;
7
+ private readonly analyzer;
8
+ private readonly node;
9
+ private readonly semanticContext_;
10
10
  private get semanticContext();
11
- constructor(_analyzer: Analyzer, _node: DereferenceExpression);
11
+ constructor(analyzer: Analyzer, node: DereferenceExpression);
12
12
  resolve(): Meaning;
13
13
  private convertSyntacticAccessKind;
14
14
  }
@@ -9,8 +9,8 @@ import { PackageNameTreeNode } from './ImportedPackageNameTree.js';
9
9
  export declare class DiagnosticArgumentFactory {
10
10
  readonly locale: PackageLocale;
11
11
  readonly dialect: PackageDialect;
12
- private readonly _analyzer;
13
- private readonly _contextualSourceFile;
12
+ private readonly analyzer;
13
+ private readonly contextualSourceFile;
14
14
  constructor(analyzer: Analyzer, locale: PackageLocale, dialect: PackageDialect, sourceFile: SourceFile | undefined);
15
15
  createDisplayableEntity(entity: Entity): DisplayableEntity;
16
16
  createDisplayableAccessedFunction(accessedFunction: AccessedFunction): DisplayableAccessedFunction;
@@ -4,21 +4,23 @@ import * as project from '../project/index.js';
4
4
  import { Analyzer } from './index.js';
5
5
  export declare class DiagnosticCollector {
6
6
  static readonly CancellationTokenThrottleTime = 50;
7
- private readonly _analyzer;
8
- private readonly _sourceFile;
9
- private readonly _diagnosticArgumentFactory;
10
- private readonly _translationPackage;
11
- private readonly _diagnostics;
12
- private readonly _diagnosticAcceptor;
13
- private _namedDeclarationsUsageMap;
14
- private readonly _modifierValidator;
15
- private readonly _standardTypes;
7
+ private readonly analyzer;
8
+ private readonly sourceFile;
9
+ private readonly diagnosticArgumentFactory;
10
+ private readonly translationPackage_;
11
+ private readonly diagnostics;
12
+ private readonly diagnosticAcceptor;
13
+ private namedDeclarationsUsageMap;
14
+ private readonly modifierValidator;
15
+ private readonly standardTypes_;
16
16
  private get translationPackage();
17
17
  private get isInterfacePackageFile();
18
18
  private get standardTypes();
19
19
  constructor(analyzer: Analyzer, sourceFile: project.SourceFile);
20
20
  collect(cancellationToken?: CancellationToken | undefined): Promise<Diagnostic[]>;
21
21
  private collectNodeDiagnostics;
22
+ private checkTypeParameterList;
23
+ private checkTypeParameterDeclaration;
22
24
  private checkFunctionLiteral;
23
25
  private checkFunctionBlockLiteral;
24
26
  private checkDereferenceExpression;
@@ -6,47 +6,47 @@ import { AccessedFunction } from './AccessedFunction.js';
6
6
  import { Analyzer } from './Analyzer.js';
7
7
  import { PackageNameTreeNode } from './ImportedPackageNameTree.js';
8
8
  export declare class DisplayableEntity implements Displayable {
9
- private readonly _analyzer;
10
- private readonly _entity;
11
- private readonly _locale;
12
- private readonly _dialect;
13
- private readonly _contextualSourceFile;
14
- constructor(_analyzer: Analyzer, _entity: Entity, _locale: PackageLocale, _dialect: PackageDialect, _contextualSourceFile: SourceFile | undefined);
9
+ private readonly analyzer;
10
+ private readonly entity;
11
+ private readonly locale;
12
+ private readonly dialect;
13
+ private readonly contextualSourceFile;
14
+ constructor(analyzer: Analyzer, entity: Entity, locale: PackageLocale, dialect: PackageDialect, contextualSourceFile: SourceFile | undefined);
15
15
  getDisplayText(): string;
16
16
  }
17
17
  export declare class DisplayableAccessedFunction implements Displayable {
18
- private readonly _analyzer;
19
- private readonly _accessedFunction;
20
- private readonly _locale;
21
- private readonly _dialect;
22
- private readonly _contextualSourceFile;
23
- constructor(_analyzer: Analyzer, _accessedFunction: AccessedFunction, _locale: PackageLocale, _dialect: PackageDialect, _contextualSourceFile: SourceFile | undefined);
18
+ private readonly analyzer;
19
+ private readonly accessedFunction;
20
+ private readonly locale;
21
+ private readonly dialect;
22
+ private readonly contextualSourceFile;
23
+ constructor(analyzer: Analyzer, accessedFunction: AccessedFunction, locale: PackageLocale, dialect: PackageDialect, contextualSourceFile: SourceFile | undefined);
24
24
  getDisplayText(): string;
25
25
  }
26
26
  export declare class DisplayableTypeMember implements Displayable {
27
- private readonly _analyzer;
28
- private readonly _member;
29
- private readonly _locale;
30
- private readonly _dialect;
31
- private readonly _contextualSourceFile;
32
- constructor(_analyzer: Analyzer, _member: types.TypeMember, _locale: PackageLocale, _dialect: PackageDialect, _contextualSourceFile: SourceFile | undefined);
27
+ private readonly analyzer;
28
+ private readonly member;
29
+ private readonly locale;
30
+ private readonly dialect;
31
+ private readonly contextualSourceFile;
32
+ constructor(analyzer: Analyzer, member: types.TypeMember, locale: PackageLocale, dialect: PackageDialect, contextualSourceFile: SourceFile | undefined);
33
33
  getDisplayText(): string;
34
34
  }
35
35
  export declare class DisplayablePackageNameTreeNode implements Displayable {
36
- private readonly _analyzer;
37
- private readonly _node;
38
- private readonly _locale;
39
- private readonly _dialect;
40
- private readonly _contextualSourceFile;
41
- constructor(_analyzer: Analyzer, _node: PackageNameTreeNode, _locale: PackageLocale, _dialect: PackageDialect, _contextualSourceFile: SourceFile | undefined);
36
+ private readonly analyzer;
37
+ private readonly node;
38
+ private readonly locale;
39
+ private readonly dialect;
40
+ private readonly contextualSourceFile;
41
+ constructor(analyzer: Analyzer, node: PackageNameTreeNode, locale: PackageLocale, dialect: PackageDialect, contextualSourceFile: SourceFile | undefined);
42
42
  getDisplayText(): string;
43
43
  }
44
44
  export declare class DisplayableType implements Displayable {
45
- private readonly _analyzer;
46
- private readonly _type;
47
- private readonly _locale;
48
- private readonly _dialect;
49
- private readonly _contextualSourceFile;
50
- constructor(_analyzer: Analyzer, _type: types.Type, _locale: PackageLocale, _dialect: PackageDialect, _contextualSourceFile: SourceFile | undefined);
45
+ private readonly analyzer;
46
+ private readonly type;
47
+ private readonly locale;
48
+ private readonly dialect;
49
+ private readonly contextualSourceFile;
50
+ constructor(analyzer: Analyzer, type: types.Type, locale: PackageLocale, dialect: PackageDialect, contextualSourceFile: SourceFile | undefined);
51
51
  getDisplayText(): string;
52
52
  }
@@ -9,9 +9,9 @@ import { PackageNameTreeNode } from './ImportedPackageNameTree.js';
9
9
  import { Analyzer, ExpressionAnalysisOptions } from './index.js';
10
10
  import { NamedDeclaration } from './semantic-context/index.js';
11
11
  export declare class FirstStageResolver {
12
- private readonly _semanticContext;
13
- private readonly _analyzer;
14
- private readonly _node;
12
+ private readonly semanticContext_;
13
+ private readonly analyzer;
14
+ private readonly node;
15
15
  private get semanticContext();
16
16
  constructor(analyzer: Analyzer, node: tree.IdentifierExpression);
17
17
  resolve(): FirstStageResolutionResult;
@@ -21,10 +21,10 @@ export declare class FirstStageResolver {
21
21
  private convertSyntacticAccessKind;
22
22
  }
23
23
  export declare class SecondStageResolver {
24
- private readonly _analyzer;
25
- private readonly _node;
26
- private readonly _firstStageResolutionResult;
27
- private readonly _analysisOptions;
24
+ private readonly analyzer;
25
+ private readonly node;
26
+ private readonly firstStageResolutionResult;
27
+ private readonly analysisOptions;
28
28
  constructor(analyzer: Analyzer, node: tree.IdentifierExpression, firstStageResolutionResult: FirstStageResolutionResult, analysisOptions: ExpressionAnalysisOptions | undefined);
29
29
  resolve(): ResolutionResult;
30
30
  private resolveTypeAccessAtCalleePosition;
@@ -2,7 +2,7 @@ import { Name } from '../common/index.js';
2
2
  import { PackageEntity } from '../entities/PackageEntity.js';
3
3
  import { PackageImportInfo } from './Analyzer.js';
4
4
  export declare class ImportedPackageNameTree {
5
- private readonly _rootNodes;
5
+ private readonly rootNodes_;
6
6
  get rootNodes(): ReadonlyMap<string, PackageNameTreeNode>;
7
7
  constructor(owningPackage: PackageEntity, packageImportInfos: readonly PackageImportInfo[]);
8
8
  private add;
@@ -4,11 +4,11 @@ import { IndexedAccessExpression } from '../tree/index.js';
4
4
  import * as types from '../types/index.js';
5
5
  import { Analyzer } from './index.js';
6
6
  export declare class Resolver {
7
- private readonly _analyzer;
8
- private readonly _node;
9
- private readonly _semanticContext;
7
+ private readonly analyzer;
8
+ private readonly node;
9
+ private readonly semanticContext_;
10
10
  private get semanticContext();
11
- constructor(_analyzer: Analyzer, _node: IndexedAccessExpression);
11
+ constructor(analyzer: Analyzer, node: IndexedAccessExpression);
12
12
  resolve(): ResolutionResult;
13
13
  private getArgumentsRangeWithBrackets;
14
14
  private convertSyntacticAccessKind;
@@ -3,13 +3,13 @@ import { Analyzer } from './Analyzer.js';
3
3
  import { DeclarationsUsageMap } from './DeclarationsUsageCounter.js';
4
4
  import { TypeWithMembersDeclaration } from './NodeTypeUtils.js';
5
5
  export declare class InstanceFieldsInitializationValidator {
6
- private readonly _analyzer;
7
- private readonly _typeDeclaration;
8
- private readonly _declarationsUsageCountResult;
9
- private readonly _diagnostics;
10
- private readonly _semanticContext;
6
+ private readonly analyzer;
7
+ private readonly typeDeclaration;
8
+ private readonly declarationsUsageCountResult;
9
+ private readonly diagnostics;
10
+ private readonly semanticContext_;
11
11
  private get semanticContext();
12
- constructor(_analyzer: Analyzer, _typeDeclaration: TypeWithMembersDeclaration, _declarationsUsageCountResult: DeclarationsUsageMap, _diagnostics: DiagnosticAcceptor);
12
+ constructor(analyzer: Analyzer, typeDeclaration: TypeWithMembersDeclaration, declarationsUsageCountResult: DeclarationsUsageMap, diagnostics: DiagnosticAcceptor);
13
13
  validate(): void;
14
14
  private getFieldsThatNeedToBeInitializedInConstructor;
15
15
  private checkDefaultConstructorInitializesAllFields;
@@ -8,9 +8,9 @@ import * as callExpressionMeaning from './CallExpressionMeaning.js';
8
8
  import { PackageNameTreeNode } from './ImportedPackageNameTree.js';
9
9
  import { Analyzer, ExpressionAnalysisOptions } from './index.js';
10
10
  export declare class FirstStageResolver {
11
- private readonly _semanticContext;
12
- private readonly _analyzer;
13
- private readonly _node;
11
+ private readonly semanticContext_;
12
+ private readonly analyzer;
13
+ private readonly node;
14
14
  private get memberName();
15
15
  private get semanticContext();
16
16
  private get receiver();
@@ -26,10 +26,10 @@ export declare class FirstStageResolver {
26
26
  private convertSyntacticAccessKind;
27
27
  }
28
28
  export declare class SecondStageResolver {
29
- private readonly _analyzer;
30
- private readonly _node;
31
- private readonly _firstStageResolutionResult;
32
- private readonly _analysisOptions;
29
+ private readonly analyzer;
30
+ private readonly node;
31
+ private readonly firstStageResolutionResult;
32
+ private readonly analysisOptions;
33
33
  constructor(analyzer: Analyzer, node: tree.MemberAccessExpression, firstStageResolutionResult: FirstStageResolutionResult, analysisOptions: ExpressionAnalysisOptions | undefined);
34
34
  resolve(): ResolutionResult;
35
35
  private resolveTypeAccessAtCalleePosition;
@@ -30,8 +30,8 @@ export declare enum DeclarationWithTypeMembersKind {
30
30
  TypeExtension = 5
31
31
  }
32
32
  export declare class ModifierValidator {
33
- private readonly _analyzer;
34
- private readonly _diagnostics;
33
+ private readonly analyzer;
34
+ private readonly diagnostics;
35
35
  static readonly allowedPackageMemberHidingModifiers: number;
36
36
  static readonly allowedPackageMemberModifiers: number;
37
37
  static readonly allowedModifiersByPackageMemberDeclarationKind: {
@@ -43,7 +43,7 @@ export declare class ModifierValidator {
43
43
  [T in TypeMemberDeclarationKind]: ModifierFlags;
44
44
  };
45
45
  private effectiveModifiers;
46
- constructor(_analyzer: Analyzer, _diagnostics: DiagnosticAcceptor);
46
+ constructor(analyzer: Analyzer, diagnostics: DiagnosticAcceptor);
47
47
  static validatePackageVariableAccessorsHaveConsistentModifiers(analyzer: Analyzer, getterModifiers: ModifierFlags, setterModifiers: ModifierFlags, nodeForDiagnostic: tree.Node, diagnostics: DiagnosticAcceptor): void;
48
48
  static validateFieldAccessorsHaveConsistentModifiers(analyzer: Analyzer, getterModifiers: ModifierFlags, setterModifiers: ModifierFlags, nodeForDiagnostic: tree.Node, diagnostics: DiagnosticAcceptor): void;
49
49
  static validateIndexedElementAccessorsHaveConsistentModifiers(analyzer: Analyzer, getterModifiers: ModifierFlags, setterModifiers: ModifierFlags, nodeForDiagnostic: tree.Node, diagnostics: DiagnosticAcceptor): void;
@@ -5,9 +5,9 @@ import { Analyzer } from './Analyzer.js';
5
5
  import { PackageNameTreeNode } from './ImportedPackageNameTree.js';
6
6
  import { EntityOrPackageNameTreeNode } from './Utils.js';
7
7
  export declare class NamedTypeResolver {
8
- private readonly _analyzer;
9
- private readonly _node;
10
- private readonly _semanticContext;
8
+ private readonly analyzer;
9
+ private readonly node;
10
+ private readonly semanticContext_;
11
11
  private get semanticContext();
12
12
  constructor(analyzer: Analyzer, node: QualifiedName);
13
13
  resolve(): NamedTypeResolutionResult;
@@ -5,9 +5,9 @@ import { Analyzer } from './Analyzer.js';
5
5
  import { ResolvedQualifier } from './NamedTypeResolver.js';
6
6
  import { EntityOrPackageNameTreeNode } from './Utils.js';
7
7
  export declare class NamedTypeSpecifierResolver {
8
- private readonly _analyzer;
9
- private readonly _node;
10
- constructor(_analyzer: Analyzer, _node: NamedTypeSpecifier);
8
+ private readonly analyzer;
9
+ private readonly node;
10
+ constructor(analyzer: Analyzer, node: NamedTypeSpecifier);
11
11
  resolve(): NamedTypeSpecifierResolutionResult;
12
12
  }
13
13
  export declare class NamedTypeSpecifierResolutionResult {
@@ -24,7 +24,7 @@ export type FunctionDeclaration = tree.PackageFunctionDeclaration | tree.NestedF
24
24
  export type TypeDeclaration = StructuredTypeDeclaration | VariantTypeDeclaration | FunctionTypeDeclaration | tree.PackageAliasTypeDeclaration | tree.TypeParameterDeclaration;
25
25
  export type NamedTypeDeclaration = tree.PackageStructuredTypeDeclaration | tree.PackageVariantTypeDeclaration | tree.PackageFunctionTypeDeclaration | tree.PackageAliasTypeDeclaration | tree.TypeParameterDeclaration;
26
26
  export type TypeWithMembersDeclaration = StructuredTypeDeclaration | VariantTypeDeclaration | tree.PackageAliasTypeDeclaration;
27
- export type VariableDeclaration = tree.EnumerationVariableDeclaration | tree.PackageVariableDeclaration | tree.LocalVariableDeclaration | tree.ParameterDeclaration | tree.FieldDeclaration | tree.VariantDeclaration;
27
+ export type VariableDeclaration = tree.ForStatementVariableDeclaration | tree.PackageVariableDeclaration | tree.LocalVariableDeclaration | tree.ParameterDeclaration | tree.FieldDeclaration | tree.VariantDeclaration;
28
28
  export type GetterDeclaration = tree.PackageVariableGetterDeclaration | tree.FieldGetterDeclaration | tree.IndexedElementGetterDeclaration | tree.DereferencedVariableGetterDeclaration;
29
29
  export type SetterDeclaration = tree.PackageVariableSetterDeclaration | tree.FieldSetterDeclaration | tree.IndexedElementSetterDeclaration | tree.DereferencedVariableSetterDeclaration;
30
30
  export type PackageVariableAccessorDeclaration = tree.PackageVariableGetterDeclaration | tree.PackageVariableSetterDeclaration;
@@ -8,8 +8,8 @@ import { Analyzer } from './Analyzer.js';
8
8
  * 2. объект - в любом выражении в контексте типа.
9
9
  */
10
10
  export declare class Resolver {
11
- private readonly _analyzer;
12
- private readonly _node;
11
+ private readonly analyzer;
12
+ private readonly node;
13
13
  constructor(analyzer: Analyzer, node: tree.ObjectExpression);
14
14
  resolve(): ResolutionResult;
15
15
  private resolveOwnConstructorAccess;
@@ -8,15 +8,15 @@ import * as matcher from './ArgumentsToParametersMatcher.js';
8
8
  import { DiagnosticArgumentFactory } from './DiagnosticArgumentFactory.js';
9
9
  import * as inferrer from './TypeArgumentInferrer.js';
10
10
  export declare class OverloadResolver<TSignature extends ISignature<TParameter>, TParameter extends ISignatureParameter, TArgument extends Argument> {
11
- private readonly _analyzer;
12
- private readonly _mode;
13
- private readonly _signatures;
14
- private readonly _arguments;
15
- private readonly _analysisOptions;
16
- private readonly _dataForTypeArgumentInference;
17
- private readonly _diagnostics;
18
- private readonly _nodesForDiagnostic;
19
- constructor(_analyzer: Analyzer, _mode: ResolutionMode, _signatures: readonly TSignature[], _arguments: readonly TArgument[], _analysisOptions: ExpressionAnalysisOptions, _dataForTypeArgumentInference: DataForTypeArgumentInference | undefined, _diagnostics: DiagnosticAcceptorWithArgumentFactory | undefined, _nodesForDiagnostic: NodesForDiagnostic | undefined);
11
+ private readonly analyzer;
12
+ private readonly mode;
13
+ private readonly signatures;
14
+ private readonly arguments_;
15
+ private readonly analysisOptions;
16
+ private readonly dataForTypeArgumentInference;
17
+ private readonly diagnostics;
18
+ private readonly nodesForDiagnostic;
19
+ constructor(analyzer: Analyzer, mode: ResolutionMode, signatures: readonly TSignature[], arguments_: readonly TArgument[], analysisOptions: ExpressionAnalysisOptions, dataForTypeArgumentInference: DataForTypeArgumentInference | undefined, diagnostics: DiagnosticAcceptorWithArgumentFactory | undefined, nodesForDiagnostic: NodesForDiagnostic | undefined);
20
20
  resolveOverload(): ProcessedSignature<TSignature, TParameter, TArgument>[];
21
21
  private areArgumentTypesAssignableToParameterTypes;
22
22
  private tryChooseBestSignature;
@@ -55,7 +55,7 @@ export declare class IntrinsicArgument implements matcher.IArgument, inferrer.In
55
55
  get name(): Name | undefined;
56
56
  constructor(type: types.Type);
57
57
  getDiagnosticLocation(): DiagnosticLocation | undefined;
58
- getType(_analysisOptions: ExpressionAnalysisOptions | undefined): types.Type;
58
+ getType(analysisOptions_: ExpressionAnalysisOptions | undefined): types.Type;
59
59
  }
60
60
  interface IArgument {
61
61
  getType(analysisOptions: ExpressionAnalysisOptions | undefined): types.Type;
@@ -64,18 +64,18 @@ export declare class SourceNodeArgument implements SourceArgument {
64
64
  readonly kind = "source";
65
65
  readonly node: tree.Argument;
66
66
  readonly name: Name | undefined;
67
- private readonly _analyzer;
67
+ private readonly analyzer;
68
68
  get expression(): tree.Expression;
69
69
  constructor(analyzer: Analyzer, node: tree.Argument);
70
70
  getDiagnosticLocation(): DiagnosticLocation;
71
71
  getType(analysisOptions: ExpressionAnalysisOptions | undefined): types.Type;
72
72
  }
73
73
  export declare class SourceExpressionArgument implements SourceArgument {
74
- private readonly _analyzer;
74
+ private readonly analyzer;
75
75
  readonly expression: tree.Expression;
76
76
  readonly kind = "source";
77
77
  get name(): Name | undefined;
78
- constructor(_analyzer: Analyzer, expression: tree.Expression);
78
+ constructor(analyzer: Analyzer, expression: tree.Expression);
79
79
  getDiagnosticLocation(): DiagnosticLocation;
80
80
  getType(analysisOptions: ExpressionAnalysisOptions | undefined): types.Type;
81
81
  }
@@ -5,11 +5,11 @@ import * as types from '../types/index.js';
5
5
  import { Analyzer } from './Analyzer.js';
6
6
  import { SemanticContext } from './semantic-context/SemanticContext.js';
7
7
  export declare class OwnAndBaseConstructorCallsChecker {
8
- private readonly _analyzer;
9
- private readonly _constructorDeclarations;
10
- private readonly _typeEntity;
11
- private readonly _semanticContext;
12
- constructor(_analyzer: Analyzer, _constructorDeclarations: readonly tree.ConstructorDeclaration[], _typeEntity: TypeEntityWithMembers, _semanticContext: SemanticContext);
8
+ private readonly analyzer;
9
+ private readonly constructorDeclarations;
10
+ private readonly typeEntity;
11
+ private readonly semanticContext;
12
+ constructor(analyzer: Analyzer, constructorDeclarations: readonly tree.ConstructorDeclaration[], typeEntity: TypeEntityWithMembers, semanticContext: SemanticContext);
13
13
  check(): OwnAndBaseConstructorCallsCheckResult;
14
14
  private addOwnConstructorCallOrReportCycleDiagnostic;
15
15
  private getUnaliasedBaseObjectType;
@@ -3,11 +3,11 @@ import { SourcePackage } from '../project/SourcePackage.js';
3
3
  import { Analyzer } from './Analyzer.js';
4
4
  import { DeclarationsUsageMap } from './DeclarationsUsageCounter.js';
5
5
  export declare class PackageAndStaticVariablesInitializationValidator {
6
- private readonly _analyzer;
7
- private readonly _package;
8
- private readonly _declarationsUsageMapList;
9
- private readonly _diagnostics;
10
- constructor(_analyzer: Analyzer, _package: SourcePackage, _declarationsUsageMapList: readonly DeclarationsUsageMap[], _diagnostics: DiagnosticAcceptor);
6
+ private readonly analyzer;
7
+ private readonly package_;
8
+ private readonly declarationsUsageMapList;
9
+ private readonly diagnostics;
10
+ constructor(analyzer: Analyzer, package_: SourcePackage, declarationsUsageMapList: readonly DeclarationsUsageMap[], diagnostics: DiagnosticAcceptor);
11
11
  validate(): void;
12
12
  private getVariablesThatNeedToBeInitializedInConstructor;
13
13
  private collectStaticFieldsThatNeedToBeInitializedInConstructor;
@@ -1,8 +1,8 @@
1
1
  import { Name } from '../common/index.js';
2
2
  import { IEntityHidingMatcher, NamedPackageMemberEntity, PackageEntity, TypeEntity, TypeExtensionEntity } from '../entities/index.js';
3
3
  export declare class PackageMemberLookup {
4
- private readonly _package;
5
- constructor(_package: PackageEntity);
4
+ private readonly package_;
5
+ constructor(package_: PackageEntity);
6
6
  getNamedMembers(hidingMatcher?: IEntityHidingMatcher): readonly NamedPackageMemberEntity[];
7
7
  getNamedMembersByName(name: Name, hidingMatcher?: IEntityHidingMatcher): readonly NamedPackageMemberEntity[];
8
8
  getTypeExtensions(type: TypeEntity, hidingMatcher?: IEntityHidingMatcher): readonly TypeExtensionEntity[];
@@ -3,10 +3,10 @@ import { PackageEntityMembers } from '../entities/PackageMembers.js';
3
3
  import { ProgramPackage } from '../project/SourcePackage.js';
4
4
  import { Analyzer } from './Analyzer.js';
5
5
  export declare class PackageMemberNameConflictsValidator {
6
- private readonly _analyzer;
7
- private readonly _members;
8
- private readonly _diagnostics;
9
- constructor(_analyzer: Analyzer, _members: PackageEntityMembers);
6
+ private readonly analyzer;
7
+ private readonly members;
8
+ private readonly diagnostics;
9
+ constructor(analyzer: Analyzer, members: PackageEntityMembers);
10
10
  validate(): readonly Diagnostic[];
11
11
  private validateFunctionNameConflicts;
12
12
  private validateTypeNameConflicts;
@@ -16,8 +16,8 @@ export declare class PackageMemberNameConflictsValidator {
16
16
  private getDiagnosticLocation;
17
17
  }
18
18
  export declare class SourcePackageMemberConflictsValidator {
19
- private readonly _analyzer;
20
- private readonly _package;
21
- constructor(_analyzer: Analyzer, _package: ProgramPackage);
19
+ private readonly analyzer;
20
+ private readonly package_;
21
+ constructor(analyzer: Analyzer, package_: ProgramPackage);
22
22
  validate(): readonly Diagnostic[];
23
23
  }
@@ -3,10 +3,10 @@ import * as tree from '../tree/index.js';
3
3
  import { LocalVariableEntity } from '../entities/VariableEntity.js';
4
4
  import * as types from '../types/index.js';
5
5
  export declare class ReturnTypeInferrer {
6
- private readonly _analyzer;
7
- private readonly _block;
8
- private readonly _resultVariable;
9
- constructor(_analyzer: Analyzer, _block: tree.FunctionBlock, _resultVariable: LocalVariableEntity);
6
+ private readonly analyzer;
7
+ private readonly block;
8
+ private readonly resultVariable;
9
+ constructor(analyzer: Analyzer, block: tree.FunctionBlock, resultVariable: LocalVariableEntity);
10
10
  infer(): types.Type;
11
11
  private checkResultVariableIsUsedAndCollectReturnedTypes;
12
12
  private getTypeOfResultVariableAtTheEndOfSubprogram;
@@ -3,12 +3,12 @@ import { DiagnosticAcceptor } from '../diagnostic/Diagnostic.js';
3
3
  import { PackageAliasEntity, PackageFunctionEntity, PackageTypeEntity, PackageVariableEntity, TypeExtensionEntity } from '../entities/index.js';
4
4
  import { Analyzer } from './Analyzer.js';
5
5
  export declare class SourceFileMembers {
6
- private static readonly _emptyNamedMembers;
7
- private static readonly _emptyPackageAliases;
8
- private readonly _analyzer;
9
- private readonly _namedMembers;
10
- private readonly _typeExtensions;
11
- private readonly _declarationsByName;
6
+ private static readonly emptyNamedMembers;
7
+ private static readonly emptyPackageAliases;
8
+ private readonly analyzer;
9
+ private readonly namedMembers;
10
+ private readonly typeExtensions;
11
+ private readonly declarationsByName_;
12
12
  get declarationsByName(): ReadonlyMap<string, readonly NamedSourceFileMemberEntity[]>;
13
13
  constructor(analyzer: Analyzer, namedMembers: readonly NamedSourceFileMemberEntity[], typeExtensions: readonly TypeExtensionEntity[]);
14
14
  getNamedDeclarations(): readonly NamedSourceFileMemberEntity[];