@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,1585 @@
1
+ import * as indexerAccess from '../../analysis/IndexerAccess.js';
2
+ import * as variableAccess from '../../analysis/VariableAccess.js';
3
+ import { Name } from '../../common/Name.js';
4
+ import { ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, GetterEntity, IndexerEntity, MethodEntity, PackageEntity, PackageVariableEntity, SetterEntity, TypeEntity, TypeEntityWithMembers, TypeExtensionEntity, TypeMethodEntity, TypeVariableEntity, VariableEntity, VariantEntity, VariantTypeEntity } from '../../entities/index.js';
5
+ import * as types from '../../types/index.js';
6
+ import { AccessedIndexer, AccessedMethod, AccessedVariable } from './AccessedEntities.js';
7
+ import { AssignmentLoweringOptions, CallExpressionLoweringOptions, ConstructorCallExpressionLoweringOptions, DeclarationWithInitializerLoweringOptions, MethodAccessLoweringOptions, TextTemplateLiteralLoweringOptions } from './LoweringOptions.js';
8
+ import { SourceLocation } from './SourceLocation.js';
9
+ import { BlockStatementClause, Expression, LValueExpression, PackageMemberDeclaration, Statement, TypeMemberDeclaration } from './types.js';
10
+ export declare class ArrayLiteral {
11
+ private _elements;
12
+ private _type;
13
+ private _sourceLocation;
14
+ readonly kind = NodeKind.ArrayLiteral;
15
+ get elements(): readonly Expression[];
16
+ get type(): types.Type;
17
+ get sourceLocation(): SourceLocation | undefined;
18
+ constructor(_elements: readonly Expression[], _type: types.Type, _sourceLocation: SourceLocation | undefined);
19
+ update(elements: readonly Expression[], type: types.Type): void;
20
+ clone(): ArrayLiteral;
21
+ }
22
+ export declare class AsExpression {
23
+ private _expression;
24
+ private _type;
25
+ private _sourceLocation;
26
+ readonly kind = NodeKind.AsExpression;
27
+ get expression(): Expression;
28
+ get type(): types.Type;
29
+ get sourceLocation(): SourceLocation | undefined;
30
+ constructor(_expression: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
31
+ update(expression: Expression, type: types.Type): void;
32
+ clone(): AsExpression;
33
+ }
34
+ export declare class AssertionExpression {
35
+ private _expression;
36
+ private _sourceLocation;
37
+ readonly kind = NodeKind.AssertionExpression;
38
+ get expression(): Expression;
39
+ get sourceLocation(): SourceLocation | undefined;
40
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
41
+ update(expression: Expression): void;
42
+ clone(): AssertionExpression;
43
+ }
44
+ export declare class AssignmentExpression {
45
+ private _left;
46
+ private _operator;
47
+ private _right;
48
+ private _sourceLocation;
49
+ private _loweringOptions;
50
+ readonly kind = NodeKind.AssignmentExpression;
51
+ get left(): LValueExpression;
52
+ get operator(): AssignmentOperator;
53
+ get right(): Expression;
54
+ get loweringOptions(): AssignmentLoweringOptions;
55
+ get sourceLocation(): SourceLocation | undefined;
56
+ constructor(_left: LValueExpression, _operator: AssignmentOperator, _right: Expression, _sourceLocation: SourceLocation | undefined, _loweringOptions?: AssignmentLoweringOptions);
57
+ update(left: LValueExpression, operator: AssignmentOperator, right: Expression, loweringOptions: AssignmentLoweringOptions): void;
58
+ clone(): AssignmentExpression;
59
+ }
60
+ export declare class AssignmentStatement {
61
+ private _left;
62
+ private _operator;
63
+ private _right;
64
+ private _sourceLocation;
65
+ private _loweringOptions;
66
+ readonly kind = NodeKind.AssignmentStatement;
67
+ get left(): LValueExpression;
68
+ get operator(): AssignmentOperator;
69
+ get right(): Expression;
70
+ get loweringOptions(): AssignmentLoweringOptions;
71
+ get sourceLocation(): SourceLocation | undefined;
72
+ constructor(_left: LValueExpression, _operator: AssignmentOperator, _right: Expression, _sourceLocation: SourceLocation | undefined, _loweringOptions?: AssignmentLoweringOptions);
73
+ update(left: LValueExpression, operator: AssignmentOperator, right: Expression, loweringOptions: AssignmentLoweringOptions): void;
74
+ clone(): AssignmentStatement;
75
+ }
76
+ export declare const enum AssignmentOperator {
77
+ Equals = 0,
78
+ AddEquals = 1,
79
+ SubtractEquals = 2,
80
+ MultiplyEquals = 3,
81
+ DivideEquals = 4,
82
+ IntegerDivideEquals = 5
83
+ }
84
+ export declare class AssumptionExpression {
85
+ private _expression;
86
+ private _sourceLocation;
87
+ readonly kind = NodeKind.AssumptionExpression;
88
+ get expression(): Expression;
89
+ get sourceLocation(): SourceLocation | undefined;
90
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
91
+ update(expression: Expression): void;
92
+ clone(): AssumptionExpression;
93
+ }
94
+ export declare class BaseConstructorCallExpression {
95
+ private _entity;
96
+ private _containingTypeOfConstructor;
97
+ private _callArguments;
98
+ private _sourceLocation;
99
+ readonly kind = NodeKind.BaseConstructorCallExpression;
100
+ get entity(): ConstructorEntity;
101
+ get containingTypeOfConstructor(): TypeEntityWithMembers;
102
+ get callArguments(): CallArguments;
103
+ get isOverloadedConstructorCall(): boolean;
104
+ get sourceLocation(): SourceLocation | undefined;
105
+ constructor(_entity: ConstructorEntity, _containingTypeOfConstructor: TypeEntityWithMembers, _callArguments: CallArguments, _sourceLocation: SourceLocation | undefined);
106
+ update(entity: ConstructorEntity, callArguments: CallArguments): void;
107
+ clone(): BaseConstructorCallExpression;
108
+ }
109
+ export declare class BaseExpression {
110
+ private _sourceLocation;
111
+ readonly kind = NodeKind.BaseExpression;
112
+ get sourceLocation(): SourceLocation | undefined;
113
+ constructor(_sourceLocation: SourceLocation | undefined);
114
+ clone(): BaseExpression;
115
+ }
116
+ export declare class BinaryExpression {
117
+ private _left;
118
+ private _operator;
119
+ private _right;
120
+ private _type;
121
+ private _sourceLocation;
122
+ readonly kind = NodeKind.BinaryExpression;
123
+ get left(): Expression;
124
+ get operator(): BinaryExpressionOperator;
125
+ get right(): Expression;
126
+ get type(): types.Type;
127
+ get sourceLocation(): SourceLocation | undefined;
128
+ constructor(_left: Expression, _operator: BinaryExpressionOperator, _right: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
129
+ update(left: Expression, operator: BinaryExpressionOperator, right: Expression, type: types.Type): void;
130
+ clone(): BinaryExpression;
131
+ }
132
+ export declare class BlockStatement {
133
+ private _statements;
134
+ private _clauses;
135
+ private _sourceLocation;
136
+ readonly kind = NodeKind.BlockStatement;
137
+ get statements(): readonly Statement[];
138
+ get clauses(): readonly BlockStatementClause[];
139
+ get sourceLocation(): SourceLocation | undefined;
140
+ constructor(_statements: readonly Statement[], _clauses: readonly BlockStatementClause[], _sourceLocation: SourceLocation | undefined);
141
+ update(statements: readonly Statement[], clauses: readonly BlockStatementClause[]): void;
142
+ clone(): BlockStatement;
143
+ }
144
+ export declare class BooleanLiteral {
145
+ private _value;
146
+ private _sourceLocation;
147
+ readonly kind = NodeKind.BooleanLiteral;
148
+ get value(): boolean;
149
+ get sourceLocation(): SourceLocation | undefined;
150
+ constructor(_value: boolean, _sourceLocation: SourceLocation | undefined);
151
+ update(value: boolean): void;
152
+ clone(): BooleanLiteral;
153
+ }
154
+ export declare class BreakLoopStatement {
155
+ private _label;
156
+ private _sourceLocation;
157
+ readonly kind = NodeKind.BreakLoopStatement;
158
+ get label(): string;
159
+ get sourceLocation(): SourceLocation | undefined;
160
+ constructor(_label: string, _sourceLocation: SourceLocation | undefined);
161
+ clone(): BreakLoopStatement;
162
+ }
163
+ export declare class CallArgument {
164
+ private _expression;
165
+ readonly targetParameter: TargetParameter;
166
+ readonly kind = NodeKind.CallArgument;
167
+ get expression(): Expression;
168
+ constructor(_expression: Expression, targetParameter: TargetParameter);
169
+ update(expression: Expression): void;
170
+ clone(): CallArgument;
171
+ }
172
+ export declare class TargetParameter {
173
+ readonly entity: VariableEntity;
174
+ readonly type: types.Type;
175
+ constructor(entity: VariableEntity, type: types.Type);
176
+ }
177
+ export type CallArguments = UnorderedCallArguments | OrderedCallArguments;
178
+ export declare class UnorderedCallArguments {
179
+ readonly values: readonly CallArgument[];
180
+ readonly targetParameters: readonly VariableEntity[];
181
+ readonly kind = "unordered";
182
+ constructor(values: readonly CallArgument[], targetParameters: readonly VariableEntity[]);
183
+ clone(): UnorderedCallArguments;
184
+ }
185
+ export declare class OrderedCallArguments {
186
+ private _values;
187
+ private _isLastArgumentSpreading;
188
+ readonly kind = "ordered";
189
+ get values(): readonly Expression[];
190
+ get isLastArgumentSpreading(): boolean;
191
+ constructor(_values: readonly Expression[], _isLastArgumentSpreading: boolean);
192
+ update(values: readonly Expression[], isLastArgumentSpreading: boolean): void;
193
+ clone(): OrderedCallArguments;
194
+ }
195
+ export declare class CallExpression {
196
+ private _expression;
197
+ private _isOptionalChaining;
198
+ private _callArguments;
199
+ private _isAsyncMethodCall;
200
+ private _returnType;
201
+ private _sourceLocation;
202
+ private _loweringOptions;
203
+ readonly kind = NodeKind.CallExpression;
204
+ get expression(): Expression;
205
+ get isOptionalChaining(): boolean;
206
+ get callArguments(): CallArguments;
207
+ get isAsyncMethodCall(): boolean;
208
+ get returnType(): types.Type;
209
+ get loweringOptions(): CallExpressionLoweringOptions;
210
+ get sourceLocation(): SourceLocation | undefined;
211
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _callArguments: CallArguments, _isAsyncMethodCall: boolean, _returnType: types.Type, _sourceLocation: SourceLocation | undefined, _loweringOptions?: CallExpressionLoweringOptions);
212
+ update(expression: Expression, isOptionalChaining: boolean, callArguments: CallArguments, isAsyncMethodCall: boolean, returnType: types.Type, loweringOptions: CallExpressionLoweringOptions): void;
213
+ clone(): CallExpression;
214
+ }
215
+ export declare class CharLiteral {
216
+ private _value;
217
+ private _sourceLocation;
218
+ readonly kind = NodeKind.CharLiteral;
219
+ get value(): string;
220
+ get sourceLocation(): SourceLocation | undefined;
221
+ constructor(_value: string, _sourceLocation: SourceLocation | undefined);
222
+ update(value: string): void;
223
+ clone(): CharLiteral;
224
+ }
225
+ export declare class CommaExpression {
226
+ private _expressions;
227
+ private _sourceLocation;
228
+ readonly kind = NodeKind.CommaExpression;
229
+ get expressions(): readonly Expression[];
230
+ get sourceLocation(): SourceLocation | undefined;
231
+ constructor(_expressions: readonly Expression[], _sourceLocation: SourceLocation | undefined);
232
+ update(expressions: readonly Expression[]): void;
233
+ clone(): CommaExpression;
234
+ }
235
+ export declare class ConstructorCallExpression {
236
+ private _entity;
237
+ private _containingTypeOfConstructor;
238
+ private _typeAccess;
239
+ private _callArguments;
240
+ private _isOverloadedConstructorCall;
241
+ private _returnType;
242
+ private _sourceLocation;
243
+ private _loweringOptions;
244
+ readonly kind = NodeKind.ConstructorCallExpression;
245
+ get entity(): ConstructorEntity;
246
+ get containingTypeOfConstructor(): TypeEntityWithMembers;
247
+ get typeAccess(): TypeAccessExpression;
248
+ get callArguments(): CallArguments;
249
+ get isOverloadedConstructorCall(): boolean;
250
+ get returnType(): types.Type;
251
+ get loweringOptions(): ConstructorCallExpressionLoweringOptions;
252
+ get sourceLocation(): SourceLocation | undefined;
253
+ constructor(_entity: ConstructorEntity, _containingTypeOfConstructor: TypeEntityWithMembers, _typeAccess: TypeAccessExpression, _callArguments: CallArguments, _isOverloadedConstructorCall: boolean, _returnType: types.Type, _sourceLocation: SourceLocation | undefined, _loweringOptions?: ConstructorCallExpressionLoweringOptions);
254
+ update(entity: ConstructorEntity, containingTypeOfConstructor: TypeEntityWithMembers, typeAccess: TypeAccessExpression, callArguments: CallArguments, isOverloadedConstructorCall: boolean): void;
255
+ clone(): ConstructorCallExpression;
256
+ }
257
+ export declare class ContinueLoopStatement {
258
+ private _label;
259
+ private _sourceLocation;
260
+ readonly kind = NodeKind.ContinueLoopStatement;
261
+ get label(): string;
262
+ get sourceLocation(): SourceLocation | undefined;
263
+ constructor(_label: string, _sourceLocation: SourceLocation | undefined);
264
+ clone(): ContinueLoopStatement;
265
+ }
266
+ export declare class DereferenceExpression {
267
+ private _expression;
268
+ private _isOptionalChaining;
269
+ private _entity;
270
+ private _type;
271
+ private _sourceLocation;
272
+ readonly kind = NodeKind.DereferenceExpression;
273
+ get expression(): Expression;
274
+ get isOptionalChaining(): boolean;
275
+ get entity(): DereferenceOperatorEntity;
276
+ get type(): types.Type;
277
+ get sourceLocation(): SourceLocation | undefined;
278
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _entity: DereferenceOperatorEntity, _type: types.Type, _sourceLocation: SourceLocation | undefined);
279
+ update(expression: Expression): void;
280
+ clone(): DereferenceExpression;
281
+ }
282
+ export declare class DisposeStatement {
283
+ private _expression;
284
+ private _destructorEntity;
285
+ private _sourceLocation;
286
+ readonly kind = NodeKind.DisposeStatement;
287
+ get expression(): Expression;
288
+ get destructorEntity(): DestructorEntity;
289
+ get sourceLocation(): SourceLocation | undefined;
290
+ constructor(_expression: Expression, _destructorEntity: DestructorEntity, _sourceLocation: SourceLocation | undefined);
291
+ update(expression: Expression, destructorEntity: DestructorEntity): void;
292
+ clone(): DisposeStatement;
293
+ }
294
+ export declare class EmptyStatement {
295
+ private _sourceLocation;
296
+ readonly kind = NodeKind.EmptyStatement;
297
+ get sourceLocation(): SourceLocation | undefined;
298
+ constructor(_sourceLocation: SourceLocation | undefined);
299
+ clone(): EmptyStatement;
300
+ }
301
+ export declare class ErrorStatement {
302
+ private _expression;
303
+ private _sourceLocation;
304
+ readonly kind = NodeKind.ErrorStatement;
305
+ get expression(): Expression | undefined;
306
+ get sourceLocation(): SourceLocation | undefined;
307
+ constructor(_expression: Expression | undefined, _sourceLocation: SourceLocation | undefined);
308
+ update(expression: Expression | undefined): void;
309
+ clone(): ErrorStatement;
310
+ }
311
+ export declare class ExpressionStatement {
312
+ private _expression;
313
+ private _sourceLocation;
314
+ readonly kind = NodeKind.ExpressionStatement;
315
+ get expression(): Expression;
316
+ get sourceLocation(): SourceLocation | undefined;
317
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
318
+ update(expression: Expression): void;
319
+ clone(): ExpressionStatement;
320
+ }
321
+ export declare class FinallyClause {
322
+ private _body;
323
+ private _sourceLocation;
324
+ readonly kind = NodeKind.FinallyClause;
325
+ get body(): BlockStatement;
326
+ get sourceLocation(): SourceLocation | undefined;
327
+ constructor(_body: BlockStatement, _sourceLocation: SourceLocation | undefined);
328
+ update(body: BlockStatement): void;
329
+ clone(): FinallyClause;
330
+ }
331
+ export declare class ForStatement {
332
+ private _label;
333
+ private _enumerationVariableEntity;
334
+ private _indexVariableEntity;
335
+ private _enumeratedExpression;
336
+ private _body;
337
+ private _sourceLocation;
338
+ readonly kind = NodeKind.ForStatement;
339
+ get label(): string | undefined;
340
+ get enumerationVariableEntity(): VariableEntity;
341
+ get indexVariableEntity(): VariableEntity | undefined;
342
+ get enumeratedExpression(): Expression;
343
+ get body(): BlockStatement;
344
+ get sourceLocation(): SourceLocation | undefined;
345
+ constructor(_label: string | undefined, _enumerationVariableEntity: VariableEntity, _indexVariableEntity: VariableEntity | undefined, _enumeratedExpression: Expression, _body: BlockStatement, _sourceLocation: SourceLocation | undefined);
346
+ update(enumerationVariableEntity: VariableEntity, indexVariableEntity: VariableEntity | undefined, enumeratedExpression: Expression, body: BlockStatement): void;
347
+ clone(): ForStatement;
348
+ }
349
+ export declare class HelperMethodCallExpression {
350
+ private _methodName;
351
+ private _callArguments;
352
+ private _isAsyncMethodCall;
353
+ private _returnType;
354
+ private _sourceLocation;
355
+ readonly kind = NodeKind.HelperMethodCallExpression;
356
+ get methodName(): string;
357
+ get callArguments(): readonly Expression[];
358
+ get isAsyncMethodCall(): boolean;
359
+ get returnType(): types.Type;
360
+ get sourceLocation(): SourceLocation | undefined;
361
+ constructor(_methodName: string, _callArguments: readonly Expression[], _isAsyncMethodCall: boolean, _returnType: types.Type, _sourceLocation: SourceLocation | undefined);
362
+ update(callArguments: readonly Expression[]): void;
363
+ clone(): HelperMethodCallExpression;
364
+ }
365
+ export declare class IfStatement {
366
+ private _condition;
367
+ private _thenStatement;
368
+ private _elseStatement;
369
+ private _sourceLocation;
370
+ readonly kind = NodeKind.IfStatement;
371
+ get condition(): Expression;
372
+ get thenStatement(): BlockStatement;
373
+ get elseStatement(): BlockStatement | undefined;
374
+ get sourceLocation(): SourceLocation | undefined;
375
+ constructor(_condition: Expression, _thenStatement: BlockStatement, _elseStatement: BlockStatement | undefined, _sourceLocation: SourceLocation | undefined);
376
+ update(condition: Expression, thenStatement: BlockStatement, elseStatement: BlockStatement | undefined): void;
377
+ clone(): IfStatement;
378
+ }
379
+ export declare class ImplicitConversionExpression {
380
+ private _expression;
381
+ private _conversionKind;
382
+ private _sourceLocation;
383
+ readonly kind = NodeKind.ImplicitConversionExpression;
384
+ get expression(): Expression;
385
+ get conversionKind(): ImplicitConversionKind;
386
+ get sourceLocation(): SourceLocation | undefined;
387
+ constructor(_expression: Expression, _conversionKind: ImplicitConversionKind, _sourceLocation: SourceLocation | undefined);
388
+ update(expression: Expression, conversionKind: ImplicitConversionKind): void;
389
+ clone(): ImplicitConversionExpression;
390
+ }
391
+ export declare const enum ImplicitConversionKind {
392
+ TextTemplateToText = 0
393
+ }
394
+ export declare class ImplicitVariantAccessExpression {
395
+ private _entity;
396
+ private _sourceLocation;
397
+ readonly kind = NodeKind.ImplicitVariantAccessExpression;
398
+ get entity(): VariantEntity;
399
+ get sourceLocation(): SourceLocation | undefined;
400
+ constructor(_entity: VariantEntity, _sourceLocation: SourceLocation | undefined);
401
+ update(entity: VariantEntity): void;
402
+ clone(): ImplicitVariantAccessExpression;
403
+ }
404
+ export declare class IndexedAccessExpression {
405
+ private _expression;
406
+ private _isOptionalChaining;
407
+ private _arguments;
408
+ private _indexer;
409
+ private _access;
410
+ private _sourceLocation;
411
+ readonly kind = NodeKind.IndexedAccessExpression;
412
+ get expression(): Expression;
413
+ get isOptionalChaining(): boolean;
414
+ get arguments(): readonly Expression[];
415
+ get indexer(): AccessedIndexer;
416
+ get access(): indexerAccess.IndexerAccess;
417
+ get sourceLocation(): SourceLocation | undefined;
418
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _arguments: readonly Expression[], _indexer: AccessedIndexer, _access: indexerAccess.IndexerAccess, _sourceLocation: SourceLocation | undefined);
419
+ update(expression: Expression, isOptionalChaining: boolean, args: readonly Expression[], indexer: AccessedIndexer, access: indexerAccess.IndexerAccess): void;
420
+ clone(): IndexedAccessExpression;
421
+ }
422
+ export declare class InlineJsExpression {
423
+ private _code;
424
+ private _type;
425
+ private _sourceLocation;
426
+ readonly kind = NodeKind.InlineJsExpression;
427
+ get code(): string;
428
+ get type(): types.Type;
429
+ get sourceLocation(): SourceLocation | undefined;
430
+ constructor(_code: string, _type: types.Type, _sourceLocation: SourceLocation | undefined);
431
+ update(code: string): void;
432
+ clone(): InlineJsExpression;
433
+ }
434
+ export declare class IntegerLiteral {
435
+ private _value;
436
+ private _sourceLocation;
437
+ readonly kind = NodeKind.IntegerLiteral;
438
+ get value(): number;
439
+ get sourceLocation(): SourceLocation | undefined;
440
+ constructor(_value: number, _sourceLocation: SourceLocation | undefined);
441
+ update(value: number): void;
442
+ clone(): IntegerLiteral;
443
+ }
444
+ export declare class IsExpression {
445
+ private _expression;
446
+ private _type;
447
+ private _sourceLocation;
448
+ readonly kind = NodeKind.IsExpression;
449
+ get expression(): Expression;
450
+ get type(): types.Type;
451
+ get sourceLocation(): SourceLocation | undefined;
452
+ constructor(_expression: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
453
+ update(expression: Expression, type: types.Type): void;
454
+ clone(): IsExpression;
455
+ }
456
+ export declare class JsFunctionLiteral {
457
+ private _valueParameters;
458
+ private _body;
459
+ private _isAsync;
460
+ private _isGenerator;
461
+ private _sourceLocation;
462
+ readonly kind = NodeKind.JsFunctionLiteral;
463
+ get valueParameters(): readonly ValueParameterDeclaration[];
464
+ get body(): BlockStatement;
465
+ get isAsync(): boolean;
466
+ get isGenerator(): boolean;
467
+ get sourceLocation(): SourceLocation | undefined;
468
+ constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _isAsync: boolean, _isGenerator: boolean, _sourceLocation: SourceLocation | undefined);
469
+ update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean): void;
470
+ clone(): JsFunctionLiteral;
471
+ }
472
+ export declare class JsIdentifierExpression {
473
+ private _identifier;
474
+ private _sourceLocation;
475
+ readonly kind = NodeKind.JsIdentifierExpression;
476
+ get identifier(): string;
477
+ get sourceLocation(): SourceLocation | undefined;
478
+ constructor(_identifier: string, _sourceLocation: SourceLocation | undefined);
479
+ update(identifier: string): void;
480
+ clone(): JsIdentifierExpression;
481
+ }
482
+ export type JsModuleImportDirectiveStatement = EsModuleImportDirectiveStatement | CjsModuleImportDirectiveStatement;
483
+ export declare class EsModuleImportDirectiveStatement {
484
+ readonly defaultImport: string | undefined;
485
+ readonly importSpecifiers: readonly JsImportSpecifier[];
486
+ readonly path: string;
487
+ readonly kind = NodeKind.EsModuleImportDirectiveStatement;
488
+ get sourceLocation(): SourceLocation | undefined;
489
+ constructor(defaultImport: string | undefined, importSpecifiers: readonly JsImportSpecifier[], path: string);
490
+ clone(): EsModuleImportDirectiveStatement;
491
+ }
492
+ export declare class CjsModuleImportDirectiveStatement {
493
+ readonly defaultImport: string;
494
+ readonly importSpecifiers: readonly JsImportSpecifier[];
495
+ readonly path: string;
496
+ readonly kind = NodeKind.CjsModuleImportDirectiveStatement;
497
+ get sourceLocation(): SourceLocation | undefined;
498
+ constructor(defaultImport: string, importSpecifiers: readonly JsImportSpecifier[], path: string);
499
+ clone(): CjsModuleImportDirectiveStatement;
500
+ }
501
+ export declare class JsImportSpecifier {
502
+ readonly name: string;
503
+ readonly alias: string | undefined;
504
+ readonly kind = NodeKind.JsImportSpecifier;
505
+ get sourceLocation(): SourceLocation | undefined;
506
+ constructor(name: string, alias: string | undefined);
507
+ clone(): JsImportSpecifier;
508
+ }
509
+ export declare class JsIndexedAccessExpression {
510
+ private _expression;
511
+ private _isOptionalChaining;
512
+ private _argument;
513
+ private _type;
514
+ private _sourceLocation;
515
+ readonly kind = NodeKind.JsIndexedAccessExpression;
516
+ get expression(): Expression;
517
+ get isOptionalChaining(): boolean;
518
+ get argument(): Expression;
519
+ get type(): types.Type;
520
+ get sourceLocation(): SourceLocation | undefined;
521
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _argument: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
522
+ update(expression: Expression, isOptionalChaining: boolean, argument: Expression): void;
523
+ clone(): JsIndexedAccessExpression;
524
+ }
525
+ export declare class JsInstanceOfExpression {
526
+ private _expression;
527
+ private _type;
528
+ private _sourceLocation;
529
+ readonly kind = NodeKind.JsInstanceOfExpression;
530
+ get expression(): Expression;
531
+ get type(): TypeEntity;
532
+ get sourceLocation(): SourceLocation | undefined;
533
+ constructor(_expression: Expression, _type: TypeEntity, _sourceLocation: SourceLocation | undefined);
534
+ update(expression: Expression, type: TypeEntity): void;
535
+ clone(): JsInstanceOfExpression;
536
+ }
537
+ export declare class JsNamespaceDestructuringStatement {
538
+ readonly defaultImport: string | undefined;
539
+ readonly destructuredMembers: readonly JsImportSpecifier[];
540
+ readonly namespaceNameSegments: readonly string[];
541
+ readonly kind = NodeKind.JsNamespaceDestructuringStatement;
542
+ get sourceLocation(): SourceLocation | undefined;
543
+ constructor(defaultImport: string | undefined, destructuredMembers: readonly JsImportSpecifier[], namespaceNameSegments: readonly string[]);
544
+ clone(): JsNamespaceDestructuringStatement;
545
+ }
546
+ export declare class JsObjectLiteral {
547
+ private _properties;
548
+ private _sourceLocation;
549
+ readonly kind = NodeKind.JsObjectLiteral;
550
+ get properties(): readonly JsObjectLiteralProperty[];
551
+ get sourceLocation(): SourceLocation | undefined;
552
+ constructor(_properties: readonly JsObjectLiteralProperty[], _sourceLocation: SourceLocation | undefined);
553
+ update(properties: readonly JsObjectLiteralProperty[]): void;
554
+ clone(): JsObjectLiteral;
555
+ }
556
+ export declare class JsObjectLiteralProperty {
557
+ private _name;
558
+ private _value;
559
+ private _sourceLocation;
560
+ readonly kind = NodeKind.JsObjectLiteralProperty;
561
+ get name(): string;
562
+ get value(): Expression;
563
+ get sourceLocation(): SourceLocation | undefined;
564
+ constructor(_name: string, _value: Expression, _sourceLocation: SourceLocation | undefined);
565
+ update(name: string, value: Expression): void;
566
+ clone(): JsObjectLiteralProperty;
567
+ }
568
+ export declare class JsPropertyAccessExpression {
569
+ private _expression;
570
+ private _isOptionalChaining;
571
+ private _name;
572
+ private _type;
573
+ private _sourceLocation;
574
+ readonly kind = NodeKind.JsPropertyAccessExpression;
575
+ get expression(): Expression;
576
+ get isOptionalChaining(): boolean;
577
+ get name(): string;
578
+ get type(): types.Type;
579
+ get sourceLocation(): SourceLocation | undefined;
580
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _name: string, _type: types.Type, _sourceLocation: SourceLocation | undefined);
581
+ update(expression: Expression, isOptionalChaining: boolean, name: string, type: types.Type): void;
582
+ clone(): JsPropertyAccessExpression;
583
+ }
584
+ export declare class JsTypeOfExpression {
585
+ private _expression;
586
+ private _sourceLocation;
587
+ readonly kind = NodeKind.JsTypeOfExpression;
588
+ get expression(): Expression;
589
+ get sourceLocation(): SourceLocation | undefined;
590
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
591
+ update(expression: Expression): void;
592
+ clone(): JsTypeOfExpression;
593
+ }
594
+ export declare class LocalVariableDeclaration {
595
+ private _entity;
596
+ private _initializer;
597
+ private _sourceLocation;
598
+ private _loweringOptions;
599
+ readonly kind = NodeKind.LocalVariableDeclaration;
600
+ get entity(): VariableEntity;
601
+ get initializer(): Expression | undefined;
602
+ get loweringOptions(): DeclarationWithInitializerLoweringOptions;
603
+ get sourceLocation(): SourceLocation | undefined;
604
+ constructor(_entity: VariableEntity, _initializer: Expression | undefined, _sourceLocation: SourceLocation | undefined, _loweringOptions?: DeclarationWithInitializerLoweringOptions);
605
+ update(initializer: Expression | undefined, loweringOptions: DeclarationWithInitializerLoweringOptions): void;
606
+ clone(): LocalVariableDeclaration;
607
+ }
608
+ export declare class LocalVariableDeclarationStatement {
609
+ private _declaration;
610
+ private _sourceLocation;
611
+ readonly kind = NodeKind.LocalVariableDeclarationStatement;
612
+ get declaration(): LocalVariableDeclaration;
613
+ get sourceLocation(): SourceLocation | undefined;
614
+ constructor(_declaration: LocalVariableDeclaration, _sourceLocation: SourceLocation | undefined);
615
+ update(declaration: LocalVariableDeclaration): void;
616
+ clone(): LocalVariableDeclarationStatement;
617
+ }
618
+ export declare class LoopStatement {
619
+ private _label;
620
+ private _body;
621
+ private _condition;
622
+ private _sourceLocation;
623
+ readonly kind = NodeKind.LoopStatement;
624
+ get label(): string | undefined;
625
+ get body(): BlockStatement;
626
+ get condition(): Expression | undefined;
627
+ get sourceLocation(): SourceLocation | undefined;
628
+ constructor(_label: string | undefined, _body: BlockStatement, _condition: Expression | undefined, _sourceLocation: SourceLocation | undefined);
629
+ update(body: BlockStatement, condition: Expression | undefined): void;
630
+ clone(): LoopStatement;
631
+ }
632
+ export declare class MeasureLiteral {
633
+ private _sourceLocation;
634
+ readonly kind = NodeKind.MeasureLiteral;
635
+ get sourceLocation(): SourceLocation | undefined;
636
+ constructor(_sourceLocation: SourceLocation | undefined);
637
+ clone(): MeasureLiteral;
638
+ }
639
+ export declare class MethodAccessExpression {
640
+ private _method;
641
+ private _isCallee;
642
+ private _sourceLocation;
643
+ private _loweringOptions;
644
+ readonly kind = NodeKind.MethodAccessExpression;
645
+ get method(): AccessedMethod;
646
+ get isCallee(): boolean;
647
+ get loweringOptions(): MethodAccessLoweringOptions;
648
+ get sourceLocation(): SourceLocation | undefined;
649
+ constructor(_method: AccessedMethod, _isCallee: boolean, _sourceLocation: SourceLocation | undefined, _loweringOptions?: MethodAccessLoweringOptions);
650
+ update(method: AccessedMethod, loweringOptions: MethodAccessLoweringOptions): void;
651
+ clone(): MethodAccessExpression;
652
+ }
653
+ export declare class MethodLiteral {
654
+ private _valueParameters;
655
+ private _body;
656
+ private _isAsync;
657
+ private _returnType;
658
+ private _resultLocalVariableEntity;
659
+ private _sourceLocation;
660
+ readonly kind = NodeKind.MethodLiteral;
661
+ get valueParameters(): readonly ValueParameterDeclaration[];
662
+ get body(): BlockStatement;
663
+ get isAsync(): boolean;
664
+ get returnType(): types.Type;
665
+ get resultLocalVariableEntity(): VariableEntity | undefined;
666
+ get sourceLocation(): SourceLocation | undefined;
667
+ constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _isAsync: boolean, _returnType: types.Type, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
668
+ update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean): void;
669
+ clone(): MethodLiteral;
670
+ }
671
+ export declare class Modifiers {
672
+ private _flags;
673
+ constructor(_flags?: ModifierFlag);
674
+ makeExport(): void;
675
+ makeStatic(): void;
676
+ makeAsync(): void;
677
+ removeExport(): void;
678
+ removeStatic(): void;
679
+ removeAsync(): void;
680
+ isExport(): boolean;
681
+ isStatic(): boolean;
682
+ isAsync(): boolean;
683
+ }
684
+ export declare const enum ModifierFlag {
685
+ None = 0,
686
+ Export = 1,
687
+ Static = 2,
688
+ Async = 4
689
+ }
690
+ export declare class NestedMethodDeclaration {
691
+ private _valueParameters;
692
+ private _body;
693
+ private _entity;
694
+ private _isAsync;
695
+ private _resultLocalVariableEntity;
696
+ private _isGenerator;
697
+ private _sourceLocation;
698
+ readonly kind = NodeKind.NestedMethodDeclaration;
699
+ get valueParameters(): readonly ValueParameterDeclaration[];
700
+ get body(): BlockStatement;
701
+ get entity(): MethodEntity;
702
+ get isAsync(): boolean;
703
+ get resultLocalVariableEntity(): VariableEntity | undefined;
704
+ get isGenerator(): boolean;
705
+ get sourceLocation(): SourceLocation | undefined;
706
+ constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: MethodEntity, _isAsync: boolean, _resultLocalVariableEntity: VariableEntity | undefined, _isGenerator: boolean, _sourceLocation: SourceLocation | undefined);
707
+ update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, isAsync: boolean): void;
708
+ clone(): NestedMethodDeclaration;
709
+ }
710
+ export declare class NestedMethodDeclarationStatement {
711
+ private _declaration;
712
+ private _sourceLocation;
713
+ readonly kind = NodeKind.NestedMethodDeclarationStatement;
714
+ get declaration(): NestedMethodDeclaration;
715
+ get sourceLocation(): SourceLocation | undefined;
716
+ constructor(_declaration: NestedMethodDeclaration, _sourceLocation: SourceLocation | undefined);
717
+ update(declaration: NestedMethodDeclaration): void;
718
+ clone(): NestedMethodDeclarationStatement;
719
+ }
720
+ export declare class NoneLiteral {
721
+ private _sourceLocation;
722
+ readonly kind = NodeKind.NoneLiteral;
723
+ get sourceLocation(): SourceLocation | undefined;
724
+ constructor(_sourceLocation: SourceLocation | undefined);
725
+ clone(): NoneLiteral;
726
+ }
727
+ export declare class NotExpression {
728
+ private _expression;
729
+ private _sourceLocation;
730
+ readonly kind = NodeKind.NotExpression;
731
+ get expression(): Expression;
732
+ get sourceLocation(): SourceLocation | undefined;
733
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
734
+ update(expression: Expression): void;
735
+ clone(): NotExpression;
736
+ }
737
+ export declare class NumericLiteral {
738
+ private _value;
739
+ private _sourceLocation;
740
+ readonly kind = NodeKind.NumericLiteral;
741
+ get value(): number;
742
+ get sourceLocation(): SourceLocation | undefined;
743
+ constructor(_value: number, _sourceLocation: SourceLocation | undefined);
744
+ update(value: number): void;
745
+ clone(): NumericLiteral;
746
+ }
747
+ export declare class OnErrorClause {
748
+ private _errorVariableEntity;
749
+ private _body;
750
+ private _sourceLocation;
751
+ readonly kind = NodeKind.OnErrorClause;
752
+ get errorVariableEntity(): VariableEntity | undefined;
753
+ get body(): BlockStatement;
754
+ get sourceLocation(): SourceLocation | undefined;
755
+ constructor(_errorVariableEntity: VariableEntity | undefined, _body: BlockStatement, _sourceLocation: SourceLocation | undefined);
756
+ update(errorVariableEntity: VariableEntity | undefined, body: BlockStatement): void;
757
+ clone(): OnErrorClause;
758
+ }
759
+ export declare class OwnConstructorCallExpression {
760
+ private _entity;
761
+ private _containingTypeOfConstructor;
762
+ private _callArguments;
763
+ private _sourceLocation;
764
+ readonly kind = NodeKind.OwnConstructorCallExpression;
765
+ get entity(): ConstructorEntity;
766
+ get containingTypeOfConstructor(): TypeEntityWithMembers;
767
+ get callArguments(): CallArguments;
768
+ get isOverloadedConstructorCall(): boolean;
769
+ get sourceLocation(): SourceLocation | undefined;
770
+ constructor(_entity: ConstructorEntity, _containingTypeOfConstructor: TypeEntityWithMembers, _callArguments: CallArguments, _sourceLocation: SourceLocation | undefined);
771
+ update(entity: ConstructorEntity, callArguments: CallArguments): void;
772
+ clone(): OwnConstructorCallExpression;
773
+ }
774
+ export declare class PackageConstructorDeclaration {
775
+ private _body;
776
+ private _isAsync;
777
+ private _containingPackage;
778
+ private _sourceLocation;
779
+ readonly kind = NodeKind.PackageConstructorDeclaration;
780
+ get body(): BlockStatement;
781
+ get isAsync(): boolean;
782
+ get containingPackage(): PackageEntity;
783
+ get sourceLocation(): SourceLocation | undefined;
784
+ constructor(_body: BlockStatement, _isAsync: boolean, _containingPackage: PackageEntity, _sourceLocation: SourceLocation | undefined);
785
+ update(body: BlockStatement): void;
786
+ clone(): PackageConstructorDeclaration;
787
+ }
788
+ export declare class PackageEntryPointDeclaration {
789
+ private _body;
790
+ private _isAsync;
791
+ private _containingPackage;
792
+ private _sourceLocation;
793
+ readonly kind = NodeKind.PackageEntryPointDeclaration;
794
+ get body(): BlockStatement;
795
+ get isAsync(): boolean;
796
+ get containingPackage(): PackageEntity;
797
+ get sourceLocation(): SourceLocation | undefined;
798
+ constructor(_body: BlockStatement, _isAsync: boolean, _containingPackage: PackageEntity, _sourceLocation: SourceLocation | undefined);
799
+ update(body: BlockStatement): void;
800
+ clone(): PackageEntryPointDeclaration;
801
+ }
802
+ export declare class PackageMethodDeclaration {
803
+ private _modifiers;
804
+ private _valueParameters;
805
+ private _body;
806
+ private _entity;
807
+ private _resultLocalVariableEntity;
808
+ private _paramLocalVariableEntity;
809
+ private _isGenerator;
810
+ private _sourceLocation;
811
+ readonly kind = NodeKind.PackageMethodDeclaration;
812
+ get modifiers(): Modifiers;
813
+ get valueParameters(): readonly ValueParameterDeclaration[];
814
+ get body(): BlockStatement;
815
+ get entity(): MethodEntity;
816
+ get resultLocalVariableEntity(): VariableEntity | undefined;
817
+ get paramLocalVariableEntity(): VariableEntity | undefined;
818
+ get isGenerator(): boolean;
819
+ get sourceLocation(): SourceLocation | undefined;
820
+ constructor(_modifiers: Modifiers, _valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: MethodEntity, _resultLocalVariableEntity: VariableEntity | undefined, _paramLocalVariableEntity: VariableEntity | undefined, _isGenerator: boolean, _sourceLocation: SourceLocation | undefined);
821
+ update(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: MethodEntity, resultLocalVariableEntity: VariableEntity | undefined, paramLocalVariableEntity: VariableEntity | undefined): void;
822
+ clone(): PackageMethodDeclaration;
823
+ }
824
+ export declare class PackageTypeDeclaration {
825
+ private _modifiers;
826
+ private _members;
827
+ private _entity;
828
+ private _sourceLocation;
829
+ private _baseType?;
830
+ readonly kind = NodeKind.PackageTypeDeclaration;
831
+ get modifiers(): Modifiers;
832
+ get members(): readonly TypeMemberDeclaration[];
833
+ get entity(): TypeEntity;
834
+ get baseType(): TypeEntity | undefined;
835
+ get sourceLocation(): SourceLocation | undefined;
836
+ constructor(_modifiers: Modifiers, _members: readonly TypeMemberDeclaration[], _entity: TypeEntity, _sourceLocation: SourceLocation | undefined, _baseType?: TypeEntity | undefined);
837
+ update(members: readonly TypeMemberDeclaration[], entity: TypeEntity, baseType: TypeEntity | undefined): void;
838
+ clone(): PackageTypeDeclaration;
839
+ }
840
+ export declare class PackageVariableDeclaration {
841
+ private _modifiers;
842
+ private _initializer;
843
+ private _getter;
844
+ private _setter;
845
+ private _entity;
846
+ private _sourceLocation;
847
+ readonly kind = NodeKind.PackageVariableDeclaration;
848
+ get modifiers(): Modifiers;
849
+ get initializer(): Expression | undefined;
850
+ get getter(): PackageVariableGetterDeclaration | undefined;
851
+ get setter(): PackageVariableSetterDeclaration | undefined;
852
+ get entity(): PackageVariableEntity;
853
+ get sourceLocation(): SourceLocation | undefined;
854
+ constructor(_modifiers: Modifiers, _initializer: Expression | undefined, _getter: PackageVariableGetterDeclaration | undefined, _setter: PackageVariableSetterDeclaration | undefined, _entity: PackageVariableEntity, _sourceLocation: SourceLocation | undefined);
855
+ update(initializer: Expression | undefined, getter: PackageVariableGetterDeclaration | undefined, setter: PackageVariableSetterDeclaration | undefined): void;
856
+ clone(): PackageVariableDeclaration;
857
+ }
858
+ export declare class PackageVariableGetterDeclaration {
859
+ private _body;
860
+ private _entity;
861
+ private _resultLocalVariableEntity;
862
+ private _sourceLocation;
863
+ readonly kind = NodeKind.PackageVariableGetterDeclaration;
864
+ get body(): BlockStatement;
865
+ get entity(): GetterEntity;
866
+ get resultLocalVariableEntity(): VariableEntity | undefined;
867
+ get sourceLocation(): SourceLocation | undefined;
868
+ constructor(_body: BlockStatement, _entity: GetterEntity, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
869
+ update(body: BlockStatement): void;
870
+ clone(): PackageVariableGetterDeclaration;
871
+ }
872
+ export declare class PackageVariableSetterDeclaration {
873
+ private _body;
874
+ private _entity;
875
+ private _paramLocalVariableEntity;
876
+ private _valueLocalVariableEntity;
877
+ private _sourceLocation;
878
+ readonly kind = NodeKind.PackageVariableSetterDeclaration;
879
+ get body(): BlockStatement;
880
+ get entity(): SetterEntity;
881
+ get paramLocalVariableEntity(): VariableEntity | undefined;
882
+ get valueLocalVariableEntity(): VariableEntity;
883
+ get sourceLocation(): SourceLocation | undefined;
884
+ constructor(_body: BlockStatement, _entity: SetterEntity, _paramLocalVariableEntity: VariableEntity | undefined, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
885
+ update(body: BlockStatement): void;
886
+ clone(): PackageVariableSetterDeclaration;
887
+ }
888
+ export declare class PackageVariantTypeDeclaration {
889
+ private _modifiers;
890
+ private _underlyingTypeKind;
891
+ private _variants;
892
+ private _entity;
893
+ private _sourceLocation;
894
+ readonly kind = NodeKind.PackageVariantTypeDeclaration;
895
+ get modifiers(): Modifiers;
896
+ get underlyingTypeKind(): UnderlyingTypeKind;
897
+ get variants(): readonly VariantDeclaration[];
898
+ get entity(): VariantTypeEntity;
899
+ get sourceLocation(): SourceLocation | undefined;
900
+ constructor(_modifiers: Modifiers, _underlyingTypeKind: UnderlyingTypeKind, _variants: readonly VariantDeclaration[], _entity: VariantTypeEntity, _sourceLocation: SourceLocation | undefined);
901
+ update(variants: readonly VariantDeclaration[]): void;
902
+ clone(): PackageVariantTypeDeclaration;
903
+ }
904
+ export declare const enum UnderlyingTypeKind {
905
+ Numeric = 0,
906
+ NonNumeric = 1
907
+ }
908
+ export declare class VariantDeclaration {
909
+ private _value;
910
+ private _entity;
911
+ private _sourceLocation;
912
+ readonly kind = NodeKind.VariantDeclaration;
913
+ get value(): Expression | undefined;
914
+ get entity(): VariantEntity;
915
+ get sourceLocation(): SourceLocation | undefined;
916
+ constructor(_value: Expression | undefined, _entity: VariantEntity, _sourceLocation: SourceLocation | undefined);
917
+ update(value: Expression | undefined): void;
918
+ clone(): VariantDeclaration;
919
+ }
920
+ export declare class PrefixUnaryExpression {
921
+ private _operator;
922
+ private _expression;
923
+ private _sourceLocation;
924
+ readonly kind = NodeKind.PrefixUnaryExpression;
925
+ get operator(): PrefixUnaryExpressionOperator;
926
+ get expression(): Expression;
927
+ get sourceLocation(): SourceLocation | undefined;
928
+ constructor(_operator: PrefixUnaryExpressionOperator, _expression: Expression, _sourceLocation: SourceLocation | undefined);
929
+ update(operator: PrefixUnaryExpressionOperator, expression: Expression): void;
930
+ clone(): PrefixUnaryExpression;
931
+ }
932
+ export declare class PropertyDeclaration {
933
+ private _modifiers;
934
+ private _variableEntity;
935
+ private _getter;
936
+ private _setter;
937
+ private _sourceLocation;
938
+ readonly kind = NodeKind.PropertyDeclaration;
939
+ get modifiers(): Modifiers;
940
+ get variableEntity(): VariableEntity;
941
+ get getter(): TypeVariableGetterDeclaration;
942
+ get setter(): TypeVariableSetterDeclaration | undefined;
943
+ get sourceLocation(): SourceLocation | undefined;
944
+ constructor(_modifiers: Modifiers, _variableEntity: VariableEntity, _getter: TypeVariableGetterDeclaration, _setter: TypeVariableSetterDeclaration | undefined, _sourceLocation: SourceLocation | undefined);
945
+ update(variableEntity: VariableEntity, getter: TypeVariableGetterDeclaration, setter: TypeVariableSetterDeclaration | undefined): void;
946
+ clone(): PropertyDeclaration;
947
+ }
948
+ export declare class ReferenceExpression {
949
+ private _expression;
950
+ private _sourceLocation;
951
+ readonly kind = NodeKind.ReferenceExpression;
952
+ get expression(): Expression;
953
+ get sourceLocation(): SourceLocation | undefined;
954
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
955
+ update(expression: Expression): void;
956
+ clone(): ReferenceExpression;
957
+ }
958
+ export declare class ReturnStatement {
959
+ private _expression;
960
+ private _sourceLocation;
961
+ readonly kind = NodeKind.ReturnStatement;
962
+ get expression(): Expression | undefined;
963
+ get sourceLocation(): SourceLocation | undefined;
964
+ constructor(_expression: Expression | undefined, _sourceLocation: SourceLocation | undefined);
965
+ update(expression: Expression | undefined): void;
966
+ clone(): ReturnStatement;
967
+ }
968
+ export declare class RunStatement {
969
+ private _body;
970
+ private _clauses;
971
+ private _sourceLocation;
972
+ readonly kind = NodeKind.RunStatement;
973
+ get body(): BlockStatement;
974
+ get clauses(): readonly BlockStatementClause[];
975
+ get sourceLocation(): SourceLocation | undefined;
976
+ constructor(_body: BlockStatement, _clauses: readonly BlockStatementClause[], _sourceLocation: SourceLocation | undefined);
977
+ update(body: BlockStatement, clauses: readonly BlockStatementClause[]): void;
978
+ clone(): RunStatement;
979
+ }
980
+ export declare class SourceFile {
981
+ private _leadingStatements;
982
+ private _declarations;
983
+ private _trailingStatements;
984
+ private _sourceLocation;
985
+ readonly kind = NodeKind.SourceFile;
986
+ get leadingStatements(): readonly Statement[];
987
+ get declarations(): readonly PackageMemberDeclaration[];
988
+ get trailingStatements(): readonly Statement[];
989
+ get sourceLocation(): SourceLocation | undefined;
990
+ constructor(_leadingStatements: readonly Statement[], _declarations: readonly PackageMemberDeclaration[], _trailingStatements: readonly Statement[], _sourceLocation: SourceLocation | undefined);
991
+ update(leadingStatements: readonly Statement[], declarations: readonly PackageMemberDeclaration[], trailingStatements: readonly Statement[]): void;
992
+ clone(): SourceFile;
993
+ }
994
+ export declare class SwitchStatement {
995
+ private _matchExpression;
996
+ private _caseClauses;
997
+ private _defaultClauseBody;
998
+ private _sourceLocation;
999
+ readonly kind = NodeKind.SwitchStatement;
1000
+ get matchExpression(): Expression;
1001
+ get caseClauses(): readonly CaseClause[];
1002
+ get defaultClauseBody(): BlockStatement | undefined;
1003
+ get sourceLocation(): SourceLocation | undefined;
1004
+ constructor(_matchExpression: Expression, _caseClauses: readonly CaseClause[], _defaultClauseBody: BlockStatement | undefined, _sourceLocation: SourceLocation | undefined);
1005
+ update(matchExpression: Expression, caseClauses: readonly CaseClause[], defaultClauseBody: BlockStatement | undefined): void;
1006
+ clone(): SwitchStatement;
1007
+ }
1008
+ export declare class CaseClause {
1009
+ private _expressions;
1010
+ private _body;
1011
+ readonly kind = NodeKind.CaseClause;
1012
+ get expressions(): readonly Expression[];
1013
+ get body(): BlockStatement;
1014
+ constructor(_expressions: readonly Expression[], _body: BlockStatement);
1015
+ update(expressions: readonly Expression[], body: BlockStatement): void;
1016
+ clone(): CaseClause;
1017
+ }
1018
+ export declare class Tag {
1019
+ private _name;
1020
+ private _callArguments;
1021
+ private _sourceLocation;
1022
+ readonly kind = NodeKind.Tag;
1023
+ get name(): Name;
1024
+ get callArguments(): readonly CallArgument[];
1025
+ get sourceLocation(): SourceLocation | undefined;
1026
+ constructor(_name: Name, _callArguments: readonly CallArgument[], _sourceLocation: SourceLocation | undefined);
1027
+ update(name: Name, callArguments: readonly CallArgument[]): void;
1028
+ clone(): Tag;
1029
+ }
1030
+ export declare class TernaryExpression {
1031
+ private _condition;
1032
+ private _firstExpression;
1033
+ private _secondExpression;
1034
+ private _type;
1035
+ private _sourceLocation;
1036
+ readonly kind = NodeKind.TernaryExpression;
1037
+ get condition(): Expression;
1038
+ get firstExpression(): Expression;
1039
+ get secondExpression(): Expression;
1040
+ get type(): types.Type;
1041
+ get sourceLocation(): SourceLocation | undefined;
1042
+ constructor(_condition: Expression, _firstExpression: Expression, _secondExpression: Expression, _type: types.Type, _sourceLocation: SourceLocation | undefined);
1043
+ update(condition: Expression, firstExpression: Expression, secondExpression: Expression): void;
1044
+ clone(): TernaryExpression;
1045
+ }
1046
+ export declare class TextLiteral {
1047
+ private _value;
1048
+ private _sourceLocation;
1049
+ readonly kind = NodeKind.TextLiteral;
1050
+ get value(): string;
1051
+ get sourceLocation(): SourceLocation | undefined;
1052
+ constructor(_value: string, _sourceLocation: SourceLocation | undefined);
1053
+ update(value: string): void;
1054
+ clone(): TextLiteral;
1055
+ }
1056
+ export declare class TextTemplateLiteral {
1057
+ private _elements;
1058
+ private _sourceLocation;
1059
+ private _loweringOptions;
1060
+ readonly kind = NodeKind.TextTemplateLiteral;
1061
+ get elements(): readonly (string | Expression)[];
1062
+ get sourceLocation(): SourceLocation | undefined;
1063
+ get loweringOptions(): TextTemplateLiteralLoweringOptions;
1064
+ constructor(_elements: readonly (string | Expression)[], _sourceLocation: SourceLocation | undefined, _loweringOptions?: TextTemplateLiteralLoweringOptions);
1065
+ update(elements: readonly (string | Expression)[], loweringOptions: TextTemplateLiteralLoweringOptions): void;
1066
+ clone(): TextTemplateLiteral;
1067
+ }
1068
+ export declare class ThisExpression {
1069
+ private _type;
1070
+ private _sourceLocation;
1071
+ readonly kind = NodeKind.ThisExpression;
1072
+ get type(): types.Type;
1073
+ get sourceLocation(): SourceLocation | undefined;
1074
+ constructor(_type: types.Type, _sourceLocation: SourceLocation | undefined);
1075
+ clone(): ThisExpression;
1076
+ }
1077
+ export declare class TransactionalExpression {
1078
+ private _expression;
1079
+ private _sourceLocation;
1080
+ readonly kind = NodeKind.TransactionalExpression;
1081
+ get expression(): Expression;
1082
+ get sourceLocation(): SourceLocation | undefined;
1083
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
1084
+ update(expression: Expression): void;
1085
+ clone(): TransactionalExpression;
1086
+ }
1087
+ export declare class TransactionalStatement {
1088
+ private _body;
1089
+ private _sourceLocation;
1090
+ readonly kind = NodeKind.TransactionalStatement;
1091
+ get body(): BlockStatement;
1092
+ get sourceLocation(): SourceLocation | undefined;
1093
+ constructor(_body: BlockStatement, _sourceLocation: SourceLocation | undefined);
1094
+ update(body: BlockStatement): void;
1095
+ clone(): TransactionalStatement;
1096
+ }
1097
+ export declare class TryCatchFinallyStatement {
1098
+ private _body;
1099
+ private _errorParameter;
1100
+ private _catchClauseBody;
1101
+ private _finallyClauseBody;
1102
+ private _sourceLocation;
1103
+ readonly kind = NodeKind.TryCatchFinallyStatement;
1104
+ get body(): BlockStatement;
1105
+ get errorParameter(): VariableEntity | undefined;
1106
+ get catchClauseBody(): BlockStatement | undefined;
1107
+ get finallyClauseBody(): BlockStatement | undefined;
1108
+ get sourceLocation(): SourceLocation | undefined;
1109
+ constructor(_body: BlockStatement, _errorParameter: VariableEntity | undefined, _catchClauseBody: BlockStatement | undefined, _finallyClauseBody: BlockStatement | undefined, _sourceLocation: SourceLocation | undefined);
1110
+ update(body: BlockStatement, errorParameter: VariableEntity | undefined, catchClauseBody: BlockStatement | undefined, finallyClauseBody: BlockStatement | undefined): void;
1111
+ clone(): TryCatchFinallyStatement;
1112
+ }
1113
+ export declare class TypeAccessExpression {
1114
+ private _entity;
1115
+ private _sourceLocation;
1116
+ readonly kind = NodeKind.TypeAccessExpression;
1117
+ get entity(): TypeEntity;
1118
+ get sourceLocation(): SourceLocation | undefined;
1119
+ constructor(_entity: TypeEntity, _sourceLocation: SourceLocation | undefined);
1120
+ update(entity: TypeEntity): void;
1121
+ clone(): TypeAccessExpression;
1122
+ }
1123
+ export declare class TypeConstructorDeclaration {
1124
+ private _valueParameters;
1125
+ private _body;
1126
+ private _entity;
1127
+ private _sourceLocation;
1128
+ readonly kind = NodeKind.TypeConstructorDeclaration;
1129
+ get valueParameters(): readonly ValueParameterDeclaration[];
1130
+ get body(): BlockStatement;
1131
+ get entity(): ConstructorEntity;
1132
+ get sourceLocation(): SourceLocation | undefined;
1133
+ constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: ConstructorEntity, _sourceLocation: SourceLocation | undefined);
1134
+ update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement): void;
1135
+ clone(): TypeConstructorDeclaration;
1136
+ }
1137
+ export declare class TypeDereferenceOperatorDeclaration {
1138
+ private _modifiers;
1139
+ private _getter;
1140
+ private _setter;
1141
+ private _entity;
1142
+ private _sourceLocation;
1143
+ readonly kind = NodeKind.TypeDereferenceOperatorDeclaration;
1144
+ get modifiers(): Modifiers;
1145
+ get getter(): TypeDereferencedVariableGetterDeclaration;
1146
+ get setter(): TypeDereferencedVariableSetterDeclaration | undefined;
1147
+ get entity(): DereferenceOperatorEntity;
1148
+ get sourceLocation(): SourceLocation | undefined;
1149
+ constructor(_modifiers: Modifiers, _getter: TypeDereferencedVariableGetterDeclaration, _setter: TypeDereferencedVariableSetterDeclaration | undefined, _entity: DereferenceOperatorEntity, _sourceLocation: SourceLocation | undefined);
1150
+ update(modifiers: Modifiers, getter: TypeDereferencedVariableGetterDeclaration, setter: TypeDereferencedVariableSetterDeclaration | undefined, entity: DereferenceOperatorEntity): void;
1151
+ clone(): TypeDereferenceOperatorDeclaration;
1152
+ }
1153
+ export declare class TypeDereferencedVariableGetterDeclaration {
1154
+ private _body;
1155
+ private _entity;
1156
+ private _resultLocalVariableEntity;
1157
+ private _sourceLocation;
1158
+ readonly kind = NodeKind.TypeDereferencedVariableGetterDeclaration;
1159
+ get body(): BlockStatement;
1160
+ get entity(): GetterEntity;
1161
+ get resultLocalVariableEntity(): VariableEntity | undefined;
1162
+ get sourceLocation(): SourceLocation | undefined;
1163
+ constructor(_body: BlockStatement, _entity: GetterEntity, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
1164
+ update(body: BlockStatement): void;
1165
+ clone(): TypeDereferencedVariableGetterDeclaration;
1166
+ }
1167
+ export declare class TypeDereferencedVariableSetterDeclaration {
1168
+ private _body;
1169
+ private _entity;
1170
+ private _paramLocalVariableEntity;
1171
+ private _valueLocalVariableEntity;
1172
+ private _sourceLocation;
1173
+ readonly kind = NodeKind.TypeDereferencedVariableSetterDeclaration;
1174
+ get body(): BlockStatement;
1175
+ get entity(): SetterEntity;
1176
+ get paramLocalVariableEntity(): VariableEntity;
1177
+ get valueLocalVariableEntity(): VariableEntity;
1178
+ get sourceLocation(): SourceLocation | undefined;
1179
+ constructor(_body: BlockStatement, _entity: SetterEntity, _paramLocalVariableEntity: VariableEntity, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1180
+ update(body: BlockStatement): void;
1181
+ clone(): TypeDereferencedVariableSetterDeclaration;
1182
+ }
1183
+ export declare class TypeDestructorDeclaration {
1184
+ private _valueParameters;
1185
+ private _body;
1186
+ private _entity;
1187
+ private _sourceLocation;
1188
+ readonly kind = NodeKind.TypeDestructorDeclaration;
1189
+ get valueParameters(): readonly ValueParameterDeclaration[];
1190
+ get body(): BlockStatement;
1191
+ get entity(): DestructorEntity;
1192
+ get sourceLocation(): SourceLocation | undefined;
1193
+ constructor(_valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: DestructorEntity, _sourceLocation: SourceLocation | undefined);
1194
+ update(valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement): void;
1195
+ clone(): TypeDestructorDeclaration;
1196
+ }
1197
+ export declare class TypeExtensionDeclaration {
1198
+ private _members;
1199
+ private _entity;
1200
+ private _sourceLocation;
1201
+ readonly kind = NodeKind.TypeExtensionDeclaration;
1202
+ get members(): readonly TypeMemberDeclaration[];
1203
+ get entity(): TypeExtensionEntity;
1204
+ get sourceLocation(): SourceLocation | undefined;
1205
+ constructor(_members: readonly TypeMemberDeclaration[], _entity: TypeExtensionEntity, _sourceLocation: SourceLocation | undefined);
1206
+ update(members: readonly TypeMemberDeclaration[]): void;
1207
+ clone(): TypeExtensionDeclaration;
1208
+ }
1209
+ export declare class TypeIndexedGetterDeclaration {
1210
+ private _body;
1211
+ private _entity;
1212
+ private _resultLocalVariableEntity;
1213
+ private _paramVLocalVariableEntity;
1214
+ private _sourceLocation;
1215
+ readonly kind = NodeKind.TypeIndexedGetterDeclaration;
1216
+ get body(): BlockStatement;
1217
+ get entity(): GetterEntity;
1218
+ get resultLocalVariableEntity(): VariableEntity | undefined;
1219
+ get paramLocalVariableEntity(): VariableEntity;
1220
+ get sourceLocation(): SourceLocation | undefined;
1221
+ constructor(_body: BlockStatement, _entity: GetterEntity, _resultLocalVariableEntity: VariableEntity | undefined, _paramVLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1222
+ update(body: BlockStatement): void;
1223
+ clone(): TypeIndexedGetterDeclaration;
1224
+ }
1225
+ export declare class TypeIndexedSetterDeclaration {
1226
+ private _body;
1227
+ private _entity;
1228
+ private _paramLocalVariableEntity;
1229
+ private _valueLocalVariableEntity;
1230
+ private _sourceLocation;
1231
+ readonly kind = NodeKind.TypeIndexedSetterDeclaration;
1232
+ get body(): BlockStatement;
1233
+ get entity(): SetterEntity;
1234
+ get paramLocalVariableEntity(): VariableEntity;
1235
+ get valueLocalVariableEntity(): VariableEntity;
1236
+ get sourceLocation(): SourceLocation | undefined;
1237
+ constructor(_body: BlockStatement, _entity: SetterEntity, _paramLocalVariableEntity: VariableEntity, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1238
+ update(body: BlockStatement): void;
1239
+ clone(): TypeIndexedSetterDeclaration;
1240
+ }
1241
+ export declare class TypeIndexerDeclaration {
1242
+ private _modifiers;
1243
+ private _valueParameters;
1244
+ private _getter;
1245
+ private _setter;
1246
+ private _entity;
1247
+ private _sourceLocation;
1248
+ readonly kind = NodeKind.TypeIndexerDeclaration;
1249
+ get modifiers(): Modifiers;
1250
+ get valueParameters(): readonly ValueParameterDeclaration[];
1251
+ get getter(): TypeIndexedGetterDeclaration | undefined;
1252
+ get setter(): TypeIndexedSetterDeclaration | undefined;
1253
+ get entity(): IndexerEntity;
1254
+ get sourceLocation(): SourceLocation | undefined;
1255
+ constructor(_modifiers: Modifiers, _valueParameters: readonly ValueParameterDeclaration[], _getter: TypeIndexedGetterDeclaration | undefined, _setter: TypeIndexedSetterDeclaration | undefined, _entity: IndexerEntity, _sourceLocation: SourceLocation | undefined);
1256
+ update(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], getter: TypeIndexedGetterDeclaration | undefined, setter: TypeIndexedSetterDeclaration | undefined, entity: IndexerEntity): void;
1257
+ clone(): TypeIndexerDeclaration;
1258
+ }
1259
+ export declare class TypeMethodAccessExpression {
1260
+ private _expression;
1261
+ private _isOptionalChaining;
1262
+ private _method;
1263
+ private _isCallee;
1264
+ private _sourceLocation;
1265
+ private _loweringOptions;
1266
+ readonly kind = NodeKind.TypeMethodAccessExpression;
1267
+ get expression(): Expression;
1268
+ get isOptionalChaining(): boolean;
1269
+ get method(): AccessedMethod;
1270
+ get isCallee(): boolean;
1271
+ get loweringOptions(): MethodAccessLoweringOptions;
1272
+ get sourceLocation(): SourceLocation | undefined;
1273
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _method: AccessedMethod, _isCallee: boolean, _sourceLocation: SourceLocation | undefined, _loweringOptions?: MethodAccessLoweringOptions);
1274
+ update(expression: Expression, isOptionalChaining: boolean, method: AccessedMethod, loweringOptions: MethodAccessLoweringOptions): void;
1275
+ clone(): TypeMethodAccessExpression;
1276
+ }
1277
+ export declare class TypeMethodDeclaration {
1278
+ private _modifiers;
1279
+ private _valueParameters;
1280
+ private _body;
1281
+ private _entity;
1282
+ private _resultLocalVariableEntity;
1283
+ private _isGenerator;
1284
+ private _isComputed;
1285
+ private _sourceLocation;
1286
+ readonly kind = NodeKind.TypeMethodDeclaration;
1287
+ get modifiers(): Modifiers;
1288
+ get valueParameters(): readonly ValueParameterDeclaration[];
1289
+ get body(): BlockStatement;
1290
+ get entity(): TypeMethodEntity;
1291
+ get resultLocalVariableEntity(): VariableEntity | undefined;
1292
+ get isGenerator(): boolean;
1293
+ get isComputed(): ComputedTypeMethodInfo | undefined;
1294
+ get sourceLocation(): SourceLocation | undefined;
1295
+ constructor(_modifiers: Modifiers, _valueParameters: readonly ValueParameterDeclaration[], _body: BlockStatement, _entity: TypeMethodEntity, _resultLocalVariableEntity: VariableEntity | undefined, _isGenerator: boolean, _isComputed: ComputedTypeMethodInfo | undefined, _sourceLocation: SourceLocation | undefined);
1296
+ update(modifiers: Modifiers, valueParameters: readonly ValueParameterDeclaration[], body: BlockStatement, entity: TypeMethodEntity, isComputed: ComputedTypeMethodInfo | undefined): void;
1297
+ clone(): TypeMethodDeclaration;
1298
+ }
1299
+ export type ComputedTypeMethodInfo = {
1300
+ readonly key: Expression;
1301
+ };
1302
+ export declare class TypeVariableAccessExpression {
1303
+ private _expression;
1304
+ private _isOptionalChaining;
1305
+ private _variable;
1306
+ private _access;
1307
+ private _sourceLocation;
1308
+ readonly kind = NodeKind.TypeVariableAccessExpression;
1309
+ get expression(): Expression;
1310
+ get isOptionalChaining(): boolean;
1311
+ get variable(): AccessedVariable;
1312
+ get access(): variableAccess.VariableAccess;
1313
+ get sourceLocation(): SourceLocation | undefined;
1314
+ constructor(_expression: Expression, _isOptionalChaining: boolean, _variable: AccessedVariable, _access: variableAccess.VariableAccess, _sourceLocation: SourceLocation | undefined);
1315
+ static get(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable | VariableEntity, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
1316
+ static set(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable | VariableEntity, sourceLocation?: SourceLocation): TypeVariableAccessExpression;
1317
+ update(expression: Expression, isOptionalChaining: boolean, variable: AccessedVariable, access: variableAccess.VariableAccess): void;
1318
+ clone(): TypeVariableAccessExpression;
1319
+ }
1320
+ export declare class TypeVariableDeclaration {
1321
+ private _modifiers;
1322
+ private _initializer;
1323
+ private _getter;
1324
+ private _setter;
1325
+ private _entity;
1326
+ private _sourceLocation;
1327
+ readonly kind = NodeKind.TypeVariableDeclaration;
1328
+ get modifiers(): Modifiers;
1329
+ get initializer(): Expression | undefined;
1330
+ get getter(): TypeVariableGetterDeclaration | undefined;
1331
+ get setter(): TypeVariableSetterDeclaration | undefined;
1332
+ get entity(): TypeVariableEntity;
1333
+ get sourceLocation(): SourceLocation | undefined;
1334
+ constructor(_modifiers: Modifiers, _initializer: Expression | undefined, _getter: TypeVariableGetterDeclaration | undefined, _setter: TypeVariableSetterDeclaration | undefined, _entity: TypeVariableEntity, _sourceLocation: SourceLocation | undefined);
1335
+ update(modifiers: Modifiers, initializer: Expression | undefined, getter: TypeVariableGetterDeclaration | undefined, setter: TypeVariableSetterDeclaration | undefined): void;
1336
+ clone(): TypeVariableDeclaration;
1337
+ }
1338
+ export declare class TypeVariableGetterDeclaration {
1339
+ private _body;
1340
+ private _resultLocalVariableEntity;
1341
+ private _sourceLocation;
1342
+ readonly kind = NodeKind.TypeVariableGetterDeclaration;
1343
+ get body(): BlockStatement;
1344
+ get resultLocalVariableEntity(): VariableEntity | undefined;
1345
+ get sourceLocation(): SourceLocation | undefined;
1346
+ constructor(_body: BlockStatement, _resultLocalVariableEntity: VariableEntity | undefined, _sourceLocation: SourceLocation | undefined);
1347
+ update(body: BlockStatement): void;
1348
+ clone(): TypeVariableGetterDeclaration;
1349
+ }
1350
+ export declare class TypeVariableSetterDeclaration {
1351
+ private _body;
1352
+ private _paramLocalVariableEntity;
1353
+ private _valueLocalVariableEntity;
1354
+ private _sourceLocation;
1355
+ readonly kind = NodeKind.TypeVariableSetterDeclaration;
1356
+ get body(): BlockStatement;
1357
+ get paramLocalVariableEntity(): VariableEntity | undefined;
1358
+ get valueLocalVariableEntity(): VariableEntity;
1359
+ get sourceLocation(): SourceLocation | undefined;
1360
+ constructor(_body: BlockStatement, _paramLocalVariableEntity: VariableEntity | undefined, _valueLocalVariableEntity: VariableEntity, _sourceLocation: SourceLocation | undefined);
1361
+ update(body: BlockStatement): void;
1362
+ clone(): TypeVariableSetterDeclaration;
1363
+ }
1364
+ export declare class UnobservableExpression {
1365
+ private _expression;
1366
+ private _sourceLocation;
1367
+ readonly kind = NodeKind.UnobservableExpression;
1368
+ get expression(): Expression;
1369
+ get sourceLocation(): SourceLocation | undefined;
1370
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
1371
+ update(expression: Expression): void;
1372
+ clone(): UnobservableExpression;
1373
+ }
1374
+ export declare class UnobservableStatement {
1375
+ private _body;
1376
+ private _sourceLocation;
1377
+ readonly kind = NodeKind.UnobservableStatement;
1378
+ get body(): BlockStatement;
1379
+ get sourceLocation(): SourceLocation | undefined;
1380
+ constructor(_body: BlockStatement, _sourceLocation: SourceLocation | undefined);
1381
+ update(body: BlockStatement): void;
1382
+ clone(): UnobservableStatement;
1383
+ }
1384
+ export declare class ValueParameterDeclaration {
1385
+ private _entity;
1386
+ private _defaultValue;
1387
+ /**
1388
+ * ...param
1389
+ */
1390
+ private _isRest;
1391
+ private _sourceLocation;
1392
+ readonly kind = NodeKind.ValueParameterDeclaration;
1393
+ get entity(): VariableEntity;
1394
+ get defaultValue(): Expression | undefined;
1395
+ get isRest(): boolean;
1396
+ get sourceLocation(): SourceLocation | undefined;
1397
+ constructor(_entity: VariableEntity, _defaultValue: Expression | undefined,
1398
+ /**
1399
+ * ...param
1400
+ */
1401
+ _isRest: boolean, _sourceLocation: SourceLocation | undefined);
1402
+ update(defaultValue: Expression | undefined): void;
1403
+ clone(): ValueParameterDeclaration;
1404
+ }
1405
+ export declare class VariableAccessExpression {
1406
+ private _variable;
1407
+ private _access;
1408
+ private _sourceLocation;
1409
+ readonly kind = NodeKind.VariableAccessExpression;
1410
+ get variable(): AccessedVariable;
1411
+ get access(): variableAccess.VariableAccess;
1412
+ get sourceLocation(): SourceLocation | undefined;
1413
+ constructor(_variable: AccessedVariable, _access: variableAccess.VariableAccess, _sourceLocation: SourceLocation | undefined);
1414
+ static get(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
1415
+ static set(variable: AccessedVariable | VariableEntity): VariableAccessExpression;
1416
+ update(variable: AccessedVariable, access: variableAccess.VariableAccess): void;
1417
+ clone(): VariableAccessExpression;
1418
+ }
1419
+ export declare class VariantAccessExpression {
1420
+ private _typeAccess;
1421
+ private _entity;
1422
+ private _sourceLocation;
1423
+ readonly kind = NodeKind.VariantAccessExpression;
1424
+ get typeAccess(): TypeAccessExpression;
1425
+ get entity(): VariantEntity;
1426
+ get sourceLocation(): SourceLocation | undefined;
1427
+ constructor(_typeAccess: TypeAccessExpression, _entity: VariantEntity, _sourceLocation: SourceLocation | undefined);
1428
+ update(typeAccess: TypeAccessExpression, entity: VariantEntity): void;
1429
+ clone(): VariantAccessExpression;
1430
+ }
1431
+ export declare class WhileStatement {
1432
+ private _label;
1433
+ private _condition;
1434
+ private _body;
1435
+ private _sourceLocation;
1436
+ readonly kind = NodeKind.WhileStatement;
1437
+ get label(): string | undefined;
1438
+ get condition(): Expression;
1439
+ get body(): BlockStatement;
1440
+ get sourceLocation(): SourceLocation | undefined;
1441
+ constructor(_label: string | undefined, _condition: Expression, _body: BlockStatement, _sourceLocation: SourceLocation | undefined);
1442
+ update(condition: Expression, body: BlockStatement): void;
1443
+ clone(): WhileStatement;
1444
+ }
1445
+ export declare class YieldStatement {
1446
+ private _expression;
1447
+ private _sourceLocation;
1448
+ readonly kind = NodeKind.YieldStatement;
1449
+ get expression(): Expression;
1450
+ get sourceLocation(): SourceLocation | undefined;
1451
+ constructor(_expression: Expression, _sourceLocation: SourceLocation | undefined);
1452
+ update(expression: Expression): void;
1453
+ clone(): YieldStatement;
1454
+ }
1455
+ export declare const enum NodeKind {
1456
+ AsExpression = 0,
1457
+ AssertionExpression = 1,
1458
+ AssumptionExpression = 2,
1459
+ AssignmentStatement = 3,
1460
+ BinaryExpression = 4,
1461
+ BlockStatement = 5,
1462
+ BooleanLiteral = 6,
1463
+ BreakLoopStatement = 7,
1464
+ CallArgument = 8,
1465
+ CallExpression = 9,
1466
+ CaseClause = 10,
1467
+ CharLiteral = 11,
1468
+ ContinueLoopStatement = 12,
1469
+ DisposeStatement = 13,
1470
+ RunStatement = 14,
1471
+ NoneLiteral = 15,
1472
+ EmptyStatement = 16,
1473
+ ErrorStatement = 17,
1474
+ ExpressionStatement = 18,
1475
+ FinallyClause = 19,
1476
+ ForStatement = 20,
1477
+ PackageConstructorDeclaration = 21,
1478
+ PackageEntryPointDeclaration = 22,
1479
+ PackageMethodDeclaration = 23,
1480
+ PackageTypeDeclaration = 24,
1481
+ PackageVariableDeclaration = 25,
1482
+ PackageVariableGetterDeclaration = 26,
1483
+ PackageVariableSetterDeclaration = 27,
1484
+ PackageVariantTypeDeclaration = 28,
1485
+ IfStatement = 29,
1486
+ IndexedAccessExpression = 30,
1487
+ IntegerLiteral = 31,
1488
+ HelperMethodCallExpression = 32,
1489
+ IsExpression = 33,
1490
+ NestedMethodDeclaration = 34,
1491
+ NestedMethodDeclarationStatement = 35,
1492
+ LocalVariableDeclaration = 36,
1493
+ LocalVariableDeclarationStatement = 37,
1494
+ NotExpression = 38,
1495
+ NumericLiteral = 39,
1496
+ OnErrorClause = 40,
1497
+ MethodLiteral = 41,
1498
+ PrefixUnaryExpression = 42,
1499
+ MeasureLiteral = 43,
1500
+ ReferenceExpression = 44,
1501
+ LoopStatement = 45,
1502
+ ReturnStatement = 46,
1503
+ SourceFile = 47,
1504
+ TextLiteral = 48,
1505
+ TextTemplateLiteral = 49,
1506
+ TypeConstructorDeclaration = 50,
1507
+ TypeDestructorDeclaration = 51,
1508
+ TypeExtensionDeclaration = 52,
1509
+ TypeIndexerDeclaration = 53,
1510
+ TypeIndexedGetterDeclaration = 54,
1511
+ TypeIndexedSetterDeclaration = 55,
1512
+ TypeMethodDeclaration = 56,
1513
+ TypeVariableDeclaration = 57,
1514
+ TypeVariableGetterDeclaration = 58,
1515
+ TypeVariableSetterDeclaration = 59,
1516
+ SwitchStatement = 60,
1517
+ Tag = 61,
1518
+ TernaryExpression = 62,
1519
+ ThisExpression = 63,
1520
+ ValueParameterDeclaration = 64,
1521
+ VariantDeclaration = 65,
1522
+ WhileStatement = 66,
1523
+ YieldStatement = 67,
1524
+ ArrayLiteral = 68,
1525
+ TypeAccessExpression = 69,
1526
+ VariableAccessExpression = 70,
1527
+ MethodAccessExpression = 71,
1528
+ ImplicitVariantAccessExpression = 72,
1529
+ VariantAccessExpression = 73,
1530
+ TypeVariableAccessExpression = 74,
1531
+ TypeMethodAccessExpression = 75,
1532
+ PropertyDeclaration = 76,
1533
+ ConstructorCallExpression = 77,
1534
+ TryCatchFinallyStatement = 78,
1535
+ InlineJsExpression = 79,
1536
+ AssignmentExpression = 80,
1537
+ CommaExpression = 81,
1538
+ SuperExpression = 82,
1539
+ BaseConstructorCallExpression = 83,
1540
+ JsImportSpecifier = 84,
1541
+ JsIndexedAccessExpression = 85,
1542
+ EsModuleImportDirectiveStatement = 86,
1543
+ CjsModuleImportDirectiveStatement = 87,
1544
+ JsObjectLiteral = 88,
1545
+ JsObjectLiteralProperty = 89,
1546
+ JsPropertyAccessExpression = 90,
1547
+ JsFunctionLiteral = 91,
1548
+ ImplicitConversionExpression = 92,
1549
+ JsTypeOfExpression = 93,
1550
+ JsInstanceOfExpression = 94,
1551
+ UnobservableStatement = 95,
1552
+ TransactionalStatement = 96,
1553
+ TransactionalExpression = 97,
1554
+ UnobservableExpression = 98,
1555
+ JsIdentifierExpression = 99,
1556
+ DereferenceExpression = 100,
1557
+ BaseExpression = 101,
1558
+ OwnConstructorCallExpression = 102,
1559
+ TypeDereferenceOperatorDeclaration = 103,
1560
+ TypeDereferencedVariableGetterDeclaration = 104,
1561
+ TypeDereferencedVariableSetterDeclaration = 105,
1562
+ JsNamespaceDestructuringStatement = 106
1563
+ }
1564
+ export declare const enum PrefixUnaryExpressionOperator {
1565
+ Plus = 0,
1566
+ Minus = 1
1567
+ }
1568
+ export declare const enum BinaryExpressionOperator {
1569
+ Add = 0,
1570
+ Subtract = 1,
1571
+ Multiply = 2,
1572
+ Divide = 3,
1573
+ IntegerDivide = 4,
1574
+ Equals = 5,
1575
+ NotEquals = 6,
1576
+ LessThan = 7,
1577
+ GreaterThan = 8,
1578
+ LessThanEquals = 9,
1579
+ GreaterThanEquals = 10,
1580
+ Or = 11,
1581
+ And = 12,
1582
+ Xor = 13,
1583
+ QuestionQuestion = 14,
1584
+ Modulo = 15
1585
+ }