@idlizer/arktscgen 2.1.9-arktscgen-6 → 2.1.9-arktscgen-9

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 (322) hide show
  1. package/build/libarkts-copy/generator/options.json5 +165 -3
  2. package/build/libarkts-copy/native/meson.build +11 -12
  3. package/build/libarkts-copy/native/meson_options.txt +1 -1
  4. package/build/libarkts-copy/native/mingw.cross +14 -0
  5. package/build/libarkts-copy/native/src/bridges.cc +105 -15
  6. package/build/libarkts-copy/native/src/common.cc +11 -7
  7. package/build/libarkts-copy/native/src/common.h +1 -0
  8. package/build/libarkts-copy/native/src/generated/bridges.cc +318 -35
  9. package/build/libarkts-copy/package.json +24 -21
  10. package/build/libarkts-copy/src/Es2pandaNativeModule.ts +33 -6
  11. package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +2 -1
  12. package/build/libarkts-copy/src/arkts-api/ImportStorage.ts +18 -12
  13. package/build/libarkts-copy/src/arkts-api/ProgramProvider.ts +1 -1
  14. package/build/libarkts-copy/src/arkts-api/factory/nodeFactory.ts +15 -26
  15. package/build/libarkts-copy/src/arkts-api/index.ts +2 -4
  16. package/build/libarkts-copy/src/arkts-api/node-utilities/BlockStatement.ts +0 -4
  17. package/build/libarkts-copy/src/arkts-api/node-utilities/CallExpression.ts +1 -22
  18. package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDefinition.ts +7 -8
  19. package/build/libarkts-copy/src/arkts-api/node-utilities/ClassProperty.ts +1 -22
  20. package/build/libarkts-copy/src/arkts-api/node-utilities/ETSFunctionType.ts +2 -5
  21. package/build/libarkts-copy/src/arkts-api/node-utilities/ETSImportDeclaration.ts +1 -1
  22. package/build/libarkts-copy/src/arkts-api/node-utilities/ETSModule.ts +44 -0
  23. package/build/libarkts-copy/src/arkts-api/node-utilities/ETSParameterExpression.ts +1 -4
  24. package/build/libarkts-copy/src/arkts-api/node-utilities/MethodDefinition.ts +3 -12
  25. package/build/libarkts-copy/src/arkts-api/node-utilities/ObjectExpression.ts +1 -1
  26. package/build/libarkts-copy/src/arkts-api/node-utilities/Program.ts +10 -11
  27. package/build/libarkts-copy/src/arkts-api/node-utilities/ScriptFunction.ts +17 -6
  28. package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts +3 -6
  29. package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +3 -3
  30. package/build/libarkts-copy/src/arkts-api/peers/Config.ts +1 -1
  31. package/build/libarkts-copy/src/arkts-api/peers/Context.ts +26 -5
  32. package/build/libarkts-copy/src/arkts-api/peers/ExternalSource.ts +4 -0
  33. package/build/libarkts-copy/src/arkts-api/plugins.ts +15 -7
  34. package/build/libarkts-copy/src/arkts-api/static/global.ts +3 -2
  35. package/build/libarkts-copy/src/{wrapper-compat/arkts-api → arkts-api}/static/globalUtils.ts +4 -4
  36. package/build/libarkts-copy/src/arkts-api/static/profiler.ts +0 -8
  37. package/build/libarkts-copy/src/arkts-api/utilities/extensions.ts +80 -0
  38. package/build/libarkts-copy/src/arkts-api/utilities/nativePtrDecoder.ts +1 -1
  39. package/build/libarkts-copy/src/arkts-api/utilities/private.ts +5 -5
  40. package/build/libarkts-copy/src/arkts-api/utilities/public.ts +217 -29
  41. package/build/libarkts-copy/src/arkts-api/visitor.ts +17 -10
  42. package/build/libarkts-copy/src/checkSdk.ts +15 -0
  43. package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +343 -321
  44. package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +97 -14
  45. package/build/libarkts-copy/src/generated/factory.ts +40 -27
  46. package/build/libarkts-copy/src/generated/index.ts +4 -2
  47. package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +2 -2
  48. package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +2 -2
  49. package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +2 -2
  50. package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +11 -5
  51. package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +11 -5
  52. package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +2 -2
  53. package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +12 -6
  54. package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +26 -8
  55. package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +8 -4
  56. package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +12 -6
  57. package/build/libarkts-copy/src/generated/peers/AstDumper.ts +2 -2
  58. package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +2 -2
  59. package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +2 -2
  60. package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +8 -4
  61. package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +8 -4
  62. package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +8 -4
  63. package/build/libarkts-copy/src/generated/peers/BindingProps.ts +2 -2
  64. package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +9 -5
  65. package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +8 -4
  66. package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +8 -4
  67. package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +11 -5
  68. package/build/libarkts-copy/src/generated/peers/CallExpression.ts +19 -7
  69. package/build/libarkts-copy/src/generated/peers/CatchClause.ts +11 -5
  70. package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +8 -4
  71. package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +8 -4
  72. package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +21 -8
  73. package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +37 -13
  74. package/build/libarkts-copy/src/generated/peers/ClassElement.ts +2 -2
  75. package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +8 -4
  76. package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +19 -7
  77. package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +8 -4
  78. package/build/libarkts-copy/src/generated/peers/CodeGen.ts +2 -2
  79. package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +8 -4
  80. package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +11 -5
  81. package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +8 -4
  82. package/build/libarkts-copy/src/generated/peers/Declaration.ts +2 -2
  83. package/build/libarkts-copy/src/generated/peers/Decorator.ts +8 -4
  84. package/build/libarkts-copy/src/generated/peers/DiagnosticInfo.ts +2 -2
  85. package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +8 -4
  86. package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +8 -4
  87. package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +2 -2
  88. package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +9 -5
  89. package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +20 -13
  90. package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +9 -5
  91. package/build/libarkts-copy/src/generated/peers/ETSIntrinsicNode.ts +77 -0
  92. package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +9 -5
  93. package/build/libarkts-copy/src/generated/peers/ETSModule.ts +11 -5
  94. package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +9 -5
  95. package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +12 -6
  96. package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +12 -6
  97. package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +9 -5
  98. package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +9 -5
  99. package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +46 -14
  100. package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +9 -5
  101. package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +3 -3
  102. package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +9 -5
  103. package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +9 -5
  104. package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +21 -9
  105. package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +9 -5
  106. package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +12 -6
  107. package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +9 -5
  108. package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +20 -7
  109. package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +9 -5
  110. package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +11 -5
  111. package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +2 -2
  112. package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +8 -4
  113. package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +8 -4
  114. package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +20 -8
  115. package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +8 -4
  116. package/build/libarkts-copy/src/generated/peers/Expression.ts +2 -2
  117. package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +8 -4
  118. package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +8 -4
  119. package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +8 -4
  120. package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +5 -3
  121. package/build/libarkts-copy/src/generated/peers/FunctionDecl.ts +2 -2
  122. package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +11 -5
  123. package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +11 -5
  124. package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +2 -2
  125. package/build/libarkts-copy/src/generated/peers/IRNode.ts +2 -2
  126. package/build/libarkts-copy/src/generated/peers/Identifier.ts +14 -6
  127. package/build/libarkts-copy/src/generated/peers/IfStatement.ts +8 -4
  128. package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +8 -4
  129. package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +8 -4
  130. package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +8 -4
  131. package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +8 -4
  132. package/build/libarkts-copy/src/generated/peers/ImportSource.ts +2 -2
  133. package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +8 -4
  134. package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +2 -2
  135. package/build/libarkts-copy/src/generated/peers/InterfaceDecl.ts +2 -2
  136. package/build/libarkts-copy/src/generated/peers/LabelPair.ts +2 -2
  137. package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +8 -4
  138. package/build/libarkts-copy/src/generated/peers/Literal.ts +2 -2
  139. package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +2 -2
  140. package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +2 -2
  141. package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +8 -4
  142. package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +8 -4
  143. package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +23 -7
  144. package/build/libarkts-copy/src/generated/peers/NamedType.ts +8 -4
  145. package/build/libarkts-copy/src/generated/peers/NewExpression.ts +8 -4
  146. package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +8 -4
  147. package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +17 -7
  148. package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +2 -2
  149. package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +9 -5
  150. package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +8 -4
  151. package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +9 -5
  152. package/build/libarkts-copy/src/generated/peers/OverloadDeclaration.ts +103 -0
  153. package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +9 -5
  154. package/build/libarkts-copy/src/generated/peers/Program.ts +4 -2
  155. package/build/libarkts-copy/src/generated/peers/Property.ts +12 -6
  156. package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +9 -5
  157. package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +12 -6
  158. package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +2 -2
  159. package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +47 -14
  160. package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +2 -2
  161. package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +9 -5
  162. package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +2 -2
  163. package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +2 -2
  164. package/build/libarkts-copy/src/generated/peers/SourceRange.ts +2 -2
  165. package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +9 -5
  166. package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +2 -2
  167. package/build/libarkts-copy/src/generated/peers/Statement.ts +2 -2
  168. package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +12 -6
  169. package/build/libarkts-copy/src/generated/peers/SuggestionInfo.ts +2 -2
  170. package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +9 -5
  171. package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +9 -5
  172. package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +9 -5
  173. package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +9 -5
  174. package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +9 -5
  175. package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +9 -5
  176. package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +9 -5
  177. package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +9 -5
  178. package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +12 -6
  179. package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +9 -5
  180. package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +9 -5
  181. package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +19 -6
  182. package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +12 -6
  183. package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +9 -5
  184. package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +9 -5
  185. package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +9 -5
  186. package/build/libarkts-copy/src/generated/peers/TSImportType.ts +9 -5
  187. package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +9 -5
  188. package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +9 -5
  189. package/build/libarkts-copy/src/generated/peers/TSInferType.ts +9 -5
  190. package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +9 -5
  191. package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +21 -8
  192. package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +9 -5
  193. package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +9 -5
  194. package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +9 -5
  195. package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +9 -5
  196. package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +9 -5
  197. package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +9 -5
  198. package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +9 -5
  199. package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +9 -5
  200. package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +9 -5
  201. package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +9 -5
  202. package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +9 -5
  203. package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +9 -5
  204. package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +9 -5
  205. package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +9 -5
  206. package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +9 -5
  207. package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +9 -5
  208. package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +9 -5
  209. package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +9 -5
  210. package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +9 -5
  211. package/build/libarkts-copy/src/generated/peers/TSThisType.ts +9 -5
  212. package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +9 -5
  213. package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +42 -11
  214. package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +9 -5
  215. package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +9 -5
  216. package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +9 -5
  217. package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +12 -6
  218. package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +9 -5
  219. package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +9 -5
  220. package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +9 -5
  221. package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +9 -5
  222. package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +9 -5
  223. package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +9 -5
  224. package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +9 -5
  225. package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +9 -5
  226. package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +9 -5
  227. package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +9 -5
  228. package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +12 -6
  229. package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +9 -5
  230. package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +9 -5
  231. package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +9 -5
  232. package/build/libarkts-copy/src/generated/peers/TryStatement.ts +12 -6
  233. package/build/libarkts-copy/src/generated/peers/TypeNode.ts +2 -2
  234. package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +2 -2
  235. package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +2 -2
  236. package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +9 -5
  237. package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +9 -5
  238. package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +8 -4
  239. package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +9 -5
  240. package/build/libarkts-copy/src/generated/peers/VReg.ts +2 -2
  241. package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +2 -2
  242. package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +20 -8
  243. package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +12 -6
  244. package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +2 -2
  245. package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +2 -2
  246. package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +9 -5
  247. package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +9 -5
  248. package/build/libarkts-copy/src/index.ts +1 -4
  249. package/build/libarkts-copy/src/plugin-utils.ts +45 -32
  250. package/build/libarkts-copy/src/reexport-for-generated.ts +10 -1
  251. package/build/libarkts-copy/src/ts-api/factory/nodeFactory.ts +14 -14
  252. package/build/libarkts-copy/src/ts-api/index.ts +1 -1
  253. package/build/libarkts-copy/src/ts-api/types.ts +56 -56
  254. package/build/libarkts-copy/src/ts-api/utilities/private.ts +6 -6
  255. package/build/libarkts-copy/src/ts-api/utilities/public.ts +3 -3
  256. package/build/libarkts-copy/src/ts-api/visitor/visitor.ts +4 -4
  257. package/build/libarkts-copy/src/utils.ts +13 -159
  258. package/build/libarkts-copy/src/wrapper-compat/README.md +4 -0
  259. package/build/libarkts-copy/src/wrapper-compat/arkts-api/index.ts +5 -5
  260. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrayExpression.ts +1 -1
  261. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrowFunctionExpression.ts +1 -1
  262. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/AssignmentExpression.ts +1 -1
  263. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/BlockStatement.ts +1 -1
  264. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/CallExpression.ts +1 -1
  265. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDeclaration.ts +1 -1
  266. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDefinition.ts +2 -2
  267. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassProperty.ts +1 -1
  268. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSFunctionType.ts +2 -2
  269. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSImportDeclaration.ts +2 -2
  270. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSParameterExpression.ts +2 -2
  271. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ExpressionStatement.ts +1 -1
  272. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionDeclaration.ts +1 -1
  273. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionExpression.ts +1 -1
  274. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/IfStatement.ts +1 -1
  275. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MemberExpression.ts +1 -1
  276. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MethodDefinition.ts +2 -2
  277. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/NumberLiteral.ts +2 -2
  278. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ObjectExpression.ts +3 -3
  279. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/Property.ts +1 -1
  280. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ScriptFunction.ts +1 -1
  281. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/StructDeclaration.ts +1 -1
  282. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSInterfaceDeclaration.ts +1 -1
  283. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +1 -1
  284. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeParameter.ts +1 -1
  285. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TryStatement.ts +3 -3
  286. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclaration.ts +1 -1
  287. package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclarator.ts +2 -2
  288. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Diagnostic.ts +4 -5
  289. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticInfo.ts +4 -3
  290. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticKind.ts +1 -1
  291. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ImportPathManager.ts +2 -2
  292. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Program.ts +1 -1
  293. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourcePosition.ts +2 -2
  294. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourceRange.ts +2 -2
  295. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SuggestionInfo.ts +4 -3
  296. package/build/libarkts-copy/src/wrapper-compat/arkts-api/to-be-generated/MemberExpression.ts +1 -1
  297. package/build/libarkts-copy/src/wrapper-compat/arkts-api/types.ts +12 -30
  298. package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/nativePtrDecoder.ts +1 -1
  299. package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/private.ts +4 -4
  300. package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/public.ts +10 -8
  301. package/build/libarkts-copy/src/wrapper-compat/arkts-api/visitor.ts +10 -10
  302. package/lib/index.js +2799 -2665
  303. package/package.json +2 -2
  304. package/templates/Es2pandaEnums.ts +1 -2
  305. package/templates/Es2pandaNativeModule.ts +2 -3
  306. package/templates/factory.ts +1 -2
  307. package/templates/index.ts +1 -2
  308. package/templates/node-map.ts +1 -2
  309. package/templates/peer.ts +1 -2
  310. package/build/libarkts-copy/src/arkts-api/CheckedBackFilter.ts +0 -131
  311. package/build/libarkts-copy/src/arkts-api/CompileWithCache.ts +0 -193
  312. package/build/libarkts-copy/src/arkts-api/InferVoidReturnType.ts +0 -89
  313. package/build/libarkts-copy/src/arkts-api/SetBaseOverloads.ts +0 -44
  314. package/build/libarkts-copy/src/arkts-api/node-utilities/AnnotationUsage.ts +0 -29
  315. package/build/libarkts-copy/src/arkts-api/node-utilities/ArrowFunctionExpression.ts +0 -49
  316. package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDeclaration.ts +0 -54
  317. package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +0 -68
  318. package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclaration.ts +0 -54
  319. package/build/libarkts-copy/src/arkts-api/utilities/method-definition.ts +0 -38
  320. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ArktsObject.ts +0 -45
  321. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Config.ts +0 -53
  322. package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Context.ts +0 -60
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -35,16 +34,21 @@ import {
35
34
 
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { TypeNode } from "./TypeNode"
37
+
38
38
  export class TSTupleType extends TypeNode {
39
39
  constructor(pointer: KNativePointer) {
40
- assertValidPeer(pointer, 134)
40
+ assertValidPeer(pointer, 136)
41
41
  super(pointer)
42
42
  }
43
43
  static createTSTupleType(elementTypes: readonly TypeNode[]): TSTupleType {
44
- return new TSTupleType(global.generatedEs2panda._CreateTSTupleType(global.context, passNodeArray(elementTypes), elementTypes.length))
44
+ const result: TSTupleType = new TSTupleType(global.generatedEs2panda._CreateTSTupleType(global.context, passNodeArray(elementTypes), elementTypes.length))
45
+ result.setChildrenParentPtr()
46
+ return result
45
47
  }
46
48
  static updateTSTupleType(original: TSTupleType | undefined, elementTypes: readonly TypeNode[]): TSTupleType {
47
- return new TSTupleType(global.generatedEs2panda._UpdateTSTupleType(global.context, passNode(original), passNodeArray(elementTypes), elementTypes.length))
49
+ const result: TSTupleType = new TSTupleType(global.generatedEs2panda._UpdateTSTupleType(global.context, passNode(original), passNodeArray(elementTypes), elementTypes.length))
50
+ result.setChildrenParentPtr()
51
+ return result
48
52
  }
49
53
  get elementType(): readonly TypeNode[] {
50
54
  return unpackNodeArray(global.generatedEs2panda._TSTupleTypeElementTypeConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -37,22 +36,54 @@ import { AnnotatedStatement } from "./AnnotatedStatement"
37
36
  import { AnnotationUsage } from "./AnnotationUsage"
38
37
  import { Decorator } from "./Decorator"
39
38
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
39
+ import { Es2pandaModifierFlags } from "./../Es2pandaEnums"
40
40
  import { Identifier } from "./Identifier"
41
41
  import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration"
42
42
  import { TypeNode } from "./TypeNode"
43
+
43
44
  export class TSTypeAliasDeclaration extends AnnotatedStatement {
44
45
  constructor(pointer: KNativePointer) {
45
- assertValidPeer(pointer, 127)
46
+ assertValidPeer(pointer, 129)
46
47
  super(pointer)
47
48
  }
48
- static createTSTypeAliasDeclaration(id?: Identifier, typeParams?: TSTypeParameterDeclaration, typeAnnotation?: TypeNode): TSTypeAliasDeclaration {
49
- return new TSTypeAliasDeclaration(global.generatedEs2panda._CreateTSTypeAliasDeclaration(global.context, passNode(id), passNode(typeParams), passNode(typeAnnotation)))
50
- }
51
- static updateTSTypeAliasDeclaration(original?: TSTypeAliasDeclaration, id?: Identifier, typeParams?: TSTypeParameterDeclaration, typeAnnotation?: TypeNode): TSTypeAliasDeclaration {
52
- return new TSTypeAliasDeclaration(global.generatedEs2panda._UpdateTSTypeAliasDeclaration(global.context, passNode(original), passNode(id), passNode(typeParams), passNode(typeAnnotation)))
53
- }
54
- static update1TSTypeAliasDeclaration(original?: TSTypeAliasDeclaration, id?: Identifier): TSTypeAliasDeclaration {
55
- return new TSTypeAliasDeclaration(global.generatedEs2panda._UpdateTSTypeAliasDeclaration1(global.context, passNode(original), passNode(id)))
49
+ static createTSTypeAliasDeclaration(id?: Identifier, typeParams?: TSTypeParameterDeclaration, typeAnnotation?: TypeNode, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration {
50
+ const result: TSTypeAliasDeclaration = new TSTypeAliasDeclaration(global.generatedEs2panda._CreateTSTypeAliasDeclaration(global.context, passNode(id), passNode(typeParams), passNode(typeAnnotation)))
51
+ if (annotations)
52
+ {
53
+ result.setAnnotations(annotations)
54
+ }
55
+ if (modifierFlags)
56
+ {
57
+ result.modifierFlags = modifierFlags
58
+ }
59
+ result.setChildrenParentPtr()
60
+ return result
61
+ }
62
+ static updateTSTypeAliasDeclaration(original?: TSTypeAliasDeclaration, id?: Identifier, typeParams?: TSTypeParameterDeclaration, typeAnnotation?: TypeNode, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration {
63
+ const result: TSTypeAliasDeclaration = new TSTypeAliasDeclaration(global.generatedEs2panda._UpdateTSTypeAliasDeclaration(global.context, passNode(original), passNode(id), passNode(typeParams), passNode(typeAnnotation)))
64
+ if (annotations)
65
+ {
66
+ result.setAnnotations(annotations)
67
+ }
68
+ if (modifierFlags)
69
+ {
70
+ result.modifierFlags = modifierFlags
71
+ }
72
+ result.setChildrenParentPtr()
73
+ return result
74
+ }
75
+ static update1TSTypeAliasDeclaration(original?: TSTypeAliasDeclaration, id?: Identifier, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration {
76
+ const result: TSTypeAliasDeclaration = new TSTypeAliasDeclaration(global.generatedEs2panda._UpdateTSTypeAliasDeclaration1(global.context, passNode(original), passNode(id)))
77
+ if (annotations)
78
+ {
79
+ result.setAnnotations(annotations)
80
+ }
81
+ if (modifierFlags)
82
+ {
83
+ result.modifierFlags = modifierFlags
84
+ }
85
+ result.setChildrenParentPtr()
86
+ return result
56
87
  }
57
88
  get id(): Identifier | undefined {
58
89
  return unpackNode(global.generatedEs2panda._TSTypeAliasDeclarationId(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -37,16 +36,21 @@ import { AnnotatedExpression } from "./AnnotatedExpression"
37
36
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
38
37
  import { Expression } from "./Expression"
39
38
  import { TypeNode } from "./TypeNode"
39
+
40
40
  export class TSTypeAssertion extends AnnotatedExpression {
41
41
  constructor(pointer: KNativePointer) {
42
- assertValidPeer(pointer, 140)
42
+ assertValidPeer(pointer, 142)
43
43
  super(pointer)
44
44
  }
45
45
  static createTSTypeAssertion(typeAnnotation?: TypeNode, expression?: Expression): TSTypeAssertion {
46
- return new TSTypeAssertion(global.generatedEs2panda._CreateTSTypeAssertion(global.context, passNode(typeAnnotation), passNode(expression)))
46
+ const result: TSTypeAssertion = new TSTypeAssertion(global.generatedEs2panda._CreateTSTypeAssertion(global.context, passNode(typeAnnotation), passNode(expression)))
47
+ result.setChildrenParentPtr()
48
+ return result
47
49
  }
48
50
  static updateTSTypeAssertion(original?: TSTypeAssertion, typeAnnotation?: TypeNode, expression?: Expression): TSTypeAssertion {
49
- return new TSTypeAssertion(global.generatedEs2panda._UpdateTSTypeAssertion(global.context, passNode(original), passNode(typeAnnotation), passNode(expression)))
51
+ const result: TSTypeAssertion = new TSTypeAssertion(global.generatedEs2panda._UpdateTSTypeAssertion(global.context, passNode(original), passNode(typeAnnotation), passNode(expression)))
52
+ result.setChildrenParentPtr()
53
+ return result
50
54
  }
51
55
  get expression(): Expression | undefined {
52
56
  return unpackNode(global.generatedEs2panda._TSTypeAssertionGetExpressionConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -35,16 +34,21 @@ import {
35
34
 
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { TypeNode } from "./TypeNode"
37
+
38
38
  export class TSTypeLiteral extends TypeNode {
39
39
  constructor(pointer: KNativePointer) {
40
- assertValidPeer(pointer, 104)
40
+ assertValidPeer(pointer, 106)
41
41
  super(pointer)
42
42
  }
43
43
  static createTSTypeLiteral(members: readonly AstNode[]): TSTypeLiteral {
44
- return new TSTypeLiteral(global.generatedEs2panda._CreateTSTypeLiteral(global.context, passNodeArray(members), members.length))
44
+ const result: TSTypeLiteral = new TSTypeLiteral(global.generatedEs2panda._CreateTSTypeLiteral(global.context, passNodeArray(members), members.length))
45
+ result.setChildrenParentPtr()
46
+ return result
45
47
  }
46
48
  static updateTSTypeLiteral(original: TSTypeLiteral | undefined, members: readonly AstNode[]): TSTypeLiteral {
47
- return new TSTypeLiteral(global.generatedEs2panda._UpdateTSTypeLiteral(global.context, passNode(original), passNodeArray(members), members.length))
49
+ const result: TSTypeLiteral = new TSTypeLiteral(global.generatedEs2panda._UpdateTSTypeLiteral(global.context, passNode(original), passNodeArray(members), members.length))
50
+ result.setChildrenParentPtr()
51
+ return result
48
52
  }
49
53
  get members(): readonly AstNode[] {
50
54
  return unpackNodeArray(global.generatedEs2panda._TSTypeLiteralMembersConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -36,16 +35,21 @@ import {
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { Es2pandaTSOperatorType } from "./../Es2pandaEnums"
38
37
  import { TypeNode } from "./TypeNode"
38
+
39
39
  export class TSTypeOperator extends TypeNode {
40
40
  constructor(pointer: KNativePointer) {
41
- assertValidPeer(pointer, 117)
41
+ assertValidPeer(pointer, 119)
42
42
  super(pointer)
43
43
  }
44
44
  static createTSTypeOperator(type: TypeNode | undefined, operatorType: Es2pandaTSOperatorType): TSTypeOperator {
45
- return new TSTypeOperator(global.generatedEs2panda._CreateTSTypeOperator(global.context, passNode(type), operatorType))
45
+ const result: TSTypeOperator = new TSTypeOperator(global.generatedEs2panda._CreateTSTypeOperator(global.context, passNode(type), operatorType))
46
+ result.setChildrenParentPtr()
47
+ return result
46
48
  }
47
49
  static updateTSTypeOperator(original: TSTypeOperator | undefined, type: TypeNode | undefined, operatorType: Es2pandaTSOperatorType): TSTypeOperator {
48
- return new TSTypeOperator(global.generatedEs2panda._UpdateTSTypeOperator(global.context, passNode(original), passNode(type), operatorType))
50
+ const result: TSTypeOperator = new TSTypeOperator(global.generatedEs2panda._UpdateTSTypeOperator(global.context, passNode(original), passNode(type), operatorType))
51
+ result.setChildrenParentPtr()
52
+ return result
49
53
  }
50
54
  get type(): TypeNode | undefined {
51
55
  return unpackNode(global.generatedEs2panda._TSTypeOperatorTypeConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -39,19 +38,26 @@ import { Es2pandaModifierFlags } from "./../Es2pandaEnums"
39
38
  import { Expression } from "./Expression"
40
39
  import { Identifier } from "./Identifier"
41
40
  import { TypeNode } from "./TypeNode"
41
+
42
42
  export class TSTypeParameter extends Expression {
43
43
  constructor(pointer: KNativePointer) {
44
- assertValidPeer(pointer, 118)
44
+ assertValidPeer(pointer, 120)
45
45
  super(pointer)
46
46
  }
47
47
  static create1TSTypeParameter(name: Identifier | undefined, constraint: TypeNode | undefined, defaultType: TypeNode | undefined, flags: Es2pandaModifierFlags): TSTypeParameter {
48
- return new TSTypeParameter(global.generatedEs2panda._CreateTSTypeParameter1(global.context, passNode(name), passNode(constraint), passNode(defaultType), flags))
48
+ const result: TSTypeParameter = new TSTypeParameter(global.generatedEs2panda._CreateTSTypeParameter1(global.context, passNode(name), passNode(constraint), passNode(defaultType), flags))
49
+ result.setChildrenParentPtr()
50
+ return result
49
51
  }
50
52
  static updateTSTypeParameter(original?: TSTypeParameter, name?: Identifier, constraint?: TypeNode, defaultType?: TypeNode): TSTypeParameter {
51
- return new TSTypeParameter(global.generatedEs2panda._UpdateTSTypeParameter(global.context, passNode(original), passNode(name), passNode(constraint), passNode(defaultType)))
53
+ const result: TSTypeParameter = new TSTypeParameter(global.generatedEs2panda._UpdateTSTypeParameter(global.context, passNode(original), passNode(name), passNode(constraint), passNode(defaultType)))
54
+ result.setChildrenParentPtr()
55
+ return result
52
56
  }
53
57
  static update1TSTypeParameter(original: TSTypeParameter | undefined, name: Identifier | undefined, constraint: TypeNode | undefined, defaultType: TypeNode | undefined, flags: Es2pandaModifierFlags): TSTypeParameter {
54
- return new TSTypeParameter(global.generatedEs2panda._UpdateTSTypeParameter1(global.context, passNode(original), passNode(name), passNode(constraint), passNode(defaultType), flags))
58
+ const result: TSTypeParameter = new TSTypeParameter(global.generatedEs2panda._UpdateTSTypeParameter1(global.context, passNode(original), passNode(name), passNode(constraint), passNode(defaultType), flags))
59
+ result.setChildrenParentPtr()
60
+ return result
55
61
  }
56
62
  get name(): Identifier | undefined {
57
63
  return unpackNode(global.generatedEs2panda._TSTypeParameterName(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -36,16 +35,21 @@ import {
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { Expression } from "./Expression"
38
37
  import { TSTypeParameter } from "./TSTypeParameter"
38
+
39
39
  export class TSTypeParameterDeclaration extends Expression {
40
40
  constructor(pointer: KNativePointer) {
41
- assertValidPeer(pointer, 119)
41
+ assertValidPeer(pointer, 121)
42
42
  super(pointer)
43
43
  }
44
44
  static createTSTypeParameterDeclaration(params: readonly TSTypeParameter[], requiredParams: number): TSTypeParameterDeclaration {
45
- return new TSTypeParameterDeclaration(global.generatedEs2panda._CreateTSTypeParameterDeclaration(global.context, passNodeArray(params), params.length, requiredParams))
45
+ const result: TSTypeParameterDeclaration = new TSTypeParameterDeclaration(global.generatedEs2panda._CreateTSTypeParameterDeclaration(global.context, passNodeArray(params), params.length, requiredParams))
46
+ result.setChildrenParentPtr()
47
+ return result
46
48
  }
47
49
  static updateTSTypeParameterDeclaration(original: TSTypeParameterDeclaration | undefined, params: readonly TSTypeParameter[], requiredParams: number): TSTypeParameterDeclaration {
48
- return new TSTypeParameterDeclaration(global.generatedEs2panda._UpdateTSTypeParameterDeclaration(global.context, passNode(original), passNodeArray(params), params.length, requiredParams))
50
+ const result: TSTypeParameterDeclaration = new TSTypeParameterDeclaration(global.generatedEs2panda._UpdateTSTypeParameterDeclaration(global.context, passNode(original), passNodeArray(params), params.length, requiredParams))
51
+ result.setChildrenParentPtr()
52
+ return result
49
53
  }
50
54
  get params(): readonly TSTypeParameter[] {
51
55
  return unpackNodeArray(global.generatedEs2panda._TSTypeParameterDeclarationParamsConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -36,16 +35,21 @@ import {
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { Expression } from "./Expression"
38
37
  import { TypeNode } from "./TypeNode"
38
+
39
39
  export class TSTypeParameterInstantiation extends Expression {
40
40
  constructor(pointer: KNativePointer) {
41
- assertValidPeer(pointer, 120)
41
+ assertValidPeer(pointer, 122)
42
42
  super(pointer)
43
43
  }
44
44
  static createTSTypeParameterInstantiation(params: readonly TypeNode[]): TSTypeParameterInstantiation {
45
- return new TSTypeParameterInstantiation(global.generatedEs2panda._CreateTSTypeParameterInstantiation(global.context, passNodeArray(params), params.length))
45
+ const result: TSTypeParameterInstantiation = new TSTypeParameterInstantiation(global.generatedEs2panda._CreateTSTypeParameterInstantiation(global.context, passNodeArray(params), params.length))
46
+ result.setChildrenParentPtr()
47
+ return result
46
48
  }
47
49
  static updateTSTypeParameterInstantiation(original: TSTypeParameterInstantiation | undefined, params: readonly TypeNode[]): TSTypeParameterInstantiation {
48
- return new TSTypeParameterInstantiation(global.generatedEs2panda._UpdateTSTypeParameterInstantiation(global.context, passNode(original), passNodeArray(params), params.length))
50
+ const result: TSTypeParameterInstantiation = new TSTypeParameterInstantiation(global.generatedEs2panda._UpdateTSTypeParameterInstantiation(global.context, passNode(original), passNodeArray(params), params.length))
51
+ result.setChildrenParentPtr()
52
+ return result
49
53
  }
50
54
  get params(): readonly TypeNode[] {
51
55
  return unpackNodeArray(global.generatedEs2panda._TSTypeParameterInstantiationParamsConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -36,16 +35,21 @@ import {
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { Expression } from "./Expression"
38
37
  import { TypeNode } from "./TypeNode"
38
+
39
39
  export class TSTypePredicate extends TypeNode {
40
40
  constructor(pointer: KNativePointer) {
41
- assertValidPeer(pointer, 121)
41
+ assertValidPeer(pointer, 123)
42
42
  super(pointer)
43
43
  }
44
44
  static createTSTypePredicate(parameterName: Expression | undefined, typeAnnotation: TypeNode | undefined, asserts: boolean): TSTypePredicate {
45
- return new TSTypePredicate(global.generatedEs2panda._CreateTSTypePredicate(global.context, passNode(parameterName), passNode(typeAnnotation), asserts))
45
+ const result: TSTypePredicate = new TSTypePredicate(global.generatedEs2panda._CreateTSTypePredicate(global.context, passNode(parameterName), passNode(typeAnnotation), asserts))
46
+ result.setChildrenParentPtr()
47
+ return result
46
48
  }
47
49
  static updateTSTypePredicate(original: TSTypePredicate | undefined, parameterName: Expression | undefined, typeAnnotation: TypeNode | undefined, asserts: boolean): TSTypePredicate {
48
- return new TSTypePredicate(global.generatedEs2panda._UpdateTSTypePredicate(global.context, passNode(original), passNode(parameterName), passNode(typeAnnotation), asserts))
50
+ const result: TSTypePredicate = new TSTypePredicate(global.generatedEs2panda._UpdateTSTypePredicate(global.context, passNode(original), passNode(parameterName), passNode(typeAnnotation), asserts))
51
+ result.setChildrenParentPtr()
52
+ return result
49
53
  }
50
54
  get parameterName(): Expression | undefined {
51
55
  return unpackNode(global.generatedEs2panda._TSTypePredicateParameterNameConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -36,16 +35,21 @@ import {
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { Expression } from "./Expression"
38
37
  import { TypeNode } from "./TypeNode"
38
+
39
39
  export class TSTypeQuery extends TypeNode {
40
40
  constructor(pointer: KNativePointer) {
41
- assertValidPeer(pointer, 137)
41
+ assertValidPeer(pointer, 139)
42
42
  super(pointer)
43
43
  }
44
44
  static createTSTypeQuery(exprName?: Expression): TSTypeQuery {
45
- return new TSTypeQuery(global.generatedEs2panda._CreateTSTypeQuery(global.context, passNode(exprName)))
45
+ const result: TSTypeQuery = new TSTypeQuery(global.generatedEs2panda._CreateTSTypeQuery(global.context, passNode(exprName)))
46
+ result.setChildrenParentPtr()
47
+ return result
46
48
  }
47
49
  static updateTSTypeQuery(original?: TSTypeQuery, exprName?: Expression): TSTypeQuery {
48
- return new TSTypeQuery(global.generatedEs2panda._UpdateTSTypeQuery(global.context, passNode(original), passNode(exprName)))
50
+ const result: TSTypeQuery = new TSTypeQuery(global.generatedEs2panda._UpdateTSTypeQuery(global.context, passNode(original), passNode(exprName)))
51
+ result.setChildrenParentPtr()
52
+ return result
49
53
  }
50
54
  get exprName(): Expression | undefined {
51
55
  return unpackNode(global.generatedEs2panda._TSTypeQueryExprNameConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -38,16 +37,21 @@ import { Expression } from "./Expression"
38
37
  import { Identifier } from "./Identifier"
39
38
  import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation"
40
39
  import { TypeNode } from "./TypeNode"
40
+
41
41
  export class TSTypeReference extends TypeNode {
42
42
  constructor(pointer: KNativePointer) {
43
- assertValidPeer(pointer, 128)
43
+ assertValidPeer(pointer, 130)
44
44
  super(pointer)
45
45
  }
46
46
  static createTSTypeReference(typeName?: Expression, typeParams?: TSTypeParameterInstantiation): TSTypeReference {
47
- return new TSTypeReference(global.generatedEs2panda._CreateTSTypeReference(global.context, passNode(typeName), passNode(typeParams)))
47
+ const result: TSTypeReference = new TSTypeReference(global.generatedEs2panda._CreateTSTypeReference(global.context, passNode(typeName), passNode(typeParams)))
48
+ result.setChildrenParentPtr()
49
+ return result
48
50
  }
49
51
  static updateTSTypeReference(original?: TSTypeReference, typeName?: Expression, typeParams?: TSTypeParameterInstantiation): TSTypeReference {
50
- return new TSTypeReference(global.generatedEs2panda._UpdateTSTypeReference(global.context, passNode(original), passNode(typeName), passNode(typeParams)))
52
+ const result: TSTypeReference = new TSTypeReference(global.generatedEs2panda._UpdateTSTypeReference(global.context, passNode(original), passNode(typeName), passNode(typeParams)))
53
+ result.setChildrenParentPtr()
54
+ return result
51
55
  }
52
56
  get typeParams(): TSTypeParameterInstantiation | undefined {
53
57
  return unpackNode(global.generatedEs2panda._TSTypeReferenceTypeParamsConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -35,16 +34,21 @@ import {
35
34
 
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { TypeNode } from "./TypeNode"
37
+
38
38
  export class TSUndefinedKeyword extends TypeNode {
39
39
  constructor(pointer: KNativePointer) {
40
- assertValidPeer(pointer, 95)
40
+ assertValidPeer(pointer, 97)
41
41
  super(pointer)
42
42
  }
43
43
  static createTSUndefinedKeyword(): TSUndefinedKeyword {
44
- return new TSUndefinedKeyword(global.generatedEs2panda._CreateTSUndefinedKeyword(global.context))
44
+ const result: TSUndefinedKeyword = new TSUndefinedKeyword(global.generatedEs2panda._CreateTSUndefinedKeyword(global.context))
45
+ result.setChildrenParentPtr()
46
+ return result
45
47
  }
46
48
  static updateTSUndefinedKeyword(original?: TSUndefinedKeyword): TSUndefinedKeyword {
47
- return new TSUndefinedKeyword(global.generatedEs2panda._UpdateTSUndefinedKeyword(global.context, passNode(original)))
49
+ const result: TSUndefinedKeyword = new TSUndefinedKeyword(global.generatedEs2panda._UpdateTSUndefinedKeyword(global.context, passNode(original)))
50
+ result.setChildrenParentPtr()
51
+ return result
48
52
  }
49
53
  protected readonly brandTSUndefinedKeyword: undefined
50
54
  }
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -35,16 +34,21 @@ import {
35
34
 
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { TypeNode } from "./TypeNode"
37
+
38
38
  export class TSUnionType extends TypeNode {
39
39
  constructor(pointer: KNativePointer) {
40
- assertValidPeer(pointer, 103)
40
+ assertValidPeer(pointer, 105)
41
41
  super(pointer)
42
42
  }
43
43
  static createTSUnionType(types: readonly TypeNode[]): TSUnionType {
44
- return new TSUnionType(global.generatedEs2panda._CreateTSUnionType(global.context, passNodeArray(types), types.length))
44
+ const result: TSUnionType = new TSUnionType(global.generatedEs2panda._CreateTSUnionType(global.context, passNodeArray(types), types.length))
45
+ result.setChildrenParentPtr()
46
+ return result
45
47
  }
46
48
  static updateTSUnionType(original: TSUnionType | undefined, types: readonly TypeNode[]): TSUnionType {
47
- return new TSUnionType(global.generatedEs2panda._UpdateTSUnionType(global.context, passNode(original), passNodeArray(types), types.length))
49
+ const result: TSUnionType = new TSUnionType(global.generatedEs2panda._UpdateTSUnionType(global.context, passNode(original), passNodeArray(types), types.length))
50
+ result.setChildrenParentPtr()
51
+ return result
48
52
  }
49
53
  get types(): readonly TypeNode[] {
50
54
  return unpackNodeArray(global.generatedEs2panda._TSUnionTypeTypesConst(global.context, this.peer))
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -35,16 +34,21 @@ import {
35
34
 
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { TypeNode } from "./TypeNode"
37
+
38
38
  export class TSUnknownKeyword extends TypeNode {
39
39
  constructor(pointer: KNativePointer) {
40
- assertValidPeer(pointer, 96)
40
+ assertValidPeer(pointer, 98)
41
41
  super(pointer)
42
42
  }
43
43
  static createTSUnknownKeyword(): TSUnknownKeyword {
44
- return new TSUnknownKeyword(global.generatedEs2panda._CreateTSUnknownKeyword(global.context))
44
+ const result: TSUnknownKeyword = new TSUnknownKeyword(global.generatedEs2panda._CreateTSUnknownKeyword(global.context))
45
+ result.setChildrenParentPtr()
46
+ return result
45
47
  }
46
48
  static updateTSUnknownKeyword(original?: TSUnknownKeyword): TSUnknownKeyword {
47
- return new TSUnknownKeyword(global.generatedEs2panda._UpdateTSUnknownKeyword(global.context, passNode(original)))
49
+ const result: TSUnknownKeyword = new TSUnknownKeyword(global.generatedEs2panda._UpdateTSUnknownKeyword(global.context, passNode(original)))
50
+ result.setChildrenParentPtr()
51
+ return result
48
52
  }
49
53
  protected readonly brandTSUnknownKeyword: undefined
50
54
  }
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -35,16 +34,21 @@ import {
35
34
 
36
35
  import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { TypeNode } from "./TypeNode"
37
+
38
38
  export class TSVoidKeyword extends TypeNode {
39
39
  constructor(pointer: KNativePointer) {
40
- assertValidPeer(pointer, 94)
40
+ assertValidPeer(pointer, 96)
41
41
  super(pointer)
42
42
  }
43
43
  static createTSVoidKeyword(): TSVoidKeyword {
44
- return new TSVoidKeyword(global.generatedEs2panda._CreateTSVoidKeyword(global.context))
44
+ const result: TSVoidKeyword = new TSVoidKeyword(global.generatedEs2panda._CreateTSVoidKeyword(global.context))
45
+ result.setChildrenParentPtr()
46
+ return result
45
47
  }
46
48
  static updateTSVoidKeyword(original?: TSVoidKeyword): TSVoidKeyword {
47
- return new TSVoidKeyword(global.generatedEs2panda._UpdateTSVoidKeyword(global.context, passNode(original)))
49
+ const result: TSVoidKeyword = new TSVoidKeyword(global.generatedEs2panda._UpdateTSVoidKeyword(global.context, passNode(original)))
50
+ result.setChildrenParentPtr()
51
+ return result
48
52
  }
49
53
  protected readonly brandTSVoidKeyword: undefined
50
54
  }
@@ -14,8 +14,7 @@
14
14
  */
15
15
 
16
16
  /*
17
- * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-6. DO NOT EDIT MANUALLY!
18
- * es2panda 6f5e9d7d520d1f88dd3dedf2aa32bc86329d980a(2025-06-26) sdk v1.5.0-dev.34166
17
+ * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY!
19
18
  */
20
19
 
21
20
  import {
@@ -37,16 +36,21 @@ import { Es2pandaAstNodeType } from "./../Es2pandaEnums"
37
36
  import { Expression } from "./Expression"
38
37
  import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation"
39
38
  import { TemplateLiteral } from "./TemplateLiteral"
39
+
40
40
  export class TaggedTemplateExpression extends Expression {
41
41
  constructor(pointer: KNativePointer) {
42
- assertValidPeer(pointer, 141)
42
+ assertValidPeer(pointer, 143)
43
43
  super(pointer)
44
44
  }
45
45
  static createTaggedTemplateExpression(tag?: Expression, quasi?: TemplateLiteral, typeParams?: TSTypeParameterInstantiation): TaggedTemplateExpression {
46
- return new TaggedTemplateExpression(global.generatedEs2panda._CreateTaggedTemplateExpression(global.context, passNode(tag), passNode(quasi), passNode(typeParams)))
46
+ const result: TaggedTemplateExpression = new TaggedTemplateExpression(global.generatedEs2panda._CreateTaggedTemplateExpression(global.context, passNode(tag), passNode(quasi), passNode(typeParams)))
47
+ result.setChildrenParentPtr()
48
+ return result
47
49
  }
48
50
  static updateTaggedTemplateExpression(original?: TaggedTemplateExpression, tag?: Expression, quasi?: TemplateLiteral, typeParams?: TSTypeParameterInstantiation): TaggedTemplateExpression {
49
- return new TaggedTemplateExpression(global.generatedEs2panda._UpdateTaggedTemplateExpression(global.context, passNode(original), passNode(tag), passNode(quasi), passNode(typeParams)))
51
+ const result: TaggedTemplateExpression = new TaggedTemplateExpression(global.generatedEs2panda._UpdateTaggedTemplateExpression(global.context, passNode(original), passNode(tag), passNode(quasi), passNode(typeParams)))
52
+ result.setChildrenParentPtr()
53
+ return result
50
54
  }
51
55
  get tag(): Expression | undefined {
52
56
  return unpackNode(global.generatedEs2panda._TaggedTemplateExpressionTagConst(global.context, this.peer))