@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
@@ -5,35 +5,35 @@ import { TypeScriptLibrariesProvider } from '../ts-interop/TsLibrariesProvider.j
5
5
  import { WorkspaceFileSystem } from './workspace/index.js';
6
6
  export declare class LanguageServer {
7
7
  static readonly DefaultCancellationTokenThrottleTime = 50;
8
- private readonly _connection;
9
- private readonly _config;
10
- private readonly _disposables;
11
- private _clientCapabilities;
12
- private _workspace;
13
- private _isInitialized;
14
- private _enableRequestCancellation;
15
- private _sendRefreshDiagnosticsRequestDebounced;
16
- private _workspaceDiagnosticsPartialResultToken;
17
- private _fileSystemUpdateNotificationsPublisher;
18
- private _manuallyUpdatedFileSystemTreeProvider;
19
- private readonly _sourceFileItemsService;
20
- private readonly _workspaceItemsService;
21
- private _definitionService;
22
- private _sourceGenerationService;
23
- private readonly _referencesService;
24
- private readonly _documentHighlightService;
25
- private readonly _renameService;
26
- private readonly _hoverService;
27
- private readonly _evaluatableExpressionService;
28
- private readonly _completionService;
29
- private readonly _semanticTokensService;
30
- private readonly _semanticTokenTypeIndexBySemanticTokenKind;
31
- private readonly _protocolSemanticTokenModifierFlagByIndex;
32
- private readonly _signatureHelpService;
33
- private readonly _fileSystemTreeDisplayService;
34
- private readonly _selectionRangeService;
35
- private readonly _addPropertyAssignmentService;
36
- private readonly _codeActionsService;
8
+ private readonly connection;
9
+ private readonly config;
10
+ private readonly disposables;
11
+ private clientCapabilities;
12
+ private workspace;
13
+ private isInitialized;
14
+ private enableRequestCancellation;
15
+ private sendRefreshDiagnosticsRequestDebounced;
16
+ private workspaceDiagnosticsPartialResultToken;
17
+ private fileSystemUpdateNotificationsPublisher;
18
+ private manuallyUpdatedFileSystemTreeProvider;
19
+ private readonly sourceFileItemsService;
20
+ private readonly workspaceItemsService;
21
+ private definitionService;
22
+ private sourceGenerationService;
23
+ private readonly referencesService;
24
+ private readonly documentHighlightService;
25
+ private readonly renameService;
26
+ private readonly hoverService;
27
+ private readonly evaluatableExpressionService;
28
+ private readonly completionService;
29
+ private readonly semanticTokensService;
30
+ private readonly semanticTokenTypeIndexBySemanticTokenKind;
31
+ private readonly protocolSemanticTokenModifierFlagByIndex;
32
+ private readonly signatureHelpService;
33
+ private readonly fileSystemTreeDisplayService;
34
+ private readonly selectionRangeService;
35
+ private readonly assignFieldService;
36
+ private readonly codeActionsService;
37
37
  constructor(config: LanguageServerConfig);
38
38
  start(): void;
39
39
  dispose(): void;
@@ -60,7 +60,7 @@ export declare class LanguageServer {
60
60
  private convertSourceFileItemKind;
61
61
  private convertDiagnostic;
62
62
  private onExecuteCommand;
63
- private onAddPropertyAssignment;
63
+ private onAssignField;
64
64
  private convertSourceFileEdit;
65
65
  private convertSourceFileEditsToWorkspaceEdit;
66
66
  private onGetNodeRange;
@@ -127,8 +127,8 @@ export interface ArtelServerInitializationOptions {
127
127
  standardPackagesUri?: ls.URI;
128
128
  }
129
129
  export declare class ClientCancellationToken implements CancellationToken {
130
- private readonly _token;
130
+ private readonly token;
131
131
  get isCancellationRequested(): boolean;
132
- constructor(_token: ls.CancellationToken);
132
+ constructor(token: ls.CancellationToken);
133
133
  throwIfCancellationRequested(): void;
134
134
  }
@@ -1,9 +1,9 @@
1
1
  import { AccessedFunction } from '../analysis/AccessedFunction.js';
2
- import { MatchResultValueParameter } from '../analysis/ArgumentToParameterMatchResult.js';
2
+ import { MatchResultParameter } from '../analysis/ArgumentToParameterMatchResult.js';
3
3
  import { PackageNameTreeNode } from '../analysis/ImportedPackageNameTree.js';
4
4
  import { Analyzer } from '../analysis/index.js';
5
- import { Translation } from '../analysis/Localization.js';
6
5
  import { IndexedElementAccessorDeclaration } from '../analysis/NodeTypeUtils.js';
6
+ import { Translation } from '../analysis/Translation.js';
7
7
  import { AccessKind, ReadonlyNonEmptyArray } from '../common/index.js';
8
8
  import { AliasTypeEntity, Entity, FunctionEntity, FunctionTypeEntity, PackageEntity, StructuredTypeEntity, TypeParameterEntity, VariableEntity, VariantTypeEntity } from '../entities/index.js';
9
9
  import * as tree from '../tree/index.js';
@@ -56,7 +56,7 @@ export declare class ReferenceNodeSemanticInfo {
56
56
  get firstBetterTargetWithFallback(): ReferenceTarget;
57
57
  constructor(targets: ReadonlyNonEmptyArray<ReferenceTarget>, isAmbiguous: boolean, betterTargets?: ReadonlyNonEmptyArray<ReferenceTarget> | undefined);
58
58
  }
59
- export type ReferenceTarget = EntityReferenceTarget | FieldReferenceTarget | TypeValueParameterReferenceTarget | ConstructorReferenceTarget | OperatorReferenceTarget | DereferenceOperatorReferenceTarget | AccessedFunctionReferenceTarget | IndexerReferenceTarget | MatchResultValueParameterReferenceTarget | PackageReferenceTarget | PackageNameTreeNodeReferenceTarget | TypeContextReferenceTarget;
59
+ export type ReferenceTarget = EntityReferenceTarget | FieldReferenceTarget | TypeParameterReferenceTarget | ConstructorReferenceTarget | OperatorReferenceTarget | DereferenceOperatorReferenceTarget | AccessedFunctionReferenceTarget | IndexerReferenceTarget | MatchResultParameterReferenceTarget | PackageReferenceTarget | PackageNameTreeNodeReferenceTarget | TypeContextReferenceTarget;
60
60
  export declare class EntityReferenceTarget {
61
61
  readonly entity: Entity;
62
62
  readonly accessKind: AccessKind;
@@ -71,11 +71,11 @@ export declare class FieldReferenceTarget {
71
71
  readonly kind = "field";
72
72
  constructor(field: types.Field, accessKind: AccessKind, narrowedType: types.Type | undefined);
73
73
  }
74
- export declare class TypeValueParameterReferenceTarget {
75
- readonly parameter: types.ValueParameter;
74
+ export declare class TypeParameterReferenceTarget {
75
+ readonly parameter: types.Parameter;
76
76
  readonly accessKind: AccessKind;
77
77
  readonly kind = "type-value-parameter";
78
- constructor(parameter: types.ValueParameter, accessKind: AccessKind);
78
+ constructor(parameter: types.Parameter, accessKind: AccessKind);
79
79
  }
80
80
  export declare class ConstructorReferenceTarget {
81
81
  readonly constructor_: types.Constructor;
@@ -98,11 +98,11 @@ export declare class OperatorReferenceTarget {
98
98
  readonly kind = "operator";
99
99
  constructor(operator: types.Operator);
100
100
  }
101
- export declare class MatchResultValueParameterReferenceTarget {
102
- readonly parameter: MatchResultValueParameter;
101
+ export declare class MatchResultParameterReferenceTarget {
102
+ readonly parameter: MatchResultParameter;
103
103
  readonly accessKind: AccessKind;
104
104
  readonly kind = "match-result-value-parameter";
105
- constructor(parameter: MatchResultValueParameter, accessKind: AccessKind);
105
+ constructor(parameter: MatchResultParameter, accessKind: AccessKind);
106
106
  }
107
107
  export declare class PackageReferenceTarget {
108
108
  readonly package_: PackageEntity;
@@ -1,6 +1,6 @@
1
1
  import { Compilation } from '../project/index.js';
2
2
  import { Item } from './SourceFileItemsService.js';
3
3
  export declare class WorkspaceItemsService {
4
- private readonly _sourceFileItemsService;
4
+ private readonly sourceFileItemsService;
5
5
  getItems(compilations: readonly Compilation[]): Item[];
6
6
  }
@@ -2,7 +2,7 @@ import { Analyzer } from '../analysis/index.js';
2
2
  import { CancellationToken, Range } from '../common/index.js';
3
3
  import { SourceFile } from '../project/index.js';
4
4
  export declare class RenameService {
5
- private readonly _referencesService;
5
+ private readonly referencesService;
6
6
  prepareRename(analyzer: Analyzer, sourceFile: SourceFile, offset: number): Range | undefined;
7
7
  rename(analyzer: Analyzer, sourceFile: SourceFile, offset: number, newText: string, cancellationToken: CancellationToken | undefined): Promise<Rename[]>;
8
8
  private canRename;
@@ -15,7 +15,7 @@ export declare class SemanticToken {
15
15
  constructor(range: Range, kind: SemanticTokenKind, modifiers: SemanticTokenModifiers);
16
16
  }
17
17
  export declare class SemanticTokenModifiers {
18
- private _flags;
18
+ private flags_;
19
19
  get flags(): number;
20
20
  makeConst(): this;
21
21
  makeDeclaration(): this;
@@ -1,7 +1,7 @@
1
1
  import { Range } from '../common/index.js';
2
2
  import { SourceFile } from '../project/index.js';
3
3
  export declare class SourceFileItemsService {
4
- private _sourceFile;
4
+ private sourceFile;
5
5
  getItems(sourceFile: SourceFile): Item[];
6
6
  private get locale();
7
7
  private get dialect();
@@ -3,7 +3,7 @@ import { Analyzer } from '../analysis/index.js';
3
3
  import { Range } from '../common/index.js';
4
4
  import { SourceFile } from '../project/index.js';
5
5
  export declare class TranslationService {
6
- private readonly _translationCache;
6
+ private readonly translationCache;
7
7
  constructor();
8
8
  translateSourceFile(analyzer: Analyzer, sourceFile: SourceFile, localeText: string): Translation;
9
9
  clearTranslationCache(): void;
@@ -1,15 +1,15 @@
1
1
  import { Analyzer } from '../../analysis/index.js';
2
2
  import { SourceFile } from '../../project/index.js';
3
3
  import { SignatureHelp } from './SignatureHelpService.js';
4
- export declare class ValueParametersSignatureHelpProvider {
5
- private readonly _signatureContext;
6
- private readonly _analyzer;
7
- private readonly _sourceFile;
8
- private readonly _offset;
4
+ export declare class ParametersSignatureHelpProvider {
5
+ private readonly signatureContext_;
6
+ private readonly analyzer;
7
+ private readonly sourceFile;
8
+ private readonly offset;
9
9
  private get signatureContext();
10
10
  constructor(analyzer: Analyzer, sourceFile: SourceFile, offset: number);
11
11
  provideSignatureHelp(): SignatureHelp | undefined;
12
- private getNodeWithValueArgumentsInfoAtOffset;
12
+ private getNodeWithArgumentsInfoAtOffset;
13
13
  private getArgumentIndexInList;
14
14
  private getSignatureDisplayParts;
15
15
  }
@@ -1,18 +1,18 @@
1
1
  import { AccessedFunction } from '../../analysis/AccessedFunction.js';
2
2
  import { Analyzer } from '../../analysis/index.js';
3
3
  import { Name } from '../../common/index.js';
4
- import { ParameterVariableEntity } from '../../entities/index.js';
4
+ import { ParameterEntity } from '../../entities/index.js';
5
5
  import * as tree from '../../tree/index.js';
6
6
  import * as types from '../../types/index.js';
7
- export declare class ValueArgumentFactory {
8
- static createValueArgumentsOfCallExpression(node: tree.CallExpression): ValueArgument[];
9
- static createValueArgumentsOfAutotypeCallExpression(node: tree.AutotypeCallExpression): ValueArgument[];
10
- static createValueArgumentsOfIndexedAccessExpression(node: tree.IndexedAccessExpression): ValueArgument[];
11
- static createValueArgumentsOfTag(node: tree.Tag): ValueArgument[];
12
- private static createValueArgumentsFromList;
7
+ export declare class ArgumentFactory {
8
+ static createArgumentsOfCallExpression(node: tree.CallExpression): Argument[];
9
+ static createArgumentsOfAutotypeCallExpression(node: tree.AutotypeCallExpression): Argument[];
10
+ static createArgumentsOfIndexedAccessExpression(node: tree.IndexedAccessExpression): Argument[];
11
+ static createArgumentsOfTag(node: tree.Tag): Argument[];
12
+ private static createArgumentsFromList;
13
13
  }
14
14
  export declare class SignatureForNode {
15
- static getSignaturesForNode(analyzer: Analyzer, node: NodeWithValueArguments): SignaturesWithSingleSuitable | undefined;
15
+ static getSignaturesForNode(analyzer: Analyzer, node: NodeWithArguments): SignaturesWithSingleSuitable | undefined;
16
16
  static getSignaturesForCallExpression(analyzer: Analyzer, node: tree.CallExpression): SignaturesWithSingleSuitable | undefined;
17
17
  static getSignaturesForAutotypeCallExpression(analyzer: Analyzer, node: tree.AutotypeCallExpression): SignaturesWithSingleSuitable | undefined;
18
18
  static getSignaturesForIndexedAccessExpression(analyzer: Analyzer, node: tree.IndexedAccessExpression): SignaturesWithSingleSuitable | undefined;
@@ -20,21 +20,21 @@ export declare class SignatureForNode {
20
20
  private static getSignaturesOfConstructors;
21
21
  }
22
22
  export declare class SimplifiedArgumentToParameterMatcher {
23
- static match(analyzer: Analyzer, arguments_: readonly ValueArgument[], signature: Signature): SimplifiedArgumentToParameterMatchResult;
23
+ static match(analyzer: Analyzer, arguments_: readonly Argument[], signature: Signature): SimplifiedArgumentToParameterMatchResult;
24
24
  }
25
25
  export declare class SimplifiedArgumentToParameterMatchResult {
26
- readonly arguments: readonly ValueArgument[];
27
- readonly parameterByArgumentIndex: ReadonlyArray<ValueParameter | undefined>;
28
- private readonly _parameterByArgument;
29
- get parameterByArgument(): ReadonlyMap<ValueArgument, ValueParameter>;
30
- constructor(arguments_: readonly ValueArgument[], parameterByArgumentIndex: ReadonlyArray<ValueParameter | undefined>);
26
+ readonly arguments: readonly Argument[];
27
+ readonly parameterByArgumentIndex: ReadonlyArray<Parameter | undefined>;
28
+ private readonly parameterByArgument_;
29
+ get parameterByArgument(): ReadonlyMap<Argument, Parameter>;
30
+ constructor(arguments_: readonly Argument[], parameterByArgumentIndex: ReadonlyArray<Parameter | undefined>);
31
31
  }
32
32
  export declare class SimplifiedOverloadResolver {
33
- static isSuitableSignature(analyzer: Analyzer, matchedSignature: MatchedSignature, valueArguments: readonly ValueArgument[]): boolean;
34
- static getMostSuitableSignatureIndex(analyzer: Analyzer, matchedSignatures: readonly MatchedSignature[], valueArguments: readonly ValueArgument[]): number;
33
+ static isSuitableSignature(analyzer: Analyzer, matchedSignature: MatchedSignature, args: readonly Argument[]): boolean;
34
+ static getMostSuitableSignatureIndex(analyzer: Analyzer, matchedSignatures: readonly MatchedSignature[], args: readonly Argument[]): number;
35
35
  }
36
- export type NodeWithValueArguments = tree.CallExpression | tree.AutotypeCallExpression | tree.IndexedAccessExpression | tree.Tag;
37
- export declare class ValueArgument {
36
+ export type NodeWithArguments = tree.CallExpression | tree.AutotypeCallExpression | tree.IndexedAccessExpression | tree.Tag;
37
+ export declare class Argument {
38
38
  readonly name: string | undefined;
39
39
  readonly expression: tree.Expression | undefined;
40
40
  constructor(name: string | undefined, expression: tree.Expression | undefined);
@@ -53,50 +53,50 @@ export type Signature = AccessedFunctionSignature | OperatorSignature | Function
53
53
  export declare class AccessedFunctionSignature implements ISignature {
54
54
  readonly kind = "accessed-function";
55
55
  readonly func: AccessedFunction;
56
- private readonly _valueParameters;
56
+ private readonly parameters;
57
57
  constructor(func: AccessedFunction);
58
- getValueParameters(): readonly ValueParameter[];
58
+ getParameters(): readonly Parameter[];
59
59
  }
60
60
  export declare class OperatorSignature implements ISignature {
61
61
  readonly kind = "operator";
62
62
  readonly operator: types.Operator;
63
- private readonly _valueParameters;
63
+ private readonly parameters;
64
64
  constructor(operator: types.Operator);
65
- getValueParameters(): readonly ValueParameter[];
65
+ getParameters(): readonly Parameter[];
66
66
  }
67
67
  export declare class FunctionTypeSignature implements ISignature {
68
68
  readonly kind = "function-type";
69
69
  readonly functionType: types.FunctionType;
70
- private readonly _valueParameters;
70
+ private readonly parameters;
71
71
  constructor(functionType: types.FunctionType);
72
- getValueParameters(): readonly ValueParameter[];
72
+ getParameters(): readonly Parameter[];
73
73
  }
74
74
  export declare class ConstructorSignature implements ISignature {
75
75
  readonly kind = "constructor";
76
76
  readonly constructor_: types.Constructor;
77
- private readonly _valueParameters;
77
+ private readonly parameters;
78
78
  constructor(constructor_: types.Constructor);
79
- getValueParameters(): readonly ValueParameter[];
79
+ getParameters(): readonly Parameter[];
80
80
  }
81
81
  export declare class IndexerSignature implements ISignature {
82
82
  readonly kind = "indexer";
83
83
  readonly indexer: types.Indexer;
84
- private readonly _valueParameters;
84
+ private readonly parameters;
85
85
  constructor(indexer: types.Indexer);
86
- getValueParameters(): readonly ValueParameter[];
86
+ getParameters(): readonly Parameter[];
87
87
  }
88
88
  interface ISignature {
89
- getValueParameters(): readonly ValueParameter[];
89
+ getParameters(): readonly Parameter[];
90
90
  }
91
- export type ValueParameter = UniversalValueParameter;
92
- export declare class UniversalValueParameter implements IValueParameter {
91
+ export type Parameter = UniversalParameter;
92
+ export declare class UniversalParameter implements IParameter {
93
93
  readonly type: types.Type;
94
- readonly entity: ParameterVariableEntity;
95
- constructor(type: types.Type, entity: ParameterVariableEntity);
94
+ readonly entity: ParameterEntity;
95
+ constructor(type: types.Type, entity: ParameterEntity);
96
96
  getName(): Name;
97
97
  getType(): types.Type;
98
98
  }
99
- interface IValueParameter {
99
+ interface IParameter {
100
100
  getName(): Name;
101
101
  getType(): types.Type;
102
102
  }
@@ -2,10 +2,10 @@ import { Analyzer } from '../../analysis/index.js';
2
2
  import { SourceFile } from '../../project/index.js';
3
3
  import { SignatureHelp } from './SignatureHelpService.js';
4
4
  export declare class TypeParameterSignatureHelpProvider {
5
- private readonly _signatureContext;
6
- private readonly _analyzer;
7
- private readonly _sourceFile;
8
- private readonly _offset;
5
+ private readonly signatureContext_;
6
+ private readonly analyzer;
7
+ private readonly sourceFile;
8
+ private readonly offset;
9
9
  private get signatureContext();
10
10
  constructor(analyzer: Analyzer, sourceFile: SourceFile, offset: number);
11
11
  provideSignatureHelp(): SignatureHelp | undefined;
@@ -2,8 +2,8 @@ import { Analyzer } from '../../analysis/Analyzer.js';
2
2
  import { PackageEntity } from '../../entities/PackageEntity.js';
3
3
  import * as tree from '../../tree/index.js';
4
4
  export declare class EntityToSyntax {
5
- private readonly _analyzer;
6
- private readonly _entity;
5
+ private readonly analyzer;
6
+ private readonly entity;
7
7
  constructor(analyzer: Analyzer, entity: PackageEntity);
8
8
  convert(): tree.SourceFile;
9
9
  private convertPackage;
@@ -28,8 +28,8 @@ export declare class EntityToSyntax {
28
28
  private createFunctionTypeDeclarationBody;
29
29
  private convertTypeParameters;
30
30
  private convertTypeParameter;
31
- private convertValueParameters;
32
- private convertValueParameter;
31
+ private convertParameters;
32
+ private convertParameter;
33
33
  private createHidingModifier;
34
34
  private convertTags;
35
35
  private getEntityName;
@@ -7,12 +7,12 @@ import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvide
7
7
  import { SourceLocation } from '../Types.js';
8
8
  import { CompilationController, ReadonlyClientTrackedSourceFiles } from '../workspace/index.js';
9
9
  export declare class SourceGenerationService extends ObservableObject {
10
- private readonly _trackedSourceFiles;
11
- private readonly _tsLibrariesProvider;
12
- private readonly _standardPackageContentsProviders;
13
- private readonly _generatedPackageStates;
10
+ private readonly trackedSourceFiles;
11
+ private readonly tsLibrariesProvider;
12
+ private readonly standardPackageContentsProviders;
13
+ private readonly generatedPackageStates;
14
14
  get compilationControllers(): readonly CompilationController[];
15
- constructor(_trackedSourceFiles: ReadonlyClientTrackedSourceFiles, _tsLibrariesProvider: TypeScriptLibrariesProvider, _standardPackageContentsProviders: (cancellationToken: CancellationToken | undefined) => Promise<readonly PackageContent[] | undefined>);
15
+ constructor(trackedSourceFiles: ReadonlyClientTrackedSourceFiles, tsLibrariesProvider: TypeScriptLibrariesProvider, standardPackageContentsProviders: (cancellationToken: CancellationToken | undefined) => Promise<readonly PackageContent[] | undefined>);
16
16
  getDefinitionInGeneratedCode(analyzer: Analyzer, entity: Entity, cancellationToken: CancellationToken | undefined): Promise<SourceLocation[] | undefined>;
17
17
  entityDefinitionRequiresSourceGeneration(entity: Entity): boolean;
18
18
  protected onOpenedSourceFilesChanged(): void;
@@ -9,24 +9,24 @@ import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js'
9
9
  export declare class CompilationController extends ObservableObject {
10
10
  readonly mainCompilationReloadIndicator: Indicator;
11
11
  readonly configurationControllersUpdateIndictor: Indicator;
12
- private readonly _mainAnalyzerChangedIndicator;
13
- private readonly _fileSystemTree;
12
+ private readonly mainAnalyzerChangedIndicator;
13
+ private readonly fileSystemTree;
14
14
  readonly config: CompilationControllerConfig;
15
15
  isConfigurationsProcessingEnabled: boolean;
16
16
  isDiagnosticsCollectionInBackgroundEnabled: boolean;
17
- private readonly _rootDirectory;
18
- private _configurationControllerByPackageUri;
19
- private _mainCompilationState?;
20
- private _previousCompilationLoadResult;
21
- private _sourceFilesForWhichDiagnosticsWereReported;
22
- private readonly _checkedConfigurationVersionByPackageUri;
23
- private _packageConfigurationsVersion;
24
- private _packageConfigurationsVersionDuringCompilationLoad;
25
- private _tsInteropInputs;
26
- private _tsInteropInputsKey;
27
- private _tsProgramLoaderInputs;
28
- private _state;
29
- private _configurationsOfPackagesOutsideProject;
17
+ private readonly rootDirectory;
18
+ private configurationControllerByPackageUri_;
19
+ private mainCompilationState_?;
20
+ private previousCompilationLoadResult;
21
+ private sourceFilesForWhichDiagnosticsWereReported;
22
+ private readonly checkedConfigurationVersionByPackageUri;
23
+ private packageConfigurationsVersion;
24
+ private packageConfigurationsVersionDuringCompilationLoad;
25
+ private tsInteropInputs;
26
+ private tsInteropInputsKey;
27
+ private tsProgramLoaderInputs;
28
+ private state_;
29
+ private configurationsOfPackagesOutsideProject_;
30
30
  get uri(): Uri;
31
31
  get mainCompilationState(): ReadonlyCompilationState | undefined;
32
32
  get configurationControllerByPackageUri(): ReadonlyMap<string, ConfigurationController>;
@@ -88,7 +88,7 @@ export declare class ChangedPackageConfiguration {
88
88
  export declare class ReadonlyCompilationState {
89
89
  readonly analyzer: Analyzer;
90
90
  readonly version: number;
91
- private _diagnosticsCollectionSummaryByUri;
91
+ private diagnosticsCollectionSummaryByUri;
92
92
  constructor(analyzer: Analyzer, version: number);
93
93
  collectSourceFileDiagnosticsWithHighPriority(sourceFile: SourceFile, cancellationToken: CancellationToken | undefined): Promise<readonly Diagnostic[]>;
94
94
  collectSourceFileDiagnosticsWithLowPriority(sourceFile: SourceFile, cancellationToken: CancellationToken | undefined): Promise<readonly Diagnostic[]>;
@@ -104,11 +104,11 @@ declare class ConfigurationController extends ObservableObject {
104
104
  readonly packageUri: Uri;
105
105
  readonly processingIndicator: Indicator;
106
106
  readonly rootDirectory: fsTree.Directory;
107
- private readonly _mainCompilationController;
108
- private _jsonConfigurationFile;
109
- private _convertedJsonConfigurationFileVersion;
110
- private _convertedConfiguration;
111
- private _convertedConfigurationVersion;
107
+ private readonly mainCompilationController;
108
+ private jsonConfigurationFile;
109
+ private convertedJsonConfigurationFileVersion;
110
+ private convertedConfiguration_;
111
+ private convertedConfigurationVersion_;
112
112
  get convertedConfiguration(): ConvertedConfiguration | undefined;
113
113
  get convertedConfigurationVersion(): number;
114
114
  get hasConvertedConfiguration(): boolean;
@@ -118,7 +118,7 @@ declare class ConfigurationController extends ObservableObject {
118
118
  protected processConfiguration(): Promise<void>;
119
119
  }
120
120
  export declare class TsInteropInputsCache {
121
- private readonly _inputsByKey;
121
+ private readonly inputsByKey;
122
122
  getTsInteropInputs(tsProgramLoaderInputs: TsProgramLoaderInputs, librariesProvider: TypeScriptLibrariesProvider): {
123
123
  inputs: TsInteropInputs;
124
124
  key: string;
@@ -7,22 +7,22 @@ import type { WorkspaceFileSystem } from './WorkspaceFileSystem.js';
7
7
  export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends ObservableObject implements FileSystemTreeProvider {
8
8
  readonly fileSystemTree: fsTree.FileSystemTree;
9
9
  readonly loadedWorkspaceFolderByUri: ObservableMap<string, fsTree.Directory>;
10
- private readonly _fileSystem;
11
- private readonly _notificationsPublisher;
12
- private readonly _listener;
13
- private _workspaceFolderUris;
14
- private _trackedSourceFiles;
15
- private _isInitialized;
16
- private _lastCheckedWorkspaceFolderUris;
10
+ private readonly fileSystem;
11
+ private readonly notificationsPublisher;
12
+ private readonly listener;
13
+ private workspaceFolderUris;
14
+ private trackedSourceFiles;
15
+ private isInitialized;
16
+ private lastCheckedWorkspaceFolderUris;
17
17
  /**
18
18
  * Очередь используется для обработки запросов, изменяющих дерево файловой системы.
19
19
  * Очередь позволяет избежать конкурентного редактирования, а также сохранить порядок обработки.
20
20
  */
21
- private readonly _taskQueue;
22
- private readonly _namesOfDirectoriesToIgnore;
23
- private readonly _additionalUrisOfDirectoriesToLoad;
24
- private readonly _lastCheckedTrackedSourceFileInfoVersionByUri;
25
- private readonly _loadedDirectoryUris;
21
+ private readonly taskQueue;
22
+ private readonly namesOfDirectoriesToIgnore;
23
+ private readonly additionalUrisOfDirectoriesToLoad;
24
+ private readonly lastCheckedTrackedSourceFileInfoVersionByUri;
25
+ private readonly loadedDirectoryUris;
26
26
  constructor(fileSystem: WorkspaceFileSystem, notificationsPublisher: FileSystemUpdateNotificationsPublisher, namesOfDirectoriesToIgnore?: string[], additionalUrisOfDirectoriesToLoad?: readonly Uri[]);
27
27
  initialize(workspaceFolderUris: ObservableArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
28
28
  waitLoaded(cancellationToken: CancellationToken | undefined): Promise<void>;
@@ -51,7 +51,7 @@ export interface FileSystemUpdateNotificationsPublisher {
51
51
  removeListener(listener: FileSystemUpdateNotificationsListener): void;
52
52
  }
53
53
  export declare class SimpleFileSystemUpdateNotificationsPublisher implements FileSystemUpdateNotificationsPublisher {
54
- private readonly _listeners;
54
+ private readonly listeners;
55
55
  publish(notifications: readonly FileSystemUpdateNotification[]): void;
56
56
  addListener(listener: FileSystemUpdateNotificationsListener): void;
57
57
  removeListener(listener: FileSystemUpdateNotificationsListener): void;
@@ -7,10 +7,10 @@ import { FileSystemTreeProvider } from './WorkspaceFiles.js';
7
7
  export declare class ManuallyUpdatedFileSystemTreeProvider extends ObservableObject implements FileSystemTreeProvider {
8
8
  readonly fileSystemTree: fsTree.FileSystemTree;
9
9
  readonly loadedWorkspaceFolderByUri: ObservableMap<string, fsTree.Directory>;
10
- private _workspaceFolderUris;
11
- private _trackedSourceFiles;
12
- private readonly _lastCheckedTrackedSourceFileInfoByUri;
13
- private readonly _manuallyCreatedSourceFileTextByUri;
10
+ private workspaceFolderUris;
11
+ private trackedSourceFiles;
12
+ private readonly lastCheckedTrackedSourceFileInfoByUri;
13
+ private readonly manuallyCreatedSourceFileTextByUri;
14
14
  initialize(workspaceFolderUris: ObservableArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
15
15
  waitLoaded(_cancellationToken: CancellationToken | undefined): Promise<void>;
16
16
  dispose(): void;
@@ -10,13 +10,13 @@ import { CompilationController, DiagnosticsCollectedInBackgroundHandler, RawPack
10
10
  import { FileSystemTreeProvider } from './WorkspaceFiles.js';
11
11
  export declare class Workspace extends ObservableObject {
12
12
  isReadyToAcceptWorkspaceDiagnostics: boolean;
13
- private readonly _config;
14
- private readonly _compilationControllers;
15
- private readonly _controllersWithOpenedFiles;
16
- private _atLeastOneFileOfCompilationHasBeenOpened;
17
- private readonly _files;
18
- private _standardPackageContents;
19
- private readonly _tsInteropInputsCache;
13
+ private readonly config;
14
+ private readonly compilationControllers_;
15
+ private readonly controllersWithOpenedFiles;
16
+ private atLeastOneFileOfCompilationHasBeenOpened;
17
+ private readonly files;
18
+ private readonly standardPackageContents;
19
+ private readonly tsInteropInputsCache;
20
20
  get compilationControllers(): readonly CompilationController[];
21
21
  get trackedSourceFiles(): ReadonlyClientTrackedSourceFiles;
22
22
  get loadedWorkspaceFolderByUri(): ObservableMap<string, fsTree.Directory>;
@@ -6,7 +6,7 @@ export declare class WorkspaceFiles extends ObservableObject {
6
6
  readonly trackedSourceFiles: ClientTrackedSourceFiles;
7
7
  readonly workspaceFolderUris: ObservableArray<Uri>;
8
8
  readonly workspaceFolderWithArtelProjectByUri: ObservableMap<string, fsTree.Directory>;
9
- private readonly _fileSystemTreeProvider;
9
+ private readonly fileSystemTreeProvider;
10
10
  get fileSystemTree(): fsTree.ReadonlyFileSystemTree;
11
11
  get isMissingConfigurationDirectoryAllowed(): boolean;
12
12
  get loadedWorkspaceFolderByUri(): ObservableMap<string, fsTree.Directory>;
@@ -1,15 +1,19 @@
1
- import { Range } from '../common/index.js';
2
- import { Node } from './Nodes.js';
1
+ import { PackageDialect, PackageLocale, Range } from '../common/index.js';
2
+ import { Node, SourceFile } from './Nodes.js';
3
3
  import { Token } from './Token.js';
4
4
  export declare abstract class BaseNode {
5
5
  protected static readonly emptyChildren_: [];
6
6
  abstract readonly children: readonly (Node | undefined)[];
7
7
  protected parent_: BaseNode | undefined;
8
+ protected sourceFile_: SourceFile | undefined;
8
9
  protected rangeWithTrivia_: Range | undefined;
9
10
  protected rangeWithoutTrivia_: Range | undefined;
10
11
  protected abstract thisAsNode: Node;
11
- constructor(rangeWithTrivia?: Range);
12
+ constructor(rangeWithTrivia: Range | undefined);
12
13
  get parent(): Node | undefined;
14
+ get sourceFile(): SourceFile;
15
+ get locale(): PackageLocale;
16
+ get dialect(): PackageDialect;
13
17
  get rangeWithTrivia(): Range;
14
18
  get rangeWithoutTrivia(): Range;
15
19
  get debuggerDisplay(): string;
@@ -21,8 +25,13 @@ export declare abstract class BaseNode {
21
25
  * Информация для оценки размера дерева при отладке.
22
26
  */
23
27
  get tokenCount(): number;
28
+ /**
29
+ * Позволяет получить путь к синтаксическому узлу при отладке.
30
+ */
31
+ get nodePath(): string;
24
32
  findLeftmostToken(): Token | undefined;
25
33
  findRightmostToken(): Token | undefined;
34
+ protected setSourceFileForChildren(): void;
26
35
  protected setParentForChildren(): void;
27
36
  protected getLengthWithTrivia(): number;
28
37
  protected getStartWithTrivia(): number;