@idlizer/arktscgen 2.1.9-arktscgen-9 → 2.1.10-arktscgen-3

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 (296) hide show
  1. package/build/libarkts-copy/generator/options.json5 +199 -4
  2. package/build/libarkts-copy/native/meson.build +1 -0
  3. package/build/libarkts-copy/native/mingw.cross +13 -0
  4. package/build/libarkts-copy/native/src/bridges.cc +66 -229
  5. package/build/libarkts-copy/native/src/common.cc +37 -8
  6. package/build/libarkts-copy/native/src/generated/bridges.cc +2047 -766
  7. package/build/libarkts-copy/native/src/memoryTracker.cc +178 -0
  8. package/build/libarkts-copy/native/src/memoryTracker.h +52 -0
  9. package/build/libarkts-copy/package.json +11 -14
  10. package/build/libarkts-copy/src/Es2pandaNativeModule.ts +41 -52
  11. package/build/libarkts-copy/src/arkts-api/ImportStorage.ts +1 -1
  12. package/build/libarkts-copy/src/arkts-api/class-by-peer.ts +7 -6
  13. package/build/libarkts-copy/src/arkts-api/factory/nodeFactory.ts +5 -2
  14. package/build/libarkts-copy/src/arkts-api/index.ts +2 -1
  15. package/build/libarkts-copy/src/arkts-api/node-cache.ts +9 -9
  16. package/build/libarkts-copy/src/arkts-api/node-utilities/ArkTsConfig.ts +7 -6
  17. package/build/libarkts-copy/src/arkts-api/node-utilities/NumberLiteral.ts +3 -1
  18. package/build/libarkts-copy/src/arkts-api/node-utilities/ObjectExpression.ts +25 -6
  19. package/build/libarkts-copy/src/{wrapper-compat/arkts-api/peers/ImportPathManager.ts → arkts-api/node-utilities/OpaqueTypeNode.ts} +8 -17
  20. package/build/libarkts-copy/src/arkts-api/node-utilities/Program.ts +11 -10
  21. package/build/libarkts-copy/src/arkts-api/node-utilities/ScriptFunction.ts +1 -1
  22. package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +12 -7
  23. package/build/libarkts-copy/src/arkts-api/peers/Config.ts +6 -0
  24. package/build/libarkts-copy/src/arkts-api/peers/Context.ts +3 -15
  25. package/build/libarkts-copy/src/{wrapper-compat/arkts-api/peers/AstNode.ts → arkts-api/peers/DiagnosticKind.ts} +6 -8
  26. package/build/libarkts-copy/src/arkts-api/static/global.ts +28 -1
  27. package/build/libarkts-copy/src/arkts-api/utilities/extensions.ts +64 -7
  28. package/build/libarkts-copy/src/{wrapper-compat/arkts-api → arkts-api}/utilities/performance.ts +122 -3
  29. package/build/libarkts-copy/src/arkts-api/utilities/private.ts +8 -22
  30. package/build/libarkts-copy/src/arkts-api/utilities/public.ts +95 -93
  31. package/build/libarkts-copy/src/arkts-api/visitor.ts +971 -364
  32. package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +6 -0
  33. package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +686 -185
  34. package/build/libarkts-copy/src/generated/factory.ts +2 -3
  35. package/build/libarkts-copy/src/generated/index.ts +3 -2
  36. package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +3 -3
  37. package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +3 -3
  38. package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +3 -3
  39. package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +17 -20
  40. package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +7 -9
  41. package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +4 -1
  42. package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +6 -12
  43. package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +18 -21
  44. package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +5 -7
  45. package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +6 -8
  46. package/build/libarkts-copy/src/generated/peers/AstDumper.ts +3 -1
  47. package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +0 -1
  48. package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +0 -1
  49. package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +5 -7
  50. package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +5 -7
  51. package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +5 -7
  52. package/build/libarkts-copy/src/generated/peers/BindingProps.ts +0 -1
  53. package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +5 -7
  54. package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +5 -7
  55. package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +5 -7
  56. package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +7 -9
  57. package/build/libarkts-copy/src/generated/peers/CallExpression.ts +11 -8
  58. package/build/libarkts-copy/src/generated/peers/CatchClause.ts +6 -8
  59. package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +5 -7
  60. package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +5 -7
  61. package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +6 -30
  62. package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +35 -28
  63. package/build/libarkts-copy/src/generated/peers/ClassElement.ts +5 -32
  64. package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +6 -8
  65. package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +25 -20
  66. package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +6 -8
  67. package/build/libarkts-copy/src/generated/peers/CodeGen.ts +0 -1
  68. package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +5 -7
  69. package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +7 -9
  70. package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +5 -7
  71. package/build/libarkts-copy/src/generated/peers/Declaration.ts +0 -1
  72. package/build/libarkts-copy/src/generated/peers/Decorator.ts +5 -7
  73. package/build/libarkts-copy/src/generated/peers/DiagnosticInfo.ts +0 -1
  74. package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +5 -7
  75. package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +5 -7
  76. package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +0 -1
  77. package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +5 -7
  78. package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +14 -9
  79. package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +5 -7
  80. package/build/libarkts-copy/src/generated/peers/ETSIntrinsicNode.ts +7 -9
  81. package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +5 -7
  82. package/build/libarkts-copy/src/generated/peers/ETSModule.ts +17 -20
  83. package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +5 -7
  84. package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +6 -8
  85. package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +6 -8
  86. package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +5 -7
  87. package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +5 -7
  88. package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +20 -23
  89. package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +5 -7
  90. package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +4 -6
  91. package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +5 -7
  92. package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +5 -7
  93. package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +9 -11
  94. package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +7 -9
  95. package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +9 -11
  96. package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +5 -7
  97. package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +5 -7
  98. package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +6 -8
  99. package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +6 -8
  100. package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +0 -1
  101. package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +7 -9
  102. package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +5 -7
  103. package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +11 -13
  104. package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +7 -9
  105. package/build/libarkts-copy/src/generated/peers/Expression.ts +7 -3
  106. package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +5 -7
  107. package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +5 -7
  108. package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +5 -7
  109. package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +4 -6
  110. package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +16 -23
  111. package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +8 -10
  112. package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +5 -2
  113. package/build/libarkts-copy/src/generated/peers/IRNode.ts +0 -1
  114. package/build/libarkts-copy/src/generated/peers/Identifier.ts +7 -18
  115. package/build/libarkts-copy/src/generated/peers/IfStatement.ts +5 -7
  116. package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +6 -8
  117. package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +6 -8
  118. package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +5 -7
  119. package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +6 -8
  120. package/build/libarkts-copy/src/generated/peers/ImportSource.ts +0 -1
  121. package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +7 -9
  122. package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +0 -1
  123. package/build/libarkts-copy/src/generated/peers/LabelPair.ts +0 -1
  124. package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +6 -8
  125. package/build/libarkts-copy/src/generated/peers/Literal.ts +3 -3
  126. package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +3 -3
  127. package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +3 -3
  128. package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +5 -11
  129. package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +5 -7
  130. package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +10 -12
  131. package/build/libarkts-copy/src/generated/peers/NamedType.ts +7 -9
  132. package/build/libarkts-copy/src/generated/peers/NewExpression.ts +5 -7
  133. package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +5 -7
  134. package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +10 -10
  135. package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +0 -1
  136. package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +5 -11
  137. package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +5 -7
  138. package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +5 -7
  139. package/build/libarkts-copy/src/generated/peers/OverloadDeclaration.ts +5 -7
  140. package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +5 -7
  141. package/build/libarkts-copy/src/generated/peers/Program.ts +9 -2
  142. package/build/libarkts-copy/src/generated/peers/Property.ts +6 -8
  143. package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +5 -7
  144. package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +6 -8
  145. package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +0 -1
  146. package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +27 -23
  147. package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +0 -1
  148. package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +5 -7
  149. package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +0 -1
  150. package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +8 -1
  151. package/build/libarkts-copy/src/generated/peers/SourceRange.ts +0 -1
  152. package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +5 -11
  153. package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +3 -1
  154. package/build/libarkts-copy/src/generated/peers/Statement.ts +3 -3
  155. package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +6 -8
  156. package/build/libarkts-copy/src/generated/peers/SuggestionInfo.ts +0 -1
  157. package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +5 -7
  158. package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +5 -7
  159. package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +6 -8
  160. package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +5 -7
  161. package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +5 -7
  162. package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +5 -7
  163. package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +5 -7
  164. package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +5 -7
  165. package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +7 -9
  166. package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +5 -7
  167. package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +6 -8
  168. package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +8 -32
  169. package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +6 -8
  170. package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +5 -7
  171. package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +6 -8
  172. package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +6 -8
  173. package/build/libarkts-copy/src/generated/peers/TSImportType.ts +6 -8
  174. package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +5 -7
  175. package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +5 -7
  176. package/build/libarkts-copy/src/generated/peers/TSInferType.ts +6 -8
  177. package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +5 -7
  178. package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +19 -44
  179. package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +5 -7
  180. package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +5 -7
  181. package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +5 -7
  182. package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +6 -8
  183. package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +6 -8
  184. package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +5 -7
  185. package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +5 -7
  186. package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +5 -7
  187. package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +5 -7
  188. package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +5 -7
  189. package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +5 -7
  190. package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +5 -7
  191. package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +5 -7
  192. package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +5 -7
  193. package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +5 -7
  194. package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +5 -7
  195. package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +7 -9
  196. package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +6 -8
  197. package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +5 -7
  198. package/build/libarkts-copy/src/generated/peers/TSThisType.ts +5 -7
  199. package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +5 -7
  200. package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +32 -47
  201. package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +5 -7
  202. package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +5 -7
  203. package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +5 -7
  204. package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +17 -20
  205. package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +6 -8
  206. package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +5 -7
  207. package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +5 -7
  208. package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +5 -7
  209. package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +7 -9
  210. package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +5 -7
  211. package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +5 -7
  212. package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +5 -7
  213. package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +5 -7
  214. package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +7 -9
  215. package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +6 -8
  216. package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +6 -8
  217. package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +5 -7
  218. package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +5 -7
  219. package/build/libarkts-copy/src/generated/peers/TryStatement.ts +7 -9
  220. package/build/libarkts-copy/src/generated/peers/TypeNode.ts +13 -14
  221. package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +3 -3
  222. package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +3 -3
  223. package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +5 -7
  224. package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +5 -7
  225. package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +5 -7
  226. package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +5 -7
  227. package/build/libarkts-copy/src/generated/peers/VReg.ts +0 -1
  228. package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +3 -1
  229. package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +16 -26
  230. package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +6 -8
  231. package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +0 -1
  232. package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +0 -1
  233. package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +5 -7
  234. package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +5 -7
  235. package/build/libarkts-copy/src/index.ts +4 -1
  236. package/build/libarkts-copy/src/plugin-utils.ts +8 -11
  237. package/build/libarkts-copy/src/reexport-for-generated.ts +1 -12
  238. package/build/libarkts-copy/src/tracer.ts +172 -0
  239. package/build/libarkts-copy/src/utils.ts +3 -0
  240. package/lib/index.js +1403 -544
  241. package/package.json +4 -3
  242. package/templates/factory.ts +0 -1
  243. package/templates/peer.ts +0 -1
  244. package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +0 -79
  245. package/build/libarkts-copy/src/arkts-api/peers/SourcePosition.ts +0 -38
  246. package/build/libarkts-copy/src/generated/peers/FunctionDecl.ts +0 -45
  247. package/build/libarkts-copy/src/generated/peers/InterfaceDecl.ts +0 -45
  248. package/build/libarkts-copy/src/wrapper-compat/README.md +0 -20
  249. package/build/libarkts-copy/src/wrapper-compat/arkts-api/class-by-peer.ts +0 -46
  250. package/build/libarkts-copy/src/wrapper-compat/arkts-api/factory/nodeFactory.ts +0 -454
  251. package/build/libarkts-copy/src/wrapper-compat/arkts-api/factory/nodeTests.ts +0 -99
  252. package/build/libarkts-copy/src/wrapper-compat/arkts-api/index.ts +0 -88
  253. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrayExpression.ts +0 -38
  254. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrowFunctionExpression.ts +0 -35
  255. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/AssignmentExpression.ts +0 -38
  256. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/BlockStatement.ts +0 -27
  257. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/CallExpression.ts +0 -45
  258. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDeclaration.ts +0 -27
  259. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDefinition.ts +0 -73
  260. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassProperty.ts +0 -51
  261. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSFunctionType.ts +0 -42
  262. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSImportDeclaration.ts +0 -39
  263. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSParameterExpression.ts +0 -43
  264. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ExpressionStatement.ts +0 -28
  265. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionDeclaration.ts +0 -37
  266. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionExpression.ts +0 -28
  267. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/IfStatement.ts +0 -37
  268. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MemberExpression.ts +0 -42
  269. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MethodDefinition.ts +0 -46
  270. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/NumberLiteral.ts +0 -30
  271. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ObjectExpression.ts +0 -37
  272. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/Property.ts +0 -27
  273. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ScriptFunction.ts +0 -46
  274. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/StructDeclaration.ts +0 -28
  275. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSInterfaceDeclaration.ts +0 -47
  276. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +0 -40
  277. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeParameter.ts +0 -36
  278. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TryStatement.ts +0 -41
  279. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclaration.ts +0 -42
  280. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclarator.ts +0 -39
  281. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Diagnostic.ts +0 -38
  282. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticInfo.ts +0 -34
  283. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticKind.ts +0 -33
  284. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Program.ts +0 -105
  285. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourcePosition.ts +0 -38
  286. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourceRange.ts +0 -38
  287. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SuggestionInfo.ts +0 -34
  288. package/build/libarkts-copy/src/wrapper-compat/arkts-api/static/global.ts +0 -16
  289. package/build/libarkts-copy/src/wrapper-compat/arkts-api/to-be-generated/MemberExpression.ts +0 -108
  290. package/build/libarkts-copy/src/wrapper-compat/arkts-api/types.ts +0 -889
  291. package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/nativePtrDecoder.ts +0 -69
  292. package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/private.ts +0 -198
  293. package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/public.ts +0 -327
  294. package/build/libarkts-copy/src/wrapper-compat/arkts-api/visitor.ts +0 -421
  295. package/build/libarkts-copy/src/wrapper-compat/index.ts +0 -20
  296. package/templates/node-map.ts +0 -35
@@ -16,10 +16,1609 @@
16
16
  #include <common.h>
17
17
 
18
18
  /*
19
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-8. DO NOT EDIT MANUALLY!
20
- * es2panda 2d77536b9b49352e16827106a4f4311e221008c5(2025-07-30) sdk v1.5.0-dev.39323
19
+ * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.10+devel. DO NOT EDIT MANUALLY!
20
+ * es2panda bb0d61379a95a80fffec85824dc465e3cf3b321e(2025-08-20) sdk v1.5.0-dev.42382
21
21
  */
22
22
 
23
+ KNativePointer impl_GetAllErrorMessages(KNativePointer context)
24
+ {
25
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
26
+ auto result = GetImpl()->GetAllErrorMessages(_context);
27
+ return StageArena::strdup(result);
28
+ }
29
+ KOALA_INTEROP_1(GetAllErrorMessages, KNativePointer, KNativePointer);
30
+
31
+ KNativePointer impl_ProceedToState(KNativePointer context, KInt state)
32
+ {
33
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
34
+ const auto _state = static_cast<es2panda_ContextState>(state);
35
+ auto result = GetImpl()->ProceedToState(_context, _state);
36
+ return result;
37
+ }
38
+ KOALA_INTEROP_2(ProceedToState, KNativePointer, KNativePointer, KInt);
39
+
40
+ KInt impl_ContextState(KNativePointer context)
41
+ {
42
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
43
+ auto result = GetImpl()->ContextState(_context);
44
+ return result;
45
+ }
46
+ KOALA_INTEROP_1(ContextState, KInt, KNativePointer);
47
+
48
+ KNativePointer impl_ContextErrorMessage(KNativePointer context)
49
+ {
50
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
51
+ auto result = GetImpl()->ContextErrorMessage(_context);
52
+ return StageArena::strdup(result);
53
+ }
54
+ KOALA_INTEROP_1(ContextErrorMessage, KNativePointer, KNativePointer);
55
+
56
+ KNativePointer impl_ContextProgram(KNativePointer context)
57
+ {
58
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
59
+ auto result = GetImpl()->ContextProgram(_context);
60
+ return result;
61
+ }
62
+ KOALA_INTEROP_1(ContextProgram, KNativePointer, KNativePointer);
63
+
64
+ KNativePointer impl_CreateSourcePosition(KNativePointer context, KUInt index, KUInt line)
65
+ {
66
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
67
+ const auto _index = static_cast<KUInt>(index);
68
+ const auto _line = static_cast<KUInt>(line);
69
+ auto result = GetImpl()->CreateSourcePosition(_context, _index, _line);
70
+ return result;
71
+ }
72
+ KOALA_INTEROP_3(CreateSourcePosition, KNativePointer, KNativePointer, KUInt, KUInt);
73
+
74
+ KNativePointer impl_CreateSourceRange(KNativePointer context, KNativePointer start, KNativePointer end)
75
+ {
76
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
77
+ const auto _start = reinterpret_cast<es2panda_SourcePosition*>(start);
78
+ const auto _end = reinterpret_cast<es2panda_SourcePosition*>(end);
79
+ auto result = GetImpl()->CreateSourceRange(_context, _start, _end);
80
+ return result;
81
+ }
82
+ KOALA_INTEROP_3(CreateSourceRange, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
83
+
84
+ KUInt impl_SourcePositionIndex(KNativePointer context, KNativePointer position)
85
+ {
86
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
87
+ const auto _position = reinterpret_cast<es2panda_SourcePosition*>(position);
88
+ auto result = GetImpl()->SourcePositionIndex(_context, _position);
89
+ return result;
90
+ }
91
+ KOALA_INTEROP_2(SourcePositionIndex, KUInt, KNativePointer, KNativePointer);
92
+
93
+ KUInt impl_SourcePositionLine(KNativePointer context, KNativePointer position)
94
+ {
95
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
96
+ const auto _position = reinterpret_cast<es2panda_SourcePosition*>(position);
97
+ auto result = GetImpl()->SourcePositionLine(_context, _position);
98
+ return result;
99
+ }
100
+ KOALA_INTEROP_2(SourcePositionLine, KUInt, KNativePointer, KNativePointer);
101
+
102
+ KNativePointer impl_SourceRangeStart(KNativePointer context, KNativePointer range)
103
+ {
104
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
105
+ const auto _range = reinterpret_cast<es2panda_SourceRange*>(range);
106
+ auto result = GetImpl()->SourceRangeStart(_context, _range);
107
+ return result;
108
+ }
109
+ KOALA_INTEROP_2(SourceRangeStart, KNativePointer, KNativePointer, KNativePointer);
110
+
111
+ KNativePointer impl_SourceRangeEnd(KNativePointer context, KNativePointer range)
112
+ {
113
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
114
+ const auto _range = reinterpret_cast<es2panda_SourceRange*>(range);
115
+ auto result = GetImpl()->SourceRangeEnd(_context, _range);
116
+ return result;
117
+ }
118
+ KOALA_INTEROP_2(SourceRangeEnd, KNativePointer, KNativePointer, KNativePointer);
119
+
120
+ void impl_LogDiagnosticWithSuggestion(KNativePointer context, KNativePointer diagnosticInfo, KNativePointer suggestionInfo)
121
+ {
122
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
123
+ const auto _diagnosticInfo = reinterpret_cast<es2panda_DiagnosticInfo*>(diagnosticInfo);
124
+ const auto _suggestionInfo = reinterpret_cast<es2panda_SuggestionInfo*>(suggestionInfo);
125
+ GetImpl()->LogDiagnosticWithSuggestion(_context, _diagnosticInfo, _suggestionInfo);
126
+ return ;
127
+ }
128
+ KOALA_INTEROP_V3(LogDiagnosticWithSuggestion, KNativePointer, KNativePointer, KNativePointer);
129
+
130
+ KBoolean impl_IsAnyError(KNativePointer context)
131
+ {
132
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
133
+ auto result = GetImpl()->IsAnyError(_context);
134
+ return result;
135
+ }
136
+ KOALA_INTEROP_1(IsAnyError, KBoolean, KNativePointer);
137
+
138
+ void impl_AstNodeRecheck(KNativePointer context, KNativePointer node)
139
+ {
140
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
141
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
142
+ GetImpl()->AstNodeRecheck(_context, _node);
143
+ return ;
144
+ }
145
+ KOALA_INTEROP_V2(AstNodeRecheck, KNativePointer, KNativePointer);
146
+
147
+ KInt impl_Es2pandaEnumFromString(KNativePointer context, KStringPtr& str)
148
+ {
149
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
150
+ const auto _str = getStringCopy(str);
151
+ auto result = GetImpl()->Es2pandaEnumFromString(_context, _str);
152
+ return result;
153
+ }
154
+ KOALA_INTEROP_2(Es2pandaEnumFromString, KInt, KNativePointer, KStringPtr);
155
+
156
+ KNativePointer impl_Es2pandaEnumToString(KNativePointer context, KInt id)
157
+ {
158
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
159
+ const auto _id = static_cast<Es2pandaEnum>(id);
160
+ auto result = GetImpl()->Es2pandaEnumToString(_context, _id);
161
+ return StageArena::strdup(result);
162
+ }
163
+ KOALA_INTEROP_2(Es2pandaEnumToString, KNativePointer, KNativePointer, KInt);
164
+
165
+ KNativePointer impl_DeclarationFromIdentifier(KNativePointer context, KNativePointer node)
166
+ {
167
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
168
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
169
+ auto result = GetImpl()->DeclarationFromIdentifier(_context, _node);
170
+ return result;
171
+ }
172
+ KOALA_INTEROP_2(DeclarationFromIdentifier, KNativePointer, KNativePointer, KNativePointer);
173
+
174
+ KBoolean impl_IsImportTypeKind(KNativePointer context, KNativePointer node)
175
+ {
176
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
177
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
178
+ auto result = GetImpl()->IsImportTypeKind(_context, _node);
179
+ return result;
180
+ }
181
+ KOALA_INTEROP_2(IsImportTypeKind, KBoolean, KNativePointer, KNativePointer);
182
+
183
+ KNativePointer impl_JsdocStringFromDeclaration(KNativePointer context, KNativePointer node)
184
+ {
185
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
186
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
187
+ auto result = GetImpl()->JsdocStringFromDeclaration(_context, _node);
188
+ return StageArena::strdup(result);
189
+ }
190
+ KOALA_INTEROP_2(JsdocStringFromDeclaration, KNativePointer, KNativePointer, KNativePointer);
191
+
192
+ KNativePointer impl_GetLicenseFromRootNode(KNativePointer context, KNativePointer node)
193
+ {
194
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
195
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
196
+ auto result = GetImpl()->GetLicenseFromRootNode(_context, _node);
197
+ return StageArena::strdup(result);
198
+ }
199
+ KOALA_INTEROP_2(GetLicenseFromRootNode, KNativePointer, KNativePointer, KNativePointer);
200
+
201
+ KNativePointer impl_FirstDeclarationByNameFromNode(KNativePointer context, KNativePointer node, KStringPtr& name)
202
+ {
203
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
204
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
205
+ const auto _name = getStringCopy(name);
206
+ auto result = GetImpl()->FirstDeclarationByNameFromNode(_context, _node, _name);
207
+ return result;
208
+ }
209
+ KOALA_INTEROP_3(FirstDeclarationByNameFromNode, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
210
+
211
+ KNativePointer impl_FirstDeclarationByNameFromProgram(KNativePointer context, KNativePointer program, KStringPtr& name)
212
+ {
213
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
214
+ const auto _program = reinterpret_cast<es2panda_Program*>(program);
215
+ const auto _name = getStringCopy(name);
216
+ auto result = GetImpl()->FirstDeclarationByNameFromProgram(_context, _program, _name);
217
+ return result;
218
+ }
219
+ KOALA_INTEROP_3(FirstDeclarationByNameFromProgram, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
220
+
221
+ KNativePointer impl_AllDeclarationsByNameFromNode(KNativePointer context, KNativePointer node, KStringPtr& name)
222
+ {
223
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
224
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
225
+ const auto _name = getStringCopy(name);
226
+ std::size_t length;
227
+ auto result = GetImpl()->AllDeclarationsByNameFromNode(_context, _node, _name, &length);
228
+ return length ? StageArena::cloneVector(result, length) : nullptr;
229
+ }
230
+ KOALA_INTEROP_3(AllDeclarationsByNameFromNode, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
231
+
232
+ KNativePointer impl_AllDeclarationsByNameFromProgram(KNativePointer context, KNativePointer program, KStringPtr& name)
233
+ {
234
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
235
+ const auto _program = reinterpret_cast<es2panda_Program*>(program);
236
+ const auto _name = getStringCopy(name);
237
+ std::size_t length;
238
+ auto result = GetImpl()->AllDeclarationsByNameFromProgram(_context, _program, _name, &length);
239
+ return length ? StageArena::cloneVector(result, length) : nullptr;
240
+ }
241
+ KOALA_INTEROP_3(AllDeclarationsByNameFromProgram, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
242
+
243
+ void impl_InsertETSImportDeclarationAndParse(KNativePointer context, KNativePointer program, KNativePointer node)
244
+ {
245
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
246
+ const auto _program = reinterpret_cast<es2panda_Program*>(program);
247
+ const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
248
+ GetImpl()->InsertETSImportDeclarationAndParse(_context, _program, _node);
249
+ return ;
250
+ }
251
+ KOALA_INTEROP_V3(InsertETSImportDeclarationAndParse, KNativePointer, KNativePointer, KNativePointer);
252
+
253
+ KInt impl_GenerateStaticDeclarationsFromContext(KNativePointer context, KStringPtr& outputPath)
254
+ {
255
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
256
+ const auto _outputPath = getStringCopy(outputPath);
257
+ auto result = GetImpl()->GenerateStaticDeclarationsFromContext(_context, _outputPath);
258
+ return result;
259
+ }
260
+ KOALA_INTEROP_2(GenerateStaticDeclarationsFromContext, KInt, KNativePointer, KStringPtr);
261
+
262
+ KBoolean impl_IsExpression(KNativePointer ast)
263
+ {
264
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
265
+ auto result = GetImpl()->IsExpression(_ast);
266
+ return result;
267
+ }
268
+ KOALA_INTEROP_1(IsExpression, KBoolean, KNativePointer);
269
+
270
+ KBoolean impl_IsStatement(KNativePointer ast)
271
+ {
272
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
273
+ auto result = GetImpl()->IsStatement(_ast);
274
+ return result;
275
+ }
276
+ KOALA_INTEROP_1(IsStatement, KBoolean, KNativePointer);
277
+
278
+ KBoolean impl_IsArrowFunctionExpression(KNativePointer ast)
279
+ {
280
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
281
+ auto result = GetImpl()->IsArrowFunctionExpression(_ast);
282
+ return result;
283
+ }
284
+ KOALA_INTEROP_1(IsArrowFunctionExpression, KBoolean, KNativePointer);
285
+
286
+ KBoolean impl_IsAnnotationDeclaration(KNativePointer ast)
287
+ {
288
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
289
+ auto result = GetImpl()->IsAnnotationDeclaration(_ast);
290
+ return result;
291
+ }
292
+ KOALA_INTEROP_1(IsAnnotationDeclaration, KBoolean, KNativePointer);
293
+
294
+ KBoolean impl_IsAnnotationUsage(KNativePointer ast)
295
+ {
296
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
297
+ auto result = GetImpl()->IsAnnotationUsage(_ast);
298
+ return result;
299
+ }
300
+ KOALA_INTEROP_1(IsAnnotationUsage, KBoolean, KNativePointer);
301
+
302
+ KBoolean impl_IsAssertStatement(KNativePointer ast)
303
+ {
304
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
305
+ auto result = GetImpl()->IsAssertStatement(_ast);
306
+ return result;
307
+ }
308
+ KOALA_INTEROP_1(IsAssertStatement, KBoolean, KNativePointer);
309
+
310
+ KBoolean impl_IsAwaitExpression(KNativePointer ast)
311
+ {
312
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
313
+ auto result = GetImpl()->IsAwaitExpression(_ast);
314
+ return result;
315
+ }
316
+ KOALA_INTEROP_1(IsAwaitExpression, KBoolean, KNativePointer);
317
+
318
+ KBoolean impl_IsBigIntLiteral(KNativePointer ast)
319
+ {
320
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
321
+ auto result = GetImpl()->IsBigIntLiteral(_ast);
322
+ return result;
323
+ }
324
+ KOALA_INTEROP_1(IsBigIntLiteral, KBoolean, KNativePointer);
325
+
326
+ KBoolean impl_IsBinaryExpression(KNativePointer ast)
327
+ {
328
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
329
+ auto result = GetImpl()->IsBinaryExpression(_ast);
330
+ return result;
331
+ }
332
+ KOALA_INTEROP_1(IsBinaryExpression, KBoolean, KNativePointer);
333
+
334
+ KBoolean impl_IsBlockStatement(KNativePointer ast)
335
+ {
336
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
337
+ auto result = GetImpl()->IsBlockStatement(_ast);
338
+ return result;
339
+ }
340
+ KOALA_INTEROP_1(IsBlockStatement, KBoolean, KNativePointer);
341
+
342
+ KBoolean impl_IsBooleanLiteral(KNativePointer ast)
343
+ {
344
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
345
+ auto result = GetImpl()->IsBooleanLiteral(_ast);
346
+ return result;
347
+ }
348
+ KOALA_INTEROP_1(IsBooleanLiteral, KBoolean, KNativePointer);
349
+
350
+ KBoolean impl_IsBreakStatement(KNativePointer ast)
351
+ {
352
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
353
+ auto result = GetImpl()->IsBreakStatement(_ast);
354
+ return result;
355
+ }
356
+ KOALA_INTEROP_1(IsBreakStatement, KBoolean, KNativePointer);
357
+
358
+ KBoolean impl_IsCallExpression(KNativePointer ast)
359
+ {
360
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
361
+ auto result = GetImpl()->IsCallExpression(_ast);
362
+ return result;
363
+ }
364
+ KOALA_INTEROP_1(IsCallExpression, KBoolean, KNativePointer);
365
+
366
+ KBoolean impl_IsCatchClause(KNativePointer ast)
367
+ {
368
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
369
+ auto result = GetImpl()->IsCatchClause(_ast);
370
+ return result;
371
+ }
372
+ KOALA_INTEROP_1(IsCatchClause, KBoolean, KNativePointer);
373
+
374
+ KBoolean impl_IsChainExpression(KNativePointer ast)
375
+ {
376
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
377
+ auto result = GetImpl()->IsChainExpression(_ast);
378
+ return result;
379
+ }
380
+ KOALA_INTEROP_1(IsChainExpression, KBoolean, KNativePointer);
381
+
382
+ KBoolean impl_IsCharLiteral(KNativePointer ast)
383
+ {
384
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
385
+ auto result = GetImpl()->IsCharLiteral(_ast);
386
+ return result;
387
+ }
388
+ KOALA_INTEROP_1(IsCharLiteral, KBoolean, KNativePointer);
389
+
390
+ KBoolean impl_IsClassDefinition(KNativePointer ast)
391
+ {
392
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
393
+ auto result = GetImpl()->IsClassDefinition(_ast);
394
+ return result;
395
+ }
396
+ KOALA_INTEROP_1(IsClassDefinition, KBoolean, KNativePointer);
397
+
398
+ KBoolean impl_IsClassDeclaration(KNativePointer ast)
399
+ {
400
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
401
+ auto result = GetImpl()->IsClassDeclaration(_ast);
402
+ return result;
403
+ }
404
+ KOALA_INTEROP_1(IsClassDeclaration, KBoolean, KNativePointer);
405
+
406
+ KBoolean impl_IsClassExpression(KNativePointer ast)
407
+ {
408
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
409
+ auto result = GetImpl()->IsClassExpression(_ast);
410
+ return result;
411
+ }
412
+ KOALA_INTEROP_1(IsClassExpression, KBoolean, KNativePointer);
413
+
414
+ KBoolean impl_IsClassProperty(KNativePointer ast)
415
+ {
416
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
417
+ auto result = GetImpl()->IsClassProperty(_ast);
418
+ return result;
419
+ }
420
+ KOALA_INTEROP_1(IsClassProperty, KBoolean, KNativePointer);
421
+
422
+ KBoolean impl_IsClassStaticBlock(KNativePointer ast)
423
+ {
424
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
425
+ auto result = GetImpl()->IsClassStaticBlock(_ast);
426
+ return result;
427
+ }
428
+ KOALA_INTEROP_1(IsClassStaticBlock, KBoolean, KNativePointer);
429
+
430
+ KBoolean impl_IsConditionalExpression(KNativePointer ast)
431
+ {
432
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
433
+ auto result = GetImpl()->IsConditionalExpression(_ast);
434
+ return result;
435
+ }
436
+ KOALA_INTEROP_1(IsConditionalExpression, KBoolean, KNativePointer);
437
+
438
+ KBoolean impl_IsContinueStatement(KNativePointer ast)
439
+ {
440
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
441
+ auto result = GetImpl()->IsContinueStatement(_ast);
442
+ return result;
443
+ }
444
+ KOALA_INTEROP_1(IsContinueStatement, KBoolean, KNativePointer);
445
+
446
+ KBoolean impl_IsDebuggerStatement(KNativePointer ast)
447
+ {
448
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
449
+ auto result = GetImpl()->IsDebuggerStatement(_ast);
450
+ return result;
451
+ }
452
+ KOALA_INTEROP_1(IsDebuggerStatement, KBoolean, KNativePointer);
453
+
454
+ KBoolean impl_IsDecorator(KNativePointer ast)
455
+ {
456
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
457
+ auto result = GetImpl()->IsDecorator(_ast);
458
+ return result;
459
+ }
460
+ KOALA_INTEROP_1(IsDecorator, KBoolean, KNativePointer);
461
+
462
+ KBoolean impl_IsDirectEvalExpression(KNativePointer ast)
463
+ {
464
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
465
+ auto result = GetImpl()->IsDirectEvalExpression(_ast);
466
+ return result;
467
+ }
468
+ KOALA_INTEROP_1(IsDirectEvalExpression, KBoolean, KNativePointer);
469
+
470
+ KBoolean impl_IsDoWhileStatement(KNativePointer ast)
471
+ {
472
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
473
+ auto result = GetImpl()->IsDoWhileStatement(_ast);
474
+ return result;
475
+ }
476
+ KOALA_INTEROP_1(IsDoWhileStatement, KBoolean, KNativePointer);
477
+
478
+ KBoolean impl_IsEmptyStatement(KNativePointer ast)
479
+ {
480
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
481
+ auto result = GetImpl()->IsEmptyStatement(_ast);
482
+ return result;
483
+ }
484
+ KOALA_INTEROP_1(IsEmptyStatement, KBoolean, KNativePointer);
485
+
486
+ KBoolean impl_IsExportAllDeclaration(KNativePointer ast)
487
+ {
488
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
489
+ auto result = GetImpl()->IsExportAllDeclaration(_ast);
490
+ return result;
491
+ }
492
+ KOALA_INTEROP_1(IsExportAllDeclaration, KBoolean, KNativePointer);
493
+
494
+ KBoolean impl_IsExportDefaultDeclaration(KNativePointer ast)
495
+ {
496
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
497
+ auto result = GetImpl()->IsExportDefaultDeclaration(_ast);
498
+ return result;
499
+ }
500
+ KOALA_INTEROP_1(IsExportDefaultDeclaration, KBoolean, KNativePointer);
501
+
502
+ KBoolean impl_IsExportNamedDeclaration(KNativePointer ast)
503
+ {
504
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
505
+ auto result = GetImpl()->IsExportNamedDeclaration(_ast);
506
+ return result;
507
+ }
508
+ KOALA_INTEROP_1(IsExportNamedDeclaration, KBoolean, KNativePointer);
509
+
510
+ KBoolean impl_IsExportSpecifier(KNativePointer ast)
511
+ {
512
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
513
+ auto result = GetImpl()->IsExportSpecifier(_ast);
514
+ return result;
515
+ }
516
+ KOALA_INTEROP_1(IsExportSpecifier, KBoolean, KNativePointer);
517
+
518
+ KBoolean impl_IsExpressionStatement(KNativePointer ast)
519
+ {
520
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
521
+ auto result = GetImpl()->IsExpressionStatement(_ast);
522
+ return result;
523
+ }
524
+ KOALA_INTEROP_1(IsExpressionStatement, KBoolean, KNativePointer);
525
+
526
+ KBoolean impl_IsForInStatement(KNativePointer ast)
527
+ {
528
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
529
+ auto result = GetImpl()->IsForInStatement(_ast);
530
+ return result;
531
+ }
532
+ KOALA_INTEROP_1(IsForInStatement, KBoolean, KNativePointer);
533
+
534
+ KBoolean impl_IsForOfStatement(KNativePointer ast)
535
+ {
536
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
537
+ auto result = GetImpl()->IsForOfStatement(_ast);
538
+ return result;
539
+ }
540
+ KOALA_INTEROP_1(IsForOfStatement, KBoolean, KNativePointer);
541
+
542
+ KBoolean impl_IsForUpdateStatement(KNativePointer ast)
543
+ {
544
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
545
+ auto result = GetImpl()->IsForUpdateStatement(_ast);
546
+ return result;
547
+ }
548
+ KOALA_INTEROP_1(IsForUpdateStatement, KBoolean, KNativePointer);
549
+
550
+ KBoolean impl_IsFunctionDeclaration(KNativePointer ast)
551
+ {
552
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
553
+ auto result = GetImpl()->IsFunctionDeclaration(_ast);
554
+ return result;
555
+ }
556
+ KOALA_INTEROP_1(IsFunctionDeclaration, KBoolean, KNativePointer);
557
+
558
+ KBoolean impl_IsFunctionExpression(KNativePointer ast)
559
+ {
560
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
561
+ auto result = GetImpl()->IsFunctionExpression(_ast);
562
+ return result;
563
+ }
564
+ KOALA_INTEROP_1(IsFunctionExpression, KBoolean, KNativePointer);
565
+
566
+ KBoolean impl_IsIdentifier(KNativePointer ast)
567
+ {
568
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
569
+ auto result = GetImpl()->IsIdentifier(_ast);
570
+ return result;
571
+ }
572
+ KOALA_INTEROP_1(IsIdentifier, KBoolean, KNativePointer);
573
+
574
+ KBoolean impl_IsDummyNode(KNativePointer ast)
575
+ {
576
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
577
+ auto result = GetImpl()->IsDummyNode(_ast);
578
+ return result;
579
+ }
580
+ KOALA_INTEROP_1(IsDummyNode, KBoolean, KNativePointer);
581
+
582
+ KBoolean impl_IsIfStatement(KNativePointer ast)
583
+ {
584
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
585
+ auto result = GetImpl()->IsIfStatement(_ast);
586
+ return result;
587
+ }
588
+ KOALA_INTEROP_1(IsIfStatement, KBoolean, KNativePointer);
589
+
590
+ KBoolean impl_IsImportDeclaration(KNativePointer ast)
591
+ {
592
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
593
+ auto result = GetImpl()->IsImportDeclaration(_ast);
594
+ return result;
595
+ }
596
+ KOALA_INTEROP_1(IsImportDeclaration, KBoolean, KNativePointer);
597
+
598
+ KBoolean impl_IsImportExpression(KNativePointer ast)
599
+ {
600
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
601
+ auto result = GetImpl()->IsImportExpression(_ast);
602
+ return result;
603
+ }
604
+ KOALA_INTEROP_1(IsImportExpression, KBoolean, KNativePointer);
605
+
606
+ KBoolean impl_IsImportDefaultSpecifier(KNativePointer ast)
607
+ {
608
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
609
+ auto result = GetImpl()->IsImportDefaultSpecifier(_ast);
610
+ return result;
611
+ }
612
+ KOALA_INTEROP_1(IsImportDefaultSpecifier, KBoolean, KNativePointer);
613
+
614
+ KBoolean impl_IsImportNamespaceSpecifier(KNativePointer ast)
615
+ {
616
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
617
+ auto result = GetImpl()->IsImportNamespaceSpecifier(_ast);
618
+ return result;
619
+ }
620
+ KOALA_INTEROP_1(IsImportNamespaceSpecifier, KBoolean, KNativePointer);
621
+
622
+ KBoolean impl_IsImportSpecifier(KNativePointer ast)
623
+ {
624
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
625
+ auto result = GetImpl()->IsImportSpecifier(_ast);
626
+ return result;
627
+ }
628
+ KOALA_INTEROP_1(IsImportSpecifier, KBoolean, KNativePointer);
629
+
630
+ KBoolean impl_IsLabelledStatement(KNativePointer ast)
631
+ {
632
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
633
+ auto result = GetImpl()->IsLabelledStatement(_ast);
634
+ return result;
635
+ }
636
+ KOALA_INTEROP_1(IsLabelledStatement, KBoolean, KNativePointer);
637
+
638
+ KBoolean impl_IsMemberExpression(KNativePointer ast)
639
+ {
640
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
641
+ auto result = GetImpl()->IsMemberExpression(_ast);
642
+ return result;
643
+ }
644
+ KOALA_INTEROP_1(IsMemberExpression, KBoolean, KNativePointer);
645
+
646
+ KBoolean impl_IsMetaProperty(KNativePointer ast)
647
+ {
648
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
649
+ auto result = GetImpl()->IsMetaProperty(_ast);
650
+ return result;
651
+ }
652
+ KOALA_INTEROP_1(IsMetaProperty, KBoolean, KNativePointer);
653
+
654
+ KBoolean impl_IsMethodDefinition(KNativePointer ast)
655
+ {
656
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
657
+ auto result = GetImpl()->IsMethodDefinition(_ast);
658
+ return result;
659
+ }
660
+ KOALA_INTEROP_1(IsMethodDefinition, KBoolean, KNativePointer);
661
+
662
+ KBoolean impl_IsNamedType(KNativePointer ast)
663
+ {
664
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
665
+ auto result = GetImpl()->IsNamedType(_ast);
666
+ return result;
667
+ }
668
+ KOALA_INTEROP_1(IsNamedType, KBoolean, KNativePointer);
669
+
670
+ KBoolean impl_IsNewExpression(KNativePointer ast)
671
+ {
672
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
673
+ auto result = GetImpl()->IsNewExpression(_ast);
674
+ return result;
675
+ }
676
+ KOALA_INTEROP_1(IsNewExpression, KBoolean, KNativePointer);
677
+
678
+ KBoolean impl_IsNullLiteral(KNativePointer ast)
679
+ {
680
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
681
+ auto result = GetImpl()->IsNullLiteral(_ast);
682
+ return result;
683
+ }
684
+ KOALA_INTEROP_1(IsNullLiteral, KBoolean, KNativePointer);
685
+
686
+ KBoolean impl_IsUndefinedLiteral(KNativePointer ast)
687
+ {
688
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
689
+ auto result = GetImpl()->IsUndefinedLiteral(_ast);
690
+ return result;
691
+ }
692
+ KOALA_INTEROP_1(IsUndefinedLiteral, KBoolean, KNativePointer);
693
+
694
+ KBoolean impl_IsNumberLiteral(KNativePointer ast)
695
+ {
696
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
697
+ auto result = GetImpl()->IsNumberLiteral(_ast);
698
+ return result;
699
+ }
700
+ KOALA_INTEROP_1(IsNumberLiteral, KBoolean, KNativePointer);
701
+
702
+ KBoolean impl_IsOmittedExpression(KNativePointer ast)
703
+ {
704
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
705
+ auto result = GetImpl()->IsOmittedExpression(_ast);
706
+ return result;
707
+ }
708
+ KOALA_INTEROP_1(IsOmittedExpression, KBoolean, KNativePointer);
709
+
710
+ KBoolean impl_IsOverloadDeclaration(KNativePointer ast)
711
+ {
712
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
713
+ auto result = GetImpl()->IsOverloadDeclaration(_ast);
714
+ return result;
715
+ }
716
+ KOALA_INTEROP_1(IsOverloadDeclaration, KBoolean, KNativePointer);
717
+
718
+ KBoolean impl_IsPrefixAssertionExpression(KNativePointer ast)
719
+ {
720
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
721
+ auto result = GetImpl()->IsPrefixAssertionExpression(_ast);
722
+ return result;
723
+ }
724
+ KOALA_INTEROP_1(IsPrefixAssertionExpression, KBoolean, KNativePointer);
725
+
726
+ KBoolean impl_IsProperty(KNativePointer ast)
727
+ {
728
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
729
+ auto result = GetImpl()->IsProperty(_ast);
730
+ return result;
731
+ }
732
+ KOALA_INTEROP_1(IsProperty, KBoolean, KNativePointer);
733
+
734
+ KBoolean impl_IsRegExpLiteral(KNativePointer ast)
735
+ {
736
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
737
+ auto result = GetImpl()->IsRegExpLiteral(_ast);
738
+ return result;
739
+ }
740
+ KOALA_INTEROP_1(IsRegExpLiteral, KBoolean, KNativePointer);
741
+
742
+ KBoolean impl_IsETSReExportDeclaration(KNativePointer ast)
743
+ {
744
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
745
+ auto result = GetImpl()->IsETSReExportDeclaration(_ast);
746
+ return result;
747
+ }
748
+ KOALA_INTEROP_1(IsETSReExportDeclaration, KBoolean, KNativePointer);
749
+
750
+ KBoolean impl_IsReturnStatement(KNativePointer ast)
751
+ {
752
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
753
+ auto result = GetImpl()->IsReturnStatement(_ast);
754
+ return result;
755
+ }
756
+ KOALA_INTEROP_1(IsReturnStatement, KBoolean, KNativePointer);
757
+
758
+ KBoolean impl_IsScriptFunction(KNativePointer ast)
759
+ {
760
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
761
+ auto result = GetImpl()->IsScriptFunction(_ast);
762
+ return result;
763
+ }
764
+ KOALA_INTEROP_1(IsScriptFunction, KBoolean, KNativePointer);
765
+
766
+ KBoolean impl_IsSequenceExpression(KNativePointer ast)
767
+ {
768
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
769
+ auto result = GetImpl()->IsSequenceExpression(_ast);
770
+ return result;
771
+ }
772
+ KOALA_INTEROP_1(IsSequenceExpression, KBoolean, KNativePointer);
773
+
774
+ KBoolean impl_IsStringLiteral(KNativePointer ast)
775
+ {
776
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
777
+ auto result = GetImpl()->IsStringLiteral(_ast);
778
+ return result;
779
+ }
780
+ KOALA_INTEROP_1(IsStringLiteral, KBoolean, KNativePointer);
781
+
782
+ KBoolean impl_IsETSNonNullishTypeNode(KNativePointer ast)
783
+ {
784
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
785
+ auto result = GetImpl()->IsETSNonNullishTypeNode(_ast);
786
+ return result;
787
+ }
788
+ KOALA_INTEROP_1(IsETSNonNullishTypeNode, KBoolean, KNativePointer);
789
+
790
+ KBoolean impl_IsETSNullType(KNativePointer ast)
791
+ {
792
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
793
+ auto result = GetImpl()->IsETSNullType(_ast);
794
+ return result;
795
+ }
796
+ KOALA_INTEROP_1(IsETSNullType, KBoolean, KNativePointer);
797
+
798
+ KBoolean impl_IsETSUndefinedType(KNativePointer ast)
799
+ {
800
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
801
+ auto result = GetImpl()->IsETSUndefinedType(_ast);
802
+ return result;
803
+ }
804
+ KOALA_INTEROP_1(IsETSUndefinedType, KBoolean, KNativePointer);
805
+
806
+ KBoolean impl_IsETSNeverType(KNativePointer ast)
807
+ {
808
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
809
+ auto result = GetImpl()->IsETSNeverType(_ast);
810
+ return result;
811
+ }
812
+ KOALA_INTEROP_1(IsETSNeverType, KBoolean, KNativePointer);
813
+
814
+ KBoolean impl_IsETSStringLiteralType(KNativePointer ast)
815
+ {
816
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
817
+ auto result = GetImpl()->IsETSStringLiteralType(_ast);
818
+ return result;
819
+ }
820
+ KOALA_INTEROP_1(IsETSStringLiteralType, KBoolean, KNativePointer);
821
+
822
+ KBoolean impl_IsETSIntrinsicNode(KNativePointer ast)
823
+ {
824
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
825
+ auto result = GetImpl()->IsETSIntrinsicNode(_ast);
826
+ return result;
827
+ }
828
+ KOALA_INTEROP_1(IsETSIntrinsicNode, KBoolean, KNativePointer);
829
+
830
+ KBoolean impl_IsETSFunctionType(KNativePointer ast)
831
+ {
832
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
833
+ auto result = GetImpl()->IsETSFunctionType(_ast);
834
+ return result;
835
+ }
836
+ KOALA_INTEROP_1(IsETSFunctionType, KBoolean, KNativePointer);
837
+
838
+ KBoolean impl_IsETSWildcardType(KNativePointer ast)
839
+ {
840
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
841
+ auto result = GetImpl()->IsETSWildcardType(_ast);
842
+ return result;
843
+ }
844
+ KOALA_INTEROP_1(IsETSWildcardType, KBoolean, KNativePointer);
845
+
846
+ KBoolean impl_IsETSPrimitiveType(KNativePointer ast)
847
+ {
848
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
849
+ auto result = GetImpl()->IsETSPrimitiveType(_ast);
850
+ return result;
851
+ }
852
+ KOALA_INTEROP_1(IsETSPrimitiveType, KBoolean, KNativePointer);
853
+
854
+ KBoolean impl_IsETSPackageDeclaration(KNativePointer ast)
855
+ {
856
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
857
+ auto result = GetImpl()->IsETSPackageDeclaration(_ast);
858
+ return result;
859
+ }
860
+ KOALA_INTEROP_1(IsETSPackageDeclaration, KBoolean, KNativePointer);
861
+
862
+ KBoolean impl_IsETSClassLiteral(KNativePointer ast)
863
+ {
864
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
865
+ auto result = GetImpl()->IsETSClassLiteral(_ast);
866
+ return result;
867
+ }
868
+ KOALA_INTEROP_1(IsETSClassLiteral, KBoolean, KNativePointer);
869
+
870
+ KBoolean impl_IsETSTypeReference(KNativePointer ast)
871
+ {
872
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
873
+ auto result = GetImpl()->IsETSTypeReference(_ast);
874
+ return result;
875
+ }
876
+ KOALA_INTEROP_1(IsETSTypeReference, KBoolean, KNativePointer);
877
+
878
+ KBoolean impl_IsETSTypeReferencePart(KNativePointer ast)
879
+ {
880
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
881
+ auto result = GetImpl()->IsETSTypeReferencePart(_ast);
882
+ return result;
883
+ }
884
+ KOALA_INTEROP_1(IsETSTypeReferencePart, KBoolean, KNativePointer);
885
+
886
+ KBoolean impl_IsETSUnionType(KNativePointer ast)
887
+ {
888
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
889
+ auto result = GetImpl()->IsETSUnionType(_ast);
890
+ return result;
891
+ }
892
+ KOALA_INTEROP_1(IsETSUnionType, KBoolean, KNativePointer);
893
+
894
+ KBoolean impl_IsETSKeyofType(KNativePointer ast)
895
+ {
896
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
897
+ auto result = GetImpl()->IsETSKeyofType(_ast);
898
+ return result;
899
+ }
900
+ KOALA_INTEROP_1(IsETSKeyofType, KBoolean, KNativePointer);
901
+
902
+ KBoolean impl_IsETSNewArrayInstanceExpression(KNativePointer ast)
903
+ {
904
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
905
+ auto result = GetImpl()->IsETSNewArrayInstanceExpression(_ast);
906
+ return result;
907
+ }
908
+ KOALA_INTEROP_1(IsETSNewArrayInstanceExpression, KBoolean, KNativePointer);
909
+
910
+ KBoolean impl_IsETSNewMultiDimArrayInstanceExpression(KNativePointer ast)
911
+ {
912
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
913
+ auto result = GetImpl()->IsETSNewMultiDimArrayInstanceExpression(_ast);
914
+ return result;
915
+ }
916
+ KOALA_INTEROP_1(IsETSNewMultiDimArrayInstanceExpression, KBoolean, KNativePointer);
917
+
918
+ KBoolean impl_IsETSNewClassInstanceExpression(KNativePointer ast)
919
+ {
920
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
921
+ auto result = GetImpl()->IsETSNewClassInstanceExpression(_ast);
922
+ return result;
923
+ }
924
+ KOALA_INTEROP_1(IsETSNewClassInstanceExpression, KBoolean, KNativePointer);
925
+
926
+ KBoolean impl_IsETSImportDeclaration(KNativePointer ast)
927
+ {
928
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
929
+ auto result = GetImpl()->IsETSImportDeclaration(_ast);
930
+ return result;
931
+ }
932
+ KOALA_INTEROP_1(IsETSImportDeclaration, KBoolean, KNativePointer);
933
+
934
+ KBoolean impl_IsETSParameterExpression(KNativePointer ast)
935
+ {
936
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
937
+ auto result = GetImpl()->IsETSParameterExpression(_ast);
938
+ return result;
939
+ }
940
+ KOALA_INTEROP_1(IsETSParameterExpression, KBoolean, KNativePointer);
941
+
942
+ KBoolean impl_IsETSTuple(KNativePointer ast)
943
+ {
944
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
945
+ auto result = GetImpl()->IsETSTuple(_ast);
946
+ return result;
947
+ }
948
+ KOALA_INTEROP_1(IsETSTuple, KBoolean, KNativePointer);
949
+
950
+ KBoolean impl_IsETSModule(KNativePointer ast)
951
+ {
952
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
953
+ auto result = GetImpl()->IsETSModule(_ast);
954
+ return result;
955
+ }
956
+ KOALA_INTEROP_1(IsETSModule, KBoolean, KNativePointer);
957
+
958
+ KBoolean impl_IsSuperExpression(KNativePointer ast)
959
+ {
960
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
961
+ auto result = GetImpl()->IsSuperExpression(_ast);
962
+ return result;
963
+ }
964
+ KOALA_INTEROP_1(IsSuperExpression, KBoolean, KNativePointer);
965
+
966
+ KBoolean impl_IsETSStructDeclaration(KNativePointer ast)
967
+ {
968
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
969
+ auto result = GetImpl()->IsETSStructDeclaration(_ast);
970
+ return result;
971
+ }
972
+ KOALA_INTEROP_1(IsETSStructDeclaration, KBoolean, KNativePointer);
973
+
974
+ KBoolean impl_IsSwitchCaseStatement(KNativePointer ast)
975
+ {
976
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
977
+ auto result = GetImpl()->IsSwitchCaseStatement(_ast);
978
+ return result;
979
+ }
980
+ KOALA_INTEROP_1(IsSwitchCaseStatement, KBoolean, KNativePointer);
981
+
982
+ KBoolean impl_IsSwitchStatement(KNativePointer ast)
983
+ {
984
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
985
+ auto result = GetImpl()->IsSwitchStatement(_ast);
986
+ return result;
987
+ }
988
+ KOALA_INTEROP_1(IsSwitchStatement, KBoolean, KNativePointer);
989
+
990
+ KBoolean impl_IsTSEnumDeclaration(KNativePointer ast)
991
+ {
992
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
993
+ auto result = GetImpl()->IsTSEnumDeclaration(_ast);
994
+ return result;
995
+ }
996
+ KOALA_INTEROP_1(IsTSEnumDeclaration, KBoolean, KNativePointer);
997
+
998
+ KBoolean impl_IsTSEnumMember(KNativePointer ast)
999
+ {
1000
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1001
+ auto result = GetImpl()->IsTSEnumMember(_ast);
1002
+ return result;
1003
+ }
1004
+ KOALA_INTEROP_1(IsTSEnumMember, KBoolean, KNativePointer);
1005
+
1006
+ KBoolean impl_IsTSExternalModuleReference(KNativePointer ast)
1007
+ {
1008
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1009
+ auto result = GetImpl()->IsTSExternalModuleReference(_ast);
1010
+ return result;
1011
+ }
1012
+ KOALA_INTEROP_1(IsTSExternalModuleReference, KBoolean, KNativePointer);
1013
+
1014
+ KBoolean impl_IsTSNumberKeyword(KNativePointer ast)
1015
+ {
1016
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1017
+ auto result = GetImpl()->IsTSNumberKeyword(_ast);
1018
+ return result;
1019
+ }
1020
+ KOALA_INTEROP_1(IsTSNumberKeyword, KBoolean, KNativePointer);
1021
+
1022
+ KBoolean impl_IsTSAnyKeyword(KNativePointer ast)
1023
+ {
1024
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1025
+ auto result = GetImpl()->IsTSAnyKeyword(_ast);
1026
+ return result;
1027
+ }
1028
+ KOALA_INTEROP_1(IsTSAnyKeyword, KBoolean, KNativePointer);
1029
+
1030
+ KBoolean impl_IsTSStringKeyword(KNativePointer ast)
1031
+ {
1032
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1033
+ auto result = GetImpl()->IsTSStringKeyword(_ast);
1034
+ return result;
1035
+ }
1036
+ KOALA_INTEROP_1(IsTSStringKeyword, KBoolean, KNativePointer);
1037
+
1038
+ KBoolean impl_IsTSBooleanKeyword(KNativePointer ast)
1039
+ {
1040
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1041
+ auto result = GetImpl()->IsTSBooleanKeyword(_ast);
1042
+ return result;
1043
+ }
1044
+ KOALA_INTEROP_1(IsTSBooleanKeyword, KBoolean, KNativePointer);
1045
+
1046
+ KBoolean impl_IsTSVoidKeyword(KNativePointer ast)
1047
+ {
1048
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1049
+ auto result = GetImpl()->IsTSVoidKeyword(_ast);
1050
+ return result;
1051
+ }
1052
+ KOALA_INTEROP_1(IsTSVoidKeyword, KBoolean, KNativePointer);
1053
+
1054
+ KBoolean impl_IsTSUndefinedKeyword(KNativePointer ast)
1055
+ {
1056
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1057
+ auto result = GetImpl()->IsTSUndefinedKeyword(_ast);
1058
+ return result;
1059
+ }
1060
+ KOALA_INTEROP_1(IsTSUndefinedKeyword, KBoolean, KNativePointer);
1061
+
1062
+ KBoolean impl_IsTSUnknownKeyword(KNativePointer ast)
1063
+ {
1064
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1065
+ auto result = GetImpl()->IsTSUnknownKeyword(_ast);
1066
+ return result;
1067
+ }
1068
+ KOALA_INTEROP_1(IsTSUnknownKeyword, KBoolean, KNativePointer);
1069
+
1070
+ KBoolean impl_IsTSObjectKeyword(KNativePointer ast)
1071
+ {
1072
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1073
+ auto result = GetImpl()->IsTSObjectKeyword(_ast);
1074
+ return result;
1075
+ }
1076
+ KOALA_INTEROP_1(IsTSObjectKeyword, KBoolean, KNativePointer);
1077
+
1078
+ KBoolean impl_IsTSBigintKeyword(KNativePointer ast)
1079
+ {
1080
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1081
+ auto result = GetImpl()->IsTSBigintKeyword(_ast);
1082
+ return result;
1083
+ }
1084
+ KOALA_INTEROP_1(IsTSBigintKeyword, KBoolean, KNativePointer);
1085
+
1086
+ KBoolean impl_IsTSNeverKeyword(KNativePointer ast)
1087
+ {
1088
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1089
+ auto result = GetImpl()->IsTSNeverKeyword(_ast);
1090
+ return result;
1091
+ }
1092
+ KOALA_INTEROP_1(IsTSNeverKeyword, KBoolean, KNativePointer);
1093
+
1094
+ KBoolean impl_IsTSNonNullExpression(KNativePointer ast)
1095
+ {
1096
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1097
+ auto result = GetImpl()->IsTSNonNullExpression(_ast);
1098
+ return result;
1099
+ }
1100
+ KOALA_INTEROP_1(IsTSNonNullExpression, KBoolean, KNativePointer);
1101
+
1102
+ KBoolean impl_IsTSNullKeyword(KNativePointer ast)
1103
+ {
1104
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1105
+ auto result = GetImpl()->IsTSNullKeyword(_ast);
1106
+ return result;
1107
+ }
1108
+ KOALA_INTEROP_1(IsTSNullKeyword, KBoolean, KNativePointer);
1109
+
1110
+ KBoolean impl_IsTSArrayType(KNativePointer ast)
1111
+ {
1112
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1113
+ auto result = GetImpl()->IsTSArrayType(_ast);
1114
+ return result;
1115
+ }
1116
+ KOALA_INTEROP_1(IsTSArrayType, KBoolean, KNativePointer);
1117
+
1118
+ KBoolean impl_IsTSUnionType(KNativePointer ast)
1119
+ {
1120
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1121
+ auto result = GetImpl()->IsTSUnionType(_ast);
1122
+ return result;
1123
+ }
1124
+ KOALA_INTEROP_1(IsTSUnionType, KBoolean, KNativePointer);
1125
+
1126
+ KBoolean impl_IsTSTypeLiteral(KNativePointer ast)
1127
+ {
1128
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1129
+ auto result = GetImpl()->IsTSTypeLiteral(_ast);
1130
+ return result;
1131
+ }
1132
+ KOALA_INTEROP_1(IsTSTypeLiteral, KBoolean, KNativePointer);
1133
+
1134
+ KBoolean impl_IsTSPropertySignature(KNativePointer ast)
1135
+ {
1136
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1137
+ auto result = GetImpl()->IsTSPropertySignature(_ast);
1138
+ return result;
1139
+ }
1140
+ KOALA_INTEROP_1(IsTSPropertySignature, KBoolean, KNativePointer);
1141
+
1142
+ KBoolean impl_IsTSMethodSignature(KNativePointer ast)
1143
+ {
1144
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1145
+ auto result = GetImpl()->IsTSMethodSignature(_ast);
1146
+ return result;
1147
+ }
1148
+ KOALA_INTEROP_1(IsTSMethodSignature, KBoolean, KNativePointer);
1149
+
1150
+ KBoolean impl_IsTSSignatureDeclaration(KNativePointer ast)
1151
+ {
1152
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1153
+ auto result = GetImpl()->IsTSSignatureDeclaration(_ast);
1154
+ return result;
1155
+ }
1156
+ KOALA_INTEROP_1(IsTSSignatureDeclaration, KBoolean, KNativePointer);
1157
+
1158
+ KBoolean impl_IsTSParenthesizedType(KNativePointer ast)
1159
+ {
1160
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1161
+ auto result = GetImpl()->IsTSParenthesizedType(_ast);
1162
+ return result;
1163
+ }
1164
+ KOALA_INTEROP_1(IsTSParenthesizedType, KBoolean, KNativePointer);
1165
+
1166
+ KBoolean impl_IsTSLiteralType(KNativePointer ast)
1167
+ {
1168
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1169
+ auto result = GetImpl()->IsTSLiteralType(_ast);
1170
+ return result;
1171
+ }
1172
+ KOALA_INTEROP_1(IsTSLiteralType, KBoolean, KNativePointer);
1173
+
1174
+ KBoolean impl_IsTSInferType(KNativePointer ast)
1175
+ {
1176
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1177
+ auto result = GetImpl()->IsTSInferType(_ast);
1178
+ return result;
1179
+ }
1180
+ KOALA_INTEROP_1(IsTSInferType, KBoolean, KNativePointer);
1181
+
1182
+ KBoolean impl_IsTSConditionalType(KNativePointer ast)
1183
+ {
1184
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1185
+ auto result = GetImpl()->IsTSConditionalType(_ast);
1186
+ return result;
1187
+ }
1188
+ KOALA_INTEROP_1(IsTSConditionalType, KBoolean, KNativePointer);
1189
+
1190
+ KBoolean impl_IsTSImportType(KNativePointer ast)
1191
+ {
1192
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1193
+ auto result = GetImpl()->IsTSImportType(_ast);
1194
+ return result;
1195
+ }
1196
+ KOALA_INTEROP_1(IsTSImportType, KBoolean, KNativePointer);
1197
+
1198
+ KBoolean impl_IsTSIntersectionType(KNativePointer ast)
1199
+ {
1200
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1201
+ auto result = GetImpl()->IsTSIntersectionType(_ast);
1202
+ return result;
1203
+ }
1204
+ KOALA_INTEROP_1(IsTSIntersectionType, KBoolean, KNativePointer);
1205
+
1206
+ KBoolean impl_IsTSMappedType(KNativePointer ast)
1207
+ {
1208
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1209
+ auto result = GetImpl()->IsTSMappedType(_ast);
1210
+ return result;
1211
+ }
1212
+ KOALA_INTEROP_1(IsTSMappedType, KBoolean, KNativePointer);
1213
+
1214
+ KBoolean impl_IsTSModuleBlock(KNativePointer ast)
1215
+ {
1216
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1217
+ auto result = GetImpl()->IsTSModuleBlock(_ast);
1218
+ return result;
1219
+ }
1220
+ KOALA_INTEROP_1(IsTSModuleBlock, KBoolean, KNativePointer);
1221
+
1222
+ KBoolean impl_IsTSThisType(KNativePointer ast)
1223
+ {
1224
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1225
+ auto result = GetImpl()->IsTSThisType(_ast);
1226
+ return result;
1227
+ }
1228
+ KOALA_INTEROP_1(IsTSThisType, KBoolean, KNativePointer);
1229
+
1230
+ KBoolean impl_IsTSTypeOperator(KNativePointer ast)
1231
+ {
1232
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1233
+ auto result = GetImpl()->IsTSTypeOperator(_ast);
1234
+ return result;
1235
+ }
1236
+ KOALA_INTEROP_1(IsTSTypeOperator, KBoolean, KNativePointer);
1237
+
1238
+ KBoolean impl_IsTSTypeParameter(KNativePointer ast)
1239
+ {
1240
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1241
+ auto result = GetImpl()->IsTSTypeParameter(_ast);
1242
+ return result;
1243
+ }
1244
+ KOALA_INTEROP_1(IsTSTypeParameter, KBoolean, KNativePointer);
1245
+
1246
+ KBoolean impl_IsTSTypeParameterDeclaration(KNativePointer ast)
1247
+ {
1248
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1249
+ auto result = GetImpl()->IsTSTypeParameterDeclaration(_ast);
1250
+ return result;
1251
+ }
1252
+ KOALA_INTEROP_1(IsTSTypeParameterDeclaration, KBoolean, KNativePointer);
1253
+
1254
+ KBoolean impl_IsTSTypeParameterInstantiation(KNativePointer ast)
1255
+ {
1256
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1257
+ auto result = GetImpl()->IsTSTypeParameterInstantiation(_ast);
1258
+ return result;
1259
+ }
1260
+ KOALA_INTEROP_1(IsTSTypeParameterInstantiation, KBoolean, KNativePointer);
1261
+
1262
+ KBoolean impl_IsTSTypePredicate(KNativePointer ast)
1263
+ {
1264
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1265
+ auto result = GetImpl()->IsTSTypePredicate(_ast);
1266
+ return result;
1267
+ }
1268
+ KOALA_INTEROP_1(IsTSTypePredicate, KBoolean, KNativePointer);
1269
+
1270
+ KBoolean impl_IsTSParameterProperty(KNativePointer ast)
1271
+ {
1272
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1273
+ auto result = GetImpl()->IsTSParameterProperty(_ast);
1274
+ return result;
1275
+ }
1276
+ KOALA_INTEROP_1(IsTSParameterProperty, KBoolean, KNativePointer);
1277
+
1278
+ KBoolean impl_IsTSModuleDeclaration(KNativePointer ast)
1279
+ {
1280
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1281
+ auto result = GetImpl()->IsTSModuleDeclaration(_ast);
1282
+ return result;
1283
+ }
1284
+ KOALA_INTEROP_1(IsTSModuleDeclaration, KBoolean, KNativePointer);
1285
+
1286
+ KBoolean impl_IsTSImportEqualsDeclaration(KNativePointer ast)
1287
+ {
1288
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1289
+ auto result = GetImpl()->IsTSImportEqualsDeclaration(_ast);
1290
+ return result;
1291
+ }
1292
+ KOALA_INTEROP_1(IsTSImportEqualsDeclaration, KBoolean, KNativePointer);
1293
+
1294
+ KBoolean impl_IsTSFunctionType(KNativePointer ast)
1295
+ {
1296
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1297
+ auto result = GetImpl()->IsTSFunctionType(_ast);
1298
+ return result;
1299
+ }
1300
+ KOALA_INTEROP_1(IsTSFunctionType, KBoolean, KNativePointer);
1301
+
1302
+ KBoolean impl_IsTSConstructorType(KNativePointer ast)
1303
+ {
1304
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1305
+ auto result = GetImpl()->IsTSConstructorType(_ast);
1306
+ return result;
1307
+ }
1308
+ KOALA_INTEROP_1(IsTSConstructorType, KBoolean, KNativePointer);
1309
+
1310
+ KBoolean impl_IsTSTypeAliasDeclaration(KNativePointer ast)
1311
+ {
1312
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1313
+ auto result = GetImpl()->IsTSTypeAliasDeclaration(_ast);
1314
+ return result;
1315
+ }
1316
+ KOALA_INTEROP_1(IsTSTypeAliasDeclaration, KBoolean, KNativePointer);
1317
+
1318
+ KBoolean impl_IsTSTypeReference(KNativePointer ast)
1319
+ {
1320
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1321
+ auto result = GetImpl()->IsTSTypeReference(_ast);
1322
+ return result;
1323
+ }
1324
+ KOALA_INTEROP_1(IsTSTypeReference, KBoolean, KNativePointer);
1325
+
1326
+ KBoolean impl_IsTSQualifiedName(KNativePointer ast)
1327
+ {
1328
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1329
+ auto result = GetImpl()->IsTSQualifiedName(_ast);
1330
+ return result;
1331
+ }
1332
+ KOALA_INTEROP_1(IsTSQualifiedName, KBoolean, KNativePointer);
1333
+
1334
+ KBoolean impl_IsTSIndexedAccessType(KNativePointer ast)
1335
+ {
1336
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1337
+ auto result = GetImpl()->IsTSIndexedAccessType(_ast);
1338
+ return result;
1339
+ }
1340
+ KOALA_INTEROP_1(IsTSIndexedAccessType, KBoolean, KNativePointer);
1341
+
1342
+ KBoolean impl_IsTSInterfaceDeclaration(KNativePointer ast)
1343
+ {
1344
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1345
+ auto result = GetImpl()->IsTSInterfaceDeclaration(_ast);
1346
+ return result;
1347
+ }
1348
+ KOALA_INTEROP_1(IsTSInterfaceDeclaration, KBoolean, KNativePointer);
1349
+
1350
+ KBoolean impl_IsTSInterfaceBody(KNativePointer ast)
1351
+ {
1352
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1353
+ auto result = GetImpl()->IsTSInterfaceBody(_ast);
1354
+ return result;
1355
+ }
1356
+ KOALA_INTEROP_1(IsTSInterfaceBody, KBoolean, KNativePointer);
1357
+
1358
+ KBoolean impl_IsTSInterfaceHeritage(KNativePointer ast)
1359
+ {
1360
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1361
+ auto result = GetImpl()->IsTSInterfaceHeritage(_ast);
1362
+ return result;
1363
+ }
1364
+ KOALA_INTEROP_1(IsTSInterfaceHeritage, KBoolean, KNativePointer);
1365
+
1366
+ KBoolean impl_IsTSTupleType(KNativePointer ast)
1367
+ {
1368
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1369
+ auto result = GetImpl()->IsTSTupleType(_ast);
1370
+ return result;
1371
+ }
1372
+ KOALA_INTEROP_1(IsTSTupleType, KBoolean, KNativePointer);
1373
+
1374
+ KBoolean impl_IsTSNamedTupleMember(KNativePointer ast)
1375
+ {
1376
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1377
+ auto result = GetImpl()->IsTSNamedTupleMember(_ast);
1378
+ return result;
1379
+ }
1380
+ KOALA_INTEROP_1(IsTSNamedTupleMember, KBoolean, KNativePointer);
1381
+
1382
+ KBoolean impl_IsTSIndexSignature(KNativePointer ast)
1383
+ {
1384
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1385
+ auto result = GetImpl()->IsTSIndexSignature(_ast);
1386
+ return result;
1387
+ }
1388
+ KOALA_INTEROP_1(IsTSIndexSignature, KBoolean, KNativePointer);
1389
+
1390
+ KBoolean impl_IsTSTypeQuery(KNativePointer ast)
1391
+ {
1392
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1393
+ auto result = GetImpl()->IsTSTypeQuery(_ast);
1394
+ return result;
1395
+ }
1396
+ KOALA_INTEROP_1(IsTSTypeQuery, KBoolean, KNativePointer);
1397
+
1398
+ KBoolean impl_IsTSAsExpression(KNativePointer ast)
1399
+ {
1400
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1401
+ auto result = GetImpl()->IsTSAsExpression(_ast);
1402
+ return result;
1403
+ }
1404
+ KOALA_INTEROP_1(IsTSAsExpression, KBoolean, KNativePointer);
1405
+
1406
+ KBoolean impl_IsTSClassImplements(KNativePointer ast)
1407
+ {
1408
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1409
+ auto result = GetImpl()->IsTSClassImplements(_ast);
1410
+ return result;
1411
+ }
1412
+ KOALA_INTEROP_1(IsTSClassImplements, KBoolean, KNativePointer);
1413
+
1414
+ KBoolean impl_IsTSTypeAssertion(KNativePointer ast)
1415
+ {
1416
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1417
+ auto result = GetImpl()->IsTSTypeAssertion(_ast);
1418
+ return result;
1419
+ }
1420
+ KOALA_INTEROP_1(IsTSTypeAssertion, KBoolean, KNativePointer);
1421
+
1422
+ KBoolean impl_IsTaggedTemplateExpression(KNativePointer ast)
1423
+ {
1424
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1425
+ auto result = GetImpl()->IsTaggedTemplateExpression(_ast);
1426
+ return result;
1427
+ }
1428
+ KOALA_INTEROP_1(IsTaggedTemplateExpression, KBoolean, KNativePointer);
1429
+
1430
+ KBoolean impl_IsTemplateElement(KNativePointer ast)
1431
+ {
1432
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1433
+ auto result = GetImpl()->IsTemplateElement(_ast);
1434
+ return result;
1435
+ }
1436
+ KOALA_INTEROP_1(IsTemplateElement, KBoolean, KNativePointer);
1437
+
1438
+ KBoolean impl_IsTemplateLiteral(KNativePointer ast)
1439
+ {
1440
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1441
+ auto result = GetImpl()->IsTemplateLiteral(_ast);
1442
+ return result;
1443
+ }
1444
+ KOALA_INTEROP_1(IsTemplateLiteral, KBoolean, KNativePointer);
1445
+
1446
+ KBoolean impl_IsThisExpression(KNativePointer ast)
1447
+ {
1448
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1449
+ auto result = GetImpl()->IsThisExpression(_ast);
1450
+ return result;
1451
+ }
1452
+ KOALA_INTEROP_1(IsThisExpression, KBoolean, KNativePointer);
1453
+
1454
+ KBoolean impl_IsTypeofExpression(KNativePointer ast)
1455
+ {
1456
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1457
+ auto result = GetImpl()->IsTypeofExpression(_ast);
1458
+ return result;
1459
+ }
1460
+ KOALA_INTEROP_1(IsTypeofExpression, KBoolean, KNativePointer);
1461
+
1462
+ KBoolean impl_IsThrowStatement(KNativePointer ast)
1463
+ {
1464
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1465
+ auto result = GetImpl()->IsThrowStatement(_ast);
1466
+ return result;
1467
+ }
1468
+ KOALA_INTEROP_1(IsThrowStatement, KBoolean, KNativePointer);
1469
+
1470
+ KBoolean impl_IsTryStatement(KNativePointer ast)
1471
+ {
1472
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1473
+ auto result = GetImpl()->IsTryStatement(_ast);
1474
+ return result;
1475
+ }
1476
+ KOALA_INTEROP_1(IsTryStatement, KBoolean, KNativePointer);
1477
+
1478
+ KBoolean impl_IsUnaryExpression(KNativePointer ast)
1479
+ {
1480
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1481
+ auto result = GetImpl()->IsUnaryExpression(_ast);
1482
+ return result;
1483
+ }
1484
+ KOALA_INTEROP_1(IsUnaryExpression, KBoolean, KNativePointer);
1485
+
1486
+ KBoolean impl_IsUpdateExpression(KNativePointer ast)
1487
+ {
1488
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1489
+ auto result = GetImpl()->IsUpdateExpression(_ast);
1490
+ return result;
1491
+ }
1492
+ KOALA_INTEROP_1(IsUpdateExpression, KBoolean, KNativePointer);
1493
+
1494
+ KBoolean impl_IsVariableDeclaration(KNativePointer ast)
1495
+ {
1496
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1497
+ auto result = GetImpl()->IsVariableDeclaration(_ast);
1498
+ return result;
1499
+ }
1500
+ KOALA_INTEROP_1(IsVariableDeclaration, KBoolean, KNativePointer);
1501
+
1502
+ KBoolean impl_IsVariableDeclarator(KNativePointer ast)
1503
+ {
1504
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1505
+ auto result = GetImpl()->IsVariableDeclarator(_ast);
1506
+ return result;
1507
+ }
1508
+ KOALA_INTEROP_1(IsVariableDeclarator, KBoolean, KNativePointer);
1509
+
1510
+ KBoolean impl_IsWhileStatement(KNativePointer ast)
1511
+ {
1512
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1513
+ auto result = GetImpl()->IsWhileStatement(_ast);
1514
+ return result;
1515
+ }
1516
+ KOALA_INTEROP_1(IsWhileStatement, KBoolean, KNativePointer);
1517
+
1518
+ KBoolean impl_IsYieldExpression(KNativePointer ast)
1519
+ {
1520
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1521
+ auto result = GetImpl()->IsYieldExpression(_ast);
1522
+ return result;
1523
+ }
1524
+ KOALA_INTEROP_1(IsYieldExpression, KBoolean, KNativePointer);
1525
+
1526
+ KBoolean impl_IsOpaqueTypeNode(KNativePointer ast)
1527
+ {
1528
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1529
+ auto result = GetImpl()->IsOpaqueTypeNode(_ast);
1530
+ return result;
1531
+ }
1532
+ KOALA_INTEROP_1(IsOpaqueTypeNode, KBoolean, KNativePointer);
1533
+
1534
+ KBoolean impl_IsBlockExpression(KNativePointer ast)
1535
+ {
1536
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1537
+ auto result = GetImpl()->IsBlockExpression(_ast);
1538
+ return result;
1539
+ }
1540
+ KOALA_INTEROP_1(IsBlockExpression, KBoolean, KNativePointer);
1541
+
1542
+ KBoolean impl_IsBrokenTypeNode(KNativePointer ast)
1543
+ {
1544
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1545
+ auto result = GetImpl()->IsBrokenTypeNode(_ast);
1546
+ return result;
1547
+ }
1548
+ KOALA_INTEROP_1(IsBrokenTypeNode, KBoolean, KNativePointer);
1549
+
1550
+ KBoolean impl_IsArrayExpression(KNativePointer ast)
1551
+ {
1552
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1553
+ auto result = GetImpl()->IsArrayExpression(_ast);
1554
+ return result;
1555
+ }
1556
+ KOALA_INTEROP_1(IsArrayExpression, KBoolean, KNativePointer);
1557
+
1558
+ KBoolean impl_IsArrayPattern(KNativePointer ast)
1559
+ {
1560
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1561
+ auto result = GetImpl()->IsArrayPattern(_ast);
1562
+ return result;
1563
+ }
1564
+ KOALA_INTEROP_1(IsArrayPattern, KBoolean, KNativePointer);
1565
+
1566
+ KBoolean impl_IsAssignmentExpression(KNativePointer ast)
1567
+ {
1568
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1569
+ auto result = GetImpl()->IsAssignmentExpression(_ast);
1570
+ return result;
1571
+ }
1572
+ KOALA_INTEROP_1(IsAssignmentExpression, KBoolean, KNativePointer);
1573
+
1574
+ KBoolean impl_IsAssignmentPattern(KNativePointer ast)
1575
+ {
1576
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1577
+ auto result = GetImpl()->IsAssignmentPattern(_ast);
1578
+ return result;
1579
+ }
1580
+ KOALA_INTEROP_1(IsAssignmentPattern, KBoolean, KNativePointer);
1581
+
1582
+ KBoolean impl_IsObjectExpression(KNativePointer ast)
1583
+ {
1584
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1585
+ auto result = GetImpl()->IsObjectExpression(_ast);
1586
+ return result;
1587
+ }
1588
+ KOALA_INTEROP_1(IsObjectExpression, KBoolean, KNativePointer);
1589
+
1590
+ KBoolean impl_IsObjectPattern(KNativePointer ast)
1591
+ {
1592
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1593
+ auto result = GetImpl()->IsObjectPattern(_ast);
1594
+ return result;
1595
+ }
1596
+ KOALA_INTEROP_1(IsObjectPattern, KBoolean, KNativePointer);
1597
+
1598
+ KBoolean impl_IsSpreadElement(KNativePointer ast)
1599
+ {
1600
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1601
+ auto result = GetImpl()->IsSpreadElement(_ast);
1602
+ return result;
1603
+ }
1604
+ KOALA_INTEROP_1(IsSpreadElement, KBoolean, KNativePointer);
1605
+
1606
+ KBoolean impl_IsRestElement(KNativePointer ast)
1607
+ {
1608
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1609
+ auto result = GetImpl()->IsRestElement(_ast);
1610
+ return result;
1611
+ }
1612
+ KOALA_INTEROP_1(IsRestElement, KBoolean, KNativePointer);
1613
+
1614
+ KNativePointer impl_AstNodeName(KNativePointer ast)
1615
+ {
1616
+ const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
1617
+ auto result = GetImpl()->AstNodeName(_ast);
1618
+ return StageArena::strdup(result);
1619
+ }
1620
+ KOALA_INTEROP_1(AstNodeName, KNativePointer, KNativePointer);
1621
+
23
1622
  KNativePointer impl_CreateNumberLiteral(KNativePointer context, KInt value)
24
1623
  {
25
1624
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -271,27 +1870,53 @@ KBoolean impl_ClassPropertyNeedInitInStaticBlockConst(KNativePointer context, KN
271
1870
  auto result = GetImpl()->ClassPropertyNeedInitInStaticBlockConst(_context, _receiver);
272
1871
  return result;
273
1872
  }
274
- KOALA_INTEROP_2(ClassPropertyNeedInitInStaticBlockConst, KBoolean, KNativePointer, KNativePointer);
1873
+ KOALA_INTEROP_2(ClassPropertyNeedInitInStaticBlockConst, KBoolean, KNativePointer, KNativePointer);
1874
+
1875
+ void impl_ClassPropertySetNeedInitInStaticBlock(KNativePointer context, KNativePointer receiver)
1876
+ {
1877
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
1878
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1879
+ GetImpl()->ClassPropertySetNeedInitInStaticBlock(_context, _receiver);
1880
+ return ;
1881
+ }
1882
+ KOALA_INTEROP_V2(ClassPropertySetNeedInitInStaticBlock, KNativePointer, KNativePointer);
1883
+
1884
+ KBoolean impl_ClassPropertyIsImmediateInitConst(KNativePointer context, KNativePointer receiver)
1885
+ {
1886
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
1887
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1888
+ auto result = GetImpl()->ClassPropertyIsImmediateInitConst(_context, _receiver);
1889
+ return result;
1890
+ }
1891
+ KOALA_INTEROP_2(ClassPropertyIsImmediateInitConst, KBoolean, KNativePointer, KNativePointer);
1892
+
1893
+ void impl_ClassPropertySetIsImmediateInit(KNativePointer context, KNativePointer receiver)
1894
+ {
1895
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
1896
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1897
+ GetImpl()->ClassPropertySetIsImmediateInit(_context, _receiver);
1898
+ return ;
1899
+ }
1900
+ KOALA_INTEROP_V2(ClassPropertySetIsImmediateInit, KNativePointer, KNativePointer);
275
1901
 
276
- void impl_ClassPropertySetInitInStaticBlock(KNativePointer context, KNativePointer receiver, KBoolean needInitInStaticBlock)
1902
+ KBoolean impl_ClassPropertyHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
277
1903
  {
278
1904
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
279
1905
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
280
- const auto _needInitInStaticBlock = static_cast<KBoolean>(needInitInStaticBlock);
281
- GetImpl()->ClassPropertySetInitInStaticBlock(_context, _receiver, _needInitInStaticBlock);
282
- return ;
1906
+ auto result = GetImpl()->ClassPropertyHasAnnotationsConst(_context, _receiver);
1907
+ return result;
283
1908
  }
284
- KOALA_INTEROP_V3(ClassPropertySetInitInStaticBlock, KNativePointer, KNativePointer, KBoolean);
1909
+ KOALA_INTEROP_2(ClassPropertyHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
285
1910
 
286
- void impl_ClassPropertyEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
1911
+ void impl_ClassPropertyEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
287
1912
  {
288
1913
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
289
1914
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
290
1915
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
291
- GetImpl()->ClassPropertyEmplaceAnnotations(_context, _receiver, _source);
1916
+ GetImpl()->ClassPropertyEmplaceAnnotation(_context, _receiver, _source);
292
1917
  return ;
293
1918
  }
294
- KOALA_INTEROP_V3(ClassPropertyEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
1919
+ KOALA_INTEROP_V3(ClassPropertyEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
295
1920
 
296
1921
  void impl_ClassPropertyClearAnnotations(KNativePointer context, KNativePointer receiver)
297
1922
  {
@@ -302,16 +1927,15 @@ void impl_ClassPropertyClearAnnotations(KNativePointer context, KNativePointer r
302
1927
  }
303
1928
  KOALA_INTEROP_V2(ClassPropertyClearAnnotations, KNativePointer, KNativePointer);
304
1929
 
305
- void impl_ClassPropertySetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
1930
+ void impl_ClassPropertyDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
306
1931
  {
307
1932
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
308
1933
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
309
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
310
- const auto _index = static_cast<KUInt>(index);
311
- GetImpl()->ClassPropertySetValueAnnotations(_context, _receiver, _source, _index);
1934
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
1935
+ GetImpl()->ClassPropertyDumpAnnotationsConst(_context, _receiver, _dumper);
312
1936
  return ;
313
1937
  }
314
- KOALA_INTEROP_V4(ClassPropertySetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
1938
+ KOALA_INTEROP_V3(ClassPropertyDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
315
1939
 
316
1940
  KNativePointer impl_ClassPropertyAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
317
1941
  {
@@ -319,7 +1943,7 @@ KNativePointer impl_ClassPropertyAnnotationsForUpdate(KNativePointer context, KN
319
1943
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
320
1944
  std::size_t length;
321
1945
  auto result = GetImpl()->ClassPropertyAnnotationsForUpdate(_context, _receiver, &length);
322
- return StageArena::cloneVector(result, length);
1946
+ return length ? StageArena::cloneVector(result, length) : nullptr;
323
1947
  }
324
1948
  KOALA_INTEROP_2(ClassPropertyAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
325
1949
 
@@ -329,7 +1953,7 @@ KNativePointer impl_ClassPropertyAnnotations(KNativePointer context, KNativePoin
329
1953
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
330
1954
  std::size_t length;
331
1955
  auto result = GetImpl()->ClassPropertyAnnotations(_context, _receiver, &length);
332
- return StageArena::cloneVector(result, length);
1956
+ return length ? StageArena::cloneVector(result, length) : nullptr;
333
1957
  }
334
1958
  KOALA_INTEROP_2(ClassPropertyAnnotations, KNativePointer, KNativePointer, KNativePointer);
335
1959
 
@@ -339,7 +1963,7 @@ KNativePointer impl_ClassPropertyAnnotationsConst(KNativePointer context, KNativ
339
1963
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
340
1964
  std::size_t length;
341
1965
  auto result = GetImpl()->ClassPropertyAnnotationsConst(_context, _receiver, &length);
342
- return (void*)StageArena::cloneVector(result, length);
1966
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
343
1967
  }
344
1968
  KOALA_INTEROP_2(ClassPropertyAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
345
1969
 
@@ -365,16 +1989,6 @@ void impl_ClassPropertySetAnnotations1(KNativePointer context, KNativePointer re
365
1989
  }
366
1990
  KOALA_INTEROP_V4(ClassPropertySetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
367
1991
 
368
- void impl_ClassPropertyAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
369
- {
370
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
371
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
372
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
373
- GetImpl()->ClassPropertyAddAnnotations(_context, _receiver, _annotations);
374
- return ;
375
- }
376
- KOALA_INTEROP_V3(ClassPropertyAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
377
-
378
1992
  KNativePointer impl_CreateTSVoidKeyword(KNativePointer context)
379
1993
  {
380
1994
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -437,10 +2051,21 @@ KNativePointer impl_ETSFunctionTypeParamsConst(KNativePointer context, KNativePo
437
2051
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
438
2052
  std::size_t length;
439
2053
  auto result = GetImpl()->ETSFunctionTypeIrParamsConst(_context, _receiver, &length);
440
- return (void*)StageArena::cloneVector(result, length);
2054
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
441
2055
  }
442
2056
  KOALA_INTEROP_2(ETSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
443
2057
 
2058
+ void impl_ETSFunctionTypeSetParams(KNativePointer context, KNativePointer receiver, KNativePointerArray paramsList, KUInt paramsListSequenceLength)
2059
+ {
2060
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
2061
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2062
+ const auto _paramsList = reinterpret_cast<es2panda_AstNode**>(paramsList);
2063
+ const auto _paramsListSequenceLength = static_cast<KUInt>(paramsListSequenceLength);
2064
+ GetImpl()->ETSFunctionTypeIrSetParams(_context, _receiver, _paramsList, _paramsListSequenceLength);
2065
+ return ;
2066
+ }
2067
+ KOALA_INTEROP_V4(ETSFunctionTypeSetParams, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
2068
+
444
2069
  KNativePointer impl_ETSFunctionTypeReturnTypeConst(KNativePointer context, KNativePointer receiver)
445
2070
  {
446
2071
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -713,7 +2338,7 @@ KNativePointer impl_TSConstructorTypeParamsConst(KNativePointer context, KNative
713
2338
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
714
2339
  std::size_t length;
715
2340
  auto result = GetImpl()->TSConstructorTypeParamsConst(_context, _receiver, &length);
716
- return (void*)StageArena::cloneVector(result, length);
2341
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
717
2342
  }
718
2343
  KOALA_INTEROP_2(TSConstructorTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
719
2344
 
@@ -865,7 +2490,7 @@ KNativePointer impl_TSEnumDeclarationMembersConst(KNativePointer context, KNativ
865
2490
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
866
2491
  std::size_t length;
867
2492
  auto result = GetImpl()->TSEnumDeclarationMembersConst(_context, _receiver, &length);
868
- return (void*)StageArena::cloneVector(result, length);
2493
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
869
2494
  }
870
2495
  KOALA_INTEROP_2(TSEnumDeclarationMembersConst, KNativePointer, KNativePointer, KNativePointer);
871
2496
 
@@ -916,56 +2541,6 @@ KBoolean impl_TSEnumDeclarationIsConstConst(KNativePointer context, KNativePoint
916
2541
  }
917
2542
  KOALA_INTEROP_2(TSEnumDeclarationIsConstConst, KBoolean, KNativePointer, KNativePointer);
918
2543
 
919
- KNativePointer impl_TSEnumDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
920
- {
921
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
922
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
923
- std::size_t length;
924
- auto result = GetImpl()->TSEnumDeclarationDecoratorsConst(_context, _receiver, &length);
925
- return (void*)StageArena::cloneVector(result, length);
926
- }
927
- KOALA_INTEROP_2(TSEnumDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
928
-
929
- void impl_TSEnumDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source)
930
- {
931
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
932
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
933
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
934
- GetImpl()->TSEnumDeclarationEmplaceDecorators(_context, _receiver, _source);
935
- return ;
936
- }
937
- KOALA_INTEROP_V3(TSEnumDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
938
-
939
- void impl_TSEnumDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
940
- {
941
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
942
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
943
- GetImpl()->TSEnumDeclarationClearDecorators(_context, _receiver);
944
- return ;
945
- }
946
- KOALA_INTEROP_V2(TSEnumDeclarationClearDecorators, KNativePointer, KNativePointer);
947
-
948
- void impl_TSEnumDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
949
- {
950
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
951
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
952
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
953
- const auto _index = static_cast<KUInt>(index);
954
- GetImpl()->TSEnumDeclarationSetValueDecorators(_context, _receiver, _source, _index);
955
- return ;
956
- }
957
- KOALA_INTEROP_V4(TSEnumDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
958
-
959
- KNativePointer impl_TSEnumDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
960
- {
961
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
962
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
963
- std::size_t length;
964
- auto result = GetImpl()->TSEnumDeclarationDecoratorsForUpdate(_context, _receiver, &length);
965
- return StageArena::cloneVector(result, length);
966
- }
967
- KOALA_INTEROP_2(TSEnumDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
968
-
969
2544
  void impl_TSEnumDeclarationEmplaceMembers(KNativePointer context, KNativePointer receiver, KNativePointer source)
970
2545
  {
971
2546
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -1002,7 +2577,7 @@ KNativePointer impl_TSEnumDeclarationMembersForUpdate(KNativePointer context, KN
1002
2577
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1003
2578
  std::size_t length;
1004
2579
  auto result = GetImpl()->TSEnumDeclarationMembersForUpdate(_context, _receiver, &length);
1005
- return StageArena::cloneVector(result, length);
2580
+ return length ? StageArena::cloneVector(result, length) : nullptr;
1006
2581
  }
1007
2582
  KOALA_INTEROP_2(TSEnumDeclarationMembersForUpdate, KNativePointer, KNativePointer, KNativePointer);
1008
2583
 
@@ -1091,7 +2666,7 @@ KNativePointer impl_ObjectExpressionPropertiesConst(KNativePointer context, KNat
1091
2666
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1092
2667
  std::size_t length;
1093
2668
  auto result = GetImpl()->ObjectExpressionPropertiesConst(_context, _receiver, &length);
1094
- return (void*)StageArena::cloneVector(result, length);
2669
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
1095
2670
  }
1096
2671
  KOALA_INTEROP_2(ObjectExpressionPropertiesConst, KNativePointer, KNativePointer, KNativePointer);
1097
2672
 
@@ -1113,16 +2688,6 @@ KBoolean impl_ObjectExpressionIsOptionalConst(KNativePointer context, KNativePoi
1113
2688
  }
1114
2689
  KOALA_INTEROP_2(ObjectExpressionIsOptionalConst, KBoolean, KNativePointer, KNativePointer);
1115
2690
 
1116
- KNativePointer impl_ObjectExpressionDecoratorsConst(KNativePointer context, KNativePointer receiver)
1117
- {
1118
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1119
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1120
- std::size_t length;
1121
- auto result = GetImpl()->ObjectExpressionDecoratorsConst(_context, _receiver, &length);
1122
- return (void*)StageArena::cloneVector(result, length);
1123
- }
1124
- KOALA_INTEROP_2(ObjectExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
1125
-
1126
2691
  KNativePointer impl_ObjectExpressionValidateExpression(KNativePointer context, KNativePointer receiver)
1127
2692
  {
1128
2693
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -1447,7 +3012,7 @@ KNativePointer impl_CallExpressionArgumentsConst(KNativePointer context, KNative
1447
3012
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1448
3013
  std::size_t length;
1449
3014
  auto result = GetImpl()->CallExpressionArgumentsConst(_context, _receiver, &length);
1450
- return (void*)StageArena::cloneVector(result, length);
3015
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
1451
3016
  }
1452
3017
  KOALA_INTEROP_2(CallExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
1453
3018
 
@@ -1457,10 +3022,21 @@ KNativePointer impl_CallExpressionArguments(KNativePointer context, KNativePoint
1457
3022
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1458
3023
  std::size_t length;
1459
3024
  auto result = GetImpl()->CallExpressionArguments(_context, _receiver, &length);
1460
- return StageArena::cloneVector(result, length);
3025
+ return length ? StageArena::cloneVector(result, length) : nullptr;
1461
3026
  }
1462
3027
  KOALA_INTEROP_2(CallExpressionArguments, KNativePointer, KNativePointer, KNativePointer);
1463
3028
 
3029
+ void impl_CallExpressionSetArguments(KNativePointer context, KNativePointer receiver, KNativePointerArray argumentsList, KUInt argumentsListSequenceLength)
3030
+ {
3031
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
3032
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3033
+ const auto _argumentsList = reinterpret_cast<es2panda_AstNode**>(argumentsList);
3034
+ const auto _argumentsListSequenceLength = static_cast<KUInt>(argumentsListSequenceLength);
3035
+ GetImpl()->CallExpressionSetArguments(_context, _receiver, _argumentsList, _argumentsListSequenceLength);
3036
+ return ;
3037
+ }
3038
+ KOALA_INTEROP_V4(CallExpressionSetArguments, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
3039
+
1464
3040
  KBoolean impl_CallExpressionHasTrailingCommaConst(KNativePointer context, KNativePointer receiver)
1465
3041
  {
1466
3042
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -1684,16 +3260,6 @@ KBoolean impl_ClassElementIsPrivateElementConst(KNativePointer context, KNativeP
1684
3260
  }
1685
3261
  KOALA_INTEROP_2(ClassElementIsPrivateElementConst, KBoolean, KNativePointer, KNativePointer);
1686
3262
 
1687
- KNativePointer impl_ClassElementDecoratorsConst(KNativePointer context, KNativePointer receiver)
1688
- {
1689
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1690
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1691
- std::size_t length;
1692
- auto result = GetImpl()->ClassElementDecoratorsConst(_context, _receiver, &length);
1693
- return (void*)StageArena::cloneVector(result, length);
1694
- }
1695
- KOALA_INTEROP_2(ClassElementDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
1696
-
1697
3263
  KBoolean impl_ClassElementIsComputedConst(KNativePointer context, KNativePointer receiver)
1698
3264
  {
1699
3265
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -1703,16 +3269,6 @@ KBoolean impl_ClassElementIsComputedConst(KNativePointer context, KNativePointer
1703
3269
  }
1704
3270
  KOALA_INTEROP_2(ClassElementIsComputedConst, KBoolean, KNativePointer, KNativePointer);
1705
3271
 
1706
- void impl_ClassElementAddDecorator(KNativePointer context, KNativePointer receiver, KNativePointer decorator)
1707
- {
1708
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1709
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1710
- const auto _decorator = reinterpret_cast<es2panda_AstNode*>(decorator);
1711
- GetImpl()->ClassElementAddDecorator(_context, _receiver, _decorator);
1712
- return ;
1713
- }
1714
- KOALA_INTEROP_V3(ClassElementAddDecorator, KNativePointer, KNativePointer, KNativePointer);
1715
-
1716
3272
  KInt impl_ClassElementToPrivateFieldKindConst(KNativePointer context, KNativePointer receiver, KBoolean isStatic)
1717
3273
  {
1718
3274
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -1723,56 +3279,6 @@ KInt impl_ClassElementToPrivateFieldKindConst(KNativePointer context, KNativePoi
1723
3279
  }
1724
3280
  KOALA_INTEROP_3(ClassElementToPrivateFieldKindConst, KInt, KNativePointer, KNativePointer, KBoolean);
1725
3281
 
1726
- void impl_ClassElementEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
1727
- {
1728
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1729
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1730
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
1731
- GetImpl()->ClassElementEmplaceDecorators(_context, _receiver, _decorators);
1732
- return ;
1733
- }
1734
- KOALA_INTEROP_V3(ClassElementEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
1735
-
1736
- void impl_ClassElementClearDecorators(KNativePointer context, KNativePointer receiver)
1737
- {
1738
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1739
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1740
- GetImpl()->ClassElementClearDecorators(_context, _receiver);
1741
- return ;
1742
- }
1743
- KOALA_INTEROP_V2(ClassElementClearDecorators, KNativePointer, KNativePointer);
1744
-
1745
- void impl_ClassElementSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
1746
- {
1747
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1748
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1749
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
1750
- const auto _index = static_cast<KUInt>(index);
1751
- GetImpl()->ClassElementSetValueDecorators(_context, _receiver, _decorators, _index);
1752
- return ;
1753
- }
1754
- KOALA_INTEROP_V4(ClassElementSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
1755
-
1756
- KNativePointer impl_ClassElementDecorators(KNativePointer context, KNativePointer receiver)
1757
- {
1758
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1759
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1760
- std::size_t length;
1761
- auto result = GetImpl()->ClassElementDecorators(_context, _receiver, &length);
1762
- return StageArena::cloneVector(result, length);
1763
- }
1764
- KOALA_INTEROP_2(ClassElementDecorators, KNativePointer, KNativePointer, KNativePointer);
1765
-
1766
- KNativePointer impl_ClassElementDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
1767
- {
1768
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1769
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1770
- std::size_t length;
1771
- auto result = GetImpl()->ClassElementDecoratorsForUpdate(_context, _receiver, &length);
1772
- return StageArena::cloneVector(result, length);
1773
- }
1774
- KOALA_INTEROP_2(ClassElementDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
1775
-
1776
3282
  KNativePointer impl_CreateTSImportType(KNativePointer context, KNativePointer param, KNativePointer typeParams, KNativePointer qualifier, KBoolean isTypeof)
1777
3283
  {
1778
3284
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -1957,25 +3463,24 @@ KNativePointer impl_FunctionDeclarationFunctionConst(KNativePointer context, KNa
1957
3463
  }
1958
3464
  KOALA_INTEROP_2(FunctionDeclarationFunctionConst, KNativePointer, KNativePointer, KNativePointer);
1959
3465
 
1960
- KNativePointer impl_FunctionDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
3466
+ KBoolean impl_FunctionDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
1961
3467
  {
1962
3468
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
1963
3469
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1964
- std::size_t length;
1965
- auto result = GetImpl()->FunctionDeclarationDecoratorsConst(_context, _receiver, &length);
1966
- return (void*)StageArena::cloneVector(result, length);
3470
+ auto result = GetImpl()->FunctionDeclarationHasAnnotationsConst(_context, _receiver);
3471
+ return result;
1967
3472
  }
1968
- KOALA_INTEROP_2(FunctionDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
3473
+ KOALA_INTEROP_2(FunctionDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
1969
3474
 
1970
- void impl_FunctionDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
3475
+ void impl_FunctionDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
1971
3476
  {
1972
3477
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
1973
3478
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1974
3479
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
1975
- GetImpl()->FunctionDeclarationEmplaceAnnotations(_context, _receiver, _source);
3480
+ GetImpl()->FunctionDeclarationEmplaceAnnotation(_context, _receiver, _source);
1976
3481
  return ;
1977
3482
  }
1978
- KOALA_INTEROP_V3(FunctionDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
3483
+ KOALA_INTEROP_V3(FunctionDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
1979
3484
 
1980
3485
  void impl_FunctionDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
1981
3486
  {
@@ -1986,16 +3491,15 @@ void impl_FunctionDeclarationClearAnnotations(KNativePointer context, KNativePoi
1986
3491
  }
1987
3492
  KOALA_INTEROP_V2(FunctionDeclarationClearAnnotations, KNativePointer, KNativePointer);
1988
3493
 
1989
- void impl_FunctionDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
3494
+ void impl_FunctionDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
1990
3495
  {
1991
3496
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
1992
3497
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1993
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
1994
- const auto _index = static_cast<KUInt>(index);
1995
- GetImpl()->FunctionDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
3498
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
3499
+ GetImpl()->FunctionDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
1996
3500
  return ;
1997
3501
  }
1998
- KOALA_INTEROP_V4(FunctionDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
3502
+ KOALA_INTEROP_V3(FunctionDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
1999
3503
 
2000
3504
  KNativePointer impl_FunctionDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
2001
3505
  {
@@ -2003,7 +3507,7 @@ KNativePointer impl_FunctionDeclarationAnnotationsForUpdate(KNativePointer conte
2003
3507
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2004
3508
  std::size_t length;
2005
3509
  auto result = GetImpl()->FunctionDeclarationAnnotationsForUpdate(_context, _receiver, &length);
2006
- return StageArena::cloneVector(result, length);
3510
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2007
3511
  }
2008
3512
  KOALA_INTEROP_2(FunctionDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2009
3513
 
@@ -2013,7 +3517,7 @@ KNativePointer impl_FunctionDeclarationAnnotations(KNativePointer context, KNati
2013
3517
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2014
3518
  std::size_t length;
2015
3519
  auto result = GetImpl()->FunctionDeclarationAnnotations(_context, _receiver, &length);
2016
- return StageArena::cloneVector(result, length);
3520
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2017
3521
  }
2018
3522
  KOALA_INTEROP_2(FunctionDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
2019
3523
 
@@ -2023,7 +3527,7 @@ KNativePointer impl_FunctionDeclarationAnnotationsConst(KNativePointer context,
2023
3527
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2024
3528
  std::size_t length;
2025
3529
  auto result = GetImpl()->FunctionDeclarationAnnotationsConst(_context, _receiver, &length);
2026
- return (void*)StageArena::cloneVector(result, length);
3530
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2027
3531
  }
2028
3532
  KOALA_INTEROP_2(FunctionDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
2029
3533
 
@@ -2049,16 +3553,6 @@ void impl_FunctionDeclarationSetAnnotations1(KNativePointer context, KNativePoin
2049
3553
  }
2050
3554
  KOALA_INTEROP_V4(FunctionDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
2051
3555
 
2052
- void impl_FunctionDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
2053
- {
2054
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2055
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2056
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
2057
- GetImpl()->FunctionDeclarationAddAnnotations(_context, _receiver, _annotations);
2058
- return ;
2059
- }
2060
- KOALA_INTEROP_V3(FunctionDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
2061
-
2062
3556
  KNativePointer impl_CreateETSTypeReference(KNativePointer context, KNativePointer part)
2063
3557
  {
2064
3558
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2272,7 +3766,7 @@ KNativePointer impl_TSFunctionTypeParamsConst(KNativePointer context, KNativePoi
2272
3766
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2273
3767
  std::size_t length;
2274
3768
  auto result = GetImpl()->TSFunctionTypeParamsConst(_context, _receiver, &length);
2275
- return (void*)StageArena::cloneVector(result, length);
3769
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2276
3770
  }
2277
3771
  KOALA_INTEROP_2(TSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
2278
3772
 
@@ -2488,7 +3982,7 @@ KNativePointer impl_TSInterfaceDeclarationExtends(KNativePointer context, KNativ
2488
3982
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2489
3983
  std::size_t length;
2490
3984
  auto result = GetImpl()->TSInterfaceDeclarationExtends(_context, _receiver, &length);
2491
- return StageArena::cloneVector(result, length);
3985
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2492
3986
  }
2493
3987
  KOALA_INTEROP_2(TSInterfaceDeclarationExtends, KNativePointer, KNativePointer, KNativePointer);
2494
3988
 
@@ -2498,7 +3992,7 @@ KNativePointer impl_TSInterfaceDeclarationExtendsForUpdate(KNativePointer contex
2498
3992
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2499
3993
  std::size_t length;
2500
3994
  auto result = GetImpl()->TSInterfaceDeclarationExtendsForUpdate(_context, _receiver, &length);
2501
- return StageArena::cloneVector(result, length);
3995
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2502
3996
  }
2503
3997
  KOALA_INTEROP_2(TSInterfaceDeclarationExtendsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2504
3998
 
@@ -2508,20 +4002,10 @@ KNativePointer impl_TSInterfaceDeclarationExtendsConst(KNativePointer context, K
2508
4002
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2509
4003
  std::size_t length;
2510
4004
  auto result = GetImpl()->TSInterfaceDeclarationExtendsConst(_context, _receiver, &length);
2511
- return (void*)StageArena::cloneVector(result, length);
4005
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2512
4006
  }
2513
4007
  KOALA_INTEROP_2(TSInterfaceDeclarationExtendsConst, KNativePointer, KNativePointer, KNativePointer);
2514
4008
 
2515
- KNativePointer impl_TSInterfaceDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
2516
- {
2517
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2518
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2519
- std::size_t length;
2520
- auto result = GetImpl()->TSInterfaceDeclarationDecoratorsConst(_context, _receiver, &length);
2521
- return (void*)StageArena::cloneVector(result, length);
2522
- }
2523
- KOALA_INTEROP_2(TSInterfaceDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
2524
-
2525
4009
  KNativePointer impl_TSInterfaceDeclarationGetAnonClass(KNativePointer context, KNativePointer receiver)
2526
4010
  {
2527
4011
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2580,65 +4064,24 @@ void impl_TSInterfaceDeclarationSetValueExtends(KNativePointer context, KNativeP
2580
4064
  }
2581
4065
  KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueExtends, KNativePointer, KNativePointer, KNativePointer, KUInt);
2582
4066
 
2583
- void impl_TSInterfaceDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
2584
- {
2585
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2586
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2587
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
2588
- GetImpl()->TSInterfaceDeclarationEmplaceDecorators(_context, _receiver, _decorators);
2589
- return ;
2590
- }
2591
- KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
2592
-
2593
- void impl_TSInterfaceDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
2594
- {
2595
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2596
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2597
- GetImpl()->TSInterfaceDeclarationClearDecorators(_context, _receiver);
2598
- return ;
2599
- }
2600
- KOALA_INTEROP_V2(TSInterfaceDeclarationClearDecorators, KNativePointer, KNativePointer);
2601
-
2602
- void impl_TSInterfaceDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
2603
- {
2604
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2605
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2606
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
2607
- const auto _index = static_cast<KUInt>(index);
2608
- GetImpl()->TSInterfaceDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
2609
- return ;
2610
- }
2611
- KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
2612
-
2613
- KNativePointer impl_TSInterfaceDeclarationDecorators(KNativePointer context, KNativePointer receiver)
2614
- {
2615
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2616
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2617
- std::size_t length;
2618
- auto result = GetImpl()->TSInterfaceDeclarationDecorators(_context, _receiver, &length);
2619
- return StageArena::cloneVector(result, length);
2620
- }
2621
- KOALA_INTEROP_2(TSInterfaceDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
2622
-
2623
- KNativePointer impl_TSInterfaceDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
4067
+ KBoolean impl_TSInterfaceDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
2624
4068
  {
2625
4069
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
2626
4070
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2627
- std::size_t length;
2628
- auto result = GetImpl()->TSInterfaceDeclarationDecoratorsForUpdate(_context, _receiver, &length);
2629
- return StageArena::cloneVector(result, length);
4071
+ auto result = GetImpl()->TSInterfaceDeclarationHasAnnotationsConst(_context, _receiver);
4072
+ return result;
2630
4073
  }
2631
- KOALA_INTEROP_2(TSInterfaceDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4074
+ KOALA_INTEROP_2(TSInterfaceDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
2632
4075
 
2633
- void impl_TSInterfaceDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
4076
+ void impl_TSInterfaceDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
2634
4077
  {
2635
4078
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
2636
4079
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2637
4080
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
2638
- GetImpl()->TSInterfaceDeclarationEmplaceAnnotations(_context, _receiver, _source);
4081
+ GetImpl()->TSInterfaceDeclarationEmplaceAnnotation(_context, _receiver, _source);
2639
4082
  return ;
2640
4083
  }
2641
- KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
4084
+ KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
2642
4085
 
2643
4086
  void impl_TSInterfaceDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
2644
4087
  {
@@ -2649,16 +4092,15 @@ void impl_TSInterfaceDeclarationClearAnnotations(KNativePointer context, KNative
2649
4092
  }
2650
4093
  KOALA_INTEROP_V2(TSInterfaceDeclarationClearAnnotations, KNativePointer, KNativePointer);
2651
4094
 
2652
- void impl_TSInterfaceDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
4095
+ void impl_TSInterfaceDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
2653
4096
  {
2654
4097
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
2655
4098
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2656
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
2657
- const auto _index = static_cast<KUInt>(index);
2658
- GetImpl()->TSInterfaceDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
4099
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
4100
+ GetImpl()->TSInterfaceDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
2659
4101
  return ;
2660
4102
  }
2661
- KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
4103
+ KOALA_INTEROP_V3(TSInterfaceDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
2662
4104
 
2663
4105
  KNativePointer impl_TSInterfaceDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
2664
4106
  {
@@ -2666,7 +4108,7 @@ KNativePointer impl_TSInterfaceDeclarationAnnotationsForUpdate(KNativePointer co
2666
4108
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2667
4109
  std::size_t length;
2668
4110
  auto result = GetImpl()->TSInterfaceDeclarationAnnotationsForUpdate(_context, _receiver, &length);
2669
- return StageArena::cloneVector(result, length);
4111
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2670
4112
  }
2671
4113
  KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2672
4114
 
@@ -2676,7 +4118,7 @@ KNativePointer impl_TSInterfaceDeclarationAnnotations(KNativePointer context, KN
2676
4118
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2677
4119
  std::size_t length;
2678
4120
  auto result = GetImpl()->TSInterfaceDeclarationAnnotations(_context, _receiver, &length);
2679
- return StageArena::cloneVector(result, length);
4121
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2680
4122
  }
2681
4123
  KOALA_INTEROP_2(TSInterfaceDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
2682
4124
 
@@ -2686,7 +4128,7 @@ KNativePointer impl_TSInterfaceDeclarationAnnotationsConst(KNativePointer contex
2686
4128
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2687
4129
  std::size_t length;
2688
4130
  auto result = GetImpl()->TSInterfaceDeclarationAnnotationsConst(_context, _receiver, &length);
2689
- return (void*)StageArena::cloneVector(result, length);
4131
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2690
4132
  }
2691
4133
  KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
2692
4134
 
@@ -2712,16 +4154,6 @@ void impl_TSInterfaceDeclarationSetAnnotations1(KNativePointer context, KNativeP
2712
4154
  }
2713
4155
  KOALA_INTEROP_V4(TSInterfaceDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
2714
4156
 
2715
- void impl_TSInterfaceDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
2716
- {
2717
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2718
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2719
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
2720
- GetImpl()->TSInterfaceDeclarationAddAnnotations(_context, _receiver, _annotations);
2721
- return ;
2722
- }
2723
- KOALA_INTEROP_V3(TSInterfaceDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
2724
-
2725
4157
  KNativePointer impl_CreateVariableDeclaration(KNativePointer context, KInt kind, KNativePointerArray declarators, KUInt declaratorsSequenceLength)
2726
4158
  {
2727
4159
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2751,7 +4183,7 @@ KNativePointer impl_VariableDeclarationDeclaratorsConst(KNativePointer context,
2751
4183
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2752
4184
  std::size_t length;
2753
4185
  auto result = GetImpl()->VariableDeclarationDeclaratorsConst(_context, _receiver, &length);
2754
- return (void*)StageArena::cloneVector(result, length);
4186
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2755
4187
  }
2756
4188
  KOALA_INTEROP_2(VariableDeclarationDeclaratorsConst, KNativePointer, KNativePointer, KNativePointer);
2757
4189
 
@@ -2761,7 +4193,7 @@ KNativePointer impl_VariableDeclarationDeclarators(KNativePointer context, KNati
2761
4193
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2762
4194
  std::size_t length;
2763
4195
  auto result = GetImpl()->VariableDeclarationDeclarators(_context, _receiver, &length);
2764
- return StageArena::cloneVector(result, length);
4196
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2765
4197
  }
2766
4198
  KOALA_INTEROP_2(VariableDeclarationDeclarators, KNativePointer, KNativePointer, KNativePointer);
2767
4199
 
@@ -2771,7 +4203,7 @@ KNativePointer impl_VariableDeclarationDeclaratorsForUpdate(KNativePointer conte
2771
4203
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2772
4204
  std::size_t length;
2773
4205
  auto result = GetImpl()->VariableDeclarationDeclaratorsForUpdate(_context, _receiver, &length);
2774
- return StageArena::cloneVector(result, length);
4206
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2775
4207
  }
2776
4208
  KOALA_INTEROP_2(VariableDeclarationDeclaratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2777
4209
 
@@ -2784,36 +4216,6 @@ KInt impl_VariableDeclarationKindConst(KNativePointer context, KNativePointer re
2784
4216
  }
2785
4217
  KOALA_INTEROP_2(VariableDeclarationKindConst, KInt, KNativePointer, KNativePointer);
2786
4218
 
2787
- KNativePointer impl_VariableDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
2788
- {
2789
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2790
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2791
- std::size_t length;
2792
- auto result = GetImpl()->VariableDeclarationDecoratorsConst(_context, _receiver, &length);
2793
- return (void*)StageArena::cloneVector(result, length);
2794
- }
2795
- KOALA_INTEROP_2(VariableDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
2796
-
2797
- KNativePointer impl_VariableDeclarationDecorators(KNativePointer context, KNativePointer receiver)
2798
- {
2799
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2800
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2801
- std::size_t length;
2802
- auto result = GetImpl()->VariableDeclarationDecorators(_context, _receiver, &length);
2803
- return StageArena::cloneVector(result, length);
2804
- }
2805
- KOALA_INTEROP_2(VariableDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
2806
-
2807
- KNativePointer impl_VariableDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
2808
- {
2809
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2810
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2811
- std::size_t length;
2812
- auto result = GetImpl()->VariableDeclarationDecoratorsForUpdate(_context, _receiver, &length);
2813
- return StageArena::cloneVector(result, length);
2814
- }
2815
- KOALA_INTEROP_2(VariableDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2816
-
2817
4219
  KNativePointer impl_VariableDeclarationGetDeclaratorByNameConst(KNativePointer context, KNativePointer receiver, KStringPtr& name)
2818
4220
  {
2819
4221
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2824,15 +4226,24 @@ KNativePointer impl_VariableDeclarationGetDeclaratorByNameConst(KNativePointer c
2824
4226
  }
2825
4227
  KOALA_INTEROP_3(VariableDeclarationGetDeclaratorByNameConst, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
2826
4228
 
2827
- void impl_VariableDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
4229
+ KBoolean impl_VariableDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
4230
+ {
4231
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
4232
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4233
+ auto result = GetImpl()->VariableDeclarationHasAnnotationsConst(_context, _receiver);
4234
+ return result;
4235
+ }
4236
+ KOALA_INTEROP_2(VariableDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
4237
+
4238
+ void impl_VariableDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
2828
4239
  {
2829
4240
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
2830
4241
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2831
4242
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
2832
- GetImpl()->VariableDeclarationEmplaceAnnotations(_context, _receiver, _source);
4243
+ GetImpl()->VariableDeclarationEmplaceAnnotation(_context, _receiver, _source);
2833
4244
  return ;
2834
4245
  }
2835
- KOALA_INTEROP_V3(VariableDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
4246
+ KOALA_INTEROP_V3(VariableDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
2836
4247
 
2837
4248
  void impl_VariableDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
2838
4249
  {
@@ -2843,16 +4254,15 @@ void impl_VariableDeclarationClearAnnotations(KNativePointer context, KNativePoi
2843
4254
  }
2844
4255
  KOALA_INTEROP_V2(VariableDeclarationClearAnnotations, KNativePointer, KNativePointer);
2845
4256
 
2846
- void impl_VariableDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
4257
+ void impl_VariableDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
2847
4258
  {
2848
4259
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
2849
4260
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2850
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
2851
- const auto _index = static_cast<KUInt>(index);
2852
- GetImpl()->VariableDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
4261
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
4262
+ GetImpl()->VariableDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
2853
4263
  return ;
2854
4264
  }
2855
- KOALA_INTEROP_V4(VariableDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
4265
+ KOALA_INTEROP_V3(VariableDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
2856
4266
 
2857
4267
  KNativePointer impl_VariableDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
2858
4268
  {
@@ -2860,7 +4270,7 @@ KNativePointer impl_VariableDeclarationAnnotationsForUpdate(KNativePointer conte
2860
4270
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2861
4271
  std::size_t length;
2862
4272
  auto result = GetImpl()->VariableDeclarationAnnotationsForUpdate(_context, _receiver, &length);
2863
- return StageArena::cloneVector(result, length);
4273
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2864
4274
  }
2865
4275
  KOALA_INTEROP_2(VariableDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2866
4276
 
@@ -2870,7 +4280,7 @@ KNativePointer impl_VariableDeclarationAnnotations(KNativePointer context, KNati
2870
4280
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2871
4281
  std::size_t length;
2872
4282
  auto result = GetImpl()->VariableDeclarationAnnotations(_context, _receiver, &length);
2873
- return StageArena::cloneVector(result, length);
4283
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2874
4284
  }
2875
4285
  KOALA_INTEROP_2(VariableDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
2876
4286
 
@@ -2880,7 +4290,7 @@ KNativePointer impl_VariableDeclarationAnnotationsConst(KNativePointer context,
2880
4290
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2881
4291
  std::size_t length;
2882
4292
  auto result = GetImpl()->VariableDeclarationAnnotationsConst(_context, _receiver, &length);
2883
- return (void*)StageArena::cloneVector(result, length);
4293
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2884
4294
  }
2885
4295
  KOALA_INTEROP_2(VariableDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
2886
4296
 
@@ -2906,16 +4316,6 @@ void impl_VariableDeclarationSetAnnotations1(KNativePointer context, KNativePoin
2906
4316
  }
2907
4317
  KOALA_INTEROP_V4(VariableDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
2908
4318
 
2909
- void impl_VariableDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
2910
- {
2911
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2912
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2913
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
2914
- GetImpl()->VariableDeclarationAddAnnotations(_context, _receiver, _annotations);
2915
- return ;
2916
- }
2917
- KOALA_INTEROP_V3(VariableDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
2918
-
2919
4319
  KNativePointer impl_CreateUndefinedLiteral(KNativePointer context)
2920
4320
  {
2921
4321
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3064,15 +4464,6 @@ void impl_MemberExpressionRemoveMemberKind(KNativePointer context, KNativePointe
3064
4464
  }
3065
4465
  KOALA_INTEROP_V3(MemberExpressionRemoveMemberKind, KNativePointer, KNativePointer, KInt);
3066
4466
 
3067
- KNativePointer impl_MemberExpressionExtensionAccessorTypeConst(KNativePointer context, KNativePointer receiver)
3068
- {
3069
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3070
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3071
- auto result = GetImpl()->MemberExpressionExtensionAccessorTypeConst(_context, _receiver);
3072
- return (void*)result;
3073
- }
3074
- KOALA_INTEROP_2(MemberExpressionExtensionAccessorTypeConst, KNativePointer, KNativePointer, KNativePointer);
3075
-
3076
4467
  KBoolean impl_MemberExpressionIsIgnoreBoxConst(KNativePointer context, KNativePointer receiver)
3077
4468
  {
3078
4469
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3234,7 +4625,7 @@ KNativePointer impl_ETSUnionTypeTypesConst(KNativePointer context, KNativePointe
3234
4625
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3235
4626
  std::size_t length;
3236
4627
  auto result = GetImpl()->ETSUnionTypeIrTypesConst(_context, _receiver, &length);
3237
- return (void*)StageArena::cloneVector(result, length);
4628
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3238
4629
  }
3239
4630
  KOALA_INTEROP_2(ETSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
3240
4631
 
@@ -3526,16 +4917,6 @@ KNativePointer impl_TSTypeAliasDeclarationTypeParamsConst(KNativePointer context
3526
4917
  }
3527
4918
  KOALA_INTEROP_2(TSTypeAliasDeclarationTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
3528
4919
 
3529
- KNativePointer impl_TSTypeAliasDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
3530
- {
3531
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3532
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3533
- std::size_t length;
3534
- auto result = GetImpl()->TSTypeAliasDeclarationDecoratorsConst(_context, _receiver, &length);
3535
- return (void*)StageArena::cloneVector(result, length);
3536
- }
3537
- KOALA_INTEROP_2(TSTypeAliasDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
3538
-
3539
4920
  void impl_TSTypeAliasDeclarationSetTypeParameters(KNativePointer context, KNativePointer receiver, KNativePointer typeParams)
3540
4921
  {
3541
4922
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3546,134 +4927,123 @@ void impl_TSTypeAliasDeclarationSetTypeParameters(KNativePointer context, KNativ
3546
4927
  }
3547
4928
  KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTypeParameters, KNativePointer, KNativePointer, KNativePointer);
3548
4929
 
3549
- KNativePointer impl_TSTypeAliasDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver)
3550
- {
3551
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3552
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3553
- std::size_t length;
3554
- auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsConst(_context, _receiver, &length);
3555
- return (void*)StageArena::cloneVector(result, length);
3556
- }
3557
- KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
3558
-
3559
- void impl_TSTypeAliasDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotations, KUInt annotationsSequenceLength)
4930
+ void impl_TSTypeAliasDeclarationClearTypeParamterTypes(KNativePointer context, KNativePointer receiver)
3560
4931
  {
3561
4932
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3562
4933
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3563
- const auto _annotations = reinterpret_cast<es2panda_AstNode**>(annotations);
3564
- const auto _annotationsSequenceLength = static_cast<KUInt>(annotationsSequenceLength);
3565
- GetImpl()->TSTypeAliasDeclarationSetAnnotations(_context, _receiver, _annotations, _annotationsSequenceLength);
4934
+ GetImpl()->TSTypeAliasDeclarationClearTypeParamterTypes(_context, _receiver);
3566
4935
  return ;
3567
4936
  }
3568
- KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
4937
+ KOALA_INTEROP_V2(TSTypeAliasDeclarationClearTypeParamterTypes, KNativePointer, KNativePointer);
3569
4938
 
3570
- void impl_TSTypeAliasDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
4939
+ KNativePointer impl_TSTypeAliasDeclarationTypeAnnotationConst(KNativePointer context, KNativePointer receiver)
3571
4940
  {
3572
4941
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3573
4942
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3574
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
3575
- GetImpl()->TSTypeAliasDeclarationEmplaceAnnotations(_context, _receiver, _annotations);
3576
- return ;
4943
+ auto result = GetImpl()->TSTypeAliasDeclarationTypeAnnotationConst(_context, _receiver);
4944
+ return (void*)result;
3577
4945
  }
3578
- KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
4946
+ KOALA_INTEROP_2(TSTypeAliasDeclarationTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer);
3579
4947
 
3580
- void impl_TSTypeAliasDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
4948
+ void impl_TSTypeAliasDeclarationSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation)
3581
4949
  {
3582
4950
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3583
4951
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3584
- GetImpl()->TSTypeAliasDeclarationClearAnnotations(_context, _receiver);
4952
+ const auto _typeAnnotation = reinterpret_cast<es2panda_AstNode*>(typeAnnotation);
4953
+ GetImpl()->TSTypeAliasDeclarationSetTsTypeAnnotation(_context, _receiver, _typeAnnotation);
3585
4954
  return ;
3586
4955
  }
3587
- KOALA_INTEROP_V2(TSTypeAliasDeclarationClearAnnotations, KNativePointer, KNativePointer);
4956
+ KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
3588
4957
 
3589
- void impl_TSTypeAliasDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations, KUInt index)
4958
+ KBoolean impl_TSTypeAliasDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
3590
4959
  {
3591
4960
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3592
4961
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3593
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
3594
- const auto _index = static_cast<KUInt>(index);
3595
- GetImpl()->TSTypeAliasDeclarationSetValueAnnotations(_context, _receiver, _annotations, _index);
3596
- return ;
4962
+ auto result = GetImpl()->TSTypeAliasDeclarationHasAnnotationsConst(_context, _receiver);
4963
+ return result;
3597
4964
  }
3598
- KOALA_INTEROP_V4(TSTypeAliasDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
4965
+ KOALA_INTEROP_2(TSTypeAliasDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
3599
4966
 
3600
- KNativePointer impl_TSTypeAliasDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
4967
+ void impl_TSTypeAliasDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
3601
4968
  {
3602
4969
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3603
4970
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3604
- std::size_t length;
3605
- auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsForUpdate(_context, _receiver, &length);
3606
- return StageArena::cloneVector(result, length);
4971
+ const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4972
+ GetImpl()->TSTypeAliasDeclarationEmplaceAnnotation(_context, _receiver, _source);
4973
+ return ;
3607
4974
  }
3608
- KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4975
+ KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
3609
4976
 
3610
- void impl_TSTypeAliasDeclarationClearTypeParamterTypes(KNativePointer context, KNativePointer receiver)
4977
+ void impl_TSTypeAliasDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
3611
4978
  {
3612
4979
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3613
4980
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3614
- GetImpl()->TSTypeAliasDeclarationClearTypeParamterTypes(_context, _receiver);
4981
+ GetImpl()->TSTypeAliasDeclarationClearAnnotations(_context, _receiver);
3615
4982
  return ;
3616
4983
  }
3617
- KOALA_INTEROP_V2(TSTypeAliasDeclarationClearTypeParamterTypes, KNativePointer, KNativePointer);
4984
+ KOALA_INTEROP_V2(TSTypeAliasDeclarationClearAnnotations, KNativePointer, KNativePointer);
3618
4985
 
3619
- void impl_TSTypeAliasDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
4986
+ void impl_TSTypeAliasDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
3620
4987
  {
3621
4988
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3622
4989
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3623
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
3624
- GetImpl()->TSTypeAliasDeclarationEmplaceDecorators(_context, _receiver, _decorators);
4990
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
4991
+ GetImpl()->TSTypeAliasDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
3625
4992
  return ;
3626
4993
  }
3627
- KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
4994
+ KOALA_INTEROP_V3(TSTypeAliasDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
3628
4995
 
3629
- void impl_TSTypeAliasDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
4996
+ KNativePointer impl_TSTypeAliasDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
3630
4997
  {
3631
4998
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3632
4999
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3633
- GetImpl()->TSTypeAliasDeclarationClearDecorators(_context, _receiver);
3634
- return ;
5000
+ std::size_t length;
5001
+ auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsForUpdate(_context, _receiver, &length);
5002
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3635
5003
  }
3636
- KOALA_INTEROP_V2(TSTypeAliasDeclarationClearDecorators, KNativePointer, KNativePointer);
5004
+ KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
3637
5005
 
3638
- void impl_TSTypeAliasDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
5006
+ KNativePointer impl_TSTypeAliasDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
3639
5007
  {
3640
5008
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3641
5009
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3642
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
3643
- const auto _index = static_cast<KUInt>(index);
3644
- GetImpl()->TSTypeAliasDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
3645
- return ;
5010
+ std::size_t length;
5011
+ auto result = GetImpl()->TSTypeAliasDeclarationAnnotations(_context, _receiver, &length);
5012
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3646
5013
  }
3647
- KOALA_INTEROP_V4(TSTypeAliasDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
5014
+ KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
3648
5015
 
3649
- KNativePointer impl_TSTypeAliasDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
5016
+ KNativePointer impl_TSTypeAliasDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver)
3650
5017
  {
3651
5018
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3652
5019
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3653
5020
  std::size_t length;
3654
- auto result = GetImpl()->TSTypeAliasDeclarationDecoratorsForUpdate(_context, _receiver, &length);
3655
- return StageArena::cloneVector(result, length);
5021
+ auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsConst(_context, _receiver, &length);
5022
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3656
5023
  }
3657
- KOALA_INTEROP_2(TSTypeAliasDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5024
+ KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
3658
5025
 
3659
- KNativePointer impl_TSTypeAliasDeclarationTypeAnnotationConst(KNativePointer context, KNativePointer receiver)
5026
+ void impl_TSTypeAliasDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
3660
5027
  {
3661
5028
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3662
5029
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3663
- auto result = GetImpl()->TSTypeAliasDeclarationTypeAnnotationConst(_context, _receiver);
3664
- return (void*)result;
5030
+ const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
5031
+ const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
5032
+ GetImpl()->TSTypeAliasDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
5033
+ return ;
3665
5034
  }
3666
- KOALA_INTEROP_2(TSTypeAliasDeclarationTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer);
5035
+ KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
3667
5036
 
3668
- void impl_TSTypeAliasDeclarationSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation)
5037
+ void impl_TSTypeAliasDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
3669
5038
  {
3670
5039
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3671
5040
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3672
- const auto _typeAnnotation = reinterpret_cast<es2panda_AstNode*>(typeAnnotation);
3673
- GetImpl()->TSTypeAliasDeclarationSetTsTypeAnnotation(_context, _receiver, _typeAnnotation);
5041
+ const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
5042
+ const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
5043
+ GetImpl()->TSTypeAliasDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
3674
5044
  return ;
3675
5045
  }
3676
- KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
5046
+ KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
3677
5047
 
3678
5048
  KNativePointer impl_CreateDebuggerStatement(KNativePointer context)
3679
5049
  {
@@ -3862,7 +5232,7 @@ KNativePointer impl_ScriptFunctionParamsConst(KNativePointer context, KNativePoi
3862
5232
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3863
5233
  std::size_t length;
3864
5234
  auto result = GetImpl()->ScriptFunctionParamsConst(_context, _receiver, &length);
3865
- return (void*)StageArena::cloneVector(result, length);
5235
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3866
5236
  }
3867
5237
  KOALA_INTEROP_2(ScriptFunctionParamsConst, KNativePointer, KNativePointer, KNativePointer);
3868
5238
 
@@ -3872,7 +5242,7 @@ KNativePointer impl_ScriptFunctionParams(KNativePointer context, KNativePointer
3872
5242
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3873
5243
  std::size_t length;
3874
5244
  auto result = GetImpl()->ScriptFunctionParams(_context, _receiver, &length);
3875
- return StageArena::cloneVector(result, length);
5245
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3876
5246
  }
3877
5247
  KOALA_INTEROP_2(ScriptFunctionParams, KNativePointer, KNativePointer, KNativePointer);
3878
5248
 
@@ -3882,7 +5252,7 @@ KNativePointer impl_ScriptFunctionReturnStatementsConst(KNativePointer context,
3882
5252
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3883
5253
  std::size_t length;
3884
5254
  auto result = GetImpl()->ScriptFunctionReturnStatementsConst(_context, _receiver, &length);
3885
- return (void*)StageArena::cloneVector(result, length);
5255
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3886
5256
  }
3887
5257
  KOALA_INTEROP_2(ScriptFunctionReturnStatementsConst, KNativePointer, KNativePointer, KNativePointer);
3888
5258
 
@@ -3892,7 +5262,7 @@ KNativePointer impl_ScriptFunctionReturnStatements(KNativePointer context, KNati
3892
5262
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3893
5263
  std::size_t length;
3894
5264
  auto result = GetImpl()->ScriptFunctionReturnStatements(_context, _receiver, &length);
3895
- return StageArena::cloneVector(result, length);
5265
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3896
5266
  }
3897
5267
  KOALA_INTEROP_2(ScriptFunctionReturnStatements, KNativePointer, KNativePointer, KNativePointer);
3898
5268
 
@@ -3902,7 +5272,7 @@ KNativePointer impl_ScriptFunctionReturnStatementsForUpdate(KNativePointer conte
3902
5272
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3903
5273
  std::size_t length;
3904
5274
  auto result = GetImpl()->ScriptFunctionReturnStatementsForUpdate(_context, _receiver, &length);
3905
- return StageArena::cloneVector(result, length);
5275
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3906
5276
  }
3907
5277
  KOALA_INTEROP_2(ScriptFunctionReturnStatementsForUpdate, KNativePointer, KNativePointer, KNativePointer);
3908
5278
 
@@ -4349,6 +5719,17 @@ void impl_ScriptFunctionEmplaceParams(KNativePointer context, KNativePointer rec
4349
5719
  }
4350
5720
  KOALA_INTEROP_V3(ScriptFunctionEmplaceParams, KNativePointer, KNativePointer, KNativePointer);
4351
5721
 
5722
+ void impl_ScriptFunctionSetParams(KNativePointer context, KNativePointer receiver, KNativePointerArray paramsList, KUInt paramsListSequenceLength)
5723
+ {
5724
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
5725
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5726
+ const auto _paramsList = reinterpret_cast<es2panda_AstNode**>(paramsList);
5727
+ const auto _paramsListSequenceLength = static_cast<KUInt>(paramsListSequenceLength);
5728
+ GetImpl()->ScriptFunctionSetParams(_context, _receiver, _paramsList, _paramsListSequenceLength);
5729
+ return ;
5730
+ }
5731
+ KOALA_INTEROP_V4(ScriptFunctionSetParams, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
5732
+
4352
5733
  void impl_ScriptFunctionClearParams(KNativePointer context, KNativePointer receiver)
4353
5734
  {
4354
5735
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4375,19 +5756,28 @@ KNativePointer impl_ScriptFunctionParamsForUpdate(KNativePointer context, KNativ
4375
5756
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4376
5757
  std::size_t length;
4377
5758
  auto result = GetImpl()->ScriptFunctionParamsForUpdate(_context, _receiver, &length);
4378
- return StageArena::cloneVector(result, length);
5759
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4379
5760
  }
4380
5761
  KOALA_INTEROP_2(ScriptFunctionParamsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4381
5762
 
4382
- void impl_ScriptFunctionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
5763
+ KBoolean impl_ScriptFunctionHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
5764
+ {
5765
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
5766
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5767
+ auto result = GetImpl()->ScriptFunctionHasAnnotationsConst(_context, _receiver);
5768
+ return result;
5769
+ }
5770
+ KOALA_INTEROP_2(ScriptFunctionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
5771
+
5772
+ void impl_ScriptFunctionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
4383
5773
  {
4384
5774
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4385
5775
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4386
5776
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4387
- GetImpl()->ScriptFunctionEmplaceAnnotations(_context, _receiver, _source);
5777
+ GetImpl()->ScriptFunctionEmplaceAnnotation(_context, _receiver, _source);
4388
5778
  return ;
4389
5779
  }
4390
- KOALA_INTEROP_V3(ScriptFunctionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
5780
+ KOALA_INTEROP_V3(ScriptFunctionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
4391
5781
 
4392
5782
  void impl_ScriptFunctionClearAnnotations(KNativePointer context, KNativePointer receiver)
4393
5783
  {
@@ -4398,16 +5788,15 @@ void impl_ScriptFunctionClearAnnotations(KNativePointer context, KNativePointer
4398
5788
  }
4399
5789
  KOALA_INTEROP_V2(ScriptFunctionClearAnnotations, KNativePointer, KNativePointer);
4400
5790
 
4401
- void impl_ScriptFunctionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
5791
+ void impl_ScriptFunctionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
4402
5792
  {
4403
5793
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4404
5794
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4405
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4406
- const auto _index = static_cast<KUInt>(index);
4407
- GetImpl()->ScriptFunctionSetValueAnnotations(_context, _receiver, _source, _index);
5795
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
5796
+ GetImpl()->ScriptFunctionDumpAnnotationsConst(_context, _receiver, _dumper);
4408
5797
  return ;
4409
5798
  }
4410
- KOALA_INTEROP_V4(ScriptFunctionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
5799
+ KOALA_INTEROP_V3(ScriptFunctionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
4411
5800
 
4412
5801
  KNativePointer impl_ScriptFunctionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
4413
5802
  {
@@ -4415,7 +5804,7 @@ KNativePointer impl_ScriptFunctionAnnotationsForUpdate(KNativePointer context, K
4415
5804
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4416
5805
  std::size_t length;
4417
5806
  auto result = GetImpl()->ScriptFunctionAnnotationsForUpdate(_context, _receiver, &length);
4418
- return StageArena::cloneVector(result, length);
5807
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4419
5808
  }
4420
5809
  KOALA_INTEROP_2(ScriptFunctionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4421
5810
 
@@ -4425,7 +5814,7 @@ KNativePointer impl_ScriptFunctionAnnotations(KNativePointer context, KNativePoi
4425
5814
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4426
5815
  std::size_t length;
4427
5816
  auto result = GetImpl()->ScriptFunctionAnnotations(_context, _receiver, &length);
4428
- return StageArena::cloneVector(result, length);
5817
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4429
5818
  }
4430
5819
  KOALA_INTEROP_2(ScriptFunctionAnnotations, KNativePointer, KNativePointer, KNativePointer);
4431
5820
 
@@ -4435,7 +5824,7 @@ KNativePointer impl_ScriptFunctionAnnotationsConst(KNativePointer context, KNati
4435
5824
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4436
5825
  std::size_t length;
4437
5826
  auto result = GetImpl()->ScriptFunctionAnnotationsConst(_context, _receiver, &length);
4438
- return (void*)StageArena::cloneVector(result, length);
5827
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4439
5828
  }
4440
5829
  KOALA_INTEROP_2(ScriptFunctionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
4441
5830
 
@@ -4461,16 +5850,6 @@ void impl_ScriptFunctionSetAnnotations1(KNativePointer context, KNativePointer r
4461
5850
  }
4462
5851
  KOALA_INTEROP_V4(ScriptFunctionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
4463
5852
 
4464
- void impl_ScriptFunctionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
4465
- {
4466
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4467
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4468
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
4469
- GetImpl()->ScriptFunctionAddAnnotations(_context, _receiver, _annotations);
4470
- return ;
4471
- }
4472
- KOALA_INTEROP_V3(ScriptFunctionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
4473
-
4474
5853
  KNativePointer impl_CreateClassDefinition(KNativePointer context, KNativePointer ident, KNativePointer typeParams, KNativePointer superTypeParams, KNativePointerArray _implements, KUInt _implementsSequenceLength, KNativePointer ctor, KNativePointer superClass, KNativePointerArray body, KUInt bodySequenceLength, KInt modifiers, KInt flags)
4475
5854
  {
4476
5855
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4751,6 +6130,15 @@ KBoolean impl_ClassDefinitionIsFromStructConst(KNativePointer context, KNativePo
4751
6130
  }
4752
6131
  KOALA_INTEROP_2(ClassDefinitionIsFromStructConst, KBoolean, KNativePointer, KNativePointer);
4753
6132
 
6133
+ KBoolean impl_ClassDefinitionIsInitInCctorConst(KNativePointer context, KNativePointer receiver)
6134
+ {
6135
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
6136
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6137
+ auto result = GetImpl()->ClassDefinitionIsInitInCctorConst(_context, _receiver);
6138
+ return result;
6139
+ }
6140
+ KOALA_INTEROP_2(ClassDefinitionIsInitInCctorConst, KBoolean, KNativePointer, KNativePointer);
6141
+
4754
6142
  KBoolean impl_ClassDefinitionIsModuleConst(KNativePointer context, KNativePointer receiver)
4755
6143
  {
4756
6144
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4823,6 +6211,15 @@ void impl_ClassDefinitionSetFromStructModifier(KNativePointer context, KNativePo
4823
6211
  }
4824
6212
  KOALA_INTEROP_V2(ClassDefinitionSetFromStructModifier, KNativePointer, KNativePointer);
4825
6213
 
6214
+ void impl_ClassDefinitionSetInitInCctor(KNativePointer context, KNativePointer receiver)
6215
+ {
6216
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
6217
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6218
+ GetImpl()->ClassDefinitionSetInitInCctor(_context, _receiver);
6219
+ return ;
6220
+ }
6221
+ KOALA_INTEROP_V2(ClassDefinitionSetInitInCctor, KNativePointer, KNativePointer);
6222
+
4826
6223
  KInt impl_ClassDefinitionModifiersConst(KNativePointer context, KNativePointer receiver)
4827
6224
  {
4828
6225
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4849,7 +6246,7 @@ KNativePointer impl_ClassDefinitionBodyConst(KNativePointer context, KNativePoin
4849
6246
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4850
6247
  std::size_t length;
4851
6248
  auto result = GetImpl()->ClassDefinitionBodyConst(_context, _receiver, &length);
4852
- return (void*)StageArena::cloneVector(result, length);
6249
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4853
6250
  }
4854
6251
  KOALA_INTEROP_2(ClassDefinitionBodyConst, KNativePointer, KNativePointer, KNativePointer);
4855
6252
 
@@ -4868,7 +6265,7 @@ KNativePointer impl_ClassDefinitionImplementsConst(KNativePointer context, KNati
4868
6265
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4869
6266
  std::size_t length;
4870
6267
  auto result = GetImpl()->ClassDefinitionImplementsConst(_context, _receiver, &length);
4871
- return (void*)StageArena::cloneVector(result, length);
6268
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4872
6269
  }
4873
6270
  KOALA_INTEROP_2(ClassDefinitionImplementsConst, KNativePointer, KNativePointer, KNativePointer);
4874
6271
 
@@ -5074,7 +6471,7 @@ KNativePointer impl_ClassDefinitionBody(KNativePointer context, KNativePointer r
5074
6471
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5075
6472
  std::size_t length;
5076
6473
  auto result = GetImpl()->ClassDefinitionBody(_context, _receiver, &length);
5077
- return StageArena::cloneVector(result, length);
6474
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5078
6475
  }
5079
6476
  KOALA_INTEROP_2(ClassDefinitionBody, KNativePointer, KNativePointer, KNativePointer);
5080
6477
 
@@ -5084,7 +6481,7 @@ KNativePointer impl_ClassDefinitionBodyForUpdate(KNativePointer context, KNative
5084
6481
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5085
6482
  std::size_t length;
5086
6483
  auto result = GetImpl()->ClassDefinitionBodyForUpdate(_context, _receiver, &length);
5087
- return StageArena::cloneVector(result, length);
6484
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5088
6485
  }
5089
6486
  KOALA_INTEROP_2(ClassDefinitionBodyForUpdate, KNativePointer, KNativePointer, KNativePointer);
5090
6487
 
@@ -5124,7 +6521,7 @@ KNativePointer impl_ClassDefinitionImplements(KNativePointer context, KNativePoi
5124
6521
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5125
6522
  std::size_t length;
5126
6523
  auto result = GetImpl()->ClassDefinitionImplements(_context, _receiver, &length);
5127
- return StageArena::cloneVector(result, length);
6524
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5128
6525
  }
5129
6526
  KOALA_INTEROP_2(ClassDefinitionImplements, KNativePointer, KNativePointer, KNativePointer);
5130
6527
 
@@ -5134,7 +6531,7 @@ KNativePointer impl_ClassDefinitionImplementsForUpdate(KNativePointer context, K
5134
6531
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5135
6532
  std::size_t length;
5136
6533
  auto result = GetImpl()->ClassDefinitionImplementsForUpdate(_context, _receiver, &length);
5137
- return StageArena::cloneVector(result, length);
6534
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5138
6535
  }
5139
6536
  KOALA_INTEROP_2(ClassDefinitionImplementsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5140
6537
 
@@ -5188,15 +6585,24 @@ void impl_ClassDefinitionSetInternalName(KNativePointer context, KNativePointer
5188
6585
  }
5189
6586
  KOALA_INTEROP_V3(ClassDefinitionSetInternalName, KNativePointer, KNativePointer, KStringPtr);
5190
6587
 
5191
- void impl_ClassDefinitionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
6588
+ KBoolean impl_ClassDefinitionHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
6589
+ {
6590
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
6591
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6592
+ auto result = GetImpl()->ClassDefinitionHasAnnotationsConst(_context, _receiver);
6593
+ return result;
6594
+ }
6595
+ KOALA_INTEROP_2(ClassDefinitionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
6596
+
6597
+ void impl_ClassDefinitionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
5192
6598
  {
5193
6599
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5194
6600
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5195
6601
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
5196
- GetImpl()->ClassDefinitionEmplaceAnnotations(_context, _receiver, _source);
6602
+ GetImpl()->ClassDefinitionEmplaceAnnotation(_context, _receiver, _source);
5197
6603
  return ;
5198
6604
  }
5199
- KOALA_INTEROP_V3(ClassDefinitionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
6605
+ KOALA_INTEROP_V3(ClassDefinitionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
5200
6606
 
5201
6607
  void impl_ClassDefinitionClearAnnotations(KNativePointer context, KNativePointer receiver)
5202
6608
  {
@@ -5207,16 +6613,15 @@ void impl_ClassDefinitionClearAnnotations(KNativePointer context, KNativePointer
5207
6613
  }
5208
6614
  KOALA_INTEROP_V2(ClassDefinitionClearAnnotations, KNativePointer, KNativePointer);
5209
6615
 
5210
- void impl_ClassDefinitionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
6616
+ void impl_ClassDefinitionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
5211
6617
  {
5212
6618
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5213
6619
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5214
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
5215
- const auto _index = static_cast<KUInt>(index);
5216
- GetImpl()->ClassDefinitionSetValueAnnotations(_context, _receiver, _source, _index);
6620
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
6621
+ GetImpl()->ClassDefinitionDumpAnnotationsConst(_context, _receiver, _dumper);
5217
6622
  return ;
5218
6623
  }
5219
- KOALA_INTEROP_V4(ClassDefinitionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
6624
+ KOALA_INTEROP_V3(ClassDefinitionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
5220
6625
 
5221
6626
  KNativePointer impl_ClassDefinitionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
5222
6627
  {
@@ -5224,7 +6629,7 @@ KNativePointer impl_ClassDefinitionAnnotationsForUpdate(KNativePointer context,
5224
6629
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5225
6630
  std::size_t length;
5226
6631
  auto result = GetImpl()->ClassDefinitionAnnotationsForUpdate(_context, _receiver, &length);
5227
- return StageArena::cloneVector(result, length);
6632
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5228
6633
  }
5229
6634
  KOALA_INTEROP_2(ClassDefinitionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5230
6635
 
@@ -5234,7 +6639,7 @@ KNativePointer impl_ClassDefinitionAnnotations(KNativePointer context, KNativePo
5234
6639
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5235
6640
  std::size_t length;
5236
6641
  auto result = GetImpl()->ClassDefinitionAnnotations(_context, _receiver, &length);
5237
- return StageArena::cloneVector(result, length);
6642
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5238
6643
  }
5239
6644
  KOALA_INTEROP_2(ClassDefinitionAnnotations, KNativePointer, KNativePointer, KNativePointer);
5240
6645
 
@@ -5244,7 +6649,7 @@ KNativePointer impl_ClassDefinitionAnnotationsConst(KNativePointer context, KNat
5244
6649
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5245
6650
  std::size_t length;
5246
6651
  auto result = GetImpl()->ClassDefinitionAnnotationsConst(_context, _receiver, &length);
5247
- return (void*)StageArena::cloneVector(result, length);
6652
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
5248
6653
  }
5249
6654
  KOALA_INTEROP_2(ClassDefinitionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
5250
6655
 
@@ -5270,16 +6675,6 @@ void impl_ClassDefinitionSetAnnotations1(KNativePointer context, KNativePointer
5270
6675
  }
5271
6676
  KOALA_INTEROP_V4(ClassDefinitionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
5272
6677
 
5273
- void impl_ClassDefinitionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
5274
- {
5275
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
5276
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5277
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
5278
- GetImpl()->ClassDefinitionAddAnnotations(_context, _receiver, _annotations);
5279
- return ;
5280
- }
5281
- KOALA_INTEROP_V3(ClassDefinitionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
5282
-
5283
6678
  KNativePointer impl_CreateArrayExpression(KNativePointer context, KNativePointerArray elements, KUInt elementsSequenceLength)
5284
6679
  {
5285
6680
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -5342,7 +6737,7 @@ KNativePointer impl_ArrayExpressionElementsConst(KNativePointer context, KNative
5342
6737
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5343
6738
  std::size_t length;
5344
6739
  auto result = GetImpl()->ArrayExpressionElementsConst(_context, _receiver, &length);
5345
- return (void*)StageArena::cloneVector(result, length);
6740
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
5346
6741
  }
5347
6742
  KOALA_INTEROP_2(ArrayExpressionElementsConst, KNativePointer, KNativePointer, KNativePointer);
5348
6743
 
@@ -5352,7 +6747,7 @@ KNativePointer impl_ArrayExpressionElements(KNativePointer context, KNativePoint
5352
6747
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5353
6748
  std::size_t length;
5354
6749
  auto result = GetImpl()->ArrayExpressionElements(_context, _receiver, &length);
5355
- return StageArena::cloneVector(result, length);
6750
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5356
6751
  }
5357
6752
  KOALA_INTEROP_2(ArrayExpressionElements, KNativePointer, KNativePointer, KNativePointer);
5358
6753
 
@@ -5404,16 +6799,6 @@ void impl_ArrayExpressionSetOptional(KNativePointer context, KNativePointer rece
5404
6799
  }
5405
6800
  KOALA_INTEROP_V3(ArrayExpressionSetOptional, KNativePointer, KNativePointer, KBoolean);
5406
6801
 
5407
- KNativePointer impl_ArrayExpressionDecoratorsConst(KNativePointer context, KNativePointer receiver)
5408
- {
5409
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
5410
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5411
- std::size_t length;
5412
- auto result = GetImpl()->ArrayExpressionDecoratorsConst(_context, _receiver, &length);
5413
- return (void*)StageArena::cloneVector(result, length);
5414
- }
5415
- KOALA_INTEROP_2(ArrayExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
5416
-
5417
6802
  void impl_ArrayExpressionClearPreferredType(KNativePointer context, KNativePointer receiver)
5418
6803
  {
5419
6804
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -5498,7 +6883,7 @@ KNativePointer impl_TSInterfaceBodyBody(KNativePointer context, KNativePointer r
5498
6883
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5499
6884
  std::size_t length;
5500
6885
  auto result = GetImpl()->TSInterfaceBodyBody(_context, _receiver, &length);
5501
- return StageArena::cloneVector(result, length);
6886
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5502
6887
  }
5503
6888
  KOALA_INTEROP_2(TSInterfaceBodyBody, KNativePointer, KNativePointer, KNativePointer);
5504
6889
 
@@ -5508,7 +6893,7 @@ KNativePointer impl_TSInterfaceBodyBodyConst(KNativePointer context, KNativePoin
5508
6893
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5509
6894
  std::size_t length;
5510
6895
  auto result = GetImpl()->TSInterfaceBodyBodyConst(_context, _receiver, &length);
5511
- return (void*)StageArena::cloneVector(result, length);
6896
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
5512
6897
  }
5513
6898
  KOALA_INTEROP_2(TSInterfaceBodyBodyConst, KNativePointer, KNativePointer, KNativePointer);
5514
6899
 
@@ -6024,7 +7409,7 @@ KNativePointer impl_ETSTupleGetTupleTypeAnnotationsList(KNativePointer context,
6024
7409
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6025
7410
  std::size_t length;
6026
7411
  auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsList(_context, _receiver, &length);
6027
- return StageArena::cloneVector(result, length);
7412
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6028
7413
  }
6029
7414
  KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointer);
6030
7415
 
@@ -6034,7 +7419,7 @@ KNativePointer impl_ETSTupleGetTupleTypeAnnotationsListConst(KNativePointer cont
6034
7419
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6035
7420
  std::size_t length;
6036
7421
  auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsListConst(_context, _receiver, &length);
6037
- return (void*)StageArena::cloneVector(result, length);
7422
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6038
7423
  }
6039
7424
  KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsListConst, KNativePointer, KNativePointer, KNativePointer);
6040
7425
 
@@ -6162,7 +7547,7 @@ KNativePointer impl_TryStatementCatchClausesConst(KNativePointer context, KNativ
6162
7547
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6163
7548
  std::size_t length;
6164
7549
  auto result = GetImpl()->TryStatementCatchClausesConst(_context, _receiver, &length);
6165
- return (void*)StageArena::cloneVector(result, length);
7550
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6166
7551
  }
6167
7552
  KOALA_INTEROP_2(TryStatementCatchClausesConst, KNativePointer, KNativePointer, KNativePointer);
6168
7553
 
@@ -6294,6 +7679,16 @@ void impl_AstNodeSetRange(KNativePointer context, KNativePointer receiver, KNati
6294
7679
  }
6295
7680
  KOALA_INTEROP_V3(AstNodeSetRange, KNativePointer, KNativePointer, KNativePointer);
6296
7681
 
7682
+ void impl_AstNodeSetProgram(KNativePointer context, KNativePointer receiver, KNativePointer program)
7683
+ {
7684
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
7685
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7686
+ const auto _program = reinterpret_cast<es2panda_Program*>(program);
7687
+ GetImpl()->AstNodeSetProgram(_context, _receiver, _program);
7688
+ return ;
7689
+ }
7690
+ KOALA_INTEROP_V3(AstNodeSetProgram, KNativePointer, KNativePointer, KNativePointer);
7691
+
6297
7692
  void impl_AstNodeSetStart(KNativePointer context, KNativePointer receiver, KNativePointer start)
6298
7693
  {
6299
7694
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -6314,6 +7709,15 @@ void impl_AstNodeSetEnd(KNativePointer context, KNativePointer receiver, KNative
6314
7709
  }
6315
7710
  KOALA_INTEROP_V3(AstNodeSetEnd, KNativePointer, KNativePointer, KNativePointer);
6316
7711
 
7712
+ KNativePointer impl_AstNodeProgramConst(KNativePointer context, KNativePointer receiver)
7713
+ {
7714
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
7715
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7716
+ auto result = GetImpl()->AstNodeProgramConst(_context, _receiver);
7717
+ return (void*)result;
7718
+ }
7719
+ KOALA_INTEROP_2(AstNodeProgramConst, KNativePointer, KNativePointer, KNativePointer);
7720
+
6317
7721
  KNativePointer impl_AstNodeStartConst(KNativePointer context, KNativePointer receiver)
6318
7722
  {
6319
7723
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -6384,7 +7788,7 @@ KNativePointer impl_AstNodeDecoratorsPtrConst(KNativePointer context, KNativePoi
6384
7788
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6385
7789
  std::size_t length;
6386
7790
  auto result = GetImpl()->AstNodeDecoratorsPtrConst(_context, _receiver, &length);
6387
- return (void*)StageArena::cloneVector(result, length);
7791
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6388
7792
  }
6389
7793
  KOALA_INTEROP_2(AstNodeDecoratorsPtrConst, KNativePointer, KNativePointer, KNativePointer);
6390
7794
 
@@ -7125,7 +8529,7 @@ KNativePointer impl_TSMethodSignatureParamsConst(KNativePointer context, KNative
7125
8529
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7126
8530
  std::size_t length;
7127
8531
  auto result = GetImpl()->TSMethodSignatureParamsConst(_context, _receiver, &length);
7128
- return (void*)StageArena::cloneVector(result, length);
8532
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
7129
8533
  }
7130
8534
  KOALA_INTEROP_2(TSMethodSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer);
7131
8535
 
@@ -7811,15 +9215,24 @@ KNativePointer impl_ETSModuleProgramConst(KNativePointer context, KNativePointer
7811
9215
  }
7812
9216
  KOALA_INTEROP_2(ETSModuleProgramConst, KNativePointer, KNativePointer, KNativePointer);
7813
9217
 
7814
- void impl_ETSModuleEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
9218
+ KBoolean impl_ETSModuleHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
9219
+ {
9220
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
9221
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9222
+ auto result = GetImpl()->ETSModuleHasAnnotationsConst(_context, _receiver);
9223
+ return result;
9224
+ }
9225
+ KOALA_INTEROP_2(ETSModuleHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
9226
+
9227
+ void impl_ETSModuleEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
7815
9228
  {
7816
9229
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
7817
9230
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7818
9231
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
7819
- GetImpl()->ETSModuleEmplaceAnnotations(_context, _receiver, _source);
9232
+ GetImpl()->ETSModuleEmplaceAnnotation(_context, _receiver, _source);
7820
9233
  return ;
7821
9234
  }
7822
- KOALA_INTEROP_V3(ETSModuleEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
9235
+ KOALA_INTEROP_V3(ETSModuleEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
7823
9236
 
7824
9237
  void impl_ETSModuleClearAnnotations(KNativePointer context, KNativePointer receiver)
7825
9238
  {
@@ -7830,16 +9243,15 @@ void impl_ETSModuleClearAnnotations(KNativePointer context, KNativePointer recei
7830
9243
  }
7831
9244
  KOALA_INTEROP_V2(ETSModuleClearAnnotations, KNativePointer, KNativePointer);
7832
9245
 
7833
- void impl_ETSModuleSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
9246
+ void impl_ETSModuleDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
7834
9247
  {
7835
9248
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
7836
9249
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7837
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
7838
- const auto _index = static_cast<KUInt>(index);
7839
- GetImpl()->ETSModuleSetValueAnnotations(_context, _receiver, _source, _index);
9250
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
9251
+ GetImpl()->ETSModuleDumpAnnotationsConst(_context, _receiver, _dumper);
7840
9252
  return ;
7841
9253
  }
7842
- KOALA_INTEROP_V4(ETSModuleSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
9254
+ KOALA_INTEROP_V3(ETSModuleDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
7843
9255
 
7844
9256
  KNativePointer impl_ETSModuleAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
7845
9257
  {
@@ -7847,7 +9259,7 @@ KNativePointer impl_ETSModuleAnnotationsForUpdate(KNativePointer context, KNativ
7847
9259
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7848
9260
  std::size_t length;
7849
9261
  auto result = GetImpl()->ETSModuleAnnotationsForUpdate(_context, _receiver, &length);
7850
- return StageArena::cloneVector(result, length);
9262
+ return length ? StageArena::cloneVector(result, length) : nullptr;
7851
9263
  }
7852
9264
  KOALA_INTEROP_2(ETSModuleAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
7853
9265
 
@@ -7857,7 +9269,7 @@ KNativePointer impl_ETSModuleAnnotations(KNativePointer context, KNativePointer
7857
9269
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7858
9270
  std::size_t length;
7859
9271
  auto result = GetImpl()->ETSModuleAnnotations(_context, _receiver, &length);
7860
- return StageArena::cloneVector(result, length);
9272
+ return length ? StageArena::cloneVector(result, length) : nullptr;
7861
9273
  }
7862
9274
  KOALA_INTEROP_2(ETSModuleAnnotations, KNativePointer, KNativePointer, KNativePointer);
7863
9275
 
@@ -7867,7 +9279,7 @@ KNativePointer impl_ETSModuleAnnotationsConst(KNativePointer context, KNativePoi
7867
9279
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7868
9280
  std::size_t length;
7869
9281
  auto result = GetImpl()->ETSModuleAnnotationsConst(_context, _receiver, &length);
7870
- return (void*)StageArena::cloneVector(result, length);
9282
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
7871
9283
  }
7872
9284
  KOALA_INTEROP_2(ETSModuleAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
7873
9285
 
@@ -7893,16 +9305,6 @@ void impl_ETSModuleSetAnnotations1(KNativePointer context, KNativePointer receiv
7893
9305
  }
7894
9306
  KOALA_INTEROP_V4(ETSModuleSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
7895
9307
 
7896
- void impl_ETSModuleAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
7897
- {
7898
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
7899
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7900
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
7901
- GetImpl()->ETSModuleAddAnnotations(_context, _receiver, _annotations);
7902
- return ;
7903
- }
7904
- KOALA_INTEROP_V3(ETSModuleAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
7905
-
7906
9308
  KNativePointer impl_CreateMetaProperty(KNativePointer context, KInt kind)
7907
9309
  {
7908
9310
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -8004,7 +9406,7 @@ KNativePointer impl_TSSignatureDeclarationParamsConst(KNativePointer context, KN
8004
9406
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8005
9407
  std::size_t length;
8006
9408
  auto result = GetImpl()->TSSignatureDeclarationParamsConst(_context, _receiver, &length);
8007
- return (void*)StageArena::cloneVector(result, length);
9409
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8008
9410
  }
8009
9411
  KOALA_INTEROP_2(TSSignatureDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer);
8010
9412
 
@@ -8177,7 +9579,7 @@ KNativePointer impl_TSTupleTypeElementTypeConst(KNativePointer context, KNativeP
8177
9579
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8178
9580
  std::size_t length;
8179
9581
  auto result = GetImpl()->TSTupleTypeElementTypeConst(_context, _receiver, &length);
8180
- return (void*)StageArena::cloneVector(result, length);
9582
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8181
9583
  }
8182
9584
  KOALA_INTEROP_2(TSTupleTypeElementTypeConst, KNativePointer, KNativePointer, KNativePointer);
8183
9585
 
@@ -8438,7 +9840,7 @@ KNativePointer impl_ImportDeclarationSpecifiersForUpdate(KNativePointer context,
8438
9840
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8439
9841
  std::size_t length;
8440
9842
  auto result = GetImpl()->ImportDeclarationSpecifiersForUpdate(_context, _receiver, &length);
8441
- return StageArena::cloneVector(result, length);
9843
+ return length ? StageArena::cloneVector(result, length) : nullptr;
8442
9844
  }
8443
9845
  KOALA_INTEROP_2(ImportDeclarationSpecifiersForUpdate, KNativePointer, KNativePointer, KNativePointer);
8444
9846
 
@@ -8466,7 +9868,7 @@ KNativePointer impl_ImportDeclarationSpecifiersConst(KNativePointer context, KNa
8466
9868
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8467
9869
  std::size_t length;
8468
9870
  auto result = GetImpl()->ImportDeclarationSpecifiersConst(_context, _receiver, &length);
8469
- return (void*)StageArena::cloneVector(result, length);
9871
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8470
9872
  }
8471
9873
  KOALA_INTEROP_2(ImportDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer);
8472
9874
 
@@ -8617,7 +10019,7 @@ KNativePointer impl_ETSIntrinsicNodeArgumentsConst(KNativePointer context, KNati
8617
10019
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8618
10020
  std::size_t length;
8619
10021
  auto result = GetImpl()->ETSIntrinsicNodeArgumentsConst(_context, _receiver, &length);
8620
- return (void*)StageArena::cloneVector(result, length);
10022
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8621
10023
  }
8622
10024
  KOALA_INTEROP_2(ETSIntrinsicNodeArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
8623
10025
 
@@ -8789,7 +10191,7 @@ KNativePointer impl_TSModuleBlockStatementsConst(KNativePointer context, KNative
8789
10191
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8790
10192
  std::size_t length;
8791
10193
  auto result = GetImpl()->TSModuleBlockStatementsConst(_context, _receiver, &length);
8792
- return (void*)StageArena::cloneVector(result, length);
10194
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8793
10195
  }
8794
10196
  KOALA_INTEROP_2(TSModuleBlockStatementsConst, KNativePointer, KNativePointer, KNativePointer);
8795
10197
 
@@ -8954,7 +10356,7 @@ KNativePointer impl_AnnotationDeclarationProperties(KNativePointer context, KNat
8954
10356
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8955
10357
  std::size_t length;
8956
10358
  auto result = GetImpl()->AnnotationDeclarationProperties(_context, _receiver, &length);
8957
- return StageArena::cloneVector(result, length);
10359
+ return length ? StageArena::cloneVector(result, length) : nullptr;
8958
10360
  }
8959
10361
  KOALA_INTEROP_2(AnnotationDeclarationProperties, KNativePointer, KNativePointer, KNativePointer);
8960
10362
 
@@ -8964,7 +10366,7 @@ KNativePointer impl_AnnotationDeclarationPropertiesForUpdate(KNativePointer cont
8964
10366
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8965
10367
  std::size_t length;
8966
10368
  auto result = GetImpl()->AnnotationDeclarationPropertiesForUpdate(_context, _receiver, &length);
8967
- return StageArena::cloneVector(result, length);
10369
+ return length ? StageArena::cloneVector(result, length) : nullptr;
8968
10370
  }
8969
10371
  KOALA_INTEROP_2(AnnotationDeclarationPropertiesForUpdate, KNativePointer, KNativePointer, KNativePointer);
8970
10372
 
@@ -8974,7 +10376,7 @@ KNativePointer impl_AnnotationDeclarationPropertiesConst(KNativePointer context,
8974
10376
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8975
10377
  std::size_t length;
8976
10378
  auto result = GetImpl()->AnnotationDeclarationPropertiesConst(_context, _receiver, &length);
8977
- return (void*)StageArena::cloneVector(result, length);
10379
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8978
10380
  }
8979
10381
  KOALA_INTEROP_2(AnnotationDeclarationPropertiesConst, KNativePointer, KNativePointer, KNativePointer);
8980
10382
 
@@ -9082,15 +10484,24 @@ void impl_AnnotationDeclarationSetValueProperties(KNativePointer context, KNativ
9082
10484
  }
9083
10485
  KOALA_INTEROP_V4(AnnotationDeclarationSetValueProperties, KNativePointer, KNativePointer, KNativePointer, KUInt);
9084
10486
 
9085
- void impl_AnnotationDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
10487
+ KBoolean impl_AnnotationDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
10488
+ {
10489
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
10490
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10491
+ auto result = GetImpl()->AnnotationDeclarationHasAnnotationsConst(_context, _receiver);
10492
+ return result;
10493
+ }
10494
+ KOALA_INTEROP_2(AnnotationDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
10495
+
10496
+ void impl_AnnotationDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
9086
10497
  {
9087
10498
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
9088
10499
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9089
10500
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
9090
- GetImpl()->AnnotationDeclarationEmplaceAnnotations(_context, _receiver, _source);
10501
+ GetImpl()->AnnotationDeclarationEmplaceAnnotation(_context, _receiver, _source);
9091
10502
  return ;
9092
10503
  }
9093
- KOALA_INTEROP_V3(AnnotationDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
10504
+ KOALA_INTEROP_V3(AnnotationDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
9094
10505
 
9095
10506
  void impl_AnnotationDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
9096
10507
  {
@@ -9101,16 +10512,15 @@ void impl_AnnotationDeclarationClearAnnotations(KNativePointer context, KNativeP
9101
10512
  }
9102
10513
  KOALA_INTEROP_V2(AnnotationDeclarationClearAnnotations, KNativePointer, KNativePointer);
9103
10514
 
9104
- void impl_AnnotationDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
10515
+ void impl_AnnotationDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
9105
10516
  {
9106
10517
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
9107
10518
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9108
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
9109
- const auto _index = static_cast<KUInt>(index);
9110
- GetImpl()->AnnotationDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
10519
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
10520
+ GetImpl()->AnnotationDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
9111
10521
  return ;
9112
10522
  }
9113
- KOALA_INTEROP_V4(AnnotationDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
10523
+ KOALA_INTEROP_V3(AnnotationDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
9114
10524
 
9115
10525
  KNativePointer impl_AnnotationDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
9116
10526
  {
@@ -9118,7 +10528,7 @@ KNativePointer impl_AnnotationDeclarationAnnotationsForUpdate(KNativePointer con
9118
10528
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9119
10529
  std::size_t length;
9120
10530
  auto result = GetImpl()->AnnotationDeclarationAnnotationsForUpdate(_context, _receiver, &length);
9121
- return StageArena::cloneVector(result, length);
10531
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9122
10532
  }
9123
10533
  KOALA_INTEROP_2(AnnotationDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
9124
10534
 
@@ -9128,7 +10538,7 @@ KNativePointer impl_AnnotationDeclarationAnnotations(KNativePointer context, KNa
9128
10538
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9129
10539
  std::size_t length;
9130
10540
  auto result = GetImpl()->AnnotationDeclarationAnnotations(_context, _receiver, &length);
9131
- return StageArena::cloneVector(result, length);
10541
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9132
10542
  }
9133
10543
  KOALA_INTEROP_2(AnnotationDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
9134
10544
 
@@ -9138,7 +10548,7 @@ KNativePointer impl_AnnotationDeclarationAnnotationsConst(KNativePointer context
9138
10548
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9139
10549
  std::size_t length;
9140
10550
  auto result = GetImpl()->AnnotationDeclarationAnnotationsConst(_context, _receiver, &length);
9141
- return (void*)StageArena::cloneVector(result, length);
10551
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9142
10552
  }
9143
10553
  KOALA_INTEROP_2(AnnotationDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
9144
10554
 
@@ -9164,16 +10574,6 @@ void impl_AnnotationDeclarationSetAnnotations1(KNativePointer context, KNativePo
9164
10574
  }
9165
10575
  KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
9166
10576
 
9167
- void impl_AnnotationDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
9168
- {
9169
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
9170
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9171
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
9172
- GetImpl()->AnnotationDeclarationAddAnnotations(_context, _receiver, _annotations);
9173
- return ;
9174
- }
9175
- KOALA_INTEROP_V3(AnnotationDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
9176
-
9177
10577
  KNativePointer impl_CreateAnnotationUsage(KNativePointer context, KNativePointer expr)
9178
10578
  {
9179
10579
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -9231,7 +10631,7 @@ KNativePointer impl_AnnotationUsageProperties(KNativePointer context, KNativePoi
9231
10631
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9232
10632
  std::size_t length;
9233
10633
  auto result = GetImpl()->AnnotationUsageIrProperties(_context, _receiver, &length);
9234
- return StageArena::cloneVector(result, length);
10634
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9235
10635
  }
9236
10636
  KOALA_INTEROP_2(AnnotationUsageProperties, KNativePointer, KNativePointer, KNativePointer);
9237
10637
 
@@ -9241,7 +10641,7 @@ KNativePointer impl_AnnotationUsagePropertiesConst(KNativePointer context, KNati
9241
10641
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9242
10642
  std::size_t length;
9243
10643
  auto result = GetImpl()->AnnotationUsageIrPropertiesConst(_context, _receiver, &length);
9244
- return (void*)StageArena::cloneVector(result, length);
10644
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9245
10645
  }
9246
10646
  KOALA_INTEROP_2(AnnotationUsagePropertiesConst, KNativePointer, KNativePointer, KNativePointer);
9247
10647
 
@@ -9406,7 +10806,7 @@ KNativePointer impl_FunctionSignatureParamsConst(KNativePointer context, KNative
9406
10806
  const auto _receiver = reinterpret_cast<es2panda_FunctionSignature*>(receiver);
9407
10807
  std::size_t length;
9408
10808
  auto result = GetImpl()->FunctionSignatureParamsConst(_context, _receiver, &length);
9409
- return (void*)StageArena::cloneVector(result, length);
10809
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9410
10810
  }
9411
10811
  KOALA_INTEROP_2(FunctionSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer);
9412
10812
 
@@ -9416,7 +10816,7 @@ KNativePointer impl_FunctionSignatureParams(KNativePointer context, KNativePoint
9416
10816
  const auto _receiver = reinterpret_cast<es2panda_FunctionSignature*>(receiver);
9417
10817
  std::size_t length;
9418
10818
  auto result = GetImpl()->FunctionSignatureParams(_context, _receiver, &length);
9419
- return StageArena::cloneVector(result, length);
10819
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9420
10820
  }
9421
10821
  KOALA_INTEROP_2(FunctionSignatureParams, KNativePointer, KNativePointer, KNativePointer);
9422
10822
 
@@ -9559,7 +10959,7 @@ KNativePointer impl_TSIntersectionTypeTypesConst(KNativePointer context, KNative
9559
10959
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9560
10960
  std::size_t length;
9561
10961
  auto result = GetImpl()->TSIntersectionTypeTypesConst(_context, _receiver, &length);
9562
- return (void*)StageArena::cloneVector(result, length);
10962
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9563
10963
  }
9564
10964
  KOALA_INTEROP_2(TSIntersectionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
9565
10965
 
@@ -9649,7 +11049,7 @@ KNativePointer impl_BlockExpressionStatementsConst(KNativePointer context, KNati
9649
11049
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9650
11050
  std::size_t length;
9651
11051
  auto result = GetImpl()->BlockExpressionStatementsConst(_context, _receiver, &length);
9652
- return (void*)StageArena::cloneVector(result, length);
11052
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9653
11053
  }
9654
11054
  KOALA_INTEROP_2(BlockExpressionStatementsConst, KNativePointer, KNativePointer, KNativePointer);
9655
11055
 
@@ -9659,7 +11059,7 @@ KNativePointer impl_BlockExpressionStatements(KNativePointer context, KNativePoi
9659
11059
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9660
11060
  std::size_t length;
9661
11061
  auto result = GetImpl()->BlockExpressionStatements(_context, _receiver, &length);
9662
- return StageArena::cloneVector(result, length);
11062
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9663
11063
  }
9664
11064
  KOALA_INTEROP_2(BlockExpressionStatements, KNativePointer, KNativePointer, KNativePointer);
9665
11065
 
@@ -9711,7 +11111,7 @@ KNativePointer impl_TSTypeLiteralMembersConst(KNativePointer context, KNativePoi
9711
11111
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9712
11112
  std::size_t length;
9713
11113
  auto result = GetImpl()->TSTypeLiteralMembersConst(_context, _receiver, &length);
9714
- return (void*)StageArena::cloneVector(result, length);
11114
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9715
11115
  }
9716
11116
  KOALA_INTEROP_2(TSTypeLiteralMembersConst, KNativePointer, KNativePointer, KNativePointer);
9717
11117
 
@@ -9828,15 +11228,24 @@ void impl_TSTypeParameterSetDefaultType(KNativePointer context, KNativePointer r
9828
11228
  }
9829
11229
  KOALA_INTEROP_V3(TSTypeParameterSetDefaultType, KNativePointer, KNativePointer, KNativePointer);
9830
11230
 
9831
- void impl_TSTypeParameterEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
11231
+ KBoolean impl_TSTypeParameterHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
11232
+ {
11233
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
11234
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11235
+ auto result = GetImpl()->TSTypeParameterHasAnnotationsConst(_context, _receiver);
11236
+ return result;
11237
+ }
11238
+ KOALA_INTEROP_2(TSTypeParameterHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
11239
+
11240
+ void impl_TSTypeParameterEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
9832
11241
  {
9833
11242
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
9834
11243
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9835
11244
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
9836
- GetImpl()->TSTypeParameterEmplaceAnnotations(_context, _receiver, _source);
11245
+ GetImpl()->TSTypeParameterEmplaceAnnotation(_context, _receiver, _source);
9837
11246
  return ;
9838
11247
  }
9839
- KOALA_INTEROP_V3(TSTypeParameterEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
11248
+ KOALA_INTEROP_V3(TSTypeParameterEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
9840
11249
 
9841
11250
  void impl_TSTypeParameterClearAnnotations(KNativePointer context, KNativePointer receiver)
9842
11251
  {
@@ -9847,16 +11256,15 @@ void impl_TSTypeParameterClearAnnotations(KNativePointer context, KNativePointer
9847
11256
  }
9848
11257
  KOALA_INTEROP_V2(TSTypeParameterClearAnnotations, KNativePointer, KNativePointer);
9849
11258
 
9850
- void impl_TSTypeParameterSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
11259
+ void impl_TSTypeParameterDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
9851
11260
  {
9852
11261
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
9853
11262
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9854
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
9855
- const auto _index = static_cast<KUInt>(index);
9856
- GetImpl()->TSTypeParameterSetValueAnnotations(_context, _receiver, _source, _index);
11263
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
11264
+ GetImpl()->TSTypeParameterDumpAnnotationsConst(_context, _receiver, _dumper);
9857
11265
  return ;
9858
11266
  }
9859
- KOALA_INTEROP_V4(TSTypeParameterSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
11267
+ KOALA_INTEROP_V3(TSTypeParameterDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
9860
11268
 
9861
11269
  KNativePointer impl_TSTypeParameterAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
9862
11270
  {
@@ -9864,7 +11272,7 @@ KNativePointer impl_TSTypeParameterAnnotationsForUpdate(KNativePointer context,
9864
11272
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9865
11273
  std::size_t length;
9866
11274
  auto result = GetImpl()->TSTypeParameterAnnotationsForUpdate(_context, _receiver, &length);
9867
- return StageArena::cloneVector(result, length);
11275
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9868
11276
  }
9869
11277
  KOALA_INTEROP_2(TSTypeParameterAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
9870
11278
 
@@ -9874,7 +11282,7 @@ KNativePointer impl_TSTypeParameterAnnotations(KNativePointer context, KNativePo
9874
11282
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9875
11283
  std::size_t length;
9876
11284
  auto result = GetImpl()->TSTypeParameterAnnotations(_context, _receiver, &length);
9877
- return StageArena::cloneVector(result, length);
11285
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9878
11286
  }
9879
11287
  KOALA_INTEROP_2(TSTypeParameterAnnotations, KNativePointer, KNativePointer, KNativePointer);
9880
11288
 
@@ -9884,7 +11292,7 @@ KNativePointer impl_TSTypeParameterAnnotationsConst(KNativePointer context, KNat
9884
11292
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9885
11293
  std::size_t length;
9886
11294
  auto result = GetImpl()->TSTypeParameterAnnotationsConst(_context, _receiver, &length);
9887
- return (void*)StageArena::cloneVector(result, length);
11295
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9888
11296
  }
9889
11297
  KOALA_INTEROP_2(TSTypeParameterAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
9890
11298
 
@@ -9910,16 +11318,6 @@ void impl_TSTypeParameterSetAnnotations1(KNativePointer context, KNativePointer
9910
11318
  }
9911
11319
  KOALA_INTEROP_V4(TSTypeParameterSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
9912
11320
 
9913
- void impl_TSTypeParameterAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
9914
- {
9915
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
9916
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9917
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
9918
- GetImpl()->TSTypeParameterAddAnnotations(_context, _receiver, _annotations);
9919
- return ;
9920
- }
9921
- KOALA_INTEROP_V3(TSTypeParameterAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
9922
-
9923
11321
  KNativePointer impl_CreateTSBooleanKeyword(KNativePointer context)
9924
11322
  {
9925
11323
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -9985,16 +11383,6 @@ KBoolean impl_SpreadElementIsOptionalConst(KNativePointer context, KNativePointe
9985
11383
  }
9986
11384
  KOALA_INTEROP_2(SpreadElementIsOptionalConst, KBoolean, KNativePointer, KNativePointer);
9987
11385
 
9988
- KNativePointer impl_SpreadElementDecoratorsConst(KNativePointer context, KNativePointer receiver)
9989
- {
9990
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
9991
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9992
- std::size_t length;
9993
- auto result = GetImpl()->SpreadElementDecoratorsConst(_context, _receiver, &length);
9994
- return (void*)StageArena::cloneVector(result, length);
9995
- }
9996
- KOALA_INTEROP_2(SpreadElementDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
9997
-
9998
11386
  void impl_SpreadElementSetOptional(KNativePointer context, KNativePointer receiver, KBoolean optional_arg)
9999
11387
  {
10000
11388
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -10220,7 +11608,7 @@ KNativePointer impl_ExportNamedDeclarationSpecifiersConst(KNativePointer context
10220
11608
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10221
11609
  std::size_t length;
10222
11610
  auto result = GetImpl()->ExportNamedDeclarationSpecifiersConst(_context, _receiver, &length);
10223
- return (void*)StageArena::cloneVector(result, length);
11611
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10224
11612
  }
10225
11613
  KOALA_INTEROP_2(ExportNamedDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer);
10226
11614
 
@@ -10482,15 +11870,24 @@ void impl_ETSParameterExpressionSetRequiredParams(KNativePointer context, KNativ
10482
11870
  }
10483
11871
  KOALA_INTEROP_V3(ETSParameterExpressionSetRequiredParams, KNativePointer, KNativePointer, KUInt);
10484
11872
 
10485
- void impl_ETSParameterExpressionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
11873
+ KBoolean impl_ETSParameterExpressionHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
11874
+ {
11875
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
11876
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11877
+ auto result = GetImpl()->ETSParameterExpressionHasAnnotationsConst(_context, _receiver);
11878
+ return result;
11879
+ }
11880
+ KOALA_INTEROP_2(ETSParameterExpressionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
11881
+
11882
+ void impl_ETSParameterExpressionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
10486
11883
  {
10487
11884
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
10488
11885
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10489
11886
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
10490
- GetImpl()->ETSParameterExpressionEmplaceAnnotations(_context, _receiver, _source);
11887
+ GetImpl()->ETSParameterExpressionEmplaceAnnotation(_context, _receiver, _source);
10491
11888
  return ;
10492
11889
  }
10493
- KOALA_INTEROP_V3(ETSParameterExpressionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
11890
+ KOALA_INTEROP_V3(ETSParameterExpressionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
10494
11891
 
10495
11892
  void impl_ETSParameterExpressionClearAnnotations(KNativePointer context, KNativePointer receiver)
10496
11893
  {
@@ -10501,16 +11898,15 @@ void impl_ETSParameterExpressionClearAnnotations(KNativePointer context, KNative
10501
11898
  }
10502
11899
  KOALA_INTEROP_V2(ETSParameterExpressionClearAnnotations, KNativePointer, KNativePointer);
10503
11900
 
10504
- void impl_ETSParameterExpressionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
11901
+ void impl_ETSParameterExpressionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
10505
11902
  {
10506
11903
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
10507
11904
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10508
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
10509
- const auto _index = static_cast<KUInt>(index);
10510
- GetImpl()->ETSParameterExpressionSetValueAnnotations(_context, _receiver, _source, _index);
11905
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
11906
+ GetImpl()->ETSParameterExpressionDumpAnnotationsConst(_context, _receiver, _dumper);
10511
11907
  return ;
10512
11908
  }
10513
- KOALA_INTEROP_V4(ETSParameterExpressionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
11909
+ KOALA_INTEROP_V3(ETSParameterExpressionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
10514
11910
 
10515
11911
  KNativePointer impl_ETSParameterExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
10516
11912
  {
@@ -10518,7 +11914,7 @@ KNativePointer impl_ETSParameterExpressionAnnotationsForUpdate(KNativePointer co
10518
11914
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10519
11915
  std::size_t length;
10520
11916
  auto result = GetImpl()->ETSParameterExpressionAnnotationsForUpdate(_context, _receiver, &length);
10521
- return StageArena::cloneVector(result, length);
11917
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10522
11918
  }
10523
11919
  KOALA_INTEROP_2(ETSParameterExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
10524
11920
 
@@ -10528,7 +11924,7 @@ KNativePointer impl_ETSParameterExpressionAnnotations(KNativePointer context, KN
10528
11924
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10529
11925
  std::size_t length;
10530
11926
  auto result = GetImpl()->ETSParameterExpressionAnnotations(_context, _receiver, &length);
10531
- return StageArena::cloneVector(result, length);
11927
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10532
11928
  }
10533
11929
  KOALA_INTEROP_2(ETSParameterExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer);
10534
11930
 
@@ -10538,7 +11934,7 @@ KNativePointer impl_ETSParameterExpressionAnnotationsConst(KNativePointer contex
10538
11934
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10539
11935
  std::size_t length;
10540
11936
  auto result = GetImpl()->ETSParameterExpressionAnnotationsConst(_context, _receiver, &length);
10541
- return (void*)StageArena::cloneVector(result, length);
11937
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10542
11938
  }
10543
11939
  KOALA_INTEROP_2(ETSParameterExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
10544
11940
 
@@ -10564,16 +11960,6 @@ void impl_ETSParameterExpressionSetAnnotations1(KNativePointer context, KNativeP
10564
11960
  }
10565
11961
  KOALA_INTEROP_V4(ETSParameterExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
10566
11962
 
10567
- void impl_ETSParameterExpressionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
10568
- {
10569
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
10570
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10571
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
10572
- GetImpl()->ETSParameterExpressionAddAnnotations(_context, _receiver, _annotations);
10573
- return ;
10574
- }
10575
- KOALA_INTEROP_V3(ETSParameterExpressionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
10576
-
10577
11963
  KNativePointer impl_CreateTSTypeParameterInstantiation(KNativePointer context, KNativePointerArray params, KUInt paramsSequenceLength)
10578
11964
  {
10579
11965
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -10601,7 +11987,7 @@ KNativePointer impl_TSTypeParameterInstantiationParamsConst(KNativePointer conte
10601
11987
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10602
11988
  std::size_t length;
10603
11989
  auto result = GetImpl()->TSTypeParameterInstantiationParamsConst(_context, _receiver, &length);
10604
- return (void*)StageArena::cloneVector(result, length);
11990
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10605
11991
  }
10606
11992
  KOALA_INTEROP_2(TSTypeParameterInstantiationParamsConst, KNativePointer, KNativePointer, KNativePointer);
10607
11993
 
@@ -10707,7 +12093,7 @@ KNativePointer impl_SwitchCaseStatementConsequentConst(KNativePointer context, K
10707
12093
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10708
12094
  std::size_t length;
10709
12095
  auto result = GetImpl()->SwitchCaseStatementConsequentConst(_context, _receiver, &length);
10710
- return (void*)StageArena::cloneVector(result, length);
12096
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10711
12097
  }
10712
12098
  KOALA_INTEROP_2(SwitchCaseStatementConsequentConst, KNativePointer, KNativePointer, KNativePointer);
10713
12099
 
@@ -11126,7 +12512,7 @@ KNativePointer impl_TemplateLiteralQuasisConst(KNativePointer context, KNativePo
11126
12512
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11127
12513
  std::size_t length;
11128
12514
  auto result = GetImpl()->TemplateLiteralQuasisConst(_context, _receiver, &length);
11129
- return (void*)StageArena::cloneVector(result, length);
12515
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11130
12516
  }
11131
12517
  KOALA_INTEROP_2(TemplateLiteralQuasisConst, KNativePointer, KNativePointer, KNativePointer);
11132
12518
 
@@ -11136,7 +12522,7 @@ KNativePointer impl_TemplateLiteralExpressionsConst(KNativePointer context, KNat
11136
12522
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11137
12523
  std::size_t length;
11138
12524
  auto result = GetImpl()->TemplateLiteralExpressionsConst(_context, _receiver, &length);
11139
- return (void*)StageArena::cloneVector(result, length);
12525
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11140
12526
  }
11141
12527
  KOALA_INTEROP_2(TemplateLiteralExpressionsConst, KNativePointer, KNativePointer, KNativePointer);
11142
12528
 
@@ -11176,7 +12562,7 @@ KNativePointer impl_TSUnionTypeTypesConst(KNativePointer context, KNativePointer
11176
12562
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11177
12563
  std::size_t length;
11178
12564
  auto result = GetImpl()->TSUnionTypeTypesConst(_context, _receiver, &length);
11179
- return (void*)StageArena::cloneVector(result, length);
12565
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11180
12566
  }
11181
12567
  KOALA_INTEROP_2(TSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
11182
12568
 
@@ -11282,27 +12668,6 @@ void impl_IdentifierSetName(KNativePointer context, KNativePointer receiver, KSt
11282
12668
  }
11283
12669
  KOALA_INTEROP_V3(IdentifierSetName, KNativePointer, KNativePointer, KStringPtr);
11284
12670
 
11285
- void impl_IdentifierSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
11286
- {
11287
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
11288
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11289
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
11290
- const auto _index = static_cast<KUInt>(index);
11291
- GetImpl()->IdentifierSetValueDecorators(_context, _receiver, _source, _index);
11292
- return ;
11293
- }
11294
- KOALA_INTEROP_V4(IdentifierSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
11295
-
11296
- KNativePointer impl_IdentifierDecoratorsConst(KNativePointer context, KNativePointer receiver)
11297
- {
11298
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
11299
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11300
- std::size_t length;
11301
- auto result = GetImpl()->IdentifierDecoratorsConst(_context, _receiver, &length);
11302
- return (void*)StageArena::cloneVector(result, length);
11303
- }
11304
- KOALA_INTEROP_2(IdentifierDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
11305
-
11306
12671
  KBoolean impl_IdentifierIsErrorPlaceHolderConst(KNativePointer context, KNativePointer receiver)
11307
12672
  {
11308
12673
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -11558,7 +12923,7 @@ KNativePointer impl_BlockStatementStatementsForUpdates(KNativePointer context, K
11558
12923
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11559
12924
  std::size_t length;
11560
12925
  auto result = GetImpl()->BlockStatementStatementsForUpdates(_context, _receiver, &length);
11561
- return StageArena::cloneVector(result, length);
12926
+ return length ? StageArena::cloneVector(result, length) : nullptr;
11562
12927
  }
11563
12928
  KOALA_INTEROP_2(BlockStatementStatementsForUpdates, KNativePointer, KNativePointer, KNativePointer);
11564
12929
 
@@ -11568,7 +12933,7 @@ KNativePointer impl_BlockStatementStatements(KNativePointer context, KNativePoin
11568
12933
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11569
12934
  std::size_t length;
11570
12935
  auto result = GetImpl()->BlockStatementStatements(_context, _receiver, &length);
11571
- return StageArena::cloneVector(result, length);
12936
+ return length ? StageArena::cloneVector(result, length) : nullptr;
11572
12937
  }
11573
12938
  KOALA_INTEROP_2(BlockStatementStatements, KNativePointer, KNativePointer, KNativePointer);
11574
12939
 
@@ -11578,7 +12943,7 @@ KNativePointer impl_BlockStatementStatementsConst(KNativePointer context, KNativ
11578
12943
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11579
12944
  std::size_t length;
11580
12945
  auto result = GetImpl()->BlockStatementStatementsConst(_context, _receiver, &length);
11581
- return (void*)StageArena::cloneVector(result, length);
12946
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11582
12947
  }
11583
12948
  KOALA_INTEROP_2(BlockStatementStatementsConst, KNativePointer, KNativePointer, KNativePointer);
11584
12949
 
@@ -11713,7 +13078,7 @@ KNativePointer impl_TSTypeParameterDeclarationParamsConst(KNativePointer context
11713
13078
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11714
13079
  std::size_t length;
11715
13080
  auto result = GetImpl()->TSTypeParameterDeclarationParamsConst(_context, _receiver, &length);
11716
- return (void*)StageArena::cloneVector(result, length);
13081
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11717
13082
  }
11718
13083
  KOALA_INTEROP_2(TSTypeParameterDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer);
11719
13084
 
@@ -11853,7 +13218,7 @@ KNativePointer impl_MethodDefinitionOverloadsConst(KNativePointer context, KNati
11853
13218
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11854
13219
  std::size_t length;
11855
13220
  auto result = GetImpl()->MethodDefinitionOverloadsConst(_context, _receiver, &length);
11856
- return (void*)StageArena::cloneVector(result, length);
13221
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11857
13222
  }
11858
13223
  KOALA_INTEROP_2(MethodDefinitionOverloadsConst, KNativePointer, KNativePointer, KNativePointer);
11859
13224
 
@@ -12037,7 +13402,7 @@ KNativePointer impl_OverloadDeclarationOverloadedList(KNativePointer context, KN
12037
13402
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12038
13403
  std::size_t length;
12039
13404
  auto result = GetImpl()->OverloadDeclarationOverloadedList(_context, _receiver, &length);
12040
- return StageArena::cloneVector(result, length);
13405
+ return length ? StageArena::cloneVector(result, length) : nullptr;
12041
13406
  }
12042
13407
  KOALA_INTEROP_2(OverloadDeclarationOverloadedList, KNativePointer, KNativePointer, KNativePointer);
12043
13408
 
@@ -12775,66 +14140,6 @@ KNativePointer impl_ClassDeclarationDefinitionConst(KNativePointer context, KNat
12775
14140
  }
12776
14141
  KOALA_INTEROP_2(ClassDeclarationDefinitionConst, KNativePointer, KNativePointer, KNativePointer);
12777
14142
 
12778
- KNativePointer impl_ClassDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
12779
- {
12780
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12781
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12782
- std::size_t length;
12783
- auto result = GetImpl()->ClassDeclarationDecoratorsConst(_context, _receiver, &length);
12784
- return (void*)StageArena::cloneVector(result, length);
12785
- }
12786
- KOALA_INTEROP_2(ClassDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
12787
-
12788
- void impl_ClassDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
12789
- {
12790
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12791
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12792
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
12793
- GetImpl()->ClassDeclarationEmplaceDecorators(_context, _receiver, _decorators);
12794
- return ;
12795
- }
12796
- KOALA_INTEROP_V3(ClassDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
12797
-
12798
- void impl_ClassDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
12799
- {
12800
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12801
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12802
- GetImpl()->ClassDeclarationClearDecorators(_context, _receiver);
12803
- return ;
12804
- }
12805
- KOALA_INTEROP_V2(ClassDeclarationClearDecorators, KNativePointer, KNativePointer);
12806
-
12807
- void impl_ClassDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
12808
- {
12809
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12810
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12811
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
12812
- const auto _index = static_cast<KUInt>(index);
12813
- GetImpl()->ClassDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
12814
- return ;
12815
- }
12816
- KOALA_INTEROP_V4(ClassDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
12817
-
12818
- KNativePointer impl_ClassDeclarationDecorators(KNativePointer context, KNativePointer receiver)
12819
- {
12820
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12821
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12822
- std::size_t length;
12823
- auto result = GetImpl()->ClassDeclarationDecorators(_context, _receiver, &length);
12824
- return StageArena::cloneVector(result, length);
12825
- }
12826
- KOALA_INTEROP_2(ClassDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
12827
-
12828
- KNativePointer impl_ClassDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
12829
- {
12830
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12831
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12832
- std::size_t length;
12833
- auto result = GetImpl()->ClassDeclarationDecoratorsForUpdate(_context, _receiver, &length);
12834
- return StageArena::cloneVector(result, length);
12835
- }
12836
- KOALA_INTEROP_2(ClassDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
12837
-
12838
14143
  void impl_ClassDeclarationSetDefinition(KNativePointer context, KNativePointer receiver, KNativePointer def)
12839
14144
  {
12840
14145
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -13171,7 +14476,7 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensions(KNativePoint
13171
14476
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13172
14477
  std::size_t length;
13173
14478
  auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensions(_context, _receiver, &length);
13174
- return StageArena::cloneVector(result, length);
14479
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13175
14480
  }
13176
14481
  KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensions, KNativePointer, KNativePointer, KNativePointer);
13177
14482
 
@@ -13181,7 +14486,7 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensionsConst(KNative
13181
14486
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13182
14487
  std::size_t length;
13183
14488
  auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensionsConst(_context, _receiver, &length);
13184
- return (void*)StageArena::cloneVector(result, length);
14489
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13185
14490
  }
13186
14491
  KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensionsConst, KNativePointer, KNativePointer, KNativePointer);
13187
14492
 
@@ -13546,7 +14851,7 @@ KNativePointer impl_SwitchStatementCasesConst(KNativePointer context, KNativePoi
13546
14851
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13547
14852
  std::size_t length;
13548
14853
  auto result = GetImpl()->SwitchStatementCasesConst(_context, _receiver, &length);
13549
- return (void*)StageArena::cloneVector(result, length);
14854
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13550
14855
  }
13551
14856
  KOALA_INTEROP_2(SwitchStatementCasesConst, KNativePointer, KNativePointer, KNativePointer);
13552
14857
 
@@ -13556,7 +14861,7 @@ KNativePointer impl_SwitchStatementCases(KNativePointer context, KNativePointer
13556
14861
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13557
14862
  std::size_t length;
13558
14863
  auto result = GetImpl()->SwitchStatementCases(_context, _receiver, &length);
13559
- return StageArena::cloneVector(result, length);
14864
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13560
14865
  }
13561
14866
  KOALA_INTEROP_2(SwitchStatementCases, KNativePointer, KNativePointer, KNativePointer);
13562
14867
 
@@ -13729,7 +15034,7 @@ KNativePointer impl_SequenceExpressionSequenceConst(KNativePointer context, KNat
13729
15034
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13730
15035
  std::size_t length;
13731
15036
  auto result = GetImpl()->SequenceExpressionSequenceConst(_context, _receiver, &length);
13732
- return (void*)StageArena::cloneVector(result, length);
15037
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13733
15038
  }
13734
15039
  KOALA_INTEROP_2(SequenceExpressionSequenceConst, KNativePointer, KNativePointer, KNativePointer);
13735
15040
 
@@ -13739,7 +15044,7 @@ KNativePointer impl_SequenceExpressionSequence(KNativePointer context, KNativePo
13739
15044
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13740
15045
  std::size_t length;
13741
15046
  auto result = GetImpl()->SequenceExpressionSequence(_context, _receiver, &length);
13742
- return StageArena::cloneVector(result, length);
15047
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13743
15048
  }
13744
15049
  KOALA_INTEROP_2(SequenceExpressionSequence, KNativePointer, KNativePointer, KNativePointer);
13745
15050
 
@@ -13808,15 +15113,24 @@ KNativePointer impl_ArrowFunctionExpressionCreateTypeAnnotation(KNativePointer c
13808
15113
  }
13809
15114
  KOALA_INTEROP_2(ArrowFunctionExpressionCreateTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
13810
15115
 
13811
- void impl_ArrowFunctionExpressionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
15116
+ KBoolean impl_ArrowFunctionExpressionHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
15117
+ {
15118
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
15119
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15120
+ auto result = GetImpl()->ArrowFunctionExpressionHasAnnotationsConst(_context, _receiver);
15121
+ return result;
15122
+ }
15123
+ KOALA_INTEROP_2(ArrowFunctionExpressionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
15124
+
15125
+ void impl_ArrowFunctionExpressionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
13812
15126
  {
13813
15127
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
13814
15128
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13815
15129
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
13816
- GetImpl()->ArrowFunctionExpressionEmplaceAnnotations(_context, _receiver, _source);
15130
+ GetImpl()->ArrowFunctionExpressionEmplaceAnnotation(_context, _receiver, _source);
13817
15131
  return ;
13818
15132
  }
13819
- KOALA_INTEROP_V3(ArrowFunctionExpressionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
15133
+ KOALA_INTEROP_V3(ArrowFunctionExpressionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
13820
15134
 
13821
15135
  void impl_ArrowFunctionExpressionClearAnnotations(KNativePointer context, KNativePointer receiver)
13822
15136
  {
@@ -13827,16 +15141,15 @@ void impl_ArrowFunctionExpressionClearAnnotations(KNativePointer context, KNativ
13827
15141
  }
13828
15142
  KOALA_INTEROP_V2(ArrowFunctionExpressionClearAnnotations, KNativePointer, KNativePointer);
13829
15143
 
13830
- void impl_ArrowFunctionExpressionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
15144
+ void impl_ArrowFunctionExpressionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
13831
15145
  {
13832
15146
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
13833
15147
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13834
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
13835
- const auto _index = static_cast<KUInt>(index);
13836
- GetImpl()->ArrowFunctionExpressionSetValueAnnotations(_context, _receiver, _source, _index);
15148
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
15149
+ GetImpl()->ArrowFunctionExpressionDumpAnnotationsConst(_context, _receiver, _dumper);
13837
15150
  return ;
13838
15151
  }
13839
- KOALA_INTEROP_V4(ArrowFunctionExpressionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
15152
+ KOALA_INTEROP_V3(ArrowFunctionExpressionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
13840
15153
 
13841
15154
  KNativePointer impl_ArrowFunctionExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
13842
15155
  {
@@ -13844,7 +15157,7 @@ KNativePointer impl_ArrowFunctionExpressionAnnotationsForUpdate(KNativePointer c
13844
15157
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13845
15158
  std::size_t length;
13846
15159
  auto result = GetImpl()->ArrowFunctionExpressionAnnotationsForUpdate(_context, _receiver, &length);
13847
- return StageArena::cloneVector(result, length);
15160
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13848
15161
  }
13849
15162
  KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
13850
15163
 
@@ -13854,7 +15167,7 @@ KNativePointer impl_ArrowFunctionExpressionAnnotations(KNativePointer context, K
13854
15167
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13855
15168
  std::size_t length;
13856
15169
  auto result = GetImpl()->ArrowFunctionExpressionAnnotations(_context, _receiver, &length);
13857
- return StageArena::cloneVector(result, length);
15170
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13858
15171
  }
13859
15172
  KOALA_INTEROP_2(ArrowFunctionExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer);
13860
15173
 
@@ -13864,7 +15177,7 @@ KNativePointer impl_ArrowFunctionExpressionAnnotationsConst(KNativePointer conte
13864
15177
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13865
15178
  std::size_t length;
13866
15179
  auto result = GetImpl()->ArrowFunctionExpressionAnnotationsConst(_context, _receiver, &length);
13867
- return (void*)StageArena::cloneVector(result, length);
15180
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13868
15181
  }
13869
15182
  KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
13870
15183
 
@@ -13890,16 +15203,6 @@ void impl_ArrowFunctionExpressionSetAnnotations1(KNativePointer context, KNative
13890
15203
  }
13891
15204
  KOALA_INTEROP_V4(ArrowFunctionExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
13892
15205
 
13893
- void impl_ArrowFunctionExpressionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
13894
- {
13895
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
13896
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13897
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
13898
- GetImpl()->ArrowFunctionExpressionAddAnnotations(_context, _receiver, _annotations);
13899
- return ;
13900
- }
13901
- KOALA_INTEROP_V3(ArrowFunctionExpressionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
13902
-
13903
15206
  KNativePointer impl_CreateOmittedExpression(KNativePointer context)
13904
15207
  {
13905
15208
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -13974,7 +15277,7 @@ KNativePointer impl_ETSNewClassInstanceExpressionGetArguments(KNativePointer con
13974
15277
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13975
15278
  std::size_t length;
13976
15279
  auto result = GetImpl()->ETSNewClassInstanceExpressionGetArguments(_context, _receiver, &length);
13977
- return StageArena::cloneVector(result, length);
15280
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13978
15281
  }
13979
15282
  KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArguments, KNativePointer, KNativePointer, KNativePointer);
13980
15283
 
@@ -13984,7 +15287,7 @@ KNativePointer impl_ETSNewClassInstanceExpressionGetArgumentsConst(KNativePointe
13984
15287
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13985
15288
  std::size_t length;
13986
15289
  auto result = GetImpl()->ETSNewClassInstanceExpressionGetArgumentsConst(_context, _receiver, &length);
13987
- return (void*)StageArena::cloneVector(result, length);
15290
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13988
15291
  }
13989
15292
  KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
13990
15293
 
@@ -14333,15 +15636,24 @@ KInt impl_ETSPrimitiveTypeGetPrimitiveTypeConst(KNativePointer context, KNativeP
14333
15636
  }
14334
15637
  KOALA_INTEROP_2(ETSPrimitiveTypeGetPrimitiveTypeConst, KInt, KNativePointer, KNativePointer);
14335
15638
 
14336
- void impl_TypeNodeEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
15639
+ KBoolean impl_TypeNodeHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
15640
+ {
15641
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
15642
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15643
+ auto result = GetImpl()->TypeNodeHasAnnotationsConst(_context, _receiver);
15644
+ return result;
15645
+ }
15646
+ KOALA_INTEROP_2(TypeNodeHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
15647
+
15648
+ void impl_TypeNodeEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
14337
15649
  {
14338
15650
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
14339
15651
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14340
15652
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
14341
- GetImpl()->TypeNodeEmplaceAnnotations(_context, _receiver, _source);
15653
+ GetImpl()->TypeNodeEmplaceAnnotation(_context, _receiver, _source);
14342
15654
  return ;
14343
15655
  }
14344
- KOALA_INTEROP_V3(TypeNodeEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
15656
+ KOALA_INTEROP_V3(TypeNodeEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
14345
15657
 
14346
15658
  void impl_TypeNodeClearAnnotations(KNativePointer context, KNativePointer receiver)
14347
15659
  {
@@ -14352,16 +15664,15 @@ void impl_TypeNodeClearAnnotations(KNativePointer context, KNativePointer receiv
14352
15664
  }
14353
15665
  KOALA_INTEROP_V2(TypeNodeClearAnnotations, KNativePointer, KNativePointer);
14354
15666
 
14355
- void impl_TypeNodeSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
15667
+ void impl_TypeNodeDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
14356
15668
  {
14357
15669
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
14358
15670
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14359
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
14360
- const auto _index = static_cast<KUInt>(index);
14361
- GetImpl()->TypeNodeSetValueAnnotations(_context, _receiver, _source, _index);
15671
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
15672
+ GetImpl()->TypeNodeDumpAnnotationsConst(_context, _receiver, _dumper);
14362
15673
  return ;
14363
15674
  }
14364
- KOALA_INTEROP_V4(TypeNodeSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
15675
+ KOALA_INTEROP_V3(TypeNodeDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
14365
15676
 
14366
15677
  KNativePointer impl_TypeNodeAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
14367
15678
  {
@@ -14369,7 +15680,7 @@ KNativePointer impl_TypeNodeAnnotationsForUpdate(KNativePointer context, KNative
14369
15680
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14370
15681
  std::size_t length;
14371
15682
  auto result = GetImpl()->TypeNodeAnnotationsForUpdate(_context, _receiver, &length);
14372
- return StageArena::cloneVector(result, length);
15683
+ return length ? StageArena::cloneVector(result, length) : nullptr;
14373
15684
  }
14374
15685
  KOALA_INTEROP_2(TypeNodeAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
14375
15686
 
@@ -14379,7 +15690,7 @@ KNativePointer impl_TypeNodeAnnotations(KNativePointer context, KNativePointer r
14379
15690
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14380
15691
  std::size_t length;
14381
15692
  auto result = GetImpl()->TypeNodeAnnotations(_context, _receiver, &length);
14382
- return StageArena::cloneVector(result, length);
15693
+ return length ? StageArena::cloneVector(result, length) : nullptr;
14383
15694
  }
14384
15695
  KOALA_INTEROP_2(TypeNodeAnnotations, KNativePointer, KNativePointer, KNativePointer);
14385
15696
 
@@ -14389,7 +15700,7 @@ KNativePointer impl_TypeNodeAnnotationsConst(KNativePointer context, KNativePoin
14389
15700
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14390
15701
  std::size_t length;
14391
15702
  auto result = GetImpl()->TypeNodeAnnotationsConst(_context, _receiver, &length);
14392
- return (void*)StageArena::cloneVector(result, length);
15703
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
14393
15704
  }
14394
15705
  KOALA_INTEROP_2(TypeNodeAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
14395
15706
 
@@ -14415,16 +15726,6 @@ void impl_TypeNodeSetAnnotations1(KNativePointer context, KNativePointer receive
14415
15726
  }
14416
15727
  KOALA_INTEROP_V4(TypeNodeSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
14417
15728
 
14418
- void impl_TypeNodeAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
14419
- {
14420
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14421
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14422
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
14423
- GetImpl()->TypeNodeAddAnnotations(_context, _receiver, _annotations);
14424
- return ;
14425
- }
14426
- KOALA_INTEROP_V3(TypeNodeAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
14427
-
14428
15729
  KNativePointer impl_CreateNewExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength)
14429
15730
  {
14430
15731
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -14463,7 +15764,7 @@ KNativePointer impl_NewExpressionArgumentsConst(KNativePointer context, KNativeP
14463
15764
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14464
15765
  std::size_t length;
14465
15766
  auto result = GetImpl()->NewExpressionArgumentsConst(_context, _receiver, &length);
14466
- return (void*)StageArena::cloneVector(result, length);
15767
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
14467
15768
  }
14468
15769
  KOALA_INTEROP_2(NewExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
14469
15770
 
@@ -14595,35 +15896,6 @@ KNativePointer impl_UpdateTSThisType(KNativePointer context, KNativePointer orig
14595
15896
  }
14596
15897
  KOALA_INTEROP_2(UpdateTSThisType, KNativePointer, KNativePointer, KNativePointer);
14597
15898
 
14598
- KNativePointer impl_CreateInterfaceDecl(KNativePointer context, KStringPtr& name)
14599
- {
14600
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14601
- const auto _name = getStringCopy(name);
14602
- auto result = GetImpl()->CreateInterfaceDecl(_context, _name);
14603
- return result;
14604
- }
14605
- KOALA_INTEROP_2(CreateInterfaceDecl, KNativePointer, KNativePointer, KStringPtr);
14606
-
14607
- KNativePointer impl_CreateInterfaceDecl1(KNativePointer context, KStringPtr& name, KNativePointer declNode)
14608
- {
14609
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14610
- const auto _name = getStringCopy(name);
14611
- const auto _declNode = reinterpret_cast<es2panda_AstNode*>(declNode);
14612
- auto result = GetImpl()->CreateInterfaceDecl1(_context, _name, _declNode);
14613
- return result;
14614
- }
14615
- KOALA_INTEROP_3(CreateInterfaceDecl1, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
14616
-
14617
- KNativePointer impl_CreateFunctionDecl(KNativePointer context, KStringPtr& name, KNativePointer node)
14618
- {
14619
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14620
- const auto _name = getStringCopy(name);
14621
- const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
14622
- auto result = GetImpl()->CreateFunctionDecl(_context, _name, _node);
14623
- return result;
14624
- }
14625
- KOALA_INTEROP_3(CreateFunctionDecl, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
14626
-
14627
15899
  void impl_ProgramSetKind(KNativePointer context, KNativePointer receiver, KInt kind)
14628
15900
  {
14629
15901
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -14924,6 +16196,15 @@ void impl_ProgramSetASTChecked(KNativePointer context, KNativePointer receiver)
14924
16196
  }
14925
16197
  KOALA_INTEROP_V2(ProgramSetASTChecked, KNativePointer, KNativePointer);
14926
16198
 
16199
+ void impl_ProgramRemoveAstChecked(KNativePointer context, KNativePointer receiver)
16200
+ {
16201
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
16202
+ const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
16203
+ GetImpl()->ProgramRemoveAstChecked(_context, _receiver);
16204
+ return ;
16205
+ }
16206
+ KOALA_INTEROP_V2(ProgramRemoveAstChecked, KNativePointer, KNativePointer);
16207
+
14927
16208
  KBoolean impl_ProgramIsASTChecked(KNativePointer context, KNativePointer receiver)
14928
16209
  {
14929
16210
  const auto _context = reinterpret_cast<es2panda_Context*>(context);