@idlizer/arktscgen 2.1.10-arktscgen-2 → 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 (231) hide show
  1. package/build/libarkts-copy/generator/options.json5 +89 -6
  2. package/build/libarkts-copy/native/meson.build +1 -0
  3. package/build/libarkts-copy/native/src/bridges.cc +10 -4
  4. package/build/libarkts-copy/native/src/common.cc +0 -12
  5. package/build/libarkts-copy/native/src/generated/bridges.cc +407 -723
  6. package/build/libarkts-copy/native/src/memoryTracker.cc +178 -0
  7. package/build/libarkts-copy/native/src/memoryTracker.h +52 -0
  8. package/build/libarkts-copy/package.json +1 -1
  9. package/build/libarkts-copy/src/Es2pandaNativeModule.ts +14 -2
  10. package/build/libarkts-copy/src/arkts-api/class-by-peer.ts +2 -2
  11. package/build/libarkts-copy/src/arkts-api/index.ts +2 -1
  12. package/build/libarkts-copy/src/arkts-api/node-cache.ts +7 -11
  13. package/build/libarkts-copy/src/arkts-api/node-utilities/ScriptFunction.ts +1 -1
  14. package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +4 -1
  15. package/{templates/node-map.ts → build/libarkts-copy/src/arkts-api/peers/DiagnosticKind.ts} +8 -19
  16. package/build/libarkts-copy/src/arkts-api/utilities/extensions.ts +26 -9
  17. package/build/libarkts-copy/src/arkts-api/utilities/performance.ts +309 -0
  18. package/build/libarkts-copy/src/arkts-api/utilities/private.ts +7 -21
  19. package/build/libarkts-copy/src/arkts-api/utilities/public.ts +41 -7
  20. package/build/libarkts-copy/src/arkts-api/visitor.ts +21 -14
  21. package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +1 -0
  22. package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +85 -172
  23. package/build/libarkts-copy/src/generated/factory.ts +2 -3
  24. package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +0 -1
  25. package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +0 -1
  26. package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +0 -1
  27. package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +11 -13
  28. package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +1 -2
  29. package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +0 -1
  30. package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +0 -5
  31. package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +12 -14
  32. package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +0 -1
  33. package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +0 -1
  34. package/build/libarkts-copy/src/generated/peers/AstDumper.ts +0 -1
  35. package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +0 -1
  36. package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +0 -1
  37. package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +0 -1
  38. package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +0 -1
  39. package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +0 -1
  40. package/build/libarkts-copy/src/generated/peers/BindingProps.ts +0 -1
  41. package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +0 -1
  42. package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +0 -1
  43. package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +0 -1
  44. package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +1 -2
  45. package/build/libarkts-copy/src/generated/peers/CallExpression.ts +6 -2
  46. package/build/libarkts-copy/src/generated/peers/CatchClause.ts +0 -1
  47. package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +0 -1
  48. package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +0 -1
  49. package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +1 -24
  50. package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +26 -20
  51. package/build/libarkts-copy/src/generated/peers/ClassElement.ts +2 -30
  52. package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +1 -2
  53. package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +10 -12
  54. package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +1 -2
  55. package/build/libarkts-copy/src/generated/peers/CodeGen.ts +0 -1
  56. package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +0 -1
  57. package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +1 -2
  58. package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +0 -1
  59. package/build/libarkts-copy/src/generated/peers/Declaration.ts +0 -1
  60. package/build/libarkts-copy/src/generated/peers/Decorator.ts +0 -1
  61. package/build/libarkts-copy/src/generated/peers/DiagnosticInfo.ts +0 -1
  62. package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +0 -1
  63. package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +0 -1
  64. package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +0 -1
  65. package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +0 -1
  66. package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +9 -3
  67. package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +0 -1
  68. package/build/libarkts-copy/src/generated/peers/ETSIntrinsicNode.ts +0 -1
  69. package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +0 -1
  70. package/build/libarkts-copy/src/generated/peers/ETSModule.ts +12 -14
  71. package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +0 -1
  72. package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +0 -1
  73. package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +0 -1
  74. package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +0 -1
  75. package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +0 -1
  76. package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +13 -15
  77. package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +0 -1
  78. package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +1 -2
  79. package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +0 -1
  80. package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +0 -1
  81. package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +0 -1
  82. package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +2 -3
  83. package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +3 -4
  84. package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +0 -1
  85. package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +0 -1
  86. package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +1 -2
  87. package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +0 -1
  88. package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +0 -1
  89. package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +2 -3
  90. package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +0 -1
  91. package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +2 -3
  92. package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +2 -3
  93. package/build/libarkts-copy/src/generated/peers/Expression.ts +0 -1
  94. package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +0 -1
  95. package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +0 -1
  96. package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +0 -1
  97. package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +0 -1
  98. package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +10 -16
  99. package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +2 -3
  100. package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +2 -2
  101. package/build/libarkts-copy/src/generated/peers/IRNode.ts +0 -1
  102. package/build/libarkts-copy/src/generated/peers/Identifier.ts +0 -10
  103. package/build/libarkts-copy/src/generated/peers/IfStatement.ts +0 -1
  104. package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +1 -2
  105. package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +1 -2
  106. package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +0 -1
  107. package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +1 -2
  108. package/build/libarkts-copy/src/generated/peers/ImportSource.ts +0 -1
  109. package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +2 -3
  110. package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +0 -1
  111. package/build/libarkts-copy/src/generated/peers/LabelPair.ts +0 -1
  112. package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +1 -2
  113. package/build/libarkts-copy/src/generated/peers/Literal.ts +0 -1
  114. package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +0 -1
  115. package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +0 -1
  116. package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +0 -1
  117. package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +0 -1
  118. package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +5 -6
  119. package/build/libarkts-copy/src/generated/peers/NamedType.ts +2 -3
  120. package/build/libarkts-copy/src/generated/peers/NewExpression.ts +0 -1
  121. package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +0 -1
  122. package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +0 -1
  123. package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +0 -1
  124. package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +0 -5
  125. package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +0 -1
  126. package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +0 -1
  127. package/build/libarkts-copy/src/generated/peers/OverloadDeclaration.ts +0 -1
  128. package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +0 -1
  129. package/build/libarkts-copy/src/generated/peers/Program.ts +9 -2
  130. package/build/libarkts-copy/src/generated/peers/Property.ts +0 -1
  131. package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +0 -1
  132. package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +0 -1
  133. package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +0 -1
  134. package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +22 -19
  135. package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +0 -1
  136. package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +0 -1
  137. package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +0 -1
  138. package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +2 -1
  139. package/build/libarkts-copy/src/generated/peers/SourceRange.ts +0 -1
  140. package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +0 -5
  141. package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +0 -1
  142. package/build/libarkts-copy/src/generated/peers/Statement.ts +0 -1
  143. package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +0 -1
  144. package/build/libarkts-copy/src/generated/peers/SuggestionInfo.ts +0 -1
  145. package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +0 -1
  146. package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +0 -1
  147. package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +1 -2
  148. package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +0 -1
  149. package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +0 -1
  150. package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +0 -1
  151. package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +0 -1
  152. package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +0 -1
  153. package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +1 -2
  154. package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +0 -1
  155. package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +1 -2
  156. package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +2 -25
  157. package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +0 -1
  158. package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +0 -1
  159. package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +1 -2
  160. package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +1 -2
  161. package/build/libarkts-copy/src/generated/peers/TSImportType.ts +1 -2
  162. package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +0 -1
  163. package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +0 -1
  164. package/build/libarkts-copy/src/generated/peers/TSInferType.ts +1 -2
  165. package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +0 -1
  166. package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +14 -38
  167. package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +0 -1
  168. package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +0 -1
  169. package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +0 -1
  170. package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +1 -2
  171. package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +1 -2
  172. package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +0 -1
  173. package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +0 -1
  174. package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +0 -1
  175. package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +0 -1
  176. package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +0 -1
  177. package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +0 -1
  178. package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +0 -1
  179. package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +0 -1
  180. package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +0 -1
  181. package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +0 -1
  182. package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +0 -1
  183. package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +2 -3
  184. package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +1 -2
  185. package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +0 -1
  186. package/build/libarkts-copy/src/generated/peers/TSThisType.ts +0 -1
  187. package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +0 -1
  188. package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +26 -40
  189. package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +0 -1
  190. package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +0 -1
  191. package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +0 -1
  192. package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +11 -13
  193. package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +1 -2
  194. package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +0 -1
  195. package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +0 -1
  196. package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +0 -1
  197. package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +2 -3
  198. package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +0 -1
  199. package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +0 -1
  200. package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +0 -1
  201. package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +0 -1
  202. package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +2 -3
  203. package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +0 -1
  204. package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +1 -2
  205. package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +0 -1
  206. package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +0 -1
  207. package/build/libarkts-copy/src/generated/peers/TryStatement.ts +1 -2
  208. package/build/libarkts-copy/src/generated/peers/TypeNode.ts +10 -12
  209. package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +0 -1
  210. package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +0 -1
  211. package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +0 -1
  212. package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +0 -1
  213. package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +0 -1
  214. package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +0 -1
  215. package/build/libarkts-copy/src/generated/peers/VReg.ts +0 -1
  216. package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +0 -1
  217. package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +11 -20
  218. package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +0 -1
  219. package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +0 -1
  220. package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +0 -1
  221. package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +0 -1
  222. package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +0 -1
  223. package/build/libarkts-copy/src/index.ts +2 -1
  224. package/build/libarkts-copy/src/plugin-utils.ts +0 -10
  225. package/build/libarkts-copy/src/reexport-for-generated.ts +1 -20
  226. package/build/libarkts-copy/src/utils.ts +3 -0
  227. package/lib/index.js +34 -22
  228. package/package.json +4 -3
  229. package/templates/factory.ts +0 -1
  230. package/templates/peer.ts +0 -1
  231. package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +0 -79
@@ -17,7 +17,7 @@
17
17
 
18
18
  /*
19
19
  * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.10+devel. DO NOT EDIT MANUALLY!
20
- * es2panda 69841f0ea7d3ce9e56d52de1dd426082f56e149e(2025-08-12) sdk v1.5.0-dev.41217
20
+ * es2panda bb0d61379a95a80fffec85824dc465e3cf3b321e(2025-08-20) sdk v1.5.0-dev.42382
21
21
  */
22
22
 
23
23
  KNativePointer impl_GetAllErrorMessages(KNativePointer context)
@@ -225,7 +225,7 @@ KNativePointer impl_AllDeclarationsByNameFromNode(KNativePointer context, KNativ
225
225
  const auto _name = getStringCopy(name);
226
226
  std::size_t length;
227
227
  auto result = GetImpl()->AllDeclarationsByNameFromNode(_context, _node, _name, &length);
228
- return StageArena::cloneVector(result, length);
228
+ return length ? StageArena::cloneVector(result, length) : nullptr;
229
229
  }
230
230
  KOALA_INTEROP_3(AllDeclarationsByNameFromNode, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
231
231
 
@@ -236,7 +236,7 @@ KNativePointer impl_AllDeclarationsByNameFromProgram(KNativePointer context, KNa
236
236
  const auto _name = getStringCopy(name);
237
237
  std::size_t length;
238
238
  auto result = GetImpl()->AllDeclarationsByNameFromProgram(_context, _program, _name, &length);
239
- return StageArena::cloneVector(result, length);
239
+ return length ? StageArena::cloneVector(result, length) : nullptr;
240
240
  }
241
241
  KOALA_INTEROP_3(AllDeclarationsByNameFromProgram, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
242
242
 
@@ -1899,15 +1899,24 @@ void impl_ClassPropertySetIsImmediateInit(KNativePointer context, KNativePointer
1899
1899
  }
1900
1900
  KOALA_INTEROP_V2(ClassPropertySetIsImmediateInit, KNativePointer, KNativePointer);
1901
1901
 
1902
- void impl_ClassPropertyEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
1902
+ KBoolean impl_ClassPropertyHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
1903
+ {
1904
+ const auto _context = reinterpret_cast<es2panda_Context*>(context);
1905
+ const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1906
+ auto result = GetImpl()->ClassPropertyHasAnnotationsConst(_context, _receiver);
1907
+ return result;
1908
+ }
1909
+ KOALA_INTEROP_2(ClassPropertyHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
1910
+
1911
+ void impl_ClassPropertyEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
1903
1912
  {
1904
1913
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
1905
1914
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1906
1915
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
1907
- GetImpl()->ClassPropertyEmplaceAnnotations(_context, _receiver, _source);
1916
+ GetImpl()->ClassPropertyEmplaceAnnotation(_context, _receiver, _source);
1908
1917
  return ;
1909
1918
  }
1910
- KOALA_INTEROP_V3(ClassPropertyEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
1919
+ KOALA_INTEROP_V3(ClassPropertyEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
1911
1920
 
1912
1921
  void impl_ClassPropertyClearAnnotations(KNativePointer context, KNativePointer receiver)
1913
1922
  {
@@ -1918,16 +1927,15 @@ void impl_ClassPropertyClearAnnotations(KNativePointer context, KNativePointer r
1918
1927
  }
1919
1928
  KOALA_INTEROP_V2(ClassPropertyClearAnnotations, KNativePointer, KNativePointer);
1920
1929
 
1921
- void impl_ClassPropertySetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
1930
+ void impl_ClassPropertyDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
1922
1931
  {
1923
1932
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
1924
1933
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1925
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
1926
- const auto _index = static_cast<KUInt>(index);
1927
- GetImpl()->ClassPropertySetValueAnnotations(_context, _receiver, _source, _index);
1934
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
1935
+ GetImpl()->ClassPropertyDumpAnnotationsConst(_context, _receiver, _dumper);
1928
1936
  return ;
1929
1937
  }
1930
- KOALA_INTEROP_V4(ClassPropertySetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
1938
+ KOALA_INTEROP_V3(ClassPropertyDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
1931
1939
 
1932
1940
  KNativePointer impl_ClassPropertyAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
1933
1941
  {
@@ -1935,7 +1943,7 @@ KNativePointer impl_ClassPropertyAnnotationsForUpdate(KNativePointer context, KN
1935
1943
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1936
1944
  std::size_t length;
1937
1945
  auto result = GetImpl()->ClassPropertyAnnotationsForUpdate(_context, _receiver, &length);
1938
- return StageArena::cloneVector(result, length);
1946
+ return length ? StageArena::cloneVector(result, length) : nullptr;
1939
1947
  }
1940
1948
  KOALA_INTEROP_2(ClassPropertyAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
1941
1949
 
@@ -1945,7 +1953,7 @@ KNativePointer impl_ClassPropertyAnnotations(KNativePointer context, KNativePoin
1945
1953
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1946
1954
  std::size_t length;
1947
1955
  auto result = GetImpl()->ClassPropertyAnnotations(_context, _receiver, &length);
1948
- return StageArena::cloneVector(result, length);
1956
+ return length ? StageArena::cloneVector(result, length) : nullptr;
1949
1957
  }
1950
1958
  KOALA_INTEROP_2(ClassPropertyAnnotations, KNativePointer, KNativePointer, KNativePointer);
1951
1959
 
@@ -1955,7 +1963,7 @@ KNativePointer impl_ClassPropertyAnnotationsConst(KNativePointer context, KNativ
1955
1963
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1956
1964
  std::size_t length;
1957
1965
  auto result = GetImpl()->ClassPropertyAnnotationsConst(_context, _receiver, &length);
1958
- return (void*)StageArena::cloneVector(result, length);
1966
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
1959
1967
  }
1960
1968
  KOALA_INTEROP_2(ClassPropertyAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
1961
1969
 
@@ -1981,16 +1989,6 @@ void impl_ClassPropertySetAnnotations1(KNativePointer context, KNativePointer re
1981
1989
  }
1982
1990
  KOALA_INTEROP_V4(ClassPropertySetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
1983
1991
 
1984
- void impl_ClassPropertyAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
1985
- {
1986
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
1987
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
1988
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
1989
- GetImpl()->ClassPropertyAddAnnotations(_context, _receiver, _annotations);
1990
- return ;
1991
- }
1992
- KOALA_INTEROP_V3(ClassPropertyAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
1993
-
1994
1992
  KNativePointer impl_CreateTSVoidKeyword(KNativePointer context)
1995
1993
  {
1996
1994
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2053,10 +2051,21 @@ KNativePointer impl_ETSFunctionTypeParamsConst(KNativePointer context, KNativePo
2053
2051
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2054
2052
  std::size_t length;
2055
2053
  auto result = GetImpl()->ETSFunctionTypeIrParamsConst(_context, _receiver, &length);
2056
- return (void*)StageArena::cloneVector(result, length);
2054
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2057
2055
  }
2058
2056
  KOALA_INTEROP_2(ETSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
2059
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
+
2060
2069
  KNativePointer impl_ETSFunctionTypeReturnTypeConst(KNativePointer context, KNativePointer receiver)
2061
2070
  {
2062
2071
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2329,7 +2338,7 @@ KNativePointer impl_TSConstructorTypeParamsConst(KNativePointer context, KNative
2329
2338
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2330
2339
  std::size_t length;
2331
2340
  auto result = GetImpl()->TSConstructorTypeParamsConst(_context, _receiver, &length);
2332
- return (void*)StageArena::cloneVector(result, length);
2341
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2333
2342
  }
2334
2343
  KOALA_INTEROP_2(TSConstructorTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
2335
2344
 
@@ -2481,7 +2490,7 @@ KNativePointer impl_TSEnumDeclarationMembersConst(KNativePointer context, KNativ
2481
2490
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2482
2491
  std::size_t length;
2483
2492
  auto result = GetImpl()->TSEnumDeclarationMembersConst(_context, _receiver, &length);
2484
- return (void*)StageArena::cloneVector(result, length);
2493
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2485
2494
  }
2486
2495
  KOALA_INTEROP_2(TSEnumDeclarationMembersConst, KNativePointer, KNativePointer, KNativePointer);
2487
2496
 
@@ -2532,56 +2541,6 @@ KBoolean impl_TSEnumDeclarationIsConstConst(KNativePointer context, KNativePoint
2532
2541
  }
2533
2542
  KOALA_INTEROP_2(TSEnumDeclarationIsConstConst, KBoolean, KNativePointer, KNativePointer);
2534
2543
 
2535
- KNativePointer impl_TSEnumDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
2536
- {
2537
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2538
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2539
- std::size_t length;
2540
- auto result = GetImpl()->TSEnumDeclarationDecoratorsConst(_context, _receiver, &length);
2541
- return (void*)StageArena::cloneVector(result, length);
2542
- }
2543
- KOALA_INTEROP_2(TSEnumDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
2544
-
2545
- void impl_TSEnumDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source)
2546
- {
2547
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2548
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2549
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
2550
- GetImpl()->TSEnumDeclarationEmplaceDecorators(_context, _receiver, _source);
2551
- return ;
2552
- }
2553
- KOALA_INTEROP_V3(TSEnumDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
2554
-
2555
- void impl_TSEnumDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
2556
- {
2557
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2558
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2559
- GetImpl()->TSEnumDeclarationClearDecorators(_context, _receiver);
2560
- return ;
2561
- }
2562
- KOALA_INTEROP_V2(TSEnumDeclarationClearDecorators, KNativePointer, KNativePointer);
2563
-
2564
- void impl_TSEnumDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
2565
- {
2566
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2567
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2568
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
2569
- const auto _index = static_cast<KUInt>(index);
2570
- GetImpl()->TSEnumDeclarationSetValueDecorators(_context, _receiver, _source, _index);
2571
- return ;
2572
- }
2573
- KOALA_INTEROP_V4(TSEnumDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
2574
-
2575
- KNativePointer impl_TSEnumDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
2576
- {
2577
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2578
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2579
- std::size_t length;
2580
- auto result = GetImpl()->TSEnumDeclarationDecoratorsForUpdate(_context, _receiver, &length);
2581
- return StageArena::cloneVector(result, length);
2582
- }
2583
- KOALA_INTEROP_2(TSEnumDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
2584
-
2585
2544
  void impl_TSEnumDeclarationEmplaceMembers(KNativePointer context, KNativePointer receiver, KNativePointer source)
2586
2545
  {
2587
2546
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -2618,7 +2577,7 @@ KNativePointer impl_TSEnumDeclarationMembersForUpdate(KNativePointer context, KN
2618
2577
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2619
2578
  std::size_t length;
2620
2579
  auto result = GetImpl()->TSEnumDeclarationMembersForUpdate(_context, _receiver, &length);
2621
- return StageArena::cloneVector(result, length);
2580
+ return length ? StageArena::cloneVector(result, length) : nullptr;
2622
2581
  }
2623
2582
  KOALA_INTEROP_2(TSEnumDeclarationMembersForUpdate, KNativePointer, KNativePointer, KNativePointer);
2624
2583
 
@@ -2707,7 +2666,7 @@ KNativePointer impl_ObjectExpressionPropertiesConst(KNativePointer context, KNat
2707
2666
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2708
2667
  std::size_t length;
2709
2668
  auto result = GetImpl()->ObjectExpressionPropertiesConst(_context, _receiver, &length);
2710
- return (void*)StageArena::cloneVector(result, length);
2669
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
2711
2670
  }
2712
2671
  KOALA_INTEROP_2(ObjectExpressionPropertiesConst, KNativePointer, KNativePointer, KNativePointer);
2713
2672
 
@@ -2729,16 +2688,6 @@ KBoolean impl_ObjectExpressionIsOptionalConst(KNativePointer context, KNativePoi
2729
2688
  }
2730
2689
  KOALA_INTEROP_2(ObjectExpressionIsOptionalConst, KBoolean, KNativePointer, KNativePointer);
2731
2690
 
2732
- KNativePointer impl_ObjectExpressionDecoratorsConst(KNativePointer context, KNativePointer receiver)
2733
- {
2734
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
2735
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
2736
- std::size_t length;
2737
- auto result = GetImpl()->ObjectExpressionDecoratorsConst(_context, _receiver, &length);
2738
- return (void*)StageArena::cloneVector(result, length);
2739
- }
2740
- KOALA_INTEROP_2(ObjectExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
2741
-
2742
2691
  KNativePointer impl_ObjectExpressionValidateExpression(KNativePointer context, KNativePointer receiver)
2743
2692
  {
2744
2693
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3063,7 +3012,7 @@ KNativePointer impl_CallExpressionArgumentsConst(KNativePointer context, KNative
3063
3012
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3064
3013
  std::size_t length;
3065
3014
  auto result = GetImpl()->CallExpressionArgumentsConst(_context, _receiver, &length);
3066
- return (void*)StageArena::cloneVector(result, length);
3015
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3067
3016
  }
3068
3017
  KOALA_INTEROP_2(CallExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
3069
3018
 
@@ -3073,10 +3022,21 @@ KNativePointer impl_CallExpressionArguments(KNativePointer context, KNativePoint
3073
3022
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3074
3023
  std::size_t length;
3075
3024
  auto result = GetImpl()->CallExpressionArguments(_context, _receiver, &length);
3076
- return StageArena::cloneVector(result, length);
3025
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3077
3026
  }
3078
3027
  KOALA_INTEROP_2(CallExpressionArguments, KNativePointer, KNativePointer, KNativePointer);
3079
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
+
3080
3040
  KBoolean impl_CallExpressionHasTrailingCommaConst(KNativePointer context, KNativePointer receiver)
3081
3041
  {
3082
3042
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3300,16 +3260,6 @@ KBoolean impl_ClassElementIsPrivateElementConst(KNativePointer context, KNativeP
3300
3260
  }
3301
3261
  KOALA_INTEROP_2(ClassElementIsPrivateElementConst, KBoolean, KNativePointer, KNativePointer);
3302
3262
 
3303
- KNativePointer impl_ClassElementDecoratorsConst(KNativePointer context, KNativePointer receiver)
3304
- {
3305
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3306
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3307
- std::size_t length;
3308
- auto result = GetImpl()->ClassElementDecoratorsConst(_context, _receiver, &length);
3309
- return (void*)StageArena::cloneVector(result, length);
3310
- }
3311
- KOALA_INTEROP_2(ClassElementDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
3312
-
3313
3263
  KBoolean impl_ClassElementIsComputedConst(KNativePointer context, KNativePointer receiver)
3314
3264
  {
3315
3265
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3319,16 +3269,6 @@ KBoolean impl_ClassElementIsComputedConst(KNativePointer context, KNativePointer
3319
3269
  }
3320
3270
  KOALA_INTEROP_2(ClassElementIsComputedConst, KBoolean, KNativePointer, KNativePointer);
3321
3271
 
3322
- void impl_ClassElementAddDecorator(KNativePointer context, KNativePointer receiver, KNativePointer decorator)
3323
- {
3324
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3325
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3326
- const auto _decorator = reinterpret_cast<es2panda_AstNode*>(decorator);
3327
- GetImpl()->ClassElementAddDecorator(_context, _receiver, _decorator);
3328
- return ;
3329
- }
3330
- KOALA_INTEROP_V3(ClassElementAddDecorator, KNativePointer, KNativePointer, KNativePointer);
3331
-
3332
3272
  KInt impl_ClassElementToPrivateFieldKindConst(KNativePointer context, KNativePointer receiver, KBoolean isStatic)
3333
3273
  {
3334
3274
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3339,56 +3279,6 @@ KInt impl_ClassElementToPrivateFieldKindConst(KNativePointer context, KNativePoi
3339
3279
  }
3340
3280
  KOALA_INTEROP_3(ClassElementToPrivateFieldKindConst, KInt, KNativePointer, KNativePointer, KBoolean);
3341
3281
 
3342
- void impl_ClassElementEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
3343
- {
3344
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3345
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3346
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
3347
- GetImpl()->ClassElementEmplaceDecorators(_context, _receiver, _decorators);
3348
- return ;
3349
- }
3350
- KOALA_INTEROP_V3(ClassElementEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
3351
-
3352
- void impl_ClassElementClearDecorators(KNativePointer context, KNativePointer receiver)
3353
- {
3354
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3355
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3356
- GetImpl()->ClassElementClearDecorators(_context, _receiver);
3357
- return ;
3358
- }
3359
- KOALA_INTEROP_V2(ClassElementClearDecorators, KNativePointer, KNativePointer);
3360
-
3361
- void impl_ClassElementSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
3362
- {
3363
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3364
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3365
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
3366
- const auto _index = static_cast<KUInt>(index);
3367
- GetImpl()->ClassElementSetValueDecorators(_context, _receiver, _decorators, _index);
3368
- return ;
3369
- }
3370
- KOALA_INTEROP_V4(ClassElementSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
3371
-
3372
- KNativePointer impl_ClassElementDecorators(KNativePointer context, KNativePointer receiver)
3373
- {
3374
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3375
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3376
- std::size_t length;
3377
- auto result = GetImpl()->ClassElementDecorators(_context, _receiver, &length);
3378
- return StageArena::cloneVector(result, length);
3379
- }
3380
- KOALA_INTEROP_2(ClassElementDecorators, KNativePointer, KNativePointer, KNativePointer);
3381
-
3382
- KNativePointer impl_ClassElementDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
3383
- {
3384
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3385
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3386
- std::size_t length;
3387
- auto result = GetImpl()->ClassElementDecoratorsForUpdate(_context, _receiver, &length);
3388
- return StageArena::cloneVector(result, length);
3389
- }
3390
- KOALA_INTEROP_2(ClassElementDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
3391
-
3392
3282
  KNativePointer impl_CreateTSImportType(KNativePointer context, KNativePointer param, KNativePointer typeParams, KNativePointer qualifier, KBoolean isTypeof)
3393
3283
  {
3394
3284
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3573,25 +3463,24 @@ KNativePointer impl_FunctionDeclarationFunctionConst(KNativePointer context, KNa
3573
3463
  }
3574
3464
  KOALA_INTEROP_2(FunctionDeclarationFunctionConst, KNativePointer, KNativePointer, KNativePointer);
3575
3465
 
3576
- KNativePointer impl_FunctionDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
3466
+ KBoolean impl_FunctionDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
3577
3467
  {
3578
3468
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3579
3469
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3580
- std::size_t length;
3581
- auto result = GetImpl()->FunctionDeclarationDecoratorsConst(_context, _receiver, &length);
3582
- return (void*)StageArena::cloneVector(result, length);
3470
+ auto result = GetImpl()->FunctionDeclarationHasAnnotationsConst(_context, _receiver);
3471
+ return result;
3583
3472
  }
3584
- KOALA_INTEROP_2(FunctionDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
3473
+ KOALA_INTEROP_2(FunctionDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
3585
3474
 
3586
- void impl_FunctionDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
3475
+ void impl_FunctionDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
3587
3476
  {
3588
3477
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3589
3478
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3590
3479
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
3591
- GetImpl()->FunctionDeclarationEmplaceAnnotations(_context, _receiver, _source);
3480
+ GetImpl()->FunctionDeclarationEmplaceAnnotation(_context, _receiver, _source);
3592
3481
  return ;
3593
3482
  }
3594
- KOALA_INTEROP_V3(FunctionDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
3483
+ KOALA_INTEROP_V3(FunctionDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
3595
3484
 
3596
3485
  void impl_FunctionDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
3597
3486
  {
@@ -3602,16 +3491,15 @@ void impl_FunctionDeclarationClearAnnotations(KNativePointer context, KNativePoi
3602
3491
  }
3603
3492
  KOALA_INTEROP_V2(FunctionDeclarationClearAnnotations, KNativePointer, KNativePointer);
3604
3493
 
3605
- void impl_FunctionDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
3494
+ void impl_FunctionDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
3606
3495
  {
3607
3496
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
3608
3497
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3609
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
3610
- const auto _index = static_cast<KUInt>(index);
3611
- GetImpl()->FunctionDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
3498
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
3499
+ GetImpl()->FunctionDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
3612
3500
  return ;
3613
3501
  }
3614
- KOALA_INTEROP_V4(FunctionDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
3502
+ KOALA_INTEROP_V3(FunctionDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
3615
3503
 
3616
3504
  KNativePointer impl_FunctionDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
3617
3505
  {
@@ -3619,7 +3507,7 @@ KNativePointer impl_FunctionDeclarationAnnotationsForUpdate(KNativePointer conte
3619
3507
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3620
3508
  std::size_t length;
3621
3509
  auto result = GetImpl()->FunctionDeclarationAnnotationsForUpdate(_context, _receiver, &length);
3622
- return StageArena::cloneVector(result, length);
3510
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3623
3511
  }
3624
3512
  KOALA_INTEROP_2(FunctionDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
3625
3513
 
@@ -3629,7 +3517,7 @@ KNativePointer impl_FunctionDeclarationAnnotations(KNativePointer context, KNati
3629
3517
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3630
3518
  std::size_t length;
3631
3519
  auto result = GetImpl()->FunctionDeclarationAnnotations(_context, _receiver, &length);
3632
- return StageArena::cloneVector(result, length);
3520
+ return length ? StageArena::cloneVector(result, length) : nullptr;
3633
3521
  }
3634
3522
  KOALA_INTEROP_2(FunctionDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
3635
3523
 
@@ -3639,7 +3527,7 @@ KNativePointer impl_FunctionDeclarationAnnotationsConst(KNativePointer context,
3639
3527
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3640
3528
  std::size_t length;
3641
3529
  auto result = GetImpl()->FunctionDeclarationAnnotationsConst(_context, _receiver, &length);
3642
- return (void*)StageArena::cloneVector(result, length);
3530
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3643
3531
  }
3644
3532
  KOALA_INTEROP_2(FunctionDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
3645
3533
 
@@ -3665,16 +3553,6 @@ void impl_FunctionDeclarationSetAnnotations1(KNativePointer context, KNativePoin
3665
3553
  }
3666
3554
  KOALA_INTEROP_V4(FunctionDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
3667
3555
 
3668
- void impl_FunctionDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
3669
- {
3670
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
3671
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3672
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
3673
- GetImpl()->FunctionDeclarationAddAnnotations(_context, _receiver, _annotations);
3674
- return ;
3675
- }
3676
- KOALA_INTEROP_V3(FunctionDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
3677
-
3678
3556
  KNativePointer impl_CreateETSTypeReference(KNativePointer context, KNativePointer part)
3679
3557
  {
3680
3558
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -3888,7 +3766,7 @@ KNativePointer impl_TSFunctionTypeParamsConst(KNativePointer context, KNativePoi
3888
3766
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
3889
3767
  std::size_t length;
3890
3768
  auto result = GetImpl()->TSFunctionTypeParamsConst(_context, _receiver, &length);
3891
- return (void*)StageArena::cloneVector(result, length);
3769
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
3892
3770
  }
3893
3771
  KOALA_INTEROP_2(TSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
3894
3772
 
@@ -4104,7 +3982,7 @@ KNativePointer impl_TSInterfaceDeclarationExtends(KNativePointer context, KNativ
4104
3982
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4105
3983
  std::size_t length;
4106
3984
  auto result = GetImpl()->TSInterfaceDeclarationExtends(_context, _receiver, &length);
4107
- return StageArena::cloneVector(result, length);
3985
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4108
3986
  }
4109
3987
  KOALA_INTEROP_2(TSInterfaceDeclarationExtends, KNativePointer, KNativePointer, KNativePointer);
4110
3988
 
@@ -4114,7 +3992,7 @@ KNativePointer impl_TSInterfaceDeclarationExtendsForUpdate(KNativePointer contex
4114
3992
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4115
3993
  std::size_t length;
4116
3994
  auto result = GetImpl()->TSInterfaceDeclarationExtendsForUpdate(_context, _receiver, &length);
4117
- return StageArena::cloneVector(result, length);
3995
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4118
3996
  }
4119
3997
  KOALA_INTEROP_2(TSInterfaceDeclarationExtendsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4120
3998
 
@@ -4124,20 +4002,10 @@ KNativePointer impl_TSInterfaceDeclarationExtendsConst(KNativePointer context, K
4124
4002
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4125
4003
  std::size_t length;
4126
4004
  auto result = GetImpl()->TSInterfaceDeclarationExtendsConst(_context, _receiver, &length);
4127
- return (void*)StageArena::cloneVector(result, length);
4005
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4128
4006
  }
4129
4007
  KOALA_INTEROP_2(TSInterfaceDeclarationExtendsConst, KNativePointer, KNativePointer, KNativePointer);
4130
4008
 
4131
- KNativePointer impl_TSInterfaceDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
4132
- {
4133
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4134
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4135
- std::size_t length;
4136
- auto result = GetImpl()->TSInterfaceDeclarationDecoratorsConst(_context, _receiver, &length);
4137
- return (void*)StageArena::cloneVector(result, length);
4138
- }
4139
- KOALA_INTEROP_2(TSInterfaceDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
4140
-
4141
4009
  KNativePointer impl_TSInterfaceDeclarationGetAnonClass(KNativePointer context, KNativePointer receiver)
4142
4010
  {
4143
4011
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4196,65 +4064,24 @@ void impl_TSInterfaceDeclarationSetValueExtends(KNativePointer context, KNativeP
4196
4064
  }
4197
4065
  KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueExtends, KNativePointer, KNativePointer, KNativePointer, KUInt);
4198
4066
 
4199
- void impl_TSInterfaceDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
4200
- {
4201
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4202
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4203
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
4204
- GetImpl()->TSInterfaceDeclarationEmplaceDecorators(_context, _receiver, _decorators);
4205
- return ;
4206
- }
4207
- KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
4208
-
4209
- void impl_TSInterfaceDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
4210
- {
4211
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4212
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4213
- GetImpl()->TSInterfaceDeclarationClearDecorators(_context, _receiver);
4214
- return ;
4215
- }
4216
- KOALA_INTEROP_V2(TSInterfaceDeclarationClearDecorators, KNativePointer, KNativePointer);
4217
-
4218
- void impl_TSInterfaceDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
4219
- {
4220
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4221
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4222
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
4223
- const auto _index = static_cast<KUInt>(index);
4224
- GetImpl()->TSInterfaceDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
4225
- return ;
4226
- }
4227
- KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
4228
-
4229
- KNativePointer impl_TSInterfaceDeclarationDecorators(KNativePointer context, KNativePointer receiver)
4230
- {
4231
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4232
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4233
- std::size_t length;
4234
- auto result = GetImpl()->TSInterfaceDeclarationDecorators(_context, _receiver, &length);
4235
- return StageArena::cloneVector(result, length);
4236
- }
4237
- KOALA_INTEROP_2(TSInterfaceDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
4238
-
4239
- KNativePointer impl_TSInterfaceDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
4067
+ KBoolean impl_TSInterfaceDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
4240
4068
  {
4241
4069
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4242
4070
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4243
- std::size_t length;
4244
- auto result = GetImpl()->TSInterfaceDeclarationDecoratorsForUpdate(_context, _receiver, &length);
4245
- return StageArena::cloneVector(result, length);
4071
+ auto result = GetImpl()->TSInterfaceDeclarationHasAnnotationsConst(_context, _receiver);
4072
+ return result;
4246
4073
  }
4247
- KOALA_INTEROP_2(TSInterfaceDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4074
+ KOALA_INTEROP_2(TSInterfaceDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
4248
4075
 
4249
- void impl_TSInterfaceDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
4076
+ void impl_TSInterfaceDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
4250
4077
  {
4251
4078
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4252
4079
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4253
4080
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4254
- GetImpl()->TSInterfaceDeclarationEmplaceAnnotations(_context, _receiver, _source);
4081
+ GetImpl()->TSInterfaceDeclarationEmplaceAnnotation(_context, _receiver, _source);
4255
4082
  return ;
4256
4083
  }
4257
- KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
4084
+ KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
4258
4085
 
4259
4086
  void impl_TSInterfaceDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
4260
4087
  {
@@ -4265,16 +4092,15 @@ void impl_TSInterfaceDeclarationClearAnnotations(KNativePointer context, KNative
4265
4092
  }
4266
4093
  KOALA_INTEROP_V2(TSInterfaceDeclarationClearAnnotations, KNativePointer, KNativePointer);
4267
4094
 
4268
- void impl_TSInterfaceDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
4095
+ void impl_TSInterfaceDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
4269
4096
  {
4270
4097
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4271
4098
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4272
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4273
- const auto _index = static_cast<KUInt>(index);
4274
- GetImpl()->TSInterfaceDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
4099
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
4100
+ GetImpl()->TSInterfaceDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
4275
4101
  return ;
4276
4102
  }
4277
- KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
4103
+ KOALA_INTEROP_V3(TSInterfaceDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
4278
4104
 
4279
4105
  KNativePointer impl_TSInterfaceDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
4280
4106
  {
@@ -4282,7 +4108,7 @@ KNativePointer impl_TSInterfaceDeclarationAnnotationsForUpdate(KNativePointer co
4282
4108
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4283
4109
  std::size_t length;
4284
4110
  auto result = GetImpl()->TSInterfaceDeclarationAnnotationsForUpdate(_context, _receiver, &length);
4285
- return StageArena::cloneVector(result, length);
4111
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4286
4112
  }
4287
4113
  KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4288
4114
 
@@ -4292,7 +4118,7 @@ KNativePointer impl_TSInterfaceDeclarationAnnotations(KNativePointer context, KN
4292
4118
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4293
4119
  std::size_t length;
4294
4120
  auto result = GetImpl()->TSInterfaceDeclarationAnnotations(_context, _receiver, &length);
4295
- return StageArena::cloneVector(result, length);
4121
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4296
4122
  }
4297
4123
  KOALA_INTEROP_2(TSInterfaceDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
4298
4124
 
@@ -4302,7 +4128,7 @@ KNativePointer impl_TSInterfaceDeclarationAnnotationsConst(KNativePointer contex
4302
4128
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4303
4129
  std::size_t length;
4304
4130
  auto result = GetImpl()->TSInterfaceDeclarationAnnotationsConst(_context, _receiver, &length);
4305
- return (void*)StageArena::cloneVector(result, length);
4131
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4306
4132
  }
4307
4133
  KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
4308
4134
 
@@ -4328,16 +4154,6 @@ void impl_TSInterfaceDeclarationSetAnnotations1(KNativePointer context, KNativeP
4328
4154
  }
4329
4155
  KOALA_INTEROP_V4(TSInterfaceDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
4330
4156
 
4331
- void impl_TSInterfaceDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
4332
- {
4333
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4334
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4335
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
4336
- GetImpl()->TSInterfaceDeclarationAddAnnotations(_context, _receiver, _annotations);
4337
- return ;
4338
- }
4339
- KOALA_INTEROP_V3(TSInterfaceDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
4340
-
4341
4157
  KNativePointer impl_CreateVariableDeclaration(KNativePointer context, KInt kind, KNativePointerArray declarators, KUInt declaratorsSequenceLength)
4342
4158
  {
4343
4159
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4367,7 +4183,7 @@ KNativePointer impl_VariableDeclarationDeclaratorsConst(KNativePointer context,
4367
4183
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4368
4184
  std::size_t length;
4369
4185
  auto result = GetImpl()->VariableDeclarationDeclaratorsConst(_context, _receiver, &length);
4370
- return (void*)StageArena::cloneVector(result, length);
4186
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4371
4187
  }
4372
4188
  KOALA_INTEROP_2(VariableDeclarationDeclaratorsConst, KNativePointer, KNativePointer, KNativePointer);
4373
4189
 
@@ -4377,7 +4193,7 @@ KNativePointer impl_VariableDeclarationDeclarators(KNativePointer context, KNati
4377
4193
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4378
4194
  std::size_t length;
4379
4195
  auto result = GetImpl()->VariableDeclarationDeclarators(_context, _receiver, &length);
4380
- return StageArena::cloneVector(result, length);
4196
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4381
4197
  }
4382
4198
  KOALA_INTEROP_2(VariableDeclarationDeclarators, KNativePointer, KNativePointer, KNativePointer);
4383
4199
 
@@ -4387,7 +4203,7 @@ KNativePointer impl_VariableDeclarationDeclaratorsForUpdate(KNativePointer conte
4387
4203
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4388
4204
  std::size_t length;
4389
4205
  auto result = GetImpl()->VariableDeclarationDeclaratorsForUpdate(_context, _receiver, &length);
4390
- return StageArena::cloneVector(result, length);
4206
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4391
4207
  }
4392
4208
  KOALA_INTEROP_2(VariableDeclarationDeclaratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4393
4209
 
@@ -4400,36 +4216,6 @@ KInt impl_VariableDeclarationKindConst(KNativePointer context, KNativePointer re
4400
4216
  }
4401
4217
  KOALA_INTEROP_2(VariableDeclarationKindConst, KInt, KNativePointer, KNativePointer);
4402
4218
 
4403
- KNativePointer impl_VariableDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
4404
- {
4405
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4406
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4407
- std::size_t length;
4408
- auto result = GetImpl()->VariableDeclarationDecoratorsConst(_context, _receiver, &length);
4409
- return (void*)StageArena::cloneVector(result, length);
4410
- }
4411
- KOALA_INTEROP_2(VariableDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
4412
-
4413
- KNativePointer impl_VariableDeclarationDecorators(KNativePointer context, KNativePointer receiver)
4414
- {
4415
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4416
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4417
- std::size_t length;
4418
- auto result = GetImpl()->VariableDeclarationDecorators(_context, _receiver, &length);
4419
- return StageArena::cloneVector(result, length);
4420
- }
4421
- KOALA_INTEROP_2(VariableDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
4422
-
4423
- KNativePointer impl_VariableDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
4424
- {
4425
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4426
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4427
- std::size_t length;
4428
- auto result = GetImpl()->VariableDeclarationDecoratorsForUpdate(_context, _receiver, &length);
4429
- return StageArena::cloneVector(result, length);
4430
- }
4431
- KOALA_INTEROP_2(VariableDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4432
-
4433
4219
  KNativePointer impl_VariableDeclarationGetDeclaratorByNameConst(KNativePointer context, KNativePointer receiver, KStringPtr& name)
4434
4220
  {
4435
4221
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4440,15 +4226,24 @@ KNativePointer impl_VariableDeclarationGetDeclaratorByNameConst(KNativePointer c
4440
4226
  }
4441
4227
  KOALA_INTEROP_3(VariableDeclarationGetDeclaratorByNameConst, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
4442
4228
 
4443
- 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)
4444
4239
  {
4445
4240
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4446
4241
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4447
4242
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4448
- GetImpl()->VariableDeclarationEmplaceAnnotations(_context, _receiver, _source);
4243
+ GetImpl()->VariableDeclarationEmplaceAnnotation(_context, _receiver, _source);
4449
4244
  return ;
4450
4245
  }
4451
- KOALA_INTEROP_V3(VariableDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
4246
+ KOALA_INTEROP_V3(VariableDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
4452
4247
 
4453
4248
  void impl_VariableDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
4454
4249
  {
@@ -4459,16 +4254,15 @@ void impl_VariableDeclarationClearAnnotations(KNativePointer context, KNativePoi
4459
4254
  }
4460
4255
  KOALA_INTEROP_V2(VariableDeclarationClearAnnotations, KNativePointer, KNativePointer);
4461
4256
 
4462
- void impl_VariableDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
4257
+ void impl_VariableDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
4463
4258
  {
4464
4259
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
4465
4260
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4466
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4467
- const auto _index = static_cast<KUInt>(index);
4468
- GetImpl()->VariableDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
4261
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
4262
+ GetImpl()->VariableDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
4469
4263
  return ;
4470
4264
  }
4471
- KOALA_INTEROP_V4(VariableDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
4265
+ KOALA_INTEROP_V3(VariableDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
4472
4266
 
4473
4267
  KNativePointer impl_VariableDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
4474
4268
  {
@@ -4476,7 +4270,7 @@ KNativePointer impl_VariableDeclarationAnnotationsForUpdate(KNativePointer conte
4476
4270
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4477
4271
  std::size_t length;
4478
4272
  auto result = GetImpl()->VariableDeclarationAnnotationsForUpdate(_context, _receiver, &length);
4479
- return StageArena::cloneVector(result, length);
4273
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4480
4274
  }
4481
4275
  KOALA_INTEROP_2(VariableDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4482
4276
 
@@ -4486,7 +4280,7 @@ KNativePointer impl_VariableDeclarationAnnotations(KNativePointer context, KNati
4486
4280
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4487
4281
  std::size_t length;
4488
4282
  auto result = GetImpl()->VariableDeclarationAnnotations(_context, _receiver, &length);
4489
- return StageArena::cloneVector(result, length);
4283
+ return length ? StageArena::cloneVector(result, length) : nullptr;
4490
4284
  }
4491
4285
  KOALA_INTEROP_2(VariableDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
4492
4286
 
@@ -4496,7 +4290,7 @@ KNativePointer impl_VariableDeclarationAnnotationsConst(KNativePointer context,
4496
4290
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4497
4291
  std::size_t length;
4498
4292
  auto result = GetImpl()->VariableDeclarationAnnotationsConst(_context, _receiver, &length);
4499
- return (void*)StageArena::cloneVector(result, length);
4293
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4500
4294
  }
4501
4295
  KOALA_INTEROP_2(VariableDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
4502
4296
 
@@ -4522,16 +4316,6 @@ void impl_VariableDeclarationSetAnnotations1(KNativePointer context, KNativePoin
4522
4316
  }
4523
4317
  KOALA_INTEROP_V4(VariableDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
4524
4318
 
4525
- void impl_VariableDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
4526
- {
4527
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
4528
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4529
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
4530
- GetImpl()->VariableDeclarationAddAnnotations(_context, _receiver, _annotations);
4531
- return ;
4532
- }
4533
- KOALA_INTEROP_V3(VariableDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
4534
-
4535
4319
  KNativePointer impl_CreateUndefinedLiteral(KNativePointer context)
4536
4320
  {
4537
4321
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -4841,7 +4625,7 @@ KNativePointer impl_ETSUnionTypeTypesConst(KNativePointer context, KNativePointe
4841
4625
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
4842
4626
  std::size_t length;
4843
4627
  auto result = GetImpl()->ETSUnionTypeIrTypesConst(_context, _receiver, &length);
4844
- return (void*)StageArena::cloneVector(result, length);
4628
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
4845
4629
  }
4846
4630
  KOALA_INTEROP_2(ETSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
4847
4631
 
@@ -5133,16 +4917,6 @@ KNativePointer impl_TSTypeAliasDeclarationTypeParamsConst(KNativePointer context
5133
4917
  }
5134
4918
  KOALA_INTEROP_2(TSTypeAliasDeclarationTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
5135
4919
 
5136
- KNativePointer impl_TSTypeAliasDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
5137
- {
5138
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
5139
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5140
- std::size_t length;
5141
- auto result = GetImpl()->TSTypeAliasDeclarationDecoratorsConst(_context, _receiver, &length);
5142
- return (void*)StageArena::cloneVector(result, length);
5143
- }
5144
- KOALA_INTEROP_2(TSTypeAliasDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
5145
-
5146
4920
  void impl_TSTypeAliasDeclarationSetTypeParameters(KNativePointer context, KNativePointer receiver, KNativePointer typeParams)
5147
4921
  {
5148
4922
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -5153,134 +4927,123 @@ void impl_TSTypeAliasDeclarationSetTypeParameters(KNativePointer context, KNativ
5153
4927
  }
5154
4928
  KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTypeParameters, KNativePointer, KNativePointer, KNativePointer);
5155
4929
 
5156
- KNativePointer impl_TSTypeAliasDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver)
5157
- {
5158
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
5159
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5160
- std::size_t length;
5161
- auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsConst(_context, _receiver, &length);
5162
- return (void*)StageArena::cloneVector(result, length);
5163
- }
5164
- KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
5165
-
5166
- void impl_TSTypeAliasDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotations, KUInt annotationsSequenceLength)
4930
+ void impl_TSTypeAliasDeclarationClearTypeParamterTypes(KNativePointer context, KNativePointer receiver)
5167
4931
  {
5168
4932
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5169
4933
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5170
- const auto _annotations = reinterpret_cast<es2panda_AstNode**>(annotations);
5171
- const auto _annotationsSequenceLength = static_cast<KUInt>(annotationsSequenceLength);
5172
- GetImpl()->TSTypeAliasDeclarationSetAnnotations(_context, _receiver, _annotations, _annotationsSequenceLength);
4934
+ GetImpl()->TSTypeAliasDeclarationClearTypeParamterTypes(_context, _receiver);
5173
4935
  return ;
5174
4936
  }
5175
- KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
4937
+ KOALA_INTEROP_V2(TSTypeAliasDeclarationClearTypeParamterTypes, KNativePointer, KNativePointer);
5176
4938
 
5177
- void impl_TSTypeAliasDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
4939
+ KNativePointer impl_TSTypeAliasDeclarationTypeAnnotationConst(KNativePointer context, KNativePointer receiver)
5178
4940
  {
5179
4941
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5180
4942
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5181
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
5182
- GetImpl()->TSTypeAliasDeclarationEmplaceAnnotations(_context, _receiver, _annotations);
5183
- return ;
4943
+ auto result = GetImpl()->TSTypeAliasDeclarationTypeAnnotationConst(_context, _receiver);
4944
+ return (void*)result;
5184
4945
  }
5185
- KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
4946
+ KOALA_INTEROP_2(TSTypeAliasDeclarationTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer);
5186
4947
 
5187
- void impl_TSTypeAliasDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
4948
+ void impl_TSTypeAliasDeclarationSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation)
5188
4949
  {
5189
4950
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5190
4951
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5191
- GetImpl()->TSTypeAliasDeclarationClearAnnotations(_context, _receiver);
4952
+ const auto _typeAnnotation = reinterpret_cast<es2panda_AstNode*>(typeAnnotation);
4953
+ GetImpl()->TSTypeAliasDeclarationSetTsTypeAnnotation(_context, _receiver, _typeAnnotation);
5192
4954
  return ;
5193
4955
  }
5194
- KOALA_INTEROP_V2(TSTypeAliasDeclarationClearAnnotations, KNativePointer, KNativePointer);
4956
+ KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
5195
4957
 
5196
- void impl_TSTypeAliasDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations, KUInt index)
4958
+ KBoolean impl_TSTypeAliasDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver)
5197
4959
  {
5198
4960
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5199
4961
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5200
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
5201
- const auto _index = static_cast<KUInt>(index);
5202
- GetImpl()->TSTypeAliasDeclarationSetValueAnnotations(_context, _receiver, _annotations, _index);
5203
- return ;
4962
+ auto result = GetImpl()->TSTypeAliasDeclarationHasAnnotationsConst(_context, _receiver);
4963
+ return result;
5204
4964
  }
5205
- KOALA_INTEROP_V4(TSTypeAliasDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
4965
+ KOALA_INTEROP_2(TSTypeAliasDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer);
5206
4966
 
5207
- KNativePointer impl_TSTypeAliasDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
4967
+ void impl_TSTypeAliasDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source)
5208
4968
  {
5209
4969
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5210
4970
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5211
- std::size_t length;
5212
- auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsForUpdate(_context, _receiver, &length);
5213
- return StageArena::cloneVector(result, length);
4971
+ const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
4972
+ GetImpl()->TSTypeAliasDeclarationEmplaceAnnotation(_context, _receiver, _source);
4973
+ return ;
5214
4974
  }
5215
- KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
4975
+ KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
5216
4976
 
5217
- void impl_TSTypeAliasDeclarationClearTypeParamterTypes(KNativePointer context, KNativePointer receiver)
4977
+ void impl_TSTypeAliasDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
5218
4978
  {
5219
4979
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5220
4980
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5221
- GetImpl()->TSTypeAliasDeclarationClearTypeParamterTypes(_context, _receiver);
4981
+ GetImpl()->TSTypeAliasDeclarationClearAnnotations(_context, _receiver);
5222
4982
  return ;
5223
4983
  }
5224
- KOALA_INTEROP_V2(TSTypeAliasDeclarationClearTypeParamterTypes, KNativePointer, KNativePointer);
4984
+ KOALA_INTEROP_V2(TSTypeAliasDeclarationClearAnnotations, KNativePointer, KNativePointer);
5225
4985
 
5226
- void impl_TSTypeAliasDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
4986
+ void impl_TSTypeAliasDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
5227
4987
  {
5228
4988
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5229
4989
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5230
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
5231
- GetImpl()->TSTypeAliasDeclarationEmplaceDecorators(_context, _receiver, _decorators);
4990
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
4991
+ GetImpl()->TSTypeAliasDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
5232
4992
  return ;
5233
4993
  }
5234
- KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
4994
+ KOALA_INTEROP_V3(TSTypeAliasDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
5235
4995
 
5236
- void impl_TSTypeAliasDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
4996
+ KNativePointer impl_TSTypeAliasDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
5237
4997
  {
5238
4998
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5239
4999
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5240
- GetImpl()->TSTypeAliasDeclarationClearDecorators(_context, _receiver);
5241
- return ;
5000
+ std::size_t length;
5001
+ auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsForUpdate(_context, _receiver, &length);
5002
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5242
5003
  }
5243
- KOALA_INTEROP_V2(TSTypeAliasDeclarationClearDecorators, KNativePointer, KNativePointer);
5004
+ KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5244
5005
 
5245
- void impl_TSTypeAliasDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
5006
+ KNativePointer impl_TSTypeAliasDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
5246
5007
  {
5247
5008
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5248
5009
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5249
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
5250
- const auto _index = static_cast<KUInt>(index);
5251
- GetImpl()->TSTypeAliasDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
5252
- return ;
5010
+ std::size_t length;
5011
+ auto result = GetImpl()->TSTypeAliasDeclarationAnnotations(_context, _receiver, &length);
5012
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5253
5013
  }
5254
- KOALA_INTEROP_V4(TSTypeAliasDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
5014
+ KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
5255
5015
 
5256
- KNativePointer impl_TSTypeAliasDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
5016
+ KNativePointer impl_TSTypeAliasDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver)
5257
5017
  {
5258
5018
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5259
5019
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5260
5020
  std::size_t length;
5261
- auto result = GetImpl()->TSTypeAliasDeclarationDecoratorsForUpdate(_context, _receiver, &length);
5262
- return StageArena::cloneVector(result, length);
5021
+ auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsConst(_context, _receiver, &length);
5022
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
5263
5023
  }
5264
- KOALA_INTEROP_2(TSTypeAliasDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5024
+ KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
5265
5025
 
5266
- KNativePointer impl_TSTypeAliasDeclarationTypeAnnotationConst(KNativePointer context, KNativePointer receiver)
5026
+ void impl_TSTypeAliasDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
5267
5027
  {
5268
5028
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5269
5029
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5270
- auto result = GetImpl()->TSTypeAliasDeclarationTypeAnnotationConst(_context, _receiver);
5271
- 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 ;
5272
5034
  }
5273
- KOALA_INTEROP_2(TSTypeAliasDeclarationTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer);
5035
+ KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
5274
5036
 
5275
- void impl_TSTypeAliasDeclarationSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation)
5037
+ void impl_TSTypeAliasDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
5276
5038
  {
5277
5039
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5278
5040
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5279
- const auto _typeAnnotation = reinterpret_cast<es2panda_AstNode*>(typeAnnotation);
5280
- 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);
5281
5044
  return ;
5282
5045
  }
5283
- KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
5046
+ KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
5284
5047
 
5285
5048
  KNativePointer impl_CreateDebuggerStatement(KNativePointer context)
5286
5049
  {
@@ -5469,7 +5232,7 @@ KNativePointer impl_ScriptFunctionParamsConst(KNativePointer context, KNativePoi
5469
5232
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5470
5233
  std::size_t length;
5471
5234
  auto result = GetImpl()->ScriptFunctionParamsConst(_context, _receiver, &length);
5472
- return (void*)StageArena::cloneVector(result, length);
5235
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
5473
5236
  }
5474
5237
  KOALA_INTEROP_2(ScriptFunctionParamsConst, KNativePointer, KNativePointer, KNativePointer);
5475
5238
 
@@ -5479,7 +5242,7 @@ KNativePointer impl_ScriptFunctionParams(KNativePointer context, KNativePointer
5479
5242
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5480
5243
  std::size_t length;
5481
5244
  auto result = GetImpl()->ScriptFunctionParams(_context, _receiver, &length);
5482
- return StageArena::cloneVector(result, length);
5245
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5483
5246
  }
5484
5247
  KOALA_INTEROP_2(ScriptFunctionParams, KNativePointer, KNativePointer, KNativePointer);
5485
5248
 
@@ -5489,7 +5252,7 @@ KNativePointer impl_ScriptFunctionReturnStatementsConst(KNativePointer context,
5489
5252
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5490
5253
  std::size_t length;
5491
5254
  auto result = GetImpl()->ScriptFunctionReturnStatementsConst(_context, _receiver, &length);
5492
- return (void*)StageArena::cloneVector(result, length);
5255
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
5493
5256
  }
5494
5257
  KOALA_INTEROP_2(ScriptFunctionReturnStatementsConst, KNativePointer, KNativePointer, KNativePointer);
5495
5258
 
@@ -5499,7 +5262,7 @@ KNativePointer impl_ScriptFunctionReturnStatements(KNativePointer context, KNati
5499
5262
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5500
5263
  std::size_t length;
5501
5264
  auto result = GetImpl()->ScriptFunctionReturnStatements(_context, _receiver, &length);
5502
- return StageArena::cloneVector(result, length);
5265
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5503
5266
  }
5504
5267
  KOALA_INTEROP_2(ScriptFunctionReturnStatements, KNativePointer, KNativePointer, KNativePointer);
5505
5268
 
@@ -5509,7 +5272,7 @@ KNativePointer impl_ScriptFunctionReturnStatementsForUpdate(KNativePointer conte
5509
5272
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5510
5273
  std::size_t length;
5511
5274
  auto result = GetImpl()->ScriptFunctionReturnStatementsForUpdate(_context, _receiver, &length);
5512
- return StageArena::cloneVector(result, length);
5275
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5513
5276
  }
5514
5277
  KOALA_INTEROP_2(ScriptFunctionReturnStatementsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5515
5278
 
@@ -5956,6 +5719,17 @@ void impl_ScriptFunctionEmplaceParams(KNativePointer context, KNativePointer rec
5956
5719
  }
5957
5720
  KOALA_INTEROP_V3(ScriptFunctionEmplaceParams, KNativePointer, KNativePointer, KNativePointer);
5958
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
+
5959
5733
  void impl_ScriptFunctionClearParams(KNativePointer context, KNativePointer receiver)
5960
5734
  {
5961
5735
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -5982,19 +5756,28 @@ KNativePointer impl_ScriptFunctionParamsForUpdate(KNativePointer context, KNativ
5982
5756
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5983
5757
  std::size_t length;
5984
5758
  auto result = GetImpl()->ScriptFunctionParamsForUpdate(_context, _receiver, &length);
5985
- return StageArena::cloneVector(result, length);
5759
+ return length ? StageArena::cloneVector(result, length) : nullptr;
5986
5760
  }
5987
5761
  KOALA_INTEROP_2(ScriptFunctionParamsForUpdate, KNativePointer, KNativePointer, KNativePointer);
5988
5762
 
5989
- 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)
5990
5773
  {
5991
5774
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
5992
5775
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
5993
5776
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
5994
- GetImpl()->ScriptFunctionEmplaceAnnotations(_context, _receiver, _source);
5777
+ GetImpl()->ScriptFunctionEmplaceAnnotation(_context, _receiver, _source);
5995
5778
  return ;
5996
5779
  }
5997
- KOALA_INTEROP_V3(ScriptFunctionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
5780
+ KOALA_INTEROP_V3(ScriptFunctionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
5998
5781
 
5999
5782
  void impl_ScriptFunctionClearAnnotations(KNativePointer context, KNativePointer receiver)
6000
5783
  {
@@ -6005,16 +5788,15 @@ void impl_ScriptFunctionClearAnnotations(KNativePointer context, KNativePointer
6005
5788
  }
6006
5789
  KOALA_INTEROP_V2(ScriptFunctionClearAnnotations, KNativePointer, KNativePointer);
6007
5790
 
6008
- void impl_ScriptFunctionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
5791
+ void impl_ScriptFunctionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
6009
5792
  {
6010
5793
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
6011
5794
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6012
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
6013
- const auto _index = static_cast<KUInt>(index);
6014
- GetImpl()->ScriptFunctionSetValueAnnotations(_context, _receiver, _source, _index);
5795
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
5796
+ GetImpl()->ScriptFunctionDumpAnnotationsConst(_context, _receiver, _dumper);
6015
5797
  return ;
6016
5798
  }
6017
- KOALA_INTEROP_V4(ScriptFunctionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
5799
+ KOALA_INTEROP_V3(ScriptFunctionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
6018
5800
 
6019
5801
  KNativePointer impl_ScriptFunctionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
6020
5802
  {
@@ -6022,7 +5804,7 @@ KNativePointer impl_ScriptFunctionAnnotationsForUpdate(KNativePointer context, K
6022
5804
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6023
5805
  std::size_t length;
6024
5806
  auto result = GetImpl()->ScriptFunctionAnnotationsForUpdate(_context, _receiver, &length);
6025
- return StageArena::cloneVector(result, length);
5807
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6026
5808
  }
6027
5809
  KOALA_INTEROP_2(ScriptFunctionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
6028
5810
 
@@ -6032,7 +5814,7 @@ KNativePointer impl_ScriptFunctionAnnotations(KNativePointer context, KNativePoi
6032
5814
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6033
5815
  std::size_t length;
6034
5816
  auto result = GetImpl()->ScriptFunctionAnnotations(_context, _receiver, &length);
6035
- return StageArena::cloneVector(result, length);
5817
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6036
5818
  }
6037
5819
  KOALA_INTEROP_2(ScriptFunctionAnnotations, KNativePointer, KNativePointer, KNativePointer);
6038
5820
 
@@ -6042,7 +5824,7 @@ KNativePointer impl_ScriptFunctionAnnotationsConst(KNativePointer context, KNati
6042
5824
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6043
5825
  std::size_t length;
6044
5826
  auto result = GetImpl()->ScriptFunctionAnnotationsConst(_context, _receiver, &length);
6045
- return (void*)StageArena::cloneVector(result, length);
5827
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6046
5828
  }
6047
5829
  KOALA_INTEROP_2(ScriptFunctionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
6048
5830
 
@@ -6068,16 +5850,6 @@ void impl_ScriptFunctionSetAnnotations1(KNativePointer context, KNativePointer r
6068
5850
  }
6069
5851
  KOALA_INTEROP_V4(ScriptFunctionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
6070
5852
 
6071
- void impl_ScriptFunctionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
6072
- {
6073
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
6074
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6075
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
6076
- GetImpl()->ScriptFunctionAddAnnotations(_context, _receiver, _annotations);
6077
- return ;
6078
- }
6079
- KOALA_INTEROP_V3(ScriptFunctionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
6080
-
6081
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)
6082
5854
  {
6083
5855
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -6358,6 +6130,15 @@ KBoolean impl_ClassDefinitionIsFromStructConst(KNativePointer context, KNativePo
6358
6130
  }
6359
6131
  KOALA_INTEROP_2(ClassDefinitionIsFromStructConst, KBoolean, KNativePointer, KNativePointer);
6360
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
+
6361
6142
  KBoolean impl_ClassDefinitionIsModuleConst(KNativePointer context, KNativePointer receiver)
6362
6143
  {
6363
6144
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -6430,6 +6211,15 @@ void impl_ClassDefinitionSetFromStructModifier(KNativePointer context, KNativePo
6430
6211
  }
6431
6212
  KOALA_INTEROP_V2(ClassDefinitionSetFromStructModifier, KNativePointer, KNativePointer);
6432
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
+
6433
6223
  KInt impl_ClassDefinitionModifiersConst(KNativePointer context, KNativePointer receiver)
6434
6224
  {
6435
6225
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -6456,7 +6246,7 @@ KNativePointer impl_ClassDefinitionBodyConst(KNativePointer context, KNativePoin
6456
6246
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6457
6247
  std::size_t length;
6458
6248
  auto result = GetImpl()->ClassDefinitionBodyConst(_context, _receiver, &length);
6459
- return (void*)StageArena::cloneVector(result, length);
6249
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6460
6250
  }
6461
6251
  KOALA_INTEROP_2(ClassDefinitionBodyConst, KNativePointer, KNativePointer, KNativePointer);
6462
6252
 
@@ -6475,7 +6265,7 @@ KNativePointer impl_ClassDefinitionImplementsConst(KNativePointer context, KNati
6475
6265
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6476
6266
  std::size_t length;
6477
6267
  auto result = GetImpl()->ClassDefinitionImplementsConst(_context, _receiver, &length);
6478
- return (void*)StageArena::cloneVector(result, length);
6268
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6479
6269
  }
6480
6270
  KOALA_INTEROP_2(ClassDefinitionImplementsConst, KNativePointer, KNativePointer, KNativePointer);
6481
6271
 
@@ -6681,7 +6471,7 @@ KNativePointer impl_ClassDefinitionBody(KNativePointer context, KNativePointer r
6681
6471
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6682
6472
  std::size_t length;
6683
6473
  auto result = GetImpl()->ClassDefinitionBody(_context, _receiver, &length);
6684
- return StageArena::cloneVector(result, length);
6474
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6685
6475
  }
6686
6476
  KOALA_INTEROP_2(ClassDefinitionBody, KNativePointer, KNativePointer, KNativePointer);
6687
6477
 
@@ -6691,7 +6481,7 @@ KNativePointer impl_ClassDefinitionBodyForUpdate(KNativePointer context, KNative
6691
6481
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6692
6482
  std::size_t length;
6693
6483
  auto result = GetImpl()->ClassDefinitionBodyForUpdate(_context, _receiver, &length);
6694
- return StageArena::cloneVector(result, length);
6484
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6695
6485
  }
6696
6486
  KOALA_INTEROP_2(ClassDefinitionBodyForUpdate, KNativePointer, KNativePointer, KNativePointer);
6697
6487
 
@@ -6731,7 +6521,7 @@ KNativePointer impl_ClassDefinitionImplements(KNativePointer context, KNativePoi
6731
6521
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6732
6522
  std::size_t length;
6733
6523
  auto result = GetImpl()->ClassDefinitionImplements(_context, _receiver, &length);
6734
- return StageArena::cloneVector(result, length);
6524
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6735
6525
  }
6736
6526
  KOALA_INTEROP_2(ClassDefinitionImplements, KNativePointer, KNativePointer, KNativePointer);
6737
6527
 
@@ -6741,7 +6531,7 @@ KNativePointer impl_ClassDefinitionImplementsForUpdate(KNativePointer context, K
6741
6531
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6742
6532
  std::size_t length;
6743
6533
  auto result = GetImpl()->ClassDefinitionImplementsForUpdate(_context, _receiver, &length);
6744
- return StageArena::cloneVector(result, length);
6534
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6745
6535
  }
6746
6536
  KOALA_INTEROP_2(ClassDefinitionImplementsForUpdate, KNativePointer, KNativePointer, KNativePointer);
6747
6537
 
@@ -6795,15 +6585,24 @@ void impl_ClassDefinitionSetInternalName(KNativePointer context, KNativePointer
6795
6585
  }
6796
6586
  KOALA_INTEROP_V3(ClassDefinitionSetInternalName, KNativePointer, KNativePointer, KStringPtr);
6797
6587
 
6798
- 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)
6799
6598
  {
6800
6599
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
6801
6600
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6802
6601
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
6803
- GetImpl()->ClassDefinitionEmplaceAnnotations(_context, _receiver, _source);
6602
+ GetImpl()->ClassDefinitionEmplaceAnnotation(_context, _receiver, _source);
6804
6603
  return ;
6805
6604
  }
6806
- KOALA_INTEROP_V3(ClassDefinitionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
6605
+ KOALA_INTEROP_V3(ClassDefinitionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
6807
6606
 
6808
6607
  void impl_ClassDefinitionClearAnnotations(KNativePointer context, KNativePointer receiver)
6809
6608
  {
@@ -6814,16 +6613,15 @@ void impl_ClassDefinitionClearAnnotations(KNativePointer context, KNativePointer
6814
6613
  }
6815
6614
  KOALA_INTEROP_V2(ClassDefinitionClearAnnotations, KNativePointer, KNativePointer);
6816
6615
 
6817
- void impl_ClassDefinitionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
6616
+ void impl_ClassDefinitionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
6818
6617
  {
6819
6618
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
6820
6619
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6821
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
6822
- const auto _index = static_cast<KUInt>(index);
6823
- GetImpl()->ClassDefinitionSetValueAnnotations(_context, _receiver, _source, _index);
6620
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
6621
+ GetImpl()->ClassDefinitionDumpAnnotationsConst(_context, _receiver, _dumper);
6824
6622
  return ;
6825
6623
  }
6826
- KOALA_INTEROP_V4(ClassDefinitionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
6624
+ KOALA_INTEROP_V3(ClassDefinitionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
6827
6625
 
6828
6626
  KNativePointer impl_ClassDefinitionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
6829
6627
  {
@@ -6831,7 +6629,7 @@ KNativePointer impl_ClassDefinitionAnnotationsForUpdate(KNativePointer context,
6831
6629
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6832
6630
  std::size_t length;
6833
6631
  auto result = GetImpl()->ClassDefinitionAnnotationsForUpdate(_context, _receiver, &length);
6834
- return StageArena::cloneVector(result, length);
6632
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6835
6633
  }
6836
6634
  KOALA_INTEROP_2(ClassDefinitionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
6837
6635
 
@@ -6841,7 +6639,7 @@ KNativePointer impl_ClassDefinitionAnnotations(KNativePointer context, KNativePo
6841
6639
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6842
6640
  std::size_t length;
6843
6641
  auto result = GetImpl()->ClassDefinitionAnnotations(_context, _receiver, &length);
6844
- return StageArena::cloneVector(result, length);
6642
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6845
6643
  }
6846
6644
  KOALA_INTEROP_2(ClassDefinitionAnnotations, KNativePointer, KNativePointer, KNativePointer);
6847
6645
 
@@ -6851,7 +6649,7 @@ KNativePointer impl_ClassDefinitionAnnotationsConst(KNativePointer context, KNat
6851
6649
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6852
6650
  std::size_t length;
6853
6651
  auto result = GetImpl()->ClassDefinitionAnnotationsConst(_context, _receiver, &length);
6854
- return (void*)StageArena::cloneVector(result, length);
6652
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6855
6653
  }
6856
6654
  KOALA_INTEROP_2(ClassDefinitionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
6857
6655
 
@@ -6877,16 +6675,6 @@ void impl_ClassDefinitionSetAnnotations1(KNativePointer context, KNativePointer
6877
6675
  }
6878
6676
  KOALA_INTEROP_V4(ClassDefinitionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
6879
6677
 
6880
- void impl_ClassDefinitionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
6881
- {
6882
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
6883
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6884
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
6885
- GetImpl()->ClassDefinitionAddAnnotations(_context, _receiver, _annotations);
6886
- return ;
6887
- }
6888
- KOALA_INTEROP_V3(ClassDefinitionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
6889
-
6890
6678
  KNativePointer impl_CreateArrayExpression(KNativePointer context, KNativePointerArray elements, KUInt elementsSequenceLength)
6891
6679
  {
6892
6680
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -6949,7 +6737,7 @@ KNativePointer impl_ArrayExpressionElementsConst(KNativePointer context, KNative
6949
6737
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6950
6738
  std::size_t length;
6951
6739
  auto result = GetImpl()->ArrayExpressionElementsConst(_context, _receiver, &length);
6952
- return (void*)StageArena::cloneVector(result, length);
6740
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
6953
6741
  }
6954
6742
  KOALA_INTEROP_2(ArrayExpressionElementsConst, KNativePointer, KNativePointer, KNativePointer);
6955
6743
 
@@ -6959,7 +6747,7 @@ KNativePointer impl_ArrayExpressionElements(KNativePointer context, KNativePoint
6959
6747
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
6960
6748
  std::size_t length;
6961
6749
  auto result = GetImpl()->ArrayExpressionElements(_context, _receiver, &length);
6962
- return StageArena::cloneVector(result, length);
6750
+ return length ? StageArena::cloneVector(result, length) : nullptr;
6963
6751
  }
6964
6752
  KOALA_INTEROP_2(ArrayExpressionElements, KNativePointer, KNativePointer, KNativePointer);
6965
6753
 
@@ -7011,16 +6799,6 @@ void impl_ArrayExpressionSetOptional(KNativePointer context, KNativePointer rece
7011
6799
  }
7012
6800
  KOALA_INTEROP_V3(ArrayExpressionSetOptional, KNativePointer, KNativePointer, KBoolean);
7013
6801
 
7014
- KNativePointer impl_ArrayExpressionDecoratorsConst(KNativePointer context, KNativePointer receiver)
7015
- {
7016
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
7017
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7018
- std::size_t length;
7019
- auto result = GetImpl()->ArrayExpressionDecoratorsConst(_context, _receiver, &length);
7020
- return (void*)StageArena::cloneVector(result, length);
7021
- }
7022
- KOALA_INTEROP_2(ArrayExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
7023
-
7024
6802
  void impl_ArrayExpressionClearPreferredType(KNativePointer context, KNativePointer receiver)
7025
6803
  {
7026
6804
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -7105,7 +6883,7 @@ KNativePointer impl_TSInterfaceBodyBody(KNativePointer context, KNativePointer r
7105
6883
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7106
6884
  std::size_t length;
7107
6885
  auto result = GetImpl()->TSInterfaceBodyBody(_context, _receiver, &length);
7108
- return StageArena::cloneVector(result, length);
6886
+ return length ? StageArena::cloneVector(result, length) : nullptr;
7109
6887
  }
7110
6888
  KOALA_INTEROP_2(TSInterfaceBodyBody, KNativePointer, KNativePointer, KNativePointer);
7111
6889
 
@@ -7115,7 +6893,7 @@ KNativePointer impl_TSInterfaceBodyBodyConst(KNativePointer context, KNativePoin
7115
6893
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7116
6894
  std::size_t length;
7117
6895
  auto result = GetImpl()->TSInterfaceBodyBodyConst(_context, _receiver, &length);
7118
- return (void*)StageArena::cloneVector(result, length);
6896
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
7119
6897
  }
7120
6898
  KOALA_INTEROP_2(TSInterfaceBodyBodyConst, KNativePointer, KNativePointer, KNativePointer);
7121
6899
 
@@ -7631,7 +7409,7 @@ KNativePointer impl_ETSTupleGetTupleTypeAnnotationsList(KNativePointer context,
7631
7409
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7632
7410
  std::size_t length;
7633
7411
  auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsList(_context, _receiver, &length);
7634
- return StageArena::cloneVector(result, length);
7412
+ return length ? StageArena::cloneVector(result, length) : nullptr;
7635
7413
  }
7636
7414
  KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointer);
7637
7415
 
@@ -7641,7 +7419,7 @@ KNativePointer impl_ETSTupleGetTupleTypeAnnotationsListConst(KNativePointer cont
7641
7419
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7642
7420
  std::size_t length;
7643
7421
  auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsListConst(_context, _receiver, &length);
7644
- return (void*)StageArena::cloneVector(result, length);
7422
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
7645
7423
  }
7646
7424
  KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsListConst, KNativePointer, KNativePointer, KNativePointer);
7647
7425
 
@@ -7769,7 +7547,7 @@ KNativePointer impl_TryStatementCatchClausesConst(KNativePointer context, KNativ
7769
7547
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
7770
7548
  std::size_t length;
7771
7549
  auto result = GetImpl()->TryStatementCatchClausesConst(_context, _receiver, &length);
7772
- return (void*)StageArena::cloneVector(result, length);
7550
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
7773
7551
  }
7774
7552
  KOALA_INTEROP_2(TryStatementCatchClausesConst, KNativePointer, KNativePointer, KNativePointer);
7775
7553
 
@@ -8010,7 +7788,7 @@ KNativePointer impl_AstNodeDecoratorsPtrConst(KNativePointer context, KNativePoi
8010
7788
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8011
7789
  std::size_t length;
8012
7790
  auto result = GetImpl()->AstNodeDecoratorsPtrConst(_context, _receiver, &length);
8013
- return (void*)StageArena::cloneVector(result, length);
7791
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8014
7792
  }
8015
7793
  KOALA_INTEROP_2(AstNodeDecoratorsPtrConst, KNativePointer, KNativePointer, KNativePointer);
8016
7794
 
@@ -8751,7 +8529,7 @@ KNativePointer impl_TSMethodSignatureParamsConst(KNativePointer context, KNative
8751
8529
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
8752
8530
  std::size_t length;
8753
8531
  auto result = GetImpl()->TSMethodSignatureParamsConst(_context, _receiver, &length);
8754
- return (void*)StageArena::cloneVector(result, length);
8532
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
8755
8533
  }
8756
8534
  KOALA_INTEROP_2(TSMethodSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer);
8757
8535
 
@@ -9437,15 +9215,24 @@ KNativePointer impl_ETSModuleProgramConst(KNativePointer context, KNativePointer
9437
9215
  }
9438
9216
  KOALA_INTEROP_2(ETSModuleProgramConst, KNativePointer, KNativePointer, KNativePointer);
9439
9217
 
9440
- 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)
9441
9228
  {
9442
9229
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
9443
9230
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9444
9231
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
9445
- GetImpl()->ETSModuleEmplaceAnnotations(_context, _receiver, _source);
9232
+ GetImpl()->ETSModuleEmplaceAnnotation(_context, _receiver, _source);
9446
9233
  return ;
9447
9234
  }
9448
- KOALA_INTEROP_V3(ETSModuleEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
9235
+ KOALA_INTEROP_V3(ETSModuleEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
9449
9236
 
9450
9237
  void impl_ETSModuleClearAnnotations(KNativePointer context, KNativePointer receiver)
9451
9238
  {
@@ -9456,16 +9243,15 @@ void impl_ETSModuleClearAnnotations(KNativePointer context, KNativePointer recei
9456
9243
  }
9457
9244
  KOALA_INTEROP_V2(ETSModuleClearAnnotations, KNativePointer, KNativePointer);
9458
9245
 
9459
- void impl_ETSModuleSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
9246
+ void impl_ETSModuleDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
9460
9247
  {
9461
9248
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
9462
9249
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9463
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
9464
- const auto _index = static_cast<KUInt>(index);
9465
- GetImpl()->ETSModuleSetValueAnnotations(_context, _receiver, _source, _index);
9250
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
9251
+ GetImpl()->ETSModuleDumpAnnotationsConst(_context, _receiver, _dumper);
9466
9252
  return ;
9467
9253
  }
9468
- KOALA_INTEROP_V4(ETSModuleSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
9254
+ KOALA_INTEROP_V3(ETSModuleDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
9469
9255
 
9470
9256
  KNativePointer impl_ETSModuleAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
9471
9257
  {
@@ -9473,7 +9259,7 @@ KNativePointer impl_ETSModuleAnnotationsForUpdate(KNativePointer context, KNativ
9473
9259
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9474
9260
  std::size_t length;
9475
9261
  auto result = GetImpl()->ETSModuleAnnotationsForUpdate(_context, _receiver, &length);
9476
- return StageArena::cloneVector(result, length);
9262
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9477
9263
  }
9478
9264
  KOALA_INTEROP_2(ETSModuleAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
9479
9265
 
@@ -9483,7 +9269,7 @@ KNativePointer impl_ETSModuleAnnotations(KNativePointer context, KNativePointer
9483
9269
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9484
9270
  std::size_t length;
9485
9271
  auto result = GetImpl()->ETSModuleAnnotations(_context, _receiver, &length);
9486
- return StageArena::cloneVector(result, length);
9272
+ return length ? StageArena::cloneVector(result, length) : nullptr;
9487
9273
  }
9488
9274
  KOALA_INTEROP_2(ETSModuleAnnotations, KNativePointer, KNativePointer, KNativePointer);
9489
9275
 
@@ -9493,7 +9279,7 @@ KNativePointer impl_ETSModuleAnnotationsConst(KNativePointer context, KNativePoi
9493
9279
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9494
9280
  std::size_t length;
9495
9281
  auto result = GetImpl()->ETSModuleAnnotationsConst(_context, _receiver, &length);
9496
- return (void*)StageArena::cloneVector(result, length);
9282
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9497
9283
  }
9498
9284
  KOALA_INTEROP_2(ETSModuleAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
9499
9285
 
@@ -9519,16 +9305,6 @@ void impl_ETSModuleSetAnnotations1(KNativePointer context, KNativePointer receiv
9519
9305
  }
9520
9306
  KOALA_INTEROP_V4(ETSModuleSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
9521
9307
 
9522
- void impl_ETSModuleAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
9523
- {
9524
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
9525
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9526
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
9527
- GetImpl()->ETSModuleAddAnnotations(_context, _receiver, _annotations);
9528
- return ;
9529
- }
9530
- KOALA_INTEROP_V3(ETSModuleAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
9531
-
9532
9308
  KNativePointer impl_CreateMetaProperty(KNativePointer context, KInt kind)
9533
9309
  {
9534
9310
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -9630,7 +9406,7 @@ KNativePointer impl_TSSignatureDeclarationParamsConst(KNativePointer context, KN
9630
9406
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9631
9407
  std::size_t length;
9632
9408
  auto result = GetImpl()->TSSignatureDeclarationParamsConst(_context, _receiver, &length);
9633
- return (void*)StageArena::cloneVector(result, length);
9409
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9634
9410
  }
9635
9411
  KOALA_INTEROP_2(TSSignatureDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer);
9636
9412
 
@@ -9803,7 +9579,7 @@ KNativePointer impl_TSTupleTypeElementTypeConst(KNativePointer context, KNativeP
9803
9579
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
9804
9580
  std::size_t length;
9805
9581
  auto result = GetImpl()->TSTupleTypeElementTypeConst(_context, _receiver, &length);
9806
- return (void*)StageArena::cloneVector(result, length);
9582
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
9807
9583
  }
9808
9584
  KOALA_INTEROP_2(TSTupleTypeElementTypeConst, KNativePointer, KNativePointer, KNativePointer);
9809
9585
 
@@ -10064,7 +9840,7 @@ KNativePointer impl_ImportDeclarationSpecifiersForUpdate(KNativePointer context,
10064
9840
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10065
9841
  std::size_t length;
10066
9842
  auto result = GetImpl()->ImportDeclarationSpecifiersForUpdate(_context, _receiver, &length);
10067
- return StageArena::cloneVector(result, length);
9843
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10068
9844
  }
10069
9845
  KOALA_INTEROP_2(ImportDeclarationSpecifiersForUpdate, KNativePointer, KNativePointer, KNativePointer);
10070
9846
 
@@ -10092,7 +9868,7 @@ KNativePointer impl_ImportDeclarationSpecifiersConst(KNativePointer context, KNa
10092
9868
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10093
9869
  std::size_t length;
10094
9870
  auto result = GetImpl()->ImportDeclarationSpecifiersConst(_context, _receiver, &length);
10095
- return (void*)StageArena::cloneVector(result, length);
9871
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10096
9872
  }
10097
9873
  KOALA_INTEROP_2(ImportDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer);
10098
9874
 
@@ -10243,7 +10019,7 @@ KNativePointer impl_ETSIntrinsicNodeArgumentsConst(KNativePointer context, KNati
10243
10019
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10244
10020
  std::size_t length;
10245
10021
  auto result = GetImpl()->ETSIntrinsicNodeArgumentsConst(_context, _receiver, &length);
10246
- return (void*)StageArena::cloneVector(result, length);
10022
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10247
10023
  }
10248
10024
  KOALA_INTEROP_2(ETSIntrinsicNodeArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
10249
10025
 
@@ -10415,7 +10191,7 @@ KNativePointer impl_TSModuleBlockStatementsConst(KNativePointer context, KNative
10415
10191
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10416
10192
  std::size_t length;
10417
10193
  auto result = GetImpl()->TSModuleBlockStatementsConst(_context, _receiver, &length);
10418
- return (void*)StageArena::cloneVector(result, length);
10194
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10419
10195
  }
10420
10196
  KOALA_INTEROP_2(TSModuleBlockStatementsConst, KNativePointer, KNativePointer, KNativePointer);
10421
10197
 
@@ -10580,7 +10356,7 @@ KNativePointer impl_AnnotationDeclarationProperties(KNativePointer context, KNat
10580
10356
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10581
10357
  std::size_t length;
10582
10358
  auto result = GetImpl()->AnnotationDeclarationProperties(_context, _receiver, &length);
10583
- return StageArena::cloneVector(result, length);
10359
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10584
10360
  }
10585
10361
  KOALA_INTEROP_2(AnnotationDeclarationProperties, KNativePointer, KNativePointer, KNativePointer);
10586
10362
 
@@ -10590,7 +10366,7 @@ KNativePointer impl_AnnotationDeclarationPropertiesForUpdate(KNativePointer cont
10590
10366
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10591
10367
  std::size_t length;
10592
10368
  auto result = GetImpl()->AnnotationDeclarationPropertiesForUpdate(_context, _receiver, &length);
10593
- return StageArena::cloneVector(result, length);
10369
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10594
10370
  }
10595
10371
  KOALA_INTEROP_2(AnnotationDeclarationPropertiesForUpdate, KNativePointer, KNativePointer, KNativePointer);
10596
10372
 
@@ -10600,7 +10376,7 @@ KNativePointer impl_AnnotationDeclarationPropertiesConst(KNativePointer context,
10600
10376
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10601
10377
  std::size_t length;
10602
10378
  auto result = GetImpl()->AnnotationDeclarationPropertiesConst(_context, _receiver, &length);
10603
- return (void*)StageArena::cloneVector(result, length);
10379
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10604
10380
  }
10605
10381
  KOALA_INTEROP_2(AnnotationDeclarationPropertiesConst, KNativePointer, KNativePointer, KNativePointer);
10606
10382
 
@@ -10708,15 +10484,24 @@ void impl_AnnotationDeclarationSetValueProperties(KNativePointer context, KNativ
10708
10484
  }
10709
10485
  KOALA_INTEROP_V4(AnnotationDeclarationSetValueProperties, KNativePointer, KNativePointer, KNativePointer, KUInt);
10710
10486
 
10711
- 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)
10712
10497
  {
10713
10498
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
10714
10499
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10715
10500
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
10716
- GetImpl()->AnnotationDeclarationEmplaceAnnotations(_context, _receiver, _source);
10501
+ GetImpl()->AnnotationDeclarationEmplaceAnnotation(_context, _receiver, _source);
10717
10502
  return ;
10718
10503
  }
10719
- KOALA_INTEROP_V3(AnnotationDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
10504
+ KOALA_INTEROP_V3(AnnotationDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
10720
10505
 
10721
10506
  void impl_AnnotationDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
10722
10507
  {
@@ -10727,16 +10512,15 @@ void impl_AnnotationDeclarationClearAnnotations(KNativePointer context, KNativeP
10727
10512
  }
10728
10513
  KOALA_INTEROP_V2(AnnotationDeclarationClearAnnotations, KNativePointer, KNativePointer);
10729
10514
 
10730
- void impl_AnnotationDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
10515
+ void impl_AnnotationDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
10731
10516
  {
10732
10517
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
10733
10518
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10734
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
10735
- const auto _index = static_cast<KUInt>(index);
10736
- GetImpl()->AnnotationDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
10519
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
10520
+ GetImpl()->AnnotationDeclarationDumpAnnotationsConst(_context, _receiver, _dumper);
10737
10521
  return ;
10738
10522
  }
10739
- KOALA_INTEROP_V4(AnnotationDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
10523
+ KOALA_INTEROP_V3(AnnotationDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
10740
10524
 
10741
10525
  KNativePointer impl_AnnotationDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
10742
10526
  {
@@ -10744,7 +10528,7 @@ KNativePointer impl_AnnotationDeclarationAnnotationsForUpdate(KNativePointer con
10744
10528
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10745
10529
  std::size_t length;
10746
10530
  auto result = GetImpl()->AnnotationDeclarationAnnotationsForUpdate(_context, _receiver, &length);
10747
- return StageArena::cloneVector(result, length);
10531
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10748
10532
  }
10749
10533
  KOALA_INTEROP_2(AnnotationDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
10750
10534
 
@@ -10754,7 +10538,7 @@ KNativePointer impl_AnnotationDeclarationAnnotations(KNativePointer context, KNa
10754
10538
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10755
10539
  std::size_t length;
10756
10540
  auto result = GetImpl()->AnnotationDeclarationAnnotations(_context, _receiver, &length);
10757
- return StageArena::cloneVector(result, length);
10541
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10758
10542
  }
10759
10543
  KOALA_INTEROP_2(AnnotationDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
10760
10544
 
@@ -10764,7 +10548,7 @@ KNativePointer impl_AnnotationDeclarationAnnotationsConst(KNativePointer context
10764
10548
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10765
10549
  std::size_t length;
10766
10550
  auto result = GetImpl()->AnnotationDeclarationAnnotationsConst(_context, _receiver, &length);
10767
- return (void*)StageArena::cloneVector(result, length);
10551
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10768
10552
  }
10769
10553
  KOALA_INTEROP_2(AnnotationDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
10770
10554
 
@@ -10790,16 +10574,6 @@ void impl_AnnotationDeclarationSetAnnotations1(KNativePointer context, KNativePo
10790
10574
  }
10791
10575
  KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
10792
10576
 
10793
- void impl_AnnotationDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
10794
- {
10795
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
10796
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10797
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
10798
- GetImpl()->AnnotationDeclarationAddAnnotations(_context, _receiver, _annotations);
10799
- return ;
10800
- }
10801
- KOALA_INTEROP_V3(AnnotationDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
10802
-
10803
10577
  KNativePointer impl_CreateAnnotationUsage(KNativePointer context, KNativePointer expr)
10804
10578
  {
10805
10579
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -10857,7 +10631,7 @@ KNativePointer impl_AnnotationUsageProperties(KNativePointer context, KNativePoi
10857
10631
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10858
10632
  std::size_t length;
10859
10633
  auto result = GetImpl()->AnnotationUsageIrProperties(_context, _receiver, &length);
10860
- return StageArena::cloneVector(result, length);
10634
+ return length ? StageArena::cloneVector(result, length) : nullptr;
10861
10635
  }
10862
10636
  KOALA_INTEROP_2(AnnotationUsageProperties, KNativePointer, KNativePointer, KNativePointer);
10863
10637
 
@@ -10867,7 +10641,7 @@ KNativePointer impl_AnnotationUsagePropertiesConst(KNativePointer context, KNati
10867
10641
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
10868
10642
  std::size_t length;
10869
10643
  auto result = GetImpl()->AnnotationUsageIrPropertiesConst(_context, _receiver, &length);
10870
- return (void*)StageArena::cloneVector(result, length);
10644
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
10871
10645
  }
10872
10646
  KOALA_INTEROP_2(AnnotationUsagePropertiesConst, KNativePointer, KNativePointer, KNativePointer);
10873
10647
 
@@ -11032,7 +10806,7 @@ KNativePointer impl_FunctionSignatureParamsConst(KNativePointer context, KNative
11032
10806
  const auto _receiver = reinterpret_cast<es2panda_FunctionSignature*>(receiver);
11033
10807
  std::size_t length;
11034
10808
  auto result = GetImpl()->FunctionSignatureParamsConst(_context, _receiver, &length);
11035
- return (void*)StageArena::cloneVector(result, length);
10809
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11036
10810
  }
11037
10811
  KOALA_INTEROP_2(FunctionSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer);
11038
10812
 
@@ -11042,7 +10816,7 @@ KNativePointer impl_FunctionSignatureParams(KNativePointer context, KNativePoint
11042
10816
  const auto _receiver = reinterpret_cast<es2panda_FunctionSignature*>(receiver);
11043
10817
  std::size_t length;
11044
10818
  auto result = GetImpl()->FunctionSignatureParams(_context, _receiver, &length);
11045
- return StageArena::cloneVector(result, length);
10819
+ return length ? StageArena::cloneVector(result, length) : nullptr;
11046
10820
  }
11047
10821
  KOALA_INTEROP_2(FunctionSignatureParams, KNativePointer, KNativePointer, KNativePointer);
11048
10822
 
@@ -11185,7 +10959,7 @@ KNativePointer impl_TSIntersectionTypeTypesConst(KNativePointer context, KNative
11185
10959
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11186
10960
  std::size_t length;
11187
10961
  auto result = GetImpl()->TSIntersectionTypeTypesConst(_context, _receiver, &length);
11188
- return (void*)StageArena::cloneVector(result, length);
10962
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11189
10963
  }
11190
10964
  KOALA_INTEROP_2(TSIntersectionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
11191
10965
 
@@ -11275,7 +11049,7 @@ KNativePointer impl_BlockExpressionStatementsConst(KNativePointer context, KNati
11275
11049
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11276
11050
  std::size_t length;
11277
11051
  auto result = GetImpl()->BlockExpressionStatementsConst(_context, _receiver, &length);
11278
- return (void*)StageArena::cloneVector(result, length);
11052
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11279
11053
  }
11280
11054
  KOALA_INTEROP_2(BlockExpressionStatementsConst, KNativePointer, KNativePointer, KNativePointer);
11281
11055
 
@@ -11285,7 +11059,7 @@ KNativePointer impl_BlockExpressionStatements(KNativePointer context, KNativePoi
11285
11059
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11286
11060
  std::size_t length;
11287
11061
  auto result = GetImpl()->BlockExpressionStatements(_context, _receiver, &length);
11288
- return StageArena::cloneVector(result, length);
11062
+ return length ? StageArena::cloneVector(result, length) : nullptr;
11289
11063
  }
11290
11064
  KOALA_INTEROP_2(BlockExpressionStatements, KNativePointer, KNativePointer, KNativePointer);
11291
11065
 
@@ -11337,7 +11111,7 @@ KNativePointer impl_TSTypeLiteralMembersConst(KNativePointer context, KNativePoi
11337
11111
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11338
11112
  std::size_t length;
11339
11113
  auto result = GetImpl()->TSTypeLiteralMembersConst(_context, _receiver, &length);
11340
- return (void*)StageArena::cloneVector(result, length);
11114
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11341
11115
  }
11342
11116
  KOALA_INTEROP_2(TSTypeLiteralMembersConst, KNativePointer, KNativePointer, KNativePointer);
11343
11117
 
@@ -11454,15 +11228,24 @@ void impl_TSTypeParameterSetDefaultType(KNativePointer context, KNativePointer r
11454
11228
  }
11455
11229
  KOALA_INTEROP_V3(TSTypeParameterSetDefaultType, KNativePointer, KNativePointer, KNativePointer);
11456
11230
 
11457
- 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)
11458
11241
  {
11459
11242
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
11460
11243
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11461
11244
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
11462
- GetImpl()->TSTypeParameterEmplaceAnnotations(_context, _receiver, _source);
11245
+ GetImpl()->TSTypeParameterEmplaceAnnotation(_context, _receiver, _source);
11463
11246
  return ;
11464
11247
  }
11465
- KOALA_INTEROP_V3(TSTypeParameterEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
11248
+ KOALA_INTEROP_V3(TSTypeParameterEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
11466
11249
 
11467
11250
  void impl_TSTypeParameterClearAnnotations(KNativePointer context, KNativePointer receiver)
11468
11251
  {
@@ -11473,16 +11256,15 @@ void impl_TSTypeParameterClearAnnotations(KNativePointer context, KNativePointer
11473
11256
  }
11474
11257
  KOALA_INTEROP_V2(TSTypeParameterClearAnnotations, KNativePointer, KNativePointer);
11475
11258
 
11476
- void impl_TSTypeParameterSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
11259
+ void impl_TSTypeParameterDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
11477
11260
  {
11478
11261
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
11479
11262
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11480
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
11481
- const auto _index = static_cast<KUInt>(index);
11482
- GetImpl()->TSTypeParameterSetValueAnnotations(_context, _receiver, _source, _index);
11263
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
11264
+ GetImpl()->TSTypeParameterDumpAnnotationsConst(_context, _receiver, _dumper);
11483
11265
  return ;
11484
11266
  }
11485
- KOALA_INTEROP_V4(TSTypeParameterSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
11267
+ KOALA_INTEROP_V3(TSTypeParameterDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
11486
11268
 
11487
11269
  KNativePointer impl_TSTypeParameterAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
11488
11270
  {
@@ -11490,7 +11272,7 @@ KNativePointer impl_TSTypeParameterAnnotationsForUpdate(KNativePointer context,
11490
11272
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11491
11273
  std::size_t length;
11492
11274
  auto result = GetImpl()->TSTypeParameterAnnotationsForUpdate(_context, _receiver, &length);
11493
- return StageArena::cloneVector(result, length);
11275
+ return length ? StageArena::cloneVector(result, length) : nullptr;
11494
11276
  }
11495
11277
  KOALA_INTEROP_2(TSTypeParameterAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
11496
11278
 
@@ -11500,7 +11282,7 @@ KNativePointer impl_TSTypeParameterAnnotations(KNativePointer context, KNativePo
11500
11282
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11501
11283
  std::size_t length;
11502
11284
  auto result = GetImpl()->TSTypeParameterAnnotations(_context, _receiver, &length);
11503
- return StageArena::cloneVector(result, length);
11285
+ return length ? StageArena::cloneVector(result, length) : nullptr;
11504
11286
  }
11505
11287
  KOALA_INTEROP_2(TSTypeParameterAnnotations, KNativePointer, KNativePointer, KNativePointer);
11506
11288
 
@@ -11510,7 +11292,7 @@ KNativePointer impl_TSTypeParameterAnnotationsConst(KNativePointer context, KNat
11510
11292
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11511
11293
  std::size_t length;
11512
11294
  auto result = GetImpl()->TSTypeParameterAnnotationsConst(_context, _receiver, &length);
11513
- return (void*)StageArena::cloneVector(result, length);
11295
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11514
11296
  }
11515
11297
  KOALA_INTEROP_2(TSTypeParameterAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
11516
11298
 
@@ -11536,16 +11318,6 @@ void impl_TSTypeParameterSetAnnotations1(KNativePointer context, KNativePointer
11536
11318
  }
11537
11319
  KOALA_INTEROP_V4(TSTypeParameterSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
11538
11320
 
11539
- void impl_TSTypeParameterAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
11540
- {
11541
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
11542
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11543
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
11544
- GetImpl()->TSTypeParameterAddAnnotations(_context, _receiver, _annotations);
11545
- return ;
11546
- }
11547
- KOALA_INTEROP_V3(TSTypeParameterAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
11548
-
11549
11321
  KNativePointer impl_CreateTSBooleanKeyword(KNativePointer context)
11550
11322
  {
11551
11323
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -11611,16 +11383,6 @@ KBoolean impl_SpreadElementIsOptionalConst(KNativePointer context, KNativePointe
11611
11383
  }
11612
11384
  KOALA_INTEROP_2(SpreadElementIsOptionalConst, KBoolean, KNativePointer, KNativePointer);
11613
11385
 
11614
- KNativePointer impl_SpreadElementDecoratorsConst(KNativePointer context, KNativePointer receiver)
11615
- {
11616
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
11617
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11618
- std::size_t length;
11619
- auto result = GetImpl()->SpreadElementDecoratorsConst(_context, _receiver, &length);
11620
- return (void*)StageArena::cloneVector(result, length);
11621
- }
11622
- KOALA_INTEROP_2(SpreadElementDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
11623
-
11624
11386
  void impl_SpreadElementSetOptional(KNativePointer context, KNativePointer receiver, KBoolean optional_arg)
11625
11387
  {
11626
11388
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -11846,7 +11608,7 @@ KNativePointer impl_ExportNamedDeclarationSpecifiersConst(KNativePointer context
11846
11608
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
11847
11609
  std::size_t length;
11848
11610
  auto result = GetImpl()->ExportNamedDeclarationSpecifiersConst(_context, _receiver, &length);
11849
- return (void*)StageArena::cloneVector(result, length);
11611
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
11850
11612
  }
11851
11613
  KOALA_INTEROP_2(ExportNamedDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer);
11852
11614
 
@@ -12108,15 +11870,24 @@ void impl_ETSParameterExpressionSetRequiredParams(KNativePointer context, KNativ
12108
11870
  }
12109
11871
  KOALA_INTEROP_V3(ETSParameterExpressionSetRequiredParams, KNativePointer, KNativePointer, KUInt);
12110
11872
 
12111
- 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)
12112
11883
  {
12113
11884
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
12114
11885
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12115
11886
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
12116
- GetImpl()->ETSParameterExpressionEmplaceAnnotations(_context, _receiver, _source);
11887
+ GetImpl()->ETSParameterExpressionEmplaceAnnotation(_context, _receiver, _source);
12117
11888
  return ;
12118
11889
  }
12119
- KOALA_INTEROP_V3(ETSParameterExpressionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
11890
+ KOALA_INTEROP_V3(ETSParameterExpressionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
12120
11891
 
12121
11892
  void impl_ETSParameterExpressionClearAnnotations(KNativePointer context, KNativePointer receiver)
12122
11893
  {
@@ -12127,16 +11898,15 @@ void impl_ETSParameterExpressionClearAnnotations(KNativePointer context, KNative
12127
11898
  }
12128
11899
  KOALA_INTEROP_V2(ETSParameterExpressionClearAnnotations, KNativePointer, KNativePointer);
12129
11900
 
12130
- void impl_ETSParameterExpressionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
11901
+ void impl_ETSParameterExpressionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
12131
11902
  {
12132
11903
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
12133
11904
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12134
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
12135
- const auto _index = static_cast<KUInt>(index);
12136
- GetImpl()->ETSParameterExpressionSetValueAnnotations(_context, _receiver, _source, _index);
11905
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
11906
+ GetImpl()->ETSParameterExpressionDumpAnnotationsConst(_context, _receiver, _dumper);
12137
11907
  return ;
12138
11908
  }
12139
- KOALA_INTEROP_V4(ETSParameterExpressionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
11909
+ KOALA_INTEROP_V3(ETSParameterExpressionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
12140
11910
 
12141
11911
  KNativePointer impl_ETSParameterExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
12142
11912
  {
@@ -12144,7 +11914,7 @@ KNativePointer impl_ETSParameterExpressionAnnotationsForUpdate(KNativePointer co
12144
11914
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12145
11915
  std::size_t length;
12146
11916
  auto result = GetImpl()->ETSParameterExpressionAnnotationsForUpdate(_context, _receiver, &length);
12147
- return StageArena::cloneVector(result, length);
11917
+ return length ? StageArena::cloneVector(result, length) : nullptr;
12148
11918
  }
12149
11919
  KOALA_INTEROP_2(ETSParameterExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
12150
11920
 
@@ -12154,7 +11924,7 @@ KNativePointer impl_ETSParameterExpressionAnnotations(KNativePointer context, KN
12154
11924
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12155
11925
  std::size_t length;
12156
11926
  auto result = GetImpl()->ETSParameterExpressionAnnotations(_context, _receiver, &length);
12157
- return StageArena::cloneVector(result, length);
11927
+ return length ? StageArena::cloneVector(result, length) : nullptr;
12158
11928
  }
12159
11929
  KOALA_INTEROP_2(ETSParameterExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer);
12160
11930
 
@@ -12164,7 +11934,7 @@ KNativePointer impl_ETSParameterExpressionAnnotationsConst(KNativePointer contex
12164
11934
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12165
11935
  std::size_t length;
12166
11936
  auto result = GetImpl()->ETSParameterExpressionAnnotationsConst(_context, _receiver, &length);
12167
- return (void*)StageArena::cloneVector(result, length);
11937
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
12168
11938
  }
12169
11939
  KOALA_INTEROP_2(ETSParameterExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
12170
11940
 
@@ -12190,16 +11960,6 @@ void impl_ETSParameterExpressionSetAnnotations1(KNativePointer context, KNativeP
12190
11960
  }
12191
11961
  KOALA_INTEROP_V4(ETSParameterExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
12192
11962
 
12193
- void impl_ETSParameterExpressionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
12194
- {
12195
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12196
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12197
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
12198
- GetImpl()->ETSParameterExpressionAddAnnotations(_context, _receiver, _annotations);
12199
- return ;
12200
- }
12201
- KOALA_INTEROP_V3(ETSParameterExpressionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
12202
-
12203
11963
  KNativePointer impl_CreateTSTypeParameterInstantiation(KNativePointer context, KNativePointerArray params, KUInt paramsSequenceLength)
12204
11964
  {
12205
11965
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -12227,7 +11987,7 @@ KNativePointer impl_TSTypeParameterInstantiationParamsConst(KNativePointer conte
12227
11987
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12228
11988
  std::size_t length;
12229
11989
  auto result = GetImpl()->TSTypeParameterInstantiationParamsConst(_context, _receiver, &length);
12230
- return (void*)StageArena::cloneVector(result, length);
11990
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
12231
11991
  }
12232
11992
  KOALA_INTEROP_2(TSTypeParameterInstantiationParamsConst, KNativePointer, KNativePointer, KNativePointer);
12233
11993
 
@@ -12333,7 +12093,7 @@ KNativePointer impl_SwitchCaseStatementConsequentConst(KNativePointer context, K
12333
12093
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12334
12094
  std::size_t length;
12335
12095
  auto result = GetImpl()->SwitchCaseStatementConsequentConst(_context, _receiver, &length);
12336
- return (void*)StageArena::cloneVector(result, length);
12096
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
12337
12097
  }
12338
12098
  KOALA_INTEROP_2(SwitchCaseStatementConsequentConst, KNativePointer, KNativePointer, KNativePointer);
12339
12099
 
@@ -12752,7 +12512,7 @@ KNativePointer impl_TemplateLiteralQuasisConst(KNativePointer context, KNativePo
12752
12512
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12753
12513
  std::size_t length;
12754
12514
  auto result = GetImpl()->TemplateLiteralQuasisConst(_context, _receiver, &length);
12755
- return (void*)StageArena::cloneVector(result, length);
12515
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
12756
12516
  }
12757
12517
  KOALA_INTEROP_2(TemplateLiteralQuasisConst, KNativePointer, KNativePointer, KNativePointer);
12758
12518
 
@@ -12762,7 +12522,7 @@ KNativePointer impl_TemplateLiteralExpressionsConst(KNativePointer context, KNat
12762
12522
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12763
12523
  std::size_t length;
12764
12524
  auto result = GetImpl()->TemplateLiteralExpressionsConst(_context, _receiver, &length);
12765
- return (void*)StageArena::cloneVector(result, length);
12525
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
12766
12526
  }
12767
12527
  KOALA_INTEROP_2(TemplateLiteralExpressionsConst, KNativePointer, KNativePointer, KNativePointer);
12768
12528
 
@@ -12802,7 +12562,7 @@ KNativePointer impl_TSUnionTypeTypesConst(KNativePointer context, KNativePointer
12802
12562
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12803
12563
  std::size_t length;
12804
12564
  auto result = GetImpl()->TSUnionTypeTypesConst(_context, _receiver, &length);
12805
- return (void*)StageArena::cloneVector(result, length);
12565
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
12806
12566
  }
12807
12567
  KOALA_INTEROP_2(TSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
12808
12568
 
@@ -12908,27 +12668,6 @@ void impl_IdentifierSetName(KNativePointer context, KNativePointer receiver, KSt
12908
12668
  }
12909
12669
  KOALA_INTEROP_V3(IdentifierSetName, KNativePointer, KNativePointer, KStringPtr);
12910
12670
 
12911
- void impl_IdentifierSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
12912
- {
12913
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12914
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12915
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
12916
- const auto _index = static_cast<KUInt>(index);
12917
- GetImpl()->IdentifierSetValueDecorators(_context, _receiver, _source, _index);
12918
- return ;
12919
- }
12920
- KOALA_INTEROP_V4(IdentifierSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
12921
-
12922
- KNativePointer impl_IdentifierDecoratorsConst(KNativePointer context, KNativePointer receiver)
12923
- {
12924
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
12925
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
12926
- std::size_t length;
12927
- auto result = GetImpl()->IdentifierDecoratorsConst(_context, _receiver, &length);
12928
- return (void*)StageArena::cloneVector(result, length);
12929
- }
12930
- KOALA_INTEROP_2(IdentifierDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
12931
-
12932
12671
  KBoolean impl_IdentifierIsErrorPlaceHolderConst(KNativePointer context, KNativePointer receiver)
12933
12672
  {
12934
12673
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -13184,7 +12923,7 @@ KNativePointer impl_BlockStatementStatementsForUpdates(KNativePointer context, K
13184
12923
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13185
12924
  std::size_t length;
13186
12925
  auto result = GetImpl()->BlockStatementStatementsForUpdates(_context, _receiver, &length);
13187
- return StageArena::cloneVector(result, length);
12926
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13188
12927
  }
13189
12928
  KOALA_INTEROP_2(BlockStatementStatementsForUpdates, KNativePointer, KNativePointer, KNativePointer);
13190
12929
 
@@ -13194,7 +12933,7 @@ KNativePointer impl_BlockStatementStatements(KNativePointer context, KNativePoin
13194
12933
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13195
12934
  std::size_t length;
13196
12935
  auto result = GetImpl()->BlockStatementStatements(_context, _receiver, &length);
13197
- return StageArena::cloneVector(result, length);
12936
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13198
12937
  }
13199
12938
  KOALA_INTEROP_2(BlockStatementStatements, KNativePointer, KNativePointer, KNativePointer);
13200
12939
 
@@ -13204,7 +12943,7 @@ KNativePointer impl_BlockStatementStatementsConst(KNativePointer context, KNativ
13204
12943
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13205
12944
  std::size_t length;
13206
12945
  auto result = GetImpl()->BlockStatementStatementsConst(_context, _receiver, &length);
13207
- return (void*)StageArena::cloneVector(result, length);
12946
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13208
12947
  }
13209
12948
  KOALA_INTEROP_2(BlockStatementStatementsConst, KNativePointer, KNativePointer, KNativePointer);
13210
12949
 
@@ -13339,7 +13078,7 @@ KNativePointer impl_TSTypeParameterDeclarationParamsConst(KNativePointer context
13339
13078
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13340
13079
  std::size_t length;
13341
13080
  auto result = GetImpl()->TSTypeParameterDeclarationParamsConst(_context, _receiver, &length);
13342
- return (void*)StageArena::cloneVector(result, length);
13081
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13343
13082
  }
13344
13083
  KOALA_INTEROP_2(TSTypeParameterDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer);
13345
13084
 
@@ -13479,7 +13218,7 @@ KNativePointer impl_MethodDefinitionOverloadsConst(KNativePointer context, KNati
13479
13218
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13480
13219
  std::size_t length;
13481
13220
  auto result = GetImpl()->MethodDefinitionOverloadsConst(_context, _receiver, &length);
13482
- return (void*)StageArena::cloneVector(result, length);
13221
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
13483
13222
  }
13484
13223
  KOALA_INTEROP_2(MethodDefinitionOverloadsConst, KNativePointer, KNativePointer, KNativePointer);
13485
13224
 
@@ -13663,7 +13402,7 @@ KNativePointer impl_OverloadDeclarationOverloadedList(KNativePointer context, KN
13663
13402
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
13664
13403
  std::size_t length;
13665
13404
  auto result = GetImpl()->OverloadDeclarationOverloadedList(_context, _receiver, &length);
13666
- return StageArena::cloneVector(result, length);
13405
+ return length ? StageArena::cloneVector(result, length) : nullptr;
13667
13406
  }
13668
13407
  KOALA_INTEROP_2(OverloadDeclarationOverloadedList, KNativePointer, KNativePointer, KNativePointer);
13669
13408
 
@@ -14401,66 +14140,6 @@ KNativePointer impl_ClassDeclarationDefinitionConst(KNativePointer context, KNat
14401
14140
  }
14402
14141
  KOALA_INTEROP_2(ClassDeclarationDefinitionConst, KNativePointer, KNativePointer, KNativePointer);
14403
14142
 
14404
- KNativePointer impl_ClassDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
14405
- {
14406
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14407
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14408
- std::size_t length;
14409
- auto result = GetImpl()->ClassDeclarationDecoratorsConst(_context, _receiver, &length);
14410
- return (void*)StageArena::cloneVector(result, length);
14411
- }
14412
- KOALA_INTEROP_2(ClassDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
14413
-
14414
- void impl_ClassDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
14415
- {
14416
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14417
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14418
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
14419
- GetImpl()->ClassDeclarationEmplaceDecorators(_context, _receiver, _decorators);
14420
- return ;
14421
- }
14422
- KOALA_INTEROP_V3(ClassDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
14423
-
14424
- void impl_ClassDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
14425
- {
14426
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14427
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14428
- GetImpl()->ClassDeclarationClearDecorators(_context, _receiver);
14429
- return ;
14430
- }
14431
- KOALA_INTEROP_V2(ClassDeclarationClearDecorators, KNativePointer, KNativePointer);
14432
-
14433
- void impl_ClassDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
14434
- {
14435
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14436
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14437
- const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
14438
- const auto _index = static_cast<KUInt>(index);
14439
- GetImpl()->ClassDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
14440
- return ;
14441
- }
14442
- KOALA_INTEROP_V4(ClassDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
14443
-
14444
- KNativePointer impl_ClassDeclarationDecorators(KNativePointer context, KNativePointer receiver)
14445
- {
14446
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14447
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14448
- std::size_t length;
14449
- auto result = GetImpl()->ClassDeclarationDecorators(_context, _receiver, &length);
14450
- return StageArena::cloneVector(result, length);
14451
- }
14452
- KOALA_INTEROP_2(ClassDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
14453
-
14454
- KNativePointer impl_ClassDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
14455
- {
14456
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
14457
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14458
- std::size_t length;
14459
- auto result = GetImpl()->ClassDeclarationDecoratorsForUpdate(_context, _receiver, &length);
14460
- return StageArena::cloneVector(result, length);
14461
- }
14462
- KOALA_INTEROP_2(ClassDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
14463
-
14464
14143
  void impl_ClassDeclarationSetDefinition(KNativePointer context, KNativePointer receiver, KNativePointer def)
14465
14144
  {
14466
14145
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -14797,7 +14476,7 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensions(KNativePoint
14797
14476
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14798
14477
  std::size_t length;
14799
14478
  auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensions(_context, _receiver, &length);
14800
- return StageArena::cloneVector(result, length);
14479
+ return length ? StageArena::cloneVector(result, length) : nullptr;
14801
14480
  }
14802
14481
  KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensions, KNativePointer, KNativePointer, KNativePointer);
14803
14482
 
@@ -14807,7 +14486,7 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensionsConst(KNative
14807
14486
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
14808
14487
  std::size_t length;
14809
14488
  auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensionsConst(_context, _receiver, &length);
14810
- return (void*)StageArena::cloneVector(result, length);
14489
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
14811
14490
  }
14812
14491
  KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensionsConst, KNativePointer, KNativePointer, KNativePointer);
14813
14492
 
@@ -15172,7 +14851,7 @@ KNativePointer impl_SwitchStatementCasesConst(KNativePointer context, KNativePoi
15172
14851
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15173
14852
  std::size_t length;
15174
14853
  auto result = GetImpl()->SwitchStatementCasesConst(_context, _receiver, &length);
15175
- return (void*)StageArena::cloneVector(result, length);
14854
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
15176
14855
  }
15177
14856
  KOALA_INTEROP_2(SwitchStatementCasesConst, KNativePointer, KNativePointer, KNativePointer);
15178
14857
 
@@ -15182,7 +14861,7 @@ KNativePointer impl_SwitchStatementCases(KNativePointer context, KNativePointer
15182
14861
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15183
14862
  std::size_t length;
15184
14863
  auto result = GetImpl()->SwitchStatementCases(_context, _receiver, &length);
15185
- return StageArena::cloneVector(result, length);
14864
+ return length ? StageArena::cloneVector(result, length) : nullptr;
15186
14865
  }
15187
14866
  KOALA_INTEROP_2(SwitchStatementCases, KNativePointer, KNativePointer, KNativePointer);
15188
14867
 
@@ -15355,7 +15034,7 @@ KNativePointer impl_SequenceExpressionSequenceConst(KNativePointer context, KNat
15355
15034
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15356
15035
  std::size_t length;
15357
15036
  auto result = GetImpl()->SequenceExpressionSequenceConst(_context, _receiver, &length);
15358
- return (void*)StageArena::cloneVector(result, length);
15037
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
15359
15038
  }
15360
15039
  KOALA_INTEROP_2(SequenceExpressionSequenceConst, KNativePointer, KNativePointer, KNativePointer);
15361
15040
 
@@ -15365,7 +15044,7 @@ KNativePointer impl_SequenceExpressionSequence(KNativePointer context, KNativePo
15365
15044
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15366
15045
  std::size_t length;
15367
15046
  auto result = GetImpl()->SequenceExpressionSequence(_context, _receiver, &length);
15368
- return StageArena::cloneVector(result, length);
15047
+ return length ? StageArena::cloneVector(result, length) : nullptr;
15369
15048
  }
15370
15049
  KOALA_INTEROP_2(SequenceExpressionSequence, KNativePointer, KNativePointer, KNativePointer);
15371
15050
 
@@ -15434,15 +15113,24 @@ KNativePointer impl_ArrowFunctionExpressionCreateTypeAnnotation(KNativePointer c
15434
15113
  }
15435
15114
  KOALA_INTEROP_2(ArrowFunctionExpressionCreateTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
15436
15115
 
15437
- 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)
15438
15126
  {
15439
15127
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
15440
15128
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15441
15129
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
15442
- GetImpl()->ArrowFunctionExpressionEmplaceAnnotations(_context, _receiver, _source);
15130
+ GetImpl()->ArrowFunctionExpressionEmplaceAnnotation(_context, _receiver, _source);
15443
15131
  return ;
15444
15132
  }
15445
- KOALA_INTEROP_V3(ArrowFunctionExpressionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
15133
+ KOALA_INTEROP_V3(ArrowFunctionExpressionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
15446
15134
 
15447
15135
  void impl_ArrowFunctionExpressionClearAnnotations(KNativePointer context, KNativePointer receiver)
15448
15136
  {
@@ -15453,16 +15141,15 @@ void impl_ArrowFunctionExpressionClearAnnotations(KNativePointer context, KNativ
15453
15141
  }
15454
15142
  KOALA_INTEROP_V2(ArrowFunctionExpressionClearAnnotations, KNativePointer, KNativePointer);
15455
15143
 
15456
- void impl_ArrowFunctionExpressionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
15144
+ void impl_ArrowFunctionExpressionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
15457
15145
  {
15458
15146
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
15459
15147
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15460
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
15461
- const auto _index = static_cast<KUInt>(index);
15462
- GetImpl()->ArrowFunctionExpressionSetValueAnnotations(_context, _receiver, _source, _index);
15148
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
15149
+ GetImpl()->ArrowFunctionExpressionDumpAnnotationsConst(_context, _receiver, _dumper);
15463
15150
  return ;
15464
15151
  }
15465
- KOALA_INTEROP_V4(ArrowFunctionExpressionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
15152
+ KOALA_INTEROP_V3(ArrowFunctionExpressionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
15466
15153
 
15467
15154
  KNativePointer impl_ArrowFunctionExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
15468
15155
  {
@@ -15470,7 +15157,7 @@ KNativePointer impl_ArrowFunctionExpressionAnnotationsForUpdate(KNativePointer c
15470
15157
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15471
15158
  std::size_t length;
15472
15159
  auto result = GetImpl()->ArrowFunctionExpressionAnnotationsForUpdate(_context, _receiver, &length);
15473
- return StageArena::cloneVector(result, length);
15160
+ return length ? StageArena::cloneVector(result, length) : nullptr;
15474
15161
  }
15475
15162
  KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
15476
15163
 
@@ -15480,7 +15167,7 @@ KNativePointer impl_ArrowFunctionExpressionAnnotations(KNativePointer context, K
15480
15167
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15481
15168
  std::size_t length;
15482
15169
  auto result = GetImpl()->ArrowFunctionExpressionAnnotations(_context, _receiver, &length);
15483
- return StageArena::cloneVector(result, length);
15170
+ return length ? StageArena::cloneVector(result, length) : nullptr;
15484
15171
  }
15485
15172
  KOALA_INTEROP_2(ArrowFunctionExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer);
15486
15173
 
@@ -15490,7 +15177,7 @@ KNativePointer impl_ArrowFunctionExpressionAnnotationsConst(KNativePointer conte
15490
15177
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15491
15178
  std::size_t length;
15492
15179
  auto result = GetImpl()->ArrowFunctionExpressionAnnotationsConst(_context, _receiver, &length);
15493
- return (void*)StageArena::cloneVector(result, length);
15180
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
15494
15181
  }
15495
15182
  KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
15496
15183
 
@@ -15516,16 +15203,6 @@ void impl_ArrowFunctionExpressionSetAnnotations1(KNativePointer context, KNative
15516
15203
  }
15517
15204
  KOALA_INTEROP_V4(ArrowFunctionExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
15518
15205
 
15519
- void impl_ArrowFunctionExpressionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
15520
- {
15521
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
15522
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15523
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
15524
- GetImpl()->ArrowFunctionExpressionAddAnnotations(_context, _receiver, _annotations);
15525
- return ;
15526
- }
15527
- KOALA_INTEROP_V3(ArrowFunctionExpressionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
15528
-
15529
15206
  KNativePointer impl_CreateOmittedExpression(KNativePointer context)
15530
15207
  {
15531
15208
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -15600,7 +15277,7 @@ KNativePointer impl_ETSNewClassInstanceExpressionGetArguments(KNativePointer con
15600
15277
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15601
15278
  std::size_t length;
15602
15279
  auto result = GetImpl()->ETSNewClassInstanceExpressionGetArguments(_context, _receiver, &length);
15603
- return StageArena::cloneVector(result, length);
15280
+ return length ? StageArena::cloneVector(result, length) : nullptr;
15604
15281
  }
15605
15282
  KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArguments, KNativePointer, KNativePointer, KNativePointer);
15606
15283
 
@@ -15610,7 +15287,7 @@ KNativePointer impl_ETSNewClassInstanceExpressionGetArgumentsConst(KNativePointe
15610
15287
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15611
15288
  std::size_t length;
15612
15289
  auto result = GetImpl()->ETSNewClassInstanceExpressionGetArgumentsConst(_context, _receiver, &length);
15613
- return (void*)StageArena::cloneVector(result, length);
15290
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
15614
15291
  }
15615
15292
  KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
15616
15293
 
@@ -15959,15 +15636,24 @@ KInt impl_ETSPrimitiveTypeGetPrimitiveTypeConst(KNativePointer context, KNativeP
15959
15636
  }
15960
15637
  KOALA_INTEROP_2(ETSPrimitiveTypeGetPrimitiveTypeConst, KInt, KNativePointer, KNativePointer);
15961
15638
 
15962
- 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)
15963
15649
  {
15964
15650
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
15965
15651
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15966
15652
  const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
15967
- GetImpl()->TypeNodeEmplaceAnnotations(_context, _receiver, _source);
15653
+ GetImpl()->TypeNodeEmplaceAnnotation(_context, _receiver, _source);
15968
15654
  return ;
15969
15655
  }
15970
- KOALA_INTEROP_V3(TypeNodeEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
15656
+ KOALA_INTEROP_V3(TypeNodeEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer);
15971
15657
 
15972
15658
  void impl_TypeNodeClearAnnotations(KNativePointer context, KNativePointer receiver)
15973
15659
  {
@@ -15978,16 +15664,15 @@ void impl_TypeNodeClearAnnotations(KNativePointer context, KNativePointer receiv
15978
15664
  }
15979
15665
  KOALA_INTEROP_V2(TypeNodeClearAnnotations, KNativePointer, KNativePointer);
15980
15666
 
15981
- void impl_TypeNodeSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
15667
+ void impl_TypeNodeDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
15982
15668
  {
15983
15669
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
15984
15670
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15985
- const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
15986
- const auto _index = static_cast<KUInt>(index);
15987
- GetImpl()->TypeNodeSetValueAnnotations(_context, _receiver, _source, _index);
15671
+ const auto _dumper = reinterpret_cast<es2panda_SrcDumper*>(dumper);
15672
+ GetImpl()->TypeNodeDumpAnnotationsConst(_context, _receiver, _dumper);
15988
15673
  return ;
15989
15674
  }
15990
- KOALA_INTEROP_V4(TypeNodeSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
15675
+ KOALA_INTEROP_V3(TypeNodeDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
15991
15676
 
15992
15677
  KNativePointer impl_TypeNodeAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
15993
15678
  {
@@ -15995,7 +15680,7 @@ KNativePointer impl_TypeNodeAnnotationsForUpdate(KNativePointer context, KNative
15995
15680
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
15996
15681
  std::size_t length;
15997
15682
  auto result = GetImpl()->TypeNodeAnnotationsForUpdate(_context, _receiver, &length);
15998
- return StageArena::cloneVector(result, length);
15683
+ return length ? StageArena::cloneVector(result, length) : nullptr;
15999
15684
  }
16000
15685
  KOALA_INTEROP_2(TypeNodeAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
16001
15686
 
@@ -16005,7 +15690,7 @@ KNativePointer impl_TypeNodeAnnotations(KNativePointer context, KNativePointer r
16005
15690
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
16006
15691
  std::size_t length;
16007
15692
  auto result = GetImpl()->TypeNodeAnnotations(_context, _receiver, &length);
16008
- return StageArena::cloneVector(result, length);
15693
+ return length ? StageArena::cloneVector(result, length) : nullptr;
16009
15694
  }
16010
15695
  KOALA_INTEROP_2(TypeNodeAnnotations, KNativePointer, KNativePointer, KNativePointer);
16011
15696
 
@@ -16015,7 +15700,7 @@ KNativePointer impl_TypeNodeAnnotationsConst(KNativePointer context, KNativePoin
16015
15700
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
16016
15701
  std::size_t length;
16017
15702
  auto result = GetImpl()->TypeNodeAnnotationsConst(_context, _receiver, &length);
16018
- return (void*)StageArena::cloneVector(result, length);
15703
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
16019
15704
  }
16020
15705
  KOALA_INTEROP_2(TypeNodeAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
16021
15706
 
@@ -16041,16 +15726,6 @@ void impl_TypeNodeSetAnnotations1(KNativePointer context, KNativePointer receive
16041
15726
  }
16042
15727
  KOALA_INTEROP_V4(TypeNodeSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
16043
15728
 
16044
- void impl_TypeNodeAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
16045
- {
16046
- const auto _context = reinterpret_cast<es2panda_Context*>(context);
16047
- const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
16048
- const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
16049
- GetImpl()->TypeNodeAddAnnotations(_context, _receiver, _annotations);
16050
- return ;
16051
- }
16052
- KOALA_INTEROP_V3(TypeNodeAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
16053
-
16054
15729
  KNativePointer impl_CreateNewExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength)
16055
15730
  {
16056
15731
  const auto _context = reinterpret_cast<es2panda_Context*>(context);
@@ -16089,7 +15764,7 @@ KNativePointer impl_NewExpressionArgumentsConst(KNativePointer context, KNativeP
16089
15764
  const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
16090
15765
  std::size_t length;
16091
15766
  auto result = GetImpl()->NewExpressionArgumentsConst(_context, _receiver, &length);
16092
- return (void*)StageArena::cloneVector(result, length);
15767
+ return length ? (void*)StageArena::cloneVector(result, length) : nullptr;
16093
15768
  }
16094
15769
  KOALA_INTEROP_2(NewExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
16095
15770
 
@@ -16521,6 +16196,15 @@ void impl_ProgramSetASTChecked(KNativePointer context, KNativePointer receiver)
16521
16196
  }
16522
16197
  KOALA_INTEROP_V2(ProgramSetASTChecked, KNativePointer, KNativePointer);
16523
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
+
16524
16208
  KBoolean impl_ProgramIsASTChecked(KNativePointer context, KNativePointer receiver)
16525
16209
  {
16526
16210
  const auto _context = reinterpret_cast<es2panda_Context*>(context);