@artel/artc 0.6.25218 → 0.6.25220

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.
@@ -29,6 +29,7 @@ import { ImportedPackageNameTree, PackageNameTreeNode } from './ImportedPackageN
29
29
  import * as indexedAccessExpressionMeaning from './IndexedAccessExpressionMeaning.js';
30
30
  import { WithLocalization } from './Localization.js';
31
31
  import { LocalizationContext } from './LocalizationContext.js';
32
+ import { ModifierFlags } from './ModifierFlags.js';
32
33
  import { NamedTypeSpecifierResolutionResult } from './NamedTypeSpecifierResolver.js';
33
34
  import { GetterDeclaration, MethodTypeDeclaration, PackageVariableAccessorDeclaration, SetterDeclaration, StructuredTypeDeclaration, TypeDereferencedVariableAccessorDeclaration, TypeIndexedAccessorDeclaration, TypeVariableAccessorDeclaration, VariantTypeDeclaration } from './NodeTypeUtils.js';
34
35
  import * as objectExpressionMeaning from './ObjectExpressionMeaning.js';
@@ -42,7 +43,6 @@ import * as tags from './Tags.js';
42
43
  import { TargetTypeHint } from './TargetTypeHint.js';
43
44
  import * as typeOverloadResolver from './TypeOverloadResolver.js';
44
45
  import { WellKnownDeclarations } from './index.js';
45
- import { ModifierFlags } from './ModifierFlags.js';
46
46
  export declare class Analyzer {
47
47
  static readonly enumeratorMethodName = "\u043F\u0435\u0440\u0435\u0431\u043E\u0440";
48
48
  static readonly methodTypeInvokeMethodName = "\u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C";
@@ -387,6 +387,9 @@ declare class Entity {
387
387
  private createTypeIndexerEntities;
388
388
  private areTypeIndexedAccessorDeclarationsEqual;
389
389
  }
390
+ type EntityClassMembers = Entity[keyof Entity];
391
+ type GetNodesFromMethodsParameter<T> = T extends (node: infer TNode) => e.Entity ? (TNode extends tree.Node ? TNode : never) : never;
392
+ export type NodeCorrespondingToEntity = GetNodesFromMethodsParameter<EntityClassMembers>;
390
393
  declare class ResultLocalVariableEntity {
391
394
  private readonly _analyzer;
392
395
  private readonly _entities;
@@ -1,5 +1,5 @@
1
1
  import { Diagnostic } from '../diagnostic/Diagnostic.js';
2
- import { VariableEntity } from '../entities/index.js';
2
+ import { ParameterVariableEntity } from '../entities/index.js';
3
3
  import { Argument, AutotypeCallExpression, CallExpression, IndexedAccessExpression, Tag } from '../tree/index.js';
4
4
  import * as types from '../types/index.js';
5
5
  import { LocalizedName } from './Localization.js';
@@ -22,8 +22,8 @@ export declare class MatchResult {
22
22
  constructor(parameterByArgument: ReadonlyMap<Argument, MatchResultValueParameter>, unmatchedParameters: readonly MatchResultValueParameter[], diagnostics: readonly Diagnostic[]);
23
23
  }
24
24
  export declare class MatchResultValueParameter {
25
- readonly entity: VariableEntity;
25
+ readonly entity: ParameterVariableEntity;
26
26
  readonly type: types.Type;
27
27
  readonly name: LocalizedName;
28
- constructor(entity: VariableEntity, type: types.Type, name: LocalizedName);
28
+ constructor(entity: ParameterVariableEntity, type: types.Type, name: LocalizedName);
29
29
  }
@@ -21,7 +21,7 @@ export interface SemanticContext {
21
21
  getContainingSourceFile(): SourceFile;
22
22
  getContainingPackage(): PackageEntity;
23
23
  getLocalizationContext(): LocalizationContext;
24
- isInRunStatementWithClauses(): RunStatementClausesInfo | undefined;
24
+ isInTryStatement(): TryStatementClausesInfo | undefined;
25
25
  isInFinallyClause(): boolean;
26
26
  getScopeLookup(): Lookup;
27
27
  getHidingMatcher(): IEntityHidingMatcher;
@@ -143,7 +143,7 @@ export declare namespace TypeOrTypeExtension {
143
143
  }
144
144
  export {};
145
145
  }
146
- export declare class RunStatementClausesInfo {
146
+ export declare class TryStatementClausesInfo {
147
147
  readonly hasCatchClause: boolean;
148
148
  readonly hasFinallyClause: boolean;
149
149
  constructor(hasCatchClause: boolean, hasFinallyClause: boolean);
@@ -157,7 +157,7 @@ declare abstract class SemanticContextWithParent implements SemanticContext {
157
157
  getContainingSourceFile(): SourceFile;
158
158
  getContainingPackage(): PackageEntity;
159
159
  getLocalizationContext(): LocalizationContext;
160
- isInRunStatementWithClauses(): RunStatementClausesInfo | undefined;
160
+ isInTryStatement(): TryStatementClausesInfo | undefined;
161
161
  isInFinallyClause(): boolean;
162
162
  getScopeLookup(): Lookup;
163
163
  getHidingMatcher(): IEntityHidingMatcher;
@@ -173,7 +173,7 @@ export declare class SourceFileSemanticContext implements SemanticContext {
173
173
  getContainingTypeOrTypeExtension(): TypeOrTypeExtension | undefined;
174
174
  getContainingSourceFile(): SourceFile;
175
175
  getContainingPackage(): PackageEntity;
176
- isInRunStatementWithClauses(): RunStatementClausesInfo | undefined;
176
+ isInTryStatement(): TryStatementClausesInfo | undefined;
177
177
  isInFinallyClause(): boolean;
178
178
  getScopeLookup(): Lookup;
179
179
  getLocalizationContext(): LocalizationContext;
@@ -190,7 +190,7 @@ export declare class LastSemanticContextOfType extends SemanticContextWithParent
190
190
  constructor(analyzer: Analyzer, node: TypeDeclarationCreatingSemanticContext, parentContext: SemanticContext);
191
191
  getContainingTypeOrTypeExtension(): TypeOrTypeExtension | undefined;
192
192
  getContainingSubprogram(): SubprogramInfo | undefined;
193
- isInRunStatementWithClauses(): RunStatementClausesInfo | undefined;
193
+ isInTryStatement(): TryStatementClausesInfo | undefined;
194
194
  isInFinallyClause(): boolean;
195
195
  private getContainingType;
196
196
  }
@@ -229,7 +229,7 @@ export declare class LastSemanticContextOfMethod extends SemanticContextWithPare
229
229
  private readonly _subprogramInfo;
230
230
  constructor(analyzer: Analyzer, node: MethodDeclaration, parentContext: SemanticContext);
231
231
  getContainingSubprogram(): SubprogramInfo | undefined;
232
- isInRunStatementWithClauses(): RunStatementClausesInfo | undefined;
232
+ isInTryStatement(): TryStatementClausesInfo | undefined;
233
233
  isInFinallyClause(): boolean;
234
234
  }
235
235
  export declare class MethodTypeParameterSemanticContext extends SemanticContextWithParent {
@@ -317,7 +317,7 @@ export declare class StatementBlockSemanticContext extends SemanticContextWithPa
317
317
  private readonly _scopeChain;
318
318
  constructor(analyzer: Analyzer, node: tree.StatementBlock, parentContext: SemanticContext);
319
319
  getScopeChain(): ScopeChain;
320
- isInRunStatementWithClauses(): RunStatementClausesInfo | undefined;
320
+ isInTryStatement(): TryStatementClausesInfo | undefined;
321
321
  isInFinallyClause(): boolean;
322
322
  }
323
323
  export type RegularOrBlockMethodLiteral = tree.MethodLiteral | tree.MethodBlockLiteral;
@@ -1,12 +1,23 @@
1
- import { VariableEntity } from '../entities/index.js';
1
+ import { ParameterVariableEntity } from '../entities/index.js';
2
2
  import * as types from '../types/index.js';
3
- export declare class Tag {
4
- readonly type: types.Type;
5
- readonly constructor_: types.Constructor;
6
- readonly argumentByParameter: ReadonlyMap<VariableEntity, TagArgument>;
3
+ import { AccessedMethod } from './AccessedMethod.js';
4
+ export type Tag = TagType | TagMethod;
5
+ declare abstract class TagBase {
6
+ readonly argumentByParameter: ReadonlyMap<ParameterVariableEntity, TagArgument>;
7
7
  private readonly _argumentByName;
8
8
  get argumentByName(): ReadonlyMap<string, TagArgument>;
9
- constructor(type: types.Type, constructor_: types.Constructor, argumentByParameter: ReadonlyMap<VariableEntity, TagArgument>);
9
+ constructor(argumentByParameter: ReadonlyMap<ParameterVariableEntity, TagArgument>);
10
+ }
11
+ export declare class TagType extends TagBase {
12
+ readonly kind = "type";
13
+ readonly type: types.Type;
14
+ readonly constructor_: types.Constructor;
15
+ constructor(type: types.Type, constructor_: types.Constructor, argumentByParameter: ReadonlyMap<ParameterVariableEntity, TagArgument>);
16
+ }
17
+ export declare class TagMethod extends TagBase {
18
+ readonly kind = "method";
19
+ readonly method: AccessedMethod;
20
+ constructor(method: AccessedMethod, argumentByParameter: ReadonlyMap<ParameterVariableEntity, TagArgument>);
10
21
  }
11
22
  export type TagArgument = TagArgument_string | TagArgument_numeric | TagArgument_boolean | TagArgument_invalid;
12
23
  export declare class TagArgument_string {
@@ -27,3 +38,4 @@ export declare class TagArgument_boolean {
27
38
  export declare class TagArgument_invalid {
28
39
  readonly kind = "invalid";
29
40
  }
41
+ export {};
@@ -1,7 +1,7 @@
1
- import { Entity, PackageEntity, StructuredTypeEntity, TypeParameterEntity, VariableEntity } from '../entities/index.js';
1
+ import { Entity, MethodEntity, PackageEntity, StructuredTypeEntity, TypeParameterEntity, VariableEntity } from '../entities/index.js';
2
2
  import * as tree from '../tree/index.js';
3
3
  import * as types from '../types/index.js';
4
- import { Tag } from './Tags.js';
4
+ import { Tag, TagMethod, TagType } from './Tags.js';
5
5
  type TextToken = tree.Token<tree.TokenKind.TextLiteral> | tree.Token<tree.TokenKind.TextTemplateHead> | tree.Token<tree.TokenKind.TextTemplatePart> | tree.Token<tree.TokenKind.TextTemplateTail>;
6
6
  export declare function getUnescapedTextFromTextToken(token: TextToken): string;
7
7
  export declare function unwrapParenthesizedExpressions(expression: tree.Expression): tree.Expression;
@@ -9,7 +9,8 @@ export declare function getParentSkippingParenthesizedExpressions(expression: tr
9
9
  export declare function unaliasType(type: types.Type): types.Type;
10
10
  export declare function unaliasType(type: types.Type | undefined): types.Type | undefined;
11
11
  export declare function getPackageContainingEntity(entity: Entity): PackageEntity;
12
- export declare function findTag(tagTypeEntity: StructuredTypeEntity, tags: readonly Tag[]): Tag | undefined;
12
+ export declare function findTag(tagTypeEntity: StructuredTypeEntity, tags: readonly Tag[]): TagType | undefined;
13
+ export declare function findTag(tagMethodEntity: MethodEntity, tags: readonly Tag[]): TagMethod | undefined;
13
14
  export declare function getRequiredTypeParameterCount(typeParameters: readonly TypeParameterEntity[]): number;
14
15
  export declare function flattenPackageMemberDeclarationList(list: tree.PackageMemberDeclarationList): Iterable<Exclude<tree.PackageMemberDeclaration, tree.PackageMemberGroupDeclaration>>;
15
16
  export declare function flattenTypeMemberDeclarationList(list: tree.TypeMemberDeclarationList): Iterable<Exclude<tree.TypeMemberDeclaration, tree.TypeMemberGroupDeclaration>>;
@@ -23,7 +23,7 @@ export declare enum DiagnosticCode {
23
23
  TranslationExpected = 21,
24
24
  Expected0But1Found = 22,
25
25
  InvalidTextTemplateLiteral = 23,
26
- RunKeywordOnCreateKeywordOrModifierListExpected = 24,
26
+ RunKeywordCreationKeywordOrModifierListExpected = 24,
27
27
  ModifierListExpected = 25,
28
28
  HidingLevelExpected = 26,
29
29
  ParameterNameCanContainOnlyOneBackQuote = 27,
@@ -89,7 +89,7 @@ export declare enum DiagnosticCode {
89
89
  YieldStatementCanNotBeUsedInAnonymousMethods = 87,
90
90
  YieldStatementCanNotBeUsedHere = 88,
91
91
  MethodsUsingYieldStatementMustHaveEnumerableAsReturnType = 89,
92
- YieldStatementCanNotBeUsedInRunStatementThatHasCatchClause = 90,
92
+ YieldStatementCanNotBeUsedInTryStatementThatHasCatchClause = 90,
93
93
  YieldStatementCanNotBeUsedInFinallyClause = 91,
94
94
  SubprogramMustReturnValue = 92,
95
95
  ResultVariableCanNotBeUsedInMethodsUsingYieldStatement = 93,
@@ -89,6 +89,7 @@ export declare class IrToJs {
89
89
  private convertJsPropertyAccessExpression;
90
90
  private convertStatements;
91
91
  private convertStatement;
92
+ private convertTryStatement;
92
93
  private convertAssignmentStatement;
93
94
  private convertBreakLoopStatement;
94
95
  private convertContinueLoopStatement;
@@ -104,7 +105,6 @@ export declare class IrToJs {
104
105
  private convertSwitchStatement;
105
106
  private convertWhileStatement;
106
107
  private convertYieldStatement;
107
- private convertTryCatchFinallyStatement;
108
108
  private convertAssignmentOperator;
109
109
  private convertTypeConstructorDeclaration;
110
110
  private convertTypeMethodDeclaration;
@@ -20,6 +20,7 @@ export declare class Transformer {
20
20
  transformContinueLoopStatementChildren(_statement: ir.ContinueLoopStatement): void;
21
21
  transformDisposeStatementChildren(statement: ir.DisposeStatement): void;
22
22
  transformRunStatementChildren(statement: ir.RunStatement): void;
23
+ transformTryStatementChildren(statement: ir.TryStatement): void;
23
24
  transformEmptyStatementChildren(_statement: ir.EmptyStatement): void;
24
25
  transformErrorStatementChildren(statement: ir.ErrorStatement): void;
25
26
  transformExpressionStatementChildren(statement: ir.ExpressionStatement): void;
@@ -40,7 +41,6 @@ export declare class Transformer {
40
41
  transformCaseClause(caseClause: ir.CaseClause): ir.CaseClause;
41
42
  transformWhileStatementChildren(statement: ir.WhileStatement): void;
42
43
  transformYieldStatementChildren(statement: ir.YieldStatement): void;
43
- transformTryCatchFinallyStatementChildren(statement: ir.TryCatchFinallyStatement): void;
44
44
  transformEsModuleImportDirectiveStatementChildren(_statement: ir.EsModuleImportDirectiveStatement): void;
45
45
  transformCjsModuleImportDirectiveStatementChildren(_statement: ir.CjsModuleImportDirectiveStatement): void;
46
46
  transformJsNamespaceDestructuringStatementChildren(_statement: ir.JsNamespaceDestructuringStatement): void;
@@ -165,6 +165,7 @@ export interface TransformationConfig {
165
165
  transformContinueLoopStatement?(statement: ir.ContinueLoopStatement): StatementTransformationResult;
166
166
  transformDisposeStatement?(statement: ir.DisposeStatement): StatementTransformationResult;
167
167
  transformRunStatement?(statement: ir.RunStatement): StatementTransformationResult;
168
+ transformTryStatement?(statement: ir.TryStatement): StatementTransformationResult;
168
169
  transformEmptyStatement?(statement: ir.EmptyStatement): StatementTransformationResult;
169
170
  transformErrorStatement?(statement: ir.ErrorStatement): StatementTransformationResult;
170
171
  transformExpressionStatement?(statement: ir.ExpressionStatement): StatementTransformationResult;
@@ -178,7 +179,6 @@ export interface TransformationConfig {
178
179
  transformWhileStatement?(statement: ir.WhileStatement): StatementTransformationResult;
179
180
  transformYieldStatement?(statement: ir.YieldStatement): StatementTransformationResult;
180
181
  transformAssignmentStatement?(statement: ir.AssignmentStatement): StatementTransformationResult;
181
- transformTryCatchFinallyStatement?(statement: ir.TryCatchFinallyStatement): StatementTransformationResult;
182
182
  transformEsModuleImportDirectiveStatement?(statement: ir.EsModuleImportDirectiveStatement): StatementTransformationResult;
183
183
  transformCjsModuleImportDirectiveStatement?(statement: ir.CjsModuleImportDirectiveStatement): StatementTransformationResult;
184
184
  transformJsNamespaceDestructuringStatement?(statement: ir.JsNamespaceDestructuringStatement): StatementTransformationResult;
@@ -614,13 +614,20 @@ export declare class ReturnStatement {
614
614
  }
615
615
  export declare class RunStatement {
616
616
  body: BlockStatement;
617
- catchClauses: readonly CatchClause[];
618
- finallyClause: FinallyClause | undefined;
619
617
  sourceLocation: SourceLocation | undefined;
620
618
  readonly kind = NodeKind.RunStatement;
621
- constructor(body: BlockStatement, catchClauses: readonly CatchClause[], finallyClause: FinallyClause | undefined, sourceLocation: SourceLocation | undefined);
619
+ constructor(body: BlockStatement, sourceLocation: SourceLocation | undefined);
622
620
  clone(): RunStatement;
623
621
  }
622
+ export declare class TryStatement {
623
+ body: BlockStatement;
624
+ catchClause: CatchClause | undefined;
625
+ finallyClause: FinallyClause | undefined;
626
+ sourceLocation: SourceLocation | undefined;
627
+ readonly kind = NodeKind.TryStatement;
628
+ constructor(body: BlockStatement, catchClause: CatchClause | undefined, finallyClause: FinallyClause | undefined, sourceLocation: SourceLocation | undefined);
629
+ clone(): TryStatement;
630
+ }
624
631
  export declare class Package {
625
632
  leadingStatements: readonly Statement[];
626
633
  declarations: readonly PackageMemberDeclaration[];
@@ -690,16 +697,6 @@ export declare class ThisExpression {
690
697
  constructor(type: Type, sourceLocation: SourceLocation | undefined);
691
698
  clone(): ThisExpression;
692
699
  }
693
- export declare class TryCatchFinallyStatement {
694
- body: BlockStatement;
695
- errorParameter: VariableEntity | undefined;
696
- catchClauseBody: BlockStatement | undefined;
697
- finallyClauseBody: BlockStatement | undefined;
698
- sourceLocation: SourceLocation | undefined;
699
- readonly kind = NodeKind.TryCatchFinallyStatement;
700
- constructor(body: BlockStatement, errorParameter: VariableEntity | undefined, catchClauseBody: BlockStatement | undefined, finallyClauseBody: BlockStatement | undefined, sourceLocation: SourceLocation | undefined);
701
- clone(): TryCatchFinallyStatement;
702
- }
703
700
  export declare class TypeAccessExpression {
704
701
  entity: TypeOrExtensionEntity;
705
702
  sourceLocation: SourceLocation | undefined;
@@ -912,62 +909,62 @@ export declare const enum NodeKind {
912
909
  ContinueLoopStatement = 12,
913
910
  DisposeStatement = 13,
914
911
  RunStatement = 14,
915
- NoneLiteral = 15,
916
- EmptyStatement = 16,
917
- ErrorStatement = 17,
918
- ExpressionStatement = 18,
919
- FinallyClause = 19,
920
- ForStatement = 20,
921
- PackageMethodDeclaration = 21,
922
- PackageTypeDeclaration = 22,
923
- PackageVariableDeclaration = 23,
924
- PackageVariableGetterDeclaration = 24,
925
- PackageVariableSetterDeclaration = 25,
926
- PackageVariantTypeDeclaration = 26,
927
- IfStatement = 27,
928
- IndexedAccessExpression = 28,
929
- IntegerLiteral = 29,
930
- IsExpression = 30,
931
- NestedMethodDeclaration = 31,
932
- NestedMethodDeclarationStatement = 32,
933
- LocalVariableDeclaration = 33,
934
- LocalVariableDeclarationStatement = 34,
935
- NumericLiteral = 35,
936
- CatchClause = 36,
937
- MethodLiteral = 37,
938
- PrefixUnaryExpression = 38,
939
- MeasureLiteral = 39,
940
- ReferenceExpression = 40,
941
- LoopStatement = 41,
942
- ReturnStatement = 42,
943
- Package = 43,
944
- TextLiteral = 44,
945
- TextTemplateLiteral = 45,
946
- TypeConstructorDeclaration = 46,
947
- TypeDestructorDeclaration = 47,
948
- TypeIndexedGetterDeclaration = 48,
949
- TypeIndexedSetterDeclaration = 49,
950
- TypeMethodDeclaration = 50,
951
- TypeVariableDeclaration = 51,
952
- TypeVariableGetterDeclaration = 52,
953
- TypeVariableSetterDeclaration = 53,
954
- SwitchStatement = 54,
955
- TernaryExpression = 55,
956
- ThisExpression = 56,
957
- ValueParameterDeclaration = 57,
958
- VariantDeclaration = 58,
959
- WhileStatement = 59,
960
- YieldStatement = 60,
961
- ArrayLiteral = 61,
962
- TypeAccessExpression = 62,
963
- VariableAccessExpression = 63,
964
- MethodAccessExpression = 64,
965
- ImplicitVariantAccessExpression = 65,
966
- VariantAccessExpression = 66,
967
- TypeVariableAccessExpression = 67,
968
- TypeMethodAccessExpression = 68,
969
- ConstructorCallExpression = 69,
970
- TryCatchFinallyStatement = 70,
912
+ TryStatement = 15,
913
+ NoneLiteral = 16,
914
+ EmptyStatement = 17,
915
+ ErrorStatement = 18,
916
+ ExpressionStatement = 19,
917
+ FinallyClause = 20,
918
+ ForStatement = 21,
919
+ PackageMethodDeclaration = 22,
920
+ PackageTypeDeclaration = 23,
921
+ PackageVariableDeclaration = 24,
922
+ PackageVariableGetterDeclaration = 25,
923
+ PackageVariableSetterDeclaration = 26,
924
+ PackageVariantTypeDeclaration = 27,
925
+ IfStatement = 28,
926
+ IndexedAccessExpression = 29,
927
+ IntegerLiteral = 30,
928
+ IsExpression = 31,
929
+ NestedMethodDeclaration = 32,
930
+ NestedMethodDeclarationStatement = 33,
931
+ LocalVariableDeclaration = 34,
932
+ LocalVariableDeclarationStatement = 35,
933
+ NumericLiteral = 36,
934
+ CatchClause = 37,
935
+ MethodLiteral = 38,
936
+ PrefixUnaryExpression = 39,
937
+ MeasureLiteral = 40,
938
+ ReferenceExpression = 41,
939
+ LoopStatement = 42,
940
+ ReturnStatement = 43,
941
+ Package = 44,
942
+ TextLiteral = 45,
943
+ TextTemplateLiteral = 46,
944
+ TypeConstructorDeclaration = 47,
945
+ TypeDestructorDeclaration = 48,
946
+ TypeIndexedGetterDeclaration = 49,
947
+ TypeIndexedSetterDeclaration = 50,
948
+ TypeMethodDeclaration = 51,
949
+ TypeVariableDeclaration = 52,
950
+ TypeVariableGetterDeclaration = 53,
951
+ TypeVariableSetterDeclaration = 54,
952
+ SwitchStatement = 55,
953
+ TernaryExpression = 56,
954
+ ThisExpression = 57,
955
+ ValueParameterDeclaration = 58,
956
+ VariantDeclaration = 59,
957
+ WhileStatement = 60,
958
+ YieldStatement = 61,
959
+ ArrayLiteral = 62,
960
+ TypeAccessExpression = 63,
961
+ VariableAccessExpression = 64,
962
+ MethodAccessExpression = 65,
963
+ ImplicitVariantAccessExpression = 66,
964
+ VariantAccessExpression = 67,
965
+ TypeVariableAccessExpression = 68,
966
+ TypeMethodAccessExpression = 69,
967
+ ConstructorCallExpression = 70,
971
968
  InlineJsExpression = 71,
972
969
  AssignmentExpression = 72,
973
970
  CommaExpression = 73,
@@ -1,7 +1,7 @@
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.NoneLiteral | ir.EmptyStatement | ir.ErrorStatement | ir.ExpressionStatement | ir.FinallyClause | ir.ForStatement | ir.PackageMethodDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration | ir.IfStatement | ir.IndexedAccessExpression | ir.InlineJsExpression | ir.TypeMethodAccessExpression | ir.TypeVariableAccessExpression | ir.IntegerLiteral | ir.IsExpression | ir.JsIndexedAccessExpression | ir.NestedMethodDeclaration | ir.NestedMethodDeclarationStatement | ir.LocalVariableDeclaration | ir.LocalVariableDeclarationStatement | ir.NumericLiteral | ir.CatchClause | ir.MethodAccessExpression | ir.MethodLiteral | ir.PrefixUnaryExpression | ir.MeasureLiteral | ir.ReferenceExpression | ir.LoopStatement | ir.Package | ir.ReturnStatement | ir.TextLiteral | ir.TextTemplateLiteral | ir.TypeConstructorDeclaration | ir.TypeDestructorDeclaration | ir.TypeIndexedGetterDeclaration | ir.TypeIndexedSetterDeclaration | ir.TypeMethodDeclaration | ir.TypeVariableDeclaration | ir.ComputedTypeVariableDeclaration | ir.TypeVariableGetterDeclaration | ir.TypeVariableSetterDeclaration | ir.SwitchStatement | ir.TernaryExpression | ir.ThisExpression | ir.TryCatchFinallyStatement | 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.TypeDereferencedVariableGetterDeclaration | ir.TypeDereferencedVariableSetterDeclaration | 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.ExpressionStatement | ir.FinallyClause | ir.ForStatement | ir.PackageMethodDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration | ir.IfStatement | ir.IndexedAccessExpression | ir.InlineJsExpression | ir.TypeMethodAccessExpression | ir.TypeVariableAccessExpression | ir.IntegerLiteral | ir.IsExpression | ir.JsIndexedAccessExpression | ir.NestedMethodDeclaration | ir.NestedMethodDeclarationStatement | ir.LocalVariableDeclaration | ir.LocalVariableDeclarationStatement | ir.NumericLiteral | ir.CatchClause | ir.MethodAccessExpression | ir.MethodLiteral | ir.PrefixUnaryExpression | ir.MeasureLiteral | ir.ReferenceExpression | ir.LoopStatement | ir.Package | ir.ReturnStatement | ir.TextLiteral | ir.TextTemplateLiteral | ir.TypeConstructorDeclaration | ir.TypeDestructorDeclaration | ir.TypeIndexedGetterDeclaration | ir.TypeIndexedSetterDeclaration | ir.TypeMethodDeclaration | ir.TypeVariableDeclaration | ir.ComputedTypeVariableDeclaration | ir.TypeVariableGetterDeclaration | ir.TypeVariableSetterDeclaration | 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.TypeDereferencedVariableGetterDeclaration | ir.TypeDereferencedVariableSetterDeclaration | ir.TextWithEntityName | ir.Argument | ir.Arguments | ir.Decorator;
3
3
  export type Declaration = ir.PackageMethodDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration | ir.NestedMethodDeclaration | ir.LocalVariableDeclaration | ir.TypeConstructorDeclaration | ir.TypeDestructorDeclaration | ir.TypeIndexedGetterDeclaration | ir.TypeIndexedSetterDeclaration | ir.TypeMethodDeclaration | ir.TypeVariableDeclaration | ir.TypeVariableGetterDeclaration | ir.TypeVariableSetterDeclaration | ir.ValueParameterDeclaration | ir.VariantDeclaration | ir.TypeDereferencedVariableGetterDeclaration | ir.TypeDereferencedVariableSetterDeclaration;
4
- export type Statement = ir.AssignmentStatement | ir.BlockStatement | ir.BreakLoopStatement | ir.ContinueLoopStatement | ir.DisposeStatement | ir.RunStatement | ir.EmptyStatement | ir.ErrorStatement | ir.ExpressionStatement | ir.ForStatement | ir.IfStatement | ir.NestedMethodDeclarationStatement | ir.LocalVariableDeclarationStatement | ir.LoopStatement | ir.ReturnStatement | ir.SwitchStatement | ir.TryCatchFinallyStatement | ir.WhileStatement | ir.YieldStatement | ir.EsModuleImportDirectiveStatement | ir.CjsModuleImportDirectiveStatement | ir.JsNamespaceDestructuringStatement;
4
+ export type Statement = ir.AssignmentStatement | ir.BlockStatement | ir.BreakLoopStatement | ir.ContinueLoopStatement | ir.DisposeStatement | ir.RunStatement | ir.TryStatement | ir.EmptyStatement | ir.ErrorStatement | ir.ExpressionStatement | ir.ForStatement | ir.IfStatement | ir.NestedMethodDeclarationStatement | 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.TypeMethodAccessExpression | ir.TypeVariableAccessExpression | ir.IntegerLiteral | ir.IsExpression | ir.NumericLiteral | ir.MethodAccessExpression | ir.MethodLiteral | 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
  export type TypeMemberDeclaration = ir.TypeVariableDeclaration | ir.ComputedTypeVariableDeclaration | ir.TypeMethodDeclaration | ir.TypeConstructorDeclaration | ir.TypeDestructorDeclaration | ir.TypeIndexedGetterDeclaration | ir.TypeIndexedSetterDeclaration | ir.TypeDereferencedVariableGetterDeclaration | ir.TypeDereferencedVariableSetterDeclaration;
7
7
  export type PackageMemberDeclaration = ir.PackageMethodDeclaration | ir.PackageTypeDeclaration | ir.PackageVariableDeclaration | ir.PackageVariableGetterDeclaration | ir.PackageVariableSetterDeclaration | ir.PackageVariantTypeDeclaration;
@@ -96,62 +96,61 @@ export declare enum NodeKind {
96
96
  BreakLoopStatement = 94,
97
97
  ContinueLoopStatement = 95,
98
98
  DisposeStatement = 96,
99
- RunStatementClauseList = 97,
100
- RunStatement = 98,
101
- TryStatement = 99,
102
- CatchClause = 100,
103
- ErrorVariableDeclaration = 101,
104
- FinallyClause = 102,
105
- EmptyStatement = 103,
106
- ErrorStatement = 104,
107
- ExpressionStatement = 105,
108
- EnumerationVariableList = 106,
109
- ForStatement = 107,
110
- IfStatement = 108,
111
- ElseIfClauseList = 109,
112
- ElseIfClause = 110,
113
- InvalidStatement = 111,
114
- NestedMethodDeclarationStatement = 112,
115
- LocalVariableDeclarationStatement = 113,
116
- LoopStatement = 114,
117
- ReturnStatement = 115,
118
- CaseClauseList = 116,
119
- SwitchStatement = 117,
120
- MatchExpressionList = 118,
121
- SwitchStatementCaseClause = 119,
122
- WhileStatement = 120,
123
- YieldStatement = 121,
124
- TranslationParameterList = 122,
125
- TranslationParameterClause = 123,
126
- ConstructorTranslation = 124,
127
- IndexerTranslationParameterClause = 125,
128
- IndexerTranslation = 126,
129
- TranslationTypeParameterList = 127,
130
- TranslationTypeParameterClause = 128,
131
- PackageMethodTranslation = 129,
132
- TypeMethodTranslation = 130,
133
- MethodTypeTranslation = 131,
134
- PackageImportTranslation = 132,
135
- QualifiedName = 133,
136
- PackageVariableTranslation = 134,
137
- TypeVariableOrVariantTranslation = 135,
138
- TypeMemberTranslationList = 136,
139
- TypeTranslation = 137,
140
- TextLiteralTranslation = 138,
141
- TextTemplateLiteralTranslation = 139,
142
- VariantDeclaration = 140,
143
- TypeParameterDeclaration = 141,
144
- ParameterDeclaration = 142,
145
- Argument = 143,
146
- TagList = 144,
147
- Tag = 145,
148
- ModifierList = 146,
149
- Modifier = 147,
150
- ParameterClause = 148,
151
- ParameterList = 149,
152
- TypeArgumentClause = 150,
153
- TypeArgumentList = 151,
154
- TypeParameterClause = 152,
155
- TypeParameterList = 153,
156
- TypeAnnotation = 154
99
+ RunStatement = 97,
100
+ TryStatement = 98,
101
+ CatchClause = 99,
102
+ ErrorVariableDeclaration = 100,
103
+ FinallyClause = 101,
104
+ EmptyStatement = 102,
105
+ ErrorStatement = 103,
106
+ ExpressionStatement = 104,
107
+ EnumerationVariableList = 105,
108
+ ForStatement = 106,
109
+ IfStatement = 107,
110
+ ElseIfClauseList = 108,
111
+ ElseIfClause = 109,
112
+ InvalidStatement = 110,
113
+ NestedMethodDeclarationStatement = 111,
114
+ LocalVariableDeclarationStatement = 112,
115
+ LoopStatement = 113,
116
+ ReturnStatement = 114,
117
+ CaseClauseList = 115,
118
+ SwitchStatement = 116,
119
+ MatchExpressionList = 117,
120
+ SwitchStatementCaseClause = 118,
121
+ WhileStatement = 119,
122
+ YieldStatement = 120,
123
+ TranslationParameterList = 121,
124
+ TranslationParameterClause = 122,
125
+ ConstructorTranslation = 123,
126
+ IndexerTranslationParameterClause = 124,
127
+ IndexerTranslation = 125,
128
+ TranslationTypeParameterList = 126,
129
+ TranslationTypeParameterClause = 127,
130
+ PackageMethodTranslation = 128,
131
+ TypeMethodTranslation = 129,
132
+ MethodTypeTranslation = 130,
133
+ PackageImportTranslation = 131,
134
+ QualifiedName = 132,
135
+ PackageVariableTranslation = 133,
136
+ TypeVariableOrVariantTranslation = 134,
137
+ TypeMemberTranslationList = 135,
138
+ TypeTranslation = 136,
139
+ TextLiteralTranslation = 137,
140
+ TextTemplateLiteralTranslation = 138,
141
+ VariantDeclaration = 139,
142
+ TypeParameterDeclaration = 140,
143
+ ParameterDeclaration = 141,
144
+ Argument = 142,
145
+ TagList = 143,
146
+ Tag = 144,
147
+ ModifierList = 145,
148
+ Modifier = 146,
149
+ ParameterClause = 147,
150
+ ParameterList = 148,
151
+ TypeArgumentClause = 149,
152
+ TypeArgumentList = 150,
153
+ TypeParameterClause = 151,
154
+ TypeParameterList = 152,
155
+ TypeAnnotation = 153
157
156
  }
@@ -1370,27 +1370,17 @@ export declare class DisposeStatement extends BaseNode {
1370
1370
  constructor(disposeKeyword: Keyword<KeywordKind.Dispose>, expression: Expression);
1371
1371
  toRed(rangeStart: number, parent: red.StatementParent): red.DisposeStatement;
1372
1372
  }
1373
- export declare class RunStatementClauseList extends BaseNode {
1374
- readonly kind = NodeKind.RunStatementClauseList;
1375
- readonly children: readonly RunStatementClause[];
1376
- get clauses(): readonly RunStatementClause[];
1377
- protected get thisAsNode(): Node;
1378
- constructor(clauses: readonly RunStatementClause[]);
1379
- toRed(rangeStart: number, parent: red.RunStatementClauseListParent): red.RunStatementClauseList;
1380
- }
1381
1373
  export declare class RunStatement extends BaseNode {
1382
1374
  readonly kind = NodeKind.RunStatement;
1383
1375
  readonly children: readonly [
1384
1376
  Keyword<KeywordKind.Run>,
1385
- StatementBlock,
1386
- RunStatementClauseList
1377
+ StatementBlock
1387
1378
  ];
1388
1379
  get runKeyword(): Keyword<KeywordKind.Run>;
1389
1380
  get body(): StatementBlock;
1390
- get clauseList(): RunStatementClauseList;
1391
1381
  protected get thisAsNode(): Node;
1392
- constructor(runKeyword: Keyword<KeywordKind.Run>, body: StatementBlock, clauseList: RunStatementClauseList);
1393
- toRed(rangeStart: number, parent: red.RunStatementParent): red.RunStatement;
1382
+ constructor(runKeyword: Keyword<KeywordKind.Run>, body: StatementBlock);
1383
+ toRed(rangeStart: number, parent: red.StatementParent): red.RunStatement;
1394
1384
  }
1395
1385
  export declare class TryStatement extends BaseNode {
1396
1386
  readonly kind = NodeKind.TryStatement;
@@ -1398,19 +1388,16 @@ export declare class TryStatement extends BaseNode {
1398
1388
  Keyword<KeywordKind.Try>,
1399
1389
  StatementBlock,
1400
1390
  CatchClause | undefined,
1401
- Keyword<KeywordKind.Finally> | undefined,
1402
- StatementBlock | undefined
1391
+ FinallyClause | undefined
1403
1392
  ];
1404
1393
  get tryKeyword(): Keyword<KeywordKind.Try>;
1405
1394
  get body(): StatementBlock;
1406
1395
  get catchClause(): CatchClause | undefined;
1407
- get finallyKeyword(): Keyword<KeywordKind.Finally> | undefined;
1408
- get finallyBlock(): StatementBlock | undefined;
1396
+ get finallyClause(): FinallyClause | undefined;
1409
1397
  protected get thisAsNode(): Node;
1410
- constructor(tryKeyword: Keyword<KeywordKind.Try>, body: StatementBlock, catchClause: CatchClause | undefined, finallyKeyword: Keyword<KeywordKind.Finally> | undefined, finallyBlock: StatementBlock | undefined);
1398
+ constructor(tryKeyword: Keyword<KeywordKind.Try>, body: StatementBlock, catchClause: CatchClause | undefined, finallyClause: FinallyClause | undefined);
1411
1399
  toRed(rangeStart: number, parent: red.TryStatementParent): red.TryStatement;
1412
1400
  }
1413
- export type RunStatementClause = CatchClause | FinallyClause;
1414
1401
  export declare class CatchClause extends BaseNode {
1415
1402
  readonly kind = NodeKind.CatchClause;
1416
1403
  readonly children: readonly [
@@ -2160,4 +2147,4 @@ export declare class TypeAnnotation extends BaseNode {
2160
2147
  constructor(colonToken: Token<TokenKind.Colon>, typeSpecifier: TypeSpecifier);
2161
2148
  toRed(rangeStart: number, parent: red.TypeAnnotationParent): red.TypeAnnotation;
2162
2149
  }
2163
- export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatementClauseList | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | InvalidStatement | NestedMethodDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | SwitchStatementCaseClause | WhileStatement | YieldStatement | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexerTranslationParameterClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageMethodTranslation | TypeMethodTranslation | MethodTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | TypeVariableOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
2150
+ export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | InvalidStatement | NestedMethodDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | SwitchStatementCaseClause | WhileStatement | YieldStatement | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexerTranslationParameterClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageMethodTranslation | TypeMethodTranslation | MethodTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | TypeVariableOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;