@artel/artc 0.6.25263 → 0.6.25265
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.
- package/build/Cli.js +3 -3
- package/build/api/Api.js +8 -10
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +317 -337
- package/build/{chunk-OB2WGYLS.js → chunk-7MWYN6O7.js} +2419 -1586
- package/build/{chunk-CUKH4EK5.js → chunk-H4KRG6OZ.js} +2 -2
- package/build/{chunk-TADWLWRQ.js → chunk-ZL6MDCED.js} +1 -1
- package/build/types/analysis/AnalyzedTextTranslationPackage.d.ts +21 -0
- package/build/types/analysis/Analyzer.d.ts +15 -9
- package/build/types/analysis/DiagnosticCollector.d.ts +2 -0
- package/build/types/analysis/control-flow/NarrowableReference.d.ts +3 -3
- package/build/types/analysis/semantic-context/SemanticContext.d.ts +2 -3
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +11 -1
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +10 -10
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +7 -7
- package/build/types/analysis/semantic-context/SpecialLocalDeclarationsBuilder.d.ts +1 -0
- package/build/types/analysis/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +34 -12
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +9 -0
- package/build/types/common/Query.d.ts +1 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +1 -0
- package/build/types/emitter/EmitPhaseName.d.ts +3 -0
- package/build/types/emitter/Emitter.d.ts +1 -2
- package/build/types/emitter/Entities.d.ts +5 -0
- package/build/types/emitter/GeneralLowering.d.ts +1 -2
- package/build/types/emitter/IrBuilder.d.ts +1 -1
- package/build/types/emitter/IrFactory.d.ts +12 -0
- package/build/types/emitter/ir/Nodes.d.ts +205 -199
- package/build/types/entities/PackageEntity.d.ts +14 -3
- package/build/types/entities/StructuredTypeEntity.d.ts +1 -0
- package/build/types/entities/TextTranslationEntity.d.ts +45 -0
- package/build/types/entities/VariableEntity.d.ts +7 -16
- package/build/types/entities/index.d.ts +4 -4
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +3 -2
- package/build/types/parser/TokenKind.d.ts +56 -55
- package/build/types/parser/UnescapeText.d.ts +1 -0
- package/build/types/project/SourcePackage.d.ts +7 -3
- package/build/types/project/configuration/ConfigurationConverter.d.ts +3 -0
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +3 -0
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +3 -0
- package/build/types/services/DisplayService.d.ts +1 -1
- package/build/types/services/NodeSemanticInfo.d.ts +8 -2
- package/build/types/tree/NodeKind.d.ts +21 -20
- package/build/types/tree/Nodes.d.ts +45 -18
- package/build/types/tree/Token.d.ts +4 -1
- package/build/types/ts-interop/Entities.d.ts +5 -3
- package/build/types/ts-interop/TsInteropContext.d.ts +3 -2
- package/package.json +1 -1
- package/build/types/analysis/semantic-context/TranslationTextTemplateSemanticContext.d.ts +0 -13
- package/build/types/entities/LocalizableTextEntity.d.ts +0 -80
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { AccessKind } from '../../common/index.js';
|
|
2
|
-
import { FunctionEntity, NamedEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
|
|
2
|
+
import { FunctionEntity, NamedEntity, PackageEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
|
|
3
3
|
import { AccessedFunction, AccessedVariable } from './AccessedEntities.js';
|
|
4
4
|
import { ComputedAccess } from './ComputedAccess.js';
|
|
5
5
|
import { AssignmentEmitOptions, CallExpressionEmitOptions, ConstructorCallExpressionEmitOptions, DeclarationWithInitializerEmitOptions, ErrorStatementEmitOptions, FieldAccessExpressionEmitOptions, FieldDeclarationEmitOptions, ForStatementEmitOptions, FunctionAccessExpressionEmitOptions, FunctionLiteralEmitOptions, MethodDeclarationEmitOptions, PackageVariableDeclarationEmitOptions, TextTemplateEmitOptions } from './EmitOptions.js';
|
|
6
6
|
import { SourceLocation } from './SourceLocation.js';
|
|
7
7
|
import { Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
|
|
8
8
|
export declare class Package {
|
|
9
|
+
entity: PackageEntity;
|
|
9
10
|
leadingStatements: readonly Statement[];
|
|
10
11
|
declarations: readonly PackageMemberDeclaration[];
|
|
11
12
|
translations: readonly TextTranslationDeclaration[];
|
|
12
13
|
trailingStatements: readonly Statement[];
|
|
14
|
+
defaultExportExpression: Expression | undefined;
|
|
13
15
|
sourceLocation: SourceLocation | undefined;
|
|
14
16
|
readonly kind = NodeKind.Package;
|
|
15
|
-
constructor(leadingStatements: readonly Statement[], declarations: readonly PackageMemberDeclaration[], translations: readonly TextTranslationDeclaration[], trailingStatements: readonly Statement[], sourceLocation: SourceLocation | undefined);
|
|
17
|
+
constructor(entity: PackageEntity, leadingStatements: readonly Statement[], declarations: readonly PackageMemberDeclaration[], translations: readonly TextTranslationDeclaration[], trailingStatements: readonly Statement[], defaultExportExpression: Expression | undefined, sourceLocation: SourceLocation | undefined);
|
|
16
18
|
clone(): Package;
|
|
17
19
|
}
|
|
18
20
|
export declare class PackageFunctionDeclaration {
|
|
@@ -21,9 +23,9 @@ export declare class PackageFunctionDeclaration {
|
|
|
21
23
|
body: BlockStatement;
|
|
22
24
|
entity: FunctionEntity;
|
|
23
25
|
isGenerator: boolean;
|
|
24
|
-
sourceLocation
|
|
26
|
+
sourceLocation?: SourceLocation | undefined;
|
|
25
27
|
readonly kind = NodeKind.PackageFunctionDeclaration;
|
|
26
|
-
constructor(modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isGenerator: boolean, sourceLocation
|
|
28
|
+
constructor(modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isGenerator: boolean, sourceLocation?: SourceLocation | undefined);
|
|
27
29
|
clone(): PackageFunctionDeclaration;
|
|
28
30
|
}
|
|
29
31
|
export declare class PackageTypeDeclaration {
|
|
@@ -31,28 +33,28 @@ export declare class PackageTypeDeclaration {
|
|
|
31
33
|
modifiers: Modifiers;
|
|
32
34
|
members: readonly TypeMemberDeclaration[];
|
|
33
35
|
entity: TypeOrExtensionEntity;
|
|
34
|
-
sourceLocation
|
|
36
|
+
sourceLocation?: SourceLocation | undefined;
|
|
35
37
|
readonly kind = NodeKind.PackageTypeDeclaration;
|
|
36
|
-
constructor(decorators: readonly Decorator[], modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation
|
|
38
|
+
constructor(decorators: readonly Decorator[], modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation?: SourceLocation | undefined);
|
|
37
39
|
clone(): PackageTypeDeclaration;
|
|
38
40
|
}
|
|
39
41
|
export declare class PackageVariableDeclaration {
|
|
40
42
|
modifiers: Modifiers;
|
|
41
43
|
initializer: Expression | undefined;
|
|
42
44
|
entity: VariableEntity;
|
|
43
|
-
sourceLocation
|
|
45
|
+
sourceLocation?: SourceLocation | undefined;
|
|
44
46
|
options: PackageVariableDeclarationEmitOptions;
|
|
45
47
|
readonly kind = NodeKind.PackageVariableDeclaration;
|
|
46
|
-
constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation
|
|
48
|
+
constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation?: SourceLocation | undefined, options?: PackageVariableDeclarationEmitOptions);
|
|
47
49
|
clone(): PackageVariableDeclaration;
|
|
48
50
|
}
|
|
49
51
|
export declare class PackageVariableGetterDeclaration {
|
|
50
52
|
entity: FunctionEntity;
|
|
51
53
|
variableEntity: VariableEntity;
|
|
52
54
|
body: BlockStatement;
|
|
53
|
-
sourceLocation
|
|
55
|
+
sourceLocation?: SourceLocation | undefined;
|
|
54
56
|
readonly kind = NodeKind.PackageVariableGetterDeclaration;
|
|
55
|
-
constructor(entity: FunctionEntity, variableEntity: VariableEntity, body: BlockStatement, sourceLocation
|
|
57
|
+
constructor(entity: FunctionEntity, variableEntity: VariableEntity, body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
56
58
|
clone(): PackageVariableGetterDeclaration;
|
|
57
59
|
}
|
|
58
60
|
export declare class PackageVariableSetterDeclaration {
|
|
@@ -60,9 +62,9 @@ export declare class PackageVariableSetterDeclaration {
|
|
|
60
62
|
variableEntity: VariableEntity;
|
|
61
63
|
body: BlockStatement;
|
|
62
64
|
valueLocalVariableEntity: VariableEntity;
|
|
63
|
-
sourceLocation
|
|
65
|
+
sourceLocation?: SourceLocation | undefined;
|
|
64
66
|
readonly kind = NodeKind.PackageVariableSetterDeclaration;
|
|
65
|
-
constructor(entity: FunctionEntity, variableEntity: VariableEntity, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation
|
|
67
|
+
constructor(entity: FunctionEntity, variableEntity: VariableEntity, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: SourceLocation | undefined);
|
|
66
68
|
clone(): PackageVariableSetterDeclaration;
|
|
67
69
|
}
|
|
68
70
|
export declare class PackageVariantTypeDeclaration {
|
|
@@ -70,9 +72,9 @@ export declare class PackageVariantTypeDeclaration {
|
|
|
70
72
|
underlyingTypeKind: UnderlyingTypeKind;
|
|
71
73
|
variants: readonly VariantDeclaration[];
|
|
72
74
|
entity: TypeOrExtensionEntity;
|
|
73
|
-
sourceLocation
|
|
75
|
+
sourceLocation?: SourceLocation | undefined;
|
|
74
76
|
readonly kind = NodeKind.PackageVariantTypeDeclaration;
|
|
75
|
-
constructor(modifiers: Modifiers, underlyingTypeKind: UnderlyingTypeKind, variants: readonly VariantDeclaration[], entity: TypeOrExtensionEntity, sourceLocation
|
|
77
|
+
constructor(modifiers: Modifiers, underlyingTypeKind: UnderlyingTypeKind, variants: readonly VariantDeclaration[], entity: TypeOrExtensionEntity, sourceLocation?: SourceLocation | undefined);
|
|
76
78
|
clone(): PackageVariantTypeDeclaration;
|
|
77
79
|
}
|
|
78
80
|
export declare const enum UnderlyingTypeKind {
|
|
@@ -82,39 +84,39 @@ export declare const enum UnderlyingTypeKind {
|
|
|
82
84
|
export declare class VariantDeclaration {
|
|
83
85
|
value: Expression | undefined;
|
|
84
86
|
entity: VariableEntity;
|
|
85
|
-
sourceLocation
|
|
87
|
+
sourceLocation?: SourceLocation | undefined;
|
|
86
88
|
readonly kind = NodeKind.VariantDeclaration;
|
|
87
|
-
constructor(value: Expression | undefined, entity: VariableEntity, sourceLocation
|
|
89
|
+
constructor(value: Expression | undefined, entity: VariableEntity, sourceLocation?: SourceLocation | undefined);
|
|
88
90
|
clone(): VariantDeclaration;
|
|
89
91
|
}
|
|
90
92
|
export declare class Decorator {
|
|
91
93
|
expression: Expression;
|
|
92
|
-
sourceLocation
|
|
94
|
+
sourceLocation?: SourceLocation | undefined;
|
|
93
95
|
readonly kind = NodeKind.Decorator;
|
|
94
|
-
constructor(expression: Expression, sourceLocation
|
|
96
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
95
97
|
clone(): Decorator;
|
|
96
98
|
}
|
|
97
99
|
export declare class ArrayLiteral {
|
|
98
100
|
elements: readonly Expression[];
|
|
99
101
|
type: Type;
|
|
100
|
-
sourceLocation
|
|
102
|
+
sourceLocation?: SourceLocation | undefined;
|
|
101
103
|
readonly kind = NodeKind.ArrayLiteral;
|
|
102
|
-
constructor(elements: readonly Expression[], type: Type, sourceLocation
|
|
104
|
+
constructor(elements: readonly Expression[], type: Type, sourceLocation?: SourceLocation | undefined);
|
|
103
105
|
clone(): ArrayLiteral;
|
|
104
106
|
}
|
|
105
107
|
export declare class AsExpression {
|
|
106
108
|
expression: Expression;
|
|
107
109
|
type: Type;
|
|
108
|
-
sourceLocation
|
|
110
|
+
sourceLocation?: SourceLocation | undefined;
|
|
109
111
|
readonly kind = NodeKind.AsExpression;
|
|
110
|
-
constructor(expression: Expression, type: Type, sourceLocation
|
|
112
|
+
constructor(expression: Expression, type: Type, sourceLocation?: SourceLocation | undefined);
|
|
111
113
|
clone(): AsExpression;
|
|
112
114
|
}
|
|
113
115
|
export declare class AssertionExpression {
|
|
114
116
|
expression: Expression;
|
|
115
|
-
sourceLocation
|
|
117
|
+
sourceLocation?: SourceLocation | undefined;
|
|
116
118
|
readonly kind = NodeKind.AssertionExpression;
|
|
117
|
-
constructor(expression: Expression, sourceLocation
|
|
119
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
118
120
|
clone(): AssertionExpression;
|
|
119
121
|
}
|
|
120
122
|
export declare class AssignmentExpression {
|
|
@@ -122,10 +124,10 @@ export declare class AssignmentExpression {
|
|
|
122
124
|
operatorKind: AssignmentOperatorKind;
|
|
123
125
|
right: Expression;
|
|
124
126
|
operator: AccessedFunction | undefined;
|
|
125
|
-
sourceLocation
|
|
127
|
+
sourceLocation?: SourceLocation | undefined;
|
|
126
128
|
options: AssignmentEmitOptions;
|
|
127
129
|
readonly kind = NodeKind.AssignmentExpression;
|
|
128
|
-
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedFunction | undefined, sourceLocation
|
|
130
|
+
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined, options?: AssignmentEmitOptions);
|
|
129
131
|
clone(): AssignmentExpression;
|
|
130
132
|
}
|
|
131
133
|
export declare class AssignmentStatement {
|
|
@@ -133,32 +135,32 @@ export declare class AssignmentStatement {
|
|
|
133
135
|
operatorKind: AssignmentOperatorKind;
|
|
134
136
|
right: Expression;
|
|
135
137
|
operator: AccessedFunction | undefined;
|
|
136
|
-
sourceLocation
|
|
138
|
+
sourceLocation?: SourceLocation | undefined;
|
|
137
139
|
options: AssignmentEmitOptions;
|
|
138
140
|
readonly kind = NodeKind.AssignmentStatement;
|
|
139
|
-
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedFunction | undefined, sourceLocation
|
|
141
|
+
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined, options?: AssignmentEmitOptions);
|
|
140
142
|
clone(): AssignmentStatement;
|
|
141
143
|
}
|
|
142
144
|
export declare class AssumptionExpression {
|
|
143
145
|
expression: Expression;
|
|
144
|
-
sourceLocation
|
|
146
|
+
sourceLocation?: SourceLocation | undefined;
|
|
145
147
|
readonly kind = NodeKind.AssumptionExpression;
|
|
146
|
-
constructor(expression: Expression, sourceLocation
|
|
148
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
147
149
|
clone(): AssumptionExpression;
|
|
148
150
|
}
|
|
149
151
|
export declare class BaseConstructorCallExpression {
|
|
150
152
|
entity: FunctionEntity;
|
|
151
153
|
containingTypeOfConstructor: TypeOrExtensionEntity;
|
|
152
154
|
args: Arguments;
|
|
153
|
-
sourceLocation
|
|
155
|
+
sourceLocation?: SourceLocation | undefined;
|
|
154
156
|
readonly kind = NodeKind.BaseConstructorCallExpression;
|
|
155
|
-
constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation
|
|
157
|
+
constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation?: SourceLocation | undefined);
|
|
156
158
|
clone(): BaseConstructorCallExpression;
|
|
157
159
|
}
|
|
158
160
|
export declare class BaseExpression {
|
|
159
|
-
sourceLocation
|
|
161
|
+
sourceLocation?: SourceLocation | undefined;
|
|
160
162
|
readonly kind = NodeKind.BaseExpression;
|
|
161
|
-
constructor(sourceLocation
|
|
163
|
+
constructor(sourceLocation?: SourceLocation | undefined);
|
|
162
164
|
clone(): BaseExpression;
|
|
163
165
|
}
|
|
164
166
|
export declare class BinaryExpression {
|
|
@@ -167,38 +169,38 @@ export declare class BinaryExpression {
|
|
|
167
169
|
right: Expression;
|
|
168
170
|
type: Type;
|
|
169
171
|
operator: AccessedFunction | undefined;
|
|
170
|
-
sourceLocation
|
|
172
|
+
sourceLocation?: SourceLocation | undefined;
|
|
171
173
|
readonly kind = NodeKind.BinaryExpression;
|
|
172
|
-
constructor(left: Expression, operatorKind: BinaryExpressionOperatorKind, right: Expression, type: Type, operator: AccessedFunction | undefined, sourceLocation
|
|
174
|
+
constructor(left: Expression, operatorKind: BinaryExpressionOperatorKind, right: Expression, type: Type, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined);
|
|
173
175
|
clone(): BinaryExpression;
|
|
174
176
|
}
|
|
175
177
|
export declare class BlockStatement {
|
|
176
178
|
statements: readonly Statement[];
|
|
177
|
-
sourceLocation
|
|
179
|
+
sourceLocation?: SourceLocation | undefined;
|
|
178
180
|
readonly kind = NodeKind.BlockStatement;
|
|
179
|
-
constructor(statements: readonly Statement[], sourceLocation
|
|
181
|
+
constructor(statements: readonly Statement[], sourceLocation?: SourceLocation | undefined);
|
|
180
182
|
clone(): BlockStatement;
|
|
181
183
|
}
|
|
182
184
|
export declare class BooleanLiteral {
|
|
183
185
|
value: boolean;
|
|
184
|
-
sourceLocation
|
|
186
|
+
sourceLocation?: SourceLocation | undefined;
|
|
185
187
|
readonly kind = NodeKind.BooleanLiteral;
|
|
186
|
-
constructor(value: boolean, sourceLocation
|
|
188
|
+
constructor(value: boolean, sourceLocation?: SourceLocation | undefined);
|
|
187
189
|
clone(): BooleanLiteral;
|
|
188
190
|
}
|
|
189
191
|
export declare class BreakLoopStatement {
|
|
190
192
|
label: string;
|
|
191
|
-
sourceLocation
|
|
193
|
+
sourceLocation?: SourceLocation | undefined;
|
|
192
194
|
readonly kind = NodeKind.BreakLoopStatement;
|
|
193
|
-
constructor(label: string, sourceLocation
|
|
195
|
+
constructor(label: string, sourceLocation?: SourceLocation | undefined);
|
|
194
196
|
clone(): BreakLoopStatement;
|
|
195
197
|
}
|
|
196
198
|
export declare class Argument {
|
|
197
199
|
expression: Expression;
|
|
198
200
|
targetParameter: TargetParameter;
|
|
199
|
-
sourceLocation
|
|
201
|
+
sourceLocation?: SourceLocation | undefined;
|
|
200
202
|
readonly kind = NodeKind.Argument;
|
|
201
|
-
constructor(expression: Expression, targetParameter: TargetParameter, sourceLocation
|
|
203
|
+
constructor(expression: Expression, targetParameter: TargetParameter, sourceLocation?: SourceLocation | undefined);
|
|
202
204
|
clone(): Argument;
|
|
203
205
|
}
|
|
204
206
|
export declare class TargetParameter {
|
|
@@ -210,16 +212,16 @@ export type Arguments = UnorderedArguments | OrderedArguments;
|
|
|
210
212
|
export declare class UnorderedArguments {
|
|
211
213
|
values: readonly Argument[];
|
|
212
214
|
targetParameters: readonly VariableEntity[];
|
|
213
|
-
sourceLocation
|
|
215
|
+
sourceLocation?: SourceLocation | undefined;
|
|
214
216
|
readonly kind = NodeKind.Arguments;
|
|
215
217
|
readonly areOrdered = false;
|
|
216
|
-
constructor(values: readonly Argument[], targetParameters: readonly VariableEntity[], sourceLocation
|
|
218
|
+
constructor(values: readonly Argument[], targetParameters: readonly VariableEntity[], sourceLocation?: SourceLocation | undefined);
|
|
217
219
|
clone(): UnorderedArguments;
|
|
218
220
|
}
|
|
219
221
|
export declare class OrderedArguments {
|
|
220
222
|
values: readonly Expression[];
|
|
221
223
|
isLastArgumentSpreading: boolean;
|
|
222
|
-
sourceLocation
|
|
224
|
+
sourceLocation?: SourceLocation | undefined;
|
|
223
225
|
readonly kind = NodeKind.Arguments;
|
|
224
226
|
readonly areOrdered = true;
|
|
225
227
|
constructor(values: readonly Expression[], isLastArgumentSpreading: boolean, sourceLocation?: SourceLocation | undefined);
|
|
@@ -231,24 +233,24 @@ export declare class CallExpression {
|
|
|
231
233
|
args: Arguments;
|
|
232
234
|
isAsyncFunctionCall: boolean;
|
|
233
235
|
returnType: Type;
|
|
234
|
-
sourceLocation
|
|
236
|
+
sourceLocation?: SourceLocation | undefined;
|
|
235
237
|
options: CallExpressionEmitOptions;
|
|
236
238
|
readonly kind = NodeKind.CallExpression;
|
|
237
|
-
constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, isAsyncFunctionCall: boolean, returnType: Type, sourceLocation
|
|
239
|
+
constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, isAsyncFunctionCall: boolean, returnType: Type, sourceLocation?: SourceLocation | undefined, options?: CallExpressionEmitOptions);
|
|
238
240
|
clone(): CallExpression;
|
|
239
241
|
}
|
|
240
242
|
export declare class CharLiteral {
|
|
241
243
|
value: string;
|
|
242
|
-
sourceLocation
|
|
244
|
+
sourceLocation?: SourceLocation | undefined;
|
|
243
245
|
readonly kind = NodeKind.CharLiteral;
|
|
244
|
-
constructor(value: string, sourceLocation
|
|
246
|
+
constructor(value: string, sourceLocation?: SourceLocation | undefined);
|
|
245
247
|
clone(): CharLiteral;
|
|
246
248
|
}
|
|
247
249
|
export declare class CommaExpression {
|
|
248
250
|
expressions: readonly Expression[];
|
|
249
|
-
sourceLocation
|
|
251
|
+
sourceLocation?: SourceLocation | undefined;
|
|
250
252
|
readonly kind = NodeKind.CommaExpression;
|
|
251
|
-
constructor(expressions: readonly Expression[], sourceLocation
|
|
253
|
+
constructor(expressions: readonly Expression[], sourceLocation?: SourceLocation | undefined);
|
|
252
254
|
clone(): CommaExpression;
|
|
253
255
|
}
|
|
254
256
|
export declare class ConstructorCallExpression {
|
|
@@ -257,69 +259,69 @@ export declare class ConstructorCallExpression {
|
|
|
257
259
|
typeAccess: TypeAccessExpression;
|
|
258
260
|
args: Arguments;
|
|
259
261
|
returnType: Type;
|
|
260
|
-
sourceLocation
|
|
262
|
+
sourceLocation?: SourceLocation | undefined;
|
|
261
263
|
options: ConstructorCallExpressionEmitOptions;
|
|
262
264
|
readonly kind = NodeKind.ConstructorCallExpression;
|
|
263
|
-
constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression, args: Arguments, returnType: Type, sourceLocation
|
|
265
|
+
constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression, args: Arguments, returnType: Type, sourceLocation?: SourceLocation | undefined, options?: ConstructorCallExpressionEmitOptions);
|
|
264
266
|
clone(): ConstructorCallExpression;
|
|
265
267
|
}
|
|
266
268
|
export declare class ContinueLoopStatement {
|
|
267
269
|
label: string;
|
|
268
|
-
sourceLocation
|
|
270
|
+
sourceLocation?: SourceLocation | undefined;
|
|
269
271
|
readonly kind = NodeKind.ContinueLoopStatement;
|
|
270
|
-
constructor(label: string, sourceLocation
|
|
272
|
+
constructor(label: string, sourceLocation?: SourceLocation | undefined);
|
|
271
273
|
clone(): ContinueLoopStatement;
|
|
272
274
|
}
|
|
273
275
|
export declare class DereferenceExpression {
|
|
274
276
|
expression: Expression;
|
|
275
277
|
isOptionalAccess: boolean;
|
|
276
278
|
access: ComputedAccess;
|
|
277
|
-
sourceLocation
|
|
279
|
+
sourceLocation?: SourceLocation | undefined;
|
|
278
280
|
readonly kind = NodeKind.DereferenceExpression;
|
|
279
|
-
constructor(expression: Expression, isOptionalAccess: boolean, access: ComputedAccess, sourceLocation
|
|
281
|
+
constructor(expression: Expression, isOptionalAccess: boolean, access: ComputedAccess, sourceLocation?: SourceLocation | undefined);
|
|
280
282
|
clone(): DereferenceExpression;
|
|
281
283
|
}
|
|
282
284
|
export declare class DisposeStatement {
|
|
283
285
|
expression: Expression;
|
|
284
286
|
destructorEntity: FunctionEntity;
|
|
285
|
-
sourceLocation
|
|
287
|
+
sourceLocation?: SourceLocation | undefined;
|
|
286
288
|
readonly kind = NodeKind.DisposeStatement;
|
|
287
|
-
constructor(expression: Expression, destructorEntity: FunctionEntity, sourceLocation
|
|
289
|
+
constructor(expression: Expression, destructorEntity: FunctionEntity, sourceLocation?: SourceLocation | undefined);
|
|
288
290
|
clone(): DisposeStatement;
|
|
289
291
|
}
|
|
290
292
|
export declare class EmptyStatement {
|
|
291
|
-
sourceLocation
|
|
293
|
+
sourceLocation?: SourceLocation | undefined;
|
|
292
294
|
readonly kind = NodeKind.EmptyStatement;
|
|
293
|
-
constructor(sourceLocation
|
|
295
|
+
constructor(sourceLocation?: SourceLocation | undefined);
|
|
294
296
|
clone(): EmptyStatement;
|
|
295
297
|
}
|
|
296
298
|
export declare class ErrorStatement {
|
|
297
299
|
expression: Expression;
|
|
298
|
-
sourceLocation
|
|
300
|
+
sourceLocation?: SourceLocation | undefined;
|
|
299
301
|
options: ErrorStatementEmitOptions;
|
|
300
302
|
readonly kind = NodeKind.ErrorStatement;
|
|
301
|
-
constructor(expression: Expression, sourceLocation
|
|
303
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined, options?: ErrorStatementEmitOptions);
|
|
302
304
|
clone(): ErrorStatement;
|
|
303
305
|
}
|
|
304
306
|
export declare class ImportantStatement {
|
|
305
307
|
expression: Expression;
|
|
306
|
-
sourceLocation
|
|
308
|
+
sourceLocation?: SourceLocation | undefined;
|
|
307
309
|
readonly kind = NodeKind.ImportantStatement;
|
|
308
|
-
constructor(expression: Expression, sourceLocation
|
|
310
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
309
311
|
clone(): ImportantStatement;
|
|
310
312
|
}
|
|
311
313
|
export declare class ExpressionStatement {
|
|
312
314
|
expression: Expression;
|
|
313
|
-
sourceLocation
|
|
315
|
+
sourceLocation?: SourceLocation | undefined;
|
|
314
316
|
readonly kind = NodeKind.ExpressionStatement;
|
|
315
|
-
constructor(expression: Expression, sourceLocation
|
|
317
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
316
318
|
clone(): ExpressionStatement;
|
|
317
319
|
}
|
|
318
320
|
export declare class FinallyClause {
|
|
319
321
|
body: BlockStatement;
|
|
320
|
-
sourceLocation
|
|
322
|
+
sourceLocation?: SourceLocation | undefined;
|
|
321
323
|
readonly kind = NodeKind.FinallyClause;
|
|
322
|
-
constructor(body: BlockStatement, sourceLocation
|
|
324
|
+
constructor(body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
323
325
|
clone(): FinallyClause;
|
|
324
326
|
}
|
|
325
327
|
export declare class ForStatement {
|
|
@@ -329,19 +331,19 @@ export declare class ForStatement {
|
|
|
329
331
|
enumeratedExpression: Expression;
|
|
330
332
|
body: BlockStatement;
|
|
331
333
|
ifExpressionIsNotEnumerableThenEnumeratorMethod: AccessedFunction | undefined;
|
|
332
|
-
sourceLocation
|
|
334
|
+
sourceLocation?: SourceLocation | undefined;
|
|
333
335
|
options: ForStatementEmitOptions;
|
|
334
336
|
readonly kind = NodeKind.ForStatement;
|
|
335
|
-
constructor(label: string | undefined, elementVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement, ifExpressionIsNotEnumerableThenEnumeratorMethod: AccessedFunction | undefined, sourceLocation
|
|
337
|
+
constructor(label: string | undefined, elementVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement, ifExpressionIsNotEnumerableThenEnumeratorMethod: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined, options?: ForStatementEmitOptions);
|
|
336
338
|
clone(): ForStatement;
|
|
337
339
|
}
|
|
338
340
|
export declare class IfStatement {
|
|
339
341
|
condition: Expression;
|
|
340
342
|
thenStatement: BlockStatement;
|
|
341
343
|
elseStatement: BlockStatement | undefined;
|
|
342
|
-
sourceLocation
|
|
344
|
+
sourceLocation?: SourceLocation | undefined;
|
|
343
345
|
readonly kind = NodeKind.IfStatement;
|
|
344
|
-
constructor(condition: Expression, thenStatement: BlockStatement, elseStatement: BlockStatement | undefined, sourceLocation
|
|
346
|
+
constructor(condition: Expression, thenStatement: BlockStatement, elseStatement: BlockStatement | undefined, sourceLocation?: SourceLocation | undefined);
|
|
345
347
|
clone(): IfStatement;
|
|
346
348
|
}
|
|
347
349
|
export declare class IndexedAccessExpression {
|
|
@@ -349,32 +351,32 @@ export declare class IndexedAccessExpression {
|
|
|
349
351
|
isOptionalAccess: boolean;
|
|
350
352
|
args: Arguments;
|
|
351
353
|
access: ComputedAccess;
|
|
352
|
-
sourceLocation
|
|
354
|
+
sourceLocation?: SourceLocation | undefined;
|
|
353
355
|
readonly kind = NodeKind.IndexedAccessExpression;
|
|
354
|
-
constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, access: ComputedAccess, sourceLocation
|
|
356
|
+
constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, access: ComputedAccess, sourceLocation?: SourceLocation | undefined);
|
|
355
357
|
clone(): IndexedAccessExpression;
|
|
356
358
|
}
|
|
357
359
|
export declare class InlineJsExpression {
|
|
358
360
|
code: string;
|
|
359
361
|
type: Type;
|
|
360
|
-
sourceLocation
|
|
362
|
+
sourceLocation?: SourceLocation | undefined;
|
|
361
363
|
readonly kind = NodeKind.InlineJsExpression;
|
|
362
|
-
constructor(code: string, type: Type, sourceLocation
|
|
364
|
+
constructor(code: string, type: Type, sourceLocation?: SourceLocation | undefined);
|
|
363
365
|
clone(): InlineJsExpression;
|
|
364
366
|
}
|
|
365
367
|
export declare class IntegerLiteral {
|
|
366
368
|
value: number;
|
|
367
|
-
sourceLocation
|
|
369
|
+
sourceLocation?: SourceLocation | undefined;
|
|
368
370
|
readonly kind = NodeKind.IntegerLiteral;
|
|
369
|
-
constructor(value: number, sourceLocation
|
|
371
|
+
constructor(value: number, sourceLocation?: SourceLocation | undefined);
|
|
370
372
|
clone(): IntegerLiteral;
|
|
371
373
|
}
|
|
372
374
|
export declare class IsExpression {
|
|
373
375
|
expression: Expression;
|
|
374
376
|
type: Type;
|
|
375
|
-
sourceLocation
|
|
377
|
+
sourceLocation?: SourceLocation | undefined;
|
|
376
378
|
readonly kind = NodeKind.IsExpression;
|
|
377
|
-
constructor(expression: Expression, type: Type, sourceLocation
|
|
379
|
+
constructor(expression: Expression, type: Type, sourceLocation?: SourceLocation | undefined);
|
|
378
380
|
clone(): IsExpression;
|
|
379
381
|
}
|
|
380
382
|
export declare class JsFunctionLiteral {
|
|
@@ -382,16 +384,16 @@ export declare class JsFunctionLiteral {
|
|
|
382
384
|
body: BlockStatement;
|
|
383
385
|
isAsync: boolean;
|
|
384
386
|
isGenerator: boolean;
|
|
385
|
-
sourceLocation
|
|
387
|
+
sourceLocation?: SourceLocation | undefined;
|
|
386
388
|
readonly kind = NodeKind.JsFunctionLiteral;
|
|
387
|
-
constructor(parameters: readonly ParameterDeclaration[], body: BlockStatement, isAsync: boolean, isGenerator: boolean, sourceLocation
|
|
389
|
+
constructor(parameters: readonly ParameterDeclaration[], body: BlockStatement, isAsync: boolean, isGenerator: boolean, sourceLocation?: SourceLocation | undefined);
|
|
388
390
|
clone(): JsFunctionLiteral;
|
|
389
391
|
}
|
|
390
392
|
export declare class JsIdentifierExpression {
|
|
391
393
|
identifier: string;
|
|
392
|
-
sourceLocation
|
|
394
|
+
sourceLocation?: SourceLocation | undefined;
|
|
393
395
|
readonly kind = NodeKind.JsIdentifierExpression;
|
|
394
|
-
constructor(identifier: string, sourceLocation
|
|
396
|
+
constructor(identifier: string, sourceLocation?: SourceLocation | undefined);
|
|
395
397
|
clone(): JsIdentifierExpression;
|
|
396
398
|
}
|
|
397
399
|
export type JsModuleImportDirectiveStatement = EsModuleImportDirectiveStatement | CjsModuleImportDirectiveStatement;
|
|
@@ -399,18 +401,18 @@ export declare class EsModuleImportDirectiveStatement {
|
|
|
399
401
|
defaultImport: string | undefined;
|
|
400
402
|
importSpecifiers: readonly JsImportSpecifier[];
|
|
401
403
|
path: string;
|
|
402
|
-
sourceLocation
|
|
404
|
+
sourceLocation?: SourceLocation | undefined;
|
|
403
405
|
readonly kind = NodeKind.EsModuleImportDirectiveStatement;
|
|
404
|
-
constructor(defaultImport: string | undefined, importSpecifiers: readonly JsImportSpecifier[], path: string, sourceLocation
|
|
406
|
+
constructor(defaultImport: string | undefined, importSpecifiers: readonly JsImportSpecifier[], path: string, sourceLocation?: SourceLocation | undefined);
|
|
405
407
|
clone(): EsModuleImportDirectiveStatement;
|
|
406
408
|
}
|
|
407
409
|
export declare class CjsModuleImportDirectiveStatement {
|
|
408
410
|
defaultImport: string;
|
|
409
411
|
importSpecifiers: readonly JsImportSpecifier[];
|
|
410
412
|
path: string;
|
|
411
|
-
sourceLocation
|
|
413
|
+
sourceLocation?: SourceLocation | undefined;
|
|
412
414
|
readonly kind = NodeKind.CjsModuleImportDirectiveStatement;
|
|
413
|
-
constructor(defaultImport: string, importSpecifiers: readonly JsImportSpecifier[], path: string, sourceLocation
|
|
415
|
+
constructor(defaultImport: string, importSpecifiers: readonly JsImportSpecifier[], path: string, sourceLocation?: SourceLocation | undefined);
|
|
414
416
|
clone(): CjsModuleImportDirectiveStatement;
|
|
415
417
|
}
|
|
416
418
|
export declare class JsImportSpecifier {
|
|
@@ -425,33 +427,33 @@ export declare class JsIndexedAccessExpression {
|
|
|
425
427
|
isOptionalAccess: boolean;
|
|
426
428
|
argument: Expression;
|
|
427
429
|
type: Type;
|
|
428
|
-
sourceLocation
|
|
430
|
+
sourceLocation?: SourceLocation | undefined;
|
|
429
431
|
readonly kind = NodeKind.JsIndexedAccessExpression;
|
|
430
|
-
constructor(expression: Expression, isOptionalAccess: boolean, argument: Expression, type: Type, sourceLocation
|
|
432
|
+
constructor(expression: Expression, isOptionalAccess: boolean, argument: Expression, type: Type, sourceLocation?: SourceLocation | undefined);
|
|
431
433
|
clone(): JsIndexedAccessExpression;
|
|
432
434
|
}
|
|
433
435
|
export declare class JsInstanceOfExpression {
|
|
434
436
|
expression: Expression;
|
|
435
437
|
type: TypeOrExtensionEntity;
|
|
436
|
-
sourceLocation
|
|
438
|
+
sourceLocation?: SourceLocation | undefined;
|
|
437
439
|
readonly kind = NodeKind.JsInstanceOfExpression;
|
|
438
|
-
constructor(expression: Expression, type: TypeOrExtensionEntity, sourceLocation
|
|
440
|
+
constructor(expression: Expression, type: TypeOrExtensionEntity, sourceLocation?: SourceLocation | undefined);
|
|
439
441
|
clone(): JsInstanceOfExpression;
|
|
440
442
|
}
|
|
441
443
|
export declare class JsNamespaceDestructuringStatement {
|
|
442
444
|
defaultImport: string | undefined;
|
|
443
445
|
destructuredMembers: readonly JsImportSpecifier[];
|
|
444
446
|
namespaceNameSegments: readonly string[];
|
|
445
|
-
sourceLocation
|
|
447
|
+
sourceLocation?: SourceLocation | undefined;
|
|
446
448
|
readonly kind = NodeKind.JsNamespaceDestructuringStatement;
|
|
447
|
-
constructor(defaultImport: string | undefined, destructuredMembers: readonly JsImportSpecifier[], namespaceNameSegments: readonly string[], sourceLocation
|
|
449
|
+
constructor(defaultImport: string | undefined, destructuredMembers: readonly JsImportSpecifier[], namespaceNameSegments: readonly string[], sourceLocation?: SourceLocation | undefined);
|
|
448
450
|
clone(): JsNamespaceDestructuringStatement;
|
|
449
451
|
}
|
|
450
452
|
export declare class JsObjectLiteral {
|
|
451
453
|
properties: readonly JsObjectLiteralProperty[];
|
|
452
|
-
sourceLocation
|
|
454
|
+
sourceLocation?: SourceLocation | undefined;
|
|
453
455
|
readonly kind = NodeKind.JsObjectLiteral;
|
|
454
|
-
constructor(properties: readonly JsObjectLiteralProperty[], sourceLocation
|
|
456
|
+
constructor(properties: readonly JsObjectLiteralProperty[], sourceLocation?: SourceLocation | undefined);
|
|
455
457
|
clone(): JsObjectLiteral;
|
|
456
458
|
}
|
|
457
459
|
export type JsObjectLiteralProperty = ValueJsObjectLiteralProperty | FunctionJsObjectLiteralProperty | SpreadJsObjectLiteralProperty;
|
|
@@ -462,18 +464,18 @@ export declare namespace JsObjectLiteralPropertyKey {
|
|
|
462
464
|
export declare class ValueJsObjectLiteralProperty {
|
|
463
465
|
key: JsObjectLiteralPropertyKey;
|
|
464
466
|
value: Expression;
|
|
465
|
-
sourceLocation
|
|
467
|
+
sourceLocation?: SourceLocation | undefined;
|
|
466
468
|
readonly kind = NodeKind.ValueJsObjectLiteralProperty;
|
|
467
|
-
constructor(key: JsObjectLiteralPropertyKey, value: Expression, sourceLocation
|
|
469
|
+
constructor(key: JsObjectLiteralPropertyKey, value: Expression, sourceLocation?: SourceLocation | undefined);
|
|
468
470
|
clone(): ValueJsObjectLiteralProperty;
|
|
469
471
|
}
|
|
470
472
|
export declare class FunctionJsObjectLiteralProperty {
|
|
471
473
|
key: JsObjectLiteralPropertyKey;
|
|
472
474
|
parameters: readonly ParameterDeclaration[];
|
|
473
475
|
body: BlockStatement;
|
|
474
|
-
sourceLocation
|
|
476
|
+
sourceLocation?: SourceLocation | undefined;
|
|
475
477
|
readonly kind = NodeKind.FunctionJsObjectLiteralProperty;
|
|
476
|
-
constructor(key: JsObjectLiteralPropertyKey, parameters: readonly ParameterDeclaration[], body: BlockStatement, sourceLocation
|
|
478
|
+
constructor(key: JsObjectLiteralPropertyKey, parameters: readonly ParameterDeclaration[], body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
477
479
|
clone(): FunctionJsObjectLiteralProperty;
|
|
478
480
|
}
|
|
479
481
|
/**
|
|
@@ -482,9 +484,9 @@ export declare class FunctionJsObjectLiteralProperty {
|
|
|
482
484
|
*/
|
|
483
485
|
export declare class SpreadJsObjectLiteralProperty {
|
|
484
486
|
expression: Expression;
|
|
485
|
-
sourceLocation
|
|
487
|
+
sourceLocation?: SourceLocation | undefined;
|
|
486
488
|
readonly kind = NodeKind.SpreadJsObjectLiteralProperty;
|
|
487
|
-
constructor(expression: Expression, sourceLocation
|
|
489
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
488
490
|
clone(): SpreadJsObjectLiteralProperty;
|
|
489
491
|
}
|
|
490
492
|
export declare class JsPropertyAccessExpression {
|
|
@@ -492,56 +494,56 @@ export declare class JsPropertyAccessExpression {
|
|
|
492
494
|
isOptionalAccess: boolean;
|
|
493
495
|
name: string;
|
|
494
496
|
type: Type;
|
|
495
|
-
sourceLocation
|
|
497
|
+
sourceLocation?: SourceLocation | undefined;
|
|
496
498
|
readonly kind = NodeKind.JsPropertyAccessExpression;
|
|
497
|
-
constructor(expression: Expression, isOptionalAccess: boolean, name: string, type: Type, sourceLocation
|
|
499
|
+
constructor(expression: Expression, isOptionalAccess: boolean, name: string, type: Type, sourceLocation?: SourceLocation | undefined);
|
|
498
500
|
clone(): JsPropertyAccessExpression;
|
|
499
501
|
}
|
|
500
502
|
export declare class JsTypeOfExpression {
|
|
501
503
|
expression: Expression;
|
|
502
|
-
sourceLocation
|
|
504
|
+
sourceLocation?: SourceLocation | undefined;
|
|
503
505
|
readonly kind = NodeKind.JsTypeOfExpression;
|
|
504
|
-
constructor(expression: Expression, sourceLocation
|
|
506
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
505
507
|
clone(): JsTypeOfExpression;
|
|
506
508
|
}
|
|
507
509
|
export declare class LocalVariableDeclaration {
|
|
508
510
|
entity: VariableEntity;
|
|
509
511
|
initializer: Expression | undefined;
|
|
510
|
-
sourceLocation
|
|
512
|
+
sourceLocation?: SourceLocation | undefined;
|
|
511
513
|
options: DeclarationWithInitializerEmitOptions;
|
|
512
514
|
readonly kind = NodeKind.LocalVariableDeclaration;
|
|
513
|
-
constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation
|
|
515
|
+
constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation?: SourceLocation | undefined, options?: DeclarationWithInitializerEmitOptions);
|
|
514
516
|
clone(): LocalVariableDeclaration;
|
|
515
517
|
}
|
|
516
518
|
export declare class LocalVariableDeclarationStatement {
|
|
517
519
|
declaration: LocalVariableDeclaration;
|
|
518
|
-
sourceLocation
|
|
520
|
+
sourceLocation?: SourceLocation | undefined;
|
|
519
521
|
readonly kind = NodeKind.LocalVariableDeclarationStatement;
|
|
520
|
-
constructor(declaration: LocalVariableDeclaration, sourceLocation
|
|
522
|
+
constructor(declaration: LocalVariableDeclaration, sourceLocation?: SourceLocation | undefined);
|
|
521
523
|
clone(): LocalVariableDeclarationStatement;
|
|
522
524
|
}
|
|
523
525
|
export declare class LoopStatement {
|
|
524
526
|
label: string | undefined;
|
|
525
527
|
body: BlockStatement;
|
|
526
528
|
condition: Expression | undefined;
|
|
527
|
-
sourceLocation
|
|
529
|
+
sourceLocation?: SourceLocation | undefined;
|
|
528
530
|
readonly kind = NodeKind.LoopStatement;
|
|
529
|
-
constructor(label: string | undefined, body: BlockStatement, condition: Expression | undefined, sourceLocation
|
|
531
|
+
constructor(label: string | undefined, body: BlockStatement, condition: Expression | undefined, sourceLocation?: SourceLocation | undefined);
|
|
530
532
|
clone(): LoopStatement;
|
|
531
533
|
}
|
|
532
534
|
export declare class MeasureLiteral {
|
|
533
|
-
sourceLocation
|
|
535
|
+
sourceLocation?: SourceLocation | undefined;
|
|
534
536
|
readonly kind = NodeKind.MeasureLiteral;
|
|
535
|
-
constructor(sourceLocation
|
|
537
|
+
constructor(sourceLocation?: SourceLocation | undefined);
|
|
536
538
|
clone(): MeasureLiteral;
|
|
537
539
|
}
|
|
538
540
|
export declare class FunctionAccessExpression {
|
|
539
541
|
func: AccessedFunction;
|
|
540
542
|
isCallee: boolean;
|
|
541
|
-
sourceLocation
|
|
543
|
+
sourceLocation?: SourceLocation | undefined;
|
|
542
544
|
options: FunctionAccessExpressionEmitOptions;
|
|
543
545
|
readonly kind = NodeKind.FunctionAccessExpression;
|
|
544
|
-
constructor(func: AccessedFunction, isCallee: boolean, sourceLocation
|
|
546
|
+
constructor(func: AccessedFunction, isCallee: boolean, sourceLocation?: SourceLocation | undefined, options?: FunctionAccessExpressionEmitOptions);
|
|
545
547
|
clone(): FunctionAccessExpression;
|
|
546
548
|
}
|
|
547
549
|
export declare class FunctionLiteral {
|
|
@@ -549,10 +551,10 @@ export declare class FunctionLiteral {
|
|
|
549
551
|
body: BlockStatement;
|
|
550
552
|
isAsync: boolean;
|
|
551
553
|
returnType: Type;
|
|
552
|
-
sourceLocation
|
|
554
|
+
sourceLocation?: SourceLocation | undefined;
|
|
553
555
|
options: FunctionLiteralEmitOptions;
|
|
554
556
|
readonly kind = NodeKind.FunctionLiteral;
|
|
555
|
-
constructor(parameters: readonly ParameterDeclaration[], body: BlockStatement, isAsync: boolean, returnType: Type, sourceLocation
|
|
557
|
+
constructor(parameters: readonly ParameterDeclaration[], body: BlockStatement, isAsync: boolean, returnType: Type, sourceLocation?: SourceLocation | undefined, options?: FunctionLiteralEmitOptions);
|
|
556
558
|
clone(): FunctionLiteral;
|
|
557
559
|
}
|
|
558
560
|
export declare class Modifiers {
|
|
@@ -581,94 +583,94 @@ export declare class NestedFunctionDeclaration {
|
|
|
581
583
|
entity: FunctionEntity;
|
|
582
584
|
isAsync: boolean;
|
|
583
585
|
isGenerator: boolean;
|
|
584
|
-
sourceLocation
|
|
586
|
+
sourceLocation?: SourceLocation | undefined;
|
|
585
587
|
readonly kind = NodeKind.NestedFunctionDeclaration;
|
|
586
|
-
constructor(parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isAsync: boolean, isGenerator: boolean, sourceLocation
|
|
588
|
+
constructor(parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isAsync: boolean, isGenerator: boolean, sourceLocation?: SourceLocation | undefined);
|
|
587
589
|
clone(): NestedFunctionDeclaration;
|
|
588
590
|
}
|
|
589
591
|
export declare class NestedFunctionDeclarationStatement {
|
|
590
592
|
declaration: NestedFunctionDeclaration;
|
|
591
|
-
sourceLocation
|
|
593
|
+
sourceLocation?: SourceLocation | undefined;
|
|
592
594
|
readonly kind = NodeKind.NestedFunctionDeclarationStatement;
|
|
593
|
-
constructor(declaration: NestedFunctionDeclaration, sourceLocation
|
|
595
|
+
constructor(declaration: NestedFunctionDeclaration, sourceLocation?: SourceLocation | undefined);
|
|
594
596
|
clone(): NestedFunctionDeclarationStatement;
|
|
595
597
|
}
|
|
596
598
|
export declare class NullLiteral {
|
|
597
|
-
sourceLocation
|
|
599
|
+
sourceLocation?: SourceLocation | undefined;
|
|
598
600
|
readonly kind = NodeKind.NullLiteral;
|
|
599
|
-
constructor(sourceLocation
|
|
601
|
+
constructor(sourceLocation?: SourceLocation | undefined);
|
|
600
602
|
clone(): NullLiteral;
|
|
601
603
|
}
|
|
602
604
|
export declare class NumericLiteral {
|
|
603
605
|
value: number;
|
|
604
|
-
sourceLocation
|
|
606
|
+
sourceLocation?: SourceLocation | undefined;
|
|
605
607
|
readonly kind = NodeKind.NumericLiteral;
|
|
606
|
-
constructor(value: number, sourceLocation
|
|
608
|
+
constructor(value: number, sourceLocation?: SourceLocation | undefined);
|
|
607
609
|
clone(): NumericLiteral;
|
|
608
610
|
}
|
|
609
611
|
export declare class CatchClause {
|
|
610
612
|
errorVariableEntity: VariableEntity | undefined;
|
|
611
613
|
body: BlockStatement;
|
|
612
|
-
sourceLocation
|
|
614
|
+
sourceLocation?: SourceLocation | undefined;
|
|
613
615
|
readonly kind = NodeKind.CatchClause;
|
|
614
|
-
constructor(errorVariableEntity: VariableEntity | undefined, body: BlockStatement, sourceLocation
|
|
616
|
+
constructor(errorVariableEntity: VariableEntity | undefined, body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
615
617
|
clone(): CatchClause;
|
|
616
618
|
}
|
|
617
619
|
export declare class OwnConstructorCallExpression {
|
|
618
620
|
entity: FunctionEntity;
|
|
619
621
|
containingTypeOfConstructor: TypeOrExtensionEntity;
|
|
620
622
|
args: Arguments;
|
|
621
|
-
sourceLocation
|
|
623
|
+
sourceLocation?: SourceLocation | undefined;
|
|
622
624
|
readonly kind = NodeKind.OwnConstructorCallExpression;
|
|
623
|
-
constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation
|
|
625
|
+
constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation?: SourceLocation | undefined);
|
|
624
626
|
clone(): OwnConstructorCallExpression;
|
|
625
627
|
}
|
|
626
628
|
export declare class PrefixUnaryExpression {
|
|
627
629
|
operatorKind: PrefixUnaryExpressionOperatorKind;
|
|
628
630
|
expression: Expression;
|
|
629
631
|
operator: AccessedFunction | undefined;
|
|
630
|
-
sourceLocation
|
|
632
|
+
sourceLocation?: SourceLocation | undefined;
|
|
631
633
|
readonly kind = NodeKind.PrefixUnaryExpression;
|
|
632
|
-
constructor(operatorKind: PrefixUnaryExpressionOperatorKind, expression: Expression, operator: AccessedFunction | undefined, sourceLocation
|
|
634
|
+
constructor(operatorKind: PrefixUnaryExpressionOperatorKind, expression: Expression, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined);
|
|
633
635
|
clone(): PrefixUnaryExpression;
|
|
634
636
|
}
|
|
635
637
|
export declare class ReferenceExpression {
|
|
636
638
|
expression: Expression;
|
|
637
|
-
sourceLocation
|
|
639
|
+
sourceLocation?: SourceLocation | undefined;
|
|
638
640
|
readonly kind = NodeKind.ReferenceExpression;
|
|
639
|
-
constructor(expression: Expression, sourceLocation
|
|
641
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
640
642
|
clone(): ReferenceExpression;
|
|
641
643
|
}
|
|
642
644
|
export declare class ReturnStatement {
|
|
643
645
|
expression: Expression | undefined;
|
|
644
|
-
sourceLocation
|
|
646
|
+
sourceLocation?: SourceLocation | undefined;
|
|
645
647
|
readonly kind = NodeKind.ReturnStatement;
|
|
646
|
-
constructor(expression: Expression | undefined, sourceLocation
|
|
648
|
+
constructor(expression: Expression | undefined, sourceLocation?: SourceLocation | undefined);
|
|
647
649
|
clone(): ReturnStatement;
|
|
648
650
|
}
|
|
649
651
|
export declare class RunStatement {
|
|
650
652
|
body: BlockStatement;
|
|
651
|
-
sourceLocation
|
|
653
|
+
sourceLocation?: SourceLocation | undefined;
|
|
652
654
|
readonly kind = NodeKind.RunStatement;
|
|
653
|
-
constructor(body: BlockStatement, sourceLocation
|
|
655
|
+
constructor(body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
654
656
|
clone(): RunStatement;
|
|
655
657
|
}
|
|
656
658
|
export declare class TryStatement {
|
|
657
659
|
body: BlockStatement;
|
|
658
660
|
catchClause: CatchClause | undefined;
|
|
659
661
|
finallyClause: FinallyClause | undefined;
|
|
660
|
-
sourceLocation
|
|
662
|
+
sourceLocation?: SourceLocation | undefined;
|
|
661
663
|
readonly kind = NodeKind.TryStatement;
|
|
662
|
-
constructor(body: BlockStatement, catchClause: CatchClause | undefined, finallyClause: FinallyClause | undefined, sourceLocation
|
|
664
|
+
constructor(body: BlockStatement, catchClause: CatchClause | undefined, finallyClause: FinallyClause | undefined, sourceLocation?: SourceLocation | undefined);
|
|
663
665
|
clone(): TryStatement;
|
|
664
666
|
}
|
|
665
667
|
export declare class SwitchStatement {
|
|
666
668
|
matchExpression: Expression;
|
|
667
669
|
caseClauses: readonly CaseClause[];
|
|
668
670
|
defaultClauseBody: BlockStatement | undefined;
|
|
669
|
-
sourceLocation
|
|
671
|
+
sourceLocation?: SourceLocation | undefined;
|
|
670
672
|
readonly kind = NodeKind.SwitchStatement;
|
|
671
|
-
constructor(matchExpression: Expression, caseClauses: readonly CaseClause[], defaultClauseBody: BlockStatement | undefined, sourceLocation
|
|
673
|
+
constructor(matchExpression: Expression, caseClauses: readonly CaseClause[], defaultClauseBody: BlockStatement | undefined, sourceLocation?: SourceLocation | undefined);
|
|
672
674
|
clone(): SwitchStatement;
|
|
673
675
|
}
|
|
674
676
|
export declare class CaseClause {
|
|
@@ -683,23 +685,24 @@ export declare class TernaryExpression {
|
|
|
683
685
|
firstExpression: Expression;
|
|
684
686
|
secondExpression: Expression;
|
|
685
687
|
type: Type;
|
|
686
|
-
sourceLocation
|
|
688
|
+
sourceLocation?: SourceLocation | undefined;
|
|
687
689
|
readonly kind = NodeKind.TernaryExpression;
|
|
688
|
-
constructor(condition: Expression, firstExpression: Expression, secondExpression: Expression, type: Type, sourceLocation
|
|
690
|
+
constructor(condition: Expression, firstExpression: Expression, secondExpression: Expression, type: Type, sourceLocation?: SourceLocation | undefined);
|
|
689
691
|
clone(): TernaryExpression;
|
|
690
692
|
}
|
|
691
693
|
export declare class TextLiteral {
|
|
692
694
|
value: string;
|
|
693
|
-
sourceLocation
|
|
695
|
+
sourceLocation?: SourceLocation | undefined;
|
|
694
696
|
readonly kind = NodeKind.TextLiteral;
|
|
695
|
-
constructor(value: string, sourceLocation
|
|
697
|
+
constructor(value: string, sourceLocation?: SourceLocation | undefined);
|
|
696
698
|
clone(): TextLiteral;
|
|
697
699
|
}
|
|
698
700
|
export declare class LocalizableTextLiteral {
|
|
699
701
|
value: string;
|
|
702
|
+
code: number | undefined;
|
|
700
703
|
sourceLocation: SourceLocation | undefined;
|
|
701
704
|
readonly kind = NodeKind.LocalizableTextLiteral;
|
|
702
|
-
constructor(value: string, sourceLocation: SourceLocation | undefined);
|
|
705
|
+
constructor(value: string, code: number | undefined, sourceLocation: SourceLocation | undefined);
|
|
703
706
|
clone(): LocalizableTextLiteral;
|
|
704
707
|
}
|
|
705
708
|
/**
|
|
@@ -709,39 +712,42 @@ export declare class LocalizableTextLiteral {
|
|
|
709
712
|
*/
|
|
710
713
|
export declare class TextWithEntityName {
|
|
711
714
|
readonly entity: NamedEntity;
|
|
712
|
-
sourceLocation
|
|
715
|
+
sourceLocation?: SourceLocation | undefined;
|
|
713
716
|
readonly kind = NodeKind.TextWithEntityName;
|
|
714
|
-
constructor(entity: NamedEntity, sourceLocation
|
|
717
|
+
constructor(entity: NamedEntity, sourceLocation?: SourceLocation | undefined);
|
|
715
718
|
clone(): TextWithEntityName;
|
|
716
719
|
}
|
|
717
720
|
export declare class TextTemplateLiteral {
|
|
718
|
-
|
|
721
|
+
textFragments: readonly string[];
|
|
722
|
+
expressions: readonly Expression[];
|
|
719
723
|
sourceLocation: SourceLocation | undefined;
|
|
720
724
|
options: TextTemplateEmitOptions;
|
|
721
725
|
readonly kind = NodeKind.TextTemplateLiteral;
|
|
722
|
-
constructor(
|
|
726
|
+
constructor(textFragments: readonly string[], expressions: readonly Expression[], sourceLocation: SourceLocation | undefined, options?: TextTemplateEmitOptions);
|
|
723
727
|
clone(): TextTemplateLiteral;
|
|
724
728
|
}
|
|
725
729
|
export declare class LocalizableTextTemplateLiteral {
|
|
726
|
-
|
|
730
|
+
textFragments: readonly string[];
|
|
731
|
+
expressions: readonly Expression[];
|
|
732
|
+
code: number | undefined;
|
|
727
733
|
sourceLocation: SourceLocation | undefined;
|
|
728
734
|
options: TextTemplateEmitOptions;
|
|
729
735
|
readonly kind = NodeKind.LocalizableTextTemplateLiteral;
|
|
730
|
-
constructor(
|
|
736
|
+
constructor(textFragments: readonly string[], expressions: readonly Expression[], code: number | undefined, sourceLocation: SourceLocation | undefined, options?: TextTemplateEmitOptions);
|
|
731
737
|
clone(): LocalizableTextTemplateLiteral;
|
|
732
738
|
}
|
|
733
739
|
export declare class ThisExpression {
|
|
734
740
|
type: Type;
|
|
735
|
-
sourceLocation
|
|
741
|
+
sourceLocation?: SourceLocation | undefined;
|
|
736
742
|
readonly kind = NodeKind.ThisExpression;
|
|
737
|
-
constructor(type: Type, sourceLocation
|
|
743
|
+
constructor(type: Type, sourceLocation?: SourceLocation | undefined);
|
|
738
744
|
clone(): ThisExpression;
|
|
739
745
|
}
|
|
740
746
|
export declare class TypeAccessExpression {
|
|
741
747
|
entity: TypeOrExtensionEntity;
|
|
742
|
-
sourceLocation
|
|
748
|
+
sourceLocation?: SourceLocation | undefined;
|
|
743
749
|
readonly kind = NodeKind.TypeAccessExpression;
|
|
744
|
-
constructor(entity: TypeOrExtensionEntity, sourceLocation
|
|
750
|
+
constructor(entity: TypeOrExtensionEntity, sourceLocation?: SourceLocation | undefined);
|
|
745
751
|
clone(): TypeAccessExpression;
|
|
746
752
|
}
|
|
747
753
|
export declare class ConstructorDeclaration {
|
|
@@ -749,9 +755,9 @@ export declare class ConstructorDeclaration {
|
|
|
749
755
|
parameters: readonly ParameterDeclaration[];
|
|
750
756
|
body: BlockStatement;
|
|
751
757
|
entity: FunctionEntity;
|
|
752
|
-
sourceLocation
|
|
758
|
+
sourceLocation?: SourceLocation | undefined;
|
|
753
759
|
readonly kind = NodeKind.ConstructorDeclaration;
|
|
754
|
-
constructor(decorators: readonly Decorator[], parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, sourceLocation
|
|
760
|
+
constructor(decorators: readonly Decorator[], parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, sourceLocation?: SourceLocation | undefined);
|
|
755
761
|
clone(): ConstructorDeclaration;
|
|
756
762
|
}
|
|
757
763
|
export declare class DereferencedVariableGetterDeclaration {
|
|
@@ -759,9 +765,9 @@ export declare class DereferencedVariableGetterDeclaration {
|
|
|
759
765
|
decorators: readonly Decorator[];
|
|
760
766
|
modifiers: Modifiers;
|
|
761
767
|
body: BlockStatement;
|
|
762
|
-
sourceLocation
|
|
768
|
+
sourceLocation?: SourceLocation | undefined;
|
|
763
769
|
readonly kind = NodeKind.DereferencedVariableGetterDeclaration;
|
|
764
|
-
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, sourceLocation
|
|
770
|
+
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
765
771
|
clone(): DereferencedVariableGetterDeclaration;
|
|
766
772
|
}
|
|
767
773
|
export declare class DereferencedVariableSetterDeclaration {
|
|
@@ -770,9 +776,9 @@ export declare class DereferencedVariableSetterDeclaration {
|
|
|
770
776
|
modifiers: Modifiers;
|
|
771
777
|
body: BlockStatement;
|
|
772
778
|
valueLocalVariableEntity: VariableEntity;
|
|
773
|
-
sourceLocation
|
|
779
|
+
sourceLocation?: SourceLocation | undefined;
|
|
774
780
|
readonly kind = NodeKind.DereferencedVariableSetterDeclaration;
|
|
775
|
-
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation
|
|
781
|
+
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: SourceLocation | undefined);
|
|
776
782
|
clone(): DereferencedVariableSetterDeclaration;
|
|
777
783
|
}
|
|
778
784
|
export declare class DestructorDeclaration {
|
|
@@ -780,9 +786,9 @@ export declare class DestructorDeclaration {
|
|
|
780
786
|
parameters: readonly ParameterDeclaration[];
|
|
781
787
|
body: BlockStatement;
|
|
782
788
|
entity: FunctionEntity;
|
|
783
|
-
sourceLocation
|
|
789
|
+
sourceLocation?: SourceLocation | undefined;
|
|
784
790
|
readonly kind = NodeKind.DestructorDeclaration;
|
|
785
|
-
constructor(decorators: readonly Decorator[], parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, sourceLocation
|
|
791
|
+
constructor(decorators: readonly Decorator[], parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, sourceLocation?: SourceLocation | undefined);
|
|
786
792
|
clone(): DestructorDeclaration;
|
|
787
793
|
}
|
|
788
794
|
export declare class IndexedElementGetterDeclaration {
|
|
@@ -791,9 +797,9 @@ export declare class IndexedElementGetterDeclaration {
|
|
|
791
797
|
modifiers: Modifiers;
|
|
792
798
|
parameters: readonly ParameterDeclaration[];
|
|
793
799
|
body: BlockStatement;
|
|
794
|
-
sourceLocation
|
|
800
|
+
sourceLocation?: SourceLocation | undefined;
|
|
795
801
|
readonly kind = NodeKind.IndexedElementGetterDeclaration;
|
|
796
|
-
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, sourceLocation
|
|
802
|
+
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
797
803
|
clone(): IndexedElementGetterDeclaration;
|
|
798
804
|
}
|
|
799
805
|
export declare class IndexedElementSetterDeclaration {
|
|
@@ -803,9 +809,9 @@ export declare class IndexedElementSetterDeclaration {
|
|
|
803
809
|
parameters: readonly ParameterDeclaration[];
|
|
804
810
|
body: BlockStatement;
|
|
805
811
|
valueLocalVariableEntity: VariableEntity;
|
|
806
|
-
sourceLocation
|
|
812
|
+
sourceLocation?: SourceLocation | undefined;
|
|
807
813
|
readonly kind = NodeKind.IndexedElementSetterDeclaration;
|
|
808
|
-
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation
|
|
814
|
+
constructor(entity: FunctionEntity, decorators: readonly Decorator[], modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: SourceLocation | undefined);
|
|
809
815
|
clone(): IndexedElementSetterDeclaration;
|
|
810
816
|
}
|
|
811
817
|
export declare class MethodAccessExpression {
|
|
@@ -814,10 +820,10 @@ export declare class MethodAccessExpression {
|
|
|
814
820
|
method: AccessedFunction;
|
|
815
821
|
isCallee: boolean;
|
|
816
822
|
ifComputedThenKey: Expression | undefined;
|
|
817
|
-
sourceLocation
|
|
823
|
+
sourceLocation?: SourceLocation | undefined;
|
|
818
824
|
options: FunctionAccessExpressionEmitOptions;
|
|
819
825
|
readonly kind = NodeKind.MethodAccessExpression;
|
|
820
|
-
constructor(expression: Expression, isOptionalAccess: boolean, method: AccessedFunction, isCallee: boolean, ifComputedThenKey: Expression | undefined, sourceLocation
|
|
826
|
+
constructor(expression: Expression, isOptionalAccess: boolean, method: AccessedFunction, isCallee: boolean, ifComputedThenKey: Expression | undefined, sourceLocation?: SourceLocation | undefined, options?: FunctionAccessExpressionEmitOptions);
|
|
821
827
|
clone(): MethodAccessExpression;
|
|
822
828
|
}
|
|
823
829
|
export declare class MethodDeclaration {
|
|
@@ -828,10 +834,10 @@ export declare class MethodDeclaration {
|
|
|
828
834
|
entity: FunctionEntity;
|
|
829
835
|
isGenerator: boolean;
|
|
830
836
|
ifComputedThenKey: Expression | undefined;
|
|
831
|
-
sourceLocation
|
|
837
|
+
sourceLocation?: SourceLocation | undefined;
|
|
832
838
|
options: MethodDeclarationEmitOptions;
|
|
833
839
|
readonly kind = NodeKind.MethodDeclaration;
|
|
834
|
-
constructor(decorators: readonly Decorator[], modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isGenerator: boolean, ifComputedThenKey: Expression | undefined, sourceLocation
|
|
840
|
+
constructor(decorators: readonly Decorator[], modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isGenerator: boolean, ifComputedThenKey: Expression | undefined, sourceLocation?: SourceLocation | undefined, options?: MethodDeclarationEmitOptions);
|
|
835
841
|
clone(): MethodDeclaration;
|
|
836
842
|
}
|
|
837
843
|
export declare class FieldAccessExpression {
|
|
@@ -840,10 +846,10 @@ export declare class FieldAccessExpression {
|
|
|
840
846
|
field: AccessedVariable;
|
|
841
847
|
accessKind: AccessKind;
|
|
842
848
|
ifComputedThenKey: Expression | undefined;
|
|
843
|
-
sourceLocation
|
|
849
|
+
sourceLocation?: SourceLocation | undefined;
|
|
844
850
|
options: FieldAccessExpressionEmitOptions;
|
|
845
851
|
readonly kind = NodeKind.FieldAccessExpression;
|
|
846
|
-
constructor(expression: Expression, isOptionalAccess: boolean, field: AccessedVariable, accessKind: AccessKind, ifComputedThenKey: Expression | undefined, sourceLocation
|
|
852
|
+
constructor(expression: Expression, isOptionalAccess: boolean, field: AccessedVariable, accessKind: AccessKind, ifComputedThenKey: Expression | undefined, sourceLocation?: SourceLocation | undefined, options?: FieldAccessExpressionEmitOptions);
|
|
847
853
|
static get(expression: Expression, isOptionalAccess: boolean, field: AccessedVariable | VariableEntity, ifComputedThenKey?: Expression, sourceLocation?: SourceLocation): FieldAccessExpression;
|
|
848
854
|
static set(expression: Expression, isOptionalAccess: boolean, field: AccessedVariable | VariableEntity, ifComputedThenKey?: Expression, sourceLocation?: SourceLocation): FieldAccessExpression;
|
|
849
855
|
clone(): FieldAccessExpression;
|
|
@@ -854,10 +860,10 @@ export declare class FieldDeclaration {
|
|
|
854
860
|
initializer: Expression | undefined;
|
|
855
861
|
entity: VariableEntity;
|
|
856
862
|
ifComputedThenKey: Expression | undefined;
|
|
857
|
-
sourceLocation
|
|
863
|
+
sourceLocation?: SourceLocation | undefined;
|
|
858
864
|
options: FieldDeclarationEmitOptions;
|
|
859
865
|
readonly kind = NodeKind.FieldDeclaration;
|
|
860
|
-
constructor(decorators: readonly Decorator[], modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, ifComputedThenKey: Expression | undefined, sourceLocation
|
|
866
|
+
constructor(decorators: readonly Decorator[], modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, ifComputedThenKey: Expression | undefined, sourceLocation?: SourceLocation | undefined, options?: FieldDeclarationEmitOptions);
|
|
861
867
|
clone(): FieldDeclaration;
|
|
862
868
|
}
|
|
863
869
|
export declare class ComputedFieldDeclaration {
|
|
@@ -866,19 +872,19 @@ export declare class ComputedFieldDeclaration {
|
|
|
866
872
|
getter: FieldGetterDeclaration;
|
|
867
873
|
setter: FieldSetterDeclaration | undefined;
|
|
868
874
|
ifComputedThenKey: Expression | undefined;
|
|
869
|
-
sourceLocation
|
|
875
|
+
sourceLocation?: SourceLocation | undefined;
|
|
870
876
|
options: FieldDeclarationEmitOptions;
|
|
871
877
|
readonly kind = NodeKind.ComputedFieldDeclaration;
|
|
872
|
-
constructor(entity: VariableEntity, modifiers: Modifiers, getter: FieldGetterDeclaration, setter: FieldSetterDeclaration | undefined, ifComputedThenKey: Expression | undefined, sourceLocation
|
|
878
|
+
constructor(entity: VariableEntity, modifiers: Modifiers, getter: FieldGetterDeclaration, setter: FieldSetterDeclaration | undefined, ifComputedThenKey: Expression | undefined, sourceLocation?: SourceLocation | undefined, options?: FieldDeclarationEmitOptions);
|
|
873
879
|
clone(): ComputedFieldDeclaration;
|
|
874
880
|
}
|
|
875
881
|
export declare class FieldGetterDeclaration {
|
|
876
882
|
entity: FunctionEntity;
|
|
877
883
|
decorators: readonly Decorator[];
|
|
878
884
|
body: BlockStatement;
|
|
879
|
-
sourceLocation
|
|
885
|
+
sourceLocation?: SourceLocation | undefined;
|
|
880
886
|
readonly kind = NodeKind.FieldGetterDeclaration;
|
|
881
|
-
constructor(entity: FunctionEntity, decorators: readonly Decorator[], body: BlockStatement, sourceLocation
|
|
887
|
+
constructor(entity: FunctionEntity, decorators: readonly Decorator[], body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
882
888
|
clone(): FieldGetterDeclaration;
|
|
883
889
|
}
|
|
884
890
|
export declare class FieldSetterDeclaration {
|
|
@@ -886,9 +892,9 @@ export declare class FieldSetterDeclaration {
|
|
|
886
892
|
decorators: readonly Decorator[];
|
|
887
893
|
body: BlockStatement;
|
|
888
894
|
valueLocalVariableEntity: VariableEntity;
|
|
889
|
-
sourceLocation
|
|
895
|
+
sourceLocation?: SourceLocation | undefined;
|
|
890
896
|
readonly kind = NodeKind.FieldSetterDeclaration;
|
|
891
|
-
constructor(entity: FunctionEntity, decorators: readonly Decorator[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation
|
|
897
|
+
constructor(entity: FunctionEntity, decorators: readonly Decorator[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: SourceLocation | undefined);
|
|
892
898
|
clone(): FieldSetterDeclaration;
|
|
893
899
|
}
|
|
894
900
|
export declare class ParameterDeclaration {
|
|
@@ -898,21 +904,21 @@ export declare class ParameterDeclaration {
|
|
|
898
904
|
* ...param
|
|
899
905
|
*/
|
|
900
906
|
isRest: boolean;
|
|
901
|
-
sourceLocation
|
|
907
|
+
sourceLocation?: SourceLocation | undefined;
|
|
902
908
|
readonly kind = NodeKind.ParameterDeclaration;
|
|
903
909
|
constructor(entity: VariableEntity, defaultValue: Expression | undefined,
|
|
904
910
|
/**
|
|
905
911
|
* ...param
|
|
906
912
|
*/
|
|
907
|
-
isRest: boolean, sourceLocation
|
|
913
|
+
isRest: boolean, sourceLocation?: SourceLocation | undefined);
|
|
908
914
|
clone(): ParameterDeclaration;
|
|
909
915
|
}
|
|
910
916
|
export declare class VariableAccessExpression {
|
|
911
917
|
variable: AccessedVariable;
|
|
912
918
|
accessKind: AccessKind;
|
|
913
|
-
sourceLocation
|
|
919
|
+
sourceLocation?: SourceLocation | undefined;
|
|
914
920
|
readonly kind = NodeKind.VariableAccessExpression;
|
|
915
|
-
constructor(variable: AccessedVariable, accessKind: AccessKind, sourceLocation
|
|
921
|
+
constructor(variable: AccessedVariable, accessKind: AccessKind, sourceLocation?: SourceLocation | undefined);
|
|
916
922
|
static get(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
|
|
917
923
|
static set(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
|
|
918
924
|
clone(): VariableAccessExpression;
|
|
@@ -921,33 +927,33 @@ export declare class WhileStatement {
|
|
|
921
927
|
label: string | undefined;
|
|
922
928
|
condition: Expression;
|
|
923
929
|
body: BlockStatement;
|
|
924
|
-
sourceLocation
|
|
930
|
+
sourceLocation?: SourceLocation | undefined;
|
|
925
931
|
readonly kind = NodeKind.WhileStatement;
|
|
926
|
-
constructor(label: string | undefined, condition: Expression, body: BlockStatement, sourceLocation
|
|
932
|
+
constructor(label: string | undefined, condition: Expression, body: BlockStatement, sourceLocation?: SourceLocation | undefined);
|
|
927
933
|
clone(): WhileStatement;
|
|
928
934
|
}
|
|
929
935
|
export declare class YieldStatement {
|
|
930
936
|
expression: Expression;
|
|
931
|
-
sourceLocation
|
|
937
|
+
sourceLocation?: SourceLocation | undefined;
|
|
932
938
|
readonly kind = NodeKind.YieldStatement;
|
|
933
|
-
constructor(expression: Expression, sourceLocation
|
|
939
|
+
constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
|
|
934
940
|
clone(): YieldStatement;
|
|
935
941
|
}
|
|
936
942
|
export declare class TextTranslationDeclaration {
|
|
937
|
-
key: string;
|
|
943
|
+
key: string | number;
|
|
938
944
|
sourceTextTemplate: TranslationTextTemplate | undefined;
|
|
939
|
-
|
|
945
|
+
translatedTextOrFunctionBlock: TextLiteral | BlockStatement;
|
|
940
946
|
sourceLocation: SourceLocation | undefined;
|
|
941
947
|
readonly kind = NodeKind.TextTranslationDeclaration;
|
|
942
|
-
constructor(key: string, sourceTextTemplate: TranslationTextTemplate | undefined,
|
|
948
|
+
constructor(key: string | number, sourceTextTemplate: TranslationTextTemplate | undefined, translatedTextOrFunctionBlock: TextLiteral | BlockStatement, sourceLocation: SourceLocation | undefined);
|
|
943
949
|
clone(): TextTranslationDeclaration;
|
|
944
950
|
}
|
|
945
951
|
export declare class TranslationTextTemplate {
|
|
946
952
|
fragments: readonly string[];
|
|
947
953
|
parameters: readonly VariableEntity[];
|
|
948
|
-
sourceLocation
|
|
954
|
+
sourceLocation?: SourceLocation | undefined;
|
|
949
955
|
readonly kind = NodeKind.TranslationTextTemplate;
|
|
950
|
-
constructor(fragments: readonly string[], parameters: readonly VariableEntity[], sourceLocation
|
|
956
|
+
constructor(fragments: readonly string[], parameters: readonly VariableEntity[], sourceLocation?: SourceLocation | undefined);
|
|
951
957
|
clone(): TranslationTextTemplate;
|
|
952
958
|
}
|
|
953
959
|
export declare const enum NodeKind {
|