@artel/artc 0.6.25245 → 0.6.25247

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 (61) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +12 -2
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +223 -212
  5. package/build/{chunk-FVBS6MPY.js → chunk-3MYTPUJZ.js} +1 -1
  6. package/build/{chunk-T7WG4Z7I.js → chunk-3PVSYUJV.js} +3584 -2718
  7. package/build/{chunk-TVZEHLXD.js → chunk-TTNFYVNF.js} +2 -2
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +0 -1
  9. package/build/types/analysis/Analyzer.d.ts +30 -23
  10. package/build/types/analysis/BaseExpressionMeaning.d.ts +9 -4
  11. package/build/types/analysis/BaseMemberConflictsValidator.d.ts +3 -5
  12. package/build/types/analysis/CallExpressionMeaning.d.ts +1 -0
  13. package/build/types/analysis/DiagnosticArgumentFactory.d.ts +18 -0
  14. package/build/types/analysis/DiagnosticCollector.d.ts +2 -3
  15. package/build/types/analysis/DisplayableEntity.d.ts +46 -0
  16. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +3 -3
  17. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +3 -3
  18. package/build/types/analysis/InstanceFieldsInitializationValidator.d.ts +18 -0
  19. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +3 -3
  20. package/build/types/analysis/NamedTypeResolver.d.ts +2 -3
  21. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +2 -3
  22. package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
  23. package/build/types/analysis/ObjectExpressionMeaning.d.ts +9 -4
  24. package/build/types/analysis/OwnAndBaseConstructorCallsChecker.d.ts +23 -0
  25. package/build/types/analysis/PackageAndStaticVariablesInitializationValidator.d.ts +17 -0
  26. package/build/types/analysis/TagMeaning.d.ts +2 -3
  27. package/build/types/analysis/control-flow/NarrowableReference.d.ts +7 -8
  28. package/build/types/analysis/semantic-context/SemanticContext.d.ts +2 -1
  29. package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +2 -0
  30. package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +3 -0
  31. package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +6 -7
  32. package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +3 -1
  33. package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +1 -1
  34. package/build/types/analysis/semantic-context/TranslationTextTemplateSemanticContext.d.ts +13 -0
  35. package/build/types/common/Displayable.d.ts +13 -0
  36. package/build/types/common/FormatString.d.ts +2 -1
  37. package/build/types/common/HelperPhrases.d.ts +2 -1
  38. package/build/types/common/TreeQuery.d.ts +4 -4
  39. package/build/types/common/WithDiagnostics.d.ts +3 -4
  40. package/build/types/common/index.d.ts +1 -0
  41. package/build/types/diagnostic/DiagnosticCode.d.ts +129 -125
  42. package/build/types/diagnostic/DiagnosticData.d.ts +7 -3
  43. package/build/types/emitter/Transformer.d.ts +4 -2
  44. package/build/types/emitter/ir/EmitOptions.d.ts +14 -0
  45. package/build/types/emitter/ir/Nodes.d.ts +41 -25
  46. package/build/types/emitter/ir/types.d.ts +1 -1
  47. package/build/types/entities/BaseEntityHidingMatcher.d.ts +1 -1
  48. package/build/types/entities/EntityHiding.d.ts +1 -1
  49. package/build/types/entities/VariableEntity.d.ts +35 -3
  50. package/build/types/project/FileSystemTree.d.ts +2 -2
  51. package/build/types/services/source-generation/SourceGenerationService.d.ts +2 -2
  52. package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +5 -5
  53. package/build/types/services/workspace/CompilationController.d.ts +3 -3
  54. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +4 -4
  55. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
  56. package/build/types/services/workspace/Workspace.d.ts +3 -3
  57. package/build/types/services/workspace/WorkspaceFiles.d.ts +7 -7
  58. package/build/types/tree/NodeKind.d.ts +20 -21
  59. package/build/types/tree/green/Nodes.d.ts +12 -26
  60. package/build/types/tree/red/Nodes.d.ts +15 -29
  61. package/package.json +2 -2
@@ -2,7 +2,7 @@ import { AccessKind } from '../../common/index.js';
2
2
  import { FunctionEntity, NamedEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
3
3
  import { AccessedFunction, AccessedVariable } from './AccessedEntities.js';
4
4
  import { ComputedAccess } from './ComputedAccess.js';
5
- import { AssignmentEmitOptions, CallExpressionEmitOptions, ConstructorCallExpressionEmitOptions, DeclarationWithInitializerEmitOptions, ErrorStatementEmitOptions, FieldAccessExpressionEmitOptions, FieldDeclarationEmitOptions, FunctionAccessExpressionEmitOptions, MethodDeclarationEmitOptions, PackageVariableDeclarationEmitOptions, TextTemplateLiteralEmitOptions } from './EmitOptions.js';
5
+ import { AssignmentEmitOptions, CallExpressionEmitOptions, ConstructorCallExpressionEmitOptions, DeclarationWithInitializerEmitOptions, ErrorStatementEmitOptions, FieldAccessExpressionEmitOptions, FieldDeclarationEmitOptions, ForStatementEmitOptions, FunctionAccessExpressionEmitOptions, MethodDeclarationEmitOptions, PackageVariableDeclarationEmitOptions, TextTemplateLiteralEmitOptions } from './EmitOptions.js';
6
6
  import { SourceLocation } from './SourceLocation.js';
7
7
  import { Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
8
8
  export declare class ArrayLiteral {
@@ -239,9 +239,11 @@ export declare class ForStatement {
239
239
  indexVariableEntity: VariableEntity | undefined;
240
240
  enumeratedExpression: Expression;
241
241
  body: BlockStatement;
242
+ ifExpressionIsNotEnumerableThenEnumeratorMethod: AccessedFunction | undefined;
242
243
  sourceLocation: SourceLocation | undefined;
244
+ options: ForStatementEmitOptions;
243
245
  readonly kind = NodeKind.ForStatement;
244
- constructor(label: string | undefined, enumerationVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement, sourceLocation: SourceLocation | undefined);
246
+ constructor(label: string | undefined, enumerationVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement, ifExpressionIsNotEnumerableThenEnumeratorMethod: AccessedFunction | undefined, sourceLocation: SourceLocation | undefined, options?: ForStatementEmitOptions);
245
247
  clone(): ForStatement;
246
248
  }
247
249
  export declare class IfStatement {
@@ -363,14 +365,27 @@ export declare class JsObjectLiteral {
363
365
  constructor(properties: readonly JsObjectLiteralProperty[], sourceLocation: SourceLocation | undefined);
364
366
  clone(): JsObjectLiteral;
365
367
  }
366
- export type JsObjectLiteralProperty = NamedJsObjectLiteralProperty | SpreadJsObjectLiteralProperty;
367
- export declare class NamedJsObjectLiteralProperty {
368
- name: string;
368
+ export type JsObjectLiteralProperty = ValueJsObjectLiteralProperty | FunctionJsObjectLiteralProperty | SpreadJsObjectLiteralProperty;
369
+ export type JsObjectLiteralPropertyKey = string | Expression;
370
+ export declare namespace JsObjectLiteralPropertyKey {
371
+ function clone(value: JsObjectLiteralPropertyKey): JsObjectLiteralPropertyKey;
372
+ }
373
+ export declare class ValueJsObjectLiteralProperty {
374
+ key: JsObjectLiteralPropertyKey;
369
375
  value: Expression;
370
376
  sourceLocation: SourceLocation | undefined;
371
- readonly kind = NodeKind.NamedJsObjectLiteralProperty;
372
- constructor(name: string, value: Expression, sourceLocation: SourceLocation | undefined);
373
- clone(): NamedJsObjectLiteralProperty;
377
+ readonly kind = NodeKind.ValueJsObjectLiteralProperty;
378
+ constructor(key: JsObjectLiteralPropertyKey, value: Expression, sourceLocation: SourceLocation | undefined);
379
+ clone(): ValueJsObjectLiteralProperty;
380
+ }
381
+ export declare class FunctionJsObjectLiteralProperty {
382
+ key: JsObjectLiteralPropertyKey;
383
+ valueParameters: readonly ValueParameterDeclaration[];
384
+ body: BlockStatement;
385
+ sourceLocation: SourceLocation | undefined;
386
+ readonly kind = NodeKind.FunctionJsObjectLiteralProperty;
387
+ constructor(key: JsObjectLiteralPropertyKey, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, sourceLocation: SourceLocation | undefined);
388
+ clone(): FunctionJsObjectLiteralProperty;
374
389
  }
375
390
  /**
376
391
  * @example
@@ -983,23 +998,24 @@ export declare const enum NodeKind {
983
998
  EsModuleImportDirectiveStatement = 78,
984
999
  CjsModuleImportDirectiveStatement = 79,
985
1000
  JsObjectLiteral = 80,
986
- NamedJsObjectLiteralProperty = 81,
987
- SpreadJsObjectLiteralProperty = 82,
988
- JsPropertyAccessExpression = 83,
989
- JsFunctionLiteral = 84,
990
- JsTypeOfExpression = 85,
991
- JsInstanceOfExpression = 86,
992
- JsIdentifierExpression = 87,
993
- DereferenceExpression = 88,
994
- BaseExpression = 89,
995
- OwnConstructorCallExpression = 90,
996
- DereferencedVariableGetterDeclaration = 91,
997
- DereferencedVariableSetterDeclaration = 92,
998
- JsNamespaceDestructuringStatement = 93,
999
- ComputedFieldDeclaration = 94,
1000
- TextWithEntityName = 95,
1001
- Arguments = 96,
1002
- Decorator = 97
1001
+ ValueJsObjectLiteralProperty = 81,
1002
+ FunctionJsObjectLiteralProperty = 82,
1003
+ SpreadJsObjectLiteralProperty = 83,
1004
+ JsPropertyAccessExpression = 84,
1005
+ JsFunctionLiteral = 85,
1006
+ JsTypeOfExpression = 86,
1007
+ JsInstanceOfExpression = 87,
1008
+ JsIdentifierExpression = 88,
1009
+ DereferenceExpression = 89,
1010
+ BaseExpression = 90,
1011
+ OwnConstructorCallExpression = 91,
1012
+ DereferencedVariableGetterDeclaration = 92,
1013
+ DereferencedVariableSetterDeclaration = 93,
1014
+ JsNamespaceDestructuringStatement = 94,
1015
+ ComputedFieldDeclaration = 95,
1016
+ TextWithEntityName = 96,
1017
+ Arguments = 97,
1018
+ Decorator = 98
1003
1019
  }
1004
1020
  export declare const enum AssignmentOperatorKind {
1005
1021
  Equals = 0,
@@ -1,5 +1,5 @@
1
1
  import * as ir from './Nodes.js';
2
- export type Node = ir.ArrayLiteral | ir.AsExpression | ir.AssertionExpression | ir.AssumptionExpression | ir.AssignmentExpression | ir.AssignmentStatement | ir.BaseConstructorCallExpression | ir.BinaryExpression | ir.BlockStatement | ir.BooleanLiteral | ir.BreakLoopStatement | ir.CallExpression | ir.CharLiteral | ir.CommaExpression | ir.ConstructorCallExpression | ir.ContinueLoopStatement | ir.DisposeStatement | ir.RunStatement | ir.TryStatement | ir.NoneLiteral | ir.EmptyStatement | ir.ErrorStatement | ir.ImportantStatement | ir.ExpressionStatement | ir.FinallyClause | ir.ForStatement | ir.PackageFunctionDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration | ir.IfStatement | ir.IndexedAccessExpression | ir.InlineJsExpression | ir.MethodAccessExpression | ir.FieldAccessExpression | ir.IntegerLiteral | ir.IsExpression | ir.JsIndexedAccessExpression | ir.NestedFunctionDeclaration | ir.NestedFunctionDeclarationStatement | ir.LocalVariableDeclaration | ir.LocalVariableDeclarationStatement | ir.NumericLiteral | ir.CatchClause | ir.FunctionAccessExpression | ir.FunctionLiteral | ir.PrefixUnaryExpression | ir.MeasureLiteral | ir.ReferenceExpression | ir.LoopStatement | ir.Package | ir.ReturnStatement | ir.TextLiteral | ir.TextTemplateLiteral | ir.ConstructorDeclaration | ir.DestructorDeclaration | ir.IndexedElementGetterDeclaration | ir.IndexedElementSetterDeclaration | ir.MethodDeclaration | ir.FieldDeclaration | ir.ComputedFieldDeclaration | ir.FieldGetterDeclaration | ir.FieldSetterDeclaration | ir.SwitchStatement | ir.TernaryExpression | ir.ThisExpression | ir.TypeAccessExpression | ir.ValueParameterDeclaration | ir.VariableAccessExpression | ir.VariantDeclaration | ir.WhileStatement | ir.YieldStatement | ir.JsObjectLiteral | ir.NamedJsObjectLiteralProperty | ir.SpreadJsObjectLiteralProperty | ir.JsPropertyAccessExpression | ir.JsFunctionLiteral | ir.JsTypeOfExpression | ir.JsInstanceOfExpression | ir.JsIdentifierExpression | ir.DereferenceExpression | ir.BaseExpression | ir.OwnConstructorCallExpression | ir.EsModuleImportDirectiveStatement | ir.CjsModuleImportDirectiveStatement | ir.JsNamespaceDestructuringStatement | ir.DereferencedVariableGetterDeclaration | ir.DereferencedVariableSetterDeclaration | ir.TextWithEntityName | ir.Argument | ir.Arguments | ir.Decorator;
2
+ export type Node = ir.ArrayLiteral | ir.AsExpression | ir.AssertionExpression | ir.AssumptionExpression | ir.AssignmentExpression | ir.AssignmentStatement | ir.BaseConstructorCallExpression | ir.BinaryExpression | ir.BlockStatement | ir.BooleanLiteral | ir.BreakLoopStatement | ir.CallExpression | ir.CharLiteral | ir.CommaExpression | ir.ConstructorCallExpression | ir.ContinueLoopStatement | ir.DisposeStatement | ir.RunStatement | ir.TryStatement | ir.NoneLiteral | ir.EmptyStatement | ir.ErrorStatement | ir.ImportantStatement | ir.ExpressionStatement | ir.FinallyClause | ir.ForStatement | ir.PackageFunctionDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration | ir.IfStatement | ir.IndexedAccessExpression | ir.InlineJsExpression | ir.MethodAccessExpression | ir.FieldAccessExpression | ir.IntegerLiteral | ir.IsExpression | ir.JsIndexedAccessExpression | ir.NestedFunctionDeclaration | ir.NestedFunctionDeclarationStatement | ir.LocalVariableDeclaration | ir.LocalVariableDeclarationStatement | ir.NumericLiteral | ir.CatchClause | ir.FunctionAccessExpression | ir.FunctionLiteral | ir.PrefixUnaryExpression | ir.MeasureLiteral | ir.ReferenceExpression | ir.LoopStatement | ir.Package | ir.ReturnStatement | ir.TextLiteral | ir.TextTemplateLiteral | ir.ConstructorDeclaration | ir.DestructorDeclaration | ir.IndexedElementGetterDeclaration | ir.IndexedElementSetterDeclaration | ir.MethodDeclaration | ir.FieldDeclaration | ir.ComputedFieldDeclaration | ir.FieldGetterDeclaration | ir.FieldSetterDeclaration | ir.SwitchStatement | ir.TernaryExpression | ir.ThisExpression | ir.TypeAccessExpression | ir.ValueParameterDeclaration | ir.VariableAccessExpression | ir.VariantDeclaration | ir.WhileStatement | ir.YieldStatement | ir.JsObjectLiteral | ir.ValueJsObjectLiteralProperty | ir.FunctionJsObjectLiteralProperty | ir.SpreadJsObjectLiteralProperty | ir.JsPropertyAccessExpression | ir.JsFunctionLiteral | ir.JsTypeOfExpression | ir.JsInstanceOfExpression | ir.JsIdentifierExpression | ir.DereferenceExpression | ir.BaseExpression | ir.OwnConstructorCallExpression | ir.EsModuleImportDirectiveStatement | ir.CjsModuleImportDirectiveStatement | ir.JsNamespaceDestructuringStatement | ir.DereferencedVariableGetterDeclaration | ir.DereferencedVariableSetterDeclaration | ir.TextWithEntityName | ir.Argument | ir.Arguments | ir.Decorator;
3
3
  export type Declaration = ir.PackageFunctionDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration | ir.NestedFunctionDeclaration | ir.LocalVariableDeclaration | ir.ConstructorDeclaration | ir.DestructorDeclaration | ir.IndexedElementGetterDeclaration | ir.IndexedElementSetterDeclaration | ir.MethodDeclaration | ir.FieldDeclaration | ir.FieldGetterDeclaration | ir.FieldSetterDeclaration | ir.ValueParameterDeclaration | ir.VariantDeclaration | ir.DereferencedVariableGetterDeclaration | ir.DereferencedVariableSetterDeclaration;
4
4
  export type Statement = ir.AssignmentStatement | ir.BlockStatement | ir.BreakLoopStatement | ir.ContinueLoopStatement | ir.DisposeStatement | ir.RunStatement | ir.TryStatement | ir.EmptyStatement | ir.ErrorStatement | ir.ImportantStatement | ir.ExpressionStatement | ir.ForStatement | ir.IfStatement | ir.NestedFunctionDeclarationStatement | ir.LocalVariableDeclarationStatement | ir.LoopStatement | ir.ReturnStatement | ir.SwitchStatement | ir.WhileStatement | ir.YieldStatement | ir.EsModuleImportDirectiveStatement | ir.CjsModuleImportDirectiveStatement | ir.JsNamespaceDestructuringStatement;
5
5
  export type Expression = ir.ArrayLiteral | ir.AsExpression | ir.AssertionExpression | ir.AssumptionExpression | ir.AssignmentExpression | ir.BinaryExpression | ir.BooleanLiteral | ir.CallExpression | ir.CharLiteral | ir.CommaExpression | ir.ConstructorCallExpression | ir.NoneLiteral | ir.IndexedAccessExpression | ir.InlineJsExpression | ir.MethodAccessExpression | ir.FieldAccessExpression | ir.IntegerLiteral | ir.IsExpression | ir.NumericLiteral | ir.FunctionAccessExpression | ir.FunctionLiteral | ir.PrefixUnaryExpression | ir.MeasureLiteral | ir.ReferenceExpression | ir.DereferenceExpression | ir.TextLiteral | ir.TextWithEntityName | ir.TextTemplateLiteral | ir.TernaryExpression | ir.ThisExpression | ir.TypeAccessExpression | ir.VariableAccessExpression | ir.BaseConstructorCallExpression | ir.JsIndexedAccessExpression | ir.JsObjectLiteral | ir.JsPropertyAccessExpression | ir.JsFunctionLiteral | ir.JsTypeOfExpression | ir.JsInstanceOfExpression | ir.JsIdentifierExpression | ir.BaseExpression | ir.OwnConstructorCallExpression;
@@ -6,6 +6,6 @@ export declare abstract class BaseEntityHidingMatcher implements IEntityHidingMa
6
6
  protected abstract typeEntity: TypeEntity | undefined;
7
7
  protected abstract sourceFile: SourceFile | undefined;
8
8
  protected abstract package: PackageEntity;
9
- matches(hiding: EntityHidingLevel): boolean;
9
+ matches(hiding: EntityHidingLevel | undefined): boolean;
10
10
  private collectBaseTypesRecursively;
11
11
  }
@@ -23,5 +23,5 @@ export declare class EntityHidingLevel_package {
23
23
  constructor(packageEntity: PackageEntity);
24
24
  }
25
25
  export interface IEntityHidingMatcher {
26
- matches(hiding: EntityHidingLevel): boolean;
26
+ matches(hiding: EntityHidingLevel | undefined): boolean;
27
27
  }
@@ -7,7 +7,7 @@ import * as tree from '../tree/index.js';
7
7
  import * as types from '../types/index.js';
8
8
  import type { Entity, IndexerEntity, PackageEntity } from './index.js';
9
9
  import { Entity as ActualEntity, ConstructorEntity, DefinitionKind, DestructorEntity, EntityHidingLevel, EntityKind, FunctionEntity, FunctionTypeEntity, GetterEntity, OperatorEntity, SetterEntity, TypeMemberEntityContainer } from './index.js';
10
- export type VariableEntity = PackageVariableEntity | FieldEntity | ParameterVariableEntity | LocalVariableEntity;
10
+ export type VariableEntity = PackageVariableEntity | FieldEntity | ParameterVariableEntity | TextTemplateParameterVariableEntity | LocalVariableEntity;
11
11
  export interface PackageVariableEntity extends IVariableEntity {
12
12
  readonly subkind: 'package';
13
13
  getContainingPackage(): PackageEntity;
@@ -34,6 +34,12 @@ export interface ParameterVariableEntity extends IVariableEntity {
34
34
  getLocalization(): Localization;
35
35
  getOriginalEntity(): ParameterVariableEntity;
36
36
  }
37
+ export interface TextTemplateParameterVariableEntity extends IVariableEntity {
38
+ readonly subkind: 'text-template-parameter';
39
+ getContainer(): PackageEntity;
40
+ getLocalization(): Localization;
41
+ getOriginalEntity(): TextTemplateParameterVariableEntity;
42
+ }
37
43
  export interface LocalVariableEntity extends IVariableEntity {
38
44
  readonly subkind: 'local';
39
45
  getLocalVariableKind(): LocalVariableKind;
@@ -84,13 +90,13 @@ export type VariableEntityDefinition = {
84
90
  export type SourceVariableEntityDefinition = SingleSourceVariableEntityDefinition | MultiSourceVariableEntityDefinition;
85
91
  export type SingleSourceVariableEntityDefinition = {
86
92
  kind: 'single';
87
- node: tree.PackageVariableDeclaration | tree.FieldDeclaration | tree.LocalVariableDeclaration | tree.EnumerationVariableDeclaration | tree.ErrorVariableDeclaration | tree.ParameterDeclaration | tree.VariantDeclaration;
93
+ node: tree.PackageVariableDeclaration | tree.FieldDeclaration | tree.LocalVariableDeclaration | tree.EnumerationVariableDeclaration | tree.ErrorVariableDeclaration | tree.ParameterDeclaration | tree.VariantDeclaration | tree.TranslationTextTemplateParameterDeclaration;
88
94
  };
89
95
  export type MultiSourceVariableEntityDefinition = {
90
96
  kind: 'multi';
91
97
  nodes: ReadonlyArray<tree.PackageVariableGetterDeclaration | tree.PackageVariableSetterDeclaration | tree.FieldGetterDeclaration | tree.FieldSetterDeclaration | tree.ParameterDeclaration>;
92
98
  };
93
- export type SpecialVariableEntityInfo = ResultSpecialVariableEntityInfo | ValueSpecialVariableEntityInfo | BackingSpecialVariableEntityInfo | ImplicitFunctionBlockParameterSpecialVariableEntityInfo;
99
+ export type SpecialVariableEntityInfo = ResultSpecialVariableEntityInfo | ValueSpecialVariableEntityInfo | BackingSpecialVariableEntityInfo | ImplicitFunctionBlockParameterSpecialVariableEntityInfo | TextTemplateFunctionTypeParameterSpecialVariableEntityInfo;
94
100
  export declare class ResultSpecialVariableEntityInfo {
95
101
  readonly subprogramNode: SubprogramDeclarationOrLiteral;
96
102
  readonly kind = "result";
@@ -112,6 +118,11 @@ export declare class ImplicitFunctionBlockParameterSpecialVariableEntityInfo {
112
118
  readonly kind = "implicit-function-block-parameter";
113
119
  constructor(targetTypeParameter: types.ValueParameter, functionBlockLiteral: tree.FunctionBlockLiteral);
114
120
  }
121
+ export declare class TextTemplateFunctionTypeParameterSpecialVariableEntityInfo {
122
+ readonly textTemplateParameter: TextTemplateParameterVariableEntity;
123
+ readonly kind = "text-template-function-type-parameter";
124
+ constructor(textTemplateParameter: TextTemplateParameterVariableEntity);
125
+ }
115
126
  export declare class PackageVariableDeclarationEntity implements PackageVariableEntity {
116
127
  private readonly _analyzer;
117
128
  private readonly _node;
@@ -497,4 +508,25 @@ export declare class IntrinsicLocalVariableEntity implements LocalVariableEntity
497
508
  getLocalization(): Localization;
498
509
  getOriginalEntity(): LocalVariableEntity;
499
510
  }
511
+ export declare class TranslationTextTemplateParameterDeclarationEntity implements TextTemplateParameterVariableEntity {
512
+ private readonly _analyzer;
513
+ private readonly _node;
514
+ readonly kind = EntityKind.Variable;
515
+ readonly subkind = "text-template-parameter";
516
+ constructor(_analyzer: Analyzer, _node: tree.TranslationTextTemplateParameterDeclaration);
517
+ getName(): Name;
518
+ getContainer(): PackageEntity;
519
+ getType(): types.Type;
520
+ getDefinition(): VariableEntityDefinition;
521
+ getGetter(): GetterEntity | undefined;
522
+ getSetter(): SetterEntity | undefined;
523
+ isConstant(): boolean;
524
+ isHidden(): EntityHidingLevel | undefined;
525
+ isSpecial(): SpecialVariableEntityInfo | undefined;
526
+ getTags(): readonly Tag[];
527
+ isOptional(): boolean;
528
+ isVariadic(): boolean;
529
+ getLocalization(): Localization;
530
+ getOriginalEntity(): TextTemplateParameterVariableEntity;
531
+ }
500
532
  export {};
@@ -1,6 +1,6 @@
1
- import { TriggeringObject } from 'reactronic';
1
+ import { ObservableObject } from 'reactronic';
2
2
  import { Uri } from '../common/index.js';
3
- export declare class FileSystemTree extends TriggeringObject implements ReadonlyFileSystemTree {
3
+ export declare class FileSystemTree extends ObservableObject implements ReadonlyFileSystemTree {
4
4
  private readonly _handleInconsistentRequestsWithoutErrors;
5
5
  private readonly _deleteEmptyDirectories;
6
6
  private readonly _rootsByScheme;
@@ -1,4 +1,4 @@
1
- import { TriggeringObject } from 'reactronic';
1
+ import { ObservableObject } from 'reactronic';
2
2
  import { Analyzer } from '../../analysis/Analyzer.js';
3
3
  import { CancellationToken } from '../../common/index.js';
4
4
  import { Entity } from '../../entities/index.js';
@@ -6,7 +6,7 @@ import { PackageContent } from '../../project/PackageContent.js';
6
6
  import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvider.js';
7
7
  import { SourceLocation } from '../Types.js';
8
8
  import { CompilationController, ReadonlyClientTrackedSourceFiles } from '../workspace/index.js';
9
- export declare class SourceGenerationService extends TriggeringObject {
9
+ export declare class SourceGenerationService extends ObservableObject {
10
10
  private readonly _trackedSourceFiles;
11
11
  private readonly _tsLibrariesProvider;
12
12
  private readonly _standardPackageContentsProviders;
@@ -1,7 +1,7 @@
1
- import { TriggeringMap, TriggeringObject } from 'reactronic';
1
+ import { ObservableMap, ObservableObject } from 'reactronic';
2
2
  import { Uri } from '../../common/index.js';
3
- export declare class ClientTrackedSourceFiles extends TriggeringObject implements ReadonlyClientTrackedSourceFiles {
4
- readonly items: TriggeringMap<string, ClientTrackedSourceFile>;
3
+ export declare class ClientTrackedSourceFiles extends ObservableObject implements ReadonlyClientTrackedSourceFiles {
4
+ readonly items: ObservableMap<string, ClientTrackedSourceFile>;
5
5
  get unsaved(): Map<string, ClientTrackedSourceFile>;
6
6
  track(uri: Uri, text: string, version: number): ClientTrackedSourceFile | undefined;
7
7
  update(uri: Uri, text: string, version: number): ClientTrackedSourceFile | undefined;
@@ -13,11 +13,11 @@ export declare class ClientTrackedSourceFiles extends TriggeringObject implement
13
13
  dispose(): void;
14
14
  }
15
15
  export interface ReadonlyClientTrackedSourceFiles {
16
- readonly items: TriggeringMap<string, ReadonlyClientTrackedSourceFile>;
16
+ readonly items: ObservableMap<string, ReadonlyClientTrackedSourceFile>;
17
17
  readonly unsaved: Map<string, ReadonlyClientTrackedSourceFile>;
18
18
  createItemsSnapshot(): Map<string, ClientTrackedSourceFileSnapshot>;
19
19
  }
20
- export declare class ClientTrackedSourceFile extends TriggeringObject {
20
+ export declare class ClientTrackedSourceFile extends ObservableObject {
21
21
  readonly uri: Uri;
22
22
  text: string;
23
23
  version: number;
@@ -1,4 +1,4 @@
1
- import { Indicator, TriggeringObject } from 'reactronic';
1
+ import { Indicator, ObservableObject } from 'reactronic';
2
2
  import { Analyzer, TsInteropInputs } from '../../analysis/index.js';
3
3
  import { CancellationToken, Uri } from '../../common/index.js';
4
4
  import { Diagnostic } from '../../diagnostic/Diagnostic.js';
@@ -6,7 +6,7 @@ import { ConvertedConfiguration, ProgramPackageConfiguration, SourceFile, fsTree
6
6
  import { PackageContent } from '../../project/PackageContent.js';
7
7
  import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvider.js';
8
8
  import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
9
- export declare class CompilationController extends TriggeringObject {
9
+ export declare class CompilationController extends ObservableObject {
10
10
  readonly mainCompilationReloadIndicator: Indicator;
11
11
  readonly configurationControllersUpdateIndictor: Indicator;
12
12
  private readonly _mainAnalyzerChangedIndicator;
@@ -100,7 +100,7 @@ export declare class DiagnosticsCollectionSummary {
100
100
  readonly hasErrors: boolean;
101
101
  constructor(hasErrors: boolean);
102
102
  }
103
- declare class ConfigurationController extends TriggeringObject {
103
+ declare class ConfigurationController extends ObservableObject {
104
104
  readonly packageUri: Uri;
105
105
  readonly processingIndicator: Indicator;
106
106
  readonly rootDirectory: fsTree.Directory;
@@ -1,12 +1,12 @@
1
- import { TriggeringArray, TriggeringMap, TriggeringObject } from 'reactronic';
1
+ import { ObservableArray, ObservableMap, ObservableObject } from 'reactronic';
2
2
  import { CancellationToken, Uri } from '../../common/index.js';
3
3
  import * as fsTree from '../../project/FileSystemTree.js';
4
4
  import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
5
5
  import { FileSystemTreeProvider } from './WorkspaceFiles.js';
6
6
  import type { WorkspaceFileSystem } from './WorkspaceFileSystem.js';
7
- export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends TriggeringObject implements FileSystemTreeProvider {
7
+ export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends ObservableObject implements FileSystemTreeProvider {
8
8
  readonly fileSystemTree: fsTree.FileSystemTree;
9
- readonly loadedWorkspaceFolderByUri: TriggeringMap<string, fsTree.Directory>;
9
+ readonly loadedWorkspaceFolderByUri: ObservableMap<string, fsTree.Directory>;
10
10
  private readonly _fileSystem;
11
11
  private readonly _notificationsPublisher;
12
12
  private readonly _listener;
@@ -24,7 +24,7 @@ export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends Trig
24
24
  private readonly _lastCheckedTrackedSourceFileInfoVersionByUri;
25
25
  private readonly _loadedDirectoryUris;
26
26
  constructor(fileSystem: WorkspaceFileSystem, notificationsPublisher: FileSystemUpdateNotificationsPublisher, namesOfDirectoriesToIgnore?: string[], additionalUrisOfDirectoriesToLoad?: readonly Uri[]);
27
- initialize(workspaceFolderUris: TriggeringArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
27
+ initialize(workspaceFolderUris: ObservableArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
28
28
  waitLoaded(cancellationToken: CancellationToken | undefined): Promise<void>;
29
29
  dispose(): void;
30
30
  protected onTrackedSourceFilesUpdated(): void;
@@ -1,17 +1,17 @@
1
- import { TriggeringArray, TriggeringMap, TriggeringObject } from 'reactronic';
1
+ import { ObservableArray, ObservableMap, ObservableObject } from 'reactronic';
2
2
  import { CancellationToken } from '../../common/CancellationToken.js';
3
3
  import { Uri } from '../../common/Uri.js';
4
4
  import * as fsTree from '../../project/FileSystemTree.js';
5
5
  import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
6
6
  import { FileSystemTreeProvider } from './WorkspaceFiles.js';
7
- export declare class ManuallyUpdatedFileSystemTreeProvider extends TriggeringObject implements FileSystemTreeProvider {
7
+ export declare class ManuallyUpdatedFileSystemTreeProvider extends ObservableObject implements FileSystemTreeProvider {
8
8
  readonly fileSystemTree: fsTree.FileSystemTree;
9
- readonly loadedWorkspaceFolderByUri: TriggeringMap<string, fsTree.Directory>;
9
+ readonly loadedWorkspaceFolderByUri: ObservableMap<string, fsTree.Directory>;
10
10
  private _workspaceFolderUris;
11
11
  private _trackedSourceFiles;
12
12
  private readonly _lastCheckedTrackedSourceFileInfoByUri;
13
13
  private readonly _manuallyCreatedSourceFileTextByUri;
14
- initialize(workspaceFolderUris: TriggeringArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
14
+ initialize(workspaceFolderUris: ObservableArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
15
15
  waitLoaded(_cancellationToken: CancellationToken | undefined): Promise<void>;
16
16
  dispose(): void;
17
17
  createOrUpdateSourceFile(uri: Uri, text: string): void;
@@ -1,4 +1,4 @@
1
- import { TriggeringMap, TriggeringObject } from 'reactronic';
1
+ import { ObservableMap, ObservableObject } from 'reactronic';
2
2
  import { Analyzer } from '../../analysis/index.js';
3
3
  import { CancellationToken, Uri } from '../../common/index.js';
4
4
  import * as fsTree from '../../project/FileSystemTree.js';
@@ -8,7 +8,7 @@ import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvide
8
8
  import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
9
9
  import { CompilationController, DiagnosticsCollectedInBackgroundHandler, RawPackageConfigurationsChangedHandler } from './CompilationController.js';
10
10
  import { FileSystemTreeProvider } from './WorkspaceFiles.js';
11
- export declare class Workspace extends TriggeringObject {
11
+ export declare class Workspace extends ObservableObject {
12
12
  isReadyToAcceptWorkspaceDiagnostics: boolean;
13
13
  private readonly _config;
14
14
  private readonly _compilationControllers;
@@ -19,7 +19,7 @@ export declare class Workspace extends TriggeringObject {
19
19
  private readonly _tsInteropInputsCache;
20
20
  get compilationControllers(): readonly CompilationController[];
21
21
  get trackedSourceFiles(): ReadonlyClientTrackedSourceFiles;
22
- get loadedWorkspaceFolderByUri(): TriggeringMap<string, fsTree.Directory>;
22
+ get loadedWorkspaceFolderByUri(): ObservableMap<string, fsTree.Directory>;
23
23
  get workspaceFolderUris(): readonly Uri[];
24
24
  private get compilationControllerByUri();
25
25
  private constructor();
@@ -1,15 +1,15 @@
1
- import { TriggeringArray, TriggeringMap, TriggeringObject } from 'reactronic';
1
+ import { ObservableArray, ObservableMap, ObservableObject } from 'reactronic';
2
2
  import { CancellationToken, Uri } from '../../common/index.js';
3
3
  import * as fsTree from '../../project/FileSystemTree.js';
4
4
  import { ClientTrackedSourceFiles, ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
5
- export declare class WorkspaceFiles extends TriggeringObject {
5
+ export declare class WorkspaceFiles extends ObservableObject {
6
6
  readonly trackedSourceFiles: ClientTrackedSourceFiles;
7
- readonly workspaceFolderUris: TriggeringArray<Uri>;
8
- readonly workspaceFolderWithArtelProjectByUri: TriggeringMap<string, fsTree.Directory>;
7
+ readonly workspaceFolderUris: ObservableArray<Uri>;
8
+ readonly workspaceFolderWithArtelProjectByUri: ObservableMap<string, fsTree.Directory>;
9
9
  private readonly _fileSystemTreeProvider;
10
10
  get fileSystemTree(): fsTree.ReadonlyFileSystemTree;
11
11
  get isMissingConfigurationDirectoryAllowed(): boolean;
12
- get loadedWorkspaceFolderByUri(): TriggeringMap<string, fsTree.Directory>;
12
+ get loadedWorkspaceFolderByUri(): ObservableMap<string, fsTree.Directory>;
13
13
  constructor(fileSystemTreeProvider: FileSystemTreeProvider);
14
14
  addWorkspaceFolders(uris: readonly Uri[]): void;
15
15
  removeWorkspaceFolders(uris: readonly Uri[]): void;
@@ -25,11 +25,11 @@ export declare class WorkspaceFiles extends TriggeringObject {
25
25
  }
26
26
  export interface FileSystemTreeProvider {
27
27
  readonly fileSystemTree: fsTree.ReadonlyFileSystemTree;
28
- readonly loadedWorkspaceFolderByUri: TriggeringMap<string, fsTree.Directory>;
28
+ readonly loadedWorkspaceFolderByUri: ObservableMap<string, fsTree.Directory>;
29
29
  /**
30
30
  * Должен быть вызван до вызова всех остальных методов.
31
31
  */
32
- initialize(workspaceFolderUris: TriggeringArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
32
+ initialize(workspaceFolderUris: ObservableArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
33
33
  waitLoaded(cancellationToken: CancellationToken | undefined): Promise<void>;
34
34
  dispose(): void;
35
35
  }
@@ -139,25 +139,24 @@ export declare enum NodeKind {
139
139
  FieldOrVariantTranslation = 137,
140
140
  TypeMemberTranslationList = 138,
141
141
  TypeTranslation = 139,
142
- TextLiteralTranslation = 140,
143
- TextTemplateLiteralTranslation = 141,
144
- TranslationTextTemplate = 142,
145
- TranslationTextTemplateSpanList = 143,
146
- TranslationTextTemplateSpan = 144,
147
- TranslationTextTemplateParameterDeclaration = 145,
148
- VariantDeclaration = 146,
149
- TypeParameterDeclaration = 147,
150
- ParameterDeclaration = 148,
151
- Argument = 149,
152
- TagList = 150,
153
- Tag = 151,
154
- ModifierList = 152,
155
- Modifier = 153,
156
- ParameterClause = 154,
157
- ParameterList = 155,
158
- TypeArgumentClause = 156,
159
- TypeArgumentList = 157,
160
- TypeParameterClause = 158,
161
- TypeParameterList = 159,
162
- TypeAnnotation = 160
142
+ TextTranslation = 140,
143
+ TranslationTextTemplate = 141,
144
+ TranslationTextTemplateSpanList = 142,
145
+ TranslationTextTemplateSpan = 143,
146
+ TranslationTextTemplateParameterDeclaration = 144,
147
+ VariantDeclaration = 145,
148
+ TypeParameterDeclaration = 146,
149
+ ParameterDeclaration = 147,
150
+ Argument = 148,
151
+ TagList = 149,
152
+ Tag = 150,
153
+ ModifierList = 151,
154
+ Modifier = 152,
155
+ ParameterClause = 153,
156
+ ParameterList = 154,
157
+ TypeArgumentClause = 155,
158
+ TypeArgumentList = 156,
159
+ TypeParameterClause = 157,
160
+ TypeParameterList = 158,
161
+ TypeAnnotation = 159
163
162
  }
@@ -1706,7 +1706,7 @@ export declare class TopLevelTranslationList extends BaseNode {
1706
1706
  constructor(elements: readonly TopLevelTranslationListElement[]);
1707
1707
  toRed(rangeStart: number, parent: red.TopLevelTranslationListParent): red.TopLevelTranslationList;
1708
1708
  }
1709
- export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation;
1709
+ export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextTranslation;
1710
1710
  export declare class TranslationParameterList extends BaseNode {
1711
1711
  readonly kind = NodeKind.TranslationParameterList;
1712
1712
  readonly children: readonly IdentifierListElement[];
@@ -1956,34 +1956,21 @@ export declare class TypeTranslation extends BaseNode {
1956
1956
  toRed(rangeStart: number, parent: red.TypeTranslationParent): red.TypeTranslation;
1957
1957
  }
1958
1958
  export type TypeMemberTranslation = FieldOrVariantTranslation | MethodTranslation | IndexerTranslation | ConstructorTranslation;
1959
- export declare class TextLiteralTranslation extends BaseNode {
1960
- readonly kind = NodeKind.TextLiteralTranslation;
1961
- readonly children: readonly [
1962
- TextLiteral,
1963
- Token<TokenKind.MinusGreaterThan>,
1964
- TextLiteral
1965
- ];
1966
- get sourceText(): TextLiteral;
1967
- get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
1968
- get translatedText(): TextLiteral;
1969
- protected get thisAsNode(): Node;
1970
- constructor(sourceText: TextLiteral, minusGreaterThanToken: Token<TokenKind.MinusGreaterThan>, translatedText: TextLiteral);
1971
- toRed(rangeStart: number, parent: red.TextLiteralTranslationParent): red.TextLiteralTranslation;
1972
- }
1959
+ export type TranslationSourceText = TextLiteral | TranslationTextTemplate;
1973
1960
  export type TranslatedTextOrTranslationFunction = TextLiteral | TextTemplateLiteral | FunctionLiteral | FunctionBlockLiteral | InvalidExpression;
1974
- export declare class TextTemplateLiteralTranslation extends BaseNode {
1975
- readonly kind = NodeKind.TextTemplateLiteralTranslation;
1961
+ export declare class TextTranslation extends BaseNode {
1962
+ readonly kind = NodeKind.TextTranslation;
1976
1963
  readonly children: readonly [
1977
- TranslationTextTemplate,
1964
+ TranslationSourceText,
1978
1965
  Token<TokenKind.MinusGreaterThan>,
1979
1966
  TranslatedTextOrTranslationFunction
1980
1967
  ];
1981
- get sourceText(): TranslationTextTemplate;
1968
+ get sourceText(): TranslationSourceText;
1982
1969
  get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
1983
1970
  get translatedTextOrTranslationFunction(): TranslatedTextOrTranslationFunction;
1984
1971
  protected get thisAsNode(): Node;
1985
- constructor(sourceText: TranslationTextTemplate, minusGreaterThanToken: Token<TokenKind.MinusGreaterThan>, translatedTextOrTranslationFunction: TranslatedTextOrTranslationFunction);
1986
- toRed(rangeStart: number, parent: red.TextTemplateLiteralTranslationParent): red.TextTemplateLiteralTranslation;
1972
+ constructor(sourceText: TranslationSourceText, minusGreaterThanToken: Token<TokenKind.MinusGreaterThan>, translatedTextOrTranslationFunction: TranslatedTextOrTranslationFunction);
1973
+ toRed(rangeStart: number, parent: red.TextTranslationParent): red.TextTranslation;
1987
1974
  }
1988
1975
  export declare class TranslationTextTemplate extends BaseNode {
1989
1976
  readonly kind = NodeKind.TranslationTextTemplate;
@@ -2005,17 +1992,16 @@ export declare class TranslationTextTemplateSpanList extends BaseNode {
2005
1992
  constructor(spans: readonly TranslationTextTemplateSpan[]);
2006
1993
  toRed(rangeStart: number, parent: red.TranslationTextTemplateSpanListParent): red.TranslationTextTemplateSpanList;
2007
1994
  }
2008
- export type IntegerLiteral = Token<TokenKind.IntegerLiteral>;
2009
1995
  export declare class TranslationTextTemplateSpan extends BaseNode {
2010
1996
  readonly kind = NodeKind.TranslationTextTemplateSpan;
2011
1997
  readonly children: readonly [
2012
- TranslationTextTemplateParameterDeclaration | IntegerLiteral,
1998
+ TranslationTextTemplateParameterDeclaration,
2013
1999
  TextTemplatePart | TextTemplateTail
2014
2000
  ];
2015
- get parameter(): TranslationTextTemplateParameterDeclaration | IntegerLiteral;
2001
+ get parameter(): TranslationTextTemplateParameterDeclaration;
2016
2002
  get text(): TextTemplatePart | TextTemplateTail;
2017
2003
  protected get thisAsNode(): Node;
2018
- constructor(parameter: TranslationTextTemplateParameterDeclaration | IntegerLiteral, text: TextTemplatePart | TextTemplateTail);
2004
+ constructor(parameter: TranslationTextTemplateParameterDeclaration, text: TextTemplatePart | TextTemplateTail);
2019
2005
  toRed(rangeStart: number, parent: red.TranslationTextTemplateSpanParent): red.TranslationTextTemplateSpan;
2020
2006
  }
2021
2007
  export declare class TranslationTextTemplateParameterDeclaration extends BaseNode {
@@ -2234,4 +2220,4 @@ export declare class TypeAnnotation extends BaseNode {
2234
2220
  constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier);
2235
2221
  toRed(rangeStart: number, parent: red.TypeAnnotationParent): red.TypeAnnotation;
2236
2222
  }
2237
- export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | TranslationTextTemplate | TranslationTextTemplateSpanList | TranslationTextTemplateSpan | TranslationTextTemplateParameterDeclaration | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
2223
+ export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextTranslation | TranslationTextTemplate | TranslationTextTemplateSpanList | TranslationTextTemplateSpan | TranslationTextTemplateParameterDeclaration | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;