@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.
Files changed (108) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +12 -50
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +1056 -1060
  5. package/build/{chunk-6RYP5SET.js → chunk-FI6LW2RD.js} +5 -4
  6. package/build/{chunk-TJG64G2K.js → chunk-SK7ZBC3X.js} +16737 -15766
  7. package/build/{chunk-O7AXOZXA.js → chunk-TQDMVKTN.js} +13 -5
  8. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +4 -26
  9. package/build/types/analysis/Analyzer.d.ts +162 -200
  10. package/build/types/analysis/{CallArgumentToParameterMatchResult.d.ts → ArgumentToParameterMatchResult.d.ts} +6 -7
  11. package/build/types/analysis/{CallArgumentsToParametersMatcher.d.ts → ArgumentsToParametersMatcher.d.ts} +14 -14
  12. package/build/types/analysis/ConstructorOverloadResolver.d.ts +1 -1
  13. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +3 -3
  14. package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
  15. package/build/types/analysis/FindModifier.d.ts +2 -0
  16. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +14 -12
  17. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +12 -7
  18. package/build/types/analysis/LocalizationContext.d.ts +4 -5
  19. package/build/types/analysis/Lookup.d.ts +8 -7
  20. package/build/types/analysis/ModifierFlags.d.ts +16 -0
  21. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
  22. package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
  23. package/build/types/analysis/OperationOverloadResolver.d.ts +2 -2
  24. package/build/types/analysis/OverloadResolver.d.ts +4 -4
  25. package/build/types/analysis/PackageMemberLookup.d.ts +5 -6
  26. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +18 -16
  27. package/build/types/analysis/Scope.d.ts +21 -116
  28. package/build/types/analysis/SemanticContext.d.ts +16 -6
  29. package/build/types/analysis/SemanticContextBuilder.d.ts +1 -1
  30. package/build/types/analysis/SourceFileMembers.d.ts +12 -89
  31. package/build/types/analysis/TagMeaning.d.ts +57 -9
  32. package/build/types/analysis/Tags.d.ts +2 -2
  33. package/build/types/analysis/TypeMemberLookup.d.ts +15 -15
  34. package/build/types/analysis/TypeOverloadResolver.d.ts +1 -1
  35. package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
  36. package/build/types/analysis/index.d.ts +1 -1
  37. package/build/types/api/Api.d.ts +2 -6
  38. package/build/types/diagnostic/DiagnosticCode.d.ts +111 -103
  39. package/build/types/emitter/{EmitterGeneratedDeclarationKind.d.ts → EmitPhaseName.d.ts} +1 -44
  40. package/build/types/emitter/EmitterContext.d.ts +13 -1
  41. package/build/types/emitter/Entities.d.ts +58 -16
  42. package/build/types/emitter/EntityMap.d.ts +1 -3
  43. package/build/types/emitter/IrBuilder.d.ts +6 -2
  44. package/build/types/emitter/IrToJs.d.ts +5 -5
  45. package/build/types/emitter/Transformer.d.ts +20 -13
  46. package/build/types/emitter/ir/EmitOptions.d.ts +163 -0
  47. package/build/types/emitter/ir/Nodes.d.ts +213 -185
  48. package/build/types/emitter/ir/index.d.ts +1 -2
  49. package/build/types/emitter/ir/types.d.ts +4 -3
  50. package/build/types/entities/AliasTypeEntity.d.ts +9 -5
  51. package/build/types/entities/ConstructorEntity.d.ts +2 -0
  52. package/build/types/entities/DereferenceOperatorEntity.d.ts +9 -0
  53. package/build/types/entities/DestructorEntity.d.ts +2 -0
  54. package/build/types/entities/GetterEntity.d.ts +8 -0
  55. package/build/types/entities/IndexerEntity.d.ts +9 -0
  56. package/build/types/entities/MethodEntity.d.ts +9 -5
  57. package/build/types/entities/MethodTypeEntity.d.ts +18 -5
  58. package/build/types/entities/OperatorEntity.d.ts +5 -3
  59. package/build/types/entities/PackageEntity.d.ts +3 -3
  60. package/build/types/entities/PackageMembers.d.ts +4 -90
  61. package/build/types/entities/SetterEntity.d.ts +8 -0
  62. package/build/types/entities/StructuredTypeEntity.d.ts +22 -9
  63. package/build/types/entities/TypeEntity.d.ts +15 -0
  64. package/build/types/entities/TypeExtensionEntity.d.ts +2 -0
  65. package/build/types/entities/TypeParameterEntity.d.ts +12 -7
  66. package/build/types/entities/VariableEntity.d.ts +50 -41
  67. package/build/types/entities/VariantTypeEntity.d.ts +18 -11
  68. package/build/types/entities/index.d.ts +17 -25
  69. package/build/types/executor/Compiler.d.ts +1 -0
  70. package/build/types/executor/NodeCompiler.d.ts +1 -0
  71. package/build/types/parser/CharacterCodes.d.ts +8 -0
  72. package/build/types/parser/ReservedIdentifierDictionary.d.ts +1 -2
  73. package/build/types/parser/Scanner.d.ts +0 -6
  74. package/build/types/parser/UnescapeText.d.ts +1 -1
  75. package/build/types/project/FileSystemTree.d.ts +2 -2
  76. package/build/types/services/CompletionService.d.ts +4 -1
  77. package/build/types/services/DisplayService.d.ts +218 -163
  78. package/build/types/services/NodeSemanticInfo.d.ts +7 -5
  79. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +8 -24
  80. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -0
  81. package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
  82. package/build/types/services/source-generation/SourceGenerationService.d.ts +2 -2
  83. package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +5 -5
  84. package/build/types/services/workspace/CompilationController.d.ts +3 -3
  85. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +4 -4
  86. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
  87. package/build/types/services/workspace/Workspace.d.ts +3 -3
  88. package/build/types/services/workspace/WorkspaceFiles.d.ts +7 -7
  89. package/build/types/tree/KeywordKind.d.ts +37 -37
  90. package/build/types/tree/NodeKind.d.ts +37 -39
  91. package/build/types/tree/green/Nodes.d.ts +57 -80
  92. package/build/types/tree/green/SyntaxFactory.d.ts +4 -5
  93. package/build/types/tree/green/SyntaxToCode.d.ts +1 -2
  94. package/build/types/tree/red/Nodes.d.ts +65 -93
  95. package/build/types/ts-interop/Entities.d.ts +77 -34
  96. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +0 -1
  97. package/build/types/types/MethodType.d.ts +2 -2
  98. package/build/types/types/TypeMembers.d.ts +9 -0
  99. package/build/types/types/VariantType.d.ts +2 -2
  100. package/package.json +2 -2
  101. package/build/types/analysis/DereferencedVariableAccess.d.ts +0 -14
  102. package/build/types/analysis/IndexedAccess.d.ts +0 -14
  103. package/build/types/analysis/VariableAccess.d.ts +0 -14
  104. package/build/types/analysis/VariantLookup.d.ts +0 -20
  105. package/build/types/emitter/ir/LoweringOptions.d.ts +0 -34
  106. package/build/types/emitter/ir/LoweringState.d.ts +0 -25
  107. package/build/types/entities/VariantEntity.d.ts +0 -31
  108. package/build/types/entities/Variants.d.ts +0 -10
@@ -14,7 +14,7 @@ export declare class Transformer {
14
14
  transformStatement(statement: ir.Statement): readonly ir.Statement[];
15
15
  transformAssignmentStatementChildren(statement: ir.AssignmentStatement): void;
16
16
  transformBlockStatementChildren(statement: ir.BlockStatement): void;
17
- transformOnErrorClause(node: ir.OnErrorClause): ir.OnErrorClause;
17
+ transformCatchClause(node: ir.CatchClause): ir.CatchClause;
18
18
  transformFinallyClause(node: ir.FinallyClause): ir.FinallyClause;
19
19
  transformBreakLoopStatementChildren(_statement: ir.BreakLoopStatement): void;
20
20
  transformContinueLoopStatementChildren(_statement: ir.ContinueLoopStatement): void;
@@ -51,6 +51,9 @@ export declare class Transformer {
51
51
  transformTypeDestructorDeclarationChildren(declaration: ir.TypeDestructorDeclaration): void;
52
52
  transformTypeMethodDeclarationChildren(declaration: ir.TypeMethodDeclaration): void;
53
53
  transformTypeVariableDeclarationChildren(declaration: ir.TypeVariableDeclaration): void;
54
+ transformComputedTypeVariableDeclarationChildren(declaration: ir.ComputedTypeVariableDeclaration): void;
55
+ transformTypeVariableGetterDeclaration(declaration: ir.TypeVariableGetterDeclaration): ir.TypeVariableGetterDeclaration;
56
+ transformTypeVariableSetterDeclaration(declaration: ir.TypeVariableSetterDeclaration): ir.TypeVariableSetterDeclaration;
54
57
  transformTypeIndexedGetterDeclarationChildren(declaration: ir.TypeIndexedGetterDeclaration): void;
55
58
  transformTypeIndexedSetterDeclarationChildren(declaration: ir.TypeIndexedSetterDeclaration): void;
56
59
  transformTypeVariableGetterDeclarationChildren(declaration: ir.TypeVariableGetterDeclaration): void;
@@ -69,12 +72,11 @@ export declare class Transformer {
69
72
  transformBinaryExpressionChildren(expression: ir.BinaryExpression): void;
70
73
  transformBooleanLiteralChildren(_expression: ir.BooleanLiteral): void;
71
74
  transformCallExpressionChildren(expression: ir.CallExpression): void;
72
- transformCallArguments(callArguments: ir.CallArguments): ir.CallArguments;
75
+ transformArguments(args: ir.Arguments): ir.Arguments;
73
76
  transformCharLiteralChildren(_expression: ir.CharLiteral): void;
74
77
  transformNoneLiteralChildren(_expression: ir.NoneLiteral): void;
75
78
  transformIndexedAccessExpressionChildren(expression: ir.IndexedAccessExpression): void;
76
79
  transformIntegerLiteralChildren(_expression: ir.IntegerLiteral): void;
77
- transformHelperMethodCallExpressionChildren(expression: ir.HelperMethodCallExpression): void;
78
80
  transformIsExpressionChildren(expression: ir.IsExpression): void;
79
81
  transformNumericLiteralChildren(_expression: ir.NumericLiteral): void;
80
82
  transformMethodLiteralChildren(expression: ir.MethodLiteral): void;
@@ -82,6 +84,7 @@ export declare class Transformer {
82
84
  transformMeasureLiteralChildren(_expression: ir.MeasureLiteral): void;
83
85
  transformReferenceExpressionChildren(expression: ir.ReferenceExpression): void;
84
86
  transformTextLiteralChildren(_expression: ir.TextLiteral): void;
87
+ transformTextWithEntityNameChildren(_expression: ir.TextWithEntityName): void;
85
88
  transformTextTemplateLiteralChildren(expression: ir.TextTemplateLiteral): void;
86
89
  transformTernaryExpressionChildren(expression: ir.TernaryExpression): void;
87
90
  transformThisExpressionChildren(_expression: ir.ThisExpression): void;
@@ -90,7 +93,6 @@ export declare class Transformer {
90
93
  transformTypeAccessExpressionChildren(_expression: ir.TypeAccessExpression): void;
91
94
  transformVariableAccessExpressionChildren(_expression: ir.VariableAccessExpression): void;
92
95
  transformMethodAccessExpressionChildren(_expression: ir.MethodAccessExpression): void;
93
- transformVariantAccessExpressionChildren(expression: ir.VariantAccessExpression): void;
94
96
  transformTypeAccessExpression(expression: ir.TypeAccessExpression): ir.TypeAccessExpression;
95
97
  transformInstanceVariableAccessExpressionChildren(expression: ir.TypeVariableAccessExpression): void;
96
98
  transformTypeMethodAccessExpressionChildren(expression: ir.TypeMethodAccessExpression): void;
@@ -108,9 +110,12 @@ export declare class Transformer {
108
110
  transformJsInstanceOfExpressionChildren(expression: ir.JsInstanceOfExpression): void;
109
111
  transformJsIdentifierExpressionChildren(_expression: ir.JsIdentifierExpression): void;
110
112
  transformDereferenceExpressionChildren(expression: ir.DereferenceExpression): void;
111
- transformJsObjectLiteralProperty(property: ir.JsObjectLiteralProperty): ir.JsObjectLiteralProperty;
112
- private transformArrayWithErrorBoundary;
113
+ transformNamedJsObjectLiteralProperty(property: ir.NamedJsObjectLiteralProperty): ir.NamedJsObjectLiteralProperty;
114
+ transformSpreadJsObjectLiteralProperty(property: ir.SpreadJsObjectLiteralProperty): ir.SpreadJsObjectLiteralProperty;
115
+ transformDecorator(node: ir.Decorator): ir.Decorator;
116
+ private transformStatementsAndAddHoistedLocalVariables;
113
117
  private createLocalVariableDeclarations;
118
+ private transformArrayWithErrorBoundary;
114
119
  }
115
120
  export interface TransformationConfig {
116
121
  transformAssertionExpression?(expression: ir.AssertionExpression): ExpressionTransformationResult;
@@ -128,12 +133,12 @@ export interface TransformationConfig {
128
133
  transformTypeAccessExpression?(expression: ir.TypeAccessExpression): TypeAccessExpressionTransformationResult;
129
134
  transformVariableAccessExpression?(expression: ir.VariableAccessExpression): ExpressionTransformationResult;
130
135
  transformMethodAccessExpression?(expression: ir.MethodAccessExpression): ExpressionTransformationResult;
131
- transformVariantAccessExpression?(expression: ir.VariantAccessExpression): ExpressionTransformationResult;
132
136
  transformTypeVariableAccessExpression?(expression: ir.TypeVariableAccessExpression): ExpressionTransformationResult;
133
137
  transformTypeMethodAccessExpression?(expression: ir.TypeMethodAccessExpression): ExpressionTransformationResult;
134
138
  transformTextTemplateLiteral?(expression: ir.TextTemplateLiteral): ExpressionTransformationResult;
135
139
  transformCharLiteral?(expression: ir.CharLiteral): ExpressionTransformationResult;
136
140
  transformTextLiteral?(expression: ir.TextLiteral): ExpressionTransformationResult;
141
+ transformTextWithEntityName?(expression: ir.TextWithEntityName): ExpressionTransformationResult;
137
142
  transformBooleanLiteral?(expression: ir.BooleanLiteral): ExpressionTransformationResult;
138
143
  transformIntegerLiteral?(expression: ir.IntegerLiteral): ExpressionTransformationResult;
139
144
  transformNumericLiteral?(expression: ir.NumericLiteral): ExpressionTransformationResult;
@@ -141,7 +146,6 @@ export interface TransformationConfig {
141
146
  transformNoneLiteral?(expression: ir.NoneLiteral): ExpressionTransformationResult;
142
147
  transformThisExpression?(expression: ir.ThisExpression): ExpressionTransformationResult;
143
148
  transformBaseExpression?(expression: ir.BaseExpression): ExpressionTransformationResult;
144
- transformHelperMethodCallExpression?(expression: ir.HelperMethodCallExpression): ExpressionTransformationResult;
145
149
  transformConstructorCallExpression?(expression: ir.ConstructorCallExpression): ExpressionTransformationResult;
146
150
  transformInlineJsExpression?(expression: ir.InlineJsExpression): ExpressionTransformationResult;
147
151
  transformAssignmentExpression?(expression: ir.AssignmentExpression): ExpressionTransformationResult;
@@ -185,6 +189,7 @@ export interface TransformationConfig {
185
189
  transformPackageVariableSetterDeclaration?(declaration: ir.PackageVariableSetterDeclaration): PackageMemberDeclarationTransformationResult;
186
190
  transformPackageVariantTypeDeclaration?(declaration: ir.PackageVariantTypeDeclaration): PackageMemberDeclarationTransformationResult;
187
191
  transformTypeVariableDeclaration?(declaration: ir.TypeVariableDeclaration): TypeMemberDeclarationTransformationResult;
192
+ transformComputedTypeVariableDeclaration?(declaration: ir.ComputedTypeVariableDeclaration): TypeMemberDeclarationTransformationResult;
188
193
  transformTypeMethodDeclaration?(declaration: ir.TypeMethodDeclaration): TypeMemberDeclarationTransformationResult;
189
194
  transformTypeConstructorDeclaration?(declaration: ir.TypeConstructorDeclaration): TypeMemberDeclarationTransformationResult;
190
195
  transformTypeDestructorDeclaration?(declaration: ir.TypeDestructorDeclaration): TypeMemberDeclarationTransformationResult;
@@ -192,17 +197,19 @@ export interface TransformationConfig {
192
197
  transformTypeIndexedSetterDeclaration?(declaration: ir.TypeIndexedSetterDeclaration): TypeMemberDeclarationTransformationResult;
193
198
  transformTypeDereferencedVariableGetterDeclaration?(declaration: ir.TypeDereferencedVariableGetterDeclaration): TypeMemberDeclarationTransformationResult;
194
199
  transformTypeDereferencedVariableSetterDeclaration?(declaration: ir.TypeDereferencedVariableSetterDeclaration): TypeMemberDeclarationTransformationResult;
195
- transformTypeVariableGetterDeclaration?(declaration: ir.TypeVariableGetterDeclaration): TypeMemberDeclarationTransformationResult;
196
- transformTypeVariableSetterDeclaration?(declaration: ir.TypeVariableSetterDeclaration): TypeMemberDeclarationTransformationResult;
200
+ transformTypeVariableGetterDeclaration?(declaration: ir.TypeVariableGetterDeclaration): NodeTransformationResult<ir.TypeVariableGetterDeclaration>;
201
+ transformTypeVariableSetterDeclaration?(declaration: ir.TypeVariableSetterDeclaration): NodeTransformationResult<ir.TypeVariableSetterDeclaration>;
197
202
  transformNestedMethodDeclaration?(declaration: ir.NestedMethodDeclaration): NodeTransformationResult<ir.NestedMethodDeclaration>;
198
203
  transformLocalVariableDeclaration?(declaration: ir.LocalVariableDeclaration): NodeTransformationResult<ir.LocalVariableDeclaration>;
199
204
  transformValueParameterDeclaration?(declaration: ir.ValueParameterDeclaration): NodeTransformationResult<ir.ValueParameterDeclaration>;
200
205
  transformCaseClause?(declaration: ir.CaseClause): NodeTransformationResult<ir.CaseClause>;
201
206
  transformVariantDeclaration?(declaration: ir.VariantDeclaration): NodeTransformationResult<ir.VariantDeclaration>;
202
- transformCallArguments?(declaration: ir.CallArguments): NodeTransformationResult<ir.CallArguments>;
203
- transformOnErrorClause?(clause: ir.OnErrorClause): NodeTransformationResult<ir.OnErrorClause>;
207
+ transformArguments?(declaration: ir.Arguments): NodeTransformationResult<ir.Arguments>;
208
+ transformCatchClause?(clause: ir.CatchClause): NodeTransformationResult<ir.CatchClause>;
204
209
  transformFinallyClause?(clause: ir.FinallyClause): NodeTransformationResult<ir.FinallyClause>;
205
- transformJsObjectLiteralProperty?(clause: ir.JsObjectLiteralProperty): NodeTransformationResult<ir.JsObjectLiteralProperty>;
210
+ transformNamedJsObjectLiteralProperty?(clause: ir.NamedJsObjectLiteralProperty): NodeTransformationResult<ir.NamedJsObjectLiteralProperty>;
211
+ transformSpreadJsObjectLiteralProperty?(clause: ir.SpreadJsObjectLiteralProperty): NodeTransformationResult<ir.SpreadJsObjectLiteralProperty>;
212
+ transformDecorator?(node: ir.Decorator): NodeTransformationResult<ir.Decorator>;
206
213
  }
207
214
  export declare const enum TransformationContinuationAction {
208
215
  Continue = 0,
@@ -0,0 +1,163 @@
1
+ export declare class AssignmentEmitOptions {
2
+ private _flags;
3
+ constructor(flags?: AssignmentEmitOptionsFlags);
4
+ constructor(incrementReferenceCountIfRequired: boolean, decrementReferenceCountIfRequired: boolean, performCopyIfRequired: boolean);
5
+ static default(): AssignmentEmitOptions;
6
+ get incrementReferenceCountIfRequired(): boolean;
7
+ set incrementReferenceCountIfRequired(value: boolean);
8
+ setIncrementReferenceCountIfRequired(value: boolean): this;
9
+ get performCopyIfRequired(): boolean;
10
+ set performCopyIfRequired(value: boolean);
11
+ setPerformCopyIfRequired(value: boolean): this;
12
+ get decrementReferenceCountIfRequired(): boolean;
13
+ set decrementReferenceCountIfRequired(value: boolean);
14
+ setDecrementReferenceCountIfRequired(value: boolean): this;
15
+ clone(): AssignmentEmitOptions;
16
+ }
17
+ declare enum AssignmentEmitOptionsFlags {
18
+ None = 0,
19
+ IncrementReferenceCountIfRequired = 1,
20
+ PerformCopyIfRequired = 2,
21
+ DecrementReferenceCountIfRequired = 4
22
+ }
23
+ export declare class DeclarationWithInitializerEmitOptions {
24
+ private _flags;
25
+ constructor(flags?: DeclarationWithInitializerEmitOptionsFlags);
26
+ constructor(incrementReferenceCountIfRequired: boolean);
27
+ static default(): DeclarationWithInitializerEmitOptions;
28
+ get incrementReferenceCountIfRequired(): boolean;
29
+ set incrementReferenceCountIfRequired(value: boolean);
30
+ setIncrementReferenceCountIfRequired(value: boolean): this;
31
+ clone(): DeclarationWithInitializerEmitOptions;
32
+ }
33
+ declare enum DeclarationWithInitializerEmitOptionsFlags {
34
+ None = 0,
35
+ IncrementReferenceCountIfRequired = 1
36
+ }
37
+ export declare class MethodAccessExpressionEmitOptions {
38
+ private _flags;
39
+ constructor(flags?: MethodAccessExpressionEmitOptionsFlags);
40
+ constructor(bindIfNotCallee: boolean, forceUseNonComputedName?: boolean);
41
+ static default(): MethodAccessExpressionEmitOptions;
42
+ get bindIfNotCallee(): boolean;
43
+ set bindIfNotCallee(value: boolean);
44
+ setBindIfNotCallee(value: boolean): this;
45
+ get forceUseNonComputedName(): boolean;
46
+ set forceUseNonComputedName(value: boolean);
47
+ setForceUseNonComputedName(value: boolean): this;
48
+ clone(): MethodAccessExpressionEmitOptions;
49
+ }
50
+ declare enum MethodAccessExpressionEmitOptionsFlags {
51
+ None = 0,
52
+ BindIfNotCallee = 1,
53
+ ForceUseNonComputedName = 2
54
+ }
55
+ export declare class TypeVariableAccessExpressionEmitOptions {
56
+ private _flags;
57
+ constructor(flags?: TypeVariableAccessExpressionEmitOptionsFlags);
58
+ constructor(forceUseNonComputedName: boolean);
59
+ static default(): TypeVariableAccessExpressionEmitOptions;
60
+ get forceUseNonComputedName(): boolean;
61
+ set forceUseNonComputedName(value: boolean);
62
+ setForceUseNonComputedName(value: boolean): this;
63
+ clone(): TypeVariableAccessExpressionEmitOptions;
64
+ }
65
+ declare enum TypeVariableAccessExpressionEmitOptionsFlags {
66
+ None = 0,
67
+ ForceUseNonComputedName = 1
68
+ }
69
+ export declare class TextTemplateLiteralEmitOptions {
70
+ private _flags;
71
+ constructor(flags?: TextTemplateLiteralEmitOptionsFlags);
72
+ constructor(createTextTemplateInstance: boolean);
73
+ static default(): TextTemplateLiteralEmitOptions;
74
+ get createTextTemplateInstance(): boolean;
75
+ set createTextTemplateInstance(value: boolean);
76
+ setCreateTextTemplateInstance(value: boolean): this;
77
+ clone(): TextTemplateLiteralEmitOptions;
78
+ }
79
+ declare enum TextTemplateLiteralEmitOptionsFlags {
80
+ None = 0,
81
+ CreateTextTemplateInstance = 1
82
+ }
83
+ export declare class CallExpressionEmitOptions {
84
+ private _flags;
85
+ constructor(flags?: MethodCallExpressionEmitOptionsFlags);
86
+ constructor(isAliasOrExtensionMethodCallLowered: boolean);
87
+ static default(): CallExpressionEmitOptions;
88
+ get isAliasOrExtensionMethodCallLowered(): boolean;
89
+ set isAliasOrExtensionMethodCallLowered(value: boolean);
90
+ setIsAliasOrExtensionMethodCallLowered(value: boolean): this;
91
+ clone(): CallExpressionEmitOptions;
92
+ }
93
+ declare const enum MethodCallExpressionEmitOptionsFlags {
94
+ None = 0,
95
+ AliasOrExtensionMethodCallLowered = 1
96
+ }
97
+ export declare class ConstructorCallExpressionEmitOptions {
98
+ private _flags;
99
+ constructor(flags?: ConstructorCallExpressionEmitOptionsFlags);
100
+ constructor(isPlainObjectConstructorCallLowered: boolean);
101
+ static default(): ConstructorCallExpressionEmitOptions;
102
+ get isPlainObjectConstructorCallLowered(): boolean;
103
+ set isPlainObjectConstructorCallLowered(value: boolean);
104
+ setIsPlainObjectConstructorCallLowered(value: boolean): this;
105
+ clone(): ConstructorCallExpressionEmitOptions;
106
+ }
107
+ declare const enum ConstructorCallExpressionEmitOptionsFlags {
108
+ None = 0,
109
+ PlainObjectConstructorCallLowered = 1
110
+ }
111
+ export declare class TypeMethodDeclarationEmitOptions {
112
+ private _flags;
113
+ constructor(flags?: TypeMethodDeclarationEmitOptionsFlags);
114
+ constructor();
115
+ static default(): TypeMethodDeclarationEmitOptions;
116
+ clone(): TypeMethodDeclarationEmitOptions;
117
+ }
118
+ declare const enum TypeMethodDeclarationEmitOptionsFlags {
119
+ None = 0
120
+ }
121
+ export declare class TypeVariableDeclarationEmitOptions {
122
+ private _flags;
123
+ constructor(flags?: TypeVariableDeclarationEmitOptionsFlags);
124
+ constructor();
125
+ static default(): TypeVariableDeclarationEmitOptions;
126
+ clone(): TypeVariableDeclarationEmitOptions;
127
+ }
128
+ declare const enum TypeVariableDeclarationEmitOptionsFlags {
129
+ None = 0
130
+ }
131
+ export declare class TypeVariableAccessorDeclarationEmitOptions {
132
+ private _flags;
133
+ constructor(flags?: TypeVariableAccessorDeclarationEmitOptionsFlags);
134
+ constructor(forceUseNonComputedName: boolean);
135
+ static default(): TypeVariableAccessorDeclarationEmitOptions;
136
+ get forceUseNonComputedName(): boolean;
137
+ set forceUseNonComputedName(value: boolean);
138
+ setForceUseNonComputedName(value: boolean): this;
139
+ clone(): TypeVariableAccessorDeclarationEmitOptions;
140
+ }
141
+ declare const enum TypeVariableAccessorDeclarationEmitOptionsFlags {
142
+ None = 0,
143
+ ForceUseNonComputedName = 1
144
+ }
145
+ export declare class PackageVariableDeclarationEmitOptions {
146
+ private _flags;
147
+ constructor(flags?: PackageVariableDeclarationEmitOptionsFlags);
148
+ constructor(shouldBePlacedBeforeOtherDeclarations: boolean, shouldNotMoveInitializerToConstructor: boolean);
149
+ static default(): PackageVariableDeclarationEmitOptions;
150
+ get shouldBePlacedBeforeOtherDeclarations(): boolean;
151
+ set shouldBePlacedBeforeOtherDeclarations(value: boolean);
152
+ setShouldBePlacedBeforeOtherDeclarations(value: boolean): this;
153
+ get shouldNotMoveInitializerToConstructor(): boolean;
154
+ set shouldNotMoveInitializerToConstructor(value: boolean);
155
+ setShouldNotMoveInitializerToConstructor(value: boolean): this;
156
+ clone(): PackageVariableDeclarationEmitOptions;
157
+ }
158
+ declare const enum PackageVariableDeclarationEmitOptionsFlags {
159
+ None = 0,
160
+ ShouldBePlacedBeforeOtherDeclarations = 1,
161
+ ShouldNotMoveInitializerToConstructor = 2
162
+ }
163
+ export {};