@artel/artc 0.6.25206 → 0.6.25208

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 (91) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +32 -18
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +9964 -9262
  5. package/build/{chunk-LAJRVDPO.js → chunk-FABHNF5H.js} +8 -6
  6. package/build/{chunk-EDDZCW2I.js → chunk-LZ4IJBSA.js} +3 -4
  7. package/build/{chunk-AY3Z4HOX.js → chunk-PNUVVKWZ.js} +38838 -46249
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +10 -7
  9. package/build/types/analysis/Analyzer.d.ts +27 -10
  10. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
  11. package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
  12. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -5
  13. package/build/types/analysis/IndexedAccess.d.ts +14 -0
  14. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +6 -3
  15. package/build/types/analysis/ObjectExpressionMeaning.d.ts +2 -2
  16. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +2 -4
  17. package/build/types/analysis/SemanticContext.d.ts +4 -4
  18. package/build/types/analysis/VariableAccess.d.ts +6 -2
  19. package/build/types/analysis/index.d.ts +4 -2
  20. package/build/types/api/Api.d.ts +2 -2
  21. package/build/types/common/AccessKind.d.ts +2 -1
  22. package/build/types/common/Constants.d.ts +1 -1
  23. package/build/types/common/JavaScriptIdentifier.d.ts +6 -0
  24. package/build/types/common/Logger.d.ts +1 -0
  25. package/build/types/common/Name.d.ts +18 -21
  26. package/build/types/common/Query.d.ts +4 -0
  27. package/build/types/common/TreeQuery.d.ts +0 -2
  28. package/build/types/common/index.d.ts +2 -1
  29. package/build/types/emitter/Emitter.d.ts +50 -16
  30. package/build/types/emitter/EmitterContext.d.ts +42 -337
  31. package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +55 -17
  32. package/build/types/emitter/Entities.d.ts +144 -0
  33. package/build/types/emitter/EntityMap.d.ts +45 -0
  34. package/build/types/emitter/ExpressionTransformationResult.d.ts +1 -1
  35. package/build/types/emitter/GeneralLowering.d.ts +4 -68
  36. package/build/types/emitter/Internal.d.ts +0 -1
  37. package/build/types/emitter/IrBuilder.d.ts +27 -17
  38. package/build/types/emitter/IrToJs.d.ts +17 -11
  39. package/build/types/emitter/StatementTransformationResult.d.ts +5 -2
  40. package/build/types/emitter/Transformer.d.ts +21 -93
  41. package/build/types/emitter/ir/AccessedEntities.d.ts +5 -11
  42. package/build/types/emitter/ir/ComputedAccess.d.ts +19 -0
  43. package/build/types/emitter/ir/LoweringState.d.ts +25 -0
  44. package/build/types/emitter/ir/Nodes.d.ts +531 -1109
  45. package/build/types/emitter/ir/index.d.ts +3 -1
  46. package/build/types/emitter/ir/types.d.ts +6 -7
  47. package/build/types/entities/PackageMembers.d.ts +2 -2
  48. package/build/types/entities/TypeEntityMembers.d.ts +2 -2
  49. package/build/types/entities/Variants.d.ts +2 -2
  50. package/build/types/entities/index.d.ts +3 -1
  51. package/build/types/parser/Scanner.d.ts +1 -0
  52. package/build/types/project/CompilationLoader.d.ts +17 -22
  53. package/build/types/project/PackageContent.d.ts +16 -0
  54. package/build/types/project/PackageContentCreator.d.ts +3 -0
  55. package/build/types/project/SourceFile.d.ts +1 -1
  56. package/build/types/project/SourcePackage.d.ts +3 -3
  57. package/build/types/project/configuration/ConfigurationConverter.d.ts +2 -3
  58. package/build/types/project/configuration/ConfigurationTranslator.d.ts +23 -0
  59. package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +1 -27
  60. package/build/types/project/index.d.ts +3 -1
  61. package/build/types/services/AddPropertyAssignmentService.d.ts +2 -2
  62. package/build/types/services/CodeActionsService.d.ts +22 -0
  63. package/build/types/services/DefinitionService.d.ts +2 -2
  64. package/build/types/services/LanguageServer.d.ts +9 -2
  65. package/build/types/services/NodeSemanticInfo.d.ts +13 -7
  66. package/build/types/services/ReferencesService.d.ts +1 -3
  67. package/build/types/services/TranslationsGenerationService.d.ts +7 -0
  68. package/build/types/services/Types.d.ts +10 -0
  69. package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -4
  70. package/build/types/services/workspace/CompilationController.d.ts +4 -3
  71. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +5 -2
  72. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +1 -1
  73. package/build/types/services/workspace/Workspace.d.ts +5 -2
  74. package/build/types/services/workspace/WorkspaceFiles.d.ts +2 -2
  75. package/build/types/tree/KeywordKind.d.ts +47 -46
  76. package/build/types/tree/green/SyntaxToCode.d.ts +4 -3
  77. package/build/types/ts-interop/TsInteropContext.d.ts +2 -2
  78. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +3 -3
  79. package/build/types/ts-interop/Utils.d.ts +39 -33
  80. package/package.json +4 -5
  81. package/build/types/analysis/IndexerAccess.d.ts +0 -10
  82. package/build/types/emitter/EmitterPackage.d.ts +0 -60
  83. package/build/types/emitter/EntityNameProviders.d.ts +0 -33
  84. package/build/types/generated/BuiltInSystemPackages.d.ts +0 -3
  85. package/build/types/old/Executor.d.ts +0 -14
  86. package/build/types/old/JavaScriptEmittingVisitor.d.ts +0 -1
  87. package/build/types/old/NzonParser.d.ts +0 -1
  88. package/build/types/old/NzonScanner.d.ts +0 -1
  89. package/build/types/old/NzonSyntax.d.ts +0 -1
  90. package/build/types/old/RemoteWorkspaceFileSystem.d.ts +0 -1
  91. /package/build/types/{old/JavaScriptEmitter.d.ts → emitter/EmitterContextOld.d.ts} +0 -0
@@ -1,76 +1,52 @@
1
- import * as indexerAccess from '../../analysis/IndexerAccess.js';
2
- import * as variableAccess from '../../analysis/VariableAccess.js';
3
- import { Name } from '../../common/Name.js';
4
- import { ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, GetterEntity, IndexerEntity, MethodEntity, PackageEntity, PackageVariableEntity, SetterEntity, TypeEntity, TypeEntityWithMembers, TypeExtensionEntity, TypeMethodEntity, TypeVariableEntity, VariableEntity, VariantEntity, VariantTypeEntity } from '../../entities/index.js';
5
- import * as types from '../../types/index.js';
6
- import { AccessedIndexer, AccessedMethod, AccessedVariable } from './AccessedEntities.js';
7
- import { AssignmentLoweringOptions, CallExpressionLoweringOptions, ConstructorCallExpressionLoweringOptions, DeclarationWithInitializerLoweringOptions, MethodAccessLoweringOptions, TextTemplateLiteralLoweringOptions } from './LoweringOptions.js';
1
+ import { AccessKind, Name } from '../../common/index.js';
2
+ import { MethodEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
3
+ import { AccessedMethod, AccessedVariable } from './AccessedEntities.js';
4
+ import { ComputedAccess } from './ComputedAccess.js';
5
+ import { AssignmentLoweringOptions, DeclarationWithInitializerLoweringOptions, MethodAccessLoweringOptions, TextTemplateLiteralLoweringOptions } from './LoweringOptions.js';
6
+ import { CallExpressionLoweringState, ConstructorCallExpressionLoweringState } from './LoweringState.js';
8
7
  import { SourceLocation } from './SourceLocation.js';
9
- import { BlockStatementClause, Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
8
+ import { Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
10
9
  export declare class ArrayLiteral {
11
- private _elements;
12
- private _type;
13
- private _sourceLocation;
10
+ elements: readonly Expression[];
11
+ type: Type;
12
+ sourceLocation: SourceLocation | undefined;
14
13
  readonly kind = NodeKind.ArrayLiteral;
15
- get elements(): readonly Expression[];
16
- get type(): types.Type;
17
- get sourceLocation(): SourceLocation | undefined;
18
- constructor(_elements: readonly Expression[], _type: types.Type, _sourceLocation: SourceLocation | undefined);
19
- update(elements: readonly Expression[], type: types.Type): void;
14
+ constructor(elements: readonly Expression[], type: Type, sourceLocation: SourceLocation | undefined);
20
15
  clone(): ArrayLiteral;
21
16
  }
22
17
  export declare class AsExpression {
23
- private _expression;
24
- private _type;
25
- private _sourceLocation;
18
+ expression: Expression;
19
+ type: Type;
20
+ sourceLocation: SourceLocation | undefined;
26
21
  readonly kind = NodeKind.AsExpression;
27
- get expression(): Expression;
28
- get type(): types.Type;
29
- get sourceLocation(): SourceLocation | undefined;
30
- constructor(_expression: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
31
- update(expression: Expression, type: types.Type): void;
22
+ constructor(expression: Expression, type: Type, sourceLocation: SourceLocation | undefined);
32
23
  clone(): AsExpression;
33
24
  }
34
25
  export declare class AssertionExpression {
35
- private _expression;
36
- private _sourceLocation;
26
+ expression: Expression;
27
+ sourceLocation: SourceLocation | undefined;
37
28
  readonly kind = NodeKind.AssertionExpression;
38
- get expression(): Expression;
39
- get sourceLocation(): SourceLocation | undefined;
40
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
41
- update(expression: Expression): void;
29
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
42
30
  clone(): AssertionExpression;
43
31
  }
44
32
  export declare class AssignmentExpression {
45
- private _left;
46
- private _operator;
47
- private _right;
48
- private _sourceLocation;
49
- private _loweringOptions;
33
+ left: LValueExpression;
34
+ operator: AssignmentOperator;
35
+ right: Expression;
36
+ sourceLocation: SourceLocation | undefined;
37
+ loweringOptions: AssignmentLoweringOptions;
50
38
  readonly kind = NodeKind.AssignmentExpression;
51
- get left(): LValueExpression;
52
- get operator(): AssignmentOperator;
53
- get right(): Expression;
54
- get loweringOptions(): AssignmentLoweringOptions;
55
- get sourceLocation(): SourceLocation | undefined;
56
- constructor(_left: LValueExpression, _operator: AssignmentOperator, _right: Expression, _sourceLocation: SourceLocation | undefined, _loweringOptions?: AssignmentLoweringOptions);
57
- update(left: LValueExpression, operator: AssignmentOperator, right: Expression, loweringOptions: AssignmentLoweringOptions): void;
39
+ constructor(left: LValueExpression, operator: AssignmentOperator, right: Expression, sourceLocation: SourceLocation | undefined, loweringOptions?: AssignmentLoweringOptions);
58
40
  clone(): AssignmentExpression;
59
41
  }
60
42
  export declare class AssignmentStatement {
61
- private _left;
62
- private _operator;
63
- private _right;
64
- private _sourceLocation;
65
- private _loweringOptions;
43
+ left: LValueExpression;
44
+ operator: AssignmentOperator;
45
+ right: Expression;
46
+ sourceLocation: SourceLocation | undefined;
47
+ loweringOptions: AssignmentLoweringOptions;
66
48
  readonly kind = NodeKind.AssignmentStatement;
67
- get left(): LValueExpression;
68
- get operator(): AssignmentOperator;
69
- get right(): Expression;
70
- get loweringOptions(): AssignmentLoweringOptions;
71
- get sourceLocation(): SourceLocation | undefined;
72
- constructor(_left: LValueExpression, _operator: AssignmentOperator, _right: Expression, _sourceLocation: SourceLocation | undefined, _loweringOptions?: AssignmentLoweringOptions);
73
- update(left: LValueExpression, operator: AssignmentOperator, right: Expression, loweringOptions: AssignmentLoweringOptions): void;
49
+ constructor(left: LValueExpression, operator: AssignmentOperator, right: Expression, sourceLocation: SourceLocation | undefined, loweringOptions?: AssignmentLoweringOptions);
74
50
  clone(): AssignmentStatement;
75
51
  }
76
52
  export declare const enum AssignmentOperator {
@@ -82,97 +58,69 @@ export declare const enum AssignmentOperator {
82
58
  IntegerDivideEquals = 5
83
59
  }
84
60
  export declare class AssumptionExpression {
85
- private _expression;
86
- private _sourceLocation;
61
+ expression: Expression;
62
+ sourceLocation: SourceLocation | undefined;
87
63
  readonly kind = NodeKind.AssumptionExpression;
88
- get expression(): Expression;
89
- get sourceLocation(): SourceLocation | undefined;
90
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
91
- update(expression: Expression): void;
64
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
92
65
  clone(): AssumptionExpression;
93
66
  }
94
67
  export declare class BaseConstructorCallExpression {
95
- private _entity;
96
- private _containingTypeOfConstructor;
97
- private _callArguments;
98
- private _sourceLocation;
68
+ entity: MethodEntity;
69
+ containingTypeOfConstructor: TypeOrExtensionEntity;
70
+ callArguments: CallArguments;
71
+ sourceLocation: SourceLocation | undefined;
99
72
  readonly kind = NodeKind.BaseConstructorCallExpression;
100
- get entity(): ConstructorEntity;
101
- get containingTypeOfConstructor(): TypeEntityWithMembers;
102
- get callArguments(): CallArguments;
103
- get isOverloadedConstructorCall(): boolean;
104
- get sourceLocation(): SourceLocation | undefined;
105
- constructor(_entity: ConstructorEntity, _containingTypeOfConstructor: TypeEntityWithMembers, _callArguments: CallArguments, _sourceLocation: SourceLocation | undefined);
106
- update(entity: ConstructorEntity, callArguments: CallArguments): void;
73
+ constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, callArguments: CallArguments, sourceLocation: SourceLocation | undefined);
107
74
  clone(): BaseConstructorCallExpression;
108
75
  }
109
76
  export declare class BaseExpression {
110
- private _sourceLocation;
77
+ sourceLocation: SourceLocation | undefined;
111
78
  readonly kind = NodeKind.BaseExpression;
112
- get sourceLocation(): SourceLocation | undefined;
113
- constructor(_sourceLocation: SourceLocation | undefined);
79
+ constructor(sourceLocation: SourceLocation | undefined);
114
80
  clone(): BaseExpression;
115
81
  }
116
82
  export declare class BinaryExpression {
117
- private _left;
118
- private _operator;
119
- private _right;
120
- private _type;
121
- private _sourceLocation;
83
+ left: Expression;
84
+ operator: BinaryExpressionOperator;
85
+ right: Expression;
86
+ type: Type;
87
+ sourceLocation: SourceLocation | undefined;
122
88
  readonly kind = NodeKind.BinaryExpression;
123
- get left(): Expression;
124
- get operator(): BinaryExpressionOperator;
125
- get right(): Expression;
126
- get type(): types.Type;
127
- get sourceLocation(): SourceLocation | undefined;
128
- constructor(_left: Expression, _operator: BinaryExpressionOperator, _right: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
129
- update(left: Expression, operator: BinaryExpressionOperator, right: Expression, type: types.Type): void;
89
+ constructor(left: Expression, operator: BinaryExpressionOperator, right: Expression, type: Type, sourceLocation: SourceLocation | undefined);
130
90
  clone(): BinaryExpression;
131
91
  }
132
92
  export declare class BlockStatement {
133
- private _statements;
134
- private _clauses;
135
- private _sourceLocation;
93
+ statements: readonly Statement[];
94
+ sourceLocation: SourceLocation | undefined;
136
95
  readonly kind = NodeKind.BlockStatement;
137
- get statements(): readonly Statement[];
138
- get clauses(): readonly BlockStatementClause[];
139
- get sourceLocation(): SourceLocation | undefined;
140
- constructor(_statements: readonly Statement[], _clauses: readonly BlockStatementClause[], _sourceLocation: SourceLocation | undefined);
141
- update(statements: readonly Statement[], clauses: readonly BlockStatementClause[]): void;
96
+ constructor(statements: readonly Statement[], sourceLocation: SourceLocation | undefined);
142
97
  clone(): BlockStatement;
143
98
  }
144
99
  export declare class BooleanLiteral {
145
- private _value;
146
- private _sourceLocation;
100
+ value: boolean;
101
+ sourceLocation: SourceLocation | undefined;
147
102
  readonly kind = NodeKind.BooleanLiteral;
148
- get value(): boolean;
149
- get sourceLocation(): SourceLocation | undefined;
150
- constructor(_value: boolean, _sourceLocation: SourceLocation | undefined);
151
- update(value: boolean): void;
103
+ constructor(value: boolean, sourceLocation: SourceLocation | undefined);
152
104
  clone(): BooleanLiteral;
153
105
  }
154
106
  export declare class BreakLoopStatement {
155
- private _label;
156
- private _sourceLocation;
107
+ label: string;
108
+ sourceLocation: SourceLocation | undefined;
157
109
  readonly kind = NodeKind.BreakLoopStatement;
158
- get label(): string;
159
- get sourceLocation(): SourceLocation | undefined;
160
- constructor(_label: string, _sourceLocation: SourceLocation | undefined);
110
+ constructor(label: string, sourceLocation: SourceLocation | undefined);
161
111
  clone(): BreakLoopStatement;
162
112
  }
163
113
  export declare class CallArgument {
164
- private _expression;
114
+ expression: Expression;
165
115
  readonly targetParameter: TargetParameter;
166
116
  readonly kind = NodeKind.CallArgument;
167
- get expression(): Expression;
168
- constructor(_expression: Expression, targetParameter: TargetParameter);
169
- update(expression: Expression): void;
117
+ constructor(expression: Expression, targetParameter: TargetParameter);
170
118
  clone(): CallArgument;
171
119
  }
172
120
  export declare class TargetParameter {
173
121
  readonly entity: VariableEntity;
174
- readonly type: types.Type;
175
- constructor(entity: VariableEntity, type: types.Type);
122
+ readonly type: Type;
123
+ constructor(entity: VariableEntity, type: Type);
176
124
  }
177
125
  export type CallArguments = UnorderedCallArguments | OrderedCallArguments;
178
126
  export declare class UnorderedCallArguments {
@@ -183,500 +131,329 @@ export declare class UnorderedCallArguments {
183
131
  clone(): UnorderedCallArguments;
184
132
  }
185
133
  export declare class OrderedCallArguments {
186
- private _values;
187
- private _isLastArgumentSpreading;
134
+ values: readonly Expression[];
135
+ isLastArgumentSpreading: boolean;
188
136
  readonly kind = "ordered";
189
- get values(): readonly Expression[];
190
- get isLastArgumentSpreading(): boolean;
191
- constructor(_values: readonly Expression[], _isLastArgumentSpreading: boolean);
192
- update(values: readonly Expression[], isLastArgumentSpreading: boolean): void;
137
+ constructor(values: readonly Expression[], isLastArgumentSpreading: boolean);
193
138
  clone(): OrderedCallArguments;
194
139
  }
195
140
  export declare class CallExpression {
196
- private _expression;
197
- private _isOptionalChaining;
198
- private _callArguments;
199
- private _isAsyncMethodCall;
200
- private _returnType;
201
- private _sourceLocation;
202
- private _loweringOptions;
141
+ expression: Expression;
142
+ isOptionalChaining: boolean;
143
+ callArguments: CallArguments;
144
+ isAsyncMethodCall: boolean;
145
+ returnType: Type;
146
+ sourceLocation: SourceLocation | undefined;
147
+ loweringState: CallExpressionLoweringState;
203
148
  readonly kind = NodeKind.CallExpression;
204
- get expression(): Expression;
205
- get isOptionalChaining(): boolean;
206
- get callArguments(): CallArguments;
207
- get isAsyncMethodCall(): boolean;
208
- get returnType(): types.Type;
209
- get loweringOptions(): CallExpressionLoweringOptions;
210
- get sourceLocation(): SourceLocation | undefined;
211
- constructor(_expression: Expression, _isOptionalChaining: boolean, _callArguments: CallArguments, _isAsyncMethodCall: boolean, _returnType: types.Type, _sourceLocation: SourceLocation | undefined, _loweringOptions?: CallExpressionLoweringOptions);
212
- update(expression: Expression, isOptionalChaining: boolean, callArguments: CallArguments, isAsyncMethodCall: boolean, returnType: types.Type, loweringOptions: CallExpressionLoweringOptions): void;
149
+ constructor(expression: Expression, isOptionalChaining: boolean, callArguments: CallArguments, isAsyncMethodCall: boolean, returnType: Type, sourceLocation: SourceLocation | undefined, loweringState?: CallExpressionLoweringState);
213
150
  clone(): CallExpression;
214
151
  }
215
152
  export declare class CharLiteral {
216
- private _value;
217
- private _sourceLocation;
153
+ value: string;
154
+ sourceLocation: SourceLocation | undefined;
218
155
  readonly kind = NodeKind.CharLiteral;
219
- get value(): string;
220
- get sourceLocation(): SourceLocation | undefined;
221
- constructor(_value: string, _sourceLocation: SourceLocation | undefined);
222
- update(value: string): void;
156
+ constructor(value: string, sourceLocation: SourceLocation | undefined);
223
157
  clone(): CharLiteral;
224
158
  }
225
159
  export declare class CommaExpression {
226
- private _expressions;
227
- private _sourceLocation;
160
+ expressions: readonly Expression[];
161
+ sourceLocation: SourceLocation | undefined;
228
162
  readonly kind = NodeKind.CommaExpression;
229
- get expressions(): readonly Expression[];
230
- get sourceLocation(): SourceLocation | undefined;
231
- constructor(_expressions: readonly Expression[], _sourceLocation: SourceLocation | undefined);
232
- update(expressions: readonly Expression[]): void;
163
+ constructor(expressions: readonly Expression[], sourceLocation: SourceLocation | undefined);
233
164
  clone(): CommaExpression;
234
165
  }
235
166
  export declare class ConstructorCallExpression {
236
- private _entity;
237
- private _containingTypeOfConstructor;
238
- private _typeAccess;
239
- private _callArguments;
240
- private _isOverloadedConstructorCall;
241
- private _returnType;
242
- private _sourceLocation;
243
- private _loweringOptions;
167
+ entity: MethodEntity;
168
+ containingTypeOfConstructor: TypeOrExtensionEntity;
169
+ typeAccess: TypeAccessExpression;
170
+ callArguments: CallArguments;
171
+ returnType: Type;
172
+ sourceLocation: SourceLocation | undefined;
173
+ loweringState: ConstructorCallExpressionLoweringState;
244
174
  readonly kind = NodeKind.ConstructorCallExpression;
245
- get entity(): ConstructorEntity;
246
- get containingTypeOfConstructor(): TypeEntityWithMembers;
247
- get typeAccess(): TypeAccessExpression;
248
- get callArguments(): CallArguments;
249
- get isOverloadedConstructorCall(): boolean;
250
- get returnType(): types.Type;
251
- get loweringOptions(): ConstructorCallExpressionLoweringOptions;
252
- get sourceLocation(): SourceLocation | undefined;
253
- constructor(_entity: ConstructorEntity, _containingTypeOfConstructor: TypeEntityWithMembers, _typeAccess: TypeAccessExpression, _callArguments: CallArguments, _isOverloadedConstructorCall: boolean, _returnType: types.Type, _sourceLocation: SourceLocation | undefined, _loweringOptions?: ConstructorCallExpressionLoweringOptions);
254
- update(entity: ConstructorEntity, containingTypeOfConstructor: TypeEntityWithMembers, typeAccess: TypeAccessExpression, callArguments: CallArguments, isOverloadedConstructorCall: boolean): void;
175
+ constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression, callArguments: CallArguments, returnType: Type, sourceLocation: SourceLocation | undefined, loweringState?: ConstructorCallExpressionLoweringState);
255
176
  clone(): ConstructorCallExpression;
256
177
  }
257
178
  export declare class ContinueLoopStatement {
258
- private _label;
259
- private _sourceLocation;
179
+ label: string;
180
+ sourceLocation: SourceLocation | undefined;
260
181
  readonly kind = NodeKind.ContinueLoopStatement;
261
- get label(): string;
262
- get sourceLocation(): SourceLocation | undefined;
263
- constructor(_label: string, _sourceLocation: SourceLocation | undefined);
182
+ constructor(label: string, sourceLocation: SourceLocation | undefined);
264
183
  clone(): ContinueLoopStatement;
265
184
  }
266
185
  export declare class DereferenceExpression {
267
- private _expression;
268
- private _isOptionalChaining;
269
- private _entity;
270
- private _type;
271
- private _sourceLocation;
186
+ expression: Expression;
187
+ isOptionalChaining: boolean;
188
+ access: ComputedAccess;
189
+ sourceLocation: SourceLocation | undefined;
272
190
  readonly kind = NodeKind.DereferenceExpression;
273
- get expression(): Expression;
274
- get isOptionalChaining(): boolean;
275
- get entity(): DereferenceOperatorEntity;
276
- get type(): types.Type;
277
- get sourceLocation(): SourceLocation | undefined;
278
- constructor(_expression: Expression, _isOptionalChaining: boolean, _entity: DereferenceOperatorEntity, _type: types.Type, _sourceLocation: SourceLocation | undefined);
279
- update(expression: Expression): void;
191
+ constructor(expression: Expression, isOptionalChaining: boolean, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
280
192
  clone(): DereferenceExpression;
281
193
  }
282
194
  export declare class DisposeStatement {
283
- private _expression;
284
- private _destructorEntity;
285
- private _sourceLocation;
195
+ expression: Expression;
196
+ destructorEntity: MethodEntity;
197
+ sourceLocation: SourceLocation | undefined;
286
198
  readonly kind = NodeKind.DisposeStatement;
287
- get expression(): Expression;
288
- get destructorEntity(): DestructorEntity;
289
- get sourceLocation(): SourceLocation | undefined;
290
- constructor(_expression: Expression, _destructorEntity: DestructorEntity, _sourceLocation: SourceLocation | undefined);
291
- update(expression: Expression, destructorEntity: DestructorEntity): void;
199
+ constructor(expression: Expression, destructorEntity: MethodEntity, sourceLocation: SourceLocation | undefined);
292
200
  clone(): DisposeStatement;
293
201
  }
294
202
  export declare class EmptyStatement {
295
- private _sourceLocation;
203
+ sourceLocation: SourceLocation | undefined;
296
204
  readonly kind = NodeKind.EmptyStatement;
297
- get sourceLocation(): SourceLocation | undefined;
298
- constructor(_sourceLocation: SourceLocation | undefined);
205
+ constructor(sourceLocation: SourceLocation | undefined);
299
206
  clone(): EmptyStatement;
300
207
  }
301
208
  export declare class ErrorStatement {
302
- private _expression;
303
- private _sourceLocation;
209
+ expression: Expression | undefined;
210
+ sourceLocation: SourceLocation | undefined;
304
211
  readonly kind = NodeKind.ErrorStatement;
305
- get expression(): Expression | undefined;
306
- get sourceLocation(): SourceLocation | undefined;
307
- constructor(_expression: Expression | undefined, _sourceLocation: SourceLocation | undefined);
308
- update(expression: Expression | undefined): void;
212
+ constructor(expression: Expression | undefined, sourceLocation: SourceLocation | undefined);
309
213
  clone(): ErrorStatement;
310
214
  }
311
215
  export declare class ExpressionStatement {
312
- private _expression;
313
- private _sourceLocation;
216
+ expression: Expression;
217
+ sourceLocation: SourceLocation | undefined;
314
218
  readonly kind = NodeKind.ExpressionStatement;
315
- get expression(): Expression;
316
- get sourceLocation(): SourceLocation | undefined;
317
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
318
- update(expression: Expression): void;
219
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
319
220
  clone(): ExpressionStatement;
320
221
  }
321
222
  export declare class FinallyClause {
322
- private _body;
323
- private _sourceLocation;
223
+ body: BlockStatement;
224
+ sourceLocation: SourceLocation | undefined;
324
225
  readonly kind = NodeKind.FinallyClause;
325
- get body(): BlockStatement;
326
- get sourceLocation(): SourceLocation | undefined;
327
- constructor(_body: BlockStatement, _sourceLocation: SourceLocation | undefined);
328
- update(body: BlockStatement): void;
226
+ constructor(body: BlockStatement, sourceLocation: SourceLocation | undefined);
329
227
  clone(): FinallyClause;
330
228
  }
331
229
  export declare class ForStatement {
332
- private _label;
333
- private _enumerationVariableEntity;
334
- private _indexVariableEntity;
335
- private _enumeratedExpression;
336
- private _body;
337
- private _sourceLocation;
230
+ label: string | undefined;
231
+ enumerationVariableEntity: VariableEntity;
232
+ indexVariableEntity: VariableEntity | undefined;
233
+ enumeratedExpression: Expression;
234
+ body: BlockStatement;
235
+ sourceLocation: SourceLocation | undefined;
338
236
  readonly kind = NodeKind.ForStatement;
339
- get label(): string | undefined;
340
- get enumerationVariableEntity(): VariableEntity;
341
- get indexVariableEntity(): VariableEntity | undefined;
342
- get enumeratedExpression(): Expression;
343
- get body(): BlockStatement;
344
- get sourceLocation(): SourceLocation | undefined;
345
- constructor(_label: string | undefined, _enumerationVariableEntity: VariableEntity, _indexVariableEntity: VariableEntity | undefined, _enumeratedExpression: Expression, _body: BlockStatement, _sourceLocation: SourceLocation | undefined);
346
- update(enumerationVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement): void;
237
+ constructor(label: string | undefined, enumerationVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement, sourceLocation: SourceLocation | undefined);
347
238
  clone(): ForStatement;
348
239
  }
349
240
  export declare class HelperMethodCallExpression {
350
- private _methodName;
351
- private _callArguments;
352
- private _isAsyncMethodCall;
353
- private _returnType;
354
- private _sourceLocation;
241
+ methodName: string;
242
+ callArguments: readonly Expression[];
243
+ isAsyncMethodCall: boolean;
244
+ returnType: Type;
245
+ sourceLocation: SourceLocation | undefined;
355
246
  readonly kind = NodeKind.HelperMethodCallExpression;
356
- get methodName(): string;
357
- get callArguments(): readonly Expression[];
358
- get isAsyncMethodCall(): boolean;
359
- get returnType(): types.Type;
360
- get sourceLocation(): SourceLocation | undefined;
361
- constructor(_methodName: string, _callArguments: readonly Expression[], _isAsyncMethodCall: boolean, _returnType: types.Type, _sourceLocation: SourceLocation | undefined);
362
- update(callArguments: readonly Expression[]): void;
247
+ constructor(methodName: string, callArguments: readonly Expression[], isAsyncMethodCall: boolean, returnType: Type, sourceLocation: SourceLocation | undefined);
363
248
  clone(): HelperMethodCallExpression;
364
249
  }
365
250
  export declare class IfStatement {
366
- private _condition;
367
- private _thenStatement;
368
- private _elseStatement;
369
- private _sourceLocation;
251
+ condition: Expression;
252
+ thenStatement: BlockStatement;
253
+ elseStatement: BlockStatement | undefined;
254
+ sourceLocation: SourceLocation | undefined;
370
255
  readonly kind = NodeKind.IfStatement;
371
- get condition(): Expression;
372
- get thenStatement(): BlockStatement;
373
- get elseStatement(): BlockStatement | undefined;
374
- get sourceLocation(): SourceLocation | undefined;
375
- constructor(_condition: Expression, _thenStatement: BlockStatement, _elseStatement: BlockStatement | undefined, _sourceLocation: SourceLocation | undefined);
376
- update(condition: Expression, thenStatement: BlockStatement, elseStatement: BlockStatement | undefined): void;
256
+ constructor(condition: Expression, thenStatement: BlockStatement, elseStatement: BlockStatement | undefined, sourceLocation: SourceLocation | undefined);
377
257
  clone(): IfStatement;
378
258
  }
379
- export declare class ImplicitConversionExpression {
380
- private _expression;
381
- private _conversionKind;
382
- private _sourceLocation;
383
- readonly kind = NodeKind.ImplicitConversionExpression;
384
- get expression(): Expression;
385
- get conversionKind(): ImplicitConversionKind;
386
- get sourceLocation(): SourceLocation | undefined;
387
- constructor(_expression: Expression, _conversionKind: ImplicitConversionKind, _sourceLocation: SourceLocation | undefined);
388
- update(expression: Expression, conversionKind: ImplicitConversionKind): void;
389
- clone(): ImplicitConversionExpression;
390
- }
391
259
  export declare const enum ImplicitConversionKind {
392
260
  TextTemplateToText = 0
393
261
  }
394
- export declare class ImplicitVariantAccessExpression {
395
- private _entity;
396
- private _sourceLocation;
397
- readonly kind = NodeKind.ImplicitVariantAccessExpression;
398
- get entity(): VariantEntity;
399
- get sourceLocation(): SourceLocation | undefined;
400
- constructor(_entity: VariantEntity, _sourceLocation: SourceLocation | undefined);
401
- update(entity: VariantEntity): void;
402
- clone(): ImplicitVariantAccessExpression;
403
- }
404
262
  export declare class IndexedAccessExpression {
405
- private _expression;
406
- private _isOptionalChaining;
407
- private _arguments;
408
- private _indexer;
409
- private _access;
410
- private _sourceLocation;
263
+ expression: Expression;
264
+ isOptionalChaining: boolean;
265
+ args: readonly Expression[];
266
+ access: ComputedAccess;
267
+ sourceLocation: SourceLocation | undefined;
411
268
  readonly kind = NodeKind.IndexedAccessExpression;
412
- get expression(): Expression;
413
- get isOptionalChaining(): boolean;
414
- get arguments(): readonly Expression[];
415
- get indexer(): AccessedIndexer;
416
- get access(): indexerAccess.IndexerAccess;
417
- get sourceLocation(): SourceLocation | undefined;
418
- constructor(_expression: Expression, _isOptionalChaining: boolean, _arguments: readonly Expression[], _indexer: AccessedIndexer, _access: indexerAccess.IndexerAccess, _sourceLocation: SourceLocation | undefined);
419
- update(expression: Expression, isOptionalChaining: boolean, args: readonly Expression[], indexer: AccessedIndexer, access: indexerAccess.IndexerAccess): void;
269
+ constructor(expression: Expression, isOptionalChaining: boolean, args: readonly Expression[], access: ComputedAccess, sourceLocation: SourceLocation | undefined);
420
270
  clone(): IndexedAccessExpression;
421
271
  }
422
272
  export declare class InlineJsExpression {
423
- private _code;
424
- private _type;
425
- private _sourceLocation;
273
+ code: string;
274
+ type: Type;
275
+ sourceLocation: SourceLocation | undefined;
426
276
  readonly kind = NodeKind.InlineJsExpression;
427
- get code(): string;
428
- get type(): types.Type;
429
- get sourceLocation(): SourceLocation | undefined;
430
- constructor(_code: string, _type: types.Type, _sourceLocation: SourceLocation | undefined);
431
- update(code: string): void;
277
+ constructor(code: string, type: Type, sourceLocation: SourceLocation | undefined);
432
278
  clone(): InlineJsExpression;
433
279
  }
434
280
  export declare class IntegerLiteral {
435
- private _value;
436
- private _sourceLocation;
281
+ value: number;
282
+ sourceLocation: SourceLocation | undefined;
437
283
  readonly kind = NodeKind.IntegerLiteral;
438
- get value(): number;
439
- get sourceLocation(): SourceLocation | undefined;
440
- constructor(_value: number, _sourceLocation: SourceLocation | undefined);
441
- update(value: number): void;
284
+ constructor(value: number, sourceLocation: SourceLocation | undefined);
442
285
  clone(): IntegerLiteral;
443
286
  }
444
287
  export declare class IsExpression {
445
- private _expression;
446
- private _type;
447
- private _sourceLocation;
288
+ expression: Expression;
289
+ type: Type;
290
+ sourceLocation: SourceLocation | undefined;
448
291
  readonly kind = NodeKind.IsExpression;
449
- get expression(): Expression;
450
- get type(): types.Type;
451
- get sourceLocation(): SourceLocation | undefined;
452
- constructor(_expression: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
453
- update(expression: Expression, type: types.Type): void;
292
+ constructor(expression: Expression, type: Type, sourceLocation: SourceLocation | undefined);
454
293
  clone(): IsExpression;
455
294
  }
456
295
  export declare class JsFunctionLiteral {
457
- private _valueParameters;
458
- private _body;
459
- private _isAsync;
460
- private _isGenerator;
461
- private _sourceLocation;
296
+ valueParameters: readonly ValueParameterDeclaration[];
297
+ body: BlockStatement;
298
+ isAsync: boolean;
299
+ isGenerator: boolean;
300
+ sourceLocation: SourceLocation | undefined;
462
301
  readonly kind = NodeKind.JsFunctionLiteral;
463
- get valueParameters(): readonly ValueParameterDeclaration[];
464
- get body(): BlockStatement;
465
- get isAsync(): boolean;
466
- get isGenerator(): boolean;
467
- get sourceLocation(): SourceLocation | undefined;
468
- constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _isAsync: boolean, _isGenerator: boolean, _sourceLocation: SourceLocation | undefined);
469
- update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean): void;
302
+ constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean, isGenerator: boolean, sourceLocation: SourceLocation | undefined);
470
303
  clone(): JsFunctionLiteral;
471
304
  }
472
305
  export declare class JsIdentifierExpression {
473
- private _identifier;
474
- private _sourceLocation;
306
+ identifier: string;
307
+ sourceLocation: SourceLocation | undefined;
475
308
  readonly kind = NodeKind.JsIdentifierExpression;
476
- get identifier(): string;
477
- get sourceLocation(): SourceLocation | undefined;
478
- constructor(_identifier: string, _sourceLocation: SourceLocation | undefined);
479
- update(identifier: string): void;
309
+ constructor(identifier: string, sourceLocation: SourceLocation | undefined);
480
310
  clone(): JsIdentifierExpression;
481
311
  }
482
312
  export type JsModuleImportDirectiveStatement = EsModuleImportDirectiveStatement | CjsModuleImportDirectiveStatement;
483
313
  export declare class EsModuleImportDirectiveStatement {
484
- readonly defaultImport: string | undefined;
485
- readonly importSpecifiers: readonly JsImportSpecifier[];
486
- readonly path: string;
314
+ defaultImport: string | undefined;
315
+ importSpecifiers: readonly JsImportSpecifier[];
316
+ path: string;
317
+ sourceLocation: SourceLocation | undefined;
487
318
  readonly kind = NodeKind.EsModuleImportDirectiveStatement;
488
- get sourceLocation(): SourceLocation | undefined;
489
- constructor(defaultImport: string | undefined, importSpecifiers: readonly JsImportSpecifier[], path: string);
319
+ constructor(defaultImport: string | undefined, importSpecifiers: readonly JsImportSpecifier[], path: string, sourceLocation: SourceLocation | undefined);
490
320
  clone(): EsModuleImportDirectiveStatement;
491
321
  }
492
322
  export declare class CjsModuleImportDirectiveStatement {
493
- readonly defaultImport: string;
494
- readonly importSpecifiers: readonly JsImportSpecifier[];
495
- readonly path: string;
323
+ defaultImport: string;
324
+ importSpecifiers: readonly JsImportSpecifier[];
325
+ path: string;
326
+ sourceLocation: SourceLocation | undefined;
496
327
  readonly kind = NodeKind.CjsModuleImportDirectiveStatement;
497
- get sourceLocation(): SourceLocation | undefined;
498
- constructor(defaultImport: string, importSpecifiers: readonly JsImportSpecifier[], path: string);
328
+ constructor(defaultImport: string, importSpecifiers: readonly JsImportSpecifier[], path: string, sourceLocation: SourceLocation | undefined);
499
329
  clone(): CjsModuleImportDirectiveStatement;
500
330
  }
501
331
  export declare class JsImportSpecifier {
502
- readonly name: string;
503
- readonly alias: string | undefined;
332
+ name: string;
333
+ alias: string | undefined;
504
334
  readonly kind = NodeKind.JsImportSpecifier;
505
- get sourceLocation(): SourceLocation | undefined;
506
335
  constructor(name: string, alias: string | undefined);
507
336
  clone(): JsImportSpecifier;
508
337
  }
509
338
  export declare class JsIndexedAccessExpression {
510
- private _expression;
511
- private _isOptionalChaining;
512
- private _argument;
513
- private _type;
514
- private _sourceLocation;
339
+ expression: Expression;
340
+ isOptionalChaining: boolean;
341
+ argument: Expression;
342
+ type: Type;
343
+ sourceLocation: SourceLocation | undefined;
515
344
  readonly kind = NodeKind.JsIndexedAccessExpression;
516
- get expression(): Expression;
517
- get isOptionalChaining(): boolean;
518
- get argument(): Expression;
519
- get type(): types.Type;
520
- get sourceLocation(): SourceLocation | undefined;
521
- constructor(_expression: Expression, _isOptionalChaining: boolean, _argument: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
522
- update(expression: Expression, isOptionalChaining: boolean, argument: Expression): void;
345
+ constructor(expression: Expression, isOptionalChaining: boolean, argument: Expression, type: Type, sourceLocation: SourceLocation | undefined);
523
346
  clone(): JsIndexedAccessExpression;
524
347
  }
525
348
  export declare class JsInstanceOfExpression {
526
- private _expression;
527
- private _type;
528
- private _sourceLocation;
349
+ expression: Expression;
350
+ type: TypeOrExtensionEntity;
351
+ sourceLocation: SourceLocation | undefined;
529
352
  readonly kind = NodeKind.JsInstanceOfExpression;
530
- get expression(): Expression;
531
- get type(): TypeEntity;
532
- get sourceLocation(): SourceLocation | undefined;
533
- constructor(_expression: Expression, _type: TypeEntity, _sourceLocation: SourceLocation | undefined);
534
- update(expression: Expression, type: TypeEntity): void;
353
+ constructor(expression: Expression, type: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
535
354
  clone(): JsInstanceOfExpression;
536
355
  }
537
356
  export declare class JsNamespaceDestructuringStatement {
538
- readonly defaultImport: string | undefined;
539
- readonly destructuredMembers: readonly JsImportSpecifier[];
540
- readonly namespaceNameSegments: readonly string[];
357
+ defaultImport: string | undefined;
358
+ destructuredMembers: readonly JsImportSpecifier[];
359
+ namespaceNameSegments: readonly string[];
360
+ sourceLocation: SourceLocation | undefined;
541
361
  readonly kind = NodeKind.JsNamespaceDestructuringStatement;
542
- get sourceLocation(): SourceLocation | undefined;
543
- constructor(defaultImport: string | undefined, destructuredMembers: readonly JsImportSpecifier[], namespaceNameSegments: readonly string[]);
362
+ constructor(defaultImport: string | undefined, destructuredMembers: readonly JsImportSpecifier[], namespaceNameSegments: readonly string[], sourceLocation: SourceLocation | undefined);
544
363
  clone(): JsNamespaceDestructuringStatement;
545
364
  }
546
365
  export declare class JsObjectLiteral {
547
- private _properties;
548
- private _sourceLocation;
366
+ properties: readonly JsObjectLiteralProperty[];
367
+ sourceLocation: SourceLocation | undefined;
549
368
  readonly kind = NodeKind.JsObjectLiteral;
550
- get properties(): readonly JsObjectLiteralProperty[];
551
- get sourceLocation(): SourceLocation | undefined;
552
- constructor(_properties: readonly JsObjectLiteralProperty[], _sourceLocation: SourceLocation | undefined);
553
- update(properties: readonly JsObjectLiteralProperty[]): void;
369
+ constructor(properties: readonly JsObjectLiteralProperty[], sourceLocation: SourceLocation | undefined);
554
370
  clone(): JsObjectLiteral;
555
371
  }
556
372
  export declare class JsObjectLiteralProperty {
557
- private _name;
558
- private _value;
559
- private _sourceLocation;
373
+ name: string;
374
+ value: Expression;
375
+ sourceLocation: SourceLocation | undefined;
560
376
  readonly kind = NodeKind.JsObjectLiteralProperty;
561
- get name(): string;
562
- get value(): Expression;
563
- get sourceLocation(): SourceLocation | undefined;
564
- constructor(_name: string, _value: Expression, _sourceLocation: SourceLocation | undefined);
565
- update(name: string, value: Expression): void;
377
+ constructor(name: string, value: Expression, sourceLocation: SourceLocation | undefined);
566
378
  clone(): JsObjectLiteralProperty;
567
379
  }
568
380
  export declare class JsPropertyAccessExpression {
569
- private _expression;
570
- private _isOptionalChaining;
571
- private _name;
572
- private _type;
573
- private _sourceLocation;
381
+ expression: Expression;
382
+ isOptionalChaining: boolean;
383
+ name: string;
384
+ type: Type;
385
+ sourceLocation: SourceLocation | undefined;
574
386
  readonly kind = NodeKind.JsPropertyAccessExpression;
575
- get expression(): Expression;
576
- get isOptionalChaining(): boolean;
577
- get name(): string;
578
- get type(): types.Type;
579
- get sourceLocation(): SourceLocation | undefined;
580
- constructor(_expression: Expression, _isOptionalChaining: boolean, _name: string, _type: types.Type, _sourceLocation: SourceLocation | undefined);
581
- update(expression: Expression, isOptionalChaining: boolean, name: string, type: types.Type): void;
387
+ constructor(expression: Expression, isOptionalChaining: boolean, name: string, type: Type, sourceLocation: SourceLocation | undefined);
582
388
  clone(): JsPropertyAccessExpression;
583
389
  }
584
390
  export declare class JsTypeOfExpression {
585
- private _expression;
586
- private _sourceLocation;
391
+ expression: Expression;
392
+ sourceLocation: SourceLocation | undefined;
587
393
  readonly kind = NodeKind.JsTypeOfExpression;
588
- get expression(): Expression;
589
- get sourceLocation(): SourceLocation | undefined;
590
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
591
- update(expression: Expression): void;
394
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
592
395
  clone(): JsTypeOfExpression;
593
396
  }
594
397
  export declare class LocalVariableDeclaration {
595
- private _entity;
596
- private _initializer;
597
- private _sourceLocation;
598
- private _loweringOptions;
398
+ entity: VariableEntity;
399
+ initializer: Expression | undefined;
400
+ sourceLocation: SourceLocation | undefined;
401
+ loweringOptions: DeclarationWithInitializerLoweringOptions;
599
402
  readonly kind = NodeKind.LocalVariableDeclaration;
600
- get entity(): VariableEntity;
601
- get initializer(): Expression | undefined;
602
- get loweringOptions(): DeclarationWithInitializerLoweringOptions;
603
- get sourceLocation(): SourceLocation | undefined;
604
- constructor(_entity: VariableEntity, _initializer: Expression | undefined, _sourceLocation: SourceLocation | undefined, _loweringOptions?: DeclarationWithInitializerLoweringOptions);
605
- update(initializer: Expression | undefined, loweringOptions: DeclarationWithInitializerLoweringOptions): void;
403
+ constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation: SourceLocation | undefined, loweringOptions?: DeclarationWithInitializerLoweringOptions);
606
404
  clone(): LocalVariableDeclaration;
607
405
  }
608
406
  export declare class LocalVariableDeclarationStatement {
609
- private _declaration;
610
- private _sourceLocation;
407
+ declaration: LocalVariableDeclaration;
408
+ sourceLocation: SourceLocation | undefined;
611
409
  readonly kind = NodeKind.LocalVariableDeclarationStatement;
612
- get declaration(): LocalVariableDeclaration;
613
- get sourceLocation(): SourceLocation | undefined;
614
- constructor(_declaration: LocalVariableDeclaration, _sourceLocation: SourceLocation | undefined);
615
- update(declaration: LocalVariableDeclaration): void;
410
+ constructor(declaration: LocalVariableDeclaration, sourceLocation: SourceLocation | undefined);
616
411
  clone(): LocalVariableDeclarationStatement;
617
412
  }
618
413
  export declare class LoopStatement {
619
- private _label;
620
- private _body;
621
- private _condition;
622
- private _sourceLocation;
414
+ label: string | undefined;
415
+ body: BlockStatement;
416
+ condition: Expression | undefined;
417
+ sourceLocation: SourceLocation | undefined;
623
418
  readonly kind = NodeKind.LoopStatement;
624
- get label(): string | undefined;
625
- get body(): BlockStatement;
626
- get condition(): Expression | undefined;
627
- get sourceLocation(): SourceLocation | undefined;
628
- constructor(_label: string | undefined, _body: BlockStatement, _condition: Expression | undefined, _sourceLocation: SourceLocation | undefined);
629
- update(body: BlockStatement, condition: Expression | undefined): void;
419
+ constructor(label: string | undefined, body: BlockStatement, condition: Expression | undefined, sourceLocation: SourceLocation | undefined);
630
420
  clone(): LoopStatement;
631
421
  }
632
422
  export declare class MeasureLiteral {
633
- private _sourceLocation;
423
+ sourceLocation: SourceLocation | undefined;
634
424
  readonly kind = NodeKind.MeasureLiteral;
635
- get sourceLocation(): SourceLocation | undefined;
636
- constructor(_sourceLocation: SourceLocation | undefined);
425
+ constructor(sourceLocation: SourceLocation | undefined);
637
426
  clone(): MeasureLiteral;
638
427
  }
639
428
  export declare class MethodAccessExpression {
640
- private _method;
641
- private _isCallee;
642
- private _sourceLocation;
643
- private _loweringOptions;
429
+ method: AccessedMethod;
430
+ isCallee: boolean;
431
+ sourceLocation: SourceLocation | undefined;
432
+ loweringOptions: MethodAccessLoweringOptions;
644
433
  readonly kind = NodeKind.MethodAccessExpression;
645
- get method(): AccessedMethod;
646
- get isCallee(): boolean;
647
- get loweringOptions(): MethodAccessLoweringOptions;
648
- get sourceLocation(): SourceLocation | undefined;
649
- constructor(_method: AccessedMethod, _isCallee: boolean, _sourceLocation: SourceLocation | undefined, _loweringOptions?: MethodAccessLoweringOptions);
650
- update(method: AccessedMethod, loweringOptions: MethodAccessLoweringOptions): void;
434
+ constructor(method: AccessedMethod, isCallee: boolean, sourceLocation: SourceLocation | undefined, loweringOptions?: MethodAccessLoweringOptions);
651
435
  clone(): MethodAccessExpression;
652
436
  }
653
437
  export declare class MethodLiteral {
654
- private _valueParameters;
655
- private _body;
656
- private _isAsync;
657
- private _returnType;
658
- private _resultLocalVariableEntity;
659
- private _sourceLocation;
438
+ valueParameters: readonly ValueParameterDeclaration[];
439
+ body: BlockStatement;
440
+ isAsync: boolean;
441
+ returnType: Type;
442
+ sourceLocation: SourceLocation | undefined;
660
443
  readonly kind = NodeKind.MethodLiteral;
661
- get valueParameters(): readonly ValueParameterDeclaration[];
662
- get body(): BlockStatement;
663
- get isAsync(): boolean;
664
- get returnType(): types.Type;
665
- get resultLocalVariableEntity(): VariableEntity | undefined;
666
- get sourceLocation(): SourceLocation | undefined;
667
- constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _isAsync: boolean, _returnType: types.Type, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
668
- update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean): void;
444
+ constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean, returnType: Type, sourceLocation: SourceLocation | undefined);
669
445
  clone(): MethodLiteral;
670
446
  }
671
447
  export declare class Modifiers {
672
- private _flags;
673
- constructor(_flags?: ModifierFlag);
674
- makeExport(): void;
675
- makeStatic(): void;
676
- makeAsync(): void;
677
- removeExport(): void;
678
- removeStatic(): void;
679
- removeAsync(): void;
448
+ flags: ModifierFlag;
449
+ constructor(flags?: ModifierFlag);
450
+ clone(): Modifiers;
451
+ makeExport(): this;
452
+ makeStatic(): this;
453
+ makeAsync(): this;
454
+ setExport(value: boolean): this;
455
+ setStatic(value: boolean): this;
456
+ setAsync(value: boolean): this;
680
457
  isExport(): boolean;
681
458
  isStatic(): boolean;
682
459
  isAsync(): boolean;
@@ -688,217 +465,118 @@ export declare const enum ModifierFlag {
688
465
  Async = 4
689
466
  }
690
467
  export declare class NestedMethodDeclaration {
691
- private _valueParameters;
692
- private _body;
693
- private _entity;
694
- private _isAsync;
695
- private _resultLocalVariableEntity;
696
- private _isGenerator;
697
- private _sourceLocation;
468
+ valueParameters: readonly ValueParameterDeclaration[];
469
+ body: BlockStatement;
470
+ entity: MethodEntity;
471
+ isAsync: boolean;
472
+ isGenerator: boolean;
473
+ sourceLocation: SourceLocation | undefined;
698
474
  readonly kind = NodeKind.NestedMethodDeclaration;
699
- get valueParameters(): readonly ValueParameterDeclaration[];
700
- get body(): BlockStatement;
701
- get entity(): MethodEntity;
702
- get isAsync(): boolean;
703
- get resultLocalVariableEntity(): VariableEntity | undefined;
704
- get isGenerator(): boolean;
705
- get sourceLocation(): SourceLocation | undefined;
706
- constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: MethodEntity, _isAsync: boolean, _resultLocalVariableEntity: VariableEntity | undefined, _isGenerator: boolean, _sourceLocation: SourceLocation | undefined);
707
- update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean): void;
475
+ constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isAsync: boolean, isGenerator: boolean, sourceLocation: SourceLocation | undefined);
708
476
  clone(): NestedMethodDeclaration;
709
477
  }
710
478
  export declare class NestedMethodDeclarationStatement {
711
- private _declaration;
712
- private _sourceLocation;
479
+ declaration: NestedMethodDeclaration;
480
+ sourceLocation: SourceLocation | undefined;
713
481
  readonly kind = NodeKind.NestedMethodDeclarationStatement;
714
- get declaration(): NestedMethodDeclaration;
715
- get sourceLocation(): SourceLocation | undefined;
716
- constructor(_declaration: NestedMethodDeclaration, _sourceLocation: SourceLocation | undefined);
717
- update(declaration: NestedMethodDeclaration): void;
482
+ constructor(declaration: NestedMethodDeclaration, sourceLocation: SourceLocation | undefined);
718
483
  clone(): NestedMethodDeclarationStatement;
719
484
  }
720
485
  export declare class NoneLiteral {
721
- private _sourceLocation;
486
+ sourceLocation: SourceLocation | undefined;
722
487
  readonly kind = NodeKind.NoneLiteral;
723
- get sourceLocation(): SourceLocation | undefined;
724
- constructor(_sourceLocation: SourceLocation | undefined);
488
+ constructor(sourceLocation: SourceLocation | undefined);
725
489
  clone(): NoneLiteral;
726
490
  }
727
491
  export declare class NotExpression {
728
- private _expression;
729
- private _sourceLocation;
492
+ expression: Expression;
493
+ sourceLocation: SourceLocation | undefined;
730
494
  readonly kind = NodeKind.NotExpression;
731
- get expression(): Expression;
732
- get sourceLocation(): SourceLocation | undefined;
733
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
734
- update(expression: Expression): void;
495
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
735
496
  clone(): NotExpression;
736
497
  }
737
498
  export declare class NumericLiteral {
738
- private _value;
739
- private _sourceLocation;
499
+ value: number;
500
+ sourceLocation: SourceLocation | undefined;
740
501
  readonly kind = NodeKind.NumericLiteral;
741
- get value(): number;
742
- get sourceLocation(): SourceLocation | undefined;
743
- constructor(_value: number, _sourceLocation: SourceLocation | undefined);
744
- update(value: number): void;
502
+ constructor(value: number, sourceLocation: SourceLocation | undefined);
745
503
  clone(): NumericLiteral;
746
504
  }
747
505
  export declare class OnErrorClause {
748
- private _errorVariableEntity;
749
- private _body;
750
- private _sourceLocation;
506
+ errorVariableEntity: VariableEntity | undefined;
507
+ body: BlockStatement;
508
+ sourceLocation: SourceLocation | undefined;
751
509
  readonly kind = NodeKind.OnErrorClause;
752
- get errorVariableEntity(): VariableEntity | undefined;
753
- get body(): BlockStatement;
754
- get sourceLocation(): SourceLocation | undefined;
755
- constructor(_errorVariableEntity: VariableEntity | undefined, _body: BlockStatement, _sourceLocation: SourceLocation | undefined);
756
- update(errorVariableEntity: VariableEntity | undefined, body: BlockStatement): void;
510
+ constructor(errorVariableEntity: VariableEntity | undefined, body: BlockStatement, sourceLocation: SourceLocation | undefined);
757
511
  clone(): OnErrorClause;
758
512
  }
759
513
  export declare class OwnConstructorCallExpression {
760
- private _entity;
761
- private _containingTypeOfConstructor;
762
- private _callArguments;
763
- private _sourceLocation;
514
+ entity: MethodEntity;
515
+ containingTypeOfConstructor: TypeOrExtensionEntity;
516
+ callArguments: CallArguments;
517
+ sourceLocation: SourceLocation | undefined;
764
518
  readonly kind = NodeKind.OwnConstructorCallExpression;
765
- get entity(): ConstructorEntity;
766
- get containingTypeOfConstructor(): TypeEntityWithMembers;
767
- get callArguments(): CallArguments;
768
- get isOverloadedConstructorCall(): boolean;
769
- get sourceLocation(): SourceLocation | undefined;
770
- constructor(_entity: ConstructorEntity, _containingTypeOfConstructor: TypeEntityWithMembers, _callArguments: CallArguments, _sourceLocation: SourceLocation | undefined);
771
- update(entity: ConstructorEntity, callArguments: CallArguments): void;
519
+ constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, callArguments: CallArguments, sourceLocation: SourceLocation | undefined);
772
520
  clone(): OwnConstructorCallExpression;
773
521
  }
774
- export declare class PackageConstructorDeclaration {
775
- private _body;
776
- private _isAsync;
777
- private _containingPackage;
778
- private _sourceLocation;
779
- readonly kind = NodeKind.PackageConstructorDeclaration;
780
- get body(): BlockStatement;
781
- get isAsync(): boolean;
782
- get containingPackage(): PackageEntity;
783
- get sourceLocation(): SourceLocation | undefined;
784
- constructor(_body: BlockStatement, _isAsync: boolean, _containingPackage: PackageEntity, _sourceLocation: SourceLocation | undefined);
785
- update(body: BlockStatement): void;
786
- clone(): PackageConstructorDeclaration;
787
- }
788
- export declare class PackageEntryPointDeclaration {
789
- private _body;
790
- private _isAsync;
791
- private _containingPackage;
792
- private _sourceLocation;
793
- readonly kind = NodeKind.PackageEntryPointDeclaration;
794
- get body(): BlockStatement;
795
- get isAsync(): boolean;
796
- get containingPackage(): PackageEntity;
797
- get sourceLocation(): SourceLocation | undefined;
798
- constructor(_body: BlockStatement, _isAsync: boolean, _containingPackage: PackageEntity, _sourceLocation: SourceLocation | undefined);
799
- update(body: BlockStatement): void;
800
- clone(): PackageEntryPointDeclaration;
801
- }
802
522
  export declare class PackageMethodDeclaration {
803
- private _modifiers;
804
- private _valueParameters;
805
- private _body;
806
- private _entity;
807
- private _resultLocalVariableEntity;
808
- private _paramLocalVariableEntity;
809
- private _isGenerator;
810
- private _sourceLocation;
523
+ modifiers: Modifiers;
524
+ valueParameters: readonly ValueParameterDeclaration[];
525
+ body: BlockStatement;
526
+ entity: MethodEntity;
527
+ paramLocalVariableEntity: VariableEntity | undefined;
528
+ isGenerator: boolean;
529
+ sourceLocation: SourceLocation | undefined;
811
530
  readonly kind = NodeKind.PackageMethodDeclaration;
812
- get modifiers(): Modifiers;
813
- get valueParameters(): readonly ValueParameterDeclaration[];
814
- get body(): BlockStatement;
815
- get entity(): MethodEntity;
816
- get resultLocalVariableEntity(): VariableEntity | undefined;
817
- get paramLocalVariableEntity(): VariableEntity | undefined;
818
- get isGenerator(): boolean;
819
- get sourceLocation(): SourceLocation | undefined;
820
- constructor(_modifiers: Modifiers, _valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: MethodEntity, _resultLocalVariableEntity: VariableEntity | undefined, _paramLocalVariableEntity: VariableEntity | undefined, _isGenerator: boolean, _sourceLocation: SourceLocation | undefined);
821
- update(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, resultLocalVariableEntity: VariableEntity | undefined, paramLocalVariableEntity: VariableEntity | undefined): void;
531
+ constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, paramLocalVariableEntity: VariableEntity | undefined, isGenerator: boolean, sourceLocation: SourceLocation | undefined);
822
532
  clone(): PackageMethodDeclaration;
823
533
  }
824
534
  export declare class PackageTypeDeclaration {
825
- private _modifiers;
826
- private _members;
827
- private _entity;
828
- private _sourceLocation;
829
- private _baseType?;
535
+ modifiers: Modifiers;
536
+ members: readonly TypeMemberDeclaration[];
537
+ entity: TypeOrExtensionEntity;
538
+ sourceLocation: SourceLocation | undefined;
830
539
  readonly kind = NodeKind.PackageTypeDeclaration;
831
- get modifiers(): Modifiers;
832
- get members(): readonly TypeMemberDeclaration[];
833
- get entity(): TypeEntity;
834
- get baseType(): TypeEntity | undefined;
835
- get sourceLocation(): SourceLocation | undefined;
836
- constructor(_modifiers: Modifiers, _members: readonly TypeMemberDeclaration[], _entity: TypeEntity, _sourceLocation: SourceLocation | undefined, _baseType?: TypeEntity | undefined);
837
- update(members: readonly TypeMemberDeclaration[], entity: TypeEntity, baseType: TypeEntity | undefined): void;
540
+ constructor(modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
838
541
  clone(): PackageTypeDeclaration;
839
542
  }
840
543
  export declare class PackageVariableDeclaration {
841
- private _modifiers;
842
- private _initializer;
843
- private _getter;
844
- private _setter;
845
- private _entity;
846
- private _sourceLocation;
544
+ modifiers: Modifiers;
545
+ initializer: Expression | undefined;
546
+ entity: VariableEntity;
547
+ sourceLocation: SourceLocation | undefined;
847
548
  readonly kind = NodeKind.PackageVariableDeclaration;
848
- get modifiers(): Modifiers;
849
- get initializer(): Expression | undefined;
850
- get getter(): PackageVariableGetterDeclaration | undefined;
851
- get setter(): PackageVariableSetterDeclaration | undefined;
852
- get entity(): PackageVariableEntity;
853
- get sourceLocation(): SourceLocation | undefined;
854
- constructor(_modifiers: Modifiers, _initializer: Expression | undefined, _getter: PackageVariableGetterDeclaration | undefined, _setter: PackageVariableSetterDeclaration | undefined, _entity: PackageVariableEntity, _sourceLocation: SourceLocation | undefined);
855
- update(initializer: Expression | undefined, getter: PackageVariableGetterDeclaration | undefined, setter: PackageVariableSetterDeclaration | undefined): void;
549
+ constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
856
550
  clone(): PackageVariableDeclaration;
857
551
  }
858
552
  export declare class PackageVariableGetterDeclaration {
859
- private _body;
860
- private _entity;
861
- private _resultLocalVariableEntity;
862
- private _sourceLocation;
553
+ entity: MethodEntity;
554
+ variableEntity: VariableEntity;
555
+ body: BlockStatement;
556
+ sourceLocation: SourceLocation | undefined;
863
557
  readonly kind = NodeKind.PackageVariableGetterDeclaration;
864
- get body(): BlockStatement;
865
- get entity(): GetterEntity;
866
- get resultLocalVariableEntity(): VariableEntity | undefined;
867
- get sourceLocation(): SourceLocation | undefined;
868
- constructor(_body: BlockStatement, _entity: GetterEntity, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
869
- update(body: BlockStatement): void;
558
+ constructor(entity: MethodEntity, variableEntity: VariableEntity, body: BlockStatement, sourceLocation: SourceLocation | undefined);
870
559
  clone(): PackageVariableGetterDeclaration;
871
560
  }
872
561
  export declare class PackageVariableSetterDeclaration {
873
- private _body;
874
- private _entity;
875
- private _paramLocalVariableEntity;
876
- private _valueLocalVariableEntity;
877
- private _sourceLocation;
562
+ entity: MethodEntity;
563
+ variableEntity: VariableEntity;
564
+ body: BlockStatement;
565
+ paramLocalVariableEntity: VariableEntity | undefined;
566
+ valueLocalVariableEntity: VariableEntity;
567
+ sourceLocation: SourceLocation | undefined;
878
568
  readonly kind = NodeKind.PackageVariableSetterDeclaration;
879
- get body(): BlockStatement;
880
- get entity(): SetterEntity;
881
- get paramLocalVariableEntity(): VariableEntity | undefined;
882
- get valueLocalVariableEntity(): VariableEntity;
883
- get sourceLocation(): SourceLocation | undefined;
884
- constructor(_body: BlockStatement, _entity: SetterEntity, _paramLocalVariableEntity: VariableEntity | undefined, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
885
- update(body: BlockStatement): void;
569
+ constructor(entity: MethodEntity, variableEntity: VariableEntity, body: BlockStatement, paramLocalVariableEntity: VariableEntity | undefined, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
886
570
  clone(): PackageVariableSetterDeclaration;
887
571
  }
888
572
  export declare class PackageVariantTypeDeclaration {
889
- private _modifiers;
890
- private _underlyingTypeKind;
891
- private _variants;
892
- private _entity;
893
- private _sourceLocation;
573
+ modifiers: Modifiers;
574
+ underlyingTypeKind: UnderlyingTypeKind;
575
+ variants: readonly VariantDeclaration[];
576
+ entity: TypeOrExtensionEntity;
577
+ sourceLocation: SourceLocation | undefined;
894
578
  readonly kind = NodeKind.PackageVariantTypeDeclaration;
895
- get modifiers(): Modifiers;
896
- get underlyingTypeKind(): UnderlyingTypeKind;
897
- get variants(): readonly VariantDeclaration[];
898
- get entity(): VariantTypeEntity;
899
- get sourceLocation(): SourceLocation | undefined;
900
- constructor(_modifiers: Modifiers, _underlyingTypeKind: UnderlyingTypeKind, _variants: readonly VariantDeclaration[], _entity: VariantTypeEntity, _sourceLocation: SourceLocation | undefined);
901
- update(variants: readonly VariantDeclaration[]): void;
579
+ constructor(modifiers: Modifiers, underlyingTypeKind: UnderlyingTypeKind, variants: readonly VariantDeclaration[], entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
902
580
  clone(): PackageVariantTypeDeclaration;
903
581
  }
904
582
  export declare const enum UnderlyingTypeKind {
@@ -906,550 +584,304 @@ export declare const enum UnderlyingTypeKind {
906
584
  NonNumeric = 1
907
585
  }
908
586
  export declare class VariantDeclaration {
909
- private _value;
910
- private _entity;
911
- private _sourceLocation;
587
+ value: Expression | undefined;
588
+ entity: VariableEntity;
589
+ sourceLocation: SourceLocation | undefined;
912
590
  readonly kind = NodeKind.VariantDeclaration;
913
- get value(): Expression | undefined;
914
- get entity(): VariantEntity;
915
- get sourceLocation(): SourceLocation | undefined;
916
- constructor(_value: Expression | undefined, _entity: VariantEntity, _sourceLocation: SourceLocation | undefined);
917
- update(value: Expression | undefined): void;
591
+ constructor(value: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
918
592
  clone(): VariantDeclaration;
919
593
  }
920
594
  export declare class PrefixUnaryExpression {
921
- private _operator;
922
- private _expression;
923
- private _sourceLocation;
595
+ operator: PrefixUnaryExpressionOperator;
596
+ expression: Expression;
597
+ sourceLocation: SourceLocation | undefined;
924
598
  readonly kind = NodeKind.PrefixUnaryExpression;
925
- get operator(): PrefixUnaryExpressionOperator;
926
- get expression(): Expression;
927
- get sourceLocation(): SourceLocation | undefined;
928
- constructor(_operator: PrefixUnaryExpressionOperator, _expression: Expression, _sourceLocation: SourceLocation | undefined);
929
- update(operator: PrefixUnaryExpressionOperator, expression: Expression): void;
599
+ constructor(operator: PrefixUnaryExpressionOperator, expression: Expression, sourceLocation: SourceLocation | undefined);
930
600
  clone(): PrefixUnaryExpression;
931
601
  }
932
- export declare class PropertyDeclaration {
933
- private _modifiers;
934
- private _variableEntity;
935
- private _getter;
936
- private _setter;
937
- private _sourceLocation;
938
- readonly kind = NodeKind.PropertyDeclaration;
939
- get modifiers(): Modifiers;
940
- get variableEntity(): VariableEntity;
941
- get getter(): TypeVariableGetterDeclaration;
942
- get setter(): TypeVariableSetterDeclaration | undefined;
943
- get sourceLocation(): SourceLocation | undefined;
944
- constructor(_modifiers: Modifiers, _variableEntity: VariableEntity, _getter: TypeVariableGetterDeclaration, _setter: TypeVariableSetterDeclaration | undefined, _sourceLocation: SourceLocation | undefined);
945
- update(variableEntity: VariableEntity, getter: TypeVariableGetterDeclaration, setter: TypeVariableSetterDeclaration | undefined): void;
946
- clone(): PropertyDeclaration;
947
- }
948
602
  export declare class ReferenceExpression {
949
- private _expression;
950
- private _sourceLocation;
603
+ expression: Expression;
604
+ sourceLocation: SourceLocation | undefined;
951
605
  readonly kind = NodeKind.ReferenceExpression;
952
- get expression(): Expression;
953
- get sourceLocation(): SourceLocation | undefined;
954
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
955
- update(expression: Expression): void;
606
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
956
607
  clone(): ReferenceExpression;
957
608
  }
958
609
  export declare class ReturnStatement {
959
- private _expression;
960
- private _sourceLocation;
610
+ expression: Expression | undefined;
611
+ sourceLocation: SourceLocation | undefined;
961
612
  readonly kind = NodeKind.ReturnStatement;
962
- get expression(): Expression | undefined;
963
- get sourceLocation(): SourceLocation | undefined;
964
- constructor(_expression: Expression | undefined, _sourceLocation: SourceLocation | undefined);
965
- update(expression: Expression | undefined): void;
613
+ constructor(expression: Expression | undefined, sourceLocation: SourceLocation | undefined);
966
614
  clone(): ReturnStatement;
967
615
  }
968
616
  export declare class RunStatement {
969
- private _body;
970
- private _clauses;
971
- private _sourceLocation;
617
+ body: BlockStatement;
618
+ onErrorClauses: readonly OnErrorClause[];
619
+ finallyClause: FinallyClause | undefined;
620
+ sourceLocation: SourceLocation | undefined;
972
621
  readonly kind = NodeKind.RunStatement;
973
- get body(): BlockStatement;
974
- get clauses(): readonly BlockStatementClause[];
975
- get sourceLocation(): SourceLocation | undefined;
976
- constructor(_body: BlockStatement, _clauses: readonly BlockStatementClause[], _sourceLocation: SourceLocation | undefined);
977
- update(body: BlockStatement, clauses: readonly BlockStatementClause[]): void;
622
+ constructor(body: BlockStatement, onErrorClauses: readonly OnErrorClause[], finallyClause: FinallyClause | undefined, sourceLocation: SourceLocation | undefined);
978
623
  clone(): RunStatement;
979
624
  }
980
- export declare class SourceFile {
981
- private _leadingStatements;
982
- private _declarations;
983
- private _trailingStatements;
984
- private _sourceLocation;
985
- readonly kind = NodeKind.SourceFile;
986
- get leadingStatements(): readonly Statement[];
987
- get declarations(): readonly PackageMemberDeclaration[];
988
- get trailingStatements(): readonly Statement[];
989
- get sourceLocation(): SourceLocation | undefined;
990
- constructor(_leadingStatements: readonly Statement[], _declarations: readonly PackageMemberDeclaration[], _trailingStatements: readonly Statement[], _sourceLocation: SourceLocation | undefined);
991
- update(leadingStatements: readonly Statement[], declarations: readonly PackageMemberDeclaration[], trailingStatements: readonly Statement[]): void;
992
- clone(): SourceFile;
625
+ export declare class Package {
626
+ leadingStatements: readonly Statement[];
627
+ declarations: readonly PackageMemberDeclaration[];
628
+ trailingStatements: readonly Statement[];
629
+ sourceLocation: SourceLocation | undefined;
630
+ readonly kind = NodeKind.Package;
631
+ constructor(leadingStatements: readonly Statement[], declarations: readonly PackageMemberDeclaration[], trailingStatements: readonly Statement[], sourceLocation: SourceLocation | undefined);
632
+ clone(): Package;
993
633
  }
994
634
  export declare class SwitchStatement {
995
- private _matchExpression;
996
- private _caseClauses;
997
- private _defaultClauseBody;
998
- private _sourceLocation;
635
+ matchExpression: Expression;
636
+ caseClauses: readonly CaseClause[];
637
+ defaultClauseBody: BlockStatement | undefined;
638
+ sourceLocation: SourceLocation | undefined;
999
639
  readonly kind = NodeKind.SwitchStatement;
1000
- get matchExpression(): Expression;
1001
- get caseClauses(): readonly CaseClause[];
1002
- get defaultClauseBody(): BlockStatement | undefined;
1003
- get sourceLocation(): SourceLocation | undefined;
1004
- constructor(_matchExpression: Expression, _caseClauses: readonly CaseClause[], _defaultClauseBody: BlockStatement | undefined, _sourceLocation: SourceLocation | undefined);
1005
- update(matchExpression: Expression, caseClauses: readonly CaseClause[], defaultClauseBody: BlockStatement | undefined): void;
640
+ constructor(matchExpression: Expression, caseClauses: readonly CaseClause[], defaultClauseBody: BlockStatement | undefined, sourceLocation: SourceLocation | undefined);
1006
641
  clone(): SwitchStatement;
1007
642
  }
1008
643
  export declare class CaseClause {
1009
- private _expressions;
1010
- private _body;
644
+ expressions: readonly Expression[];
645
+ body: BlockStatement;
1011
646
  readonly kind = NodeKind.CaseClause;
1012
- get expressions(): readonly Expression[];
1013
- get body(): BlockStatement;
1014
- constructor(_expressions: readonly Expression[], _body: BlockStatement);
1015
- update(expressions: readonly Expression[], body: BlockStatement): void;
647
+ constructor(expressions: readonly Expression[], body: BlockStatement);
1016
648
  clone(): CaseClause;
1017
649
  }
1018
650
  export declare class Tag {
1019
- private _name;
1020
- private _callArguments;
1021
- private _sourceLocation;
651
+ name: Name;
652
+ callArguments: readonly CallArgument[];
653
+ sourceLocation: SourceLocation | undefined;
1022
654
  readonly kind = NodeKind.Tag;
1023
- get name(): Name;
1024
- get callArguments(): readonly CallArgument[];
1025
- get sourceLocation(): SourceLocation | undefined;
1026
- constructor(_name: Name, _callArguments: readonly CallArgument[], _sourceLocation: SourceLocation | undefined);
1027
- update(name: Name, callArguments: readonly CallArgument[]): void;
655
+ constructor(name: Name, callArguments: readonly CallArgument[], sourceLocation: SourceLocation | undefined);
1028
656
  clone(): Tag;
1029
657
  }
1030
658
  export declare class TernaryExpression {
1031
- private _condition;
1032
- private _firstExpression;
1033
- private _secondExpression;
1034
- private _type;
1035
- private _sourceLocation;
659
+ condition: Expression;
660
+ firstExpression: Expression;
661
+ secondExpression: Expression;
662
+ type: Type;
663
+ sourceLocation: SourceLocation | undefined;
1036
664
  readonly kind = NodeKind.TernaryExpression;
1037
- get condition(): Expression;
1038
- get firstExpression(): Expression;
1039
- get secondExpression(): Expression;
1040
- get type(): types.Type;
1041
- get sourceLocation(): SourceLocation | undefined;
1042
- constructor(_condition: Expression, _firstExpression: Expression, _secondExpression: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
1043
- update(condition: Expression, firstExpression: Expression, secondExpression: Expression): void;
665
+ constructor(condition: Expression, firstExpression: Expression, secondExpression: Expression, type: Type, sourceLocation: SourceLocation | undefined);
1044
666
  clone(): TernaryExpression;
1045
667
  }
1046
668
  export declare class TextLiteral {
1047
- private _value;
1048
- private _sourceLocation;
669
+ value: string;
670
+ sourceLocation: SourceLocation | undefined;
1049
671
  readonly kind = NodeKind.TextLiteral;
1050
- get value(): string;
1051
- get sourceLocation(): SourceLocation | undefined;
1052
- constructor(_value: string, _sourceLocation: SourceLocation | undefined);
1053
- update(value: string): void;
672
+ constructor(value: string, sourceLocation: SourceLocation | undefined);
1054
673
  clone(): TextLiteral;
1055
674
  }
1056
675
  export declare class TextTemplateLiteral {
1057
- private _elements;
1058
- private _sourceLocation;
1059
- private _loweringOptions;
676
+ elements: readonly (string | Expression)[];
677
+ sourceLocation: SourceLocation | undefined;
678
+ loweringOptions: TextTemplateLiteralLoweringOptions;
1060
679
  readonly kind = NodeKind.TextTemplateLiteral;
1061
- get elements(): readonly (string | Expression)[];
1062
- get sourceLocation(): SourceLocation | undefined;
1063
- get loweringOptions(): TextTemplateLiteralLoweringOptions;
1064
- constructor(_elements: readonly (string | Expression)[], _sourceLocation: SourceLocation | undefined, _loweringOptions?: TextTemplateLiteralLoweringOptions);
1065
- update(elements: readonly (string | Expression)[], loweringOptions: TextTemplateLiteralLoweringOptions): void;
680
+ constructor(elements: readonly (string | Expression)[], sourceLocation: SourceLocation | undefined, loweringOptions?: TextTemplateLiteralLoweringOptions);
1066
681
  clone(): TextTemplateLiteral;
1067
682
  }
1068
683
  export declare class ThisExpression {
1069
- private _type;
1070
- private _sourceLocation;
684
+ type: Type;
685
+ sourceLocation: SourceLocation | undefined;
1071
686
  readonly kind = NodeKind.ThisExpression;
1072
- get type(): types.Type;
1073
- get sourceLocation(): SourceLocation | undefined;
1074
- constructor(_type: types.Type, _sourceLocation: SourceLocation | undefined);
687
+ constructor(type: Type, sourceLocation: SourceLocation | undefined);
1075
688
  clone(): ThisExpression;
1076
689
  }
1077
- export declare class TransactionalExpression {
1078
- private _expression;
1079
- private _sourceLocation;
1080
- readonly kind = NodeKind.TransactionalExpression;
1081
- get expression(): Expression;
1082
- get sourceLocation(): SourceLocation | undefined;
1083
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
1084
- update(expression: Expression): void;
1085
- clone(): TransactionalExpression;
1086
- }
1087
- export declare class TransactionalStatement {
1088
- private _body;
1089
- private _sourceLocation;
1090
- readonly kind = NodeKind.TransactionalStatement;
1091
- get body(): BlockStatement;
1092
- get sourceLocation(): SourceLocation | undefined;
1093
- constructor(_body: BlockStatement, _sourceLocation: SourceLocation | undefined);
1094
- update(body: BlockStatement): void;
1095
- clone(): TransactionalStatement;
1096
- }
1097
690
  export declare class TryCatchFinallyStatement {
1098
- private _body;
1099
- private _errorParameter;
1100
- private _catchClauseBody;
1101
- private _finallyClauseBody;
1102
- private _sourceLocation;
691
+ body: BlockStatement;
692
+ errorParameter: VariableEntity | undefined;
693
+ catchClauseBody: BlockStatement | undefined;
694
+ finallyClauseBody: BlockStatement | undefined;
695
+ sourceLocation: SourceLocation | undefined;
1103
696
  readonly kind = NodeKind.TryCatchFinallyStatement;
1104
- get body(): BlockStatement;
1105
- get errorParameter(): VariableEntity | undefined;
1106
- get catchClauseBody(): BlockStatement | undefined;
1107
- get finallyClauseBody(): BlockStatement | undefined;
1108
- get sourceLocation(): SourceLocation | undefined;
1109
- constructor(_body: BlockStatement, _errorParameter: VariableEntity | undefined, _catchClauseBody: BlockStatement | undefined, _finallyClauseBody: BlockStatement | undefined, _sourceLocation: SourceLocation | undefined);
1110
- update(body: BlockStatement, errorParameter: VariableEntity | undefined, catchClauseBody: BlockStatement | undefined, finallyClauseBody: BlockStatement | undefined): void;
697
+ constructor(body: BlockStatement, errorParameter: VariableEntity | undefined, catchClauseBody: BlockStatement | undefined, finallyClauseBody: BlockStatement | undefined, sourceLocation: SourceLocation | undefined);
1111
698
  clone(): TryCatchFinallyStatement;
1112
699
  }
1113
700
  export declare class TypeAccessExpression {
1114
- private _entity;
1115
- private _sourceLocation;
701
+ entity: TypeOrExtensionEntity;
702
+ sourceLocation: SourceLocation | undefined;
1116
703
  readonly kind = NodeKind.TypeAccessExpression;
1117
- get entity(): TypeEntity;
1118
- get sourceLocation(): SourceLocation | undefined;
1119
- constructor(_entity: TypeEntity, _sourceLocation: SourceLocation | undefined);
1120
- update(entity: TypeEntity): void;
704
+ constructor(entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
1121
705
  clone(): TypeAccessExpression;
1122
706
  }
1123
707
  export declare class TypeConstructorDeclaration {
1124
- private _valueParameters;
1125
- private _body;
1126
- private _entity;
1127
- private _sourceLocation;
708
+ valueParameters: readonly ValueParameterDeclaration[];
709
+ body: BlockStatement;
710
+ entity: MethodEntity;
711
+ sourceLocation: SourceLocation | undefined;
1128
712
  readonly kind = NodeKind.TypeConstructorDeclaration;
1129
- get valueParameters(): readonly ValueParameterDeclaration[];
1130
- get body(): BlockStatement;
1131
- get entity(): ConstructorEntity;
1132
- get sourceLocation(): SourceLocation | undefined;
1133
- constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: ConstructorEntity, _sourceLocation: SourceLocation | undefined);
1134
- update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement): void;
713
+ constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
1135
714
  clone(): TypeConstructorDeclaration;
1136
715
  }
1137
- export declare class TypeDereferenceOperatorDeclaration {
1138
- private _modifiers;
1139
- private _getter;
1140
- private _setter;
1141
- private _entity;
1142
- private _sourceLocation;
1143
- readonly kind = NodeKind.TypeDereferenceOperatorDeclaration;
1144
- get modifiers(): Modifiers;
1145
- get getter(): TypeDereferencedVariableGetterDeclaration;
1146
- get setter(): TypeDereferencedVariableSetterDeclaration | undefined;
1147
- get entity(): DereferenceOperatorEntity;
1148
- get sourceLocation(): SourceLocation | undefined;
1149
- constructor(_modifiers: Modifiers, _getter: TypeDereferencedVariableGetterDeclaration, _setter: TypeDereferencedVariableSetterDeclaration | undefined, _entity: DereferenceOperatorEntity, _sourceLocation: SourceLocation | undefined);
1150
- update(modifiers: Modifiers, getter: TypeDereferencedVariableGetterDeclaration, setter: TypeDereferencedVariableSetterDeclaration | undefined, entity: DereferenceOperatorEntity): void;
1151
- clone(): TypeDereferenceOperatorDeclaration;
1152
- }
1153
716
  export declare class TypeDereferencedVariableGetterDeclaration {
1154
- private _body;
1155
- private _entity;
1156
- private _resultLocalVariableEntity;
1157
- private _sourceLocation;
717
+ entity: MethodEntity;
718
+ modifiers: Modifiers;
719
+ body: BlockStatement;
720
+ sourceLocation: SourceLocation | undefined;
1158
721
  readonly kind = NodeKind.TypeDereferencedVariableGetterDeclaration;
1159
- get body(): BlockStatement;
1160
- get entity(): GetterEntity;
1161
- get resultLocalVariableEntity(): VariableEntity | undefined;
1162
- get sourceLocation(): SourceLocation | undefined;
1163
- constructor(_body: BlockStatement, _entity: GetterEntity, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
1164
- update(body: BlockStatement): void;
722
+ constructor(entity: MethodEntity, modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
1165
723
  clone(): TypeDereferencedVariableGetterDeclaration;
1166
724
  }
1167
725
  export declare class TypeDereferencedVariableSetterDeclaration {
1168
- private _body;
1169
- private _entity;
1170
- private _paramLocalVariableEntity;
1171
- private _valueLocalVariableEntity;
1172
- private _sourceLocation;
726
+ entity: MethodEntity;
727
+ modifiers: Modifiers;
728
+ body: BlockStatement;
729
+ paramLocalVariableEntity: VariableEntity;
730
+ valueLocalVariableEntity: VariableEntity;
731
+ sourceLocation: SourceLocation | undefined;
1173
732
  readonly kind = NodeKind.TypeDereferencedVariableSetterDeclaration;
1174
- get body(): BlockStatement;
1175
- get entity(): SetterEntity;
1176
- get paramLocalVariableEntity(): VariableEntity;
1177
- get valueLocalVariableEntity(): VariableEntity;
1178
- get sourceLocation(): SourceLocation | undefined;
1179
- constructor(_body: BlockStatement, _entity: SetterEntity, _paramLocalVariableEntity: VariableEntity, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1180
- update(body: BlockStatement): void;
733
+ constructor(entity: MethodEntity, modifiers: Modifiers, body: BlockStatement, paramLocalVariableEntity: VariableEntity, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
1181
734
  clone(): TypeDereferencedVariableSetterDeclaration;
1182
735
  }
1183
736
  export declare class TypeDestructorDeclaration {
1184
- private _valueParameters;
1185
- private _body;
1186
- private _entity;
1187
- private _sourceLocation;
737
+ valueParameters: readonly ValueParameterDeclaration[];
738
+ body: BlockStatement;
739
+ entity: MethodEntity;
740
+ sourceLocation: SourceLocation | undefined;
1188
741
  readonly kind = NodeKind.TypeDestructorDeclaration;
1189
- get valueParameters(): readonly ValueParameterDeclaration[];
1190
- get body(): BlockStatement;
1191
- get entity(): DestructorEntity;
1192
- get sourceLocation(): SourceLocation | undefined;
1193
- constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: DestructorEntity, _sourceLocation: SourceLocation | undefined);
1194
- update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement): void;
742
+ constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
1195
743
  clone(): TypeDestructorDeclaration;
1196
744
  }
1197
- export declare class TypeExtensionDeclaration {
1198
- private _members;
1199
- private _entity;
1200
- private _sourceLocation;
1201
- readonly kind = NodeKind.TypeExtensionDeclaration;
1202
- get members(): readonly TypeMemberDeclaration[];
1203
- get entity(): TypeExtensionEntity;
1204
- get sourceLocation(): SourceLocation | undefined;
1205
- constructor(_members: readonly TypeMemberDeclaration[], _entity: TypeExtensionEntity, _sourceLocation: SourceLocation | undefined);
1206
- update(members: readonly TypeMemberDeclaration[]): void;
1207
- clone(): TypeExtensionDeclaration;
1208
- }
1209
745
  export declare class TypeIndexedGetterDeclaration {
1210
- private _body;
1211
- private _entity;
1212
- private _resultLocalVariableEntity;
1213
- private _paramVLocalVariableEntity;
1214
- private _sourceLocation;
746
+ entity: MethodEntity;
747
+ modifiers: Modifiers;
748
+ valueParameters: readonly ValueParameterDeclaration[];
749
+ body: BlockStatement;
750
+ paramLocalVariableEntity: VariableEntity;
751
+ sourceLocation: SourceLocation | undefined;
1215
752
  readonly kind = NodeKind.TypeIndexedGetterDeclaration;
1216
- get body(): BlockStatement;
1217
- get entity(): GetterEntity;
1218
- get resultLocalVariableEntity(): VariableEntity | undefined;
1219
- get paramLocalVariableEntity(): VariableEntity;
1220
- get sourceLocation(): SourceLocation | undefined;
1221
- constructor(_body: BlockStatement, _entity: GetterEntity, _resultLocalVariableEntity: VariableEntity | undefined, _paramVLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1222
- update(body: BlockStatement): void;
753
+ constructor(entity: MethodEntity, modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, paramLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
1223
754
  clone(): TypeIndexedGetterDeclaration;
1224
755
  }
1225
756
  export declare class TypeIndexedSetterDeclaration {
1226
- private _body;
1227
- private _entity;
1228
- private _paramLocalVariableEntity;
1229
- private _valueLocalVariableEntity;
1230
- private _sourceLocation;
757
+ entity: MethodEntity;
758
+ modifiers: Modifiers;
759
+ valueParameters: readonly ValueParameterDeclaration[];
760
+ body: BlockStatement;
761
+ paramLocalVariableEntity: VariableEntity;
762
+ valueLocalVariableEntity: VariableEntity;
763
+ sourceLocation: SourceLocation | undefined;
1231
764
  readonly kind = NodeKind.TypeIndexedSetterDeclaration;
1232
- get body(): BlockStatement;
1233
- get entity(): SetterEntity;
1234
- get paramLocalVariableEntity(): VariableEntity;
1235
- get valueLocalVariableEntity(): VariableEntity;
1236
- get sourceLocation(): SourceLocation | undefined;
1237
- constructor(_body: BlockStatement, _entity: SetterEntity, _paramLocalVariableEntity: VariableEntity, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1238
- update(body: BlockStatement): void;
765
+ constructor(entity: MethodEntity, modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, paramLocalVariableEntity: VariableEntity, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
1239
766
  clone(): TypeIndexedSetterDeclaration;
1240
767
  }
1241
- export declare class TypeIndexerDeclaration {
1242
- private _modifiers;
1243
- private _valueParameters;
1244
- private _getter;
1245
- private _setter;
1246
- private _entity;
1247
- private _sourceLocation;
1248
- readonly kind = NodeKind.TypeIndexerDeclaration;
1249
- get modifiers(): Modifiers;
1250
- get valueParameters(): readonly ValueParameterDeclaration[];
1251
- get getter(): TypeIndexedGetterDeclaration | undefined;
1252
- get setter(): TypeIndexedSetterDeclaration | undefined;
1253
- get entity(): IndexerEntity;
1254
- get sourceLocation(): SourceLocation | undefined;
1255
- constructor(_modifiers: Modifiers, _valueParameters: readonly ValueParameterDeclaration[], _getter: TypeIndexedGetterDeclaration | undefined, _setter: TypeIndexedSetterDeclaration | undefined, _entity: IndexerEntity, _sourceLocation: SourceLocation | undefined);
1256
- update(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], getter: TypeIndexedGetterDeclaration | undefined, setter: TypeIndexedSetterDeclaration | undefined, entity: IndexerEntity): void;
1257
- clone(): TypeIndexerDeclaration;
1258
- }
1259
768
  export declare class TypeMethodAccessExpression {
1260
- private _expression;
1261
- private _isOptionalChaining;
1262
- private _method;
1263
- private _isCallee;
1264
- private _sourceLocation;
1265
- private _loweringOptions;
769
+ expression: Expression;
770
+ isOptionalChaining: boolean;
771
+ method: AccessedMethod;
772
+ isCallee: boolean;
773
+ sourceLocation: SourceLocation | undefined;
774
+ loweringOptions: MethodAccessLoweringOptions;
1266
775
  readonly kind = NodeKind.TypeMethodAccessExpression;
1267
- get expression(): Expression;
1268
- get isOptionalChaining(): boolean;
1269
- get method(): AccessedMethod;
1270
- get isCallee(): boolean;
1271
- get loweringOptions(): MethodAccessLoweringOptions;
1272
- get sourceLocation(): SourceLocation | undefined;
1273
- constructor(_expression: Expression, _isOptionalChaining: boolean, _method: AccessedMethod, _isCallee: boolean, _sourceLocation: SourceLocation | undefined, _loweringOptions?: MethodAccessLoweringOptions);
1274
- update(expression: Expression, isOptionalChaining: boolean, method: AccessedMethod, loweringOptions: MethodAccessLoweringOptions): void;
776
+ constructor(expression: Expression, isOptionalChaining: boolean, method: AccessedMethod, isCallee: boolean, sourceLocation: SourceLocation | undefined, loweringOptions?: MethodAccessLoweringOptions);
1275
777
  clone(): TypeMethodAccessExpression;
1276
778
  }
1277
779
  export declare class TypeMethodDeclaration {
1278
- private _modifiers;
1279
- private _valueParameters;
1280
- private _body;
1281
- private _entity;
1282
- private _resultLocalVariableEntity;
1283
- private _isGenerator;
1284
- private _isComputed;
1285
- private _sourceLocation;
780
+ modifiers: Modifiers;
781
+ valueParameters: readonly ValueParameterDeclaration[];
782
+ body: BlockStatement;
783
+ entity: MethodEntity;
784
+ isGenerator: boolean;
785
+ isComputed: ComputedTypeMethodInfo | undefined;
786
+ sourceLocation: SourceLocation | undefined;
1286
787
  readonly kind = NodeKind.TypeMethodDeclaration;
1287
- get modifiers(): Modifiers;
1288
- get valueParameters(): readonly ValueParameterDeclaration[];
1289
- get body(): BlockStatement;
1290
- get entity(): TypeMethodEntity;
1291
- get resultLocalVariableEntity(): VariableEntity | undefined;
1292
- get isGenerator(): boolean;
1293
- get isComputed(): ComputedTypeMethodInfo | undefined;
1294
- get sourceLocation(): SourceLocation | undefined;
1295
- constructor(_modifiers: Modifiers, _valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: TypeMethodEntity, _resultLocalVariableEntity: VariableEntity | undefined, _isGenerator: boolean, _isComputed: ComputedTypeMethodInfo | undefined, _sourceLocation: SourceLocation | undefined);
1296
- update(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: TypeMethodEntity, isComputed: ComputedTypeMethodInfo | undefined): void;
788
+ constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean, isComputed: ComputedTypeMethodInfo | undefined, sourceLocation: SourceLocation | undefined);
1297
789
  clone(): TypeMethodDeclaration;
1298
790
  }
1299
791
  export type ComputedTypeMethodInfo = {
1300
792
  readonly key: Expression;
1301
793
  };
1302
794
  export declare class TypeVariableAccessExpression {
1303
- private _expression;
1304
- private _isOptionalChaining;
1305
- private _variable;
1306
- private _access;
1307
- private _sourceLocation;
795
+ expression: Expression;
796
+ isOptionalChaining: boolean;
797
+ variable: AccessedVariable;
798
+ accessKind: AccessKind;
799
+ sourceLocation: SourceLocation | undefined;
1308
800
  readonly kind = NodeKind.TypeVariableAccessExpression;
1309
- get expression(): Expression;
1310
- get isOptionalChaining(): boolean;
1311
- get variable(): AccessedVariable;
1312
- get access(): variableAccess.VariableAccess;
1313
- get sourceLocation(): SourceLocation | undefined;
1314
- constructor(_expression: Expression, _isOptionalChaining: boolean, _variable: AccessedVariable, _access: variableAccess.VariableAccess, _sourceLocation: SourceLocation | undefined);
801
+ constructor(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable, accessKind: AccessKind, sourceLocation: SourceLocation | undefined);
1315
802
  static get(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable | VariableEntity, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
1316
803
  static set(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable | VariableEntity, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
1317
- update(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable, access: variableAccess.VariableAccess): void;
1318
804
  clone(): TypeVariableAccessExpression;
1319
805
  }
1320
806
  export declare class TypeVariableDeclaration {
1321
- private _modifiers;
1322
- private _initializer;
1323
- private _getter;
1324
- private _setter;
1325
- private _entity;
1326
- private _sourceLocation;
807
+ modifiers: Modifiers;
808
+ initializer: Expression | undefined;
809
+ entity: VariableEntity;
810
+ sourceLocation: SourceLocation | undefined;
1327
811
  readonly kind = NodeKind.TypeVariableDeclaration;
1328
- get modifiers(): Modifiers;
1329
- get initializer(): Expression | undefined;
1330
- get getter(): TypeVariableGetterDeclaration | undefined;
1331
- get setter(): TypeVariableSetterDeclaration | undefined;
1332
- get entity(): TypeVariableEntity;
1333
- get sourceLocation(): SourceLocation | undefined;
1334
- constructor(_modifiers: Modifiers, _initializer: Expression | undefined, _getter: TypeVariableGetterDeclaration | undefined, _setter: TypeVariableSetterDeclaration | undefined, _entity: TypeVariableEntity, _sourceLocation: SourceLocation | undefined);
1335
- update(modifiers: Modifiers, initializer: Expression | undefined, getter: TypeVariableGetterDeclaration | undefined, setter: TypeVariableSetterDeclaration | undefined): void;
812
+ constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
1336
813
  clone(): TypeVariableDeclaration;
1337
814
  }
1338
815
  export declare class TypeVariableGetterDeclaration {
1339
- private _body;
1340
- private _resultLocalVariableEntity;
1341
- private _sourceLocation;
816
+ entity: MethodEntity;
817
+ variableEntity: VariableEntity;
818
+ modifiers: Modifiers;
819
+ body: BlockStatement;
820
+ sourceLocation: SourceLocation | undefined;
1342
821
  readonly kind = NodeKind.TypeVariableGetterDeclaration;
1343
- get body(): BlockStatement;
1344
- get resultLocalVariableEntity(): VariableEntity | undefined;
1345
- get sourceLocation(): SourceLocation | undefined;
1346
- constructor(_body: BlockStatement, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
1347
- update(body: BlockStatement): void;
822
+ constructor(entity: MethodEntity, variableEntity: VariableEntity, modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
1348
823
  clone(): TypeVariableGetterDeclaration;
1349
824
  }
1350
825
  export declare class TypeVariableSetterDeclaration {
1351
- private _body;
1352
- private _paramLocalVariableEntity;
1353
- private _valueLocalVariableEntity;
1354
- private _sourceLocation;
826
+ entity: MethodEntity;
827
+ variableEntity: VariableEntity;
828
+ modifiers: Modifiers;
829
+ body: BlockStatement;
830
+ paramLocalVariableEntity: VariableEntity | undefined;
831
+ valueLocalVariableEntity: VariableEntity;
832
+ sourceLocation: SourceLocation | undefined;
1355
833
  readonly kind = NodeKind.TypeVariableSetterDeclaration;
1356
- get body(): BlockStatement;
1357
- get paramLocalVariableEntity(): VariableEntity | undefined;
1358
- get valueLocalVariableEntity(): VariableEntity;
1359
- get sourceLocation(): SourceLocation | undefined;
1360
- constructor(_body: BlockStatement, _paramLocalVariableEntity: VariableEntity | undefined, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1361
- update(body: BlockStatement): void;
834
+ constructor(entity: MethodEntity, variableEntity: VariableEntity, modifiers: Modifiers, body: BlockStatement, paramLocalVariableEntity: VariableEntity | undefined, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
1362
835
  clone(): TypeVariableSetterDeclaration;
1363
836
  }
1364
- export declare class UnobservableExpression {
1365
- private _expression;
1366
- private _sourceLocation;
1367
- readonly kind = NodeKind.UnobservableExpression;
1368
- get expression(): Expression;
1369
- get sourceLocation(): SourceLocation | undefined;
1370
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
1371
- update(expression: Expression): void;
1372
- clone(): UnobservableExpression;
1373
- }
1374
- export declare class UnobservableStatement {
1375
- private _body;
1376
- private _sourceLocation;
1377
- readonly kind = NodeKind.UnobservableStatement;
1378
- get body(): BlockStatement;
1379
- get sourceLocation(): SourceLocation | undefined;
1380
- constructor(_body: BlockStatement, _sourceLocation: SourceLocation | undefined);
1381
- update(body: BlockStatement): void;
1382
- clone(): UnobservableStatement;
1383
- }
1384
837
  export declare class ValueParameterDeclaration {
1385
- private _entity;
1386
- private _defaultValue;
838
+ entity: VariableEntity;
839
+ defaultValue: Expression | undefined;
1387
840
  /**
1388
841
  * ...param
1389
842
  */
1390
- private _isRest;
1391
- private _sourceLocation;
843
+ isRest: boolean;
844
+ sourceLocation: SourceLocation | undefined;
1392
845
  readonly kind = NodeKind.ValueParameterDeclaration;
1393
- get entity(): VariableEntity;
1394
- get defaultValue(): Expression | undefined;
1395
- get isRest(): boolean;
1396
- get sourceLocation(): SourceLocation | undefined;
1397
- constructor(_entity: VariableEntity, _defaultValue: Expression | undefined,
846
+ constructor(entity: VariableEntity, defaultValue: Expression | undefined,
1398
847
  /**
1399
848
  * ...param
1400
849
  */
1401
- _isRest: boolean, _sourceLocation: SourceLocation | undefined);
1402
- update(defaultValue: Expression | undefined): void;
850
+ isRest: boolean, sourceLocation: SourceLocation | undefined);
1403
851
  clone(): ValueParameterDeclaration;
1404
852
  }
1405
853
  export declare class VariableAccessExpression {
1406
- private _variable;
1407
- private _access;
1408
- private _sourceLocation;
854
+ variable: AccessedVariable;
855
+ accessKind: AccessKind;
856
+ sourceLocation: SourceLocation | undefined;
1409
857
  readonly kind = NodeKind.VariableAccessExpression;
1410
- get variable(): AccessedVariable;
1411
- get access(): variableAccess.VariableAccess;
1412
- get sourceLocation(): SourceLocation | undefined;
1413
- constructor(_variable: AccessedVariable, _access: variableAccess.VariableAccess, _sourceLocation: SourceLocation | undefined);
858
+ constructor(variable: AccessedVariable, accessKind: AccessKind, sourceLocation: SourceLocation | undefined);
1414
859
  static get(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
1415
860
  static set(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
1416
- update(variable: AccessedVariable, access: variableAccess.VariableAccess): void;
1417
861
  clone(): VariableAccessExpression;
1418
862
  }
1419
863
  export declare class VariantAccessExpression {
1420
- private _typeAccess;
1421
- private _entity;
1422
- private _sourceLocation;
864
+ typeAccess: TypeAccessExpression;
865
+ entity: VariableEntity;
866
+ sourceLocation: SourceLocation | undefined;
1423
867
  readonly kind = NodeKind.VariantAccessExpression;
1424
- get typeAccess(): TypeAccessExpression;
1425
- get entity(): VariantEntity;
1426
- get sourceLocation(): SourceLocation | undefined;
1427
- constructor(_typeAccess: TypeAccessExpression, _entity: VariantEntity, _sourceLocation: SourceLocation | undefined);
1428
- update(typeAccess: TypeAccessExpression, entity: VariantEntity): void;
868
+ constructor(typeAccess: TypeAccessExpression, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
1429
869
  clone(): VariantAccessExpression;
1430
870
  }
1431
871
  export declare class WhileStatement {
1432
- private _label;
1433
- private _condition;
1434
- private _body;
1435
- private _sourceLocation;
872
+ label: string | undefined;
873
+ condition: Expression;
874
+ body: BlockStatement;
875
+ sourceLocation: SourceLocation | undefined;
1436
876
  readonly kind = NodeKind.WhileStatement;
1437
- get label(): string | undefined;
1438
- get condition(): Expression;
1439
- get body(): BlockStatement;
1440
- get sourceLocation(): SourceLocation | undefined;
1441
- constructor(_label: string | undefined, _condition: Expression, _body: BlockStatement, _sourceLocation: SourceLocation | undefined);
1442
- update(condition: Expression, body: BlockStatement): void;
877
+ constructor(label: string | undefined, condition: Expression, body: BlockStatement, sourceLocation: SourceLocation | undefined);
1443
878
  clone(): WhileStatement;
1444
879
  }
1445
880
  export declare class YieldStatement {
1446
- private _expression;
1447
- private _sourceLocation;
881
+ expression: Expression;
882
+ sourceLocation: SourceLocation | undefined;
1448
883
  readonly kind = NodeKind.YieldStatement;
1449
- get expression(): Expression;
1450
- get sourceLocation(): SourceLocation | undefined;
1451
- constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
1452
- update(expression: Expression): void;
884
+ constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
1453
885
  clone(): YieldStatement;
1454
886
  }
1455
887
  export declare const enum NodeKind {
@@ -1474,92 +906,82 @@ export declare const enum NodeKind {
1474
906
  ExpressionStatement = 18,
1475
907
  FinallyClause = 19,
1476
908
  ForStatement = 20,
1477
- PackageConstructorDeclaration = 21,
1478
- PackageEntryPointDeclaration = 22,
1479
- PackageMethodDeclaration = 23,
1480
- PackageTypeDeclaration = 24,
1481
- PackageVariableDeclaration = 25,
1482
- PackageVariableGetterDeclaration = 26,
1483
- PackageVariableSetterDeclaration = 27,
1484
- PackageVariantTypeDeclaration = 28,
1485
- IfStatement = 29,
1486
- IndexedAccessExpression = 30,
1487
- IntegerLiteral = 31,
1488
- HelperMethodCallExpression = 32,
1489
- IsExpression = 33,
1490
- NestedMethodDeclaration = 34,
1491
- NestedMethodDeclarationStatement = 35,
1492
- LocalVariableDeclaration = 36,
1493
- LocalVariableDeclarationStatement = 37,
1494
- NotExpression = 38,
1495
- NumericLiteral = 39,
1496
- OnErrorClause = 40,
1497
- MethodLiteral = 41,
1498
- PrefixUnaryExpression = 42,
1499
- MeasureLiteral = 43,
1500
- ReferenceExpression = 44,
1501
- LoopStatement = 45,
1502
- ReturnStatement = 46,
1503
- SourceFile = 47,
1504
- TextLiteral = 48,
1505
- TextTemplateLiteral = 49,
1506
- TypeConstructorDeclaration = 50,
1507
- TypeDestructorDeclaration = 51,
1508
- TypeExtensionDeclaration = 52,
1509
- TypeIndexerDeclaration = 53,
1510
- TypeIndexedGetterDeclaration = 54,
1511
- TypeIndexedSetterDeclaration = 55,
1512
- TypeMethodDeclaration = 56,
1513
- TypeVariableDeclaration = 57,
1514
- TypeVariableGetterDeclaration = 58,
1515
- TypeVariableSetterDeclaration = 59,
1516
- SwitchStatement = 60,
1517
- Tag = 61,
1518
- TernaryExpression = 62,
1519
- ThisExpression = 63,
1520
- ValueParameterDeclaration = 64,
1521
- VariantDeclaration = 65,
1522
- WhileStatement = 66,
1523
- YieldStatement = 67,
1524
- ArrayLiteral = 68,
1525
- TypeAccessExpression = 69,
1526
- VariableAccessExpression = 70,
1527
- MethodAccessExpression = 71,
1528
- ImplicitVariantAccessExpression = 72,
1529
- VariantAccessExpression = 73,
1530
- TypeVariableAccessExpression = 74,
1531
- TypeMethodAccessExpression = 75,
1532
- PropertyDeclaration = 76,
1533
- ConstructorCallExpression = 77,
1534
- TryCatchFinallyStatement = 78,
1535
- InlineJsExpression = 79,
1536
- AssignmentExpression = 80,
1537
- CommaExpression = 81,
1538
- SuperExpression = 82,
1539
- BaseConstructorCallExpression = 83,
1540
- JsImportSpecifier = 84,
1541
- JsIndexedAccessExpression = 85,
1542
- EsModuleImportDirectiveStatement = 86,
1543
- CjsModuleImportDirectiveStatement = 87,
1544
- JsObjectLiteral = 88,
1545
- JsObjectLiteralProperty = 89,
1546
- JsPropertyAccessExpression = 90,
1547
- JsFunctionLiteral = 91,
1548
- ImplicitConversionExpression = 92,
1549
- JsTypeOfExpression = 93,
1550
- JsInstanceOfExpression = 94,
1551
- UnobservableStatement = 95,
1552
- TransactionalStatement = 96,
1553
- TransactionalExpression = 97,
1554
- UnobservableExpression = 98,
1555
- JsIdentifierExpression = 99,
1556
- DereferenceExpression = 100,
1557
- BaseExpression = 101,
1558
- OwnConstructorCallExpression = 102,
1559
- TypeDereferenceOperatorDeclaration = 103,
1560
- TypeDereferencedVariableGetterDeclaration = 104,
1561
- TypeDereferencedVariableSetterDeclaration = 105,
1562
- JsNamespaceDestructuringStatement = 106
909
+ PackageMethodDeclaration = 21,
910
+ PackageTypeDeclaration = 22,
911
+ PackageVariableDeclaration = 23,
912
+ PackageVariableGetterDeclaration = 24,
913
+ PackageVariableSetterDeclaration = 25,
914
+ PackageVariantTypeDeclaration = 26,
915
+ IfStatement = 27,
916
+ IndexedAccessExpression = 28,
917
+ IntegerLiteral = 29,
918
+ HelperMethodCallExpression = 30,
919
+ IsExpression = 31,
920
+ NestedMethodDeclaration = 32,
921
+ NestedMethodDeclarationStatement = 33,
922
+ LocalVariableDeclaration = 34,
923
+ LocalVariableDeclarationStatement = 35,
924
+ NotExpression = 36,
925
+ NumericLiteral = 37,
926
+ OnErrorClause = 38,
927
+ MethodLiteral = 39,
928
+ PrefixUnaryExpression = 40,
929
+ MeasureLiteral = 41,
930
+ ReferenceExpression = 42,
931
+ LoopStatement = 43,
932
+ ReturnStatement = 44,
933
+ Package = 45,
934
+ TextLiteral = 46,
935
+ TextTemplateLiteral = 47,
936
+ TypeConstructorDeclaration = 48,
937
+ TypeDestructorDeclaration = 49,
938
+ TypeIndexedGetterDeclaration = 50,
939
+ TypeIndexedSetterDeclaration = 51,
940
+ TypeMethodDeclaration = 52,
941
+ TypeVariableDeclaration = 53,
942
+ TypeVariableGetterDeclaration = 54,
943
+ TypeVariableSetterDeclaration = 55,
944
+ SwitchStatement = 56,
945
+ Tag = 57,
946
+ TernaryExpression = 58,
947
+ ThisExpression = 59,
948
+ ValueParameterDeclaration = 60,
949
+ VariantDeclaration = 61,
950
+ WhileStatement = 62,
951
+ YieldStatement = 63,
952
+ ArrayLiteral = 64,
953
+ TypeAccessExpression = 65,
954
+ VariableAccessExpression = 66,
955
+ MethodAccessExpression = 67,
956
+ ImplicitVariantAccessExpression = 68,
957
+ VariantAccessExpression = 69,
958
+ TypeVariableAccessExpression = 70,
959
+ TypeMethodAccessExpression = 71,
960
+ ConstructorCallExpression = 72,
961
+ TryCatchFinallyStatement = 73,
962
+ InlineJsExpression = 74,
963
+ AssignmentExpression = 75,
964
+ CommaExpression = 76,
965
+ BaseConstructorCallExpression = 77,
966
+ JsImportSpecifier = 78,
967
+ JsIndexedAccessExpression = 79,
968
+ EsModuleImportDirectiveStatement = 80,
969
+ CjsModuleImportDirectiveStatement = 81,
970
+ JsObjectLiteral = 82,
971
+ JsObjectLiteralProperty = 83,
972
+ JsPropertyAccessExpression = 84,
973
+ JsFunctionLiteral = 85,
974
+ JsTypeOfExpression = 86,
975
+ JsInstanceOfExpression = 87,
976
+ TransactionalExpression = 88,
977
+ UnobservableExpression = 89,
978
+ JsIdentifierExpression = 90,
979
+ DereferenceExpression = 91,
980
+ BaseExpression = 92,
981
+ OwnConstructorCallExpression = 93,
982
+ TypeDereferencedVariableGetterDeclaration = 94,
983
+ TypeDereferencedVariableSetterDeclaration = 95,
984
+ JsNamespaceDestructuringStatement = 96
1563
985
  }
1564
986
  export declare const enum PrefixUnaryExpressionOperator {
1565
987
  Plus = 0,