@artel/artc 0.6.25259 → 0.6.25261

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-HE4MTX63.js → chunk-66RH6JKB.js} +14377 -13458
  6. package/build/{chunk-VQI5PLBW.js → chunk-7OS2G5WZ.js} +1 -1
  7. package/build/{chunk-GVYF4DV5.js → chunk-UWQKBRAT.js} +11 -11
  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
@@ -10,10 +10,11 @@ import { FunctionDeclaration, GetterDeclaration, RegularOrBlockFunctionLiteral,
10
10
  import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
11
11
  import { SemanticContext } from './SemanticContext.js';
12
12
  export declare abstract class SemanticContextBase {
13
- protected static readonly _emptyTypesOrContainersWithTypes: readonly TypeOrContainerWithTypes[];
14
- protected static readonly _emptyNamedDeclarations: readonly NamedDeclaration[];
15
- protected static readonly _emptyOperators: readonly types.Operator[];
16
- protected static readonly _emptyTypeExtensions: readonly TypeExtensionEntity[];
13
+ protected static readonly emptyTypesOrContainersWithTypes: readonly TypeOrContainerWithTypes[];
14
+ protected static readonly emptyNamedDeclarations: readonly NamedDeclaration[];
15
+ protected static readonly emptyOperators: readonly types.Operator[];
16
+ protected static readonly emptyTypeExtensions: readonly TypeExtensionEntity[];
17
+ private hidingMatcher;
17
18
  abstract readonly outer: SemanticContext | undefined;
18
19
  protected abstract readonly asContext: SemanticContext;
19
20
  abstract getContainingSubprogram(): SubprogramInfo | undefined;
@@ -42,8 +43,8 @@ export type SubprogramInfo = SubprogramInfo.Function | SubprogramInfo.Operator |
42
43
  export declare namespace SubprogramInfo {
43
44
  export class Function implements ISubprogramInfo {
44
45
  readonly kind = "function";
45
- private readonly _analyzer;
46
- private readonly _node;
46
+ private readonly analyzer;
47
+ private readonly node;
47
48
  constructor(analyzer: Analyzer, node: FunctionDeclaration);
48
49
  getReturnType(): types.Type | undefined;
49
50
  isGenerator(): boolean;
@@ -53,8 +54,8 @@ export declare namespace SubprogramInfo {
53
54
  }
54
55
  export class Operator implements ISubprogramInfo {
55
56
  readonly kind = "operator";
56
- private readonly _analyzer;
57
- private readonly _node;
57
+ private readonly analyzer;
58
+ private readonly node;
58
59
  constructor(analyzer: Analyzer, node: tree.OperatorDeclaration);
59
60
  getReturnType(): types.Type | undefined;
60
61
  isGenerator(): boolean;
@@ -63,8 +64,8 @@ export declare namespace SubprogramInfo {
63
64
  }
64
65
  export class Constructor implements ISubprogramInfo {
65
66
  readonly kind = "constructor";
66
- private readonly _analyzer;
67
- private readonly _node;
67
+ private readonly analyzer;
68
+ private readonly node;
68
69
  constructor(analyzer: Analyzer, node: tree.ConstructorDeclaration);
69
70
  getReturnType(): types.Type | undefined;
70
71
  isGenerator(): boolean;
@@ -74,8 +75,8 @@ export declare namespace SubprogramInfo {
74
75
  }
75
76
  export class Destructor implements ISubprogramInfo {
76
77
  readonly kind = "destructor";
77
- private readonly _analyzer;
78
- private readonly _node;
78
+ private readonly analyzer;
79
+ private readonly node;
79
80
  constructor(analyzer: Analyzer, node: tree.DestructorDeclaration);
80
81
  getReturnType(): types.Type | undefined;
81
82
  isGenerator(): boolean;
@@ -84,8 +85,8 @@ export declare namespace SubprogramInfo {
84
85
  }
85
86
  export class Getter implements ISubprogramInfo {
86
87
  readonly kind = "getter";
87
- private readonly _analyzer;
88
- private readonly _node;
88
+ private readonly analyzer;
89
+ private readonly node;
89
90
  constructor(analyzer: Analyzer, node: GetterDeclaration);
90
91
  getReturnType(): types.Type | undefined;
91
92
  isGenerator(): boolean;
@@ -94,8 +95,8 @@ export declare namespace SubprogramInfo {
94
95
  }
95
96
  export class Setter implements ISubprogramInfo {
96
97
  readonly kind = "setter";
97
- private readonly _analyzer;
98
- private readonly _node;
98
+ private readonly analyzer;
99
+ private readonly node;
99
100
  constructor(analyzer: Analyzer, node: SetterDeclaration);
100
101
  getReturnType(): types.Type | undefined;
101
102
  isGenerator(): boolean;
@@ -104,8 +105,8 @@ export declare namespace SubprogramInfo {
104
105
  }
105
106
  export class PackageConstructor implements ISubprogramInfo {
106
107
  readonly kind = "package-constructor";
107
- private readonly _analyzer;
108
- private readonly _node;
108
+ private readonly analyzer;
109
+ private readonly node;
109
110
  constructor(analyzer: Analyzer, node: tree.PackageConstructorDeclaration);
110
111
  getReturnType(): types.Type | undefined;
111
112
  isGenerator(): boolean;
@@ -115,8 +116,8 @@ export declare namespace SubprogramInfo {
115
116
  }
116
117
  export class PackageEntryPoint implements ISubprogramInfo {
117
118
  readonly kind = "package-entry-point";
118
- private readonly _analyzer;
119
- private readonly _node;
119
+ private readonly analyzer;
120
+ private readonly node;
120
121
  constructor(analyzer: Analyzer, node: tree.PackageEntryPointDeclaration);
121
122
  getReturnType(): types.Type | undefined;
122
123
  isGenerator(): boolean;
@@ -126,8 +127,8 @@ export declare namespace SubprogramInfo {
126
127
  }
127
128
  export class FunctionLiteral implements ISubprogramInfo {
128
129
  readonly kind = "function-literal";
129
- private readonly _analyzer;
130
- private readonly _node;
130
+ private readonly analyzer;
131
+ private readonly node;
131
132
  constructor(analyzer: Analyzer, node: RegularOrBlockFunctionLiteral);
132
133
  getReturnType(): types.Type | undefined;
133
134
  isGenerator(): boolean;
@@ -4,10 +4,10 @@ import { TypeEntity } from '../../entities/TypeEntity.js';
4
4
  import { SourceFile } from '../../project/SourceFile.js';
5
5
  import { SemanticContext } from './SemanticContext.js';
6
6
  export declare class SemanticContextBasedEntityHidingMatcher extends BaseEntityHidingMatcher {
7
- private readonly _semanticContext;
8
- private readonly _sourceFile;
9
- private readonly _typeEntity;
10
- private readonly _package;
7
+ private readonly semanticContext;
8
+ private readonly typeEntity_;
9
+ private sourceFile_;
10
+ private package_;
11
11
  protected get sourceFile(): SourceFile;
12
12
  protected get package(): PackageEntity;
13
13
  protected get typeEntity(): TypeEntity | undefined;
@@ -4,31 +4,31 @@ import { FunctionDeclaration, IndexedElementAccessorDeclaration, PackageTypeDecl
4
4
  import { BlockSemanticContext, CatchClauseSemanticContext, ConstructorSemanticContext, DestructorSemanticContext, ForStatementSemanticContext, FunctionBlockSemanticContext, FunctionLiteralSemanticContext, FunctionSemanticContext, IndexedElementAccessorSemanticContext, OperatorSemanticContext, OutermostSemanticContextOfSubprogram, OutermostSemanticContextOfType, PackageConstructorSemanticContext, PackageEntryPointSemanticContext, ParametersOfFunctionTypeSemanticContext, SemanticContext, SemanticContextContainingTypeMember, SourceFileSemanticContext, SpecialLocalDeclarationSemanticContext, StatementBlockSemanticContext, SubprogramParameterSemanticContext, SubprogramTypeParameterSemanticContext, TypeBodySemanticContext, TypeDeclarationCreatingSemanticContext, TypeDeclarationWithMembersBody, TypeExtensionBodySemanticContext, TypeParametersOfTypeSemanticContext, VariableAccessorDeclaration, VariableAccessorSemanticContext } from '../semantic-context/index.js';
5
5
  import { TranslationTextTemplateSemanticContext } from './TranslationTextTemplateSemanticContext.js';
6
6
  export declare class SemanticContextBuilder {
7
- private readonly _analyzer;
8
- private readonly _sourceFileContexts;
9
- private readonly _indexedElementAccessorContexts;
10
- private readonly _operatorContexts;
11
- private readonly _fieldWithInitializerContexts;
12
- private readonly _forStatementContexts;
13
- private readonly _catchClauseSemanticContexts;
14
- private readonly _destructorContexts;
15
- private readonly _constructorContexts;
16
- private readonly _functionLiteralContexts;
17
- private readonly _packageEntryPointContexts;
18
- private readonly _packageConstructorContexts;
19
- private readonly _variableAccessorContexts;
20
- private readonly _typeDeclarationTypeParameterContexts;
21
- private readonly _typeDeclarationBodyContexts;
22
- private readonly _parametersOfFunctionTypeContext;
23
- private readonly _statementBlockContexts;
24
- private readonly _functionBlockContexts;
25
- private readonly _specialLocalDeclarationContexts;
26
- private readonly _subprogramTypeParameterContexts;
27
- private readonly _subprogramParameterContexts;
28
- private readonly _outermostContextsOfFunctionDeclaration;
29
- private readonly _outermostContextsOfTypeDeclaration;
30
- private readonly _typeExtensionDeclarationBodyContexts;
31
- private readonly _translationTextTemplateContexts;
7
+ private readonly analyzer;
8
+ private readonly sourceFileContexts;
9
+ private readonly indexedElementAccessorContexts;
10
+ private readonly operatorContexts;
11
+ private readonly fieldWithInitializerContexts;
12
+ private readonly forStatementContexts;
13
+ private readonly catchClauseSemanticContexts;
14
+ private readonly destructorContexts;
15
+ private readonly constructorContexts;
16
+ private readonly functionLiteralContexts;
17
+ private readonly packageEntryPointContexts;
18
+ private readonly packageConstructorContexts;
19
+ private readonly variableAccessorContexts;
20
+ private readonly typeDeclarationTypeParameterContexts;
21
+ private readonly typeDeclarationBodyContexts;
22
+ private readonly parametersOfFunctionTypeContext;
23
+ private readonly statementBlockContexts;
24
+ private readonly functionBlockContexts;
25
+ private readonly specialLocalDeclarationContexts;
26
+ private readonly subprogramTypeParameterContexts;
27
+ private readonly subprogramParameterContexts;
28
+ private readonly outermostContextsOfFunctionDeclaration;
29
+ private readonly outermostContextsOfTypeDeclaration;
30
+ private readonly typeExtensionDeclarationBodyContexts;
31
+ private readonly translationTextTemplateContexts;
32
32
  constructor(analyzer: Analyzer);
33
33
  /**
34
34
  * Возвращает контекст, содержащий узел. Если в качестве узла передан исходный файл,
@@ -1,7 +1,7 @@
1
1
  import { Name } from '../../common/index.js';
2
2
  import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
3
3
  import { IEntityHidingMatcher } from '../../entities/EntityHiding.js';
4
- import { LocalVariableEntity, NestedFunctionEntity, ParameterVariableEntity, TextTemplateParameterVariableEntity, TypeParameterEntity } from '../../entities/index.js';
4
+ import { LocalVariableEntity, NestedFunctionEntity, ParameterEntity, TextTemplateParameterEntity, TypeParameterEntity } from '../../entities/index.js';
5
5
  import * as tree from '../../tree/index.js';
6
6
  import { Analyzer } from '../Analyzer.js';
7
7
  import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
@@ -13,13 +13,13 @@ export interface NameConflictsValidator {
13
13
  export declare abstract class SemanticContextValidatingNameConflictsBase extends SemanticContextWithParent implements NameConflictsValidator {
14
14
  abstract readonly outer: SemanticContext;
15
15
  abstract readonly node: tree.Node;
16
- protected readonly _analyzer: Analyzer;
17
- private readonly _memberEntities;
18
- private _memberEntitiesByNameKey;
19
- private readonly _namedDeclarations;
20
- private readonly _typesOrContainerWithTypes;
21
- private readonly _namedDeclarationsByName;
22
- private readonly _typesOrContainerWithTypesByName;
16
+ protected readonly analyzer: Analyzer;
17
+ private readonly memberEntities_;
18
+ private memberEntitiesByNameKey;
19
+ private readonly namedDeclarations_;
20
+ private readonly typesOrContainerWithTypes_;
21
+ private readonly namedDeclarationsByName_;
22
+ private readonly typesOrContainerWithTypesByName_;
23
23
  private get memberEntities();
24
24
  private get namedDeclarations();
25
25
  private get typesOrContainerWithTypes();
@@ -38,5 +38,5 @@ export declare abstract class SemanticContextValidatingNameConflictsBase extends
38
38
  private createNamedDeclarations;
39
39
  private createTypesOrContainerWithTypes;
40
40
  }
41
- export type MemberOfSemanticContextValidatingNameConflicts = LocalVariableEntity | ParameterVariableEntity | TextTemplateParameterVariableEntity | NestedFunctionEntity | TypeParameterEntity;
41
+ export type MemberOfSemanticContextValidatingNameConflicts = LocalVariableEntity | ParameterEntity | TextTemplateParameterEntity | NestedFunctionEntity | TypeParameterEntity;
42
42
  export type MemberOfSemanticContextValidatingNameConflictsForTypeLookup = TypeParameterEntity;
@@ -12,14 +12,14 @@ export declare class SourceFileSemanticContext extends SemanticContextBase {
12
12
  readonly kind = "source-file";
13
13
  readonly outer: SemanticContext | undefined;
14
14
  protected asContext: SemanticContext;
15
- private readonly _analyzer;
16
- private readonly _sourceFile;
17
- private readonly _sourceFileMembers;
18
- private readonly _containingPackageMemberLookup;
19
- private readonly _importedPackageMemberLookups;
20
- private readonly _packageNameSegments;
21
- private readonly _packageNameSegmentsByKey;
22
- private readonly _diagnosticArgumentFactory;
15
+ private readonly analyzer;
16
+ private readonly sourceFile;
17
+ private readonly sourceFileMembers;
18
+ private readonly containingPackageMemberLookup;
19
+ private readonly importedPackageMemberLookups;
20
+ private readonly packageNameSegments;
21
+ private readonly packageNameSegmentsByKey_;
22
+ private readonly diagnosticArgumentFactory;
23
23
  private get packageNameSegmentsByKey();
24
24
  constructor(analyzer: Analyzer, node: tree.SourceFile);
25
25
  getContainingSubprogram(): SubprogramInfo | undefined;
@@ -27,9 +27,9 @@ export declare abstract class OutermostSemanticContextOfSubprogram extends Seman
27
27
  export declare class FunctionSemanticContext extends OutermostSemanticContextOfSubprogram {
28
28
  readonly outer: SemanticContext;
29
29
  protected readonly asContext: SemanticContext;
30
- private readonly _analyzer;
31
- private readonly _node;
32
- private readonly _subprogramInfo;
30
+ private readonly analyzer;
31
+ private readonly node;
32
+ private readonly subprogramInfo;
33
33
  constructor(analyzer: Analyzer, node: FunctionDeclaration, outer: SemanticContext);
34
34
  getContainingSubprogram(): SubprogramInfo;
35
35
  isStatic(): boolean;
@@ -37,27 +37,27 @@ export declare class FunctionSemanticContext extends OutermostSemanticContextOfS
37
37
  export declare class PackageConstructorSemanticContext extends OutermostSemanticContextOfSubprogram {
38
38
  readonly outer: SourceFileSemanticContext;
39
39
  protected readonly asContext: SemanticContext;
40
- private readonly _analyzer;
41
- private readonly _node;
42
- private readonly _subprogramInfo;
40
+ private readonly analyzer;
41
+ private readonly node;
42
+ private readonly subprogramInfo;
43
43
  constructor(analyzer: Analyzer, node: tree.PackageConstructorDeclaration, outer: SourceFileSemanticContext);
44
44
  getContainingSubprogram(): SubprogramInfo;
45
45
  }
46
46
  export declare class PackageEntryPointSemanticContext extends OutermostSemanticContextOfSubprogram {
47
47
  readonly outer: SourceFileSemanticContext;
48
48
  protected readonly asContext: SemanticContext;
49
- private readonly _analyzer;
50
- private readonly _node;
51
- private readonly _subprogramInfo;
49
+ private readonly analyzer;
50
+ private readonly node;
51
+ private readonly subprogramInfo;
52
52
  constructor(analyzer: Analyzer, node: tree.PackageEntryPointDeclaration, outer: SourceFileSemanticContext);
53
53
  getContainingSubprogram(): SubprogramInfo;
54
54
  }
55
55
  export declare class OperatorSemanticContext extends OutermostSemanticContextOfSubprogram {
56
56
  readonly outer: SemanticContextContainingTypeMember;
57
57
  protected readonly asContext: SemanticContext;
58
- private readonly _analyzer;
59
- private readonly _node;
60
- private readonly _subprogramInfo;
58
+ private readonly analyzer;
59
+ private readonly node;
60
+ private readonly subprogramInfo;
61
61
  constructor(analyzer: Analyzer, node: tree.OperatorDeclaration, outer: SemanticContextContainingTypeMember);
62
62
  getContainingSubprogram(): SubprogramInfo;
63
63
  isStatic(): boolean;
@@ -65,18 +65,18 @@ export declare class OperatorSemanticContext extends OutermostSemanticContextOfS
65
65
  export declare class ConstructorSemanticContext extends OutermostSemanticContextOfSubprogram {
66
66
  readonly outer: SemanticContextContainingTypeMember;
67
67
  protected readonly asContext: SemanticContext;
68
- private readonly _analyzer;
69
- private readonly _node;
70
- private readonly _subprogramInfo;
68
+ private readonly analyzer;
69
+ private readonly node;
70
+ private readonly subprogramInfo;
71
71
  constructor(analyzer: Analyzer, node: tree.ConstructorDeclaration, outer: SemanticContextContainingTypeMember);
72
72
  getContainingSubprogram(): SubprogramInfo;
73
73
  }
74
74
  export declare class DestructorSemanticContext extends OutermostSemanticContextOfSubprogram {
75
75
  readonly outer: SemanticContextContainingTypeMember;
76
76
  protected readonly asContext: SemanticContext;
77
- private readonly _analyzer;
78
- private readonly _node;
79
- private readonly _subprogramInfo;
77
+ private readonly analyzer;
78
+ private readonly node;
79
+ private readonly subprogramInfo;
80
80
  constructor(analyzer: Analyzer, node: tree.DestructorDeclaration, outer: SemanticContextContainingTypeMember);
81
81
  getContainingSubprogram(): SubprogramInfo;
82
82
  }
@@ -85,9 +85,9 @@ export type VariableAccessorDeclaration = PackageVariableAccessorDeclaration | F
85
85
  export declare class VariableAccessorSemanticContext extends OutermostSemanticContextOfSubprogram {
86
86
  readonly outer: AccessorSemanticContextParent;
87
87
  protected readonly asContext: SemanticContext;
88
- private readonly _analyzer;
89
- private readonly _node;
90
- private readonly _subprogramInfo;
88
+ private readonly analyzer;
89
+ private readonly node;
90
+ private readonly subprogramInfo;
91
91
  constructor(analyzer: Analyzer, node: VariableAccessorDeclaration, outer: AccessorSemanticContextParent);
92
92
  getContainingSubprogram(): SubprogramInfo;
93
93
  isStatic(): boolean;
@@ -95,9 +95,9 @@ export declare class VariableAccessorSemanticContext extends OutermostSemanticCo
95
95
  export declare class IndexedElementAccessorSemanticContext extends OutermostSemanticContextOfSubprogram {
96
96
  readonly outer: AccessorSemanticContextParent;
97
97
  protected readonly asContext: SemanticContext;
98
- private readonly _analyzer;
99
- private readonly _node;
100
- private readonly _subprogramInfo;
98
+ private readonly analyzer;
99
+ private readonly node;
100
+ private readonly subprogramInfo;
101
101
  constructor(analyzer: Analyzer, node: IndexedElementAccessorDeclaration, outer: AccessorSemanticContextParent);
102
102
  getContainingSubprogram(): SubprogramInfo;
103
103
  isStatic(): boolean;
@@ -105,9 +105,9 @@ export declare class IndexedElementAccessorSemanticContext extends OutermostSema
105
105
  export declare class FunctionLiteralSemanticContext extends OutermostSemanticContextOfSubprogram {
106
106
  readonly outer: SemanticContext;
107
107
  protected readonly asContext: SemanticContext;
108
- private readonly _analyzer;
109
- private readonly _node;
110
- private readonly _subprogramInfo;
108
+ private readonly analyzer;
109
+ private readonly node;
110
+ private readonly subprogramInfo;
111
111
  constructor(analyzer: Analyzer, node: RegularOrBlockFunctionLiteral, outer: SemanticContext);
112
112
  getContainingSubprogram(): SubprogramInfo;
113
113
  }
@@ -22,8 +22,8 @@ export declare class OutermostSemanticContextOfType extends SemanticContextWithP
22
22
  readonly kind = "outermost-of-type";
23
23
  readonly outer: SemanticContext;
24
24
  protected readonly asContext: SemanticContext;
25
- private readonly _analyzer;
26
- private readonly _node;
25
+ private readonly analyzer;
26
+ private readonly node;
27
27
  constructor(analyzer: Analyzer, node: TypeDeclarationCreatingSemanticContext, outer: SemanticContext);
28
28
  getContainingTypeOrTypeExtension(): TypeOrTypeExtension | undefined;
29
29
  getContainingSubprogram(): SubprogramInfo | undefined;
@@ -40,7 +40,7 @@ export declare class TypeParametersOfTypeSemanticContext extends SemanticContext
40
40
  readonly outer: OutermostSemanticContextOfType;
41
41
  readonly node: TypeDeclarationWithTypeParameters;
42
42
  protected readonly asContext: SemanticContext;
43
- private readonly _typeParameterClause;
43
+ private readonly typeParameterClause;
44
44
  constructor(analyzer: Analyzer, node: TypeDeclarationWithTypeParameters, typeParameterClause: tree.TypeParameterClause, outer: OutermostSemanticContextOfType);
45
45
  protected createMemberEntities(): readonly MemberOfSemanticContextValidatingNameConflicts[];
46
46
  protected createMemberEntitiesForTypeLookup(): readonly MemberOfSemanticContextValidatingNameConflictsForTypeLookup[];
@@ -62,9 +62,9 @@ export declare class TypeBodySemanticContext extends TypeOrExtensionBodySemantic
62
62
  readonly kind = "type-body";
63
63
  readonly outer: TypeBodySemanticContextParent;
64
64
  protected readonly asContext: SemanticContext;
65
- private readonly _analyzer;
66
- private readonly _node;
67
- private readonly _memberLookup;
65
+ private readonly analyzer;
66
+ private readonly node;
67
+ private readonly memberLookup_;
68
68
  protected get memberLookup(): TypeMemberLookup;
69
69
  constructor(analyzer: Analyzer, node: TypeDeclarationWithMembersBody, outer: TypeBodySemanticContextParent);
70
70
  private getTypeEntity;
@@ -73,9 +73,9 @@ export declare class TypeExtensionBodySemanticContext extends TypeOrExtensionBod
73
73
  readonly kind = "type-extension-body";
74
74
  readonly outer: SourceFileSemanticContext;
75
75
  protected readonly asContext: SemanticContext;
76
- private readonly _analyzer;
77
- private readonly _node;
78
- private readonly _memberLookup;
76
+ private readonly analyzer;
77
+ private readonly node;
78
+ private readonly memberLookup_;
79
79
  protected get memberLookup(): TypeMemberLookup;
80
80
  constructor(analyzer: Analyzer, node: tree.TypeExtensionDeclaration, outer: SourceFileSemanticContext);
81
81
  getContainingTypeOrTypeExtension(): TypeOrTypeExtension | undefined;
@@ -1,7 +1,7 @@
1
1
  export * from '../analysis/AccessedFunction.js';
2
2
  export * from '../analysis/AnalyzedTranslationPackage.js';
3
3
  export * from '../analysis/Analyzer.js';
4
- export { MatchResult, MatchResultValueParameter } from '../analysis/ArgumentToParameterMatchResult.js';
4
+ export { MatchResult, MatchResultParameter } from '../analysis/ArgumentToParameterMatchResult.js';
5
5
  export type { Meaning as AutotypeCallExpressionMeaning } from '../analysis/AutotypeCallExpressionMeaning.js';
6
6
  export type { Meaning as BaseExpressionMeaning } from '../analysis/BaseExpressionMeaning.js';
7
7
  export type { Meaning as CallExpressionMeaning } from '../analysis/CallExpressionMeaning.js';
@@ -11,7 +11,6 @@ export * from '../analysis/FindModifier.js';
11
11
  export type { Meaning as IdentifierExpressionMeaning, ResolutionResult as IdentifierExpressionResolutionResult } from '../analysis/IdentifierExpressionMeaning.js';
12
12
  export * from '../analysis/ImportedPackageNameTree.js';
13
13
  export type { Meaning as IndexedAccessExpressionMeaning } from '../analysis/IndexedAccessExpressionMeaning.js';
14
- export * from '../analysis/Localization.js';
15
14
  export type { Meaning as MemberAccessExpressionMeaning, ResolutionResult as MemberAccessExpressionResolutionResult } from '../analysis/MemberAccessExpressionMeaning.js';
16
15
  export * from '../analysis/NodeTypeUtils.js';
17
16
  export type { Meaning as ObjectExpressionMeaning } from '../analysis/ObjectExpressionMeaning.js';
@@ -22,6 +21,7 @@ export * from '../analysis/SourcePackageDependencyGraph.js';
22
21
  export * from '../analysis/SubstitutedFunction.js';
23
22
  export type { Meaning as TagMeaning } from '../analysis/TagMeaning.js';
24
23
  export * from '../analysis/Tags.js';
24
+ export * from '../analysis/Translation.js';
25
25
  export * from '../analysis/TypeMemberLookup.js';
26
26
  export * from '../analysis/Utils.js';
27
27
  export * from '../analysis/Visitor.js';
@@ -1,7 +1,7 @@
1
1
  export declare class Cached<T> {
2
- private _hasValue;
3
- private _value?;
4
- private _isEvaluating;
2
+ private hasValue_;
3
+ private value?;
4
+ private isEvaluating;
5
5
  get hasValue(): boolean;
6
6
  insert(value: T): void;
7
7
  getOrInsertWith(fn: () => T): T;
@@ -6,8 +6,8 @@ export declare class CancelledError extends Error {
6
6
  constructor(message?: string);
7
7
  }
8
8
  export declare class GenericCancellationToken implements CancellationToken {
9
- private readonly _isCancellationRequested;
9
+ private readonly isCancellationRequested_;
10
10
  get isCancellationRequested(): boolean;
11
- constructor(_isCancellationRequested: () => boolean);
11
+ constructor(isCancellationRequested_: () => boolean);
12
12
  throwIfCancellationRequested(): void;
13
13
  }
@@ -1,6 +1,6 @@
1
1
  export declare class Delayed<T> {
2
- private _hasValue;
3
- private _value?;
2
+ private hasValue_;
3
+ private value_?;
4
4
  get hasValue(): boolean;
5
5
  get value(): T;
6
6
  set value(value: T);
@@ -2,9 +2,9 @@ export interface Displayable {
2
2
  getDisplayText(): string;
3
3
  }
4
4
  export declare class DisplayableArray implements Displayable {
5
- private readonly _array;
6
- private readonly _separator;
7
- constructor(_array: readonly DisplayableOrPrimitive[], _separator: string);
5
+ private readonly array;
6
+ private readonly separator;
7
+ constructor(array: readonly DisplayableOrPrimitive[], separator: string);
8
8
  getDisplayText(): string;
9
9
  }
10
10
  export type DisplayableOrPrimitive = Displayable | string | number | boolean;
@@ -9,6 +9,7 @@ export declare const enum HelperPhraseKind {
9
9
  Variable = 6,
10
10
  Overloads = 7,
11
11
  EnumeratorMethodName = 8,
12
- InvokeMethodName = 9
12
+ InvokeMethodName = 9,
13
+ EmptyUnionType = 10
13
14
  }
14
15
  export declare function getHelperPhrase(kind: HelperPhraseKind, locale: PackageLocale): string;
@@ -1,4 +1,4 @@
1
1
  export declare class Interner<TKey, TValue> {
2
- private readonly _values;
2
+ private readonly values;
3
3
  intern(key: TKey, value: TValue): TValue;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  export declare class Lazy<T> {
2
- private _factory;
3
- private _isEvaluating;
4
- private _value?;
2
+ private factory;
3
+ private isEvaluating;
4
+ private value_?;
5
5
  constructor(factory: () => T);
6
6
  static immediate<T>(value: T): Lazy<T>;
7
7
  get value(): T;
@@ -1,6 +1,6 @@
1
1
  export declare class Option<T> {
2
- private readonly _isSome;
3
- private readonly _value?;
2
+ private readonly isSome_;
3
+ private readonly value?;
4
4
  private constructor();
5
5
  static some<T>(value: T): Option<T>;
6
6
  static none<T>(): Option<T>;
@@ -1,7 +1,7 @@
1
1
  export declare class PerformanceMeasurement {
2
2
  static isEnabled: boolean;
3
- private static readonly _durations;
4
- private static readonly _measureInfoStack;
3
+ private static readonly durations;
4
+ private static readonly measureInfoStack;
5
5
  static markStart(label: string | number): void;
6
6
  static markEnd(): void;
7
7
  static getDurationMs(label: string | number): number;
@@ -4,6 +4,20 @@ export declare abstract class Query<T> implements Iterable<T> {
4
4
  static fromNullable<T>(source: Iterable<T> | undefined): Query<T>;
5
5
  static empty<T>(): Query<T>;
6
6
  static ofSuccessors<T>(first: T, next: (t: T) => T | undefined): Query<T>;
7
+ static map<T, K>(source: Iterable<T>, fn: (t: T, i: number) => K): Query<K>;
8
+ static toMap<T, K, V>(source: Iterable<T>, keySelector: (t: T) => K, valueSelector: (t: T) => V): Map<K, V>;
9
+ static toMap<T>(source: Iterable<T>): T extends readonly [infer K, infer V] ? Map<K, V> : never;
10
+ static filter<T, K extends T>(source: Iterable<T>, fn: (t: T) => t is K): Query<K>;
11
+ static filter<T>(source: Iterable<T>, fn: (t: T) => boolean): Query<T>;
12
+ static mapAndFilter<T, K>(source: Iterable<T>, fn: (t: T) => K | undefined): Query<K>;
13
+ static zip<T, TRight, TResult>(source: Iterable<T>, other: Iterable<TRight>, fn: (left: T, right: TRight) => TResult): Query<TResult>;
14
+ static zipLongest<T, TRight, TResult>(source: Iterable<T>, other: Iterable<TRight>, fn: (left: T | undefined, right: TRight | undefined) => TResult): Query<TResult>;
15
+ static all<T>(source: Iterable<T>, fn: (t: T) => boolean): boolean;
16
+ static any<T>(source: Iterable<T>, fn: (t: T) => boolean): boolean;
17
+ static groupByToMap<T, K>(source: Iterable<T>, keySelector: (t: T) => K): Map<K, T[]>;
18
+ static groupByToMap<T, K, V>(source: Iterable<T>, keySelector: (t: T) => K, mapFn: (t: T) => V): Map<K, V[]>;
19
+ static maxByValue<T>(source: Iterable<T>, valueSelector: (t: T) => number): T | undefined;
20
+ static minByValue<T>(source: Iterable<T>, valueSelector: (t: T) => number): T | undefined;
7
21
  abstract [Symbol.iterator](): Iterator<T, void, undefined>;
8
22
  map<K>(fn: (t: T, i: number) => K): Query<K>;
9
23
  forEach(fn: (t: T) => void): void;
@@ -28,6 +42,7 @@ export declare abstract class Query<T> implements Iterable<T> {
28
42
  all(fn: (t: T) => boolean): boolean;
29
43
  any(fn: (t: T) => boolean): boolean;
30
44
  skipWhile(fn: (t: T) => boolean): Query<T>;
45
+ skip(count: number): Query<T>;
31
46
  takeWhile(fn: (t: T) => boolean): Query<T>;
32
47
  scan<TState, K>(initial: TState, fn: (state: TState, t: T) => K | undefined): Query<K>;
33
48
  reduce<K>(initial: K, fn: (state: K, t: T) => K): K;
@@ -1,11 +1,11 @@
1
1
  import { CancellationToken } from './index.js';
2
2
  export declare class ThrottledCancellationToken {
3
- private readonly _token;
4
- private readonly _throttleTimeMs;
5
- private readonly _checkThrottleTimeEveryN;
6
- private _checkNumber;
7
- private _lastTimeMs;
8
- constructor(_token: CancellationToken, _throttleTimeMs: number, _checkThrottleTimeEveryN: number);
3
+ private readonly token;
4
+ private readonly throttleTimeMs;
5
+ private readonly checkThrottleTimeEveryN;
6
+ private checkNumber;
7
+ private lastTimeMs;
8
+ constructor(token: CancellationToken, throttleTimeMs: number, checkThrottleTimeEveryN: number);
9
9
  isThrottleTimeOver(): boolean;
10
10
  throwIfCancellationRequestedAndReset(): void;
11
11
  throwIfCancellationRequestedAndResetAsync(): Promise<void>;
@@ -3,17 +3,14 @@ import { TypeWithMembersDeclaration } from '../analysis/NodeTypeUtils.js';
3
3
  import { PackageEntity, TypeEntity } from '../entities/index.js';
4
4
  import { SourceFile, SourcePackage } from '../project/index.js';
5
5
  import * as tree from '../tree/index.js';
6
- import { PackageLocale } from './PackageLocale.js';
7
6
  export declare class TreeQuery {
8
- static getSourceFileNode(node: tree.Node): tree.SourceFile;
9
7
  static getSourceFile(node: tree.Node, analyzer: Analyzer): SourceFile;
10
8
  static getSourcePackage(node: tree.Node, analyzer: Analyzer): SourcePackage;
11
9
  static getPackageEntity(node: tree.Node, analyzer: Analyzer): PackageEntity;
12
- static getLocale(node: tree.Node, analyzer: Analyzer): PackageLocale;
13
10
  }
14
11
  export declare class TypeMemberQuery {
15
- static getContainingDeclaration(node: tree.TypeMemberDeclaration): TypeWithMemberOrTypeExtensionDeclaration;
12
+ static getContainingDeclaration(node: tree.TypeMemberDeclaration): TypeWithMembersOrTypeExtensionDeclaration;
16
13
  static getOutermostMemberBlock(node: tree.TypeMemberDeclaration): tree.TypeMemberDeclarationBlock;
17
14
  static getContextualTypeEntity(node: tree.TypeMemberDeclaration, analyzer: Analyzer): TypeEntity | undefined;
18
15
  }
19
- export type TypeWithMemberOrTypeExtensionDeclaration = TypeWithMembersDeclaration | tree.TypeExtensionDeclaration;
16
+ export type TypeWithMembersOrTypeExtensionDeclaration = TypeWithMembersDeclaration | tree.TypeExtensionDeclaration;