@artel/artc 0.6.25216 → 0.6.25218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Cli.js +3 -3
- package/build/api/Api.js +12 -50
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1056 -1060
- package/build/{chunk-6RYP5SET.js → chunk-FI6LW2RD.js} +5 -4
- package/build/{chunk-TJG64G2K.js → chunk-SK7ZBC3X.js} +16737 -15766
- package/build/{chunk-O7AXOZXA.js → chunk-TQDMVKTN.js} +13 -5
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +4 -26
- package/build/types/analysis/Analyzer.d.ts +162 -200
- package/build/types/analysis/{CallArgumentToParameterMatchResult.d.ts → ArgumentToParameterMatchResult.d.ts} +6 -7
- package/build/types/analysis/{CallArgumentsToParametersMatcher.d.ts → ArgumentsToParametersMatcher.d.ts} +14 -14
- package/build/types/analysis/ConstructorOverloadResolver.d.ts +1 -1
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
- package/build/types/analysis/FindModifier.d.ts +2 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +14 -12
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +12 -7
- package/build/types/analysis/LocalizationContext.d.ts +4 -5
- package/build/types/analysis/Lookup.d.ts +8 -7
- package/build/types/analysis/ModifierFlags.d.ts +16 -0
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
- package/build/types/analysis/OperationOverloadResolver.d.ts +2 -2
- package/build/types/analysis/OverloadResolver.d.ts +4 -4
- package/build/types/analysis/PackageMemberLookup.d.ts +5 -6
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +18 -16
- package/build/types/analysis/Scope.d.ts +21 -116
- package/build/types/analysis/SemanticContext.d.ts +16 -6
- package/build/types/analysis/SemanticContextBuilder.d.ts +1 -1
- package/build/types/analysis/SourceFileMembers.d.ts +12 -89
- package/build/types/analysis/TagMeaning.d.ts +57 -9
- package/build/types/analysis/Tags.d.ts +2 -2
- package/build/types/analysis/TypeMemberLookup.d.ts +15 -15
- package/build/types/analysis/TypeOverloadResolver.d.ts +1 -1
- package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
- package/build/types/analysis/index.d.ts +1 -1
- package/build/types/api/Api.d.ts +2 -6
- package/build/types/diagnostic/DiagnosticCode.d.ts +111 -103
- package/build/types/emitter/{EmitterGeneratedDeclarationKind.d.ts → EmitPhaseName.d.ts} +1 -44
- package/build/types/emitter/EmitterContext.d.ts +13 -1
- package/build/types/emitter/Entities.d.ts +58 -16
- package/build/types/emitter/EntityMap.d.ts +1 -3
- package/build/types/emitter/IrBuilder.d.ts +6 -2
- package/build/types/emitter/IrToJs.d.ts +5 -5
- package/build/types/emitter/Transformer.d.ts +20 -13
- package/build/types/emitter/ir/EmitOptions.d.ts +163 -0
- package/build/types/emitter/ir/Nodes.d.ts +213 -185
- package/build/types/emitter/ir/index.d.ts +1 -2
- package/build/types/emitter/ir/types.d.ts +4 -3
- package/build/types/entities/AliasTypeEntity.d.ts +9 -5
- package/build/types/entities/ConstructorEntity.d.ts +2 -0
- package/build/types/entities/DereferenceOperatorEntity.d.ts +9 -0
- package/build/types/entities/DestructorEntity.d.ts +2 -0
- package/build/types/entities/GetterEntity.d.ts +8 -0
- package/build/types/entities/IndexerEntity.d.ts +9 -0
- package/build/types/entities/MethodEntity.d.ts +9 -5
- package/build/types/entities/MethodTypeEntity.d.ts +18 -5
- package/build/types/entities/OperatorEntity.d.ts +5 -3
- package/build/types/entities/PackageEntity.d.ts +3 -3
- package/build/types/entities/PackageMembers.d.ts +4 -90
- package/build/types/entities/SetterEntity.d.ts +8 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +22 -9
- package/build/types/entities/TypeEntity.d.ts +15 -0
- package/build/types/entities/TypeExtensionEntity.d.ts +2 -0
- package/build/types/entities/TypeParameterEntity.d.ts +12 -7
- package/build/types/entities/VariableEntity.d.ts +50 -41
- package/build/types/entities/VariantTypeEntity.d.ts +18 -11
- package/build/types/entities/index.d.ts +17 -25
- package/build/types/executor/Compiler.d.ts +1 -0
- package/build/types/executor/NodeCompiler.d.ts +1 -0
- package/build/types/parser/CharacterCodes.d.ts +8 -0
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +1 -2
- package/build/types/parser/Scanner.d.ts +0 -6
- package/build/types/parser/UnescapeText.d.ts +1 -1
- package/build/types/project/FileSystemTree.d.ts +2 -2
- package/build/types/services/CompletionService.d.ts +4 -1
- package/build/types/services/DisplayService.d.ts +218 -163
- package/build/types/services/NodeSemanticInfo.d.ts +7 -5
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +8 -24
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -0
- package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
- package/build/types/services/source-generation/SourceGenerationService.d.ts +2 -2
- package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +5 -5
- package/build/types/services/workspace/CompilationController.d.ts +3 -3
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +4 -4
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
- package/build/types/services/workspace/Workspace.d.ts +3 -3
- package/build/types/services/workspace/WorkspaceFiles.d.ts +7 -7
- package/build/types/tree/KeywordKind.d.ts +37 -37
- package/build/types/tree/NodeKind.d.ts +37 -39
- package/build/types/tree/green/Nodes.d.ts +57 -80
- package/build/types/tree/green/SyntaxFactory.d.ts +4 -5
- package/build/types/tree/green/SyntaxToCode.d.ts +1 -2
- package/build/types/tree/red/Nodes.d.ts +65 -93
- package/build/types/ts-interop/Entities.d.ts +77 -34
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +0 -1
- package/build/types/types/MethodType.d.ts +2 -2
- package/build/types/types/TypeMembers.d.ts +9 -0
- package/build/types/types/VariantType.d.ts +2 -2
- package/package.json +2 -2
- package/build/types/analysis/DereferencedVariableAccess.d.ts +0 -14
- package/build/types/analysis/IndexedAccess.d.ts +0 -14
- package/build/types/analysis/VariableAccess.d.ts +0 -14
- package/build/types/analysis/VariantLookup.d.ts +0 -20
- package/build/types/emitter/ir/LoweringOptions.d.ts +0 -34
- package/build/types/emitter/ir/LoweringState.d.ts +0 -25
- package/build/types/entities/VariantEntity.d.ts +0 -31
- package/build/types/entities/Variants.d.ts +0 -10
@@ -1,9 +1,8 @@
|
|
1
|
-
import { AccessKind
|
2
|
-
import { MethodEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
|
1
|
+
import { AccessKind } from '../../common/index.js';
|
2
|
+
import { MethodEntity, NamedEntity, Type, TypeOrExtensionEntity, VariableEntity } from '../Entities.js';
|
3
3
|
import { AccessedMethod, AccessedVariable } from './AccessedEntities.js';
|
4
4
|
import { ComputedAccess } from './ComputedAccess.js';
|
5
|
-
import {
|
6
|
-
import { CallExpressionLoweringState, ConstructorCallExpressionLoweringState } from './LoweringState.js';
|
5
|
+
import { AssignmentEmitOptions, CallExpressionEmitOptions, ConstructorCallExpressionEmitOptions, DeclarationWithInitializerEmitOptions, MethodAccessExpressionEmitOptions, PackageVariableDeclarationEmitOptions, TextTemplateLiteralEmitOptions, TypeMethodDeclarationEmitOptions, TypeVariableAccessExpressionEmitOptions, TypeVariableDeclarationEmitOptions } from './EmitOptions.js';
|
7
6
|
import { SourceLocation } from './SourceLocation.js';
|
8
7
|
import { Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
|
9
8
|
export declare class ArrayLiteral {
|
@@ -35,9 +34,9 @@ export declare class AssignmentExpression {
|
|
35
34
|
right: Expression;
|
36
35
|
operator: AccessedMethod | undefined;
|
37
36
|
sourceLocation: SourceLocation | undefined;
|
38
|
-
|
37
|
+
options: AssignmentEmitOptions;
|
39
38
|
readonly kind = NodeKind.AssignmentExpression;
|
40
|
-
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined,
|
39
|
+
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined, options?: AssignmentEmitOptions);
|
41
40
|
clone(): AssignmentExpression;
|
42
41
|
}
|
43
42
|
export declare class AssignmentStatement {
|
@@ -46,9 +45,9 @@ export declare class AssignmentStatement {
|
|
46
45
|
right: Expression;
|
47
46
|
operator: AccessedMethod | undefined;
|
48
47
|
sourceLocation: SourceLocation | undefined;
|
49
|
-
|
48
|
+
options: AssignmentEmitOptions;
|
50
49
|
readonly kind = NodeKind.AssignmentStatement;
|
51
|
-
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined,
|
50
|
+
constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedMethod | undefined, sourceLocation: SourceLocation | undefined, options?: AssignmentEmitOptions);
|
52
51
|
clone(): AssignmentStatement;
|
53
52
|
}
|
54
53
|
export declare class AssumptionExpression {
|
@@ -61,10 +60,10 @@ export declare class AssumptionExpression {
|
|
61
60
|
export declare class BaseConstructorCallExpression {
|
62
61
|
entity: MethodEntity;
|
63
62
|
containingTypeOfConstructor: TypeOrExtensionEntity;
|
64
|
-
|
63
|
+
args: Arguments;
|
65
64
|
sourceLocation: SourceLocation | undefined;
|
66
65
|
readonly kind = NodeKind.BaseConstructorCallExpression;
|
67
|
-
constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity,
|
66
|
+
constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation: SourceLocation | undefined);
|
68
67
|
clone(): BaseConstructorCallExpression;
|
69
68
|
}
|
70
69
|
export declare class BaseExpression {
|
@@ -105,43 +104,48 @@ export declare class BreakLoopStatement {
|
|
105
104
|
constructor(label: string, sourceLocation: SourceLocation | undefined);
|
106
105
|
clone(): BreakLoopStatement;
|
107
106
|
}
|
108
|
-
export declare class
|
107
|
+
export declare class Argument {
|
109
108
|
expression: Expression;
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
109
|
+
targetParameter: TargetParameter;
|
110
|
+
sourceLocation: SourceLocation | undefined;
|
111
|
+
readonly kind = NodeKind.Argument;
|
112
|
+
constructor(expression: Expression, targetParameter: TargetParameter, sourceLocation: SourceLocation | undefined);
|
113
|
+
clone(): Argument;
|
114
114
|
}
|
115
115
|
export declare class TargetParameter {
|
116
116
|
readonly entity: VariableEntity;
|
117
117
|
readonly type: Type;
|
118
118
|
constructor(entity: VariableEntity, type: Type);
|
119
119
|
}
|
120
|
-
export type
|
121
|
-
export declare class
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
120
|
+
export type Arguments = UnorderedArguments | OrderedArguments;
|
121
|
+
export declare class UnorderedArguments {
|
122
|
+
values: readonly Argument[];
|
123
|
+
targetParameters: readonly VariableEntity[];
|
124
|
+
sourceLocation: SourceLocation | undefined;
|
125
|
+
readonly kind = NodeKind.Arguments;
|
126
|
+
readonly areOrdered = false;
|
127
|
+
constructor(values: readonly Argument[], targetParameters: readonly VariableEntity[], sourceLocation: SourceLocation | undefined);
|
128
|
+
clone(): UnorderedArguments;
|
127
129
|
}
|
128
|
-
export declare class
|
130
|
+
export declare class OrderedArguments {
|
129
131
|
values: readonly Expression[];
|
130
132
|
isLastArgumentSpreading: boolean;
|
131
|
-
|
132
|
-
|
133
|
-
|
133
|
+
sourceLocation: SourceLocation | undefined;
|
134
|
+
readonly kind = NodeKind.Arguments;
|
135
|
+
readonly areOrdered = true;
|
136
|
+
constructor(values: readonly Expression[], isLastArgumentSpreading: boolean, sourceLocation?: SourceLocation | undefined);
|
137
|
+
clone(): OrderedArguments;
|
134
138
|
}
|
135
139
|
export declare class CallExpression {
|
136
140
|
expression: Expression;
|
137
|
-
|
138
|
-
|
141
|
+
isOptionalAccess: boolean;
|
142
|
+
args: Arguments;
|
139
143
|
isAsyncMethodCall: boolean;
|
140
144
|
returnType: Type;
|
141
145
|
sourceLocation: SourceLocation | undefined;
|
142
|
-
|
146
|
+
options: CallExpressionEmitOptions;
|
143
147
|
readonly kind = NodeKind.CallExpression;
|
144
|
-
constructor(expression: Expression,
|
148
|
+
constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, isAsyncMethodCall: boolean, returnType: Type, sourceLocation: SourceLocation | undefined, options?: CallExpressionEmitOptions);
|
145
149
|
clone(): CallExpression;
|
146
150
|
}
|
147
151
|
export declare class CharLiteral {
|
@@ -162,12 +166,12 @@ export declare class ConstructorCallExpression {
|
|
162
166
|
entity: MethodEntity;
|
163
167
|
containingTypeOfConstructor: TypeOrExtensionEntity;
|
164
168
|
typeAccess: TypeAccessExpression;
|
165
|
-
|
169
|
+
args: Arguments;
|
166
170
|
returnType: Type;
|
167
171
|
sourceLocation: SourceLocation | undefined;
|
168
|
-
|
172
|
+
options: ConstructorCallExpressionEmitOptions;
|
169
173
|
readonly kind = NodeKind.ConstructorCallExpression;
|
170
|
-
constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression,
|
174
|
+
constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, typeAccess: TypeAccessExpression, args: Arguments, returnType: Type, sourceLocation: SourceLocation | undefined, options?: ConstructorCallExpressionEmitOptions);
|
171
175
|
clone(): ConstructorCallExpression;
|
172
176
|
}
|
173
177
|
export declare class ContinueLoopStatement {
|
@@ -179,11 +183,11 @@ export declare class ContinueLoopStatement {
|
|
179
183
|
}
|
180
184
|
export declare class DereferenceExpression {
|
181
185
|
expression: Expression;
|
182
|
-
|
186
|
+
isOptionalAccess: boolean;
|
183
187
|
access: ComputedAccess;
|
184
188
|
sourceLocation: SourceLocation | undefined;
|
185
189
|
readonly kind = NodeKind.DereferenceExpression;
|
186
|
-
constructor(expression: Expression,
|
190
|
+
constructor(expression: Expression, isOptionalAccess: boolean, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
|
187
191
|
clone(): DereferenceExpression;
|
188
192
|
}
|
189
193
|
export declare class DisposeStatement {
|
@@ -232,16 +236,6 @@ export declare class ForStatement {
|
|
232
236
|
constructor(label: string | undefined, enumerationVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement, sourceLocation: SourceLocation | undefined);
|
233
237
|
clone(): ForStatement;
|
234
238
|
}
|
235
|
-
export declare class HelperMethodCallExpression {
|
236
|
-
methodName: string;
|
237
|
-
callArguments: readonly Expression[];
|
238
|
-
isAsyncMethodCall: boolean;
|
239
|
-
returnType: Type;
|
240
|
-
sourceLocation: SourceLocation | undefined;
|
241
|
-
readonly kind = NodeKind.HelperMethodCallExpression;
|
242
|
-
constructor(methodName: string, callArguments: readonly Expression[], isAsyncMethodCall: boolean, returnType: Type, sourceLocation: SourceLocation | undefined);
|
243
|
-
clone(): HelperMethodCallExpression;
|
244
|
-
}
|
245
239
|
export declare class IfStatement {
|
246
240
|
condition: Expression;
|
247
241
|
thenStatement: BlockStatement;
|
@@ -253,12 +247,12 @@ export declare class IfStatement {
|
|
253
247
|
}
|
254
248
|
export declare class IndexedAccessExpression {
|
255
249
|
expression: Expression;
|
256
|
-
|
257
|
-
args:
|
250
|
+
isOptionalAccess: boolean;
|
251
|
+
args: Arguments;
|
258
252
|
access: ComputedAccess;
|
259
253
|
sourceLocation: SourceLocation | undefined;
|
260
254
|
readonly kind = NodeKind.IndexedAccessExpression;
|
261
|
-
constructor(expression: Expression,
|
255
|
+
constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, access: ComputedAccess, sourceLocation: SourceLocation | undefined);
|
262
256
|
clone(): IndexedAccessExpression;
|
263
257
|
}
|
264
258
|
export declare class InlineJsExpression {
|
@@ -329,12 +323,12 @@ export declare class JsImportSpecifier {
|
|
329
323
|
}
|
330
324
|
export declare class JsIndexedAccessExpression {
|
331
325
|
expression: Expression;
|
332
|
-
|
326
|
+
isOptionalAccess: boolean;
|
333
327
|
argument: Expression;
|
334
328
|
type: Type;
|
335
329
|
sourceLocation: SourceLocation | undefined;
|
336
330
|
readonly kind = NodeKind.JsIndexedAccessExpression;
|
337
|
-
constructor(expression: Expression,
|
331
|
+
constructor(expression: Expression, isOptionalAccess: boolean, argument: Expression, type: Type, sourceLocation: SourceLocation | undefined);
|
338
332
|
clone(): JsIndexedAccessExpression;
|
339
333
|
}
|
340
334
|
export declare class JsInstanceOfExpression {
|
@@ -361,22 +355,34 @@ export declare class JsObjectLiteral {
|
|
361
355
|
constructor(properties: readonly JsObjectLiteralProperty[], sourceLocation: SourceLocation | undefined);
|
362
356
|
clone(): JsObjectLiteral;
|
363
357
|
}
|
364
|
-
export
|
358
|
+
export type JsObjectLiteralProperty = NamedJsObjectLiteralProperty | SpreadJsObjectLiteralProperty;
|
359
|
+
export declare class NamedJsObjectLiteralProperty {
|
365
360
|
name: string;
|
366
361
|
value: Expression;
|
367
362
|
sourceLocation: SourceLocation | undefined;
|
368
|
-
readonly kind = NodeKind.
|
363
|
+
readonly kind = NodeKind.NamedJsObjectLiteralProperty;
|
369
364
|
constructor(name: string, value: Expression, sourceLocation: SourceLocation | undefined);
|
370
|
-
clone():
|
365
|
+
clone(): NamedJsObjectLiteralProperty;
|
366
|
+
}
|
367
|
+
/**
|
368
|
+
* @example
|
369
|
+
* { ...expression }
|
370
|
+
*/
|
371
|
+
export declare class SpreadJsObjectLiteralProperty {
|
372
|
+
expression: Expression;
|
373
|
+
sourceLocation: SourceLocation | undefined;
|
374
|
+
readonly kind = NodeKind.SpreadJsObjectLiteralProperty;
|
375
|
+
constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
|
376
|
+
clone(): SpreadJsObjectLiteralProperty;
|
371
377
|
}
|
372
378
|
export declare class JsPropertyAccessExpression {
|
373
379
|
expression: Expression;
|
374
|
-
|
380
|
+
isOptionalAccess: boolean;
|
375
381
|
name: string;
|
376
382
|
type: Type;
|
377
383
|
sourceLocation: SourceLocation | undefined;
|
378
384
|
readonly kind = NodeKind.JsPropertyAccessExpression;
|
379
|
-
constructor(expression: Expression,
|
385
|
+
constructor(expression: Expression, isOptionalAccess: boolean, name: string, type: Type, sourceLocation: SourceLocation | undefined);
|
380
386
|
clone(): JsPropertyAccessExpression;
|
381
387
|
}
|
382
388
|
export declare class JsTypeOfExpression {
|
@@ -390,9 +396,9 @@ export declare class LocalVariableDeclaration {
|
|
390
396
|
entity: VariableEntity;
|
391
397
|
initializer: Expression | undefined;
|
392
398
|
sourceLocation: SourceLocation | undefined;
|
393
|
-
|
399
|
+
options: DeclarationWithInitializerEmitOptions;
|
394
400
|
readonly kind = NodeKind.LocalVariableDeclaration;
|
395
|
-
constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation: SourceLocation | undefined,
|
401
|
+
constructor(entity: VariableEntity, initializer: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: DeclarationWithInitializerEmitOptions);
|
396
402
|
clone(): LocalVariableDeclaration;
|
397
403
|
}
|
398
404
|
export declare class LocalVariableDeclarationStatement {
|
@@ -421,9 +427,9 @@ export declare class MethodAccessExpression {
|
|
421
427
|
method: AccessedMethod;
|
422
428
|
isCallee: boolean;
|
423
429
|
sourceLocation: SourceLocation | undefined;
|
424
|
-
|
430
|
+
options: MethodAccessExpressionEmitOptions;
|
425
431
|
readonly kind = NodeKind.MethodAccessExpression;
|
426
|
-
constructor(method: AccessedMethod, isCallee: boolean, sourceLocation: SourceLocation | undefined,
|
432
|
+
constructor(method: AccessedMethod, isCallee: boolean, sourceLocation: SourceLocation | undefined, options?: MethodAccessExpressionEmitOptions);
|
427
433
|
clone(): MethodAccessExpression;
|
428
434
|
}
|
429
435
|
export declare class MethodLiteral {
|
@@ -487,21 +493,21 @@ export declare class NumericLiteral {
|
|
487
493
|
constructor(value: number, sourceLocation: SourceLocation | undefined);
|
488
494
|
clone(): NumericLiteral;
|
489
495
|
}
|
490
|
-
export declare class
|
496
|
+
export declare class CatchClause {
|
491
497
|
errorVariableEntity: VariableEntity | undefined;
|
492
498
|
body: BlockStatement;
|
493
499
|
sourceLocation: SourceLocation | undefined;
|
494
|
-
readonly kind = NodeKind.
|
500
|
+
readonly kind = NodeKind.CatchClause;
|
495
501
|
constructor(errorVariableEntity: VariableEntity | undefined, body: BlockStatement, sourceLocation: SourceLocation | undefined);
|
496
|
-
clone():
|
502
|
+
clone(): CatchClause;
|
497
503
|
}
|
498
504
|
export declare class OwnConstructorCallExpression {
|
499
505
|
entity: MethodEntity;
|
500
506
|
containingTypeOfConstructor: TypeOrExtensionEntity;
|
501
|
-
|
507
|
+
args: Arguments;
|
502
508
|
sourceLocation: SourceLocation | undefined;
|
503
509
|
readonly kind = NodeKind.OwnConstructorCallExpression;
|
504
|
-
constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity,
|
510
|
+
constructor(entity: MethodEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation: SourceLocation | undefined);
|
505
511
|
clone(): OwnConstructorCallExpression;
|
506
512
|
}
|
507
513
|
export declare class PackageMethodDeclaration {
|
@@ -509,20 +515,20 @@ export declare class PackageMethodDeclaration {
|
|
509
515
|
valueParameters: readonly ValueParameterDeclaration[];
|
510
516
|
body: BlockStatement;
|
511
517
|
entity: MethodEntity;
|
512
|
-
paramLocalVariableEntity: VariableEntity | undefined;
|
513
518
|
isGenerator: boolean;
|
514
519
|
sourceLocation: SourceLocation | undefined;
|
515
520
|
readonly kind = NodeKind.PackageMethodDeclaration;
|
516
|
-
constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity,
|
521
|
+
constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean, sourceLocation: SourceLocation | undefined);
|
517
522
|
clone(): PackageMethodDeclaration;
|
518
523
|
}
|
519
524
|
export declare class PackageTypeDeclaration {
|
525
|
+
decorators: readonly Decorator[];
|
520
526
|
modifiers: Modifiers;
|
521
527
|
members: readonly TypeMemberDeclaration[];
|
522
528
|
entity: TypeOrExtensionEntity;
|
523
529
|
sourceLocation: SourceLocation | undefined;
|
524
530
|
readonly kind = NodeKind.PackageTypeDeclaration;
|
525
|
-
constructor(modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
|
531
|
+
constructor(decorators: readonly Decorator[], modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation: SourceLocation | undefined);
|
526
532
|
clone(): PackageTypeDeclaration;
|
527
533
|
}
|
528
534
|
export declare class PackageVariableDeclaration {
|
@@ -530,8 +536,9 @@ export declare class PackageVariableDeclaration {
|
|
530
536
|
initializer: Expression | undefined;
|
531
537
|
entity: VariableEntity;
|
532
538
|
sourceLocation: SourceLocation | undefined;
|
539
|
+
options: PackageVariableDeclarationEmitOptions;
|
533
540
|
readonly kind = NodeKind.PackageVariableDeclaration;
|
534
|
-
constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
541
|
+
constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined, options?: PackageVariableDeclarationEmitOptions);
|
535
542
|
clone(): PackageVariableDeclaration;
|
536
543
|
}
|
537
544
|
export declare class PackageVariableGetterDeclaration {
|
@@ -547,11 +554,10 @@ export declare class PackageVariableSetterDeclaration {
|
|
547
554
|
entity: MethodEntity;
|
548
555
|
variableEntity: VariableEntity;
|
549
556
|
body: BlockStatement;
|
550
|
-
paramLocalVariableEntity: VariableEntity | undefined;
|
551
557
|
valueLocalVariableEntity: VariableEntity;
|
552
558
|
sourceLocation: SourceLocation | undefined;
|
553
559
|
readonly kind = NodeKind.PackageVariableSetterDeclaration;
|
554
|
-
constructor(entity: MethodEntity, variableEntity: VariableEntity, body: BlockStatement,
|
560
|
+
constructor(entity: MethodEntity, variableEntity: VariableEntity, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
555
561
|
clone(): PackageVariableSetterDeclaration;
|
556
562
|
}
|
557
563
|
export declare class PackageVariantTypeDeclaration {
|
@@ -576,6 +582,13 @@ export declare class VariantDeclaration {
|
|
576
582
|
constructor(value: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
577
583
|
clone(): VariantDeclaration;
|
578
584
|
}
|
585
|
+
export declare class Decorator {
|
586
|
+
expression: Expression;
|
587
|
+
sourceLocation: SourceLocation | undefined;
|
588
|
+
readonly kind = NodeKind.Decorator;
|
589
|
+
constructor(expression: Expression, sourceLocation: SourceLocation | undefined);
|
590
|
+
clone(): Decorator;
|
591
|
+
}
|
579
592
|
export declare class PrefixUnaryExpression {
|
580
593
|
operatorKind: PrefixUnaryExpressionOperatorKind;
|
581
594
|
expression: Expression;
|
@@ -601,11 +614,11 @@ export declare class ReturnStatement {
|
|
601
614
|
}
|
602
615
|
export declare class RunStatement {
|
603
616
|
body: BlockStatement;
|
604
|
-
|
617
|
+
catchClauses: readonly CatchClause[];
|
605
618
|
finallyClause: FinallyClause | undefined;
|
606
619
|
sourceLocation: SourceLocation | undefined;
|
607
620
|
readonly kind = NodeKind.RunStatement;
|
608
|
-
constructor(body: BlockStatement,
|
621
|
+
constructor(body: BlockStatement, catchClauses: readonly CatchClause[], finallyClause: FinallyClause | undefined, sourceLocation: SourceLocation | undefined);
|
609
622
|
clone(): RunStatement;
|
610
623
|
}
|
611
624
|
export declare class Package {
|
@@ -633,14 +646,6 @@ export declare class CaseClause {
|
|
633
646
|
constructor(expressions: readonly Expression[], body: BlockStatement);
|
634
647
|
clone(): CaseClause;
|
635
648
|
}
|
636
|
-
export declare class Tag {
|
637
|
-
name: Name;
|
638
|
-
callArguments: readonly CallArgument[];
|
639
|
-
sourceLocation: SourceLocation | undefined;
|
640
|
-
readonly kind = NodeKind.Tag;
|
641
|
-
constructor(name: Name, callArguments: readonly CallArgument[], sourceLocation: SourceLocation | undefined);
|
642
|
-
clone(): Tag;
|
643
|
-
}
|
644
649
|
export declare class TernaryExpression {
|
645
650
|
condition: Expression;
|
646
651
|
firstExpression: Expression;
|
@@ -658,12 +663,24 @@ export declare class TextLiteral {
|
|
658
663
|
constructor(value: string, sourceLocation: SourceLocation | undefined);
|
659
664
|
clone(): TextLiteral;
|
660
665
|
}
|
666
|
+
/**
|
667
|
+
* Узел предназначен для генерации строки, состоящей из имени сущности.
|
668
|
+
* Поскольку имена сущностей могут меняться в процессе трансформаций, для этих целей нельзя использовать обычный
|
669
|
+
* литерал текста.
|
670
|
+
*/
|
671
|
+
export declare class TextWithEntityName {
|
672
|
+
readonly entity: NamedEntity;
|
673
|
+
sourceLocation: SourceLocation | undefined;
|
674
|
+
readonly kind = NodeKind.TextWithEntityName;
|
675
|
+
constructor(entity: NamedEntity, sourceLocation: SourceLocation | undefined);
|
676
|
+
clone(): TextWithEntityName;
|
677
|
+
}
|
661
678
|
export declare class TextTemplateLiteral {
|
662
679
|
elements: readonly (string | Expression)[];
|
663
680
|
sourceLocation: SourceLocation | undefined;
|
664
|
-
|
681
|
+
options: TextTemplateLiteralEmitOptions;
|
665
682
|
readonly kind = NodeKind.TextTemplateLiteral;
|
666
|
-
constructor(elements: readonly (string | Expression)[], sourceLocation: SourceLocation | undefined,
|
683
|
+
constructor(elements: readonly (string | Expression)[], sourceLocation: SourceLocation | undefined, options?: TextTemplateLiteralEmitOptions);
|
667
684
|
clone(): TextTemplateLiteral;
|
668
685
|
}
|
669
686
|
export declare class ThisExpression {
|
@@ -691,133 +708,150 @@ export declare class TypeAccessExpression {
|
|
691
708
|
clone(): TypeAccessExpression;
|
692
709
|
}
|
693
710
|
export declare class TypeConstructorDeclaration {
|
711
|
+
decorators: readonly Decorator[];
|
694
712
|
valueParameters: readonly ValueParameterDeclaration[];
|
695
713
|
body: BlockStatement;
|
696
714
|
entity: MethodEntity;
|
697
715
|
sourceLocation: SourceLocation | undefined;
|
698
716
|
readonly kind = NodeKind.TypeConstructorDeclaration;
|
699
|
-
constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
|
717
|
+
constructor(decorators: readonly Decorator[], valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
|
700
718
|
clone(): TypeConstructorDeclaration;
|
701
719
|
}
|
702
720
|
export declare class TypeDereferencedVariableGetterDeclaration {
|
703
721
|
entity: MethodEntity;
|
722
|
+
decorators: readonly Decorator[];
|
704
723
|
modifiers: Modifiers;
|
705
724
|
body: BlockStatement;
|
706
725
|
sourceLocation: SourceLocation | undefined;
|
707
726
|
readonly kind = NodeKind.TypeDereferencedVariableGetterDeclaration;
|
708
|
-
constructor(entity: MethodEntity, modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
|
727
|
+
constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, sourceLocation: SourceLocation | undefined);
|
709
728
|
clone(): TypeDereferencedVariableGetterDeclaration;
|
710
729
|
}
|
711
730
|
export declare class TypeDereferencedVariableSetterDeclaration {
|
712
731
|
entity: MethodEntity;
|
732
|
+
decorators: readonly Decorator[];
|
713
733
|
modifiers: Modifiers;
|
714
734
|
body: BlockStatement;
|
715
|
-
paramLocalVariableEntity: VariableEntity;
|
716
735
|
valueLocalVariableEntity: VariableEntity;
|
717
736
|
sourceLocation: SourceLocation | undefined;
|
718
737
|
readonly kind = NodeKind.TypeDereferencedVariableSetterDeclaration;
|
719
|
-
constructor(entity: MethodEntity, modifiers: Modifiers, body: BlockStatement,
|
738
|
+
constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
720
739
|
clone(): TypeDereferencedVariableSetterDeclaration;
|
721
740
|
}
|
722
741
|
export declare class TypeDestructorDeclaration {
|
742
|
+
decorators: readonly Decorator[];
|
723
743
|
valueParameters: readonly ValueParameterDeclaration[];
|
724
744
|
body: BlockStatement;
|
725
745
|
entity: MethodEntity;
|
726
746
|
sourceLocation: SourceLocation | undefined;
|
727
747
|
readonly kind = NodeKind.TypeDestructorDeclaration;
|
728
|
-
constructor(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
|
748
|
+
constructor(decorators: readonly Decorator[], valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, sourceLocation: SourceLocation | undefined);
|
729
749
|
clone(): TypeDestructorDeclaration;
|
730
750
|
}
|
731
751
|
export declare class TypeIndexedGetterDeclaration {
|
732
752
|
entity: MethodEntity;
|
753
|
+
decorators: readonly Decorator[];
|
733
754
|
modifiers: Modifiers;
|
734
755
|
valueParameters: readonly ValueParameterDeclaration[];
|
735
756
|
body: BlockStatement;
|
736
|
-
paramLocalVariableEntity: VariableEntity;
|
737
757
|
sourceLocation: SourceLocation | undefined;
|
738
758
|
readonly kind = NodeKind.TypeIndexedGetterDeclaration;
|
739
|
-
constructor(entity: MethodEntity, modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement,
|
759
|
+
constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, sourceLocation: SourceLocation | undefined);
|
740
760
|
clone(): TypeIndexedGetterDeclaration;
|
741
761
|
}
|
742
762
|
export declare class TypeIndexedSetterDeclaration {
|
743
763
|
entity: MethodEntity;
|
764
|
+
decorators: readonly Decorator[];
|
744
765
|
modifiers: Modifiers;
|
745
766
|
valueParameters: readonly ValueParameterDeclaration[];
|
746
767
|
body: BlockStatement;
|
747
|
-
paramLocalVariableEntity: VariableEntity;
|
748
768
|
valueLocalVariableEntity: VariableEntity;
|
749
769
|
sourceLocation: SourceLocation | undefined;
|
750
770
|
readonly kind = NodeKind.TypeIndexedSetterDeclaration;
|
751
|
-
constructor(entity: MethodEntity, modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement,
|
771
|
+
constructor(entity: MethodEntity, decorators: readonly Decorator[], modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
752
772
|
clone(): TypeIndexedSetterDeclaration;
|
753
773
|
}
|
754
774
|
export declare class TypeMethodAccessExpression {
|
755
775
|
expression: Expression;
|
756
|
-
|
776
|
+
isOptionalAccess: boolean;
|
757
777
|
method: AccessedMethod;
|
758
778
|
isCallee: boolean;
|
779
|
+
ifComputedThenKey: Expression | undefined;
|
759
780
|
sourceLocation: SourceLocation | undefined;
|
760
|
-
|
781
|
+
options: MethodAccessExpressionEmitOptions;
|
761
782
|
readonly kind = NodeKind.TypeMethodAccessExpression;
|
762
|
-
constructor(expression: Expression,
|
783
|
+
constructor(expression: Expression, isOptionalAccess: boolean, method: AccessedMethod, isCallee: boolean, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: MethodAccessExpressionEmitOptions);
|
763
784
|
clone(): TypeMethodAccessExpression;
|
764
785
|
}
|
765
786
|
export declare class TypeMethodDeclaration {
|
787
|
+
decorators: readonly Decorator[];
|
766
788
|
modifiers: Modifiers;
|
767
789
|
valueParameters: readonly ValueParameterDeclaration[];
|
768
790
|
body: BlockStatement;
|
769
791
|
entity: MethodEntity;
|
770
792
|
isGenerator: boolean;
|
771
|
-
|
793
|
+
ifComputedThenKey: Expression | undefined;
|
772
794
|
sourceLocation: SourceLocation | undefined;
|
795
|
+
options: TypeMethodDeclarationEmitOptions;
|
773
796
|
readonly kind = NodeKind.TypeMethodDeclaration;
|
774
|
-
constructor(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean,
|
797
|
+
constructor(decorators: readonly Decorator[], modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, isGenerator: boolean, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeMethodDeclarationEmitOptions);
|
775
798
|
clone(): TypeMethodDeclaration;
|
776
799
|
}
|
777
|
-
export type ComputedTypeMethodInfo = {
|
778
|
-
readonly key: Expression;
|
779
|
-
};
|
780
800
|
export declare class TypeVariableAccessExpression {
|
781
801
|
expression: Expression;
|
782
|
-
|
802
|
+
isOptionalAccess: boolean;
|
783
803
|
variable: AccessedVariable;
|
784
804
|
accessKind: AccessKind;
|
805
|
+
ifComputedThenKey: Expression | undefined;
|
785
806
|
sourceLocation: SourceLocation | undefined;
|
807
|
+
options: TypeVariableAccessExpressionEmitOptions;
|
786
808
|
readonly kind = NodeKind.TypeVariableAccessExpression;
|
787
|
-
constructor(expression: Expression,
|
788
|
-
static get(expression: Expression,
|
789
|
-
static set(expression: Expression,
|
809
|
+
constructor(expression: Expression, isOptionalAccess: boolean, variable: AccessedVariable, accessKind: AccessKind, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeVariableAccessExpressionEmitOptions);
|
810
|
+
static get(expression: Expression, isOptionalAccess: boolean, variable: AccessedVariable | VariableEntity, ifComputedThenKey?: Expression, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
|
811
|
+
static set(expression: Expression, isOptionalAccess: boolean, variable: AccessedVariable | VariableEntity, ifComputedThenKey?: Expression, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
|
790
812
|
clone(): TypeVariableAccessExpression;
|
791
813
|
}
|
792
814
|
export declare class TypeVariableDeclaration {
|
815
|
+
decorators: readonly Decorator[];
|
793
816
|
modifiers: Modifiers;
|
794
817
|
initializer: Expression | undefined;
|
795
818
|
entity: VariableEntity;
|
819
|
+
ifComputedThenKey: Expression | undefined;
|
796
820
|
sourceLocation: SourceLocation | undefined;
|
821
|
+
options: TypeVariableDeclarationEmitOptions;
|
797
822
|
readonly kind = NodeKind.TypeVariableDeclaration;
|
798
|
-
constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
823
|
+
constructor(decorators: readonly Decorator[], modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeVariableDeclarationEmitOptions);
|
799
824
|
clone(): TypeVariableDeclaration;
|
800
825
|
}
|
826
|
+
export declare class ComputedTypeVariableDeclaration {
|
827
|
+
entity: VariableEntity;
|
828
|
+
modifiers: Modifiers;
|
829
|
+
getter: TypeVariableGetterDeclaration;
|
830
|
+
setter: TypeVariableSetterDeclaration | undefined;
|
831
|
+
ifComputedThenKey: Expression | undefined;
|
832
|
+
sourceLocation: SourceLocation | undefined;
|
833
|
+
options: TypeVariableDeclarationEmitOptions;
|
834
|
+
readonly kind = NodeKind.ComputedTypeVariableDeclaration;
|
835
|
+
constructor(entity: VariableEntity, modifiers: Modifiers, getter: TypeVariableGetterDeclaration, setter: TypeVariableSetterDeclaration | undefined, ifComputedThenKey: Expression | undefined, sourceLocation: SourceLocation | undefined, options?: TypeVariableDeclarationEmitOptions);
|
836
|
+
clone(): ComputedTypeVariableDeclaration;
|
837
|
+
}
|
801
838
|
export declare class TypeVariableGetterDeclaration {
|
802
839
|
entity: MethodEntity;
|
803
|
-
|
804
|
-
modifiers: Modifiers;
|
840
|
+
decorators: readonly Decorator[];
|
805
841
|
body: BlockStatement;
|
806
842
|
sourceLocation: SourceLocation | undefined;
|
807
843
|
readonly kind = NodeKind.TypeVariableGetterDeclaration;
|
808
|
-
constructor(entity: MethodEntity,
|
844
|
+
constructor(entity: MethodEntity, decorators: readonly Decorator[], body: BlockStatement, sourceLocation: SourceLocation | undefined);
|
809
845
|
clone(): TypeVariableGetterDeclaration;
|
810
846
|
}
|
811
847
|
export declare class TypeVariableSetterDeclaration {
|
812
848
|
entity: MethodEntity;
|
813
|
-
|
814
|
-
modifiers: Modifiers;
|
849
|
+
decorators: readonly Decorator[];
|
815
850
|
body: BlockStatement;
|
816
|
-
paramLocalVariableEntity: VariableEntity | undefined;
|
817
851
|
valueLocalVariableEntity: VariableEntity;
|
818
852
|
sourceLocation: SourceLocation | undefined;
|
819
853
|
readonly kind = NodeKind.TypeVariableSetterDeclaration;
|
820
|
-
constructor(entity: MethodEntity,
|
854
|
+
constructor(entity: MethodEntity, decorators: readonly Decorator[], body: BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
821
855
|
clone(): TypeVariableSetterDeclaration;
|
822
856
|
}
|
823
857
|
export declare class ValueParameterDeclaration {
|
@@ -846,14 +880,6 @@ export declare class VariableAccessExpression {
|
|
846
880
|
static set(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
|
847
881
|
clone(): VariableAccessExpression;
|
848
882
|
}
|
849
|
-
export declare class VariantAccessExpression {
|
850
|
-
typeAccess: TypeAccessExpression;
|
851
|
-
entity: VariableEntity;
|
852
|
-
sourceLocation: SourceLocation | undefined;
|
853
|
-
readonly kind = NodeKind.VariantAccessExpression;
|
854
|
-
constructor(typeAccess: TypeAccessExpression, entity: VariableEntity, sourceLocation: SourceLocation | undefined);
|
855
|
-
clone(): VariantAccessExpression;
|
856
|
-
}
|
857
883
|
export declare class WhileStatement {
|
858
884
|
label: string | undefined;
|
859
885
|
condition: Expression;
|
@@ -879,7 +905,7 @@ export declare const enum NodeKind {
|
|
879
905
|
BlockStatement = 5,
|
880
906
|
BooleanLiteral = 6,
|
881
907
|
BreakLoopStatement = 7,
|
882
|
-
|
908
|
+
Argument = 8,
|
883
909
|
CallExpression = 9,
|
884
910
|
CaseClause = 10,
|
885
911
|
CharLiteral = 11,
|
@@ -901,71 +927,73 @@ export declare const enum NodeKind {
|
|
901
927
|
IfStatement = 27,
|
902
928
|
IndexedAccessExpression = 28,
|
903
929
|
IntegerLiteral = 29,
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
930
|
+
IsExpression = 30,
|
931
|
+
NestedMethodDeclaration = 31,
|
932
|
+
NestedMethodDeclarationStatement = 32,
|
933
|
+
LocalVariableDeclaration = 33,
|
934
|
+
LocalVariableDeclarationStatement = 34,
|
935
|
+
NumericLiteral = 35,
|
936
|
+
CatchClause = 36,
|
937
|
+
MethodLiteral = 37,
|
938
|
+
PrefixUnaryExpression = 38,
|
939
|
+
MeasureLiteral = 39,
|
940
|
+
ReferenceExpression = 40,
|
941
|
+
LoopStatement = 41,
|
942
|
+
ReturnStatement = 42,
|
943
|
+
Package = 43,
|
944
|
+
TextLiteral = 44,
|
945
|
+
TextTemplateLiteral = 45,
|
946
|
+
TypeConstructorDeclaration = 46,
|
947
|
+
TypeDestructorDeclaration = 47,
|
948
|
+
TypeIndexedGetterDeclaration = 48,
|
949
|
+
TypeIndexedSetterDeclaration = 49,
|
950
|
+
TypeMethodDeclaration = 50,
|
951
|
+
TypeVariableDeclaration = 51,
|
952
|
+
TypeVariableGetterDeclaration = 52,
|
953
|
+
TypeVariableSetterDeclaration = 53,
|
954
|
+
SwitchStatement = 54,
|
955
|
+
TernaryExpression = 55,
|
956
|
+
ThisExpression = 56,
|
957
|
+
ValueParameterDeclaration = 57,
|
958
|
+
VariantDeclaration = 58,
|
959
|
+
WhileStatement = 59,
|
960
|
+
YieldStatement = 60,
|
961
|
+
ArrayLiteral = 61,
|
962
|
+
TypeAccessExpression = 62,
|
963
|
+
VariableAccessExpression = 63,
|
964
|
+
MethodAccessExpression = 64,
|
965
|
+
ImplicitVariantAccessExpression = 65,
|
966
|
+
VariantAccessExpression = 66,
|
967
|
+
TypeVariableAccessExpression = 67,
|
968
|
+
TypeMethodAccessExpression = 68,
|
969
|
+
ConstructorCallExpression = 69,
|
970
|
+
TryCatchFinallyStatement = 70,
|
971
|
+
InlineJsExpression = 71,
|
972
|
+
AssignmentExpression = 72,
|
973
|
+
CommaExpression = 73,
|
974
|
+
BaseConstructorCallExpression = 74,
|
975
|
+
JsImportSpecifier = 75,
|
976
|
+
JsIndexedAccessExpression = 76,
|
977
|
+
EsModuleImportDirectiveStatement = 77,
|
978
|
+
CjsModuleImportDirectiveStatement = 78,
|
979
|
+
JsObjectLiteral = 79,
|
980
|
+
NamedJsObjectLiteralProperty = 80,
|
981
|
+
SpreadJsObjectLiteralProperty = 81,
|
982
|
+
JsPropertyAccessExpression = 82,
|
983
|
+
JsFunctionLiteral = 83,
|
984
|
+
JsTypeOfExpression = 84,
|
985
|
+
JsInstanceOfExpression = 85,
|
986
|
+
JsIdentifierExpression = 86,
|
987
|
+
DereferenceExpression = 87,
|
988
|
+
BaseExpression = 88,
|
989
|
+
OwnConstructorCallExpression = 89,
|
990
|
+
TypeDereferencedVariableGetterDeclaration = 90,
|
991
|
+
TypeDereferencedVariableSetterDeclaration = 91,
|
992
|
+
JsNamespaceDestructuringStatement = 92,
|
993
|
+
ComputedTypeVariableDeclaration = 93,
|
994
|
+
TextWithEntityName = 94,
|
995
|
+
Arguments = 95,
|
996
|
+
Decorator = 96
|
969
997
|
}
|
970
998
|
export declare const enum AssignmentOperatorKind {
|
971
999
|
Equals = 0,
|