@artel/artc 0.6.25217 → 0.6.25218

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 (103) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +10 -62
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +1044 -1001
  5. package/build/{chunk-HN3XZZQX.js → chunk-FI6LW2RD.js} +5 -4
  6. package/build/{chunk-TXAEJ2GI.js → chunk-SK7ZBC3X.js} +15375 -15317
  7. package/build/{chunk-CMPXXHBQ.js → chunk-TQDMVKTN.js} +13 -5
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +4 -26
  9. package/build/types/analysis/Analyzer.d.ts +27 -69
  10. package/build/types/analysis/{CallArgumentToParameterMatchResult.d.ts → ArgumentToParameterMatchResult.d.ts} +4 -4
  11. package/build/types/analysis/{CallArgumentsToParametersMatcher.d.ts → ArgumentsToParametersMatcher.d.ts} +14 -14
  12. package/build/types/analysis/ConstructorOverloadResolver.d.ts +1 -1
  13. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +3 -3
  14. package/build/types/analysis/DiagnosticCollector.d.ts +2 -0
  15. package/build/types/analysis/FindModifier.d.ts +2 -0
  16. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +14 -12
  17. package/build/types/analysis/LocalizationContext.d.ts +4 -5
  18. package/build/types/analysis/Lookup.d.ts +8 -7
  19. package/build/types/analysis/ModifierFlags.d.ts +16 -0
  20. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
  21. package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
  22. package/build/types/analysis/OperationOverloadResolver.d.ts +2 -2
  23. package/build/types/analysis/OverloadResolver.d.ts +4 -4
  24. package/build/types/analysis/PackageMemberLookup.d.ts +5 -6
  25. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +18 -16
  26. package/build/types/analysis/Scope.d.ts +21 -116
  27. package/build/types/analysis/SemanticContext.d.ts +16 -6
  28. package/build/types/analysis/SemanticContextBuilder.d.ts +1 -1
  29. package/build/types/analysis/SourceFileMembers.d.ts +12 -99
  30. package/build/types/analysis/TagMeaning.d.ts +57 -9
  31. package/build/types/analysis/Tags.d.ts +2 -2
  32. package/build/types/analysis/TypeMemberLookup.d.ts +15 -15
  33. package/build/types/analysis/TypeOverloadResolver.d.ts +1 -1
  34. package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
  35. package/build/types/analysis/index.d.ts +1 -1
  36. package/build/types/api/Api.d.ts +2 -6
  37. package/build/types/diagnostic/DiagnosticCode.d.ts +20 -16
  38. package/build/types/emitter/{EmitterGeneratedDeclarationKind.d.ts → EmitPhaseName.d.ts} +1 -44
  39. package/build/types/emitter/EmitterContext.d.ts +4 -1
  40. package/build/types/emitter/Entities.d.ts +52 -16
  41. package/build/types/emitter/EntityMap.d.ts +1 -3
  42. package/build/types/emitter/IrBuilder.d.ts +6 -2
  43. package/build/types/emitter/IrToJs.d.ts +5 -4
  44. package/build/types/emitter/Transformer.d.ts +18 -10
  45. package/build/types/emitter/ir/EmitOptions.d.ts +163 -0
  46. package/build/types/emitter/ir/Nodes.d.ts +206 -167
  47. package/build/types/emitter/ir/index.d.ts +1 -2
  48. package/build/types/emitter/ir/types.d.ts +3 -3
  49. package/build/types/entities/AliasTypeEntity.d.ts +8 -4
  50. package/build/types/entities/ConstructorEntity.d.ts +2 -0
  51. package/build/types/entities/DereferenceOperatorEntity.d.ts +5 -3
  52. package/build/types/entities/DestructorEntity.d.ts +2 -0
  53. package/build/types/entities/GetterEntity.d.ts +8 -0
  54. package/build/types/entities/IndexerEntity.d.ts +5 -3
  55. package/build/types/entities/MethodEntity.d.ts +9 -5
  56. package/build/types/entities/MethodTypeEntity.d.ts +10 -5
  57. package/build/types/entities/OperatorEntity.d.ts +5 -3
  58. package/build/types/entities/PackageEntity.d.ts +3 -3
  59. package/build/types/entities/PackageMembers.d.ts +4 -90
  60. package/build/types/entities/SetterEntity.d.ts +8 -0
  61. package/build/types/entities/StructuredTypeEntity.d.ts +11 -6
  62. package/build/types/entities/TypeEntity.d.ts +15 -0
  63. package/build/types/entities/TypeExtensionEntity.d.ts +2 -0
  64. package/build/types/entities/TypeParameterEntity.d.ts +11 -6
  65. package/build/types/entities/VariableEntity.d.ts +50 -41
  66. package/build/types/entities/VariantTypeEntity.d.ts +10 -11
  67. package/build/types/entities/index.d.ts +17 -25
  68. package/build/types/executor/Compiler.d.ts +1 -0
  69. package/build/types/executor/NodeCompiler.d.ts +1 -0
  70. package/build/types/parser/CharacterCodes.d.ts +8 -0
  71. package/build/types/parser/ReservedIdentifierDictionary.d.ts +1 -2
  72. package/build/types/project/FileSystemTree.d.ts +2 -2
  73. package/build/types/services/CompletionService.d.ts +4 -1
  74. package/build/types/services/DisplayService.d.ts +18 -2
  75. package/build/types/services/NodeSemanticInfo.d.ts +7 -5
  76. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +7 -21
  77. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -0
  78. package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
  79. package/build/types/services/source-generation/SourceGenerationService.d.ts +2 -2
  80. package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +5 -5
  81. package/build/types/services/workspace/CompilationController.d.ts +3 -3
  82. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +4 -4
  83. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
  84. package/build/types/services/workspace/Workspace.d.ts +3 -3
  85. package/build/types/services/workspace/WorkspaceFiles.d.ts +7 -7
  86. package/build/types/tree/KeywordKind.d.ts +37 -37
  87. package/build/types/tree/NodeKind.d.ts +57 -58
  88. package/build/types/tree/green/Nodes.d.ts +57 -71
  89. package/build/types/tree/green/SyntaxFactory.d.ts +4 -5
  90. package/build/types/tree/green/SyntaxToCode.d.ts +1 -2
  91. package/build/types/tree/red/Nodes.d.ts +65 -79
  92. package/build/types/ts-interop/Entities.d.ts +51 -28
  93. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +0 -1
  94. package/build/types/types/TypeMembers.d.ts +9 -0
  95. package/package.json +2 -2
  96. package/build/types/analysis/DereferencedVariableAccess.d.ts +0 -14
  97. package/build/types/analysis/IndexedAccess.d.ts +0 -14
  98. package/build/types/analysis/VariableAccess.d.ts +0 -14
  99. package/build/types/analysis/VariantLookup.d.ts +0 -20
  100. package/build/types/emitter/ir/LoweringOptions.d.ts +0 -36
  101. package/build/types/emitter/ir/LoweringState.d.ts +0 -49
  102. package/build/types/entities/VariantEntity.d.ts +0 -31
  103. package/build/types/entities/Variants.d.ts +0 -10
@@ -1,9 +1,8 @@
1
- import { AccessKind, Name } from '../../common/index.js';
2
- import { MethodEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
1
+ import { AccessKind } from '../../common/index.js';
2
+ import { MethodEntity, NamedEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
3
3
  import { AccessedMethod, AccessedVariable } from './AccessedEntities.js';
4
4
  import { ComputedAccess } from './ComputedAccess.js';
5
- import { AssignmentLoweringOptions, DeclarationWithInitializerLoweringOptions, MethodAccessLoweringOptions, TextTemplateLiteralLoweringOptions } from './LoweringOptions.js';
6
- import { CallExpressionLoweringState, ConstructorCallExpressionLoweringState, PackageVariableDeclarationLoweringState, TypeMethodDeclarationLoweringState } from './LoweringState.js';
5
+ import { AssignmentEmitOptions, CallExpressionEmitOptions, ConstructorCallExpressionEmitOptions, DeclarationWithInitializerEmitOptions, MethodAccessExpressionEmitOptions, PackageVariableDeclarationEmitOptions, TextTemplateLiteralEmitOptions, TypeMethodDeclarationEmitOptions, TypeVariableAccessExpressionEmitOptions, TypeVariableDeclarationEmitOptions } from './EmitOptions.js';
7
6
  import { SourceLocation } from './SourceLocation.js';
8
7
  import { Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
9
8
  export declare class ArrayLiteral {
@@ -35,9 +34,9 @@ export declare class AssignmentExpression {
35
34
  right: Expression;
36
35
  operator: AccessedMethod | undefined;
37
36
  sourceLocation: SourceLocation | undefined;
38
- loweringOptions: AssignmentLoweringOptions;
37
+ options: AssignmentEmitOptions;
39
38
  readonly kind = NodeKind.AssignmentExpression;
40
- constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined, loweringOptions?: AssignmentLoweringOptions);
39
+ constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined, options?: AssignmentEmitOptions);
41
40
  clone(): AssignmentExpression;
42
41
  }
43
42
  export declare class AssignmentStatement {
@@ -46,9 +45,9 @@ export declare class AssignmentStatement {
46
45
  right: Expression;
47
46
  operator: AccessedMethod | undefined;
48
47
  sourceLocation: SourceLocation | undefined;
49
- loweringOptions: AssignmentLoweringOptions;
48
+ options: AssignmentEmitOptions;
50
49
  readonly kind = NodeKind.AssignmentStatement;
51
- constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined, loweringOptions?: AssignmentLoweringOptions);
50
+ constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined, options?: AssignmentEmitOptions);
52
51
  clone(): AssignmentStatement;
53
52
  }
54
53
  export declare class AssumptionExpression {
@@ -61,10 +60,10 @@ export declare class AssumptionExpression {
61
60
  export declare class BaseConstructorCallExpression {
62
61
  entity: MethodEntity;
63
62
  containingTypeOfConstructor: TypeOrExtensionEntity;
64
- callArguments: CallArguments;
63
+ args: Arguments;
65
64
  sourceLocation: SourceLocation | undefined;
66
65
  readonly kind = NodeKind.BaseConstructorCallExpression;
67
- constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, callArguments: CallArguments, sourceLocation: SourceLocation | undefined);
66
+ constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation: SourceLocation | undefined);
68
67
  clone(): BaseConstructorCallExpression;
69
68
  }
70
69
  export declare class BaseExpression {
@@ -105,43 +104,48 @@ export declare class BreakLoopStatement {
105
104
  constructor(label: string, sourceLocation: SourceLocation | undefined);
106
105
  clone(): BreakLoopStatement;
107
106
  }
108
- export declare class CallArgument {
107
+ export declare class Argument {
109
108
  expression: Expression;
110
- readonly targetParameter: TargetParameter;
111
- readonly kind = NodeKind.CallArgument;
112
- constructor(expression: Expression, targetParameter: TargetParameter);
113
- clone(): CallArgument;
109
+ targetParameter: TargetParameter;
110
+ sourceLocation: SourceLocation | undefined;
111
+ readonly kind = NodeKind.Argument;
112
+ constructor(expression: Expression, targetParameter: TargetParameter, sourceLocation: SourceLocation | undefined);
113
+ clone(): Argument;
114
114
  }
115
115
  export declare class TargetParameter {
116
116
  readonly entity: VariableEntity;
117
117
  readonly type: Type;
118
118
  constructor(entity: VariableEntity, type: Type);
119
119
  }
120
- export type CallArguments = UnorderedCallArguments | OrderedCallArguments;
121
- export declare class UnorderedCallArguments {
122
- readonly values: readonly CallArgument[];
123
- readonly targetParameters: readonly VariableEntity[];
124
- readonly kind = "unordered";
125
- constructor(values: readonly CallArgument[], targetParameters: readonly VariableEntity[]);
126
- clone(): UnorderedCallArguments;
120
+ export type Arguments = UnorderedArguments | OrderedArguments;
121
+ export declare class UnorderedArguments {
122
+ values: readonly Argument[];
123
+ targetParameters: readonly VariableEntity[];
124
+ sourceLocation: SourceLocation | undefined;
125
+ readonly kind = NodeKind.Arguments;
126
+ readonly areOrdered = false;
127
+ constructor(values: readonly Argument[], targetParameters: readonly VariableEntity[], sourceLocation: SourceLocation | undefined);
128
+ clone(): UnorderedArguments;
127
129
  }
128
- export declare class OrderedCallArguments {
130
+ export declare class OrderedArguments {
129
131
  values: readonly Expression[];
130
132
  isLastArgumentSpreading: boolean;
131
- readonly kind = "ordered";
132
- constructor(values: readonly Expression[], isLastArgumentSpreading: boolean);
133
- clone(): OrderedCallArguments;
133
+ sourceLocation: SourceLocation | undefined;
134
+ readonly kind = NodeKind.Arguments;
135
+ readonly areOrdered = true;
136
+ constructor(values: readonly Expression[], isLastArgumentSpreading: boolean, sourceLocation?: SourceLocation | undefined);
137
+ clone(): OrderedArguments;
134
138
  }
135
139
  export declare class CallExpression {
136
140
  expression: Expression;
137
- isOptionalChaining: boolean;
138
- callArguments: CallArguments;
141
+ isOptionalAccess: boolean;
142
+ args: Arguments;
139
143
  isAsyncMethodCall: boolean;
140
144
  returnType: Type;
141
145
  sourceLocation: SourceLocation | undefined;
142
- loweringState: CallExpressionLoweringState;
146
+ options: CallExpressionEmitOptions;
143
147
  readonly kind = NodeKind.CallExpression;
144
- constructor(expression: Expression, isOptionalChaining: boolean, callArguments: CallArguments, isAsyncMethodCall: boolean, returnType: Type, sourceLocation: SourceLocation | undefined, loweringState?: CallExpressionLoweringState);
148
+ constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, isAsyncMethodCall: boolean, returnType: Type, sourceLocation: SourceLocation | undefined, options?: CallExpressionEmitOptions);
145
149
  clone(): CallExpression;
146
150
  }
147
151
  export declare class CharLiteral {
@@ -162,12 +166,12 @@ export declare class ConstructorCallExpression {
162
166
  entity: MethodEntity;
163
167
  containingTypeOfConstructor: TypeOrExtensionEntity;
164
168
  typeAccess: TypeAccessExpression;
165
- callArguments: CallArguments;
169
+ args: Arguments;
166
170
  returnType: Type;
167
171
  sourceLocation: SourceLocation | undefined;
168
- loweringState: ConstructorCallExpressionLoweringState;
172
+ options: ConstructorCallExpressionEmitOptions;
169
173
  readonly kind = NodeKind.ConstructorCallExpression;
170
- constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression, callArguments: CallArguments, returnType: Type, sourceLocation: SourceLocation | undefined, loweringState?: ConstructorCallExpressionLoweringState);
174
+ constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression, args: Arguments, returnType: Type, sourceLocation: SourceLocation | undefined, options?: ConstructorCallExpressionEmitOptions);
171
175
  clone(): ConstructorCallExpression;
172
176
  }
173
177
  export declare class ContinueLoopStatement {
@@ -179,11 +183,11 @@ export declare class ContinueLoopStatement {
179
183
  }
180
184
  export declare class DereferenceExpression {
181
185
  expression: Expression;
182
- isOptionalChaining: boolean;
186
+ isOptionalAccess: boolean;
183
187
  access: ComputedAccess;
184
188
  sourceLocation: SourceLocation | undefined;
185
189
  readonly kind = NodeKind.DereferenceExpression;
186
- constructor(expression: Expression, isOptionalChaining: boolean, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
190
+ constructor(expression: Expression, isOptionalAccess: boolean, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
187
191
  clone(): DereferenceExpression;
188
192
  }
189
193
  export declare class DisposeStatement {
@@ -243,12 +247,12 @@ export declare class IfStatement {
243
247
  }
244
248
  export declare class IndexedAccessExpression {
245
249
  expression: Expression;
246
- isOptionalChaining: boolean;
247
- args: CallArguments;
250
+ isOptionalAccess: boolean;
251
+ args: Arguments;
248
252
  access: ComputedAccess;
249
253
  sourceLocation: SourceLocation | undefined;
250
254
  readonly kind = NodeKind.IndexedAccessExpression;
251
- constructor(expression: Expression, isOptionalChaining: boolean, args: CallArguments, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
255
+ constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
252
256
  clone(): IndexedAccessExpression;
253
257
  }
254
258
  export declare class InlineJsExpression {
@@ -319,12 +323,12 @@ export declare class JsImportSpecifier {
319
323
  }
320
324
  export declare class JsIndexedAccessExpression {
321
325
  expression: Expression;
322
- isOptionalChaining: boolean;
326
+ isOptionalAccess: boolean;
323
327
  argument: Expression;
324
328
  type: Type;
325
329
  sourceLocation: SourceLocation | undefined;
326
330
  readonly kind = NodeKind.JsIndexedAccessExpression;
327
- constructor(expression: Expression, isOptionalChaining: boolean, argument: Expression, type: Type, sourceLocation: SourceLocation | undefined);
331
+ constructor(expression: Expression, isOptionalAccess: boolean, argument: Expression, type: Type, sourceLocation: SourceLocation | undefined);
328
332
  clone(): JsIndexedAccessExpression;
329
333
  }
330
334
  export declare class JsInstanceOfExpression {
@@ -351,22 +355,34 @@ export declare class JsObjectLiteral {
351
355
  constructor(properties: readonly JsObjectLiteralProperty[], sourceLocation: SourceLocation | undefined);
352
356
  clone(): JsObjectLiteral;
353
357
  }
354
- export declare class JsObjectLiteralProperty {
358
+ export type JsObjectLiteralProperty = NamedJsObjectLiteralProperty | SpreadJsObjectLiteralProperty;
359
+ export declare class NamedJsObjectLiteralProperty {
355
360
  name: string;
356
361
  value: Expression;
357
362
  sourceLocation: SourceLocation | undefined;
358
- readonly kind = NodeKind.JsObjectLiteralProperty;
363
+ readonly kind = NodeKind.NamedJsObjectLiteralProperty;
359
364
  constructor(name: string, value: Expression, sourceLocation: SourceLocation | undefined);
360
- clone(): JsObjectLiteralProperty;
365
+ clone(): NamedJsObjectLiteralProperty;
366
+ }
367
+ /**
368
+ * @example
369
+ * { ...expression }
370
+ */
371
+ export declare class SpreadJsObjectLiteralProperty {
372
+ expression: Expression;
373
+ sourceLocation: SourceLocation | undefined;
374
+ readonly kind = NodeKind.SpreadJsObjectLiteralProperty;
375
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
376
+ clone(): SpreadJsObjectLiteralProperty;
361
377
  }
362
378
  export declare class JsPropertyAccessExpression {
363
379
  expression: Expression;
364
- isOptionalChaining: boolean;
380
+ isOptionalAccess: boolean;
365
381
  name: string;
366
382
  type: Type;
367
383
  sourceLocation: SourceLocation | undefined;
368
384
  readonly kind = NodeKind.JsPropertyAccessExpression;
369
- constructor(expression: Expression, isOptionalChaining: boolean, name: string, type: Type, sourceLocation: SourceLocation | undefined);
385
+ constructor(expression: Expression, isOptionalAccess: boolean, name: string, type: Type, sourceLocation: SourceLocation | undefined);
370
386
  clone(): JsPropertyAccessExpression;
371
387
  }
372
388
  export declare class JsTypeOfExpression {
@@ -380,9 +396,9 @@ export declare class LocalVariableDeclaration {
380
396
  entity: VariableEntity;
381
397
  initializer: Expression | undefined;
382
398
  sourceLocation: SourceLocation | undefined;
383
- loweringOptions: DeclarationWithInitializerLoweringOptions;
399
+ options: DeclarationWithInitializerEmitOptions;
384
400
  readonly kind = NodeKind.LocalVariableDeclaration;
385
- constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation: SourceLocation | undefined, loweringOptions?: DeclarationWithInitializerLoweringOptions);
401
+ constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: DeclarationWithInitializerEmitOptions);
386
402
  clone(): LocalVariableDeclaration;
387
403
  }
388
404
  export declare class LocalVariableDeclarationStatement {
@@ -411,9 +427,9 @@ export declare class MethodAccessExpression {
411
427
  method: AccessedMethod;
412
428
  isCallee: boolean;
413
429
  sourceLocation: SourceLocation | undefined;
414
- loweringOptions: MethodAccessLoweringOptions;
430
+ options: MethodAccessExpressionEmitOptions;
415
431
  readonly kind = NodeKind.MethodAccessExpression;
416
- constructor(method: AccessedMethod, isCallee: boolean, sourceLocation: SourceLocation | undefined, loweringOptions?: MethodAccessLoweringOptions);
432
+ constructor(method: AccessedMethod, isCallee: boolean, sourceLocation: SourceLocation | undefined, options?: MethodAccessExpressionEmitOptions);
417
433
  clone(): MethodAccessExpression;
418
434
  }
419
435
  export declare class MethodLiteral {
@@ -477,21 +493,21 @@ export declare class NumericLiteral {
477
493
  constructor(value: number, sourceLocation: SourceLocation | undefined);
478
494
  clone(): NumericLiteral;
479
495
  }
480
- export declare class OnErrorClause {
496
+ export declare class CatchClause {
481
497
  errorVariableEntity: VariableEntity | undefined;
482
498
  body: BlockStatement;
483
499
  sourceLocation: SourceLocation | undefined;
484
- readonly kind = NodeKind.OnErrorClause;
500
+ readonly kind = NodeKind.CatchClause;
485
501
  constructor(errorVariableEntity: VariableEntity | undefined, body: BlockStatement, sourceLocation: SourceLocation | undefined);
486
- clone(): OnErrorClause;
502
+ clone(): CatchClause;
487
503
  }
488
504
  export declare class OwnConstructorCallExpression {
489
505
  entity: MethodEntity;
490
506
  containingTypeOfConstructor: TypeOrExtensionEntity;
491
- callArguments: CallArguments;
507
+ args: Arguments;
492
508
  sourceLocation: SourceLocation | undefined;
493
509
  readonly kind = NodeKind.OwnConstructorCallExpression;
494
- constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, callArguments: CallArguments, sourceLocation: SourceLocation | undefined);
510
+ constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation: SourceLocation | undefined);
495
511
  clone(): OwnConstructorCallExpression;
496
512
  }
497
513
  export declare class PackageMethodDeclaration {
@@ -499,20 +515,20 @@ export declare class PackageMethodDeclaration {
499
515
  valueParameters: readonly ValueParameterDeclaration[];
500
516
  body: BlockStatement;
501
517
  entity: MethodEntity;
502
- paramLocalVariableEntity: VariableEntity | undefined;
503
518
  isGenerator: boolean;
504
519
  sourceLocation: SourceLocation | undefined;
505
520
  readonly kind = NodeKind.PackageMethodDeclaration;
506
- constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, paramLocalVariableEntity: VariableEntity | undefined, isGenerator: boolean, sourceLocation: SourceLocation | undefined);
521
+ constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean, sourceLocation: SourceLocation | undefined);
507
522
  clone(): PackageMethodDeclaration;
508
523
  }
509
524
  export declare class PackageTypeDeclaration {
525
+ decorators: readonly Decorator[];
510
526
  modifiers: Modifiers;
511
527
  members: readonly TypeMemberDeclaration[];
512
528
  entity: TypeOrExtensionEntity;
513
529
  sourceLocation: SourceLocation | undefined;
514
530
  readonly kind = NodeKind.PackageTypeDeclaration;
515
- constructor(modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
531
+ constructor(decorators: readonly Decorator[], modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
516
532
  clone(): PackageTypeDeclaration;
517
533
  }
518
534
  export declare class PackageVariableDeclaration {
@@ -520,9 +536,9 @@ export declare class PackageVariableDeclaration {
520
536
  initializer: Expression | undefined;
521
537
  entity: VariableEntity;
522
538
  sourceLocation: SourceLocation | undefined;
523
- loweringState: PackageVariableDeclarationLoweringState;
539
+ options: PackageVariableDeclarationEmitOptions;
524
540
  readonly kind = NodeKind.PackageVariableDeclaration;
525
- constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined, loweringState?: PackageVariableDeclarationLoweringState);
541
+ constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined, options?: PackageVariableDeclarationEmitOptions);
526
542
  clone(): PackageVariableDeclaration;
527
543
  }
528
544
  export declare class PackageVariableGetterDeclaration {
@@ -538,11 +554,10 @@ export declare class PackageVariableSetterDeclaration {
538
554
  entity: MethodEntity;
539
555
  variableEntity: VariableEntity;
540
556
  body: BlockStatement;
541
- paramLocalVariableEntity: VariableEntity | undefined;
542
557
  valueLocalVariableEntity: VariableEntity;
543
558
  sourceLocation: SourceLocation | undefined;
544
559
  readonly kind = NodeKind.PackageVariableSetterDeclaration;
545
- constructor(entity: MethodEntity, variableEntity: VariableEntity, body: BlockStatement, paramLocalVariableEntity: VariableEntity | undefined, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
560
+ constructor(entity: MethodEntity, variableEntity: VariableEntity, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
546
561
  clone(): PackageVariableSetterDeclaration;
547
562
  }
548
563
  export declare class PackageVariantTypeDeclaration {
@@ -567,6 +582,13 @@ export declare class VariantDeclaration {
567
582
  constructor(value: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
568
583
  clone(): VariantDeclaration;
569
584
  }
585
+ export declare class Decorator {
586
+ expression: Expression;
587
+ sourceLocation: SourceLocation | undefined;
588
+ readonly kind = NodeKind.Decorator;
589
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
590
+ clone(): Decorator;
591
+ }
570
592
  export declare class PrefixUnaryExpression {
571
593
  operatorKind: PrefixUnaryExpressionOperatorKind;
572
594
  expression: Expression;
@@ -592,11 +614,11 @@ export declare class ReturnStatement {
592
614
  }
593
615
  export declare class RunStatement {
594
616
  body: BlockStatement;
595
- onErrorClauses: readonly OnErrorClause[];
617
+ catchClauses: readonly CatchClause[];
596
618
  finallyClause: FinallyClause | undefined;
597
619
  sourceLocation: SourceLocation | undefined;
598
620
  readonly kind = NodeKind.RunStatement;
599
- constructor(body: BlockStatement, onErrorClauses: readonly OnErrorClause[], finallyClause: FinallyClause | undefined, sourceLocation: SourceLocation | undefined);
621
+ constructor(body: BlockStatement, catchClauses: readonly CatchClause[], finallyClause: FinallyClause | undefined, sourceLocation: SourceLocation | undefined);
600
622
  clone(): RunStatement;
601
623
  }
602
624
  export declare class Package {
@@ -624,14 +646,6 @@ export declare class CaseClause {
624
646
  constructor(expressions: readonly Expression[], body: BlockStatement);
625
647
  clone(): CaseClause;
626
648
  }
627
- export declare class Tag {
628
- name: Name;
629
- callArguments: readonly CallArgument[];
630
- sourceLocation: SourceLocation | undefined;
631
- readonly kind = NodeKind.Tag;
632
- constructor(name: Name, callArguments: readonly CallArgument[], sourceLocation: SourceLocation | undefined);
633
- clone(): Tag;
634
- }
635
649
  export declare class TernaryExpression {
636
650
  condition: Expression;
637
651
  firstExpression: Expression;
@@ -649,12 +663,24 @@ export declare class TextLiteral {
649
663
  constructor(value: string, sourceLocation: SourceLocation | undefined);
650
664
  clone(): TextLiteral;
651
665
  }
666
+ /**
667
+ * Узел предназначен для генерации строки, состоящей из имени сущности.
668
+ * Поскольку имена сущностей могут меняться в процессе трансформаций, для этих целей нельзя использовать обычный
669
+ * литерал текста.
670
+ */
671
+ export declare class TextWithEntityName {
672
+ readonly entity: NamedEntity;
673
+ sourceLocation: SourceLocation | undefined;
674
+ readonly kind = NodeKind.TextWithEntityName;
675
+ constructor(entity: NamedEntity, sourceLocation: SourceLocation | undefined);
676
+ clone(): TextWithEntityName;
677
+ }
652
678
  export declare class TextTemplateLiteral {
653
679
  elements: readonly (string | Expression)[];
654
680
  sourceLocation: SourceLocation | undefined;
655
- loweringOptions: TextTemplateLiteralLoweringOptions;
681
+ options: TextTemplateLiteralEmitOptions;
656
682
  readonly kind = NodeKind.TextTemplateLiteral;
657
- constructor(elements: readonly (string | Expression)[], sourceLocation: SourceLocation | undefined, loweringOptions?: TextTemplateLiteralLoweringOptions);
683
+ constructor(elements: readonly (string | Expression)[], sourceLocation: SourceLocation | undefined, options?: TextTemplateLiteralEmitOptions);
658
684
  clone(): TextTemplateLiteral;
659
685
  }
660
686
  export declare class ThisExpression {
@@ -682,79 +708,83 @@ export declare class TypeAccessExpression {
682
708
  clone(): TypeAccessExpression;
683
709
  }
684
710
  export declare class TypeConstructorDeclaration {
711
+ decorators: readonly Decorator[];
685
712
  valueParameters: readonly ValueParameterDeclaration[];
686
713
  body: BlockStatement;
687
714
  entity: MethodEntity;
688
715
  sourceLocation: SourceLocation | undefined;
689
716
  readonly kind = NodeKind.TypeConstructorDeclaration;
690
- constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
717
+ constructor(decorators: readonly Decorator[], valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
691
718
  clone(): TypeConstructorDeclaration;
692
719
  }
693
720
  export declare class TypeDereferencedVariableGetterDeclaration {
694
721
  entity: MethodEntity;
722
+ decorators: readonly Decorator[];
695
723
  modifiers: Modifiers;
696
724
  body: BlockStatement;
697
725
  sourceLocation: SourceLocation | undefined;
698
726
  readonly kind = NodeKind.TypeDereferencedVariableGetterDeclaration;
699
- constructor(entity: MethodEntity, modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
727
+ constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
700
728
  clone(): TypeDereferencedVariableGetterDeclaration;
701
729
  }
702
730
  export declare class TypeDereferencedVariableSetterDeclaration {
703
731
  entity: MethodEntity;
732
+ decorators: readonly Decorator[];
704
733
  modifiers: Modifiers;
705
734
  body: BlockStatement;
706
- paramLocalVariableEntity: VariableEntity;
707
735
  valueLocalVariableEntity: VariableEntity;
708
736
  sourceLocation: SourceLocation | undefined;
709
737
  readonly kind = NodeKind.TypeDereferencedVariableSetterDeclaration;
710
- constructor(entity: MethodEntity, modifiers: Modifiers, body: BlockStatement, paramLocalVariableEntity: VariableEntity, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
738
+ constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
711
739
  clone(): TypeDereferencedVariableSetterDeclaration;
712
740
  }
713
741
  export declare class TypeDestructorDeclaration {
742
+ decorators: readonly Decorator[];
714
743
  valueParameters: readonly ValueParameterDeclaration[];
715
744
  body: BlockStatement;
716
745
  entity: MethodEntity;
717
746
  sourceLocation: SourceLocation | undefined;
718
747
  readonly kind = NodeKind.TypeDestructorDeclaration;
719
- constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
748
+ constructor(decorators: readonly Decorator[], valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
720
749
  clone(): TypeDestructorDeclaration;
721
750
  }
722
751
  export declare class TypeIndexedGetterDeclaration {
723
752
  entity: MethodEntity;
753
+ decorators: readonly Decorator[];
724
754
  modifiers: Modifiers;
725
755
  valueParameters: readonly ValueParameterDeclaration[];
726
756
  body: BlockStatement;
727
- paramLocalVariableEntity: VariableEntity;
728
757
  sourceLocation: SourceLocation | undefined;
729
758
  readonly kind = NodeKind.TypeIndexedGetterDeclaration;
730
- constructor(entity: MethodEntity, modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, paramLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
759
+ constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, sourceLocation: SourceLocation | undefined);
731
760
  clone(): TypeIndexedGetterDeclaration;
732
761
  }
733
762
  export declare class TypeIndexedSetterDeclaration {
734
763
  entity: MethodEntity;
764
+ decorators: readonly Decorator[];
735
765
  modifiers: Modifiers;
736
766
  valueParameters: readonly ValueParameterDeclaration[];
737
767
  body: BlockStatement;
738
- paramLocalVariableEntity: VariableEntity;
739
768
  valueLocalVariableEntity: VariableEntity;
740
769
  sourceLocation: SourceLocation | undefined;
741
770
  readonly kind = NodeKind.TypeIndexedSetterDeclaration;
742
- constructor(entity: MethodEntity, modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, paramLocalVariableEntity: VariableEntity, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
771
+ constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
743
772
  clone(): TypeIndexedSetterDeclaration;
744
773
  }
745
774
  export declare class TypeMethodAccessExpression {
746
775
  expression: Expression;
747
- isOptionalChaining: boolean;
776
+ isOptionalAccess: boolean;
748
777
  method: AccessedMethod;
749
778
  isCallee: boolean;
750
779
  ifComputedThenKey: Expression | undefined;
751
780
  sourceLocation: SourceLocation | undefined;
752
- loweringOptions: MethodAccessLoweringOptions;
781
+ options: MethodAccessExpressionEmitOptions;
753
782
  readonly kind = NodeKind.TypeMethodAccessExpression;
754
- constructor(expression: Expression, isOptionalChaining: boolean, method: AccessedMethod, isCallee: boolean, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, loweringOptions?: MethodAccessLoweringOptions);
783
+ constructor(expression: Expression, isOptionalAccess: boolean, method: AccessedMethod, isCallee: boolean, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: MethodAccessExpressionEmitOptions);
755
784
  clone(): TypeMethodAccessExpression;
756
785
  }
757
786
  export declare class TypeMethodDeclaration {
787
+ decorators: readonly Decorator[];
758
788
  modifiers: Modifiers;
759
789
  valueParameters: readonly ValueParameterDeclaration[];
760
790
  body: BlockStatement;
@@ -762,52 +792,66 @@ export declare class TypeMethodDeclaration {
762
792
  isGenerator: boolean;
763
793
  ifComputedThenKey: Expression | undefined;
764
794
  sourceLocation: SourceLocation | undefined;
765
- loweringState: TypeMethodDeclarationLoweringState;
795
+ options: TypeMethodDeclarationEmitOptions;
766
796
  readonly kind = NodeKind.TypeMethodDeclaration;
767
- constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, loweringState?: TypeMethodDeclarationLoweringState);
797
+ constructor(decorators: readonly Decorator[], modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeMethodDeclarationEmitOptions);
768
798
  clone(): TypeMethodDeclaration;
769
799
  }
770
800
  export declare class TypeVariableAccessExpression {
771
801
  expression: Expression;
772
- isOptionalChaining: boolean;
802
+ isOptionalAccess: boolean;
773
803
  variable: AccessedVariable;
774
804
  accessKind: AccessKind;
805
+ ifComputedThenKey: Expression | undefined;
775
806
  sourceLocation: SourceLocation | undefined;
807
+ options: TypeVariableAccessExpressionEmitOptions;
776
808
  readonly kind = NodeKind.TypeVariableAccessExpression;
777
- constructor(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable, accessKind: AccessKind, sourceLocation: SourceLocation | undefined);
778
- static get(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable | VariableEntity, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
779
- static set(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable | VariableEntity, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
809
+ constructor(expression: Expression, isOptionalAccess: boolean, variable: AccessedVariable, accessKind: AccessKind, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeVariableAccessExpressionEmitOptions);
810
+ static get(expression: Expression, isOptionalAccess: boolean, variable: AccessedVariable | VariableEntity, ifComputedThenKey?: Expression, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
811
+ static set(expression: Expression, isOptionalAccess: boolean, variable: AccessedVariable | VariableEntity, ifComputedThenKey?: Expression, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
780
812
  clone(): TypeVariableAccessExpression;
781
813
  }
782
814
  export declare class TypeVariableDeclaration {
815
+ decorators: readonly Decorator[];
783
816
  modifiers: Modifiers;
784
817
  initializer: Expression | undefined;
785
818
  entity: VariableEntity;
819
+ ifComputedThenKey: Expression | undefined;
786
820
  sourceLocation: SourceLocation | undefined;
821
+ options: TypeVariableDeclarationEmitOptions;
787
822
  readonly kind = NodeKind.TypeVariableDeclaration;
788
- constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
823
+ constructor(decorators: readonly Decorator[], modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeVariableDeclarationEmitOptions);
789
824
  clone(): TypeVariableDeclaration;
790
825
  }
826
+ export declare class ComputedTypeVariableDeclaration {
827
+ entity: VariableEntity;
828
+ modifiers: Modifiers;
829
+ getter: TypeVariableGetterDeclaration;
830
+ setter: TypeVariableSetterDeclaration | undefined;
831
+ ifComputedThenKey: Expression | undefined;
832
+ sourceLocation: SourceLocation | undefined;
833
+ options: TypeVariableDeclarationEmitOptions;
834
+ readonly kind = NodeKind.ComputedTypeVariableDeclaration;
835
+ constructor(entity: VariableEntity, modifiers: Modifiers, getter: TypeVariableGetterDeclaration, setter: TypeVariableSetterDeclaration | undefined, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeVariableDeclarationEmitOptions);
836
+ clone(): ComputedTypeVariableDeclaration;
837
+ }
791
838
  export declare class TypeVariableGetterDeclaration {
792
839
  entity: MethodEntity;
793
- variableEntity: VariableEntity;
794
- modifiers: Modifiers;
840
+ decorators: readonly Decorator[];
795
841
  body: BlockStatement;
796
842
  sourceLocation: SourceLocation | undefined;
797
843
  readonly kind = NodeKind.TypeVariableGetterDeclaration;
798
- constructor(entity: MethodEntity, variableEntity: VariableEntity, modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
844
+ constructor(entity: MethodEntity, decorators: readonly Decorator[], body: BlockStatement, sourceLocation: SourceLocation | undefined);
799
845
  clone(): TypeVariableGetterDeclaration;
800
846
  }
801
847
  export declare class TypeVariableSetterDeclaration {
802
848
  entity: MethodEntity;
803
- variableEntity: VariableEntity;
804
- modifiers: Modifiers;
849
+ decorators: readonly Decorator[];
805
850
  body: BlockStatement;
806
- paramLocalVariableEntity: VariableEntity | undefined;
807
851
  valueLocalVariableEntity: VariableEntity;
808
852
  sourceLocation: SourceLocation | undefined;
809
853
  readonly kind = NodeKind.TypeVariableSetterDeclaration;
810
- constructor(entity: MethodEntity, variableEntity: VariableEntity, modifiers: Modifiers, body: BlockStatement, paramLocalVariableEntity: VariableEntity | undefined, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
854
+ constructor(entity: MethodEntity, decorators: readonly Decorator[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
811
855
  clone(): TypeVariableSetterDeclaration;
812
856
  }
813
857
  export declare class ValueParameterDeclaration {
@@ -836,14 +880,6 @@ export declare class VariableAccessExpression {
836
880
  static set(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
837
881
  clone(): VariableAccessExpression;
838
882
  }
839
- export declare class VariantAccessExpression {
840
- typeAccess: TypeAccessExpression;
841
- entity: VariableEntity;
842
- sourceLocation: SourceLocation | undefined;
843
- readonly kind = NodeKind.VariantAccessExpression;
844
- constructor(typeAccess: TypeAccessExpression, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
845
- clone(): VariantAccessExpression;
846
- }
847
883
  export declare class WhileStatement {
848
884
  label: string | undefined;
849
885
  condition: Expression;
@@ -869,7 +905,7 @@ export declare const enum NodeKind {
869
905
  BlockStatement = 5,
870
906
  BooleanLiteral = 6,
871
907
  BreakLoopStatement = 7,
872
- CallArgument = 8,
908
+ Argument = 8,
873
909
  CallExpression = 9,
874
910
  CaseClause = 10,
875
911
  CharLiteral = 11,
@@ -896,65 +932,68 @@ export declare const enum NodeKind {
896
932
  NestedMethodDeclarationStatement = 32,
897
933
  LocalVariableDeclaration = 33,
898
934
  LocalVariableDeclarationStatement = 34,
899
- NotExpression = 35,
900
- NumericLiteral = 36,
901
- OnErrorClause = 37,
902
- MethodLiteral = 38,
903
- PrefixUnaryExpression = 39,
904
- MeasureLiteral = 40,
905
- ReferenceExpression = 41,
906
- LoopStatement = 42,
907
- ReturnStatement = 43,
908
- Package = 44,
909
- TextLiteral = 45,
910
- TextTemplateLiteral = 46,
911
- TypeConstructorDeclaration = 47,
912
- TypeDestructorDeclaration = 48,
913
- TypeIndexedGetterDeclaration = 49,
914
- TypeIndexedSetterDeclaration = 50,
915
- TypeMethodDeclaration = 51,
916
- TypeVariableDeclaration = 52,
917
- TypeVariableGetterDeclaration = 53,
918
- TypeVariableSetterDeclaration = 54,
919
- SwitchStatement = 55,
920
- Tag = 56,
921
- TernaryExpression = 57,
922
- ThisExpression = 58,
923
- ValueParameterDeclaration = 59,
924
- VariantDeclaration = 60,
925
- WhileStatement = 61,
926
- YieldStatement = 62,
927
- ArrayLiteral = 63,
928
- TypeAccessExpression = 64,
929
- VariableAccessExpression = 65,
930
- MethodAccessExpression = 66,
931
- ImplicitVariantAccessExpression = 67,
932
- VariantAccessExpression = 68,
933
- TypeVariableAccessExpression = 69,
934
- TypeMethodAccessExpression = 70,
935
- ConstructorCallExpression = 71,
936
- TryCatchFinallyStatement = 72,
937
- InlineJsExpression = 73,
938
- AssignmentExpression = 74,
939
- CommaExpression = 75,
940
- BaseConstructorCallExpression = 76,
941
- JsImportSpecifier = 77,
942
- JsIndexedAccessExpression = 78,
943
- EsModuleImportDirectiveStatement = 79,
944
- CjsModuleImportDirectiveStatement = 80,
945
- JsObjectLiteral = 81,
946
- JsObjectLiteralProperty = 82,
947
- JsPropertyAccessExpression = 83,
948
- JsFunctionLiteral = 84,
949
- JsTypeOfExpression = 85,
950
- JsInstanceOfExpression = 86,
951
- JsIdentifierExpression = 87,
952
- DereferenceExpression = 88,
953
- BaseExpression = 89,
954
- OwnConstructorCallExpression = 90,
955
- TypeDereferencedVariableGetterDeclaration = 91,
956
- TypeDereferencedVariableSetterDeclaration = 92,
957
- JsNamespaceDestructuringStatement = 93
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,
971
+ InlineJsExpression = 71,
972
+ AssignmentExpression = 72,
973
+ CommaExpression = 73,
974
+ BaseConstructorCallExpression = 74,
975
+ JsImportSpecifier = 75,
976
+ JsIndexedAccessExpression = 76,
977
+ EsModuleImportDirectiveStatement = 77,
978
+ CjsModuleImportDirectiveStatement = 78,
979
+ JsObjectLiteral = 79,
980
+ NamedJsObjectLiteralProperty = 80,
981
+ SpreadJsObjectLiteralProperty = 81,
982
+ JsPropertyAccessExpression = 82,
983
+ JsFunctionLiteral = 83,
984
+ JsTypeOfExpression = 84,
985
+ JsInstanceOfExpression = 85,
986
+ JsIdentifierExpression = 86,
987
+ DereferenceExpression = 87,
988
+ BaseExpression = 88,
989
+ OwnConstructorCallExpression = 89,
990
+ TypeDereferencedVariableGetterDeclaration = 90,
991
+ TypeDereferencedVariableSetterDeclaration = 91,
992
+ JsNamespaceDestructuringStatement = 92,
993
+ ComputedTypeVariableDeclaration = 93,
994
+ TextWithEntityName = 94,
995
+ Arguments = 95,
996
+ Decorator = 96
958
997
  }
959
998
  export declare const enum AssignmentOperatorKind {
960
999
  Equals = 0,