@artel/artc 0.6.25191

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 (281) hide show
  1. package/build/Cli.js +20 -0
  2. package/build/api/Api.js +664 -0
  3. package/build/api/ApiNodeJS.js +20 -0
  4. package/build/api/ApiServices.js +12847 -0
  5. package/build/chunk-BQHCAH6D.js +588 -0
  6. package/build/chunk-O2JKESUU.js +63219 -0
  7. package/build/chunk-QRBDQKYM.js +94 -0
  8. package/build/types/Cli.d.ts +3 -0
  9. package/build/types/analysis/AccessedMethod.d.ts +53 -0
  10. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +191 -0
  11. package/build/types/analysis/Analyzer.d.ts +665 -0
  12. package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +25 -0
  13. package/build/types/analysis/BaseExpressionMeaning.d.ts +47 -0
  14. package/build/types/analysis/BuiltInOperators.d.ts +14 -0
  15. package/build/types/analysis/CallArgumentToParameterMatchResult.d.ts +30 -0
  16. package/build/types/analysis/CallArgumentsToParametersMatcher.d.ts +44 -0
  17. package/build/types/analysis/CallExpressionMeaning.d.ts +39 -0
  18. package/build/types/analysis/ConstructorOverloadResolver.d.ts +34 -0
  19. package/build/types/analysis/DeclarationsUsageCounter.d.ts +18 -0
  20. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +23 -0
  21. package/build/types/analysis/DiagnosticCollector.d.ts +68 -0
  22. package/build/types/analysis/EntityLocalizationHelper.d.ts +15 -0
  23. package/build/types/analysis/FindModifier.d.ts +4 -0
  24. package/build/types/analysis/FoundDeclaration.d.ts +19 -0
  25. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +98 -0
  26. package/build/types/analysis/ImportedPackageNameTree.d.ts +22 -0
  27. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +26 -0
  28. package/build/types/analysis/IndexerAccess.d.ts +10 -0
  29. package/build/types/analysis/Localization.d.ts +54 -0
  30. package/build/types/analysis/LocalizationContext.d.ts +15 -0
  31. package/build/types/analysis/Lookup.d.ts +23 -0
  32. package/build/types/analysis/NamedTypeResolver.d.ts +42 -0
  33. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +20 -0
  34. package/build/types/analysis/NodeTypeUtils.d.ts +28 -0
  35. package/build/types/analysis/ObjectExpressionMeaning.d.ts +38 -0
  36. package/build/types/analysis/OperationOverloadResolver.d.ts +19 -0
  37. package/build/types/analysis/OverloadResolver.d.ts +12 -0
  38. package/build/types/analysis/PackageMemberLookup.d.ts +15 -0
  39. package/build/types/analysis/PrefixUnaryOperatorResolver.d.ts +27 -0
  40. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +100 -0
  41. package/build/types/analysis/Scope.d.ts +309 -0
  42. package/build/types/analysis/SemanticContext.d.ts +320 -0
  43. package/build/types/analysis/SemanticContextBuilder.d.ts +54 -0
  44. package/build/types/analysis/SourceFileMembers.d.ts +92 -0
  45. package/build/types/analysis/SourcePackageDependencyGraph.d.ts +41 -0
  46. package/build/types/analysis/SourcePackageMembersCreator.d.ts +6 -0
  47. package/build/types/analysis/StatementBlockScopeBuilder.d.ts +22 -0
  48. package/build/types/analysis/SubstitutedMethod.d.ts +49 -0
  49. package/build/types/analysis/TagMeaning.d.ts +26 -0
  50. package/build/types/analysis/Tags.d.ts +29 -0
  51. package/build/types/analysis/TargetTypeHint.d.ts +5 -0
  52. package/build/types/analysis/TypeInferrer.d.ts +9 -0
  53. package/build/types/analysis/TypeMemberLookup.d.ts +27 -0
  54. package/build/types/analysis/TypeOverloadResolver.d.ts +7 -0
  55. package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +37 -0
  56. package/build/types/analysis/Utils.d.ts +17 -0
  57. package/build/types/analysis/VariableAccess.d.ts +10 -0
  58. package/build/types/analysis/VariantLookup.d.ts +20 -0
  59. package/build/types/analysis/Visitor.d.ts +7 -0
  60. package/build/types/analysis/WellKnownDeclarations.d.ts +34 -0
  61. package/build/types/analysis/index.d.ts +8 -0
  62. package/build/types/api/Api.d.ts +59 -0
  63. package/build/types/api/ApiNodeJS.d.ts +5 -0
  64. package/build/types/api/ApiServices.d.ts +3 -0
  65. package/build/types/common/AccessKind.d.ts +4 -0
  66. package/build/types/common/ArtelFileCheck.d.ts +2 -0
  67. package/build/types/common/Cached.d.ts +6 -0
  68. package/build/types/common/CancellationToken.d.ts +13 -0
  69. package/build/types/common/Constants.d.ts +19 -0
  70. package/build/types/common/Debug.d.ts +10 -0
  71. package/build/types/common/Delayed.d.ts +7 -0
  72. package/build/types/common/ErrorHandlingStrategy.d.ts +3 -0
  73. package/build/types/common/FormatString.d.ts +5 -0
  74. package/build/types/common/HelperPhrases.d.ts +11 -0
  75. package/build/types/common/Interner.d.ts +4 -0
  76. package/build/types/common/L10nConfig.d.ts +1 -0
  77. package/build/types/common/Lazy.d.ts +9 -0
  78. package/build/types/common/LocalizationHelper.d.ts +10 -0
  79. package/build/types/common/Logger.d.ts +10 -0
  80. package/build/types/common/Name.d.ts +83 -0
  81. package/build/types/common/NameFormatConversion.d.ts +12 -0
  82. package/build/types/common/NonEmptyArray.d.ts +8 -0
  83. package/build/types/common/Option.d.ts +28 -0
  84. package/build/types/common/PackageDialect.d.ts +5 -0
  85. package/build/types/common/PackageLocale.d.ts +15 -0
  86. package/build/types/common/PackageLocaleGuard.d.ts +1 -0
  87. package/build/types/common/Path.d.ts +8 -0
  88. package/build/types/common/PerformanceMeasurement.d.ts +20 -0
  89. package/build/types/common/Query.d.ts +39 -0
  90. package/build/types/common/Range.d.ts +10 -0
  91. package/build/types/common/Result.d.ts +13 -0
  92. package/build/types/common/SearchName.d.ts +13 -0
  93. package/build/types/common/ThrottledCancellationToken.d.ts +17 -0
  94. package/build/types/common/TreeQuery.d.ts +53 -0
  95. package/build/types/common/TreeTraversal.d.ts +13 -0
  96. package/build/types/common/Uri.d.ts +28 -0
  97. package/build/types/common/UriTree.d.ts +41 -0
  98. package/build/types/common/UserLocale.d.ts +2 -0
  99. package/build/types/common/WithDiagnostics.d.ts +19 -0
  100. package/build/types/common/YieldExecution.d.ts +1 -0
  101. package/build/types/common/index.d.ts +32 -0
  102. package/build/types/diagnostic/Diagnostic.d.ts +21 -0
  103. package/build/types/diagnostic/DiagnosticCode.d.ts +146 -0
  104. package/build/types/diagnostic/DiagnosticData.d.ts +20 -0
  105. package/build/types/diagnostic/DiagnosticFormatter.d.ts +8 -0
  106. package/build/types/diagnostic/RangeDiagnostic.d.ts +19 -0
  107. package/build/types/emitter/BlockStatementTransformationResult.d.ts +10 -0
  108. package/build/types/emitter/CustomModuleLoader.d.ts +1 -0
  109. package/build/types/emitter/DebugStack.d.ts +10 -0
  110. package/build/types/emitter/Emitter.d.ts +61 -0
  111. package/build/types/emitter/EmitterContext.d.ts +342 -0
  112. package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +36 -0
  113. package/build/types/emitter/EmitterPackage.d.ts +60 -0
  114. package/build/types/emitter/EntityNameProviders.d.ts +33 -0
  115. package/build/types/emitter/ExpressionTransformationResult.d.ts +17 -0
  116. package/build/types/emitter/GeneralLowering.d.ts +72 -0
  117. package/build/types/emitter/Internal.d.ts +10 -0
  118. package/build/types/emitter/IntrinsicEntities.d.ts +118 -0
  119. package/build/types/emitter/IrBuilder.d.ts +108 -0
  120. package/build/types/emitter/IrToJs.d.ts +113 -0
  121. package/build/types/emitter/JavaScriptName.d.ts +1 -0
  122. package/build/types/emitter/PackageMemberDeclarationTransformationResult.d.ts +17 -0
  123. package/build/types/emitter/SimpleTransformationResult.d.ts +14 -0
  124. package/build/types/emitter/StatementTransformationResult.d.ts +16 -0
  125. package/build/types/emitter/StructuredTypeMemberDeclarationTransformationResult.d.ts +13 -0
  126. package/build/types/emitter/TransformationContinuationAction.d.ts +4 -0
  127. package/build/types/emitter/Transformer.d.ts +282 -0
  128. package/build/types/emitter/TypeAccessExpressionTransformationResult.d.ts +12 -0
  129. package/build/types/emitter/error-boundary.d.ts +10 -0
  130. package/build/types/emitter/index.d.ts +1 -0
  131. package/build/types/emitter/ir/AccessedEntities.d.ts +19 -0
  132. package/build/types/emitter/ir/LoweringOptions.d.ts +34 -0
  133. package/build/types/emitter/ir/Nodes.d.ts +1585 -0
  134. package/build/types/emitter/ir/SourceLocation.d.ts +10 -0
  135. package/build/types/emitter/ir/index.d.ts +5 -0
  136. package/build/types/emitter/ir/types.d.ts +10 -0
  137. package/build/types/entities/AliasTypeEntity.d.ts +84 -0
  138. package/build/types/entities/BinaryOperatorEntity.d.ts +48 -0
  139. package/build/types/entities/ConstructorEntity.d.ts +99 -0
  140. package/build/types/entities/DereferenceOperatorEntity.d.ts +40 -0
  141. package/build/types/entities/DestructorEntity.d.ts +31 -0
  142. package/build/types/entities/EntityHiding.d.ts +27 -0
  143. package/build/types/entities/EntityNaming.d.ts +12 -0
  144. package/build/types/entities/GetterEntity.d.ts +86 -0
  145. package/build/types/entities/IndexerEntity.d.ts +51 -0
  146. package/build/types/entities/MethodEntity.d.ts +174 -0
  147. package/build/types/entities/MethodTypeEntity.d.ts +98 -0
  148. package/build/types/entities/PackageAliasEntity.d.ts +30 -0
  149. package/build/types/entities/PackageEntity.d.ts +56 -0
  150. package/build/types/entities/PackageMembers.d.ts +98 -0
  151. package/build/types/entities/SetterEntity.d.ts +78 -0
  152. package/build/types/entities/StructuredTypeEntity.d.ts +199 -0
  153. package/build/types/entities/SubstitutionApplicationMode.d.ts +4 -0
  154. package/build/types/entities/TypeEntityMembers.d.ts +36 -0
  155. package/build/types/entities/TypeExtensionEntity.d.ts +33 -0
  156. package/build/types/entities/TypeMemberContainer.d.ts +23 -0
  157. package/build/types/entities/TypeParameterEntity.d.ts +94 -0
  158. package/build/types/entities/UnaryOperatorEntity.d.ts +33 -0
  159. package/build/types/entities/VariableEntity.d.ts +423 -0
  160. package/build/types/entities/VariantEntity.d.ts +31 -0
  161. package/build/types/entities/VariantTypeEntity.d.ts +83 -0
  162. package/build/types/entities/Variants.d.ts +10 -0
  163. package/build/types/entities/index.d.ts +87 -0
  164. package/build/types/executor/CommandLineCompiler.d.ts +8 -0
  165. package/build/types/executor/Compiler.d.ts +15 -0
  166. package/build/types/executor/FileSystemUri.d.ts +5 -0
  167. package/build/types/executor/NodeCompiler.d.ts +39 -0
  168. package/build/types/executor/PhysicalFileSystem.d.ts +12 -0
  169. package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +12 -0
  170. package/build/types/generated/BuiltInSystemPackages.d.ts +3 -0
  171. package/build/types/old/Executor.d.ts +14 -0
  172. package/build/types/old/JavaScriptEmitter.d.ts +1 -0
  173. package/build/types/old/JavaScriptEmittingVisitor.d.ts +1 -0
  174. package/build/types/old/NzonParser.d.ts +1 -0
  175. package/build/types/old/NzonScanner.d.ts +1 -0
  176. package/build/types/old/NzonSyntax.d.ts +1 -0
  177. package/build/types/old/RemoteWorkspaceFileSystem.d.ts +1 -0
  178. package/build/types/parser/CharacterCodes.d.ts +21 -0
  179. package/build/types/parser/ConvertTokenKind.d.ts +3 -0
  180. package/build/types/parser/KeywordDictionary.d.ts +12 -0
  181. package/build/types/parser/ParseNumber.d.ts +5 -0
  182. package/build/types/parser/Parser.d.ts +7 -0
  183. package/build/types/parser/ParserDiagnostic.d.ts +7 -0
  184. package/build/types/parser/ReservedIdentifierDictionary.d.ts +12 -0
  185. package/build/types/parser/Scanner.d.ts +60 -0
  186. package/build/types/parser/TokenKind.d.ts +73 -0
  187. package/build/types/parser/UnescapeText.d.ts +2 -0
  188. package/build/types/project/Compilation.d.ts +21 -0
  189. package/build/types/project/CompilationLoader.d.ts +104 -0
  190. package/build/types/project/FileSystemTree.d.ts +70 -0
  191. package/build/types/project/PackageConfigurationSerializer.d.ts +1 -0
  192. package/build/types/project/Position.d.ts +5 -0
  193. package/build/types/project/SourceFile.d.ts +21 -0
  194. package/build/types/project/SourcePackage.d.ts +151 -0
  195. package/build/types/project/TextFile.d.ts +11 -0
  196. package/build/types/project/configuration/BuildPackageApi.d.ts +75 -0
  197. package/build/types/project/configuration/ConfigurationConverter.d.ts +25 -0
  198. package/build/types/project/configuration/ConfigurationFileParser.d.ts +26 -0
  199. package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +27 -0
  200. package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +90 -0
  201. package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +91 -0
  202. package/build/types/project/index.d.ts +12 -0
  203. package/build/types/services/AddPropertyAssignmentService.d.ts +15 -0
  204. package/build/types/services/CompletionService.d.ts +95 -0
  205. package/build/types/services/CustomCommand.d.ts +120 -0
  206. package/build/types/services/DefinitionService.d.ts +19 -0
  207. package/build/types/services/DisplayService.d.ts +830 -0
  208. package/build/types/services/DocumentHighlightsService.d.ts +18 -0
  209. package/build/types/services/EvaluatableExpressionService.d.ts +15 -0
  210. package/build/types/services/FileSystemTreeDisplayService.d.ts +7 -0
  211. package/build/types/services/HoverService.d.ts +17 -0
  212. package/build/types/services/LanguageServer.d.ts +125 -0
  213. package/build/types/services/NodeSemanticInfo.d.ts +132 -0
  214. package/build/types/services/ProjectItemsService.d.ts +6 -0
  215. package/build/types/services/ReferencesService.d.ts +30 -0
  216. package/build/types/services/RenameService.d.ts +16 -0
  217. package/build/types/services/SelectionRangeService.d.ts +12 -0
  218. package/build/types/services/SemanticTokensService.d.ts +40 -0
  219. package/build/types/services/SourceFileItemsService.d.ts +42 -0
  220. package/build/types/services/TranslationService.d.ts +23 -0
  221. package/build/types/services/TreeUtils.d.ts +58 -0
  222. package/build/types/services/TypeDefinitionService.d.ts +9 -0
  223. package/build/types/services/Types.d.ts +22 -0
  224. package/build/types/services/Utils.d.ts +5 -0
  225. package/build/types/services/signature-help/SignatureHelpService.d.ts +17 -0
  226. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +114 -0
  227. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +20 -0
  228. package/build/types/services/signature-help/ValueParametersSignatureHelpProvider.d.ts +15 -0
  229. package/build/types/services/signature-help/utils.d.ts +9 -0
  230. package/build/types/services/source-generation/EntityToSyntax.d.ts +47 -0
  231. package/build/types/services/source-generation/SourceGenerationService.d.ts +22 -0
  232. package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +41 -0
  233. package/build/types/services/workspace/CompilationController.d.ts +108 -0
  234. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +61 -0
  235. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +21 -0
  236. package/build/types/services/workspace/Workspace.d.ts +59 -0
  237. package/build/types/services/workspace/WorkspaceFileSystem.d.ts +5 -0
  238. package/build/types/services/workspace/WorkspaceFiles.d.ts +35 -0
  239. package/build/types/services/workspace/index.d.ts +7 -0
  240. package/build/types/tree/KeywordKind.d.ts +64 -0
  241. package/build/types/tree/NodeKind.d.ts +163 -0
  242. package/build/types/tree/TokenKind.d.ts +132 -0
  243. package/build/types/tree/TriviaKind.d.ts +7 -0
  244. package/build/types/tree/green/BaseNode.d.ts +12 -0
  245. package/build/types/tree/green/Nodes.d.ts +2235 -0
  246. package/build/types/tree/green/SyntaxFactory.d.ts +67 -0
  247. package/build/types/tree/green/SyntaxToCode.d.ts +116 -0
  248. package/build/types/tree/green/Token.d.ts +37 -0
  249. package/build/types/tree/green/Utils.d.ts +2 -0
  250. package/build/types/tree/green/index.d.ts +7 -0
  251. package/build/types/tree/index.d.ts +4 -0
  252. package/build/types/tree/red/BaseNode.d.ts +15 -0
  253. package/build/types/tree/red/Internal.d.ts +2 -0
  254. package/build/types/tree/red/NodePath.d.ts +10 -0
  255. package/build/types/tree/red/Nodes.d.ts +2237 -0
  256. package/build/types/tree/red/Token.d.ts +29 -0
  257. package/build/types/tree/red/Utils.d.ts +6 -0
  258. package/build/types/tree/red/index.d.ts +6 -0
  259. package/build/types/ts-interop/Entities.d.ts +634 -0
  260. package/build/types/ts-interop/TsInteropContext.d.ts +179 -0
  261. package/build/types/ts-interop/TsLibrariesProvider.d.ts +12 -0
  262. package/build/types/ts-interop/TsPackageContents.d.ts +64 -0
  263. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +69 -0
  264. package/build/types/ts-interop/TsProgramLoader.d.ts +38 -0
  265. package/build/types/ts-interop/TsTypeMembersCreator.d.ts +45 -0
  266. package/build/types/ts-interop/Utils.d.ts +43 -0
  267. package/build/types/types/AliasType.d.ts +20 -0
  268. package/build/types/types/Internal.d.ts +1 -0
  269. package/build/types/types/MethodType.d.ts +23 -0
  270. package/build/types/types/ParameterType.d.ts +19 -0
  271. package/build/types/types/StandardTypes.d.ts +42 -0
  272. package/build/types/types/StructuredType.d.ts +25 -0
  273. package/build/types/types/Substitutions.d.ts +18 -0
  274. package/build/types/types/Type.d.ts +16 -0
  275. package/build/types/types/TypeFactory.d.ts +15 -0
  276. package/build/types/types/TypeMembers.d.ts +134 -0
  277. package/build/types/types/UnionType.d.ts +20 -0
  278. package/build/types/types/UnresolvedType.d.ts +16 -0
  279. package/build/types/types/VariantType.d.ts +19 -0
  280. package/build/types/types/index.d.ts +12 -0
  281. package/package.json +73 -0
@@ -0,0 +1,282 @@
1
+ import type { DereferenceOperatorEntity, IndexerEntity, VariableEntity } from '../entities/index.js';
2
+ import { DebugStack } from './DebugStack.js';
3
+ import { blockStatementTransformationResult, expressionTransformationResult, packageMemberDeclarationTransformationResult, simpleTransformationResult, statementTransformationResult, typeAccessExpressionTransformationResult, typeMemberDeclarationTransformationResult } from './Internal.js';
4
+ import { TransformationContinuationAction } from './TransformationContinuationAction.js';
5
+ import * as ir from './ir/index.js';
6
+ export declare class Transformer {
7
+ readonly config: TransformationConfig;
8
+ protected readonly _debugStack: DebugStack;
9
+ private _hoistedLocalVariables;
10
+ private _transformingContainer;
11
+ get transformingContainer(): TransformingContainer | undefined;
12
+ constructor(config: TransformationConfig);
13
+ transform(sourceFile: ir.SourceFile): void;
14
+ transformPackageMemberDeclaration(declaration: ir.PackageMemberDeclaration): readonly ir.PackageMemberDeclaration[];
15
+ transformPackageConstructorDeclarationChildren(declaration: ir.PackageConstructorDeclaration): void;
16
+ transformBlockStatement(statement: ir.BlockStatement): ir.BlockStatement;
17
+ transformStatement(statement: ir.Statement): readonly ir.Statement[];
18
+ transformAssignmentStatementChildren(statement: ir.AssignmentStatement): void;
19
+ transformBlockStatementChildren(statement: ir.BlockStatement): void;
20
+ transformBlockStatementClause(clause: ir.BlockStatementClause): ir.BlockStatementClause;
21
+ transformBreakLoopStatementChildren(_statement: ir.BreakLoopStatement): void;
22
+ transformContinueLoopStatementChildren(_statement: ir.ContinueLoopStatement): void;
23
+ transformDisposeStatementChildren(statement: ir.DisposeStatement): void;
24
+ transformRunStatementChildren(statement: ir.RunStatement): void;
25
+ transformEmptyStatementChildren(_statement: ir.EmptyStatement): void;
26
+ transformErrorStatementChildren(statement: ir.ErrorStatement): void;
27
+ transformExpressionStatementChildren(statement: ir.ExpressionStatement): void;
28
+ transformForStatementChildren(statement: ir.ForStatement): void;
29
+ transformIfStatementChildren(statement: ir.IfStatement): void;
30
+ transformNestedMethodDeclarationStatementChildren(statement: ir.NestedMethodDeclarationStatement): void;
31
+ transformNestedMethodDeclaration(declaration: ir.NestedMethodDeclaration): ir.NestedMethodDeclaration;
32
+ transformValueParameterDeclaration(declaration: ir.ValueParameterDeclaration): ir.ValueParameterDeclaration;
33
+ transformNodeWithSimpleTransformationResult<T>(node: T, transform: (node: T) => simpleTransformationResult.Type<T> | undefined): {
34
+ transformedNode: T;
35
+ action: TransformationContinuationAction;
36
+ };
37
+ transformLocalVariableDeclarationStatementChildren(statement: ir.LocalVariableDeclarationStatement): void;
38
+ transformLocalVariableDeclaration(declaration: ir.LocalVariableDeclaration): ir.LocalVariableDeclaration;
39
+ transformUnobservableStatementChildren(statement: ir.UnobservableStatement): void;
40
+ transformLoopStatementChildren(statement: ir.LoopStatement): void;
41
+ transformReturnStatementChildren(statement: ir.ReturnStatement): void;
42
+ transformSwitchStatementChildren(statement: ir.SwitchStatement): void;
43
+ transformCaseClause(caseClause: ir.CaseClause): ir.CaseClause;
44
+ transformTransactionalStatementChildren(statement: ir.TransactionalStatement): void;
45
+ transformWhileStatementChildren(statement: ir.WhileStatement): void;
46
+ transformYieldStatementChildren(statement: ir.YieldStatement): void;
47
+ transformTryCatchFinallyStatementChildren(statement: ir.TryCatchFinallyStatement): void;
48
+ transformEsModuleImportDirectiveStatementChildren(_statement: ir.EsModuleImportDirectiveStatement): void;
49
+ transformCjsModuleImportDirectiveStatementChildren(_statement: ir.CjsModuleImportDirectiveStatement): void;
50
+ transformJsNamespaceDestructuringStatementChildren(_statement: ir.JsNamespaceDestructuringStatement): void;
51
+ transformPackageEntryPointDeclarationChildren(declaration: ir.PackageEntryPointDeclaration): void;
52
+ transformPackageMethodDeclarationChildren(declaration: ir.PackageMethodDeclaration): void;
53
+ transformPackageTypeDeclarationChildren(declaration: ir.PackageTypeDeclaration): void;
54
+ transformTypeMemberDeclaration(declaration: ir.TypeMemberDeclaration): readonly ir.TypeMemberDeclaration[];
55
+ transformPropertyDeclarationChildren(declaration: ir.PropertyDeclaration): void;
56
+ transformTypeConstructorDeclarationChildren(declaration: ir.TypeConstructorDeclaration): void;
57
+ transformTypeDestructorDeclarationChildren(declaration: ir.TypeDestructorDeclaration): void;
58
+ transformTypeIndexerDeclarationChildren(declaration: ir.TypeIndexerDeclaration): void;
59
+ transformTypeDereferenceOperatorDeclarationChildren(declaration: ir.TypeDereferenceOperatorDeclaration): void;
60
+ transformTypeIndexedGetterDeclaration(declaration: ir.TypeIndexedGetterDeclaration, indexer: IndexerEntity): ir.TypeIndexedGetterDeclaration;
61
+ transformTypeIndexedSetterDeclaration(declaration: ir.TypeIndexedSetterDeclaration, indexer: IndexerEntity): ir.TypeIndexedSetterDeclaration;
62
+ transformTypeDereferencedVariableGetterDeclaration(declaration: ir.TypeDereferencedVariableGetterDeclaration, indexer: DereferenceOperatorEntity): ir.TypeDereferencedVariableGetterDeclaration;
63
+ transformTypeDereferencedVariableSetterDeclaration(declaration: ir.TypeDereferencedVariableSetterDeclaration, indexer: DereferenceOperatorEntity): ir.TypeDereferencedVariableSetterDeclaration;
64
+ transformTypeMethodDeclarationChildren(declaration: ir.TypeMethodDeclaration): void;
65
+ transformTypeVariableDeclarationChildren(declaration: ir.TypeVariableDeclaration): void;
66
+ transformTypeVariableGetterDeclaration(declaration: ir.TypeVariableGetterDeclaration, variable: VariableEntity): ir.TypeVariableGetterDeclaration;
67
+ transformTypeVariableSetterDeclaration(declaration: ir.TypeVariableSetterDeclaration, variable: VariableEntity): ir.TypeVariableSetterDeclaration;
68
+ transformPackageVariableDeclarationChildren(declaration: ir.PackageVariableDeclaration): void;
69
+ transformPackageVariableGetterDeclaration(declaration: ir.PackageVariableGetterDeclaration): ir.PackageVariableGetterDeclaration;
70
+ transformPackageVariableSetterDeclaration(declaration: ir.PackageVariableSetterDeclaration): ir.PackageVariableSetterDeclaration;
71
+ transformPackageVariantTypeDeclarationChildren(declaration: ir.PackageVariantTypeDeclaration): void;
72
+ transformVariantDeclaration(declaration: ir.VariantDeclaration): ir.VariantDeclaration;
73
+ transformTypeExtensionDeclarationChildren(declaration: ir.TypeExtensionDeclaration): void;
74
+ transformExpression(expression: ir.Expression): ir.Expression;
75
+ transformAsExpressionChildren(expression: ir.AsExpression): void;
76
+ transformAssertionExpressionChildren(expression: ir.AssertionExpression): void;
77
+ transformAssumptionExpressionChildren(expression: ir.AssumptionExpression): void;
78
+ transformBinaryExpressionChildren(expression: ir.BinaryExpression): void;
79
+ transformBooleanLiteralChildren(_expression: ir.BooleanLiteral): void;
80
+ transformCallExpressionChildren(expression: ir.CallExpression): void;
81
+ transformCallArguments(callArguments: ir.CallArguments): ir.CallArguments;
82
+ transformCharLiteralChildren(_expression: ir.CharLiteral): void;
83
+ transformNoneLiteralChildren(_expression: ir.NoneLiteral): void;
84
+ transformIndexedAccessExpressionChildren(expression: ir.IndexedAccessExpression): void;
85
+ transformIntegerLiteralChildren(_expression: ir.IntegerLiteral): void;
86
+ transformHelperMethodCallExpressionChildren(expression: ir.HelperMethodCallExpression): void;
87
+ transformIsExpressionChildren(expression: ir.IsExpression): void;
88
+ transformUnobservableExpressionChildren(expression: ir.UnobservableExpression): void;
89
+ transformNotExpressionChildren(expression: ir.NotExpression): void;
90
+ transformNumericLiteralChildren(_expression: ir.NumericLiteral): void;
91
+ transformMethodLiteralChildren(expression: ir.MethodLiteral): void;
92
+ transformPrefixUnaryExpressionChildren(expression: ir.PrefixUnaryExpression): void;
93
+ transformMeasureLiteralChildren(_expression: ir.MeasureLiteral): void;
94
+ transformReferenceExpressionChildren(expression: ir.ReferenceExpression): void;
95
+ transformTextLiteralChildren(_expression: ir.TextLiteral): void;
96
+ transformTextTemplateLiteralChildren(expression: ir.TextTemplateLiteral): void;
97
+ transformTernaryExpressionChildren(expression: ir.TernaryExpression): void;
98
+ transformThisExpressionChildren(_expression: ir.ThisExpression): void;
99
+ transformBaseExpressionChildren(_expression: ir.BaseExpression): void;
100
+ transformTransactionalExpressionChildren(expression: ir.TransactionalExpression): void;
101
+ transformArrayLiteralChildren(expression: ir.ArrayLiteral): void;
102
+ transformTypeAccessExpressionChildren(_expression: ir.TypeAccessExpression): void;
103
+ transformVariableAccessExpressionChildren(_expression: ir.VariableAccessExpression): void;
104
+ transformMethodAccessExpressionChildren(_expression: ir.MethodAccessExpression): void;
105
+ transformImplicitVariantAccessExpressionChildren(_expression: ir.ImplicitVariantAccessExpression): void;
106
+ transformVariantAccessExpressionChildren(expression: ir.VariantAccessExpression): void;
107
+ transformTypeAccessExpression(expression: ir.TypeAccessExpression): ir.TypeAccessExpression;
108
+ transformInstanceVariableAccessExpressionChildren(expression: ir.TypeVariableAccessExpression): void;
109
+ transformTypeMethodAccessExpressionChildren(expression: ir.TypeMethodAccessExpression): void;
110
+ transformConstructorCallExpressionChildren(expression: ir.ConstructorCallExpression): void;
111
+ transformInlineJsExpressionChildren(_expression: ir.InlineJsExpression): void;
112
+ transformAssignmentExpressionChildren(expression: ir.AssignmentExpression): void;
113
+ transformCommaExpressionChildren(expression: ir.CommaExpression): void;
114
+ transformOwnConstructorCallExpressionChildren(expression: ir.OwnConstructorCallExpression): void;
115
+ transformBaseConstructorCallExpressionChildren(expression: ir.BaseConstructorCallExpression): void;
116
+ transformJsIndexedAccessExpressionChildren(expression: ir.JsIndexedAccessExpression): void;
117
+ transformJsObjectLiteralChildren(expression: ir.JsObjectLiteral): void;
118
+ transformJsPropertyAccessExpressionChildren(expression: ir.JsPropertyAccessExpression): void;
119
+ transformJsFunctionLiteralChildren(expression: ir.JsFunctionLiteral): void;
120
+ transformImplicitConversionExpressionChildren(expression: ir.ImplicitConversionExpression): void;
121
+ transformJsTypeOfExpressionChildren(expression: ir.JsTypeOfExpression): void;
122
+ transformJsInstanceOfExpressionChildren(expression: ir.JsInstanceOfExpression): void;
123
+ transformJsIdentifierExpressionChildren(_expression: ir.JsIdentifierExpression): void;
124
+ transformDereferenceExpressionChildren(expression: ir.DereferenceExpression): void;
125
+ transformJsObjectLiteralProperty(property: ir.JsObjectLiteralProperty): ir.JsObjectLiteralProperty;
126
+ private transformArrayWithErrorBoundary;
127
+ private createLocalVariableDeclarations;
128
+ private withTransformingContainer;
129
+ }
130
+ interface TransformationConfig {
131
+ transformAssertionExpression?(expression: ir.AssertionExpression): expressionTransformationResult.Type;
132
+ transformAssumptionExpression?(expression: ir.AssumptionExpression): expressionTransformationResult.Type;
133
+ transformAsExpression?(expression: ir.AsExpression): expressionTransformationResult.Type;
134
+ transformBinaryExpression?(expression: ir.BinaryExpression): expressionTransformationResult.Type;
135
+ transformCallExpression?(expression: ir.CallExpression): expressionTransformationResult.Type;
136
+ transformIndexedAccessExpression?(expression: ir.IndexedAccessExpression): expressionTransformationResult.Type;
137
+ transformIsExpression?(expression: ir.IsExpression): expressionTransformationResult.Type;
138
+ transformUnobservableExpression?(expression: ir.UnobservableExpression): expressionTransformationResult.Type;
139
+ transformNotExpression?(expression: ir.NotExpression): expressionTransformationResult.Type;
140
+ transformMethodLiteral?(expression: ir.MethodLiteral): expressionTransformationResult.Type;
141
+ transformPrefixUnaryExpression?(expression: ir.PrefixUnaryExpression): expressionTransformationResult.Type;
142
+ transformReferenceExpression?(expression: ir.ReferenceExpression): expressionTransformationResult.Type;
143
+ transformTernaryExpression?(expression: ir.TernaryExpression): expressionTransformationResult.Type;
144
+ transformArrayLiteral?(expression: ir.ArrayLiteral): expressionTransformationResult.Type;
145
+ transformTypeAccessExpression?(expression: ir.TypeAccessExpression): typeAccessExpressionTransformationResult.TypeAccessExpressionTransformationResult;
146
+ transformVariableAccessExpression?(expression: ir.VariableAccessExpression): expressionTransformationResult.Type;
147
+ transformMethodAccessExpression?(expression: ir.MethodAccessExpression): expressionTransformationResult.Type;
148
+ transformImplicitVariantAccessExpression?(expression: ir.ImplicitVariantAccessExpression): expressionTransformationResult.Type;
149
+ transformVariantAccessExpression?(expression: ir.VariantAccessExpression): expressionTransformationResult.Type;
150
+ transformTypeVariableAccessExpression?(expression: ir.TypeVariableAccessExpression): expressionTransformationResult.Type;
151
+ transformTypeMethodAccessExpression?(expression: ir.TypeMethodAccessExpression): expressionTransformationResult.Type;
152
+ transformTextTemplateLiteral?(expression: ir.TextTemplateLiteral): expressionTransformationResult.Type;
153
+ transformTransactionalExpression?(expression: ir.TransactionalExpression): expressionTransformationResult.Type;
154
+ transformCharLiteral?(expression: ir.CharLiteral): expressionTransformationResult.Type;
155
+ transformTextLiteral?(expression: ir.TextLiteral): expressionTransformationResult.Type;
156
+ transformBooleanLiteral?(expression: ir.BooleanLiteral): expressionTransformationResult.Type;
157
+ transformIntegerLiteral?(expression: ir.IntegerLiteral): expressionTransformationResult.Type;
158
+ transformNumericLiteral?(expression: ir.NumericLiteral): expressionTransformationResult.Type;
159
+ transformMeasureLiteral?(expression: ir.MeasureLiteral): expressionTransformationResult.Type;
160
+ transformNoneLiteral?(expression: ir.NoneLiteral): expressionTransformationResult.Type;
161
+ transformThisExpression?(expression: ir.ThisExpression): expressionTransformationResult.Type;
162
+ transformBaseExpression?(expression: ir.BaseExpression): expressionTransformationResult.Type;
163
+ transformHelperMethodCallExpression?(expression: ir.HelperMethodCallExpression): expressionTransformationResult.Type;
164
+ transformConstructorCallExpression?(expression: ir.ConstructorCallExpression): expressionTransformationResult.Type;
165
+ transformInlineJsExpression?(expression: ir.InlineJsExpression): expressionTransformationResult.Type;
166
+ transformAssignmentExpression?(expression: ir.AssignmentExpression): expressionTransformationResult.Type;
167
+ transformCommaExpression?(expression: ir.CommaExpression): expressionTransformationResult.Type;
168
+ transformOwnConstructorCallExpression?(expression: ir.OwnConstructorCallExpression): expressionTransformationResult.Type;
169
+ transformBaseConstructorCallExpression?(expression: ir.BaseConstructorCallExpression): expressionTransformationResult.Type;
170
+ transformJsIndexedAccessExpression?(expression: ir.JsIndexedAccessExpression): expressionTransformationResult.Type;
171
+ transformJsObjectLiteral?(expression: ir.JsObjectLiteral): expressionTransformationResult.Type;
172
+ transformJsPropertyAccessExpression?(expression: ir.JsPropertyAccessExpression): expressionTransformationResult.Type;
173
+ transformJsFunctionLiteral?(expression: ir.JsFunctionLiteral): expressionTransformationResult.Type;
174
+ transformImplicitConversionExpression?(expression: ir.ImplicitConversionExpression): expressionTransformationResult.Type;
175
+ transformJsTypeOfExpression?(expression: ir.JsTypeOfExpression): expressionTransformationResult.Type;
176
+ transformJsInstanceOfExpression?(expression: ir.JsInstanceOfExpression): expressionTransformationResult.Type;
177
+ transformJsIdentifierExpression?(expression: ir.JsIdentifierExpression): expressionTransformationResult.Type;
178
+ transformDereferenceExpression?(expression: ir.DereferenceExpression): expressionTransformationResult.Type;
179
+ transformBlockStatement?(statement: ir.BlockStatement): blockStatementTransformationResult.Type;
180
+ transformBreakLoopStatement?(statement: ir.BreakLoopStatement): statementTransformationResult.Type;
181
+ transformContinueLoopStatement?(statement: ir.ContinueLoopStatement): statementTransformationResult.Type;
182
+ transformDisposeStatement?(statement: ir.DisposeStatement): statementTransformationResult.Type;
183
+ transformRunStatement?(statement: ir.RunStatement): statementTransformationResult.Type;
184
+ transformEmptyStatement?(statement: ir.EmptyStatement): statementTransformationResult.Type;
185
+ transformErrorStatement?(statement: ir.ErrorStatement): statementTransformationResult.Type;
186
+ transformExpressionStatement?(statement: ir.ExpressionStatement): statementTransformationResult.Type;
187
+ transformForStatement?(statement: ir.ForStatement): statementTransformationResult.Type;
188
+ transformIfStatement?(statement: ir.IfStatement): statementTransformationResult.Type;
189
+ transformNestedMethodDeclarationStatement?(statement: ir.NestedMethodDeclarationStatement): statementTransformationResult.Type;
190
+ transformLocalVariableDeclarationStatement?(statement: ir.LocalVariableDeclarationStatement): statementTransformationResult.Type;
191
+ transformUnobservableStatement?(statement: ir.UnobservableStatement): statementTransformationResult.Type;
192
+ transformLoopStatement?(statement: ir.LoopStatement): statementTransformationResult.Type;
193
+ transformReturnStatement?(statement: ir.ReturnStatement): statementTransformationResult.Type;
194
+ transformSwitchStatement?(statement: ir.SwitchStatement): statementTransformationResult.Type;
195
+ transformTransactionalStatement?(statement: ir.TransactionalStatement): statementTransformationResult.Type;
196
+ transformWhileStatement?(statement: ir.WhileStatement): statementTransformationResult.Type;
197
+ transformYieldStatement?(statement: ir.YieldStatement): statementTransformationResult.Type;
198
+ transformAssignmentStatement?(statement: ir.AssignmentStatement): statementTransformationResult.Type;
199
+ transformTryCatchFinallyStatement?(statement: ir.TryCatchFinallyStatement): statementTransformationResult.Type;
200
+ transformEsModuleImportDirectiveStatement?(statement: ir.EsModuleImportDirectiveStatement): statementTransformationResult.Type;
201
+ transformCjsModuleImportDirectiveStatement?(statement: ir.CjsModuleImportDirectiveStatement): statementTransformationResult.Type;
202
+ transformJsNamespaceDestructuringStatement?(statement: ir.JsNamespaceDestructuringStatement): statementTransformationResult.Type;
203
+ transformPackageConstructorDeclaration?(declaration: ir.PackageConstructorDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
204
+ transformPackageEntryPointDeclaration?(declaration: ir.PackageEntryPointDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
205
+ transformPackageMethodDeclaration?(declaration: ir.PackageMethodDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
206
+ transformPackageTypeDeclaration?(declaration: ir.PackageTypeDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
207
+ transformPackageVariableDeclaration?(declaration: ir.PackageVariableDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
208
+ transformPackageVariableGetterDeclaration?(declaration: ir.PackageVariableGetterDeclaration): simpleTransformationResult.Type<ir.PackageVariableGetterDeclaration>;
209
+ transformPackageVariableSetterDeclaration?(declaration: ir.PackageVariableSetterDeclaration): simpleTransformationResult.Type<ir.PackageVariableSetterDeclaration>;
210
+ transformPackageVariantTypeDeclaration?(declaration: ir.PackageVariantTypeDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
211
+ transformTypeExtensionDeclaration?(declaration: ir.TypeExtensionDeclaration): packageMemberDeclarationTransformationResult.PackageMemberDeclarationTransformationResult;
212
+ transformTypeVariableDeclaration?(declaration: ir.TypeVariableDeclaration): typeMemberDeclarationTransformationResult.Type;
213
+ transformTypeMethodDeclaration?(declaration: ir.TypeMethodDeclaration): typeMemberDeclarationTransformationResult.Type;
214
+ transformTypeConstructorDeclaration?(declaration: ir.TypeConstructorDeclaration): typeMemberDeclarationTransformationResult.Type;
215
+ transformTypeDestructorDeclaration?(declaration: ir.TypeDestructorDeclaration): typeMemberDeclarationTransformationResult.Type;
216
+ transformTypeIndexerDeclaration?(declaration: ir.TypeIndexerDeclaration): typeMemberDeclarationTransformationResult.Type;
217
+ transformTypeDereferenceOperatorDeclaration?(declaration: ir.TypeDereferenceOperatorDeclaration): typeMemberDeclarationTransformationResult.Type;
218
+ transformPropertyDeclaration?(declaration: ir.PropertyDeclaration): typeMemberDeclarationTransformationResult.Type;
219
+ transformNestedMethodDeclaration?(declaration: ir.NestedMethodDeclaration): simpleTransformationResult.Type<ir.NestedMethodDeclaration>;
220
+ transformLocalVariableDeclaration?(declaration: ir.LocalVariableDeclaration): simpleTransformationResult.Type<ir.LocalVariableDeclaration>;
221
+ transformValueParameterDeclaration?(declaration: ir.ValueParameterDeclaration): simpleTransformationResult.Type<ir.ValueParameterDeclaration>;
222
+ transformCaseClause?(declaration: ir.CaseClause): simpleTransformationResult.Type<ir.CaseClause>;
223
+ transformTypeIndexedGetterDeclaration?(declaration: ir.TypeIndexedGetterDeclaration): simpleTransformationResult.Type<ir.TypeIndexedGetterDeclaration>;
224
+ transformTypeIndexedSetterDeclaration?(declaration: ir.TypeIndexedSetterDeclaration): simpleTransformationResult.Type<ir.TypeIndexedSetterDeclaration>;
225
+ transformTypeDereferencedVariableGetterDeclaration?(declaration: ir.TypeDereferencedVariableGetterDeclaration): simpleTransformationResult.Type<ir.TypeDereferencedVariableGetterDeclaration>;
226
+ transformTypeDereferencedVariableSetterDeclaration?(declaration: ir.TypeDereferencedVariableSetterDeclaration): simpleTransformationResult.Type<ir.TypeDereferencedVariableSetterDeclaration>;
227
+ transformTypeVariableGetterDeclaration?(declaration: ir.TypeVariableGetterDeclaration): simpleTransformationResult.Type<ir.TypeVariableGetterDeclaration>;
228
+ transformTypeVariableSetterDeclaration?(declaration: ir.TypeVariableSetterDeclaration): simpleTransformationResult.Type<ir.TypeVariableSetterDeclaration>;
229
+ transformVariantDeclaration?(declaration: ir.VariantDeclaration): simpleTransformationResult.Type<ir.VariantDeclaration>;
230
+ transformCallArguments?(declaration: ir.CallArguments): simpleTransformationResult.Type<ir.CallArguments>;
231
+ transformOnErrorClause?(clause: ir.OnErrorClause): simpleTransformationResult.Type<ir.OnErrorClause>;
232
+ transformFinallyClause?(clause: ir.FinallyClause): simpleTransformationResult.Type<ir.FinallyClause>;
233
+ transformJsObjectLiteralProperty?(clause: ir.JsObjectLiteralProperty): simpleTransformationResult.Type<ir.JsObjectLiteralProperty>;
234
+ }
235
+ export type TransformingContainer = TransformingContainer_typeMethod | TransformingContainer_typeConstructor | TransformingContainer_typeIndexedGetter | TransformingContainer_typeIndexedSetter | TransformingContainer_typeDereferencedVariableGetter | TransformingContainer_typeDereferencedVariableSetter | TransformingContainer_typeVariableGetter | TransformingContainer_typeVariableSetter;
236
+ export declare class TransformingContainer_typeMethod {
237
+ readonly declaration: ir.TypeMethodDeclaration;
238
+ readonly kind = "type-method";
239
+ constructor(declaration: ir.TypeMethodDeclaration);
240
+ }
241
+ export declare class TransformingContainer_typeConstructor {
242
+ readonly declaration: ir.TypeConstructorDeclaration;
243
+ readonly kind = "type-constructor";
244
+ constructor(declaration: ir.TypeConstructorDeclaration);
245
+ }
246
+ export declare class TransformingContainer_typeIndexedGetter {
247
+ readonly declaration: ir.TypeIndexedGetterDeclaration;
248
+ readonly indexer: IndexerEntity;
249
+ readonly kind = "type-indexed-getter";
250
+ constructor(declaration: ir.TypeIndexedGetterDeclaration, indexer: IndexerEntity);
251
+ }
252
+ export declare class TransformingContainer_typeIndexedSetter {
253
+ readonly declaration: ir.TypeIndexedSetterDeclaration;
254
+ readonly indexer: IndexerEntity;
255
+ readonly kind = "type-indexed-setter";
256
+ constructor(declaration: ir.TypeIndexedSetterDeclaration, indexer: IndexerEntity);
257
+ }
258
+ export declare class TransformingContainer_typeDereferencedVariableGetter {
259
+ readonly declaration: ir.TypeDereferencedVariableGetterDeclaration;
260
+ readonly operator: DereferenceOperatorEntity;
261
+ readonly kind = "type-dereferenced-variable-getter";
262
+ constructor(declaration: ir.TypeDereferencedVariableGetterDeclaration, operator: DereferenceOperatorEntity);
263
+ }
264
+ export declare class TransformingContainer_typeDereferencedVariableSetter {
265
+ readonly declaration: ir.TypeDereferencedVariableSetterDeclaration;
266
+ readonly operator: DereferenceOperatorEntity;
267
+ readonly kind = "type-dereferenced-variable-setter";
268
+ constructor(declaration: ir.TypeDereferencedVariableSetterDeclaration, operator: DereferenceOperatorEntity);
269
+ }
270
+ export declare class TransformingContainer_typeVariableGetter {
271
+ readonly declaration: ir.TypeVariableGetterDeclaration;
272
+ readonly variable: VariableEntity;
273
+ readonly kind = "type-variable-getter";
274
+ constructor(declaration: ir.TypeVariableGetterDeclaration, variable: VariableEntity);
275
+ }
276
+ export declare class TransformingContainer_typeVariableSetter {
277
+ readonly declaration: ir.TypeVariableSetterDeclaration;
278
+ readonly variable: VariableEntity;
279
+ readonly kind = "type-variable-setter";
280
+ constructor(declaration: ir.TypeVariableSetterDeclaration, variable: VariableEntity);
281
+ }
282
+ export {};
@@ -0,0 +1,12 @@
1
+ import { expressionTransformationResult } from './Internal.js';
2
+ import { TransformationContinuationAction } from './TransformationContinuationAction.js';
3
+ import { TypeAccessExpression } from './ir/index.js';
4
+ export type TypeAccessExpressionTransformationResult = {
5
+ kind: expressionTransformationResult.Kind.Preserve;
6
+ action: TransformationContinuationAction;
7
+ } | {
8
+ kind: expressionTransformationResult.Kind.Replace;
9
+ expression: TypeAccessExpression;
10
+ };
11
+ export declare function preserve(action?: TransformationContinuationAction): TypeAccessExpressionTransformationResult;
12
+ export declare function replace(expression: TypeAccessExpression): TypeAccessExpressionTransformationResult;
@@ -0,0 +1,10 @@
1
+ import { DebugStack } from './DebugStack.js';
2
+ import { Node } from './ir/index.js';
3
+ export declare function errorBoundary<T>(fn: () => T): T | undefined;
4
+ export declare class EmitterError extends Error {
5
+ message: string;
6
+ node?: Node | undefined;
7
+ debugStack?: DebugStack | undefined;
8
+ originalError?: Error | undefined;
9
+ constructor(message: string, node?: Node | undefined, debugStack?: DebugStack | undefined, originalError?: Error | undefined);
10
+ }
@@ -0,0 +1 @@
1
+ export * from './Emitter.js';
@@ -0,0 +1,19 @@
1
+ import { IndexerEntity, MethodEntity, VariableEntity } from '../../entities/index.js';
2
+ import * as types from '../../types/index.js';
3
+ export declare class AccessedVariable {
4
+ readonly entity: VariableEntity;
5
+ readonly type: types.Type;
6
+ constructor(entity: VariableEntity, type: types.Type);
7
+ static fromEntity(entity: VariableEntity): AccessedVariable;
8
+ }
9
+ export declare class AccessedMethod {
10
+ readonly entity: MethodEntity;
11
+ readonly returnType: types.Type;
12
+ constructor(entity: MethodEntity, returnType: types.Type);
13
+ static fromEntity(entity: MethodEntity): AccessedMethod;
14
+ }
15
+ export declare class AccessedIndexer {
16
+ readonly entity: IndexerEntity;
17
+ readonly type: types.Type;
18
+ constructor(entity: IndexerEntity, type: types.Type);
19
+ }
@@ -0,0 +1,34 @@
1
+ export declare class AssignmentLoweringOptions {
2
+ readonly incrementReferenceCountIfRequired: boolean;
3
+ readonly performCopyIfRequired: boolean;
4
+ readonly decrementReferenceCountIfRequired: boolean;
5
+ constructor(incrementReferenceCountIfRequired: boolean, performCopyIfRequired: boolean, decrementReferenceCountIfRequired: boolean);
6
+ setIncrementReferenceCountIfRequired(value: boolean): AssignmentLoweringOptions;
7
+ setPerformCopyIfRequired(value: boolean): AssignmentLoweringOptions;
8
+ setDecrementReferenceCountIfRequired(value: boolean): AssignmentLoweringOptions;
9
+ }
10
+ export declare class DeclarationWithInitializerLoweringOptions {
11
+ readonly incrementReferenceCountIfRequired: boolean;
12
+ constructor(incrementReferenceCountIfRequired: boolean);
13
+ setIncrementReferenceCountIfRequired(value: boolean): DeclarationWithInitializerLoweringOptions;
14
+ }
15
+ export declare class CallExpressionLoweringOptions {
16
+ readonly lowerModifyingMethodCallIfRequired: boolean;
17
+ constructor(lowerModifyingMethodCallIfRequired: boolean);
18
+ setLowerModifyingMethodCallIfRequired(value: boolean): CallExpressionLoweringOptions;
19
+ }
20
+ export declare class ConstructorCallExpressionLoweringOptions {
21
+ readonly lowerPlainObjectConstructionIfRequired: boolean;
22
+ constructor(lowerPlainObjectConstructionIfRequired: boolean);
23
+ setLowerPlainObjectConstructionIfRequired(value: boolean): ConstructorCallExpressionLoweringOptions;
24
+ }
25
+ export declare class MethodAccessLoweringOptions {
26
+ readonly bindIfNotCallee: boolean;
27
+ constructor(bindIfNotCallee: boolean);
28
+ setBindIfNotCallee(value: boolean): MethodAccessLoweringOptions;
29
+ }
30
+ export declare class TextTemplateLiteralLoweringOptions {
31
+ readonly createTextTemplateInstance: boolean;
32
+ constructor(createTextTemplateInstance: boolean);
33
+ setCreateTextTemplateInstance(value: boolean): TextTemplateLiteralLoweringOptions;
34
+ }