@artel/artc 0.6.25265 → 0.6.25267

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.
@@ -10,7 +10,7 @@ import {
10
10
  WellKnownDeclarationsLoadError,
11
11
  __async,
12
12
  createTsInteropInputsForCompilation
13
- } from "./chunk-7MWYN6O7.js";
13
+ } from "./chunk-PONDNA47.js";
14
14
 
15
15
  // source/executor/Compiler.ts
16
16
  var Compiler = class {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "./chunk-ZL6MDCED.js";
3
+ } from "./chunk-PWOY5UD5.js";
4
4
  import {
5
5
  ArtelVersion,
6
6
  Cached,
@@ -14,7 +14,7 @@ import {
14
14
  __async,
15
15
  performanceMeasurementStageNames,
16
16
  performanceMeasurementStages
17
- } from "./chunk-7MWYN6O7.js";
17
+ } from "./chunk-PONDNA47.js";
18
18
 
19
19
  // source/executor/FileSystemUri.ts
20
20
  import { platform } from "os";
@@ -20,6 +20,7 @@ export declare class EmitterContext {
20
20
  createIdentitySubstitutedType(entity: TypeOrExtensionEntity): Type;
21
21
  unaliasTypeEntity(typeEntity: TypeOrExtensionEntity): Type;
22
22
  unaliasType(type: Type): Type;
23
+ createUnionType(types: readonly Type[]): Type;
23
24
  isTypeEmittedAsClass(entity: TypeOrExtensionEntity): boolean;
24
25
  isRefOrPlainObjectTypeEntity(entity: TypeOrExtensionEntity): boolean;
25
26
  isAspectTypeEntity(entity: TypeOrExtensionEntity): boolean;
@@ -2,10 +2,11 @@ import { DeclarationsUsageMap } from '../analysis/DeclarationsUsageCounter.js';
2
2
  import { Analyzer } from '../analysis/index.js';
3
3
  import { SourceFile, SourcePackage } from '../project/index.js';
4
4
  import * as tree from '../tree/index.js';
5
+ import { EmitterContext } from './EmitterContext.js';
5
6
  import { EntityMap } from './EntityMap.js';
6
7
  import * as ir from './ir/index.js';
7
8
  export declare class IrBuilder {
8
- private readonly analyzer;
9
+ private readonly ectx;
9
10
  private readonly entityMap;
10
11
  private readonly declarationUsageInfoOfAllPackages;
11
12
  private readonly typesCreatedFromAnonymousTypes;
@@ -15,8 +16,9 @@ export declare class IrBuilder {
15
16
  private declarationsUsageInfoOfPackageSourceFiles;
16
17
  private id;
17
18
  private currentLoopLabel;
19
+ private get analyzer();
18
20
  private get textTemplateToTextMethod();
19
- constructor(analyzer: Analyzer, entityMap: EntityMap, declarationUsageInfoOfAllPackages: ReadonlyMap<tree.SourceFile, DeclarationsUsageMap>);
21
+ constructor(ectx: EmitterContext, entityMap: EntityMap, declarationUsageInfoOfAllPackages: ReadonlyMap<tree.SourceFile, DeclarationsUsageMap>);
20
22
  build(pkg: SourcePackage): ir.Package;
21
23
  private buildPackageMemberDeclarationList;
22
24
  private buildPackageConstructorDeclaration;
@@ -1,6 +1,112 @@
1
+ import { AccessKind } from '../common/index.js';
1
2
  import { EmitterContext } from './EmitterContext.js';
2
- import { FunctionEntity, VariableEntity } from './Entities.js';
3
+ import { FunctionEntity, NamedEntity, PackageEntity, Type, TypeOrExtensionEntity, VariableEntity } from './Entities.js';
3
4
  import * as ir from './ir/index.js';
5
+ export declare function pkg(entity: PackageEntity, leadingStatements: readonly ir.Statement[], declarations: readonly ir.PackageMemberDeclaration[], translations: readonly ir.TextTranslationDeclaration[], trailingStatements: readonly ir.Statement[], defaultExportExpression: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.Package;
6
+ export declare function packageFunctionDeclaration(entity: FunctionEntity, parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, isGenerator: boolean, sourceLocation?: ir.SourceLocation): ir.PackageFunctionDeclaration;
7
+ export declare function packageTypeDeclaration(entity: TypeOrExtensionEntity, members: readonly ir.TypeMemberDeclaration[], sourceLocation?: ir.SourceLocation): ir.PackageTypeDeclaration;
8
+ export declare function packageVariableDeclaration(entity: VariableEntity, initializer: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.PackageVariableDeclaration;
9
+ export declare function packageVariableGetterDeclaration(entity: FunctionEntity, variableEntity: VariableEntity, body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.PackageVariableGetterDeclaration;
10
+ export declare function packageVariableSetterDeclaration(entity: FunctionEntity, variableEntity: VariableEntity, body: ir.BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: ir.SourceLocation): ir.PackageVariableSetterDeclaration;
11
+ export declare function packageVariantTypeDeclaration(entity: TypeOrExtensionEntity, underlyingTypeKind: ir.UnderlyingTypeKind, variants: readonly ir.VariantDeclaration[], sourceLocation?: ir.SourceLocation): ir.PackageVariantTypeDeclaration;
12
+ export declare function variantDeclaration(entity: VariableEntity, value: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.VariantDeclaration;
13
+ export declare function decorator(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.Decorator;
14
+ export declare function arrayLiteral(ectx: EmitterContext, elements: readonly ir.Expression[], sourceLocation?: ir.SourceLocation): ir.ArrayLiteral;
15
+ export declare function arrayLiteralWithType(elements: readonly ir.Expression[], type: Type, sourceLocation?: ir.SourceLocation): ir.ArrayLiteral;
16
+ export declare function asExpression(expression: ir.Expression, type: Type, sourceLocation?: ir.SourceLocation): ir.AsExpression;
17
+ export declare function assertionExpression(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.AssertionExpression;
18
+ export declare function assignmentExpression(left: ir.LValueExpression, right: ir.Expression, sourceLocation?: ir.SourceLocation): ir.AssignmentExpression;
19
+ export declare function assignmentExpressionWithOperatorKind(left: ir.LValueExpression, operatorKind: ir.AssignmentOperatorKind, right: ir.Expression, sourceLocation?: ir.SourceLocation): ir.AssignmentExpression;
20
+ export declare function assignmentStatement(left: ir.LValueExpression, right: ir.Expression, sourceLocation?: ir.SourceLocation): ir.AssignmentStatement;
21
+ export declare function assignmentStatementWithOperatorKind(left: ir.LValueExpression, operatorKind: ir.AssignmentOperatorKind, right: ir.Expression, sourceLocation?: ir.SourceLocation): ir.AssignmentStatement;
22
+ export declare function baseConstructorCallExpression(entity: FunctionEntity, args: readonly ir.Expression[] | ir.Arguments, sourceLocation?: ir.SourceLocation): ir.BaseConstructorCallExpression;
23
+ export declare function baseExpression(sourceLocation?: ir.SourceLocation): ir.BaseExpression;
24
+ export declare function binaryExpression(ectx: EmitterContext, left: ir.Expression, operatorKind: ir.BinaryExpressionOperatorKind, right: ir.Expression, sourceLocation?: ir.SourceLocation): ir.BinaryExpression;
25
+ export declare function binaryExpressionWithResultType(left: ir.Expression, operatorKind: ir.BinaryExpressionOperatorKind, right: ir.Expression, type: Type, sourceLocation?: ir.SourceLocation): ir.BinaryExpression;
26
+ export declare function blockStatement(statements: readonly ir.Statement[], sourceLocation?: ir.SourceLocation): ir.BlockStatement;
27
+ export declare function booleanLiteral(value: boolean, sourceLocation?: ir.SourceLocation): ir.BooleanLiteral;
28
+ export declare function breakLoopStatement(label: string, sourceLocation?: ir.SourceLocation): ir.BreakLoopStatement;
29
+ export declare function argument(expression: ir.Expression, targetParameter: ir.TargetParameter, sourceLocation?: ir.SourceLocation): ir.Argument;
30
+ export declare function targetParameter(entity: VariableEntity, type: Type): ir.TargetParameter;
31
+ export declare function unorderedArguments(values: readonly ir.Argument[], targetParameters: readonly VariableEntity[], sourceLocation?: ir.SourceLocation): ir.UnorderedArguments;
32
+ export declare function orderedArguments(values: readonly ir.Expression[], isLastArgumentSpreading: boolean, sourceLocation?: ir.SourceLocation): ir.OrderedArguments;
33
+ export declare function callExpression(expression: ir.Expression, isOptionalAccess: boolean, args: readonly ir.Expression[] | ir.Arguments, isAsyncFunctionCall: boolean, returnType: Type, sourceLocation?: ir.SourceLocation): ir.CallExpression;
34
+ export declare function charLiteral(value: string, sourceLocation?: ir.SourceLocation): ir.CharLiteral;
35
+ export declare function commaExpression(expressions: readonly ir.Expression[], sourceLocation?: ir.SourceLocation): ir.CommaExpression;
36
+ export declare function continueLoopStatement(label: string, sourceLocation?: ir.SourceLocation): ir.ContinueLoopStatement;
37
+ export declare function dereferenceExpression(expression: ir.Expression, isOptionalAccess: boolean, access: ir.ComputedAccess, sourceLocation?: ir.SourceLocation): ir.DereferenceExpression;
38
+ export declare function disposeStatement(expression: ir.Expression, destructorEntity: FunctionEntity, sourceLocation?: ir.SourceLocation): ir.DisposeStatement;
39
+ export declare function emptyStatement(sourceLocation?: ir.SourceLocation): ir.EmptyStatement;
40
+ export declare function errorStatement(expression: ir.Expression, sourceLocation?: ir.SourceLocation, options?: ir.ErrorStatementEmitOptions): ir.ErrorStatement;
41
+ export declare function importantStatement(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.ImportantStatement;
42
+ export declare function expressionStatement(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.ExpressionStatement;
43
+ export declare function finallyClause(body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.FinallyClause;
44
+ export declare function forStatement(label: string | undefined, elementVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: ir.Expression, body: ir.BlockStatement, ifExpressionIsNotEnumerableThenEnumeratorMethod: ir.AccessedFunction | undefined, sourceLocation?: ir.SourceLocation, options?: ir.ForStatementEmitOptions): ir.ForStatement;
45
+ export declare function ifStatement(condition: ir.Expression, thenStatement: ir.BlockStatement, elseStatement: ir.BlockStatement | undefined, sourceLocation?: ir.SourceLocation): ir.IfStatement;
46
+ export declare function indexedGetAccessExpression(expression: ir.Expression, getter: FunctionEntity | ir.AccessedFunction, args: readonly ir.Expression[] | ir.Arguments, isOptionalAccess: boolean, sourceLocation?: ir.SourceLocation): ir.IndexedAccessExpression;
47
+ export declare function indexedSetAccessExpression(expression: ir.Expression, setter: FunctionEntity | ir.AccessedFunction, args: readonly ir.Expression[] | ir.Arguments, isOptionalAccess: boolean, sourceLocation?: ir.SourceLocation): ir.IndexedAccessExpression;
48
+ export declare function inlineJsExpression(code: string, type: Type, sourceLocation?: ir.SourceLocation): ir.InlineJsExpression;
49
+ export declare function integerLiteral(value: number, sourceLocation?: ir.SourceLocation): ir.IntegerLiteral;
50
+ export declare function isExpression(expression: ir.Expression, type: Type, sourceLocation?: ir.SourceLocation): ir.IsExpression;
51
+ export declare function jsFunctionLiteral(parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, isAsync: boolean, isGenerator: boolean, sourceLocation?: ir.SourceLocation): ir.JsFunctionLiteral;
52
+ export declare function jsIdentifierExpression(identifier: string, sourceLocation?: ir.SourceLocation): ir.JsIdentifierExpression;
53
+ export declare function esModuleImportDirectiveStatement(defaultImport: string | undefined, importSpecifiers: readonly ir.JsImportSpecifier[], path: string, sourceLocation?: ir.SourceLocation): ir.EsModuleImportDirectiveStatement;
54
+ export declare function cjsModuleImportDirectiveStatement(defaultImport: string, importSpecifiers: readonly ir.JsImportSpecifier[], path: string, sourceLocation?: ir.SourceLocation): ir.CjsModuleImportDirectiveStatement;
55
+ export declare function jsImportSpecifier(name: string, alias: string | undefined): ir.JsImportSpecifier;
56
+ export declare function jsIndexedAccessExpression(expression: ir.Expression, isOptionalAccess: boolean, argument: ir.Expression, type: Type, sourceLocation?: ir.SourceLocation): ir.JsIndexedAccessExpression;
57
+ export declare function jsInstanceOfExpression(expression: ir.Expression, type: TypeOrExtensionEntity, sourceLocation?: ir.SourceLocation): ir.JsInstanceOfExpression;
58
+ export declare function jsNamespaceDestructuringStatement(defaultImport: string | undefined, destructuredMembers: readonly ir.JsImportSpecifier[], namespaceNameSegments: readonly string[], sourceLocation?: ir.SourceLocation): ir.JsNamespaceDestructuringStatement;
59
+ export declare function jsObjectLiteral(properties: readonly ir.JsObjectLiteralProperty[], sourceLocation?: ir.SourceLocation): ir.JsObjectLiteral;
60
+ export declare function valueJsObjectLiteralProperty(key: ir.JsObjectLiteralPropertyKey, value: ir.Expression, sourceLocation?: ir.SourceLocation): ir.ValueJsObjectLiteralProperty;
61
+ export declare function functionJsObjectLiteralProperty(key: ir.JsObjectLiteralPropertyKey, parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.FunctionJsObjectLiteralProperty;
62
+ export declare function spreadJsObjectLiteralProperty(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.SpreadJsObjectLiteralProperty;
63
+ export declare function jsPropertyAccessExpression(expression: ir.Expression, isOptionalAccess: boolean, name: string, type: Type, sourceLocation?: ir.SourceLocation): ir.JsPropertyAccessExpression;
64
+ export declare function jsTypeOfExpression(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.JsTypeOfExpression;
65
+ export declare function localVariableDeclaration(entity: VariableEntity, initializer: ir.Expression | undefined, sourceLocation?: ir.SourceLocation, options?: ir.DeclarationWithInitializerEmitOptions): ir.LocalVariableDeclaration;
66
+ export declare function localVariableDeclarationStatement(declaration: ir.LocalVariableDeclaration, sourceLocation?: ir.SourceLocation): ir.LocalVariableDeclarationStatement;
67
+ export declare function loopStatement(label: string | undefined, body: ir.BlockStatement, condition: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.LoopStatement;
68
+ export declare function measureLiteral(sourceLocation?: ir.SourceLocation): ir.MeasureLiteral;
69
+ export declare function functionAccessExpression(func: ir.AccessedFunction, isCallee: boolean, sourceLocation?: ir.SourceLocation, options?: ir.FunctionAccessExpressionEmitOptions): ir.FunctionAccessExpression;
70
+ export declare function functionLiteral(parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, isAsync: boolean, returnType: Type, sourceLocation?: ir.SourceLocation, options?: ir.FunctionLiteralEmitOptions): ir.FunctionLiteral;
71
+ export declare function nestedFunctionDeclaration(parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, entity: FunctionEntity, isAsync: boolean, isGenerator: boolean, sourceLocation?: ir.SourceLocation): ir.NestedFunctionDeclaration;
72
+ export declare function nestedFunctionDeclarationStatement(declaration: ir.NestedFunctionDeclaration, sourceLocation?: ir.SourceLocation): ir.NestedFunctionDeclarationStatement;
73
+ export declare function nullLiteral(sourceLocation?: ir.SourceLocation): ir.NullLiteral;
74
+ export declare function numericLiteral(value: number, sourceLocation?: ir.SourceLocation): ir.NumericLiteral;
75
+ export declare function catchClause(errorVariableEntity: VariableEntity | undefined, body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.CatchClause;
76
+ export declare function ownConstructorCallExpression(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: ir.Arguments, sourceLocation?: ir.SourceLocation): ir.OwnConstructorCallExpression;
77
+ export declare function prefixUnaryExpression(operatorKind: ir.PrefixUnaryExpressionOperatorKind, expression: ir.Expression, operator: ir.AccessedFunction | undefined, sourceLocation?: ir.SourceLocation): ir.PrefixUnaryExpression;
78
+ export declare function referenceExpression(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.ReferenceExpression;
79
+ export declare function returnStatement(expression: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.ReturnStatement;
80
+ export declare function runStatement(body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.RunStatement;
81
+ export declare function tryStatement(body: ir.BlockStatement, catchClause: ir.CatchClause | undefined, finallyClause: ir.FinallyClause | undefined, sourceLocation?: ir.SourceLocation): ir.TryStatement;
82
+ export declare function switchStatement(matchExpression: ir.Expression, caseClauses: readonly ir.CaseClause[], defaultClauseBody: ir.BlockStatement | undefined, sourceLocation?: ir.SourceLocation): ir.SwitchStatement;
83
+ export declare function caseClause(expressions: readonly ir.Expression[], body: ir.BlockStatement): ir.CaseClause;
84
+ export declare function ternaryExpression(condition: ir.Expression, firstExpression: ir.Expression, secondExpression: ir.Expression, type: Type, sourceLocation?: ir.SourceLocation): ir.TernaryExpression;
85
+ export declare function textLiteral(value: string, sourceLocation?: ir.SourceLocation): ir.TextLiteral;
86
+ export declare function localizableTextLiteral(value: string, code: number | undefined, sourceLocation?: ir.SourceLocation): ir.LocalizableTextLiteral;
87
+ export declare function textWithEntityName(entity: NamedEntity, sourceLocation?: ir.SourceLocation): ir.TextWithEntityName;
88
+ export declare function textTemplateLiteral(textFragments: readonly string[], expressions: readonly ir.Expression[], sourceLocation?: ir.SourceLocation, options?: ir.TextTemplateEmitOptions): ir.TextTemplateLiteral;
89
+ export declare function localizableTextTemplateLiteral(textFragments: readonly string[], expressions: readonly ir.Expression[], code: number | undefined, sourceLocation?: ir.SourceLocation, options?: ir.TextTemplateEmitOptions): ir.LocalizableTextTemplateLiteral;
90
+ export declare function thisExpression(type: Type, sourceLocation?: ir.SourceLocation): ir.ThisExpression;
91
+ export declare function typeAccessExpression(entity: TypeOrExtensionEntity, sourceLocation?: ir.SourceLocation): ir.TypeAccessExpression;
92
+ export declare function constructorDeclaration(decorators: readonly ir.Decorator[], parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, entity: FunctionEntity, sourceLocation?: ir.SourceLocation): ir.ConstructorDeclaration;
93
+ export declare function dereferencedVariableGetterDeclaration(entity: FunctionEntity, decorators: readonly ir.Decorator[], modifiers: ir.Modifiers, body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.DereferencedVariableGetterDeclaration;
94
+ export declare function dereferencedVariableSetterDeclaration(entity: FunctionEntity, decorators: readonly ir.Decorator[], modifiers: ir.Modifiers, body: ir.BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: ir.SourceLocation): ir.DereferencedVariableSetterDeclaration;
95
+ export declare function destructorDeclaration(decorators: readonly ir.Decorator[], parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, entity: FunctionEntity, sourceLocation?: ir.SourceLocation): ir.DestructorDeclaration;
96
+ export declare function indexedElementGetterDeclaration(entity: FunctionEntity, decorators: readonly ir.Decorator[], modifiers: ir.Modifiers, parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.IndexedElementGetterDeclaration;
97
+ export declare function indexedElementSetterDeclaration(entity: FunctionEntity, decorators: readonly ir.Decorator[], modifiers: ir.Modifiers, parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: ir.SourceLocation): ir.IndexedElementSetterDeclaration;
98
+ export declare function methodAccessExpression(expression: ir.Expression, isOptionalAccess: boolean, method: ir.AccessedFunction, isCallee: boolean, ifComputedThenKey: ir.Expression | undefined, sourceLocation?: ir.SourceLocation, options?: ir.FunctionAccessExpressionEmitOptions): ir.MethodAccessExpression;
99
+ export declare function methodDeclaration(decorators: readonly ir.Decorator[], modifiers: ir.Modifiers, parameters: readonly ir.ParameterDeclaration[], body: ir.BlockStatement, entity: FunctionEntity, isGenerator: boolean, ifComputedThenKey: ir.Expression | undefined, sourceLocation?: ir.SourceLocation, options?: ir.MethodDeclarationEmitOptions): ir.MethodDeclaration;
100
+ export declare function fieldAccessExpression(expression: ir.Expression, isOptionalAccess: boolean, field: ir.AccessedVariable, accessKind: AccessKind, ifComputedThenKey: ir.Expression | undefined, sourceLocation?: ir.SourceLocation, options?: ir.FieldAccessExpressionEmitOptions): ir.FieldAccessExpression;
101
+ export declare function fieldDeclaration(decorators: readonly ir.Decorator[], modifiers: ir.Modifiers, initializer: ir.Expression | undefined, entity: VariableEntity, ifComputedThenKey: ir.Expression | undefined, sourceLocation?: ir.SourceLocation, options?: ir.FieldDeclarationEmitOptions): ir.FieldDeclaration;
102
+ export declare function computedFieldDeclaration(entity: VariableEntity, modifiers: ir.Modifiers, getter: ir.FieldGetterDeclaration, setter: ir.FieldSetterDeclaration | undefined, ifComputedThenKey: ir.Expression | undefined, sourceLocation?: ir.SourceLocation, options?: ir.FieldDeclarationEmitOptions): ir.ComputedFieldDeclaration;
103
+ export declare function fieldGetterDeclaration(entity: FunctionEntity, decorators: readonly ir.Decorator[], body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.FieldGetterDeclaration;
104
+ export declare function fieldSetterDeclaration(entity: FunctionEntity, decorators: readonly ir.Decorator[], body: ir.BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: ir.SourceLocation): ir.FieldSetterDeclaration;
105
+ export declare function parameterDeclaration(entity: VariableEntity, defaultValue: ir.Expression | undefined, isRest: boolean, sourceLocation?: ir.SourceLocation): ir.ParameterDeclaration;
106
+ export declare function whileStatement(label: string | undefined, condition: ir.Expression, body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.WhileStatement;
107
+ export declare function yieldStatement(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.YieldStatement;
108
+ export declare function textTranslationDeclaration(key: string | number, sourceTextTemplate: ir.TranslationTextTemplate | undefined, translatedTextOrFunctionBlock: ir.TextLiteral | ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.TextTranslationDeclaration;
109
+ export declare function translationTextTemplate(fragments: readonly string[], parameters: readonly VariableEntity[], sourceLocation?: ir.SourceLocation): ir.TranslationTextTemplate;
4
110
  export declare function instanceMethodCallExpression(expression: ir.Expression, method: FunctionEntity | ir.AccessedFunction, args: readonly ir.Expression[] | ir.Arguments, isOptionalAccess: boolean, sourceLocation?: ir.SourceLocation): ir.CallExpression;
5
111
  export declare function staticMethodCallExpression(method: FunctionEntity | ir.AccessedFunction, args: readonly ir.Expression[] | ir.Arguments, sourceLocation?: ir.SourceLocation): ir.CallExpression;
6
112
  export declare function constructorCallExpression(ectx: EmitterContext, constructor: FunctionEntity, args: readonly ir.Expression[] | ir.Arguments, sourceLocation?: ir.SourceLocation): ir.ConstructorCallExpression;
@@ -69,7 +69,6 @@ export declare class Transformer {
69
69
  transformExpression(expression: ir.Expression): ir.Expression;
70
70
  transformAsExpressionChildren(expression: ir.AsExpression): void;
71
71
  transformAssertionExpressionChildren(expression: ir.AssertionExpression): void;
72
- transformAssumptionExpressionChildren(expression: ir.AssumptionExpression): void;
73
72
  transformBinaryExpressionChildren(expression: ir.BinaryExpression): void;
74
73
  transformBooleanLiteralChildren(_expression: ir.BooleanLiteral): void;
75
74
  transformCallExpressionChildren(expression: ir.CallExpression): void;
@@ -123,7 +122,6 @@ export declare class Transformer {
123
122
  }
124
123
  export interface TransformationConfig {
125
124
  transformAssertionExpression?(expression: ir.AssertionExpression): ExpressionTransformationResult;
126
- transformAssumptionExpression?(expression: ir.AssumptionExpression): ExpressionTransformationResult;
127
125
  transformAsExpression?(expression: ir.AsExpression): ExpressionTransformationResult;
128
126
  transformBinaryExpression?(expression: ir.BinaryExpression): ExpressionTransformationResult;
129
127
  transformCallExpression?(expression: ir.CallExpression): ExpressionTransformationResult;
@@ -12,40 +12,42 @@ export declare class Package {
12
12
  translations: readonly TextTranslationDeclaration[];
13
13
  trailingStatements: readonly Statement[];
14
14
  defaultExportExpression: Expression | undefined;
15
- sourceLocation: SourceLocation | undefined;
15
+ sourceLocation?: SourceLocation | undefined;
16
16
  readonly kind = NodeKind.Package;
17
- constructor(entity: PackageEntity, leadingStatements: readonly Statement[], declarations: readonly PackageMemberDeclaration[], translations: readonly TextTranslationDeclaration[], trailingStatements: readonly Statement[], defaultExportExpression: Expression | undefined, 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);
18
18
  clone(): Package;
19
19
  }
20
20
  export declare class PackageFunctionDeclaration {
21
+ entity: FunctionEntity;
21
22
  modifiers: Modifiers;
22
23
  parameters: readonly ParameterDeclaration[];
23
24
  body: BlockStatement;
24
- entity: FunctionEntity;
25
25
  isGenerator: boolean;
26
26
  sourceLocation?: SourceLocation | undefined;
27
27
  readonly kind = NodeKind.PackageFunctionDeclaration;
28
- constructor(modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, entity: FunctionEntity, isGenerator: boolean, sourceLocation?: SourceLocation | undefined);
28
+ constructor(entity: FunctionEntity, modifiers: Modifiers, parameters: readonly ParameterDeclaration[], body: BlockStatement, isGenerator: boolean, sourceLocation?: SourceLocation | undefined);
29
29
  clone(): PackageFunctionDeclaration;
30
30
  }
31
31
  export declare class PackageTypeDeclaration {
32
- decorators: readonly Decorator[];
32
+ entity: TypeOrExtensionEntity;
33
33
  modifiers: Modifiers;
34
34
  members: readonly TypeMemberDeclaration[];
35
- entity: TypeOrExtensionEntity;
36
35
  sourceLocation?: SourceLocation | undefined;
37
36
  readonly kind = NodeKind.PackageTypeDeclaration;
38
- constructor(decorators: readonly Decorator[], modifiers: Modifiers, members: readonly TypeMemberDeclaration[], entity: TypeOrExtensionEntity, sourceLocation?: SourceLocation | undefined);
37
+ decorators: readonly Decorator[];
38
+ constructor(entity: TypeOrExtensionEntity, modifiers: Modifiers, members: readonly TypeMemberDeclaration[], sourceLocation?: SourceLocation | undefined);
39
+ withDecorators(decorators: readonly Decorator[]): this;
39
40
  clone(): PackageTypeDeclaration;
40
41
  }
41
42
  export declare class PackageVariableDeclaration {
43
+ entity: VariableEntity;
42
44
  modifiers: Modifiers;
43
45
  initializer: Expression | undefined;
44
- entity: VariableEntity;
45
46
  sourceLocation?: SourceLocation | undefined;
46
- options: PackageVariableDeclarationEmitOptions;
47
47
  readonly kind = NodeKind.PackageVariableDeclaration;
48
- constructor(modifiers: Modifiers, initializer: Expression | undefined, entity: VariableEntity, sourceLocation?: SourceLocation | undefined, options?: PackageVariableDeclarationEmitOptions);
48
+ options: PackageVariableDeclarationEmitOptions;
49
+ constructor(entity: VariableEntity, modifiers: Modifiers, initializer: Expression | undefined, sourceLocation?: SourceLocation | undefined);
50
+ withOptions(options: PackageVariableDeclarationEmitOptions): this;
49
51
  clone(): PackageVariableDeclaration;
50
52
  }
51
53
  export declare class PackageVariableGetterDeclaration {
@@ -68,13 +70,13 @@ export declare class PackageVariableSetterDeclaration {
68
70
  clone(): PackageVariableSetterDeclaration;
69
71
  }
70
72
  export declare class PackageVariantTypeDeclaration {
73
+ entity: TypeOrExtensionEntity;
71
74
  modifiers: Modifiers;
72
75
  underlyingTypeKind: UnderlyingTypeKind;
73
76
  variants: readonly VariantDeclaration[];
74
- entity: TypeOrExtensionEntity;
75
77
  sourceLocation?: SourceLocation | undefined;
76
78
  readonly kind = NodeKind.PackageVariantTypeDeclaration;
77
- constructor(modifiers: Modifiers, underlyingTypeKind: UnderlyingTypeKind, variants: readonly VariantDeclaration[], entity: TypeOrExtensionEntity, sourceLocation?: SourceLocation | undefined);
79
+ constructor(entity: TypeOrExtensionEntity, modifiers: Modifiers, underlyingTypeKind: UnderlyingTypeKind, variants: readonly VariantDeclaration[], sourceLocation?: SourceLocation | undefined);
78
80
  clone(): PackageVariantTypeDeclaration;
79
81
  }
80
82
  export declare const enum UnderlyingTypeKind {
@@ -82,11 +84,11 @@ export declare const enum UnderlyingTypeKind {
82
84
  NonNumeric = 1
83
85
  }
84
86
  export declare class VariantDeclaration {
85
- value: Expression | undefined;
86
87
  entity: VariableEntity;
88
+ value: Expression | undefined;
87
89
  sourceLocation?: SourceLocation | undefined;
88
90
  readonly kind = NodeKind.VariantDeclaration;
89
- constructor(value: Expression | undefined, entity: VariableEntity, sourceLocation?: SourceLocation | undefined);
91
+ constructor(entity: VariableEntity, value: Expression | undefined, sourceLocation?: SourceLocation | undefined);
90
92
  clone(): VariantDeclaration;
91
93
  }
92
94
  export declare class Decorator {
@@ -123,38 +125,34 @@ export declare class AssignmentExpression {
123
125
  left: LValueExpression;
124
126
  operatorKind: AssignmentOperatorKind;
125
127
  right: Expression;
126
- operator: AccessedFunction | undefined;
127
128
  sourceLocation?: SourceLocation | undefined;
128
- options: AssignmentEmitOptions;
129
129
  readonly kind = NodeKind.AssignmentExpression;
130
- constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined, options?: AssignmentEmitOptions);
130
+ operator: AccessedFunction | undefined;
131
+ options: AssignmentEmitOptions;
132
+ constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, sourceLocation?: SourceLocation | undefined);
133
+ withOperator(operator: AccessedFunction | undefined): this;
134
+ withOptions(options: AssignmentEmitOptions): this;
131
135
  clone(): AssignmentExpression;
132
136
  }
133
137
  export declare class AssignmentStatement {
134
138
  left: LValueExpression;
135
139
  operatorKind: AssignmentOperatorKind;
136
140
  right: Expression;
137
- operator: AccessedFunction | undefined;
138
141
  sourceLocation?: SourceLocation | undefined;
139
- options: AssignmentEmitOptions;
140
142
  readonly kind = NodeKind.AssignmentStatement;
141
- constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined, options?: AssignmentEmitOptions);
143
+ operator: AccessedFunction | undefined;
144
+ options: AssignmentEmitOptions;
145
+ constructor(left: LValueExpression, operatorKind: AssignmentOperatorKind, right: Expression, sourceLocation?: SourceLocation | undefined);
146
+ withOperator(operator: AccessedFunction | undefined): this;
147
+ withOptions(options: AssignmentEmitOptions): this;
142
148
  clone(): AssignmentStatement;
143
149
  }
144
- export declare class AssumptionExpression {
145
- expression: Expression;
146
- sourceLocation?: SourceLocation | undefined;
147
- readonly kind = NodeKind.AssumptionExpression;
148
- constructor(expression: Expression, sourceLocation?: SourceLocation | undefined);
149
- clone(): AssumptionExpression;
150
- }
151
150
  export declare class BaseConstructorCallExpression {
152
151
  entity: FunctionEntity;
153
- containingTypeOfConstructor: TypeOrExtensionEntity;
154
152
  args: Arguments;
155
153
  sourceLocation?: SourceLocation | undefined;
156
154
  readonly kind = NodeKind.BaseConstructorCallExpression;
157
- constructor(entity: FunctionEntity, containingTypeOfConstructor: TypeOrExtensionEntity, args: Arguments, sourceLocation?: SourceLocation | undefined);
155
+ constructor(entity: FunctionEntity, args: Arguments, sourceLocation?: SourceLocation | undefined);
158
156
  clone(): BaseConstructorCallExpression;
159
157
  }
160
158
  export declare class BaseExpression {
@@ -168,10 +166,11 @@ export declare class BinaryExpression {
168
166
  operatorKind: BinaryExpressionOperatorKind;
169
167
  right: Expression;
170
168
  type: Type;
171
- operator: AccessedFunction | undefined;
172
169
  sourceLocation?: SourceLocation | undefined;
173
170
  readonly kind = NodeKind.BinaryExpression;
174
- constructor(left: Expression, operatorKind: BinaryExpressionOperatorKind, right: Expression, type: Type, operator: AccessedFunction | undefined, sourceLocation?: SourceLocation | undefined);
171
+ operator: AccessedFunction | undefined;
172
+ constructor(left: Expression, operatorKind: BinaryExpressionOperatorKind, right: Expression, type: Type, sourceLocation?: SourceLocation | undefined);
173
+ withOperator(operator: AccessedFunction | undefined): this;
175
174
  clone(): BinaryExpression;
176
175
  }
177
176
  export declare class BlockStatement {
@@ -234,9 +233,10 @@ export declare class CallExpression {
234
233
  isAsyncFunctionCall: boolean;
235
234
  returnType: Type;
236
235
  sourceLocation?: SourceLocation | undefined;
237
- options: CallExpressionEmitOptions;
238
236
  readonly kind = NodeKind.CallExpression;
239
- constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, isAsyncFunctionCall: boolean, returnType: Type, sourceLocation?: SourceLocation | undefined, options?: CallExpressionEmitOptions);
237
+ options: CallExpressionEmitOptions;
238
+ constructor(expression: Expression, isOptionalAccess: boolean, args: Arguments, isAsyncFunctionCall: boolean, returnType: Type, sourceLocation?: SourceLocation | undefined);
239
+ withOptions(options: CallExpressionEmitOptions): this;
240
240
  clone(): CallExpression;
241
241
  }
242
242
  export declare class CharLiteral {
@@ -700,9 +700,9 @@ export declare class TextLiteral {
700
700
  export declare class LocalizableTextLiteral {
701
701
  value: string;
702
702
  code: number | undefined;
703
- sourceLocation: SourceLocation | undefined;
703
+ sourceLocation?: SourceLocation | undefined;
704
704
  readonly kind = NodeKind.LocalizableTextLiteral;
705
- constructor(value: string, code: number | undefined, sourceLocation: SourceLocation | undefined);
705
+ constructor(value: string, code: number | undefined, sourceLocation?: SourceLocation | undefined);
706
706
  clone(): LocalizableTextLiteral;
707
707
  }
708
708
  /**
@@ -720,20 +720,20 @@ export declare class TextWithEntityName {
720
720
  export declare class TextTemplateLiteral {
721
721
  textFragments: readonly string[];
722
722
  expressions: readonly Expression[];
723
- sourceLocation: SourceLocation | undefined;
723
+ sourceLocation?: SourceLocation | undefined;
724
724
  options: TextTemplateEmitOptions;
725
725
  readonly kind = NodeKind.TextTemplateLiteral;
726
- constructor(textFragments: readonly string[], expressions: readonly Expression[], sourceLocation: SourceLocation | undefined, options?: TextTemplateEmitOptions);
726
+ constructor(textFragments: readonly string[], expressions: readonly Expression[], sourceLocation?: SourceLocation | undefined, options?: TextTemplateEmitOptions);
727
727
  clone(): TextTemplateLiteral;
728
728
  }
729
729
  export declare class LocalizableTextTemplateLiteral {
730
730
  textFragments: readonly string[];
731
731
  expressions: readonly Expression[];
732
732
  code: number | undefined;
733
- sourceLocation: SourceLocation | undefined;
733
+ sourceLocation?: SourceLocation | undefined;
734
734
  options: TextTemplateEmitOptions;
735
735
  readonly kind = NodeKind.LocalizableTextTemplateLiteral;
736
- constructor(textFragments: readonly string[], expressions: readonly Expression[], code: number | undefined, sourceLocation: SourceLocation | undefined, options?: TextTemplateEmitOptions);
736
+ constructor(textFragments: readonly string[], expressions: readonly Expression[], code: number | undefined, sourceLocation?: SourceLocation | undefined, options?: TextTemplateEmitOptions);
737
737
  clone(): LocalizableTextTemplateLiteral;
738
738
  }
739
739
  export declare class ThisExpression {
@@ -943,9 +943,9 @@ export declare class TextTranslationDeclaration {
943
943
  key: string | number;
944
944
  sourceTextTemplate: TranslationTextTemplate | undefined;
945
945
  translatedTextOrFunctionBlock: TextLiteral | BlockStatement;
946
- sourceLocation: SourceLocation | undefined;
946
+ sourceLocation?: SourceLocation | undefined;
947
947
  readonly kind = NodeKind.TextTranslationDeclaration;
948
- constructor(key: string | number, sourceTextTemplate: TranslationTextTemplate | undefined, translatedTextOrFunctionBlock: TextLiteral | BlockStatement, sourceLocation: SourceLocation | undefined);
948
+ constructor(key: string | number, sourceTextTemplate: TranslationTextTemplate | undefined, translatedTextOrFunctionBlock: TextLiteral | BlockStatement, sourceLocation?: SourceLocation | undefined);
949
949
  clone(): TextTranslationDeclaration;
950
950
  }
951
951
  export declare class TranslationTextTemplate {
@@ -959,108 +959,107 @@ export declare class TranslationTextTemplate {
959
959
  export declare const enum NodeKind {
960
960
  AsExpression = 0,
961
961
  AssertionExpression = 1,
962
- AssumptionExpression = 2,
963
- AssignmentStatement = 3,
964
- BinaryExpression = 4,
965
- BlockStatement = 5,
966
- BooleanLiteral = 6,
967
- BreakLoopStatement = 7,
968
- Argument = 8,
969
- CallExpression = 9,
970
- CaseClause = 10,
971
- CharLiteral = 11,
972
- ContinueLoopStatement = 12,
973
- DisposeStatement = 13,
974
- RunStatement = 14,
975
- TryStatement = 15,
976
- NullLiteral = 16,
977
- EmptyStatement = 17,
978
- ErrorStatement = 18,
979
- ImportantStatement = 19,
980
- ExpressionStatement = 20,
981
- FinallyClause = 21,
982
- ForStatement = 22,
983
- PackageFunctionDeclaration = 23,
984
- PackageTypeDeclaration = 24,
985
- PackageVariableDeclaration = 25,
986
- PackageVariableGetterDeclaration = 26,
987
- PackageVariableSetterDeclaration = 27,
988
- PackageVariantTypeDeclaration = 28,
989
- IfStatement = 29,
990
- IndexedAccessExpression = 30,
991
- IntegerLiteral = 31,
992
- IsExpression = 32,
993
- NestedFunctionDeclaration = 33,
994
- NestedFunctionDeclarationStatement = 34,
995
- LocalVariableDeclaration = 35,
996
- LocalVariableDeclarationStatement = 36,
997
- NumericLiteral = 37,
998
- CatchClause = 38,
999
- FunctionLiteral = 39,
1000
- PrefixUnaryExpression = 40,
1001
- MeasureLiteral = 41,
1002
- ReferenceExpression = 42,
1003
- LoopStatement = 43,
1004
- ReturnStatement = 44,
1005
- Package = 45,
1006
- TextLiteral = 46,
1007
- LocalizableTextLiteral = 47,
1008
- TextTemplateLiteral = 48,
1009
- LocalizableTextTemplateLiteral = 49,
1010
- ConstructorDeclaration = 50,
1011
- DestructorDeclaration = 51,
1012
- IndexedElementGetterDeclaration = 52,
1013
- IndexedElementSetterDeclaration = 53,
1014
- MethodDeclaration = 54,
1015
- FieldDeclaration = 55,
1016
- FieldGetterDeclaration = 56,
1017
- FieldSetterDeclaration = 57,
1018
- SwitchStatement = 58,
1019
- TernaryExpression = 59,
1020
- ThisExpression = 60,
1021
- ParameterDeclaration = 61,
1022
- VariantDeclaration = 62,
1023
- WhileStatement = 63,
1024
- YieldStatement = 64,
1025
- ArrayLiteral = 65,
1026
- TypeAccessExpression = 66,
1027
- VariableAccessExpression = 67,
1028
- FunctionAccessExpression = 68,
1029
- ImplicitVariantAccessExpression = 69,
1030
- VariantAccessExpression = 70,
1031
- FieldAccessExpression = 71,
1032
- MethodAccessExpression = 72,
1033
- ConstructorCallExpression = 73,
1034
- InlineJsExpression = 74,
1035
- AssignmentExpression = 75,
1036
- CommaExpression = 76,
1037
- BaseConstructorCallExpression = 77,
1038
- JsImportSpecifier = 78,
1039
- JsIndexedAccessExpression = 79,
1040
- EsModuleImportDirectiveStatement = 80,
1041
- CjsModuleImportDirectiveStatement = 81,
1042
- JsObjectLiteral = 82,
1043
- ValueJsObjectLiteralProperty = 83,
1044
- FunctionJsObjectLiteralProperty = 84,
1045
- SpreadJsObjectLiteralProperty = 85,
1046
- JsPropertyAccessExpression = 86,
1047
- JsFunctionLiteral = 87,
1048
- JsTypeOfExpression = 88,
1049
- JsInstanceOfExpression = 89,
1050
- JsIdentifierExpression = 90,
1051
- DereferenceExpression = 91,
1052
- BaseExpression = 92,
1053
- OwnConstructorCallExpression = 93,
1054
- DereferencedVariableGetterDeclaration = 94,
1055
- DereferencedVariableSetterDeclaration = 95,
1056
- JsNamespaceDestructuringStatement = 96,
1057
- ComputedFieldDeclaration = 97,
1058
- TextWithEntityName = 98,
1059
- Arguments = 99,
1060
- Decorator = 100,
1061
- TextTranslationDeclaration = 101,
1062
- TranslationTextTemplate = 102,
1063
- TranslationTextTemplateParameter = 103
962
+ AssignmentStatement = 2,
963
+ BinaryExpression = 3,
964
+ BlockStatement = 4,
965
+ BooleanLiteral = 5,
966
+ BreakLoopStatement = 6,
967
+ Argument = 7,
968
+ CallExpression = 8,
969
+ CaseClause = 9,
970
+ CharLiteral = 10,
971
+ ContinueLoopStatement = 11,
972
+ DisposeStatement = 12,
973
+ RunStatement = 13,
974
+ TryStatement = 14,
975
+ NullLiteral = 15,
976
+ EmptyStatement = 16,
977
+ ErrorStatement = 17,
978
+ ImportantStatement = 18,
979
+ ExpressionStatement = 19,
980
+ FinallyClause = 20,
981
+ ForStatement = 21,
982
+ PackageFunctionDeclaration = 22,
983
+ PackageTypeDeclaration = 23,
984
+ PackageVariableDeclaration = 24,
985
+ PackageVariableGetterDeclaration = 25,
986
+ PackageVariableSetterDeclaration = 26,
987
+ PackageVariantTypeDeclaration = 27,
988
+ IfStatement = 28,
989
+ IndexedAccessExpression = 29,
990
+ IntegerLiteral = 30,
991
+ IsExpression = 31,
992
+ NestedFunctionDeclaration = 32,
993
+ NestedFunctionDeclarationStatement = 33,
994
+ LocalVariableDeclaration = 34,
995
+ LocalVariableDeclarationStatement = 35,
996
+ NumericLiteral = 36,
997
+ CatchClause = 37,
998
+ FunctionLiteral = 38,
999
+ PrefixUnaryExpression = 39,
1000
+ MeasureLiteral = 40,
1001
+ ReferenceExpression = 41,
1002
+ LoopStatement = 42,
1003
+ ReturnStatement = 43,
1004
+ Package = 44,
1005
+ TextLiteral = 45,
1006
+ LocalizableTextLiteral = 46,
1007
+ TextTemplateLiteral = 47,
1008
+ LocalizableTextTemplateLiteral = 48,
1009
+ ConstructorDeclaration = 49,
1010
+ DestructorDeclaration = 50,
1011
+ IndexedElementGetterDeclaration = 51,
1012
+ IndexedElementSetterDeclaration = 52,
1013
+ MethodDeclaration = 53,
1014
+ FieldDeclaration = 54,
1015
+ FieldGetterDeclaration = 55,
1016
+ FieldSetterDeclaration = 56,
1017
+ SwitchStatement = 57,
1018
+ TernaryExpression = 58,
1019
+ ThisExpression = 59,
1020
+ ParameterDeclaration = 60,
1021
+ VariantDeclaration = 61,
1022
+ WhileStatement = 62,
1023
+ YieldStatement = 63,
1024
+ ArrayLiteral = 64,
1025
+ TypeAccessExpression = 65,
1026
+ VariableAccessExpression = 66,
1027
+ FunctionAccessExpression = 67,
1028
+ ImplicitVariantAccessExpression = 68,
1029
+ VariantAccessExpression = 69,
1030
+ FieldAccessExpression = 70,
1031
+ MethodAccessExpression = 71,
1032
+ ConstructorCallExpression = 72,
1033
+ InlineJsExpression = 73,
1034
+ AssignmentExpression = 74,
1035
+ CommaExpression = 75,
1036
+ BaseConstructorCallExpression = 76,
1037
+ JsImportSpecifier = 77,
1038
+ JsIndexedAccessExpression = 78,
1039
+ EsModuleImportDirectiveStatement = 79,
1040
+ CjsModuleImportDirectiveStatement = 80,
1041
+ JsObjectLiteral = 81,
1042
+ ValueJsObjectLiteralProperty = 82,
1043
+ FunctionJsObjectLiteralProperty = 83,
1044
+ SpreadJsObjectLiteralProperty = 84,
1045
+ JsPropertyAccessExpression = 85,
1046
+ JsFunctionLiteral = 86,
1047
+ JsTypeOfExpression = 87,
1048
+ JsInstanceOfExpression = 88,
1049
+ JsIdentifierExpression = 89,
1050
+ DereferenceExpression = 90,
1051
+ BaseExpression = 91,
1052
+ OwnConstructorCallExpression = 92,
1053
+ DereferencedVariableGetterDeclaration = 93,
1054
+ DereferencedVariableSetterDeclaration = 94,
1055
+ JsNamespaceDestructuringStatement = 95,
1056
+ ComputedFieldDeclaration = 96,
1057
+ TextWithEntityName = 97,
1058
+ Arguments = 98,
1059
+ Decorator = 99,
1060
+ TextTranslationDeclaration = 100,
1061
+ TranslationTextTemplate = 101,
1062
+ TranslationTextTemplateParameter = 102
1064
1063
  }
1065
1064
  export declare const enum AssignmentOperatorKind {
1066
1065
  Equals = 0,