@idlizer/arktscgen 2.1.5 → 2.1.9-arktscgen-4
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.
- package/build/libarkts-copy/generator/options.json5 +34 -0
- package/build/libarkts-copy/native/meson.build +128 -62
- package/build/libarkts-copy/native/meson_options.txt +19 -0
- package/build/libarkts-copy/native/src/bridges.cc +278 -15
- package/build/libarkts-copy/native/src/common.cc +212 -43
- package/build/libarkts-copy/native/src/common.h +95 -2
- package/build/libarkts-copy/native/src/generated/bridges.cc +2801 -466
- package/build/libarkts-copy/package.json +82 -62
- package/build/libarkts-copy/src/Es2pandaNativeModule.ts +97 -3
- package/build/libarkts-copy/src/InteropNativeModule.ts +3 -1
- package/build/libarkts-copy/src/arkts-api/AbstractVisitor.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/ChainExpressionFilter.ts +78 -0
- package/build/libarkts-copy/src/arkts-api/CheckedBackFilter.ts +131 -0
- package/build/libarkts-copy/src/arkts-api/CompileWithCache.ts +193 -0
- package/build/libarkts-copy/src/arkts-api/ImportStorage.ts +78 -0
- package/build/libarkts-copy/src/arkts-api/InferVoidReturnType.ts +89 -0
- package/build/libarkts-copy/src/arkts-api/ProgramProvider.ts +50 -0
- package/build/libarkts-copy/src/arkts-api/SetBaseOverloads.ts +44 -0
- package/build/libarkts-copy/src/arkts-api/class-by-peer.ts +2 -3
- package/build/libarkts-copy/src/arkts-api/factory/nodeFactory.ts +93 -10
- package/build/libarkts-copy/src/arkts-api/index.ts +13 -1
- package/build/libarkts-copy/src/arkts-api/node-cache.ts +8 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/AnnotationDeclaration.ts +32 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/AnnotationUsage.ts +37 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArkTsConfig.ts +26 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArrayExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/BinaryExpression.ts +37 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/BlockExpression.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/BlockStatement.ts +29 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/CallExpression.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/ChainExpression.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDeclaration.ts +54 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDefinition.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassProperty.ts +27 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/ConditionalExpression.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSFunctionType.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSImportDeclaration.ts +3 -27
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSNewClassInstanceExpression.ts +34 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSParameterExpression.ts +3 -9
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSPrimitiveType.ts +28 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSStructDeclaration.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTuple.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTypeReference.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTypeReferencePart.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSUndefinedType.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSUnionType.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/Identifier.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ImportSpecifier.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/MemberExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/MethodDefinition.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/NullLiteral.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/NumberLiteral.ts +2 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/ObjectExpression.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/Program.ts +40 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ReturnStatement.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/StringLiteral.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/SuperExpression.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSAsExpression.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSClassImplements.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceBody.ts +28 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts +30 -10
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSNonNullExpression.ts +27 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +10 -2
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameter.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameterDeclaration.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameterInstantiation.ts +30 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeReferencePart.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/TemplateLiteral.ts +35 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ThisExpression.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/UndefinedLiteral.ts +24 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclaration.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclarator.ts +1 -1
- package/build/libarkts-copy/src/arkts-api/peers/ArktsObject.ts +3 -1
- package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +78 -15
- package/build/libarkts-copy/src/arkts-api/peers/Config.ts +8 -1
- package/build/libarkts-copy/src/arkts-api/peers/Context.ts +72 -6
- package/build/libarkts-copy/src/arkts-api/peers/{Program.ts → ExternalSource.ts} +3 -21
- package/build/libarkts-copy/src/arkts-api/peers/Options.ts +34 -0
- package/build/libarkts-copy/src/arkts-api/plugins.ts +62 -0
- package/build/libarkts-copy/src/arkts-api/static/global.ts +9 -5
- package/build/libarkts-copy/src/arkts-api/static/profiler.ts +195 -23
- package/build/libarkts-copy/src/arkts-api/utilities/private.ts +36 -10
- package/build/libarkts-copy/src/arkts-api/utilities/public.ts +68 -20
- package/build/libarkts-copy/src/arkts-api/visitor.ts +162 -18
- package/build/libarkts-copy/src/arkts-api/wrapper-compat.ts +32 -0
- package/build/libarkts-copy/src/checkSdk.ts +25 -0
- package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +448 -436
- package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +775 -60
- package/build/libarkts-copy/src/generated/factory.ts +12 -15
- package/build/libarkts-copy/src/generated/index.ts +10 -3
- package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +58 -6
- package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ArkTsConfig.ts +75 -0
- package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +40 -6
- package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/AstDumper.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BindingProps.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +26 -7
- package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/CallExpression.ts +20 -3
- package/build/libarkts-copy/src/generated/peers/CatchClause.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +33 -4
- package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +128 -42
- package/build/libarkts-copy/src/generated/peers/ClassElement.ts +28 -4
- package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +39 -5
- package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/CodeGen.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/Declaration.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/Decorator.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/{OverloadInfo.ts → DiagnosticInfo.ts} +8 -2
- package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +16 -5
- package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSModule.ts +59 -4
- package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +46 -12
- package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +14 -8
- package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +16 -4
- package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +18 -7
- package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +26 -3
- package/build/libarkts-copy/src/generated/peers/Expression.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +8 -2
- package/build/libarkts-copy/src/generated/peers/FunctionDecl.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +44 -6
- package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/IRNode.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/Identifier.ts +16 -5
- package/build/libarkts-copy/src/generated/peers/IfStatement.ts +14 -3
- package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +28 -4
- package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ImportSource.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/InterfaceDecl.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/LabelPair.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/Literal.ts +15 -1
- package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +26 -10
- package/build/libarkts-copy/src/generated/peers/NamedType.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/NewExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +12 -6
- package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/Program.ts +194 -0
- package/build/libarkts-copy/src/generated/peers/Property.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +77 -10
- package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SourceRange.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +46 -9
- package/build/libarkts-copy/src/generated/peers/Statement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/{ETSDynamicFunctionType.ts → SuggestionInfo.ts} +7 -5
- package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +48 -6
- package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSImportType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSInferType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +78 -8
- package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSThisType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +53 -6
- package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +41 -7
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/TryStatement.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/TypeNode.ts +37 -3
- package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +9 -3
- package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +10 -4
- package/build/libarkts-copy/src/generated/peers/VReg.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +48 -8
- package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +11 -5
- package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +7 -1
- package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +15 -4
- package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +10 -4
- package/build/libarkts-copy/src/index.ts +31 -1
- package/build/libarkts-copy/src/plugin-utils.ts +117 -0
- package/build/libarkts-copy/src/ts-api/factory/nodeFactory.ts +15 -0
- package/build/libarkts-copy/src/ts-api/factory/nodeTests.ts +15 -0
- package/build/libarkts-copy/src/ts-api/types.ts +15 -0
- package/build/libarkts-copy/src/utils.ts +24 -41
- package/build/libarkts-copy/src/wrapper-compat/README.md +16 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/class-by-peer.ts +46 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/factory/nodeFactory.ts +454 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/factory/nodeTests.ts +99 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/index.ts +88 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrayExpression.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ArrowFunctionExpression.ts +35 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/AssignmentExpression.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/BlockStatement.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/CallExpression.ts +45 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDeclaration.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassDefinition.ts +73 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ClassProperty.ts +51 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSFunctionType.ts +42 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSImportDeclaration.ts +39 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ETSParameterExpression.ts +43 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ExpressionStatement.ts +28 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionDeclaration.ts +37 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/FunctionExpression.ts +28 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/IfStatement.ts +37 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MemberExpression.ts +42 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/MethodDefinition.ts +46 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/NumberLiteral.ts +30 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ObjectExpression.ts +37 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/Property.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/ScriptFunction.ts +46 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/StructDeclaration.ts +28 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSInterfaceDeclaration.ts +47 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +40 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TSTypeParameter.ts +36 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/TryStatement.ts +41 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclaration.ts +42 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/node-utilities/VariableDeclarator.ts +39 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ArktsObject.ts +45 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/AstNode.ts +26 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Config.ts +53 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Context.ts +60 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Diagnostic.ts +39 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticInfo.ts +33 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/DiagnosticKind.ts +33 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/ImportPathManager.ts +34 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/Program.ts +105 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourcePosition.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SourceRange.ts +38 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/peers/SuggestionInfo.ts +33 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/static/global.ts +16 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/static/globalUtils.ts +27 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/to-be-generated/MemberExpression.ts +108 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/types.ts +907 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/nativePtrDecoder.ts +69 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/performance.ts +190 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/private.ts +198 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/utilities/public.ts +325 -0
- package/build/libarkts-copy/src/wrapper-compat/arkts-api/visitor.ts +421 -0
- package/build/libarkts-copy/src/wrapper-compat/index.ts +20 -0
- package/build/libarkts-copy/tsconfig.json +2 -1
- package/lib/index.js +1704 -273
- package/package.json +2 -2
- package/templates/Es2pandaEnums.ts +4 -0
- package/templates/Es2pandaNativeModule.ts +5 -1
- package/templates/factory.ts +5 -1
- package/templates/index.ts +5 -1
- package/templates/node-map.ts +5 -1
- package/templates/peer.ts +5 -1
- package/build/libarkts-copy/README.md +0 -36
|
@@ -96,7 +96,7 @@ KNativePointer impl_NumberLiteralStrConst(KNativePointer context, KNativePointer
|
|
|
96
96
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
97
97
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
98
98
|
auto result = GetImpl()->NumberLiteralStrConst(_context, _receiver);
|
|
99
|
-
return
|
|
99
|
+
return StageArena::strdup(result);
|
|
100
100
|
}
|
|
101
101
|
KOALA_INTEROP_2(NumberLiteralStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
102
102
|
|
|
@@ -278,13 +278,53 @@ void impl_ClassPropertySetInitInStaticBlock(KNativePointer context, KNativePoint
|
|
|
278
278
|
}
|
|
279
279
|
KOALA_INTEROP_V3(ClassPropertySetInitInStaticBlock, KNativePointer, KNativePointer, KBoolean);
|
|
280
280
|
|
|
281
|
+
void impl_ClassPropertyEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
282
|
+
{
|
|
283
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
284
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
285
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
286
|
+
GetImpl()->ClassPropertyEmplaceAnnotations(_context, _receiver, _source);
|
|
287
|
+
return ;
|
|
288
|
+
}
|
|
289
|
+
KOALA_INTEROP_V3(ClassPropertyEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
290
|
+
|
|
291
|
+
void impl_ClassPropertyClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
292
|
+
{
|
|
293
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
294
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
295
|
+
GetImpl()->ClassPropertyClearAnnotations(_context, _receiver);
|
|
296
|
+
return ;
|
|
297
|
+
}
|
|
298
|
+
KOALA_INTEROP_V2(ClassPropertyClearAnnotations, KNativePointer, KNativePointer);
|
|
299
|
+
|
|
300
|
+
void impl_ClassPropertySetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
301
|
+
{
|
|
302
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
303
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
304
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
305
|
+
const auto _index = static_cast<KUInt>(index);
|
|
306
|
+
GetImpl()->ClassPropertySetValueAnnotations(_context, _receiver, _source, _index);
|
|
307
|
+
return ;
|
|
308
|
+
}
|
|
309
|
+
KOALA_INTEROP_V4(ClassPropertySetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
310
|
+
|
|
311
|
+
KNativePointer impl_ClassPropertyAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
312
|
+
{
|
|
313
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
314
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
315
|
+
std::size_t length;
|
|
316
|
+
auto result = GetImpl()->ClassPropertyAnnotationsForUpdate(_context, _receiver, &length);
|
|
317
|
+
return StageArena::cloneVector(result, length);
|
|
318
|
+
}
|
|
319
|
+
KOALA_INTEROP_2(ClassPropertyAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
320
|
+
|
|
281
321
|
KNativePointer impl_ClassPropertyAnnotations(KNativePointer context, KNativePointer receiver)
|
|
282
322
|
{
|
|
283
323
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
284
324
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
285
325
|
std::size_t length;
|
|
286
326
|
auto result = GetImpl()->ClassPropertyAnnotations(_context, _receiver, &length);
|
|
287
|
-
return
|
|
327
|
+
return StageArena::cloneVector(result, length);
|
|
288
328
|
}
|
|
289
329
|
KOALA_INTEROP_2(ClassPropertyAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
290
330
|
|
|
@@ -294,21 +334,42 @@ KNativePointer impl_ClassPropertyAnnotationsConst(KNativePointer context, KNativ
|
|
|
294
334
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
295
335
|
std::size_t length;
|
|
296
336
|
auto result = GetImpl()->ClassPropertyAnnotationsConst(_context, _receiver, &length);
|
|
297
|
-
return (void*)
|
|
337
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
298
338
|
}
|
|
299
339
|
KOALA_INTEROP_2(ClassPropertyAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
300
340
|
|
|
301
|
-
void impl_ClassPropertySetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
341
|
+
void impl_ClassPropertySetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
302
342
|
{
|
|
303
343
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
304
344
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
305
|
-
const auto
|
|
306
|
-
const auto
|
|
307
|
-
GetImpl()->ClassPropertySetAnnotations(_context, _receiver,
|
|
345
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
346
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
347
|
+
GetImpl()->ClassPropertySetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
308
348
|
return ;
|
|
309
349
|
}
|
|
310
350
|
KOALA_INTEROP_V4(ClassPropertySetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
311
351
|
|
|
352
|
+
void impl_ClassPropertySetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
353
|
+
{
|
|
354
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
355
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
356
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
357
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
358
|
+
GetImpl()->ClassPropertySetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
359
|
+
return ;
|
|
360
|
+
}
|
|
361
|
+
KOALA_INTEROP_V4(ClassPropertySetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
362
|
+
|
|
363
|
+
void impl_ClassPropertyAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
364
|
+
{
|
|
365
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
366
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
367
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
368
|
+
GetImpl()->ClassPropertyAddAnnotations(_context, _receiver, _annotations);
|
|
369
|
+
return ;
|
|
370
|
+
}
|
|
371
|
+
KOALA_INTEROP_V3(ClassPropertyAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
372
|
+
|
|
312
373
|
KNativePointer impl_CreateTSVoidKeyword(KNativePointer context)
|
|
313
374
|
{
|
|
314
375
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -371,7 +432,7 @@ KNativePointer impl_ETSFunctionTypeParamsConst(KNativePointer context, KNativePo
|
|
|
371
432
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
372
433
|
std::size_t length;
|
|
373
434
|
auto result = GetImpl()->ETSFunctionTypeIrParamsConst(_context, _receiver, &length);
|
|
374
|
-
return (void*)
|
|
435
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
375
436
|
}
|
|
376
437
|
KOALA_INTEROP_2(ETSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
377
438
|
|
|
@@ -430,6 +491,15 @@ KInt impl_ETSFunctionTypeFlags(KNativePointer context, KNativePointer receiver)
|
|
|
430
491
|
}
|
|
431
492
|
KOALA_INTEROP_2(ETSFunctionTypeFlags, KInt, KNativePointer, KNativePointer);
|
|
432
493
|
|
|
494
|
+
KInt impl_ETSFunctionTypeFlagsConst(KNativePointer context, KNativePointer receiver)
|
|
495
|
+
{
|
|
496
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
497
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
498
|
+
auto result = GetImpl()->ETSFunctionTypeIrFlagsConst(_context, _receiver);
|
|
499
|
+
return result;
|
|
500
|
+
}
|
|
501
|
+
KOALA_INTEROP_2(ETSFunctionTypeFlagsConst, KInt, KNativePointer, KNativePointer);
|
|
502
|
+
|
|
433
503
|
KBoolean impl_ETSFunctionTypeIsThrowingConst(KNativePointer context, KNativePointer receiver)
|
|
434
504
|
{
|
|
435
505
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -555,6 +625,16 @@ KNativePointer impl_IfStatementTest(KNativePointer context, KNativePointer recei
|
|
|
555
625
|
}
|
|
556
626
|
KOALA_INTEROP_2(IfStatementTest, KNativePointer, KNativePointer, KNativePointer);
|
|
557
627
|
|
|
628
|
+
void impl_IfStatementSetTest(KNativePointer context, KNativePointer receiver, KNativePointer test)
|
|
629
|
+
{
|
|
630
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
631
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
632
|
+
const auto _test = reinterpret_cast<es2panda_AstNode*>(test);
|
|
633
|
+
GetImpl()->IfStatementSetTest(_context, _receiver, _test);
|
|
634
|
+
return ;
|
|
635
|
+
}
|
|
636
|
+
KOALA_INTEROP_V3(IfStatementSetTest, KNativePointer, KNativePointer, KNativePointer);
|
|
637
|
+
|
|
558
638
|
KNativePointer impl_IfStatementConsequentConst(KNativePointer context, KNativePointer receiver)
|
|
559
639
|
{
|
|
560
640
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -646,7 +726,7 @@ KNativePointer impl_TSConstructorTypeParamsConst(KNativePointer context, KNative
|
|
|
646
726
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
647
727
|
std::size_t length;
|
|
648
728
|
auto result = GetImpl()->TSConstructorTypeParamsConst(_context, _receiver, &length);
|
|
649
|
-
return (void*)
|
|
729
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
650
730
|
}
|
|
651
731
|
KOALA_INTEROP_2(TSConstructorTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
652
732
|
|
|
@@ -758,7 +838,7 @@ KNativePointer impl_TSEnumDeclarationMembersConst(KNativePointer context, KNativ
|
|
|
758
838
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
759
839
|
std::size_t length;
|
|
760
840
|
auto result = GetImpl()->TSEnumDeclarationMembersConst(_context, _receiver, &length);
|
|
761
|
-
return (void*)
|
|
841
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
762
842
|
}
|
|
763
843
|
KOALA_INTEROP_2(TSEnumDeclarationMembersConst, KNativePointer, KNativePointer, KNativePointer);
|
|
764
844
|
|
|
@@ -767,7 +847,7 @@ KNativePointer impl_TSEnumDeclarationInternalNameConst(KNativePointer context, K
|
|
|
767
847
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
768
848
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
769
849
|
auto result = GetImpl()->TSEnumDeclarationInternalNameConst(_context, _receiver);
|
|
770
|
-
return
|
|
850
|
+
return StageArena::strdup(result);
|
|
771
851
|
}
|
|
772
852
|
KOALA_INTEROP_2(TSEnumDeclarationInternalNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
773
853
|
|
|
@@ -790,12 +870,12 @@ KNativePointer impl_TSEnumDeclarationBoxedClassConst(KNativePointer context, KNa
|
|
|
790
870
|
}
|
|
791
871
|
KOALA_INTEROP_2(TSEnumDeclarationBoxedClassConst, KNativePointer, KNativePointer, KNativePointer);
|
|
792
872
|
|
|
793
|
-
void impl_TSEnumDeclarationSetBoxedClass(KNativePointer context, KNativePointer receiver, KNativePointer
|
|
873
|
+
void impl_TSEnumDeclarationSetBoxedClass(KNativePointer context, KNativePointer receiver, KNativePointer boxedClass)
|
|
794
874
|
{
|
|
795
875
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
796
876
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
797
|
-
const auto
|
|
798
|
-
GetImpl()->TSEnumDeclarationSetBoxedClass(_context, _receiver,
|
|
877
|
+
const auto _boxedClass = reinterpret_cast<es2panda_AstNode*>(boxedClass);
|
|
878
|
+
GetImpl()->TSEnumDeclarationSetBoxedClass(_context, _receiver, _boxedClass);
|
|
799
879
|
return ;
|
|
800
880
|
}
|
|
801
881
|
KOALA_INTEROP_V3(TSEnumDeclarationSetBoxedClass, KNativePointer, KNativePointer, KNativePointer);
|
|
@@ -815,10 +895,90 @@ KNativePointer impl_TSEnumDeclarationDecoratorsConst(KNativePointer context, KNa
|
|
|
815
895
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
816
896
|
std::size_t length;
|
|
817
897
|
auto result = GetImpl()->TSEnumDeclarationDecoratorsConst(_context, _receiver, &length);
|
|
818
|
-
return (void*)
|
|
898
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
819
899
|
}
|
|
820
900
|
KOALA_INTEROP_2(TSEnumDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
821
901
|
|
|
902
|
+
void impl_TSEnumDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
903
|
+
{
|
|
904
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
905
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
906
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
907
|
+
GetImpl()->TSEnumDeclarationEmplaceDecorators(_context, _receiver, _source);
|
|
908
|
+
return ;
|
|
909
|
+
}
|
|
910
|
+
KOALA_INTEROP_V3(TSEnumDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
911
|
+
|
|
912
|
+
void impl_TSEnumDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
|
|
913
|
+
{
|
|
914
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
915
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
916
|
+
GetImpl()->TSEnumDeclarationClearDecorators(_context, _receiver);
|
|
917
|
+
return ;
|
|
918
|
+
}
|
|
919
|
+
KOALA_INTEROP_V2(TSEnumDeclarationClearDecorators, KNativePointer, KNativePointer);
|
|
920
|
+
|
|
921
|
+
void impl_TSEnumDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
922
|
+
{
|
|
923
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
924
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
925
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
926
|
+
const auto _index = static_cast<KUInt>(index);
|
|
927
|
+
GetImpl()->TSEnumDeclarationSetValueDecorators(_context, _receiver, _source, _index);
|
|
928
|
+
return ;
|
|
929
|
+
}
|
|
930
|
+
KOALA_INTEROP_V4(TSEnumDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
931
|
+
|
|
932
|
+
KNativePointer impl_TSEnumDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
933
|
+
{
|
|
934
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
935
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
936
|
+
std::size_t length;
|
|
937
|
+
auto result = GetImpl()->TSEnumDeclarationDecoratorsForUpdate(_context, _receiver, &length);
|
|
938
|
+
return StageArena::cloneVector(result, length);
|
|
939
|
+
}
|
|
940
|
+
KOALA_INTEROP_2(TSEnumDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
941
|
+
|
|
942
|
+
void impl_TSEnumDeclarationEmplaceMembers(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
943
|
+
{
|
|
944
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
945
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
946
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
947
|
+
GetImpl()->TSEnumDeclarationEmplaceMembers(_context, _receiver, _source);
|
|
948
|
+
return ;
|
|
949
|
+
}
|
|
950
|
+
KOALA_INTEROP_V3(TSEnumDeclarationEmplaceMembers, KNativePointer, KNativePointer, KNativePointer);
|
|
951
|
+
|
|
952
|
+
void impl_TSEnumDeclarationClearMembers(KNativePointer context, KNativePointer receiver)
|
|
953
|
+
{
|
|
954
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
955
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
956
|
+
GetImpl()->TSEnumDeclarationClearMembers(_context, _receiver);
|
|
957
|
+
return ;
|
|
958
|
+
}
|
|
959
|
+
KOALA_INTEROP_V2(TSEnumDeclarationClearMembers, KNativePointer, KNativePointer);
|
|
960
|
+
|
|
961
|
+
void impl_TSEnumDeclarationSetValueMembers(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
962
|
+
{
|
|
963
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
964
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
965
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
966
|
+
const auto _index = static_cast<KUInt>(index);
|
|
967
|
+
GetImpl()->TSEnumDeclarationSetValueMembers(_context, _receiver, _source, _index);
|
|
968
|
+
return ;
|
|
969
|
+
}
|
|
970
|
+
KOALA_INTEROP_V4(TSEnumDeclarationSetValueMembers, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
971
|
+
|
|
972
|
+
KNativePointer impl_TSEnumDeclarationMembersForUpdate(KNativePointer context, KNativePointer receiver)
|
|
973
|
+
{
|
|
974
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
975
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
976
|
+
std::size_t length;
|
|
977
|
+
auto result = GetImpl()->TSEnumDeclarationMembersForUpdate(_context, _receiver, &length);
|
|
978
|
+
return StageArena::cloneVector(result, length);
|
|
979
|
+
}
|
|
980
|
+
KOALA_INTEROP_2(TSEnumDeclarationMembersForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
981
|
+
|
|
822
982
|
KNativePointer impl_CreateTSNeverKeyword(KNativePointer context)
|
|
823
983
|
{
|
|
824
984
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -904,7 +1064,7 @@ KNativePointer impl_ObjectExpressionPropertiesConst(KNativePointer context, KNat
|
|
|
904
1064
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
905
1065
|
std::size_t length;
|
|
906
1066
|
auto result = GetImpl()->ObjectExpressionPropertiesConst(_context, _receiver, &length);
|
|
907
|
-
return (void*)
|
|
1067
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
908
1068
|
}
|
|
909
1069
|
KOALA_INTEROP_2(ObjectExpressionPropertiesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
910
1070
|
|
|
@@ -932,7 +1092,7 @@ KNativePointer impl_ObjectExpressionDecoratorsConst(KNativePointer context, KNat
|
|
|
932
1092
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
933
1093
|
std::size_t length;
|
|
934
1094
|
auto result = GetImpl()->ObjectExpressionDecoratorsConst(_context, _receiver, &length);
|
|
935
|
-
return (void*)
|
|
1095
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
936
1096
|
}
|
|
937
1097
|
KOALA_INTEROP_2(ObjectExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
938
1098
|
|
|
@@ -1260,7 +1420,7 @@ KNativePointer impl_CallExpressionArgumentsConst(KNativePointer context, KNative
|
|
|
1260
1420
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1261
1421
|
std::size_t length;
|
|
1262
1422
|
auto result = GetImpl()->CallExpressionArgumentsConst(_context, _receiver, &length);
|
|
1263
|
-
return (void*)
|
|
1423
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
1264
1424
|
}
|
|
1265
1425
|
KOALA_INTEROP_2(CallExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1266
1426
|
|
|
@@ -1270,7 +1430,7 @@ KNativePointer impl_CallExpressionArguments(KNativePointer context, KNativePoint
|
|
|
1270
1430
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1271
1431
|
std::size_t length;
|
|
1272
1432
|
auto result = GetImpl()->CallExpressionArguments(_context, _receiver, &length);
|
|
1273
|
-
return
|
|
1433
|
+
return StageArena::cloneVector(result, length);
|
|
1274
1434
|
}
|
|
1275
1435
|
KOALA_INTEROP_2(CallExpressionArguments, KNativePointer, KNativePointer, KNativePointer);
|
|
1276
1436
|
|
|
@@ -1340,6 +1500,25 @@ KBoolean impl_CallExpressionIsTrailingBlockInNewLineConst(KNativePointer context
|
|
|
1340
1500
|
}
|
|
1341
1501
|
KOALA_INTEROP_2(CallExpressionIsTrailingBlockInNewLineConst, KBoolean, KNativePointer, KNativePointer);
|
|
1342
1502
|
|
|
1503
|
+
void impl_CallExpressionSetIsTrailingCall(KNativePointer context, KNativePointer receiver, KBoolean isTrailingCall)
|
|
1504
|
+
{
|
|
1505
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1506
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1507
|
+
const auto _isTrailingCall = static_cast<KBoolean>(isTrailingCall);
|
|
1508
|
+
GetImpl()->CallExpressionSetIsTrailingCall(_context, _receiver, _isTrailingCall);
|
|
1509
|
+
return ;
|
|
1510
|
+
}
|
|
1511
|
+
KOALA_INTEROP_V3(CallExpressionSetIsTrailingCall, KNativePointer, KNativePointer, KBoolean);
|
|
1512
|
+
|
|
1513
|
+
KBoolean impl_CallExpressionIsTrailingCallConst(KNativePointer context, KNativePointer receiver)
|
|
1514
|
+
{
|
|
1515
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1516
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1517
|
+
auto result = GetImpl()->CallExpressionIsTrailingCallConst(_context, _receiver);
|
|
1518
|
+
return result;
|
|
1519
|
+
}
|
|
1520
|
+
KOALA_INTEROP_2(CallExpressionIsTrailingCallConst, KBoolean, KNativePointer, KNativePointer);
|
|
1521
|
+
|
|
1343
1522
|
KBoolean impl_CallExpressionIsETSConstructorCallConst(KNativePointer context, KNativePointer receiver)
|
|
1344
1523
|
{
|
|
1345
1524
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -1349,6 +1528,15 @@ KBoolean impl_CallExpressionIsETSConstructorCallConst(KNativePointer context, KN
|
|
|
1349
1528
|
}
|
|
1350
1529
|
KOALA_INTEROP_2(CallExpressionIsETSConstructorCallConst, KBoolean, KNativePointer, KNativePointer);
|
|
1351
1530
|
|
|
1531
|
+
KBoolean impl_CallExpressionIsDynamicCallConst(KNativePointer context, KNativePointer receiver)
|
|
1532
|
+
{
|
|
1533
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1534
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1535
|
+
auto result = GetImpl()->CallExpressionIsDynamicCallConst(_context, _receiver);
|
|
1536
|
+
return result;
|
|
1537
|
+
}
|
|
1538
|
+
KOALA_INTEROP_2(CallExpressionIsDynamicCallConst, KBoolean, KNativePointer, KNativePointer);
|
|
1539
|
+
|
|
1352
1540
|
KNativePointer impl_CreateBigIntLiteral(KNativePointer context, KStringPtr& src)
|
|
1353
1541
|
{
|
|
1354
1542
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -1373,7 +1561,7 @@ KNativePointer impl_BigIntLiteralStrConst(KNativePointer context, KNativePointer
|
|
|
1373
1561
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1374
1562
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1375
1563
|
auto result = GetImpl()->BigIntLiteralStrConst(_context, _receiver);
|
|
1376
|
-
return
|
|
1564
|
+
return StageArena::strdup(result);
|
|
1377
1565
|
}
|
|
1378
1566
|
KOALA_INTEROP_2(BigIntLiteralStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1379
1567
|
|
|
@@ -1475,7 +1663,7 @@ KNativePointer impl_ClassElementDecoratorsConst(KNativePointer context, KNativeP
|
|
|
1475
1663
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1476
1664
|
std::size_t length;
|
|
1477
1665
|
auto result = GetImpl()->ClassElementDecoratorsConst(_context, _receiver, &length);
|
|
1478
|
-
return (void*)
|
|
1666
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
1479
1667
|
}
|
|
1480
1668
|
KOALA_INTEROP_2(ClassElementDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1481
1669
|
|
|
@@ -1508,6 +1696,56 @@ KInt impl_ClassElementToPrivateFieldKindConst(KNativePointer context, KNativePoi
|
|
|
1508
1696
|
}
|
|
1509
1697
|
KOALA_INTEROP_3(ClassElementToPrivateFieldKindConst, KInt, KNativePointer, KNativePointer, KBoolean);
|
|
1510
1698
|
|
|
1699
|
+
void impl_ClassElementEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
|
|
1700
|
+
{
|
|
1701
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1702
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1703
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
1704
|
+
GetImpl()->ClassElementEmplaceDecorators(_context, _receiver, _decorators);
|
|
1705
|
+
return ;
|
|
1706
|
+
}
|
|
1707
|
+
KOALA_INTEROP_V3(ClassElementEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
1708
|
+
|
|
1709
|
+
void impl_ClassElementClearDecorators(KNativePointer context, KNativePointer receiver)
|
|
1710
|
+
{
|
|
1711
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1712
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1713
|
+
GetImpl()->ClassElementClearDecorators(_context, _receiver);
|
|
1714
|
+
return ;
|
|
1715
|
+
}
|
|
1716
|
+
KOALA_INTEROP_V2(ClassElementClearDecorators, KNativePointer, KNativePointer);
|
|
1717
|
+
|
|
1718
|
+
void impl_ClassElementSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
|
|
1719
|
+
{
|
|
1720
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1721
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1722
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
1723
|
+
const auto _index = static_cast<KUInt>(index);
|
|
1724
|
+
GetImpl()->ClassElementSetValueDecorators(_context, _receiver, _decorators, _index);
|
|
1725
|
+
return ;
|
|
1726
|
+
}
|
|
1727
|
+
KOALA_INTEROP_V4(ClassElementSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
1728
|
+
|
|
1729
|
+
KNativePointer impl_ClassElementDecorators(KNativePointer context, KNativePointer receiver)
|
|
1730
|
+
{
|
|
1731
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1732
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1733
|
+
std::size_t length;
|
|
1734
|
+
auto result = GetImpl()->ClassElementDecorators(_context, _receiver, &length);
|
|
1735
|
+
return StageArena::cloneVector(result, length);
|
|
1736
|
+
}
|
|
1737
|
+
KOALA_INTEROP_2(ClassElementDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
1738
|
+
|
|
1739
|
+
KNativePointer impl_ClassElementDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
1740
|
+
{
|
|
1741
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1742
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1743
|
+
std::size_t length;
|
|
1744
|
+
auto result = GetImpl()->ClassElementDecoratorsForUpdate(_context, _receiver, &length);
|
|
1745
|
+
return StageArena::cloneVector(result, length);
|
|
1746
|
+
}
|
|
1747
|
+
KOALA_INTEROP_2(ClassElementDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
1748
|
+
|
|
1511
1749
|
KNativePointer impl_CreateTSImportType(KNativePointer context, KNativePointer param, KNativePointer typeParams, KNativePointer qualifier, KBoolean isTypeof)
|
|
1512
1750
|
{
|
|
1513
1751
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -1692,13 +1930,63 @@ KNativePointer impl_FunctionDeclarationFunctionConst(KNativePointer context, KNa
|
|
|
1692
1930
|
}
|
|
1693
1931
|
KOALA_INTEROP_2(FunctionDeclarationFunctionConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1694
1932
|
|
|
1933
|
+
KNativePointer impl_FunctionDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
|
|
1934
|
+
{
|
|
1935
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1936
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1937
|
+
std::size_t length;
|
|
1938
|
+
auto result = GetImpl()->FunctionDeclarationDecoratorsConst(_context, _receiver, &length);
|
|
1939
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
1940
|
+
}
|
|
1941
|
+
KOALA_INTEROP_2(FunctionDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1942
|
+
|
|
1943
|
+
void impl_FunctionDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
1944
|
+
{
|
|
1945
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1946
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1947
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
1948
|
+
GetImpl()->FunctionDeclarationEmplaceAnnotations(_context, _receiver, _source);
|
|
1949
|
+
return ;
|
|
1950
|
+
}
|
|
1951
|
+
KOALA_INTEROP_V3(FunctionDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
1952
|
+
|
|
1953
|
+
void impl_FunctionDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
1954
|
+
{
|
|
1955
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1956
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1957
|
+
GetImpl()->FunctionDeclarationClearAnnotations(_context, _receiver);
|
|
1958
|
+
return ;
|
|
1959
|
+
}
|
|
1960
|
+
KOALA_INTEROP_V2(FunctionDeclarationClearAnnotations, KNativePointer, KNativePointer);
|
|
1961
|
+
|
|
1962
|
+
void impl_FunctionDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
1963
|
+
{
|
|
1964
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1965
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1966
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
1967
|
+
const auto _index = static_cast<KUInt>(index);
|
|
1968
|
+
GetImpl()->FunctionDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
|
|
1969
|
+
return ;
|
|
1970
|
+
}
|
|
1971
|
+
KOALA_INTEROP_V4(FunctionDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
1972
|
+
|
|
1973
|
+
KNativePointer impl_FunctionDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
1974
|
+
{
|
|
1975
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1976
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1977
|
+
std::size_t length;
|
|
1978
|
+
auto result = GetImpl()->FunctionDeclarationAnnotationsForUpdate(_context, _receiver, &length);
|
|
1979
|
+
return StageArena::cloneVector(result, length);
|
|
1980
|
+
}
|
|
1981
|
+
KOALA_INTEROP_2(FunctionDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
1982
|
+
|
|
1695
1983
|
KNativePointer impl_FunctionDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
|
|
1696
1984
|
{
|
|
1697
1985
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1698
1986
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1699
1987
|
std::size_t length;
|
|
1700
1988
|
auto result = GetImpl()->FunctionDeclarationAnnotations(_context, _receiver, &length);
|
|
1701
|
-
return
|
|
1989
|
+
return StageArena::cloneVector(result, length);
|
|
1702
1990
|
}
|
|
1703
1991
|
KOALA_INTEROP_2(FunctionDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
1704
1992
|
|
|
@@ -1708,21 +1996,42 @@ KNativePointer impl_FunctionDeclarationAnnotationsConst(KNativePointer context,
|
|
|
1708
1996
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1709
1997
|
std::size_t length;
|
|
1710
1998
|
auto result = GetImpl()->FunctionDeclarationAnnotationsConst(_context, _receiver, &length);
|
|
1711
|
-
return (void*)
|
|
1999
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
1712
2000
|
}
|
|
1713
2001
|
KOALA_INTEROP_2(FunctionDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1714
2002
|
|
|
1715
|
-
void impl_FunctionDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
2003
|
+
void impl_FunctionDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
1716
2004
|
{
|
|
1717
2005
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1718
2006
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1719
|
-
const auto
|
|
1720
|
-
const auto
|
|
1721
|
-
GetImpl()->FunctionDeclarationSetAnnotations(_context, _receiver,
|
|
2007
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
2008
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
2009
|
+
GetImpl()->FunctionDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
1722
2010
|
return ;
|
|
1723
2011
|
}
|
|
1724
2012
|
KOALA_INTEROP_V4(FunctionDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
1725
2013
|
|
|
2014
|
+
void impl_FunctionDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
2015
|
+
{
|
|
2016
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2017
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2018
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
2019
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
2020
|
+
GetImpl()->FunctionDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
2021
|
+
return ;
|
|
2022
|
+
}
|
|
2023
|
+
KOALA_INTEROP_V4(FunctionDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2024
|
+
|
|
2025
|
+
void impl_FunctionDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
2026
|
+
{
|
|
2027
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2028
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2029
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
2030
|
+
GetImpl()->FunctionDeclarationAddAnnotations(_context, _receiver, _annotations);
|
|
2031
|
+
return ;
|
|
2032
|
+
}
|
|
2033
|
+
KOALA_INTEROP_V3(FunctionDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2034
|
+
|
|
1726
2035
|
KNativePointer impl_CreateETSTypeReference(KNativePointer context, KNativePointer part)
|
|
1727
2036
|
{
|
|
1728
2037
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -1936,7 +2245,7 @@ KNativePointer impl_TSFunctionTypeParamsConst(KNativePointer context, KNativePoi
|
|
|
1936
2245
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1937
2246
|
std::size_t length;
|
|
1938
2247
|
auto result = GetImpl()->TSFunctionTypeParamsConst(_context, _receiver, &length);
|
|
1939
|
-
return (void*)
|
|
2248
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
1940
2249
|
}
|
|
1941
2250
|
KOALA_INTEROP_2(TSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1942
2251
|
|
|
@@ -2011,7 +2320,7 @@ KNativePointer impl_TemplateElementRawConst(KNativePointer context, KNativePoint
|
|
|
2011
2320
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2012
2321
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2013
2322
|
auto result = GetImpl()->TemplateElementRawConst(_context, _receiver);
|
|
2014
|
-
return
|
|
2323
|
+
return StageArena::strdup(result);
|
|
2015
2324
|
}
|
|
2016
2325
|
KOALA_INTEROP_2(TemplateElementRawConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2017
2326
|
|
|
@@ -2020,7 +2329,7 @@ KNativePointer impl_TemplateElementCookedConst(KNativePointer context, KNativePo
|
|
|
2020
2329
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2021
2330
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2022
2331
|
auto result = GetImpl()->TemplateElementCookedConst(_context, _receiver);
|
|
2023
|
-
return
|
|
2332
|
+
return StageArena::strdup(result);
|
|
2024
2333
|
}
|
|
2025
2334
|
KOALA_INTEROP_2(TemplateElementCookedConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2026
2335
|
|
|
@@ -2096,7 +2405,7 @@ KNativePointer impl_TSInterfaceDeclarationInternalNameConst(KNativePointer conte
|
|
|
2096
2405
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2097
2406
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2098
2407
|
auto result = GetImpl()->TSInterfaceDeclarationInternalNameConst(_context, _receiver);
|
|
2099
|
-
return
|
|
2408
|
+
return StageArena::strdup(result);
|
|
2100
2409
|
}
|
|
2101
2410
|
KOALA_INTEROP_2(TSInterfaceDeclarationInternalNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2102
2411
|
|
|
@@ -2152,17 +2461,27 @@ KNativePointer impl_TSInterfaceDeclarationExtends(KNativePointer context, KNativ
|
|
|
2152
2461
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2153
2462
|
std::size_t length;
|
|
2154
2463
|
auto result = GetImpl()->TSInterfaceDeclarationExtends(_context, _receiver, &length);
|
|
2155
|
-
return
|
|
2464
|
+
return StageArena::cloneVector(result, length);
|
|
2156
2465
|
}
|
|
2157
2466
|
KOALA_INTEROP_2(TSInterfaceDeclarationExtends, KNativePointer, KNativePointer, KNativePointer);
|
|
2158
2467
|
|
|
2468
|
+
KNativePointer impl_TSInterfaceDeclarationExtendsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
2469
|
+
{
|
|
2470
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2471
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2472
|
+
std::size_t length;
|
|
2473
|
+
auto result = GetImpl()->TSInterfaceDeclarationExtendsForUpdate(_context, _receiver, &length);
|
|
2474
|
+
return StageArena::cloneVector(result, length);
|
|
2475
|
+
}
|
|
2476
|
+
KOALA_INTEROP_2(TSInterfaceDeclarationExtendsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
2477
|
+
|
|
2159
2478
|
KNativePointer impl_TSInterfaceDeclarationExtendsConst(KNativePointer context, KNativePointer receiver)
|
|
2160
2479
|
{
|
|
2161
2480
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2162
2481
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2163
2482
|
std::size_t length;
|
|
2164
2483
|
auto result = GetImpl()->TSInterfaceDeclarationExtendsConst(_context, _receiver, &length);
|
|
2165
|
-
return (void*)
|
|
2484
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2166
2485
|
}
|
|
2167
2486
|
KOALA_INTEROP_2(TSInterfaceDeclarationExtendsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2168
2487
|
|
|
@@ -2172,7 +2491,7 @@ KNativePointer impl_TSInterfaceDeclarationDecoratorsConst(KNativePointer context
|
|
|
2172
2491
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2173
2492
|
std::size_t length;
|
|
2174
2493
|
auto result = GetImpl()->TSInterfaceDeclarationDecoratorsConst(_context, _receiver, &length);
|
|
2175
|
-
return (void*)
|
|
2494
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2176
2495
|
}
|
|
2177
2496
|
KOALA_INTEROP_2(TSInterfaceDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2178
2497
|
|
|
@@ -2204,106 +2523,327 @@ void impl_TSInterfaceDeclarationSetAnonClass(KNativePointer context, KNativePoin
|
|
|
2204
2523
|
}
|
|
2205
2524
|
KOALA_INTEROP_V3(TSInterfaceDeclarationSetAnonClass, KNativePointer, KNativePointer, KNativePointer);
|
|
2206
2525
|
|
|
2207
|
-
|
|
2526
|
+
void impl_TSInterfaceDeclarationEmplaceExtends(KNativePointer context, KNativePointer receiver, KNativePointer _extends)
|
|
2208
2527
|
{
|
|
2209
2528
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2210
2529
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
return
|
|
2530
|
+
const auto __extends = reinterpret_cast<es2panda_AstNode*>(_extends);
|
|
2531
|
+
GetImpl()->TSInterfaceDeclarationEmplaceExtends(_context, _receiver, __extends);
|
|
2532
|
+
return ;
|
|
2214
2533
|
}
|
|
2215
|
-
|
|
2534
|
+
KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceExtends, KNativePointer, KNativePointer, KNativePointer);
|
|
2216
2535
|
|
|
2217
|
-
|
|
2536
|
+
void impl_TSInterfaceDeclarationClearExtends(KNativePointer context, KNativePointer receiver)
|
|
2218
2537
|
{
|
|
2219
2538
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2220
2539
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
return (void*)new std::vector<void*>(result, result + length);
|
|
2540
|
+
GetImpl()->TSInterfaceDeclarationClearExtends(_context, _receiver);
|
|
2541
|
+
return ;
|
|
2224
2542
|
}
|
|
2225
|
-
|
|
2543
|
+
KOALA_INTEROP_V2(TSInterfaceDeclarationClearExtends, KNativePointer, KNativePointer);
|
|
2226
2544
|
|
|
2227
|
-
void
|
|
2545
|
+
void impl_TSInterfaceDeclarationSetValueExtends(KNativePointer context, KNativePointer receiver, KNativePointer _extends, KUInt index)
|
|
2228
2546
|
{
|
|
2229
2547
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2230
2548
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2231
|
-
const auto
|
|
2232
|
-
const auto
|
|
2233
|
-
GetImpl()->
|
|
2549
|
+
const auto __extends = reinterpret_cast<es2panda_AstNode*>(_extends);
|
|
2550
|
+
const auto _index = static_cast<KUInt>(index);
|
|
2551
|
+
GetImpl()->TSInterfaceDeclarationSetValueExtends(_context, _receiver, __extends, _index);
|
|
2234
2552
|
return ;
|
|
2235
2553
|
}
|
|
2236
|
-
KOALA_INTEROP_V4(
|
|
2554
|
+
KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueExtends, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
2237
2555
|
|
|
2238
|
-
|
|
2556
|
+
void impl_TSInterfaceDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
|
|
2239
2557
|
{
|
|
2240
2558
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2241
|
-
const auto
|
|
2242
|
-
const auto
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
return result;
|
|
2559
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2560
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
2561
|
+
GetImpl()->TSInterfaceDeclarationEmplaceDecorators(_context, _receiver, _decorators);
|
|
2562
|
+
return ;
|
|
2246
2563
|
}
|
|
2247
|
-
|
|
2564
|
+
KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
2248
2565
|
|
|
2249
|
-
|
|
2566
|
+
void impl_TSInterfaceDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
|
|
2250
2567
|
{
|
|
2251
2568
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2252
|
-
const auto
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
const auto _declaratorsSequenceLength = static_cast<KUInt>(declaratorsSequenceLength);
|
|
2256
|
-
auto result = GetImpl()->UpdateVariableDeclaration(_context, _original, _kind, _declarators, _declaratorsSequenceLength);
|
|
2257
|
-
return result;
|
|
2569
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2570
|
+
GetImpl()->TSInterfaceDeclarationClearDecorators(_context, _receiver);
|
|
2571
|
+
return ;
|
|
2258
2572
|
}
|
|
2259
|
-
|
|
2573
|
+
KOALA_INTEROP_V2(TSInterfaceDeclarationClearDecorators, KNativePointer, KNativePointer);
|
|
2260
2574
|
|
|
2261
|
-
|
|
2575
|
+
void impl_TSInterfaceDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
|
|
2262
2576
|
{
|
|
2263
2577
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2264
2578
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2265
|
-
|
|
2266
|
-
auto
|
|
2267
|
-
|
|
2579
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
2580
|
+
const auto _index = static_cast<KUInt>(index);
|
|
2581
|
+
GetImpl()->TSInterfaceDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
|
|
2582
|
+
return ;
|
|
2268
2583
|
}
|
|
2269
|
-
|
|
2584
|
+
KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
2270
2585
|
|
|
2271
|
-
|
|
2586
|
+
KNativePointer impl_TSInterfaceDeclarationDecorators(KNativePointer context, KNativePointer receiver)
|
|
2272
2587
|
{
|
|
2273
2588
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2274
2589
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2275
|
-
|
|
2276
|
-
|
|
2590
|
+
std::size_t length;
|
|
2591
|
+
auto result = GetImpl()->TSInterfaceDeclarationDecorators(_context, _receiver, &length);
|
|
2592
|
+
return StageArena::cloneVector(result, length);
|
|
2277
2593
|
}
|
|
2278
|
-
KOALA_INTEROP_2(
|
|
2594
|
+
KOALA_INTEROP_2(TSInterfaceDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
2279
2595
|
|
|
2280
|
-
KNativePointer
|
|
2596
|
+
KNativePointer impl_TSInterfaceDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
2281
2597
|
{
|
|
2282
2598
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2283
2599
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2284
2600
|
std::size_t length;
|
|
2285
|
-
auto result = GetImpl()->
|
|
2286
|
-
return
|
|
2601
|
+
auto result = GetImpl()->TSInterfaceDeclarationDecoratorsForUpdate(_context, _receiver, &length);
|
|
2602
|
+
return StageArena::cloneVector(result, length);
|
|
2287
2603
|
}
|
|
2288
|
-
KOALA_INTEROP_2(
|
|
2604
|
+
KOALA_INTEROP_2(TSInterfaceDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
2289
2605
|
|
|
2290
|
-
|
|
2606
|
+
void impl_TSInterfaceDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
2291
2607
|
{
|
|
2292
2608
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2293
2609
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2294
|
-
const auto
|
|
2295
|
-
|
|
2296
|
-
return
|
|
2610
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
2611
|
+
GetImpl()->TSInterfaceDeclarationEmplaceAnnotations(_context, _receiver, _source);
|
|
2612
|
+
return ;
|
|
2613
|
+
}
|
|
2614
|
+
KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2615
|
+
|
|
2616
|
+
void impl_TSInterfaceDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
2617
|
+
{
|
|
2618
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2619
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2620
|
+
GetImpl()->TSInterfaceDeclarationClearAnnotations(_context, _receiver);
|
|
2621
|
+
return ;
|
|
2622
|
+
}
|
|
2623
|
+
KOALA_INTEROP_V2(TSInterfaceDeclarationClearAnnotations, KNativePointer, KNativePointer);
|
|
2624
|
+
|
|
2625
|
+
void impl_TSInterfaceDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
2626
|
+
{
|
|
2627
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2628
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2629
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
2630
|
+
const auto _index = static_cast<KUInt>(index);
|
|
2631
|
+
GetImpl()->TSInterfaceDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
|
|
2632
|
+
return ;
|
|
2633
|
+
}
|
|
2634
|
+
KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
2635
|
+
|
|
2636
|
+
KNativePointer impl_TSInterfaceDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
2637
|
+
{
|
|
2638
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2639
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2640
|
+
std::size_t length;
|
|
2641
|
+
auto result = GetImpl()->TSInterfaceDeclarationAnnotationsForUpdate(_context, _receiver, &length);
|
|
2642
|
+
return StageArena::cloneVector(result, length);
|
|
2643
|
+
}
|
|
2644
|
+
KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
2645
|
+
|
|
2646
|
+
KNativePointer impl_TSInterfaceDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
|
|
2647
|
+
{
|
|
2648
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2649
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2650
|
+
std::size_t length;
|
|
2651
|
+
auto result = GetImpl()->TSInterfaceDeclarationAnnotations(_context, _receiver, &length);
|
|
2652
|
+
return StageArena::cloneVector(result, length);
|
|
2653
|
+
}
|
|
2654
|
+
KOALA_INTEROP_2(TSInterfaceDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2655
|
+
|
|
2656
|
+
KNativePointer impl_TSInterfaceDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver)
|
|
2657
|
+
{
|
|
2658
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2659
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2660
|
+
std::size_t length;
|
|
2661
|
+
auto result = GetImpl()->TSInterfaceDeclarationAnnotationsConst(_context, _receiver, &length);
|
|
2662
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2663
|
+
}
|
|
2664
|
+
KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2665
|
+
|
|
2666
|
+
void impl_TSInterfaceDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
2667
|
+
{
|
|
2668
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2669
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2670
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
2671
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
2672
|
+
GetImpl()->TSInterfaceDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
2673
|
+
return ;
|
|
2674
|
+
}
|
|
2675
|
+
KOALA_INTEROP_V4(TSInterfaceDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2676
|
+
|
|
2677
|
+
void impl_TSInterfaceDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
2678
|
+
{
|
|
2679
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2680
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2681
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
2682
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
2683
|
+
GetImpl()->TSInterfaceDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
2684
|
+
return ;
|
|
2685
|
+
}
|
|
2686
|
+
KOALA_INTEROP_V4(TSInterfaceDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2687
|
+
|
|
2688
|
+
void impl_TSInterfaceDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
2689
|
+
{
|
|
2690
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2691
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2692
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
2693
|
+
GetImpl()->TSInterfaceDeclarationAddAnnotations(_context, _receiver, _annotations);
|
|
2694
|
+
return ;
|
|
2695
|
+
}
|
|
2696
|
+
KOALA_INTEROP_V3(TSInterfaceDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2697
|
+
|
|
2698
|
+
KNativePointer impl_CreateVariableDeclaration(KNativePointer context, KInt kind, KNativePointerArray declarators, KUInt declaratorsSequenceLength)
|
|
2699
|
+
{
|
|
2700
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2701
|
+
const auto _kind = static_cast<Es2pandaVariableDeclarationKind>(kind);
|
|
2702
|
+
const auto _declarators = reinterpret_cast<es2panda_AstNode**>(declarators);
|
|
2703
|
+
const auto _declaratorsSequenceLength = static_cast<KUInt>(declaratorsSequenceLength);
|
|
2704
|
+
auto result = GetImpl()->CreateVariableDeclaration(_context, _kind, _declarators, _declaratorsSequenceLength);
|
|
2705
|
+
return result;
|
|
2706
|
+
}
|
|
2707
|
+
KOALA_INTEROP_4(CreateVariableDeclaration, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt);
|
|
2708
|
+
|
|
2709
|
+
KNativePointer impl_UpdateVariableDeclaration(KNativePointer context, KNativePointer original, KInt kind, KNativePointerArray declarators, KUInt declaratorsSequenceLength)
|
|
2710
|
+
{
|
|
2711
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2712
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
2713
|
+
const auto _kind = static_cast<Es2pandaVariableDeclarationKind>(kind);
|
|
2714
|
+
const auto _declarators = reinterpret_cast<es2panda_AstNode**>(declarators);
|
|
2715
|
+
const auto _declaratorsSequenceLength = static_cast<KUInt>(declaratorsSequenceLength);
|
|
2716
|
+
auto result = GetImpl()->UpdateVariableDeclaration(_context, _original, _kind, _declarators, _declaratorsSequenceLength);
|
|
2717
|
+
return result;
|
|
2718
|
+
}
|
|
2719
|
+
KOALA_INTEROP_5(UpdateVariableDeclaration, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt);
|
|
2720
|
+
|
|
2721
|
+
KNativePointer impl_VariableDeclarationDeclaratorsConst(KNativePointer context, KNativePointer receiver)
|
|
2722
|
+
{
|
|
2723
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2724
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2725
|
+
std::size_t length;
|
|
2726
|
+
auto result = GetImpl()->VariableDeclarationDeclaratorsConst(_context, _receiver, &length);
|
|
2727
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2728
|
+
}
|
|
2729
|
+
KOALA_INTEROP_2(VariableDeclarationDeclaratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2730
|
+
|
|
2731
|
+
KNativePointer impl_VariableDeclarationDeclarators(KNativePointer context, KNativePointer receiver)
|
|
2732
|
+
{
|
|
2733
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2734
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2735
|
+
std::size_t length;
|
|
2736
|
+
auto result = GetImpl()->VariableDeclarationDeclarators(_context, _receiver, &length);
|
|
2737
|
+
return StageArena::cloneVector(result, length);
|
|
2738
|
+
}
|
|
2739
|
+
KOALA_INTEROP_2(VariableDeclarationDeclarators, KNativePointer, KNativePointer, KNativePointer);
|
|
2740
|
+
|
|
2741
|
+
KNativePointer impl_VariableDeclarationDeclaratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
2742
|
+
{
|
|
2743
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2744
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2745
|
+
std::size_t length;
|
|
2746
|
+
auto result = GetImpl()->VariableDeclarationDeclaratorsForUpdate(_context, _receiver, &length);
|
|
2747
|
+
return StageArena::cloneVector(result, length);
|
|
2748
|
+
}
|
|
2749
|
+
KOALA_INTEROP_2(VariableDeclarationDeclaratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
2750
|
+
|
|
2751
|
+
KInt impl_VariableDeclarationKindConst(KNativePointer context, KNativePointer receiver)
|
|
2752
|
+
{
|
|
2753
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2754
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2755
|
+
auto result = GetImpl()->VariableDeclarationKindConst(_context, _receiver);
|
|
2756
|
+
return result;
|
|
2757
|
+
}
|
|
2758
|
+
KOALA_INTEROP_2(VariableDeclarationKindConst, KInt, KNativePointer, KNativePointer);
|
|
2759
|
+
|
|
2760
|
+
KNativePointer impl_VariableDeclarationDecoratorsConst(KNativePointer context, KNativePointer receiver)
|
|
2761
|
+
{
|
|
2762
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2763
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2764
|
+
std::size_t length;
|
|
2765
|
+
auto result = GetImpl()->VariableDeclarationDecoratorsConst(_context, _receiver, &length);
|
|
2766
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2767
|
+
}
|
|
2768
|
+
KOALA_INTEROP_2(VariableDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2769
|
+
|
|
2770
|
+
KNativePointer impl_VariableDeclarationDecorators(KNativePointer context, KNativePointer receiver)
|
|
2771
|
+
{
|
|
2772
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2773
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2774
|
+
std::size_t length;
|
|
2775
|
+
auto result = GetImpl()->VariableDeclarationDecorators(_context, _receiver, &length);
|
|
2776
|
+
return StageArena::cloneVector(result, length);
|
|
2777
|
+
}
|
|
2778
|
+
KOALA_INTEROP_2(VariableDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
2779
|
+
|
|
2780
|
+
KNativePointer impl_VariableDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
2781
|
+
{
|
|
2782
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2783
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2784
|
+
std::size_t length;
|
|
2785
|
+
auto result = GetImpl()->VariableDeclarationDecoratorsForUpdate(_context, _receiver, &length);
|
|
2786
|
+
return StageArena::cloneVector(result, length);
|
|
2787
|
+
}
|
|
2788
|
+
KOALA_INTEROP_2(VariableDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
2789
|
+
|
|
2790
|
+
KNativePointer impl_VariableDeclarationGetDeclaratorByNameConst(KNativePointer context, KNativePointer receiver, KStringPtr& name)
|
|
2791
|
+
{
|
|
2792
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2793
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2794
|
+
const auto _name = getStringCopy(name);
|
|
2795
|
+
auto result = GetImpl()->VariableDeclarationGetDeclaratorByNameConst(_context, _receiver, _name);
|
|
2796
|
+
return (void*)result;
|
|
2297
2797
|
}
|
|
2298
2798
|
KOALA_INTEROP_3(VariableDeclarationGetDeclaratorByNameConst, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
|
|
2299
2799
|
|
|
2800
|
+
void impl_VariableDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
2801
|
+
{
|
|
2802
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2803
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2804
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
2805
|
+
GetImpl()->VariableDeclarationEmplaceAnnotations(_context, _receiver, _source);
|
|
2806
|
+
return ;
|
|
2807
|
+
}
|
|
2808
|
+
KOALA_INTEROP_V3(VariableDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2809
|
+
|
|
2810
|
+
void impl_VariableDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
2811
|
+
{
|
|
2812
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2813
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2814
|
+
GetImpl()->VariableDeclarationClearAnnotations(_context, _receiver);
|
|
2815
|
+
return ;
|
|
2816
|
+
}
|
|
2817
|
+
KOALA_INTEROP_V2(VariableDeclarationClearAnnotations, KNativePointer, KNativePointer);
|
|
2818
|
+
|
|
2819
|
+
void impl_VariableDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
2820
|
+
{
|
|
2821
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2822
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2823
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
2824
|
+
const auto _index = static_cast<KUInt>(index);
|
|
2825
|
+
GetImpl()->VariableDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
|
|
2826
|
+
return ;
|
|
2827
|
+
}
|
|
2828
|
+
KOALA_INTEROP_V4(VariableDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
2829
|
+
|
|
2830
|
+
KNativePointer impl_VariableDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
2831
|
+
{
|
|
2832
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2833
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2834
|
+
std::size_t length;
|
|
2835
|
+
auto result = GetImpl()->VariableDeclarationAnnotationsForUpdate(_context, _receiver, &length);
|
|
2836
|
+
return StageArena::cloneVector(result, length);
|
|
2837
|
+
}
|
|
2838
|
+
KOALA_INTEROP_2(VariableDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
2839
|
+
|
|
2300
2840
|
KNativePointer impl_VariableDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
|
|
2301
2841
|
{
|
|
2302
2842
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2303
2843
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2304
2844
|
std::size_t length;
|
|
2305
2845
|
auto result = GetImpl()->VariableDeclarationAnnotations(_context, _receiver, &length);
|
|
2306
|
-
return
|
|
2846
|
+
return StageArena::cloneVector(result, length);
|
|
2307
2847
|
}
|
|
2308
2848
|
KOALA_INTEROP_2(VariableDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2309
2849
|
|
|
@@ -2313,21 +2853,42 @@ KNativePointer impl_VariableDeclarationAnnotationsConst(KNativePointer context,
|
|
|
2313
2853
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2314
2854
|
std::size_t length;
|
|
2315
2855
|
auto result = GetImpl()->VariableDeclarationAnnotationsConst(_context, _receiver, &length);
|
|
2316
|
-
return (void*)
|
|
2856
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2317
2857
|
}
|
|
2318
2858
|
KOALA_INTEROP_2(VariableDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2319
2859
|
|
|
2320
|
-
void impl_VariableDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
2860
|
+
void impl_VariableDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
2321
2861
|
{
|
|
2322
2862
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2323
2863
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2324
|
-
const auto
|
|
2325
|
-
const auto
|
|
2326
|
-
GetImpl()->VariableDeclarationSetAnnotations(_context, _receiver,
|
|
2864
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
2865
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
2866
|
+
GetImpl()->VariableDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
2327
2867
|
return ;
|
|
2328
2868
|
}
|
|
2329
2869
|
KOALA_INTEROP_V4(VariableDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2330
2870
|
|
|
2871
|
+
void impl_VariableDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
2872
|
+
{
|
|
2873
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2874
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2875
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
2876
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
2877
|
+
GetImpl()->VariableDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
2878
|
+
return ;
|
|
2879
|
+
}
|
|
2880
|
+
KOALA_INTEROP_V4(VariableDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2881
|
+
|
|
2882
|
+
void impl_VariableDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
2883
|
+
{
|
|
2884
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2885
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2886
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
2887
|
+
GetImpl()->VariableDeclarationAddAnnotations(_context, _receiver, _annotations);
|
|
2888
|
+
return ;
|
|
2889
|
+
}
|
|
2890
|
+
KOALA_INTEROP_V3(VariableDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2891
|
+
|
|
2331
2892
|
KNativePointer impl_CreateUndefinedLiteral(KNativePointer context)
|
|
2332
2893
|
{
|
|
2333
2894
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -2646,10 +3207,21 @@ KNativePointer impl_ETSUnionTypeTypesConst(KNativePointer context, KNativePointe
|
|
|
2646
3207
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2647
3208
|
std::size_t length;
|
|
2648
3209
|
auto result = GetImpl()->ETSUnionTypeIrTypesConst(_context, _receiver, &length);
|
|
2649
|
-
return (void*)
|
|
3210
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2650
3211
|
}
|
|
2651
3212
|
KOALA_INTEROP_2(ETSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2652
3213
|
|
|
3214
|
+
void impl_ETSUnionTypeSetValueTypesConst(KNativePointer context, KNativePointer receiver, KNativePointer type, KUInt index)
|
|
3215
|
+
{
|
|
3216
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3217
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3218
|
+
const auto _type = reinterpret_cast<es2panda_AstNode*>(type);
|
|
3219
|
+
const auto _index = static_cast<KUInt>(index);
|
|
3220
|
+
GetImpl()->ETSUnionTypeIrSetValueTypesConst(_context, _receiver, _type, _index);
|
|
3221
|
+
return ;
|
|
3222
|
+
}
|
|
3223
|
+
KOALA_INTEROP_V4(ETSUnionTypeSetValueTypesConst, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
3224
|
+
|
|
2653
3225
|
KNativePointer impl_CreateETSKeyofType(KNativePointer context, KNativePointer type)
|
|
2654
3226
|
{
|
|
2655
3227
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -2933,7 +3505,7 @@ KNativePointer impl_TSTypeAliasDeclarationDecoratorsConst(KNativePointer context
|
|
|
2933
3505
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2934
3506
|
std::size_t length;
|
|
2935
3507
|
auto result = GetImpl()->TSTypeAliasDeclarationDecoratorsConst(_context, _receiver, &length);
|
|
2936
|
-
return (void*)
|
|
3508
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2937
3509
|
}
|
|
2938
3510
|
KOALA_INTEROP_2(TSTypeAliasDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2939
3511
|
|
|
@@ -2947,23 +3519,13 @@ void impl_TSTypeAliasDeclarationSetTypeParameters(KNativePointer context, KNativ
|
|
|
2947
3519
|
}
|
|
2948
3520
|
KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTypeParameters, KNativePointer, KNativePointer, KNativePointer);
|
|
2949
3521
|
|
|
2950
|
-
KNativePointer impl_TSTypeAliasDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
|
|
2951
|
-
{
|
|
2952
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2953
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2954
|
-
std::size_t length;
|
|
2955
|
-
auto result = GetImpl()->TSTypeAliasDeclarationAnnotations(_context, _receiver, &length);
|
|
2956
|
-
return new std::vector<void*>(result, result + length);
|
|
2957
|
-
}
|
|
2958
|
-
KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
2959
|
-
|
|
2960
3522
|
KNativePointer impl_TSTypeAliasDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver)
|
|
2961
3523
|
{
|
|
2962
3524
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2963
3525
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2964
3526
|
std::size_t length;
|
|
2965
3527
|
auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsConst(_context, _receiver, &length);
|
|
2966
|
-
return (void*)
|
|
3528
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
2967
3529
|
}
|
|
2968
3530
|
KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2969
3531
|
|
|
@@ -2978,6 +3540,95 @@ void impl_TSTypeAliasDeclarationSetAnnotations(KNativePointer context, KNativePo
|
|
|
2978
3540
|
}
|
|
2979
3541
|
KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2980
3542
|
|
|
3543
|
+
void impl_TSTypeAliasDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
3544
|
+
{
|
|
3545
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3546
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3547
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
3548
|
+
GetImpl()->TSTypeAliasDeclarationEmplaceAnnotations(_context, _receiver, _annotations);
|
|
3549
|
+
return ;
|
|
3550
|
+
}
|
|
3551
|
+
KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
3552
|
+
|
|
3553
|
+
void impl_TSTypeAliasDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
3554
|
+
{
|
|
3555
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3556
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3557
|
+
GetImpl()->TSTypeAliasDeclarationClearAnnotations(_context, _receiver);
|
|
3558
|
+
return ;
|
|
3559
|
+
}
|
|
3560
|
+
KOALA_INTEROP_V2(TSTypeAliasDeclarationClearAnnotations, KNativePointer, KNativePointer);
|
|
3561
|
+
|
|
3562
|
+
void impl_TSTypeAliasDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations, KUInt index)
|
|
3563
|
+
{
|
|
3564
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3565
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3566
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
3567
|
+
const auto _index = static_cast<KUInt>(index);
|
|
3568
|
+
GetImpl()->TSTypeAliasDeclarationSetValueAnnotations(_context, _receiver, _annotations, _index);
|
|
3569
|
+
return ;
|
|
3570
|
+
}
|
|
3571
|
+
KOALA_INTEROP_V4(TSTypeAliasDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
3572
|
+
|
|
3573
|
+
KNativePointer impl_TSTypeAliasDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
3574
|
+
{
|
|
3575
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3576
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3577
|
+
std::size_t length;
|
|
3578
|
+
auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsForUpdate(_context, _receiver, &length);
|
|
3579
|
+
return StageArena::cloneVector(result, length);
|
|
3580
|
+
}
|
|
3581
|
+
KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
3582
|
+
|
|
3583
|
+
void impl_TSTypeAliasDeclarationClearTypeParamterTypes(KNativePointer context, KNativePointer receiver)
|
|
3584
|
+
{
|
|
3585
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3586
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3587
|
+
GetImpl()->TSTypeAliasDeclarationClearTypeParamterTypes(_context, _receiver);
|
|
3588
|
+
return ;
|
|
3589
|
+
}
|
|
3590
|
+
KOALA_INTEROP_V2(TSTypeAliasDeclarationClearTypeParamterTypes, KNativePointer, KNativePointer);
|
|
3591
|
+
|
|
3592
|
+
void impl_TSTypeAliasDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
|
|
3593
|
+
{
|
|
3594
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3595
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3596
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
3597
|
+
GetImpl()->TSTypeAliasDeclarationEmplaceDecorators(_context, _receiver, _decorators);
|
|
3598
|
+
return ;
|
|
3599
|
+
}
|
|
3600
|
+
KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
3601
|
+
|
|
3602
|
+
void impl_TSTypeAliasDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
|
|
3603
|
+
{
|
|
3604
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3605
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3606
|
+
GetImpl()->TSTypeAliasDeclarationClearDecorators(_context, _receiver);
|
|
3607
|
+
return ;
|
|
3608
|
+
}
|
|
3609
|
+
KOALA_INTEROP_V2(TSTypeAliasDeclarationClearDecorators, KNativePointer, KNativePointer);
|
|
3610
|
+
|
|
3611
|
+
void impl_TSTypeAliasDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
|
|
3612
|
+
{
|
|
3613
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3614
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3615
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
3616
|
+
const auto _index = static_cast<KUInt>(index);
|
|
3617
|
+
GetImpl()->TSTypeAliasDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
|
|
3618
|
+
return ;
|
|
3619
|
+
}
|
|
3620
|
+
KOALA_INTEROP_V4(TSTypeAliasDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
3621
|
+
|
|
3622
|
+
KNativePointer impl_TSTypeAliasDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
3623
|
+
{
|
|
3624
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3625
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3626
|
+
std::size_t length;
|
|
3627
|
+
auto result = GetImpl()->TSTypeAliasDeclarationDecoratorsForUpdate(_context, _receiver, &length);
|
|
3628
|
+
return StageArena::cloneVector(result, length);
|
|
3629
|
+
}
|
|
3630
|
+
KOALA_INTEROP_2(TSTypeAliasDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
3631
|
+
|
|
2981
3632
|
KNativePointer impl_TSTypeAliasDeclarationTypeAnnotationConst(KNativePointer context, KNativePointer receiver)
|
|
2982
3633
|
{
|
|
2983
3634
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3184,7 +3835,7 @@ KNativePointer impl_ScriptFunctionParamsConst(KNativePointer context, KNativePoi
|
|
|
3184
3835
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3185
3836
|
std::size_t length;
|
|
3186
3837
|
auto result = GetImpl()->ScriptFunctionParamsConst(_context, _receiver, &length);
|
|
3187
|
-
return (void*)
|
|
3838
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
3188
3839
|
}
|
|
3189
3840
|
KOALA_INTEROP_2(ScriptFunctionParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
3190
3841
|
|
|
@@ -3194,7 +3845,7 @@ KNativePointer impl_ScriptFunctionParams(KNativePointer context, KNativePointer
|
|
|
3194
3845
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3195
3846
|
std::size_t length;
|
|
3196
3847
|
auto result = GetImpl()->ScriptFunctionParams(_context, _receiver, &length);
|
|
3197
|
-
return
|
|
3848
|
+
return StageArena::cloneVector(result, length);
|
|
3198
3849
|
}
|
|
3199
3850
|
KOALA_INTEROP_2(ScriptFunctionParams, KNativePointer, KNativePointer, KNativePointer);
|
|
3200
3851
|
|
|
@@ -3204,7 +3855,7 @@ KNativePointer impl_ScriptFunctionReturnStatementsConst(KNativePointer context,
|
|
|
3204
3855
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3205
3856
|
std::size_t length;
|
|
3206
3857
|
auto result = GetImpl()->ScriptFunctionReturnStatementsConst(_context, _receiver, &length);
|
|
3207
|
-
return (void*)
|
|
3858
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
3208
3859
|
}
|
|
3209
3860
|
KOALA_INTEROP_2(ScriptFunctionReturnStatementsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
3210
3861
|
|
|
@@ -3214,10 +3865,20 @@ KNativePointer impl_ScriptFunctionReturnStatements(KNativePointer context, KNati
|
|
|
3214
3865
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3215
3866
|
std::size_t length;
|
|
3216
3867
|
auto result = GetImpl()->ScriptFunctionReturnStatements(_context, _receiver, &length);
|
|
3217
|
-
return
|
|
3868
|
+
return StageArena::cloneVector(result, length);
|
|
3218
3869
|
}
|
|
3219
3870
|
KOALA_INTEROP_2(ScriptFunctionReturnStatements, KNativePointer, KNativePointer, KNativePointer);
|
|
3220
3871
|
|
|
3872
|
+
KNativePointer impl_ScriptFunctionReturnStatementsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
3873
|
+
{
|
|
3874
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3875
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3876
|
+
std::size_t length;
|
|
3877
|
+
auto result = GetImpl()->ScriptFunctionReturnStatementsForUpdate(_context, _receiver, &length);
|
|
3878
|
+
return StageArena::cloneVector(result, length);
|
|
3879
|
+
}
|
|
3880
|
+
KOALA_INTEROP_2(ScriptFunctionReturnStatementsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
3881
|
+
|
|
3221
3882
|
KNativePointer impl_ScriptFunctionTypeParamsConst(KNativePointer context, KNativePointer receiver)
|
|
3222
3883
|
{
|
|
3223
3884
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3518,16 +4179,25 @@ KBoolean impl_ScriptFunctionIsRethrowingConst(KNativePointer context, KNativePoi
|
|
|
3518
4179
|
}
|
|
3519
4180
|
KOALA_INTEROP_2(ScriptFunctionIsRethrowingConst, KBoolean, KNativePointer, KNativePointer);
|
|
3520
4181
|
|
|
3521
|
-
KBoolean
|
|
4182
|
+
KBoolean impl_ScriptFunctionIsTrailingLambdaConst(KNativePointer context, KNativePointer receiver)
|
|
3522
4183
|
{
|
|
3523
4184
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3524
4185
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3525
|
-
auto result = GetImpl()->
|
|
4186
|
+
auto result = GetImpl()->ScriptFunctionIsTrailingLambdaConst(_context, _receiver);
|
|
3526
4187
|
return result;
|
|
3527
4188
|
}
|
|
3528
|
-
KOALA_INTEROP_2(
|
|
4189
|
+
KOALA_INTEROP_2(ScriptFunctionIsTrailingLambdaConst, KBoolean, KNativePointer, KNativePointer);
|
|
3529
4190
|
|
|
3530
|
-
KBoolean
|
|
4191
|
+
KBoolean impl_ScriptFunctionIsDynamicConst(KNativePointer context, KNativePointer receiver)
|
|
4192
|
+
{
|
|
4193
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4194
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4195
|
+
auto result = GetImpl()->ScriptFunctionIsDynamicConst(_context, _receiver);
|
|
4196
|
+
return result;
|
|
4197
|
+
}
|
|
4198
|
+
KOALA_INTEROP_2(ScriptFunctionIsDynamicConst, KBoolean, KNativePointer, KNativePointer);
|
|
4199
|
+
|
|
4200
|
+
KBoolean impl_ScriptFunctionIsExtensionMethodConst(KNativePointer context, KNativePointer receiver)
|
|
3531
4201
|
{
|
|
3532
4202
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3533
4203
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -3584,24 +4254,124 @@ void impl_ScriptFunctionClearFlag(KNativePointer context, KNativePointer receive
|
|
|
3584
4254
|
}
|
|
3585
4255
|
KOALA_INTEROP_V3(ScriptFunctionClearFlag, KNativePointer, KNativePointer, KInt);
|
|
3586
4256
|
|
|
3587
|
-
|
|
4257
|
+
KUInt impl_ScriptFunctionFormalParamsLengthConst(KNativePointer context, KNativePointer receiver)
|
|
3588
4258
|
{
|
|
3589
4259
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3590
4260
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3591
|
-
|
|
3592
|
-
|
|
4261
|
+
auto result = GetImpl()->ScriptFunctionFormalParamsLengthConst(_context, _receiver);
|
|
4262
|
+
return result;
|
|
4263
|
+
}
|
|
4264
|
+
KOALA_INTEROP_2(ScriptFunctionFormalParamsLengthConst, KUInt, KNativePointer, KNativePointer);
|
|
4265
|
+
|
|
4266
|
+
void impl_ScriptFunctionEmplaceReturnStatements(KNativePointer context, KNativePointer receiver, KNativePointer returnStatements)
|
|
4267
|
+
{
|
|
4268
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4269
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4270
|
+
const auto _returnStatements = reinterpret_cast<es2panda_AstNode*>(returnStatements);
|
|
4271
|
+
GetImpl()->ScriptFunctionEmplaceReturnStatements(_context, _receiver, _returnStatements);
|
|
3593
4272
|
return ;
|
|
3594
4273
|
}
|
|
3595
|
-
KOALA_INTEROP_V3(
|
|
4274
|
+
KOALA_INTEROP_V3(ScriptFunctionEmplaceReturnStatements, KNativePointer, KNativePointer, KNativePointer);
|
|
3596
4275
|
|
|
3597
|
-
|
|
4276
|
+
void impl_ScriptFunctionClearReturnStatements(KNativePointer context, KNativePointer receiver)
|
|
3598
4277
|
{
|
|
3599
4278
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3600
4279
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3601
|
-
|
|
3602
|
-
return
|
|
4280
|
+
GetImpl()->ScriptFunctionClearReturnStatements(_context, _receiver);
|
|
4281
|
+
return ;
|
|
3603
4282
|
}
|
|
3604
|
-
|
|
4283
|
+
KOALA_INTEROP_V2(ScriptFunctionClearReturnStatements, KNativePointer, KNativePointer);
|
|
4284
|
+
|
|
4285
|
+
void impl_ScriptFunctionSetValueReturnStatements(KNativePointer context, KNativePointer receiver, KNativePointer returnStatements, KUInt index)
|
|
4286
|
+
{
|
|
4287
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4288
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4289
|
+
const auto _returnStatements = reinterpret_cast<es2panda_AstNode*>(returnStatements);
|
|
4290
|
+
const auto _index = static_cast<KUInt>(index);
|
|
4291
|
+
GetImpl()->ScriptFunctionSetValueReturnStatements(_context, _receiver, _returnStatements, _index);
|
|
4292
|
+
return ;
|
|
4293
|
+
}
|
|
4294
|
+
KOALA_INTEROP_V4(ScriptFunctionSetValueReturnStatements, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
4295
|
+
|
|
4296
|
+
void impl_ScriptFunctionEmplaceParams(KNativePointer context, KNativePointer receiver, KNativePointer params)
|
|
4297
|
+
{
|
|
4298
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4299
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4300
|
+
const auto _params = reinterpret_cast<es2panda_AstNode*>(params);
|
|
4301
|
+
GetImpl()->ScriptFunctionEmplaceParams(_context, _receiver, _params);
|
|
4302
|
+
return ;
|
|
4303
|
+
}
|
|
4304
|
+
KOALA_INTEROP_V3(ScriptFunctionEmplaceParams, KNativePointer, KNativePointer, KNativePointer);
|
|
4305
|
+
|
|
4306
|
+
void impl_ScriptFunctionClearParams(KNativePointer context, KNativePointer receiver)
|
|
4307
|
+
{
|
|
4308
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4309
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4310
|
+
GetImpl()->ScriptFunctionClearParams(_context, _receiver);
|
|
4311
|
+
return ;
|
|
4312
|
+
}
|
|
4313
|
+
KOALA_INTEROP_V2(ScriptFunctionClearParams, KNativePointer, KNativePointer);
|
|
4314
|
+
|
|
4315
|
+
void impl_ScriptFunctionSetValueParams(KNativePointer context, KNativePointer receiver, KNativePointer params, KUInt index)
|
|
4316
|
+
{
|
|
4317
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4318
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4319
|
+
const auto _params = reinterpret_cast<es2panda_AstNode*>(params);
|
|
4320
|
+
const auto _index = static_cast<KUInt>(index);
|
|
4321
|
+
GetImpl()->ScriptFunctionSetValueParams(_context, _receiver, _params, _index);
|
|
4322
|
+
return ;
|
|
4323
|
+
}
|
|
4324
|
+
KOALA_INTEROP_V4(ScriptFunctionSetValueParams, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
4325
|
+
|
|
4326
|
+
KNativePointer impl_ScriptFunctionParamsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
4327
|
+
{
|
|
4328
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4329
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4330
|
+
std::size_t length;
|
|
4331
|
+
auto result = GetImpl()->ScriptFunctionParamsForUpdate(_context, _receiver, &length);
|
|
4332
|
+
return StageArena::cloneVector(result, length);
|
|
4333
|
+
}
|
|
4334
|
+
KOALA_INTEROP_2(ScriptFunctionParamsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
4335
|
+
|
|
4336
|
+
void impl_ScriptFunctionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
4337
|
+
{
|
|
4338
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4339
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4340
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
4341
|
+
GetImpl()->ScriptFunctionEmplaceAnnotations(_context, _receiver, _source);
|
|
4342
|
+
return ;
|
|
4343
|
+
}
|
|
4344
|
+
KOALA_INTEROP_V3(ScriptFunctionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
4345
|
+
|
|
4346
|
+
void impl_ScriptFunctionClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
4347
|
+
{
|
|
4348
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4349
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4350
|
+
GetImpl()->ScriptFunctionClearAnnotations(_context, _receiver);
|
|
4351
|
+
return ;
|
|
4352
|
+
}
|
|
4353
|
+
KOALA_INTEROP_V2(ScriptFunctionClearAnnotations, KNativePointer, KNativePointer);
|
|
4354
|
+
|
|
4355
|
+
void impl_ScriptFunctionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
4356
|
+
{
|
|
4357
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4358
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4359
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
4360
|
+
const auto _index = static_cast<KUInt>(index);
|
|
4361
|
+
GetImpl()->ScriptFunctionSetValueAnnotations(_context, _receiver, _source, _index);
|
|
4362
|
+
return ;
|
|
4363
|
+
}
|
|
4364
|
+
KOALA_INTEROP_V4(ScriptFunctionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
4365
|
+
|
|
4366
|
+
KNativePointer impl_ScriptFunctionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
4367
|
+
{
|
|
4368
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4369
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4370
|
+
std::size_t length;
|
|
4371
|
+
auto result = GetImpl()->ScriptFunctionAnnotationsForUpdate(_context, _receiver, &length);
|
|
4372
|
+
return StageArena::cloneVector(result, length);
|
|
4373
|
+
}
|
|
4374
|
+
KOALA_INTEROP_2(ScriptFunctionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
3605
4375
|
|
|
3606
4376
|
KNativePointer impl_ScriptFunctionAnnotations(KNativePointer context, KNativePointer receiver)
|
|
3607
4377
|
{
|
|
@@ -3609,7 +4379,7 @@ KNativePointer impl_ScriptFunctionAnnotations(KNativePointer context, KNativePoi
|
|
|
3609
4379
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3610
4380
|
std::size_t length;
|
|
3611
4381
|
auto result = GetImpl()->ScriptFunctionAnnotations(_context, _receiver, &length);
|
|
3612
|
-
return
|
|
4382
|
+
return StageArena::cloneVector(result, length);
|
|
3613
4383
|
}
|
|
3614
4384
|
KOALA_INTEROP_2(ScriptFunctionAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
3615
4385
|
|
|
@@ -3619,21 +4389,42 @@ KNativePointer impl_ScriptFunctionAnnotationsConst(KNativePointer context, KNati
|
|
|
3619
4389
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3620
4390
|
std::size_t length;
|
|
3621
4391
|
auto result = GetImpl()->ScriptFunctionAnnotationsConst(_context, _receiver, &length);
|
|
3622
|
-
return (void*)
|
|
4392
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
3623
4393
|
}
|
|
3624
4394
|
KOALA_INTEROP_2(ScriptFunctionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
3625
4395
|
|
|
3626
|
-
void impl_ScriptFunctionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
4396
|
+
void impl_ScriptFunctionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
3627
4397
|
{
|
|
3628
4398
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3629
4399
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3630
|
-
const auto
|
|
3631
|
-
const auto
|
|
3632
|
-
GetImpl()->ScriptFunctionSetAnnotations(_context, _receiver,
|
|
4400
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
4401
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
4402
|
+
GetImpl()->ScriptFunctionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
3633
4403
|
return ;
|
|
3634
4404
|
}
|
|
3635
4405
|
KOALA_INTEROP_V4(ScriptFunctionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
3636
4406
|
|
|
4407
|
+
void impl_ScriptFunctionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
4408
|
+
{
|
|
4409
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4410
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4411
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
4412
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
4413
|
+
GetImpl()->ScriptFunctionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
4414
|
+
return ;
|
|
4415
|
+
}
|
|
4416
|
+
KOALA_INTEROP_V4(ScriptFunctionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
4417
|
+
|
|
4418
|
+
void impl_ScriptFunctionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
4419
|
+
{
|
|
4420
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4421
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4422
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
4423
|
+
GetImpl()->ScriptFunctionAddAnnotations(_context, _receiver, _annotations);
|
|
4424
|
+
return ;
|
|
4425
|
+
}
|
|
4426
|
+
KOALA_INTEROP_V3(ScriptFunctionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
4427
|
+
|
|
3637
4428
|
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)
|
|
3638
4429
|
{
|
|
3639
4430
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3756,20 +4547,10 @@ KNativePointer impl_ClassDefinitionInternalNameConst(KNativePointer context, KNa
|
|
|
3756
4547
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3757
4548
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3758
4549
|
auto result = GetImpl()->ClassDefinitionInternalNameConst(_context, _receiver);
|
|
3759
|
-
return
|
|
4550
|
+
return StageArena::strdup(result);
|
|
3760
4551
|
}
|
|
3761
4552
|
KOALA_INTEROP_2(ClassDefinitionInternalNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
3762
4553
|
|
|
3763
|
-
void impl_ClassDefinitionSetInternalName(KNativePointer context, KNativePointer receiver, KStringPtr& internalName)
|
|
3764
|
-
{
|
|
3765
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3766
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3767
|
-
const auto _internalName = getStringCopy(internalName);
|
|
3768
|
-
GetImpl()->ClassDefinitionSetInternalName(_context, _receiver, _internalName);
|
|
3769
|
-
return ;
|
|
3770
|
-
}
|
|
3771
|
-
KOALA_INTEROP_V3(ClassDefinitionSetInternalName, KNativePointer, KNativePointer, KStringPtr);
|
|
3772
|
-
|
|
3773
4554
|
KNativePointer impl_ClassDefinitionSuper(KNativePointer context, KNativePointer receiver)
|
|
3774
4555
|
{
|
|
3775
4556
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3906,6 +4687,15 @@ KBoolean impl_ClassDefinitionIsNamespaceTransformedConst(KNativePointer context,
|
|
|
3906
4687
|
}
|
|
3907
4688
|
KOALA_INTEROP_2(ClassDefinitionIsNamespaceTransformedConst, KBoolean, KNativePointer, KNativePointer);
|
|
3908
4689
|
|
|
4690
|
+
KBoolean impl_ClassDefinitionIsLazyImportObjectClassConst(KNativePointer context, KNativePointer receiver)
|
|
4691
|
+
{
|
|
4692
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4693
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4694
|
+
auto result = GetImpl()->ClassDefinitionIsLazyImportObjectClassConst(_context, _receiver);
|
|
4695
|
+
return result;
|
|
4696
|
+
}
|
|
4697
|
+
KOALA_INTEROP_2(ClassDefinitionIsLazyImportObjectClassConst, KBoolean, KNativePointer, KNativePointer);
|
|
4698
|
+
|
|
3909
4699
|
KBoolean impl_ClassDefinitionIsFromStructConst(KNativePointer context, KNativePointer receiver)
|
|
3910
4700
|
{
|
|
3911
4701
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3969,6 +4759,15 @@ void impl_ClassDefinitionSetNamespaceTransformed(KNativePointer context, KNative
|
|
|
3969
4759
|
}
|
|
3970
4760
|
KOALA_INTEROP_V2(ClassDefinitionSetNamespaceTransformed, KNativePointer, KNativePointer);
|
|
3971
4761
|
|
|
4762
|
+
void impl_ClassDefinitionSetLazyImportObjectClass(KNativePointer context, KNativePointer receiver)
|
|
4763
|
+
{
|
|
4764
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4765
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4766
|
+
GetImpl()->ClassDefinitionSetLazyImportObjectClass(_context, _receiver);
|
|
4767
|
+
return ;
|
|
4768
|
+
}
|
|
4769
|
+
KOALA_INTEROP_V2(ClassDefinitionSetLazyImportObjectClass, KNativePointer, KNativePointer);
|
|
4770
|
+
|
|
3972
4771
|
void impl_ClassDefinitionSetFromStructModifier(KNativePointer context, KNativePointer receiver)
|
|
3973
4772
|
{
|
|
3974
4773
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3987,16 +4786,6 @@ KInt impl_ClassDefinitionModifiersConst(KNativePointer context, KNativePointer r
|
|
|
3987
4786
|
}
|
|
3988
4787
|
KOALA_INTEROP_2(ClassDefinitionModifiersConst, KInt, KNativePointer, KNativePointer);
|
|
3989
4788
|
|
|
3990
|
-
void impl_ClassDefinitionSetModifiers(KNativePointer context, KNativePointer receiver, KInt modifiers)
|
|
3991
|
-
{
|
|
3992
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3993
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3994
|
-
const auto _modifiers = static_cast<Es2pandaClassDefinitionModifiers>(modifiers);
|
|
3995
|
-
GetImpl()->ClassDefinitionSetModifiers(_context, _receiver, _modifiers);
|
|
3996
|
-
return ;
|
|
3997
|
-
}
|
|
3998
|
-
KOALA_INTEROP_V3(ClassDefinitionSetModifiers, KNativePointer, KNativePointer, KInt);
|
|
3999
|
-
|
|
4000
4789
|
void impl_ClassDefinitionAddProperties(KNativePointer context, KNativePointer receiver, KNativePointerArray body, KUInt bodySequenceLength)
|
|
4001
4790
|
{
|
|
4002
4791
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4008,23 +4797,13 @@ void impl_ClassDefinitionAddProperties(KNativePointer context, KNativePointer re
|
|
|
4008
4797
|
}
|
|
4009
4798
|
KOALA_INTEROP_V4(ClassDefinitionAddProperties, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
4010
4799
|
|
|
4011
|
-
KNativePointer impl_ClassDefinitionBody(KNativePointer context, KNativePointer receiver)
|
|
4012
|
-
{
|
|
4013
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4014
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4015
|
-
std::size_t length;
|
|
4016
|
-
auto result = GetImpl()->ClassDefinitionBody(_context, _receiver, &length);
|
|
4017
|
-
return new std::vector<void*>(result, result + length);
|
|
4018
|
-
}
|
|
4019
|
-
KOALA_INTEROP_2(ClassDefinitionBody, KNativePointer, KNativePointer, KNativePointer);
|
|
4020
|
-
|
|
4021
4800
|
KNativePointer impl_ClassDefinitionBodyConst(KNativePointer context, KNativePointer receiver)
|
|
4022
4801
|
{
|
|
4023
4802
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4024
4803
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4025
4804
|
std::size_t length;
|
|
4026
4805
|
auto result = GetImpl()->ClassDefinitionBodyConst(_context, _receiver, &length);
|
|
4027
|
-
return (void*)
|
|
4806
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
4028
4807
|
}
|
|
4029
4808
|
KOALA_INTEROP_2(ClassDefinitionBodyConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4030
4809
|
|
|
@@ -4037,33 +4816,13 @@ KNativePointer impl_ClassDefinitionCtor(KNativePointer context, KNativePointer r
|
|
|
4037
4816
|
}
|
|
4038
4817
|
KOALA_INTEROP_2(ClassDefinitionCtor, KNativePointer, KNativePointer, KNativePointer);
|
|
4039
4818
|
|
|
4040
|
-
void impl_ClassDefinitionSetCtor(KNativePointer context, KNativePointer receiver, KNativePointer ctor)
|
|
4041
|
-
{
|
|
4042
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4043
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4044
|
-
const auto _ctor = reinterpret_cast<es2panda_AstNode*>(ctor);
|
|
4045
|
-
GetImpl()->ClassDefinitionSetCtor(_context, _receiver, _ctor);
|
|
4046
|
-
return ;
|
|
4047
|
-
}
|
|
4048
|
-
KOALA_INTEROP_V3(ClassDefinitionSetCtor, KNativePointer, KNativePointer, KNativePointer);
|
|
4049
|
-
|
|
4050
|
-
KNativePointer impl_ClassDefinitionImplements(KNativePointer context, KNativePointer receiver)
|
|
4051
|
-
{
|
|
4052
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4053
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4054
|
-
std::size_t length;
|
|
4055
|
-
auto result = GetImpl()->ClassDefinitionImplements(_context, _receiver, &length);
|
|
4056
|
-
return new std::vector<void*>(result, result + length);
|
|
4057
|
-
}
|
|
4058
|
-
KOALA_INTEROP_2(ClassDefinitionImplements, KNativePointer, KNativePointer, KNativePointer);
|
|
4059
|
-
|
|
4060
4819
|
KNativePointer impl_ClassDefinitionImplementsConst(KNativePointer context, KNativePointer receiver)
|
|
4061
4820
|
{
|
|
4062
4821
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4063
4822
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4064
4823
|
std::size_t length;
|
|
4065
4824
|
auto result = GetImpl()->ClassDefinitionImplementsConst(_context, _receiver, &length);
|
|
4066
|
-
return (void*)
|
|
4825
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
4067
4826
|
}
|
|
4068
4827
|
KOALA_INTEROP_2(ClassDefinitionImplementsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4069
4828
|
|
|
@@ -4085,16 +4844,6 @@ KNativePointer impl_ClassDefinitionTypeParams(KNativePointer context, KNativePoi
|
|
|
4085
4844
|
}
|
|
4086
4845
|
KOALA_INTEROP_2(ClassDefinitionTypeParams, KNativePointer, KNativePointer, KNativePointer);
|
|
4087
4846
|
|
|
4088
|
-
void impl_ClassDefinitionSetTypeParams(KNativePointer context, KNativePointer receiver, KNativePointer typeParams)
|
|
4089
|
-
{
|
|
4090
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4091
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4092
|
-
const auto _typeParams = reinterpret_cast<es2panda_AstNode*>(typeParams);
|
|
4093
|
-
GetImpl()->ClassDefinitionSetTypeParams(_context, _receiver, _typeParams);
|
|
4094
|
-
return ;
|
|
4095
|
-
}
|
|
4096
|
-
KOALA_INTEROP_V3(ClassDefinitionSetTypeParams, KNativePointer, KNativePointer, KNativePointer);
|
|
4097
|
-
|
|
4098
4847
|
KNativePointer impl_ClassDefinitionSuperTypeParamsConst(KNativePointer context, KNativePointer receiver)
|
|
4099
4848
|
{
|
|
4100
4849
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4131,24 +4880,33 @@ KInt impl_ClassDefinitionLocalIndexConst(KNativePointer context, KNativePointer
|
|
|
4131
4880
|
}
|
|
4132
4881
|
KOALA_INTEROP_2(ClassDefinitionLocalIndexConst, KInt, KNativePointer, KNativePointer);
|
|
4133
4882
|
|
|
4134
|
-
KNativePointer
|
|
4883
|
+
KNativePointer impl_ClassDefinitionFunctionalReferenceReferencedMethodConst(KNativePointer context, KNativePointer receiver)
|
|
4135
4884
|
{
|
|
4136
4885
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4137
4886
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4138
|
-
auto result = GetImpl()->
|
|
4139
|
-
return
|
|
4887
|
+
auto result = GetImpl()->ClassDefinitionFunctionalReferenceReferencedMethodConst(_context, _receiver);
|
|
4888
|
+
return (void*)result;
|
|
4140
4889
|
}
|
|
4141
|
-
KOALA_INTEROP_2(
|
|
4890
|
+
KOALA_INTEROP_2(ClassDefinitionFunctionalReferenceReferencedMethodConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4142
4891
|
|
|
4143
|
-
void
|
|
4892
|
+
void impl_ClassDefinitionSetFunctionalReferenceReferencedMethod(KNativePointer context, KNativePointer receiver, KNativePointer functionalReferenceReferencedMethod)
|
|
4144
4893
|
{
|
|
4145
4894
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4146
4895
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4147
|
-
const auto
|
|
4148
|
-
GetImpl()->
|
|
4896
|
+
const auto _functionalReferenceReferencedMethod = reinterpret_cast<es2panda_AstNode*>(functionalReferenceReferencedMethod);
|
|
4897
|
+
GetImpl()->ClassDefinitionSetFunctionalReferenceReferencedMethod(_context, _receiver, _functionalReferenceReferencedMethod);
|
|
4149
4898
|
return ;
|
|
4150
4899
|
}
|
|
4151
|
-
KOALA_INTEROP_V3(
|
|
4900
|
+
KOALA_INTEROP_V3(ClassDefinitionSetFunctionalReferenceReferencedMethod, KNativePointer, KNativePointer, KNativePointer);
|
|
4901
|
+
|
|
4902
|
+
KNativePointer impl_ClassDefinitionLocalPrefixConst(KNativePointer context, KNativePointer receiver)
|
|
4903
|
+
{
|
|
4904
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4905
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4906
|
+
auto result = GetImpl()->ClassDefinitionLocalPrefixConst(_context, _receiver);
|
|
4907
|
+
return StageArena::strdup(result);
|
|
4908
|
+
}
|
|
4909
|
+
KOALA_INTEROP_2(ClassDefinitionLocalPrefixConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4152
4910
|
|
|
4153
4911
|
KNativePointer impl_ClassDefinitionOrigEnumDeclConst(KNativePointer context, KNativePointer receiver)
|
|
4154
4912
|
{
|
|
@@ -4168,16 +4926,6 @@ KNativePointer impl_ClassDefinitionGetAnonClass(KNativePointer context, KNativeP
|
|
|
4168
4926
|
}
|
|
4169
4927
|
KOALA_INTEROP_2(ClassDefinitionGetAnonClass, KNativePointer, KNativePointer, KNativePointer);
|
|
4170
4928
|
|
|
4171
|
-
void impl_ClassDefinitionSetAnonClass(KNativePointer context, KNativePointer receiver, KNativePointer anonClass)
|
|
4172
|
-
{
|
|
4173
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4174
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4175
|
-
const auto _anonClass = reinterpret_cast<es2panda_AstNode*>(anonClass);
|
|
4176
|
-
GetImpl()->ClassDefinitionSetAnonClass(_context, _receiver, _anonClass);
|
|
4177
|
-
return ;
|
|
4178
|
-
}
|
|
4179
|
-
KOALA_INTEROP_V3(ClassDefinitionSetAnonClass, KNativePointer, KNativePointer, KNativePointer);
|
|
4180
|
-
|
|
4181
4929
|
KNativePointer impl_ClassDefinitionCtorConst(KNativePointer context, KNativePointer receiver)
|
|
4182
4930
|
{
|
|
4183
4931
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4234,100 +4982,321 @@ void impl_ClassDefinitionAddToExportedClasses(KNativePointer context, KNativePoi
|
|
|
4234
4982
|
}
|
|
4235
4983
|
KOALA_INTEROP_V3(ClassDefinitionAddToExportedClasses, KNativePointer, KNativePointer, KNativePointer);
|
|
4236
4984
|
|
|
4237
|
-
|
|
4985
|
+
void impl_ClassDefinitionSetModifiers(KNativePointer context, KNativePointer receiver, KInt modifiers)
|
|
4238
4986
|
{
|
|
4239
4987
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4240
4988
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
return
|
|
4989
|
+
const auto _modifiers = static_cast<Es2pandaClassDefinitionModifiers>(modifiers);
|
|
4990
|
+
GetImpl()->ClassDefinitionSetModifiers(_context, _receiver, _modifiers);
|
|
4991
|
+
return ;
|
|
4244
4992
|
}
|
|
4245
|
-
|
|
4993
|
+
KOALA_INTEROP_V3(ClassDefinitionSetModifiers, KNativePointer, KNativePointer, KInt);
|
|
4246
4994
|
|
|
4247
|
-
|
|
4995
|
+
void impl_ClassDefinitionEmplaceBody(KNativePointer context, KNativePointer receiver, KNativePointer body)
|
|
4248
4996
|
{
|
|
4249
4997
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4250
4998
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
return
|
|
4999
|
+
const auto _body = reinterpret_cast<es2panda_AstNode*>(body);
|
|
5000
|
+
GetImpl()->ClassDefinitionEmplaceBody(_context, _receiver, _body);
|
|
5001
|
+
return ;
|
|
4254
5002
|
}
|
|
4255
|
-
|
|
5003
|
+
KOALA_INTEROP_V3(ClassDefinitionEmplaceBody, KNativePointer, KNativePointer, KNativePointer);
|
|
4256
5004
|
|
|
4257
|
-
void
|
|
5005
|
+
void impl_ClassDefinitionClearBody(KNativePointer context, KNativePointer receiver)
|
|
4258
5006
|
{
|
|
4259
5007
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4260
5008
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4261
|
-
|
|
4262
|
-
const auto _annotationsSequenceLength = static_cast<KUInt>(annotationsSequenceLength);
|
|
4263
|
-
GetImpl()->ClassDefinitionSetAnnotations(_context, _receiver, _annotations, _annotationsSequenceLength);
|
|
5009
|
+
GetImpl()->ClassDefinitionClearBody(_context, _receiver);
|
|
4264
5010
|
return ;
|
|
4265
5011
|
}
|
|
4266
|
-
|
|
5012
|
+
KOALA_INTEROP_V2(ClassDefinitionClearBody, KNativePointer, KNativePointer);
|
|
4267
5013
|
|
|
4268
|
-
|
|
5014
|
+
void impl_ClassDefinitionSetValueBody(KNativePointer context, KNativePointer receiver, KNativePointer body, KUInt index)
|
|
4269
5015
|
{
|
|
4270
5016
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4271
|
-
const auto
|
|
4272
|
-
const auto
|
|
4273
|
-
auto
|
|
4274
|
-
|
|
5017
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5018
|
+
const auto _body = reinterpret_cast<es2panda_AstNode*>(body);
|
|
5019
|
+
const auto _index = static_cast<KUInt>(index);
|
|
5020
|
+
GetImpl()->ClassDefinitionSetValueBody(_context, _receiver, _body, _index);
|
|
5021
|
+
return ;
|
|
4275
5022
|
}
|
|
4276
|
-
|
|
5023
|
+
KOALA_INTEROP_V4(ClassDefinitionSetValueBody, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
4277
5024
|
|
|
4278
|
-
KNativePointer
|
|
5025
|
+
KNativePointer impl_ClassDefinitionBody(KNativePointer context, KNativePointer receiver)
|
|
4279
5026
|
{
|
|
4280
5027
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4281
|
-
const auto
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
return result;
|
|
5028
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5029
|
+
std::size_t length;
|
|
5030
|
+
auto result = GetImpl()->ClassDefinitionBody(_context, _receiver, &length);
|
|
5031
|
+
return StageArena::cloneVector(result, length);
|
|
4286
5032
|
}
|
|
4287
|
-
|
|
5033
|
+
KOALA_INTEROP_2(ClassDefinitionBody, KNativePointer, KNativePointer, KNativePointer);
|
|
4288
5034
|
|
|
4289
|
-
KNativePointer
|
|
5035
|
+
KNativePointer impl_ClassDefinitionBodyForUpdate(KNativePointer context, KNativePointer receiver)
|
|
4290
5036
|
{
|
|
4291
5037
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4292
|
-
const auto
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
auto result = GetImpl()->CreateArrayExpression1(_context, _nodeType, _elements, _elementsSequenceLength, _trailingComma);
|
|
4297
|
-
return result;
|
|
5038
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5039
|
+
std::size_t length;
|
|
5040
|
+
auto result = GetImpl()->ClassDefinitionBodyForUpdate(_context, _receiver, &length);
|
|
5041
|
+
return StageArena::cloneVector(result, length);
|
|
4298
5042
|
}
|
|
4299
|
-
|
|
5043
|
+
KOALA_INTEROP_2(ClassDefinitionBodyForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
4300
5044
|
|
|
4301
|
-
|
|
5045
|
+
void impl_ClassDefinitionEmplaceImplements(KNativePointer context, KNativePointer receiver, KNativePointer _implements)
|
|
4302
5046
|
{
|
|
4303
5047
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4304
|
-
const auto
|
|
4305
|
-
const auto
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
const auto _trailingComma = static_cast<KBoolean>(trailingComma);
|
|
4309
|
-
auto result = GetImpl()->UpdateArrayExpression1(_context, _original, _nodeType, _elements, _elementsSequenceLength, _trailingComma);
|
|
4310
|
-
return result;
|
|
5048
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5049
|
+
const auto __implements = reinterpret_cast<es2panda_AstNode*>(_implements);
|
|
5050
|
+
GetImpl()->ClassDefinitionEmplaceImplements(_context, _receiver, __implements);
|
|
5051
|
+
return ;
|
|
4311
5052
|
}
|
|
4312
|
-
|
|
5053
|
+
KOALA_INTEROP_V3(ClassDefinitionEmplaceImplements, KNativePointer, KNativePointer, KNativePointer);
|
|
4313
5054
|
|
|
4314
|
-
|
|
5055
|
+
void impl_ClassDefinitionClearImplements(KNativePointer context, KNativePointer receiver)
|
|
4315
5056
|
{
|
|
4316
5057
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4317
5058
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
return (void*)result;
|
|
5059
|
+
GetImpl()->ClassDefinitionClearImplements(_context, _receiver);
|
|
5060
|
+
return ;
|
|
4321
5061
|
}
|
|
4322
|
-
|
|
5062
|
+
KOALA_INTEROP_V2(ClassDefinitionClearImplements, KNativePointer, KNativePointer);
|
|
4323
5063
|
|
|
4324
|
-
|
|
5064
|
+
void impl_ClassDefinitionSetValueImplements(KNativePointer context, KNativePointer receiver, KNativePointer _implements, KUInt index)
|
|
4325
5065
|
{
|
|
4326
5066
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4327
5067
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4328
|
-
|
|
5068
|
+
const auto __implements = reinterpret_cast<es2panda_AstNode*>(_implements);
|
|
5069
|
+
const auto _index = static_cast<KUInt>(index);
|
|
5070
|
+
GetImpl()->ClassDefinitionSetValueImplements(_context, _receiver, __implements, _index);
|
|
5071
|
+
return ;
|
|
5072
|
+
}
|
|
5073
|
+
KOALA_INTEROP_V4(ClassDefinitionSetValueImplements, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
5074
|
+
|
|
5075
|
+
KNativePointer impl_ClassDefinitionImplements(KNativePointer context, KNativePointer receiver)
|
|
5076
|
+
{
|
|
5077
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5078
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5079
|
+
std::size_t length;
|
|
5080
|
+
auto result = GetImpl()->ClassDefinitionImplements(_context, _receiver, &length);
|
|
5081
|
+
return StageArena::cloneVector(result, length);
|
|
5082
|
+
}
|
|
5083
|
+
KOALA_INTEROP_2(ClassDefinitionImplements, KNativePointer, KNativePointer, KNativePointer);
|
|
5084
|
+
|
|
5085
|
+
KNativePointer impl_ClassDefinitionImplementsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
5086
|
+
{
|
|
5087
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5088
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5089
|
+
std::size_t length;
|
|
5090
|
+
auto result = GetImpl()->ClassDefinitionImplementsForUpdate(_context, _receiver, &length);
|
|
5091
|
+
return StageArena::cloneVector(result, length);
|
|
5092
|
+
}
|
|
5093
|
+
KOALA_INTEROP_2(ClassDefinitionImplementsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
5094
|
+
|
|
5095
|
+
void impl_ClassDefinitionSetCtor(KNativePointer context, KNativePointer receiver, KNativePointer ctor)
|
|
5096
|
+
{
|
|
5097
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5098
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5099
|
+
const auto _ctor = reinterpret_cast<es2panda_AstNode*>(ctor);
|
|
5100
|
+
GetImpl()->ClassDefinitionSetCtor(_context, _receiver, _ctor);
|
|
5101
|
+
return ;
|
|
5102
|
+
}
|
|
5103
|
+
KOALA_INTEROP_V3(ClassDefinitionSetCtor, KNativePointer, KNativePointer, KNativePointer);
|
|
5104
|
+
|
|
5105
|
+
void impl_ClassDefinitionSetTypeParams(KNativePointer context, KNativePointer receiver, KNativePointer typeParams)
|
|
5106
|
+
{
|
|
5107
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5108
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5109
|
+
const auto _typeParams = reinterpret_cast<es2panda_AstNode*>(typeParams);
|
|
5110
|
+
GetImpl()->ClassDefinitionSetTypeParams(_context, _receiver, _typeParams);
|
|
5111
|
+
return ;
|
|
5112
|
+
}
|
|
5113
|
+
KOALA_INTEROP_V3(ClassDefinitionSetTypeParams, KNativePointer, KNativePointer, KNativePointer);
|
|
5114
|
+
|
|
5115
|
+
void impl_ClassDefinitionSetOrigEnumDecl(KNativePointer context, KNativePointer receiver, KNativePointer origEnumDecl)
|
|
5116
|
+
{
|
|
5117
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5118
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5119
|
+
const auto _origEnumDecl = reinterpret_cast<es2panda_AstNode*>(origEnumDecl);
|
|
5120
|
+
GetImpl()->ClassDefinitionSetOrigEnumDecl(_context, _receiver, _origEnumDecl);
|
|
5121
|
+
return ;
|
|
5122
|
+
}
|
|
5123
|
+
KOALA_INTEROP_V3(ClassDefinitionSetOrigEnumDecl, KNativePointer, KNativePointer, KNativePointer);
|
|
5124
|
+
|
|
5125
|
+
void impl_ClassDefinitionSetAnonClass(KNativePointer context, KNativePointer receiver, KNativePointer anonClass)
|
|
5126
|
+
{
|
|
5127
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5128
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5129
|
+
const auto _anonClass = reinterpret_cast<es2panda_AstNode*>(anonClass);
|
|
5130
|
+
GetImpl()->ClassDefinitionSetAnonClass(_context, _receiver, _anonClass);
|
|
5131
|
+
return ;
|
|
5132
|
+
}
|
|
5133
|
+
KOALA_INTEROP_V3(ClassDefinitionSetAnonClass, KNativePointer, KNativePointer, KNativePointer);
|
|
5134
|
+
|
|
5135
|
+
void impl_ClassDefinitionSetInternalName(KNativePointer context, KNativePointer receiver, KStringPtr& internalName)
|
|
5136
|
+
{
|
|
5137
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5138
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5139
|
+
const auto _internalName = getStringCopy(internalName);
|
|
5140
|
+
GetImpl()->ClassDefinitionSetInternalName(_context, _receiver, _internalName);
|
|
5141
|
+
return ;
|
|
5142
|
+
}
|
|
5143
|
+
KOALA_INTEROP_V3(ClassDefinitionSetInternalName, KNativePointer, KNativePointer, KStringPtr);
|
|
5144
|
+
|
|
5145
|
+
void impl_ClassDefinitionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
5146
|
+
{
|
|
5147
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5148
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5149
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
5150
|
+
GetImpl()->ClassDefinitionEmplaceAnnotations(_context, _receiver, _source);
|
|
5151
|
+
return ;
|
|
5152
|
+
}
|
|
5153
|
+
KOALA_INTEROP_V3(ClassDefinitionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
5154
|
+
|
|
5155
|
+
void impl_ClassDefinitionClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
5156
|
+
{
|
|
5157
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5158
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5159
|
+
GetImpl()->ClassDefinitionClearAnnotations(_context, _receiver);
|
|
5160
|
+
return ;
|
|
5161
|
+
}
|
|
5162
|
+
KOALA_INTEROP_V2(ClassDefinitionClearAnnotations, KNativePointer, KNativePointer);
|
|
5163
|
+
|
|
5164
|
+
void impl_ClassDefinitionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
5165
|
+
{
|
|
5166
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5167
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5168
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
5169
|
+
const auto _index = static_cast<KUInt>(index);
|
|
5170
|
+
GetImpl()->ClassDefinitionSetValueAnnotations(_context, _receiver, _source, _index);
|
|
5171
|
+
return ;
|
|
5172
|
+
}
|
|
5173
|
+
KOALA_INTEROP_V4(ClassDefinitionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
5174
|
+
|
|
5175
|
+
KNativePointer impl_ClassDefinitionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
5176
|
+
{
|
|
5177
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5178
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5179
|
+
std::size_t length;
|
|
5180
|
+
auto result = GetImpl()->ClassDefinitionAnnotationsForUpdate(_context, _receiver, &length);
|
|
5181
|
+
return StageArena::cloneVector(result, length);
|
|
5182
|
+
}
|
|
5183
|
+
KOALA_INTEROP_2(ClassDefinitionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
5184
|
+
|
|
5185
|
+
KNativePointer impl_ClassDefinitionAnnotations(KNativePointer context, KNativePointer receiver)
|
|
5186
|
+
{
|
|
5187
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5188
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5189
|
+
std::size_t length;
|
|
5190
|
+
auto result = GetImpl()->ClassDefinitionAnnotations(_context, _receiver, &length);
|
|
5191
|
+
return StageArena::cloneVector(result, length);
|
|
5192
|
+
}
|
|
5193
|
+
KOALA_INTEROP_2(ClassDefinitionAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
5194
|
+
|
|
5195
|
+
KNativePointer impl_ClassDefinitionAnnotationsConst(KNativePointer context, KNativePointer receiver)
|
|
5196
|
+
{
|
|
5197
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5198
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5199
|
+
std::size_t length;
|
|
5200
|
+
auto result = GetImpl()->ClassDefinitionAnnotationsConst(_context, _receiver, &length);
|
|
5201
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
5202
|
+
}
|
|
5203
|
+
KOALA_INTEROP_2(ClassDefinitionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5204
|
+
|
|
5205
|
+
void impl_ClassDefinitionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
5206
|
+
{
|
|
5207
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5208
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5209
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
5210
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
5211
|
+
GetImpl()->ClassDefinitionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
5212
|
+
return ;
|
|
5213
|
+
}
|
|
5214
|
+
KOALA_INTEROP_V4(ClassDefinitionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
5215
|
+
|
|
5216
|
+
void impl_ClassDefinitionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
5217
|
+
{
|
|
5218
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5219
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5220
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
5221
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
5222
|
+
GetImpl()->ClassDefinitionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
5223
|
+
return ;
|
|
5224
|
+
}
|
|
5225
|
+
KOALA_INTEROP_V4(ClassDefinitionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
5226
|
+
|
|
5227
|
+
void impl_ClassDefinitionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
5228
|
+
{
|
|
5229
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5230
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5231
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
5232
|
+
GetImpl()->ClassDefinitionAddAnnotations(_context, _receiver, _annotations);
|
|
5233
|
+
return ;
|
|
5234
|
+
}
|
|
5235
|
+
KOALA_INTEROP_V3(ClassDefinitionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
5236
|
+
|
|
5237
|
+
KNativePointer impl_CreateArrayExpression(KNativePointer context, KNativePointerArray elements, KUInt elementsSequenceLength)
|
|
5238
|
+
{
|
|
5239
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5240
|
+
const auto _elements = reinterpret_cast<es2panda_AstNode**>(elements);
|
|
5241
|
+
const auto _elementsSequenceLength = static_cast<KUInt>(elementsSequenceLength);
|
|
5242
|
+
auto result = GetImpl()->CreateArrayExpression(_context, _elements, _elementsSequenceLength);
|
|
5243
|
+
return result;
|
|
5244
|
+
}
|
|
5245
|
+
KOALA_INTEROP_3(CreateArrayExpression, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
5246
|
+
|
|
5247
|
+
KNativePointer impl_UpdateArrayExpression(KNativePointer context, KNativePointer original, KNativePointerArray elements, KUInt elementsSequenceLength)
|
|
5248
|
+
{
|
|
5249
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5250
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
5251
|
+
const auto _elements = reinterpret_cast<es2panda_AstNode**>(elements);
|
|
5252
|
+
const auto _elementsSequenceLength = static_cast<KUInt>(elementsSequenceLength);
|
|
5253
|
+
auto result = GetImpl()->UpdateArrayExpression(_context, _original, _elements, _elementsSequenceLength);
|
|
5254
|
+
return result;
|
|
5255
|
+
}
|
|
5256
|
+
KOALA_INTEROP_4(UpdateArrayExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
5257
|
+
|
|
5258
|
+
KNativePointer impl_CreateArrayExpression1(KNativePointer context, KInt nodeType, KNativePointerArray elements, KUInt elementsSequenceLength, KBoolean trailingComma)
|
|
5259
|
+
{
|
|
5260
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5261
|
+
const auto _nodeType = static_cast<Es2pandaAstNodeType>(nodeType);
|
|
5262
|
+
const auto _elements = reinterpret_cast<es2panda_AstNode**>(elements);
|
|
5263
|
+
const auto _elementsSequenceLength = static_cast<KUInt>(elementsSequenceLength);
|
|
5264
|
+
const auto _trailingComma = static_cast<KBoolean>(trailingComma);
|
|
5265
|
+
auto result = GetImpl()->CreateArrayExpression1(_context, _nodeType, _elements, _elementsSequenceLength, _trailingComma);
|
|
5266
|
+
return result;
|
|
5267
|
+
}
|
|
5268
|
+
KOALA_INTEROP_5(CreateArrayExpression1, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt, KBoolean);
|
|
5269
|
+
|
|
5270
|
+
KNativePointer impl_UpdateArrayExpression1(KNativePointer context, KNativePointer original, KInt nodeType, KNativePointerArray elements, KUInt elementsSequenceLength, KBoolean trailingComma)
|
|
5271
|
+
{
|
|
5272
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5273
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
5274
|
+
const auto _nodeType = static_cast<Es2pandaAstNodeType>(nodeType);
|
|
5275
|
+
const auto _elements = reinterpret_cast<es2panda_AstNode**>(elements);
|
|
5276
|
+
const auto _elementsSequenceLength = static_cast<KUInt>(elementsSequenceLength);
|
|
5277
|
+
const auto _trailingComma = static_cast<KBoolean>(trailingComma);
|
|
5278
|
+
auto result = GetImpl()->UpdateArrayExpression1(_context, _original, _nodeType, _elements, _elementsSequenceLength, _trailingComma);
|
|
5279
|
+
return result;
|
|
5280
|
+
}
|
|
5281
|
+
KOALA_INTEROP_6(UpdateArrayExpression1, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt, KBoolean);
|
|
5282
|
+
|
|
5283
|
+
KNativePointer impl_ArrayExpressionGetElementNodeAtIdxConst(KNativePointer context, KNativePointer receiver, KUInt idx)
|
|
5284
|
+
{
|
|
5285
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5286
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5287
|
+
const auto _idx = static_cast<KUInt>(idx);
|
|
5288
|
+
auto result = GetImpl()->ArrayExpressionGetElementNodeAtIdxConst(_context, _receiver, _idx);
|
|
5289
|
+
return (void*)result;
|
|
5290
|
+
}
|
|
5291
|
+
KOALA_INTEROP_3(ArrayExpressionGetElementNodeAtIdxConst, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
5292
|
+
|
|
5293
|
+
KNativePointer impl_ArrayExpressionElementsConst(KNativePointer context, KNativePointer receiver)
|
|
5294
|
+
{
|
|
5295
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5296
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5297
|
+
std::size_t length;
|
|
4329
5298
|
auto result = GetImpl()->ArrayExpressionElementsConst(_context, _receiver, &length);
|
|
4330
|
-
return (void*)
|
|
5299
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
4331
5300
|
}
|
|
4332
5301
|
KOALA_INTEROP_2(ArrayExpressionElementsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4333
5302
|
|
|
@@ -4337,7 +5306,7 @@ KNativePointer impl_ArrayExpressionElements(KNativePointer context, KNativePoint
|
|
|
4337
5306
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4338
5307
|
std::size_t length;
|
|
4339
5308
|
auto result = GetImpl()->ArrayExpressionElements(_context, _receiver, &length);
|
|
4340
|
-
return
|
|
5309
|
+
return StageArena::cloneVector(result, length);
|
|
4341
5310
|
}
|
|
4342
5311
|
KOALA_INTEROP_2(ArrayExpressionElements, KNativePointer, KNativePointer, KNativePointer);
|
|
4343
5312
|
|
|
@@ -4395,7 +5364,7 @@ KNativePointer impl_ArrayExpressionDecoratorsConst(KNativePointer context, KNati
|
|
|
4395
5364
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4396
5365
|
std::size_t length;
|
|
4397
5366
|
auto result = GetImpl()->ArrayExpressionDecoratorsConst(_context, _receiver, &length);
|
|
4398
|
-
return (void*)
|
|
5367
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
4399
5368
|
}
|
|
4400
5369
|
KOALA_INTEROP_2(ArrayExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4401
5370
|
|
|
@@ -4483,7 +5452,7 @@ KNativePointer impl_TSInterfaceBodyBody(KNativePointer context, KNativePointer r
|
|
|
4483
5452
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4484
5453
|
std::size_t length;
|
|
4485
5454
|
auto result = GetImpl()->TSInterfaceBodyBody(_context, _receiver, &length);
|
|
4486
|
-
return
|
|
5455
|
+
return StageArena::cloneVector(result, length);
|
|
4487
5456
|
}
|
|
4488
5457
|
KOALA_INTEROP_2(TSInterfaceBodyBody, KNativePointer, KNativePointer, KNativePointer);
|
|
4489
5458
|
|
|
@@ -4493,7 +5462,7 @@ KNativePointer impl_TSInterfaceBodyBodyConst(KNativePointer context, KNativePoin
|
|
|
4493
5462
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4494
5463
|
std::size_t length;
|
|
4495
5464
|
auto result = GetImpl()->TSInterfaceBodyBodyConst(_context, _receiver, &length);
|
|
4496
|
-
return (void*)
|
|
5465
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
4497
5466
|
}
|
|
4498
5467
|
KOALA_INTEROP_2(TSInterfaceBodyBodyConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4499
5468
|
|
|
@@ -4839,7 +5808,7 @@ KNativePointer impl_StringLiteralStrConst(KNativePointer context, KNativePointer
|
|
|
4839
5808
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4840
5809
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4841
5810
|
auto result = GetImpl()->StringLiteralStrConst(_context, _receiver);
|
|
4842
|
-
return
|
|
5811
|
+
return StageArena::strdup(result);
|
|
4843
5812
|
}
|
|
4844
5813
|
KOALA_INTEROP_2(StringLiteralStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4845
5814
|
|
|
@@ -5009,7 +5978,7 @@ KNativePointer impl_ETSTupleGetTupleTypeAnnotationsList(KNativePointer context,
|
|
|
5009
5978
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5010
5979
|
std::size_t length;
|
|
5011
5980
|
auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsList(_context, _receiver, &length);
|
|
5012
|
-
return
|
|
5981
|
+
return StageArena::cloneVector(result, length);
|
|
5013
5982
|
}
|
|
5014
5983
|
KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointer);
|
|
5015
5984
|
|
|
@@ -5019,7 +5988,7 @@ KNativePointer impl_ETSTupleGetTupleTypeAnnotationsListConst(KNativePointer cont
|
|
|
5019
5988
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5020
5989
|
std::size_t length;
|
|
5021
5990
|
auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsListConst(_context, _receiver, &length);
|
|
5022
|
-
return (void*)
|
|
5991
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
5023
5992
|
}
|
|
5024
5993
|
KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsListConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5025
5994
|
|
|
@@ -5147,7 +6116,7 @@ KNativePointer impl_TryStatementCatchClausesConst(KNativePointer context, KNativ
|
|
|
5147
6116
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5148
6117
|
std::size_t length;
|
|
5149
6118
|
auto result = GetImpl()->TryStatementCatchClausesConst(_context, _receiver, &length);
|
|
5150
|
-
return (void*)
|
|
6119
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
5151
6120
|
}
|
|
5152
6121
|
KOALA_INTEROP_2(TryStatementCatchClausesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5153
6122
|
|
|
@@ -5369,7 +6338,7 @@ KNativePointer impl_AstNodeDecoratorsPtrConst(KNativePointer context, KNativePoi
|
|
|
5369
6338
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5370
6339
|
std::size_t length;
|
|
5371
6340
|
auto result = GetImpl()->AstNodeDecoratorsPtrConst(_context, _receiver, &length);
|
|
5372
|
-
return (void*)
|
|
6341
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
5373
6342
|
}
|
|
5374
6343
|
KOALA_INTEROP_2(AstNodeDecoratorsPtrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5375
6344
|
|
|
@@ -5735,7 +6704,7 @@ KNativePointer impl_AstNodeDumpJSONConst(KNativePointer context, KNativePointer
|
|
|
5735
6704
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5736
6705
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5737
6706
|
auto result = GetImpl()->AstNodeDumpJSONConst(_context, _receiver);
|
|
5738
|
-
return
|
|
6707
|
+
return StageArena::strdup(result);
|
|
5739
6708
|
}
|
|
5740
6709
|
KOALA_INTEROP_2(AstNodeDumpJSONConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5741
6710
|
|
|
@@ -5744,10 +6713,19 @@ KNativePointer impl_AstNodeDumpEtsSrcConst(KNativePointer context, KNativePointe
|
|
|
5744
6713
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5745
6714
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5746
6715
|
auto result = GetImpl()->AstNodeDumpEtsSrcConst(_context, _receiver);
|
|
5747
|
-
return
|
|
6716
|
+
return StageArena::strdup(result);
|
|
5748
6717
|
}
|
|
5749
6718
|
KOALA_INTEROP_2(AstNodeDumpEtsSrcConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5750
6719
|
|
|
6720
|
+
KNativePointer impl_AstNodeDumpDeclConst(KNativePointer context, KNativePointer receiver)
|
|
6721
|
+
{
|
|
6722
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6723
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6724
|
+
auto result = GetImpl()->AstNodeDumpDeclConst(_context, _receiver);
|
|
6725
|
+
return StageArena::strdup(result);
|
|
6726
|
+
}
|
|
6727
|
+
KOALA_INTEROP_2(AstNodeDumpDeclConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6728
|
+
|
|
5751
6729
|
void impl_AstNodeDumpConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper)
|
|
5752
6730
|
{
|
|
5753
6731
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -5846,6 +6824,33 @@ KNativePointer impl_AstNodeShallowClone(KNativePointer context, KNativePointer r
|
|
|
5846
6824
|
}
|
|
5847
6825
|
KOALA_INTEROP_2(AstNodeShallowClone, KNativePointer, KNativePointer, KNativePointer);
|
|
5848
6826
|
|
|
6827
|
+
KBoolean impl_AstNodeIsValidInCurrentPhaseConst(KNativePointer context, KNativePointer receiver)
|
|
6828
|
+
{
|
|
6829
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6830
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6831
|
+
auto result = GetImpl()->AstNodeIsValidInCurrentPhaseConst(_context, _receiver);
|
|
6832
|
+
return result;
|
|
6833
|
+
}
|
|
6834
|
+
KOALA_INTEROP_2(AstNodeIsValidInCurrentPhaseConst, KBoolean, KNativePointer, KNativePointer);
|
|
6835
|
+
|
|
6836
|
+
KNativePointer impl_AstNodeGetHistoryNodeConst(KNativePointer context, KNativePointer receiver)
|
|
6837
|
+
{
|
|
6838
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6839
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6840
|
+
auto result = GetImpl()->AstNodeGetHistoryNodeConst(_context, _receiver);
|
|
6841
|
+
return (void*)result;
|
|
6842
|
+
}
|
|
6843
|
+
KOALA_INTEROP_2(AstNodeGetHistoryNodeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6844
|
+
|
|
6845
|
+
KNativePointer impl_AstNodeGetOrCreateHistoryNodeConst(KNativePointer context, KNativePointer receiver)
|
|
6846
|
+
{
|
|
6847
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6848
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6849
|
+
auto result = GetImpl()->AstNodeGetOrCreateHistoryNodeConst(_context, _receiver);
|
|
6850
|
+
return (void*)result;
|
|
6851
|
+
}
|
|
6852
|
+
KOALA_INTEROP_2(AstNodeGetOrCreateHistoryNodeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6853
|
+
|
|
5849
6854
|
KNativePointer impl_CreateUnaryExpression(KNativePointer context, KNativePointer argument, KInt unaryOperator)
|
|
5850
6855
|
{
|
|
5851
6856
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -5894,6 +6899,16 @@ KNativePointer impl_UnaryExpressionArgumentConst(KNativePointer context, KNative
|
|
|
5894
6899
|
}
|
|
5895
6900
|
KOALA_INTEROP_2(UnaryExpressionArgumentConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5896
6901
|
|
|
6902
|
+
void impl_UnaryExpressionSetArgument(KNativePointer context, KNativePointer receiver, KNativePointer arg)
|
|
6903
|
+
{
|
|
6904
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6905
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6906
|
+
const auto _arg = reinterpret_cast<es2panda_AstNode*>(arg);
|
|
6907
|
+
GetImpl()->UnaryExpressionSetArgument(_context, _receiver, _arg);
|
|
6908
|
+
return ;
|
|
6909
|
+
}
|
|
6910
|
+
KOALA_INTEROP_V3(UnaryExpressionSetArgument, KNativePointer, KNativePointer, KNativePointer);
|
|
6911
|
+
|
|
5897
6912
|
KNativePointer impl_CreateForInStatement(KNativePointer context, KNativePointer left, KNativePointer right, KNativePointer body)
|
|
5898
6913
|
{
|
|
5899
6914
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -6055,7 +7070,7 @@ KNativePointer impl_TSMethodSignatureParamsConst(KNativePointer context, KNative
|
|
|
6055
7070
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6056
7071
|
std::size_t length;
|
|
6057
7072
|
auto result = GetImpl()->TSMethodSignatureParamsConst(_context, _receiver, &length);
|
|
6058
|
-
return (void*)
|
|
7073
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
6059
7074
|
}
|
|
6060
7075
|
KOALA_INTEROP_2(TSMethodSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6061
7076
|
|
|
@@ -6614,6 +7629,33 @@ void impl_ExpressionStatementSetExpression(KNativePointer context, KNativePointe
|
|
|
6614
7629
|
}
|
|
6615
7630
|
KOALA_INTEROP_V3(ExpressionStatementSetExpression, KNativePointer, KNativePointer, KNativePointer);
|
|
6616
7631
|
|
|
7632
|
+
KNativePointer impl_CreateETSModule(KNativePointer context, KNativePointerArray statementList, KUInt statementListSequenceLength, KNativePointer ident, KInt flag, KNativePointer program)
|
|
7633
|
+
{
|
|
7634
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7635
|
+
const auto _statementList = reinterpret_cast<es2panda_AstNode**>(statementList);
|
|
7636
|
+
const auto _statementListSequenceLength = static_cast<KUInt>(statementListSequenceLength);
|
|
7637
|
+
const auto _ident = reinterpret_cast<es2panda_AstNode*>(ident);
|
|
7638
|
+
const auto _flag = static_cast<Es2pandaModuleFlag>(flag);
|
|
7639
|
+
const auto _program = reinterpret_cast<es2panda_Program*>(program);
|
|
7640
|
+
auto result = GetImpl()->CreateETSModule(_context, _statementList, _statementListSequenceLength, _ident, _flag, _program);
|
|
7641
|
+
return result;
|
|
7642
|
+
}
|
|
7643
|
+
KOALA_INTEROP_6(CreateETSModule, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KInt, KNativePointer);
|
|
7644
|
+
|
|
7645
|
+
KNativePointer impl_UpdateETSModule(KNativePointer context, KNativePointer original, KNativePointerArray statementList, KUInt statementListSequenceLength, KNativePointer ident, KInt flag, KNativePointer program)
|
|
7646
|
+
{
|
|
7647
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7648
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
7649
|
+
const auto _statementList = reinterpret_cast<es2panda_AstNode**>(statementList);
|
|
7650
|
+
const auto _statementListSequenceLength = static_cast<KUInt>(statementListSequenceLength);
|
|
7651
|
+
const auto _ident = reinterpret_cast<es2panda_AstNode*>(ident);
|
|
7652
|
+
const auto _flag = static_cast<Es2pandaModuleFlag>(flag);
|
|
7653
|
+
const auto _program = reinterpret_cast<es2panda_Program*>(program);
|
|
7654
|
+
auto result = GetImpl()->UpdateETSModule(_context, _original, _statementList, _statementListSequenceLength, _ident, _flag, _program);
|
|
7655
|
+
return result;
|
|
7656
|
+
}
|
|
7657
|
+
KOALA_INTEROP_7(UpdateETSModule, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KInt, KNativePointer);
|
|
7658
|
+
|
|
6617
7659
|
KNativePointer impl_ETSModuleIdent(KNativePointer context, KNativePointer receiver)
|
|
6618
7660
|
{
|
|
6619
7661
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -6632,49 +7674,135 @@ KNativePointer impl_ETSModuleIdentConst(KNativePointer context, KNativePointer r
|
|
|
6632
7674
|
}
|
|
6633
7675
|
KOALA_INTEROP_2(ETSModuleIdentConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6634
7676
|
|
|
6635
|
-
|
|
7677
|
+
KNativePointer impl_ETSModuleProgram(KNativePointer context, KNativePointer receiver)
|
|
6636
7678
|
{
|
|
6637
7679
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6638
7680
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6639
|
-
auto result = GetImpl()->
|
|
7681
|
+
auto result = GetImpl()->ETSModuleProgram(_context, _receiver);
|
|
6640
7682
|
return result;
|
|
6641
7683
|
}
|
|
6642
|
-
KOALA_INTEROP_2(
|
|
7684
|
+
KOALA_INTEROP_2(ETSModuleProgram, KNativePointer, KNativePointer, KNativePointer);
|
|
6643
7685
|
|
|
6644
|
-
|
|
7686
|
+
KNativePointer impl_ETSModuleGlobalClassConst(KNativePointer context, KNativePointer receiver)
|
|
6645
7687
|
{
|
|
6646
7688
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6647
7689
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6648
|
-
auto result = GetImpl()->
|
|
6649
|
-
return result;
|
|
7690
|
+
auto result = GetImpl()->ETSModuleGlobalClassConst(_context, _receiver);
|
|
7691
|
+
return (void*)result;
|
|
6650
7692
|
}
|
|
6651
|
-
KOALA_INTEROP_2(
|
|
7693
|
+
KOALA_INTEROP_2(ETSModuleGlobalClassConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6652
7694
|
|
|
6653
|
-
|
|
7695
|
+
KNativePointer impl_ETSModuleGlobalClass(KNativePointer context, KNativePointer receiver)
|
|
6654
7696
|
{
|
|
6655
7697
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6656
7698
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6657
|
-
auto result = GetImpl()->
|
|
7699
|
+
auto result = GetImpl()->ETSModuleGlobalClass(_context, _receiver);
|
|
6658
7700
|
return result;
|
|
6659
7701
|
}
|
|
6660
|
-
KOALA_INTEROP_2(
|
|
7702
|
+
KOALA_INTEROP_2(ETSModuleGlobalClass, KNativePointer, KNativePointer, KNativePointer);
|
|
6661
7703
|
|
|
6662
|
-
void
|
|
7704
|
+
void impl_ETSModuleSetGlobalClass(KNativePointer context, KNativePointer receiver, KNativePointer globalClass)
|
|
6663
7705
|
{
|
|
6664
7706
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6665
7707
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6666
|
-
|
|
7708
|
+
const auto _globalClass = reinterpret_cast<es2panda_AstNode*>(globalClass);
|
|
7709
|
+
GetImpl()->ETSModuleSetGlobalClass(_context, _receiver, _globalClass);
|
|
6667
7710
|
return ;
|
|
6668
7711
|
}
|
|
6669
|
-
|
|
7712
|
+
KOALA_INTEROP_V3(ETSModuleSetGlobalClass, KNativePointer, KNativePointer, KNativePointer);
|
|
6670
7713
|
|
|
6671
|
-
|
|
7714
|
+
KBoolean impl_ETSModuleIsETSScriptConst(KNativePointer context, KNativePointer receiver)
|
|
6672
7715
|
{
|
|
6673
7716
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6674
7717
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
7718
|
+
auto result = GetImpl()->ETSModuleIsETSScriptConst(_context, _receiver);
|
|
7719
|
+
return result;
|
|
7720
|
+
}
|
|
7721
|
+
KOALA_INTEROP_2(ETSModuleIsETSScriptConst, KBoolean, KNativePointer, KNativePointer);
|
|
7722
|
+
|
|
7723
|
+
KBoolean impl_ETSModuleIsNamespaceConst(KNativePointer context, KNativePointer receiver)
|
|
7724
|
+
{
|
|
7725
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7726
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7727
|
+
auto result = GetImpl()->ETSModuleIsNamespaceConst(_context, _receiver);
|
|
7728
|
+
return result;
|
|
7729
|
+
}
|
|
7730
|
+
KOALA_INTEROP_2(ETSModuleIsNamespaceConst, KBoolean, KNativePointer, KNativePointer);
|
|
7731
|
+
|
|
7732
|
+
KBoolean impl_ETSModuleIsNamespaceChainLastNodeConst(KNativePointer context, KNativePointer receiver)
|
|
7733
|
+
{
|
|
7734
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7735
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7736
|
+
auto result = GetImpl()->ETSModuleIsNamespaceChainLastNodeConst(_context, _receiver);
|
|
7737
|
+
return result;
|
|
7738
|
+
}
|
|
7739
|
+
KOALA_INTEROP_2(ETSModuleIsNamespaceChainLastNodeConst, KBoolean, KNativePointer, KNativePointer);
|
|
7740
|
+
|
|
7741
|
+
void impl_ETSModuleSetNamespaceChainLastNode(KNativePointer context, KNativePointer receiver)
|
|
7742
|
+
{
|
|
7743
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7744
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7745
|
+
GetImpl()->ETSModuleSetNamespaceChainLastNode(_context, _receiver);
|
|
7746
|
+
return ;
|
|
7747
|
+
}
|
|
7748
|
+
KOALA_INTEROP_V2(ETSModuleSetNamespaceChainLastNode, KNativePointer, KNativePointer);
|
|
7749
|
+
|
|
7750
|
+
KNativePointer impl_ETSModuleProgramConst(KNativePointer context, KNativePointer receiver)
|
|
7751
|
+
{
|
|
7752
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7753
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7754
|
+
auto result = GetImpl()->ETSModuleProgramConst(_context, _receiver);
|
|
7755
|
+
return (void*)result;
|
|
7756
|
+
}
|
|
7757
|
+
KOALA_INTEROP_2(ETSModuleProgramConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7758
|
+
|
|
7759
|
+
void impl_ETSModuleEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
7760
|
+
{
|
|
7761
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7762
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7763
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
7764
|
+
GetImpl()->ETSModuleEmplaceAnnotations(_context, _receiver, _source);
|
|
7765
|
+
return ;
|
|
7766
|
+
}
|
|
7767
|
+
KOALA_INTEROP_V3(ETSModuleEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
7768
|
+
|
|
7769
|
+
void impl_ETSModuleClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
7770
|
+
{
|
|
7771
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7772
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7773
|
+
GetImpl()->ETSModuleClearAnnotations(_context, _receiver);
|
|
7774
|
+
return ;
|
|
7775
|
+
}
|
|
7776
|
+
KOALA_INTEROP_V2(ETSModuleClearAnnotations, KNativePointer, KNativePointer);
|
|
7777
|
+
|
|
7778
|
+
void impl_ETSModuleSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
7779
|
+
{
|
|
7780
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7781
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7782
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
7783
|
+
const auto _index = static_cast<KUInt>(index);
|
|
7784
|
+
GetImpl()->ETSModuleSetValueAnnotations(_context, _receiver, _source, _index);
|
|
7785
|
+
return ;
|
|
7786
|
+
}
|
|
7787
|
+
KOALA_INTEROP_V4(ETSModuleSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
7788
|
+
|
|
7789
|
+
KNativePointer impl_ETSModuleAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
7790
|
+
{
|
|
7791
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7792
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7793
|
+
std::size_t length;
|
|
7794
|
+
auto result = GetImpl()->ETSModuleAnnotationsForUpdate(_context, _receiver, &length);
|
|
7795
|
+
return StageArena::cloneVector(result, length);
|
|
7796
|
+
}
|
|
7797
|
+
KOALA_INTEROP_2(ETSModuleAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
7798
|
+
|
|
7799
|
+
KNativePointer impl_ETSModuleAnnotations(KNativePointer context, KNativePointer receiver)
|
|
7800
|
+
{
|
|
7801
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7802
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7803
|
+
std::size_t length;
|
|
7804
|
+
auto result = GetImpl()->ETSModuleAnnotations(_context, _receiver, &length);
|
|
7805
|
+
return StageArena::cloneVector(result, length);
|
|
6678
7806
|
}
|
|
6679
7807
|
KOALA_INTEROP_2(ETSModuleAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
6680
7808
|
|
|
@@ -6684,21 +7812,42 @@ KNativePointer impl_ETSModuleAnnotationsConst(KNativePointer context, KNativePoi
|
|
|
6684
7812
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6685
7813
|
std::size_t length;
|
|
6686
7814
|
auto result = GetImpl()->ETSModuleAnnotationsConst(_context, _receiver, &length);
|
|
6687
|
-
return (void*)
|
|
7815
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
6688
7816
|
}
|
|
6689
7817
|
KOALA_INTEROP_2(ETSModuleAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6690
7818
|
|
|
6691
|
-
void impl_ETSModuleSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
7819
|
+
void impl_ETSModuleSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
6692
7820
|
{
|
|
6693
7821
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6694
7822
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6695
|
-
const auto
|
|
6696
|
-
const auto
|
|
6697
|
-
GetImpl()->ETSModuleSetAnnotations(_context, _receiver,
|
|
7823
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
7824
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
7825
|
+
GetImpl()->ETSModuleSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
6698
7826
|
return ;
|
|
6699
7827
|
}
|
|
6700
7828
|
KOALA_INTEROP_V4(ETSModuleSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
6701
7829
|
|
|
7830
|
+
void impl_ETSModuleSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
7831
|
+
{
|
|
7832
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7833
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7834
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
7835
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
7836
|
+
GetImpl()->ETSModuleSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
7837
|
+
return ;
|
|
7838
|
+
}
|
|
7839
|
+
KOALA_INTEROP_V4(ETSModuleSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
7840
|
+
|
|
7841
|
+
void impl_ETSModuleAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
7842
|
+
{
|
|
7843
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7844
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7845
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
7846
|
+
GetImpl()->ETSModuleAddAnnotations(_context, _receiver, _annotations);
|
|
7847
|
+
return ;
|
|
7848
|
+
}
|
|
7849
|
+
KOALA_INTEROP_V3(ETSModuleAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
7850
|
+
|
|
6702
7851
|
KNativePointer impl_CreateMetaProperty(KNativePointer context, KInt kind)
|
|
6703
7852
|
{
|
|
6704
7853
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -6800,7 +7949,7 @@ KNativePointer impl_TSSignatureDeclarationParamsConst(KNativePointer context, KN
|
|
|
6800
7949
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6801
7950
|
std::size_t length;
|
|
6802
7951
|
auto result = GetImpl()->TSSignatureDeclarationParamsConst(_context, _receiver, &length);
|
|
6803
|
-
return (void*)
|
|
7952
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
6804
7953
|
}
|
|
6805
7954
|
KOALA_INTEROP_2(TSSignatureDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6806
7955
|
|
|
@@ -6909,6 +8058,43 @@ KNativePointer impl_ExportSpecifierExportedConst(KNativePointer context, KNative
|
|
|
6909
8058
|
}
|
|
6910
8059
|
KOALA_INTEROP_2(ExportSpecifierExportedConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6911
8060
|
|
|
8061
|
+
void impl_ExportSpecifierSetDefault(KNativePointer context, KNativePointer receiver)
|
|
8062
|
+
{
|
|
8063
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8064
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8065
|
+
GetImpl()->ExportSpecifierSetDefault(_context, _receiver);
|
|
8066
|
+
return ;
|
|
8067
|
+
}
|
|
8068
|
+
KOALA_INTEROP_V2(ExportSpecifierSetDefault, KNativePointer, KNativePointer);
|
|
8069
|
+
|
|
8070
|
+
KBoolean impl_ExportSpecifierIsDefaultConst(KNativePointer context, KNativePointer receiver)
|
|
8071
|
+
{
|
|
8072
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8073
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8074
|
+
auto result = GetImpl()->ExportSpecifierIsDefaultConst(_context, _receiver);
|
|
8075
|
+
return result;
|
|
8076
|
+
}
|
|
8077
|
+
KOALA_INTEROP_2(ExportSpecifierIsDefaultConst, KBoolean, KNativePointer, KNativePointer);
|
|
8078
|
+
|
|
8079
|
+
void impl_ExportSpecifierSetConstantExpression(KNativePointer context, KNativePointer receiver, KNativePointer constantExpression)
|
|
8080
|
+
{
|
|
8081
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8082
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8083
|
+
const auto _constantExpression = reinterpret_cast<es2panda_AstNode*>(constantExpression);
|
|
8084
|
+
GetImpl()->ExportSpecifierSetConstantExpression(_context, _receiver, _constantExpression);
|
|
8085
|
+
return ;
|
|
8086
|
+
}
|
|
8087
|
+
KOALA_INTEROP_V3(ExportSpecifierSetConstantExpression, KNativePointer, KNativePointer, KNativePointer);
|
|
8088
|
+
|
|
8089
|
+
KNativePointer impl_ExportSpecifierGetConstantExpressionConst(KNativePointer context, KNativePointer receiver)
|
|
8090
|
+
{
|
|
8091
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8092
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8093
|
+
auto result = GetImpl()->ExportSpecifierGetConstantExpressionConst(_context, _receiver);
|
|
8094
|
+
return (void*)result;
|
|
8095
|
+
}
|
|
8096
|
+
KOALA_INTEROP_2(ExportSpecifierGetConstantExpressionConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8097
|
+
|
|
6912
8098
|
KNativePointer impl_CreateTSTupleType(KNativePointer context, KNativePointerArray elementTypes, KUInt elementTypesSequenceLength)
|
|
6913
8099
|
{
|
|
6914
8100
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -6936,7 +8122,7 @@ KNativePointer impl_TSTupleTypeElementTypeConst(KNativePointer context, KNativeP
|
|
|
6936
8122
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6937
8123
|
std::size_t length;
|
|
6938
8124
|
auto result = GetImpl()->TSTupleTypeElementTypeConst(_context, _receiver, &length);
|
|
6939
|
-
return (void*)
|
|
8125
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
6940
8126
|
}
|
|
6941
8127
|
KOALA_INTEROP_2(TSTupleTypeElementTypeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6942
8128
|
|
|
@@ -7161,6 +8347,46 @@ KNativePointer impl_UpdateImportDeclaration(KNativePointer context, KNativePoint
|
|
|
7161
8347
|
}
|
|
7162
8348
|
KOALA_INTEROP_6(UpdateImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt);
|
|
7163
8349
|
|
|
8350
|
+
void impl_ImportDeclarationEmplaceSpecifiers(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
8351
|
+
{
|
|
8352
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8353
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8354
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
8355
|
+
GetImpl()->ImportDeclarationEmplaceSpecifiers(_context, _receiver, _source);
|
|
8356
|
+
return ;
|
|
8357
|
+
}
|
|
8358
|
+
KOALA_INTEROP_V3(ImportDeclarationEmplaceSpecifiers, KNativePointer, KNativePointer, KNativePointer);
|
|
8359
|
+
|
|
8360
|
+
void impl_ImportDeclarationClearSpecifiers(KNativePointer context, KNativePointer receiver)
|
|
8361
|
+
{
|
|
8362
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8363
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8364
|
+
GetImpl()->ImportDeclarationClearSpecifiers(_context, _receiver);
|
|
8365
|
+
return ;
|
|
8366
|
+
}
|
|
8367
|
+
KOALA_INTEROP_V2(ImportDeclarationClearSpecifiers, KNativePointer, KNativePointer);
|
|
8368
|
+
|
|
8369
|
+
void impl_ImportDeclarationSetValueSpecifiers(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
8370
|
+
{
|
|
8371
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8372
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8373
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
8374
|
+
const auto _index = static_cast<KUInt>(index);
|
|
8375
|
+
GetImpl()->ImportDeclarationSetValueSpecifiers(_context, _receiver, _source, _index);
|
|
8376
|
+
return ;
|
|
8377
|
+
}
|
|
8378
|
+
KOALA_INTEROP_V4(ImportDeclarationSetValueSpecifiers, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
8379
|
+
|
|
8380
|
+
KNativePointer impl_ImportDeclarationSpecifiersForUpdate(KNativePointer context, KNativePointer receiver)
|
|
8381
|
+
{
|
|
8382
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8383
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8384
|
+
std::size_t length;
|
|
8385
|
+
auto result = GetImpl()->ImportDeclarationSpecifiersForUpdate(_context, _receiver, &length);
|
|
8386
|
+
return StageArena::cloneVector(result, length);
|
|
8387
|
+
}
|
|
8388
|
+
KOALA_INTEROP_2(ImportDeclarationSpecifiersForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
8389
|
+
|
|
7164
8390
|
KNativePointer impl_ImportDeclarationSourceConst(KNativePointer context, KNativePointer receiver)
|
|
7165
8391
|
{
|
|
7166
8392
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7185,20 +8411,10 @@ KNativePointer impl_ImportDeclarationSpecifiersConst(KNativePointer context, KNa
|
|
|
7185
8411
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7186
8412
|
std::size_t length;
|
|
7187
8413
|
auto result = GetImpl()->ImportDeclarationSpecifiersConst(_context, _receiver, &length);
|
|
7188
|
-
return (void*)
|
|
8414
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
7189
8415
|
}
|
|
7190
8416
|
KOALA_INTEROP_2(ImportDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7191
8417
|
|
|
7192
|
-
KNativePointer impl_ImportDeclarationSpecifiers(KNativePointer context, KNativePointer receiver)
|
|
7193
|
-
{
|
|
7194
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7195
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7196
|
-
std::size_t length;
|
|
7197
|
-
auto result = GetImpl()->ImportDeclarationSpecifiers(_context, _receiver, &length);
|
|
7198
|
-
return new std::vector<void*>(result, result + length);
|
|
7199
|
-
}
|
|
7200
|
-
KOALA_INTEROP_2(ImportDeclarationSpecifiers, KNativePointer, KNativePointer, KNativePointer);
|
|
7201
|
-
|
|
7202
8418
|
KBoolean impl_ImportDeclarationIsTypeKindConst(KNativePointer context, KNativePointer receiver)
|
|
7203
8419
|
{
|
|
7204
8420
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7236,6 +8452,25 @@ KNativePointer impl_TSParenthesizedTypeTypeConst(KNativePointer context, KNative
|
|
|
7236
8452
|
}
|
|
7237
8453
|
KOALA_INTEROP_2(TSParenthesizedTypeTypeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7238
8454
|
|
|
8455
|
+
KBoolean impl_LiteralIsFoldedConst(KNativePointer context, KNativePointer receiver)
|
|
8456
|
+
{
|
|
8457
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8458
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8459
|
+
auto result = GetImpl()->LiteralIsFoldedConst(_context, _receiver);
|
|
8460
|
+
return result;
|
|
8461
|
+
}
|
|
8462
|
+
KOALA_INTEROP_2(LiteralIsFoldedConst, KBoolean, KNativePointer, KNativePointer);
|
|
8463
|
+
|
|
8464
|
+
void impl_LiteralSetFolded(KNativePointer context, KNativePointer receiver, KBoolean folded)
|
|
8465
|
+
{
|
|
8466
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8467
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8468
|
+
const auto _folded = static_cast<KBoolean>(folded);
|
|
8469
|
+
GetImpl()->LiteralSetFolded(_context, _receiver, _folded);
|
|
8470
|
+
return ;
|
|
8471
|
+
}
|
|
8472
|
+
KOALA_INTEROP_V3(LiteralSetFolded, KNativePointer, KNativePointer, KBoolean);
|
|
8473
|
+
|
|
7239
8474
|
KNativePointer impl_CreateCharLiteral(KNativePointer context)
|
|
7240
8475
|
{
|
|
7241
8476
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7316,7 +8551,7 @@ KNativePointer impl_ETSImportDeclarationDeclPathConst(KNativePointer context, KN
|
|
|
7316
8551
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7317
8552
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7318
8553
|
auto result = GetImpl()->ETSImportDeclarationDeclPathConst(_context, _receiver);
|
|
7319
|
-
return
|
|
8554
|
+
return StageArena::strdup(result);
|
|
7320
8555
|
}
|
|
7321
8556
|
KOALA_INTEROP_2(ETSImportDeclarationDeclPathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7322
8557
|
|
|
@@ -7325,7 +8560,7 @@ KNativePointer impl_ETSImportDeclarationOhmUrlConst(KNativePointer context, KNat
|
|
|
7325
8560
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7326
8561
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7327
8562
|
auto result = GetImpl()->ETSImportDeclarationOhmUrlConst(_context, _receiver);
|
|
7328
|
-
return
|
|
8563
|
+
return StageArena::strdup(result);
|
|
7329
8564
|
}
|
|
7330
8565
|
KOALA_INTEROP_2(ETSImportDeclarationOhmUrlConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7331
8566
|
|
|
@@ -7347,21 +8582,22 @@ KBoolean impl_ETSImportDeclarationIsPureDynamicConst(KNativePointer context, KNa
|
|
|
7347
8582
|
}
|
|
7348
8583
|
KOALA_INTEROP_2(ETSImportDeclarationIsPureDynamicConst, KBoolean, KNativePointer, KNativePointer);
|
|
7349
8584
|
|
|
7350
|
-
|
|
8585
|
+
void impl_ETSImportDeclarationSetAssemblerName(KNativePointer context, KNativePointer receiver, KStringPtr& assemblerName)
|
|
7351
8586
|
{
|
|
7352
8587
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7353
8588
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7354
|
-
auto
|
|
7355
|
-
|
|
8589
|
+
const auto _assemblerName = getStringCopy(assemblerName);
|
|
8590
|
+
GetImpl()->ETSImportDeclarationSetAssemblerName(_context, _receiver, _assemblerName);
|
|
8591
|
+
return ;
|
|
7356
8592
|
}
|
|
7357
|
-
|
|
8593
|
+
KOALA_INTEROP_V3(ETSImportDeclarationSetAssemblerName, KNativePointer, KNativePointer, KStringPtr);
|
|
7358
8594
|
|
|
7359
8595
|
KNativePointer impl_ETSImportDeclarationAssemblerNameConst(KNativePointer context, KNativePointer receiver)
|
|
7360
8596
|
{
|
|
7361
8597
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7362
8598
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7363
8599
|
auto result = GetImpl()->ETSImportDeclarationAssemblerNameConst(_context, _receiver);
|
|
7364
|
-
return
|
|
8600
|
+
return StageArena::strdup(result);
|
|
7365
8601
|
}
|
|
7366
8602
|
KOALA_INTEROP_2(ETSImportDeclarationAssemblerNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7367
8603
|
|
|
@@ -7370,7 +8606,7 @@ KNativePointer impl_ETSImportDeclarationResolvedSourceConst(KNativePointer conte
|
|
|
7370
8606
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7371
8607
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7372
8608
|
auto result = GetImpl()->ETSImportDeclarationResolvedSourceConst(_context, _receiver);
|
|
7373
|
-
return
|
|
8609
|
+
return StageArena::strdup(result);
|
|
7374
8610
|
}
|
|
7375
8611
|
KOALA_INTEROP_2(ETSImportDeclarationResolvedSourceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7376
8612
|
|
|
@@ -7420,7 +8656,7 @@ KNativePointer impl_TSModuleBlockStatementsConst(KNativePointer context, KNative
|
|
|
7420
8656
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7421
8657
|
std::size_t length;
|
|
7422
8658
|
auto result = GetImpl()->TSModuleBlockStatementsConst(_context, _receiver, &length);
|
|
7423
|
-
return (void*)
|
|
8659
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
7424
8660
|
}
|
|
7425
8661
|
KOALA_INTEROP_2(TSModuleBlockStatementsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7426
8662
|
|
|
@@ -7547,7 +8783,7 @@ KNativePointer impl_AnnotationDeclarationInternalNameConst(KNativePointer contex
|
|
|
7547
8783
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7548
8784
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7549
8785
|
auto result = GetImpl()->AnnotationDeclarationInternalNameConst(_context, _receiver);
|
|
7550
|
-
return
|
|
8786
|
+
return StageArena::strdup(result);
|
|
7551
8787
|
}
|
|
7552
8788
|
KOALA_INTEROP_2(AnnotationDeclarationInternalNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7553
8789
|
|
|
@@ -7585,17 +8821,27 @@ KNativePointer impl_AnnotationDeclarationProperties(KNativePointer context, KNat
|
|
|
7585
8821
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7586
8822
|
std::size_t length;
|
|
7587
8823
|
auto result = GetImpl()->AnnotationDeclarationProperties(_context, _receiver, &length);
|
|
7588
|
-
return
|
|
8824
|
+
return StageArena::cloneVector(result, length);
|
|
7589
8825
|
}
|
|
7590
8826
|
KOALA_INTEROP_2(AnnotationDeclarationProperties, KNativePointer, KNativePointer, KNativePointer);
|
|
7591
8827
|
|
|
8828
|
+
KNativePointer impl_AnnotationDeclarationPropertiesForUpdate(KNativePointer context, KNativePointer receiver)
|
|
8829
|
+
{
|
|
8830
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8831
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8832
|
+
std::size_t length;
|
|
8833
|
+
auto result = GetImpl()->AnnotationDeclarationPropertiesForUpdate(_context, _receiver, &length);
|
|
8834
|
+
return StageArena::cloneVector(result, length);
|
|
8835
|
+
}
|
|
8836
|
+
KOALA_INTEROP_2(AnnotationDeclarationPropertiesForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
8837
|
+
|
|
7592
8838
|
KNativePointer impl_AnnotationDeclarationPropertiesConst(KNativePointer context, KNativePointer receiver)
|
|
7593
8839
|
{
|
|
7594
8840
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7595
8841
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7596
8842
|
std::size_t length;
|
|
7597
8843
|
auto result = GetImpl()->AnnotationDeclarationPropertiesConst(_context, _receiver, &length);
|
|
7598
|
-
return (void*)
|
|
8844
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
7599
8845
|
}
|
|
7600
8846
|
KOALA_INTEROP_2(AnnotationDeclarationPropertiesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7601
8847
|
|
|
@@ -7673,13 +8919,83 @@ KNativePointer impl_AnnotationDeclarationGetBaseNameConst(KNativePointer context
|
|
|
7673
8919
|
}
|
|
7674
8920
|
KOALA_INTEROP_2(AnnotationDeclarationGetBaseNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7675
8921
|
|
|
8922
|
+
void impl_AnnotationDeclarationEmplaceProperties(KNativePointer context, KNativePointer receiver, KNativePointer properties)
|
|
8923
|
+
{
|
|
8924
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8925
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8926
|
+
const auto _properties = reinterpret_cast<es2panda_AstNode*>(properties);
|
|
8927
|
+
GetImpl()->AnnotationDeclarationEmplaceProperties(_context, _receiver, _properties);
|
|
8928
|
+
return ;
|
|
8929
|
+
}
|
|
8930
|
+
KOALA_INTEROP_V3(AnnotationDeclarationEmplaceProperties, KNativePointer, KNativePointer, KNativePointer);
|
|
8931
|
+
|
|
8932
|
+
void impl_AnnotationDeclarationClearProperties(KNativePointer context, KNativePointer receiver)
|
|
8933
|
+
{
|
|
8934
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8935
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8936
|
+
GetImpl()->AnnotationDeclarationClearProperties(_context, _receiver);
|
|
8937
|
+
return ;
|
|
8938
|
+
}
|
|
8939
|
+
KOALA_INTEROP_V2(AnnotationDeclarationClearProperties, KNativePointer, KNativePointer);
|
|
8940
|
+
|
|
8941
|
+
void impl_AnnotationDeclarationSetValueProperties(KNativePointer context, KNativePointer receiver, KNativePointer properties, KUInt index)
|
|
8942
|
+
{
|
|
8943
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8944
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8945
|
+
const auto _properties = reinterpret_cast<es2panda_AstNode*>(properties);
|
|
8946
|
+
const auto _index = static_cast<KUInt>(index);
|
|
8947
|
+
GetImpl()->AnnotationDeclarationSetValueProperties(_context, _receiver, _properties, _index);
|
|
8948
|
+
return ;
|
|
8949
|
+
}
|
|
8950
|
+
KOALA_INTEROP_V4(AnnotationDeclarationSetValueProperties, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
8951
|
+
|
|
8952
|
+
void impl_AnnotationDeclarationEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
8953
|
+
{
|
|
8954
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8955
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8956
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
8957
|
+
GetImpl()->AnnotationDeclarationEmplaceAnnotations(_context, _receiver, _source);
|
|
8958
|
+
return ;
|
|
8959
|
+
}
|
|
8960
|
+
KOALA_INTEROP_V3(AnnotationDeclarationEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
8961
|
+
|
|
8962
|
+
void impl_AnnotationDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
8963
|
+
{
|
|
8964
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8965
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8966
|
+
GetImpl()->AnnotationDeclarationClearAnnotations(_context, _receiver);
|
|
8967
|
+
return ;
|
|
8968
|
+
}
|
|
8969
|
+
KOALA_INTEROP_V2(AnnotationDeclarationClearAnnotations, KNativePointer, KNativePointer);
|
|
8970
|
+
|
|
8971
|
+
void impl_AnnotationDeclarationSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
8972
|
+
{
|
|
8973
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8974
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8975
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
8976
|
+
const auto _index = static_cast<KUInt>(index);
|
|
8977
|
+
GetImpl()->AnnotationDeclarationSetValueAnnotations(_context, _receiver, _source, _index);
|
|
8978
|
+
return ;
|
|
8979
|
+
}
|
|
8980
|
+
KOALA_INTEROP_V4(AnnotationDeclarationSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
8981
|
+
|
|
8982
|
+
KNativePointer impl_AnnotationDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
8983
|
+
{
|
|
8984
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8985
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8986
|
+
std::size_t length;
|
|
8987
|
+
auto result = GetImpl()->AnnotationDeclarationAnnotationsForUpdate(_context, _receiver, &length);
|
|
8988
|
+
return StageArena::cloneVector(result, length);
|
|
8989
|
+
}
|
|
8990
|
+
KOALA_INTEROP_2(AnnotationDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
8991
|
+
|
|
7676
8992
|
KNativePointer impl_AnnotationDeclarationAnnotations(KNativePointer context, KNativePointer receiver)
|
|
7677
8993
|
{
|
|
7678
8994
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7679
8995
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7680
8996
|
std::size_t length;
|
|
7681
8997
|
auto result = GetImpl()->AnnotationDeclarationAnnotations(_context, _receiver, &length);
|
|
7682
|
-
return
|
|
8998
|
+
return StageArena::cloneVector(result, length);
|
|
7683
8999
|
}
|
|
7684
9000
|
KOALA_INTEROP_2(AnnotationDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
7685
9001
|
|
|
@@ -7689,21 +9005,42 @@ KNativePointer impl_AnnotationDeclarationAnnotationsConst(KNativePointer context
|
|
|
7689
9005
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7690
9006
|
std::size_t length;
|
|
7691
9007
|
auto result = GetImpl()->AnnotationDeclarationAnnotationsConst(_context, _receiver, &length);
|
|
7692
|
-
return (void*)
|
|
9008
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
7693
9009
|
}
|
|
7694
9010
|
KOALA_INTEROP_2(AnnotationDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7695
9011
|
|
|
7696
|
-
void impl_AnnotationDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
9012
|
+
void impl_AnnotationDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
7697
9013
|
{
|
|
7698
9014
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7699
9015
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7700
|
-
const auto
|
|
7701
|
-
const auto
|
|
7702
|
-
GetImpl()->AnnotationDeclarationSetAnnotations(_context, _receiver,
|
|
9016
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
9017
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
9018
|
+
GetImpl()->AnnotationDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
7703
9019
|
return ;
|
|
7704
9020
|
}
|
|
7705
9021
|
KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
7706
9022
|
|
|
9023
|
+
void impl_AnnotationDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
9024
|
+
{
|
|
9025
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9026
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9027
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
9028
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
9029
|
+
GetImpl()->AnnotationDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
9030
|
+
return ;
|
|
9031
|
+
}
|
|
9032
|
+
KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9033
|
+
|
|
9034
|
+
void impl_AnnotationDeclarationAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
9035
|
+
{
|
|
9036
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9037
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9038
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
9039
|
+
GetImpl()->AnnotationDeclarationAddAnnotations(_context, _receiver, _annotations);
|
|
9040
|
+
return ;
|
|
9041
|
+
}
|
|
9042
|
+
KOALA_INTEROP_V3(AnnotationDeclarationAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
9043
|
+
|
|
7707
9044
|
KNativePointer impl_CreateAnnotationUsage(KNativePointer context, KNativePointer expr)
|
|
7708
9045
|
{
|
|
7709
9046
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7761,7 +9098,7 @@ KNativePointer impl_AnnotationUsageProperties(KNativePointer context, KNativePoi
|
|
|
7761
9098
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7762
9099
|
std::size_t length;
|
|
7763
9100
|
auto result = GetImpl()->AnnotationUsageIrProperties(_context, _receiver, &length);
|
|
7764
|
-
return
|
|
9101
|
+
return StageArena::cloneVector(result, length);
|
|
7765
9102
|
}
|
|
7766
9103
|
KOALA_INTEROP_2(AnnotationUsageProperties, KNativePointer, KNativePointer, KNativePointer);
|
|
7767
9104
|
|
|
@@ -7771,7 +9108,7 @@ KNativePointer impl_AnnotationUsagePropertiesConst(KNativePointer context, KNati
|
|
|
7771
9108
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7772
9109
|
std::size_t length;
|
|
7773
9110
|
auto result = GetImpl()->AnnotationUsageIrPropertiesConst(_context, _receiver, &length);
|
|
7774
|
-
return (void*)
|
|
9111
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
7775
9112
|
}
|
|
7776
9113
|
KOALA_INTEROP_2(AnnotationUsagePropertiesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7777
9114
|
|
|
@@ -7822,6 +9159,34 @@ KNativePointer impl_UpdateEmptyStatement(KNativePointer context, KNativePointer
|
|
|
7822
9159
|
}
|
|
7823
9160
|
KOALA_INTEROP_2(UpdateEmptyStatement, KNativePointer, KNativePointer, KNativePointer);
|
|
7824
9161
|
|
|
9162
|
+
KNativePointer impl_CreateEmptyStatement1(KNativePointer context, KBoolean isBrokenStatement)
|
|
9163
|
+
{
|
|
9164
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9165
|
+
const auto _isBrokenStatement = static_cast<KBoolean>(isBrokenStatement);
|
|
9166
|
+
auto result = GetImpl()->CreateEmptyStatement1(_context, _isBrokenStatement);
|
|
9167
|
+
return result;
|
|
9168
|
+
}
|
|
9169
|
+
KOALA_INTEROP_2(CreateEmptyStatement1, KNativePointer, KNativePointer, KBoolean);
|
|
9170
|
+
|
|
9171
|
+
KNativePointer impl_UpdateEmptyStatement1(KNativePointer context, KNativePointer original, KBoolean isBrokenStatement)
|
|
9172
|
+
{
|
|
9173
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9174
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
9175
|
+
const auto _isBrokenStatement = static_cast<KBoolean>(isBrokenStatement);
|
|
9176
|
+
auto result = GetImpl()->UpdateEmptyStatement1(_context, _original, _isBrokenStatement);
|
|
9177
|
+
return result;
|
|
9178
|
+
}
|
|
9179
|
+
KOALA_INTEROP_3(UpdateEmptyStatement1, KNativePointer, KNativePointer, KNativePointer, KBoolean);
|
|
9180
|
+
|
|
9181
|
+
KBoolean impl_EmptyStatementIsBrokenStatement(KNativePointer context, KNativePointer receiver)
|
|
9182
|
+
{
|
|
9183
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9184
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9185
|
+
auto result = GetImpl()->EmptyStatementIsBrokenStatement(_context, _receiver);
|
|
9186
|
+
return result;
|
|
9187
|
+
}
|
|
9188
|
+
KOALA_INTEROP_2(EmptyStatementIsBrokenStatement, KBoolean, KNativePointer, KNativePointer);
|
|
9189
|
+
|
|
7825
9190
|
KNativePointer impl_CreateWhileStatement(KNativePointer context, KNativePointer test, KNativePointer body)
|
|
7826
9191
|
{
|
|
7827
9192
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7861,6 +9226,16 @@ KNativePointer impl_WhileStatementTest(KNativePointer context, KNativePointer re
|
|
|
7861
9226
|
}
|
|
7862
9227
|
KOALA_INTEROP_2(WhileStatementTest, KNativePointer, KNativePointer, KNativePointer);
|
|
7863
9228
|
|
|
9229
|
+
void impl_WhileStatementSetTest(KNativePointer context, KNativePointer receiver, KNativePointer test)
|
|
9230
|
+
{
|
|
9231
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9232
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9233
|
+
const auto _test = reinterpret_cast<es2panda_AstNode*>(test);
|
|
9234
|
+
GetImpl()->WhileStatementSetTest(_context, _receiver, _test);
|
|
9235
|
+
return ;
|
|
9236
|
+
}
|
|
9237
|
+
KOALA_INTEROP_V3(WhileStatementSetTest, KNativePointer, KNativePointer, KNativePointer);
|
|
9238
|
+
|
|
7864
9239
|
KNativePointer impl_WhileStatementBodyConst(KNativePointer context, KNativePointer receiver)
|
|
7865
9240
|
{
|
|
7866
9241
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7898,7 +9273,7 @@ KNativePointer impl_FunctionSignatureParamsConst(KNativePointer context, KNative
|
|
|
7898
9273
|
const auto _receiver = reinterpret_cast<es2panda_FunctionSignature*>(receiver);
|
|
7899
9274
|
std::size_t length;
|
|
7900
9275
|
auto result = GetImpl()->FunctionSignatureParamsConst(_context, _receiver, &length);
|
|
7901
|
-
return (void*)
|
|
9276
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
7902
9277
|
}
|
|
7903
9278
|
KOALA_INTEROP_2(FunctionSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7904
9279
|
|
|
@@ -7908,7 +9283,7 @@ KNativePointer impl_FunctionSignatureParams(KNativePointer context, KNativePoint
|
|
|
7908
9283
|
const auto _receiver = reinterpret_cast<es2panda_FunctionSignature*>(receiver);
|
|
7909
9284
|
std::size_t length;
|
|
7910
9285
|
auto result = GetImpl()->FunctionSignatureParams(_context, _receiver, &length);
|
|
7911
|
-
return
|
|
9286
|
+
return StageArena::cloneVector(result, length);
|
|
7912
9287
|
}
|
|
7913
9288
|
KOALA_INTEROP_2(FunctionSignatureParams, KNativePointer, KNativePointer, KNativePointer);
|
|
7914
9289
|
|
|
@@ -8051,7 +9426,7 @@ KNativePointer impl_TSIntersectionTypeTypesConst(KNativePointer context, KNative
|
|
|
8051
9426
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8052
9427
|
std::size_t length;
|
|
8053
9428
|
auto result = GetImpl()->TSIntersectionTypeTypesConst(_context, _receiver, &length);
|
|
8054
|
-
return (void*)
|
|
9429
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8055
9430
|
}
|
|
8056
9431
|
KOALA_INTEROP_2(TSIntersectionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8057
9432
|
|
|
@@ -8141,7 +9516,7 @@ KNativePointer impl_BlockExpressionStatementsConst(KNativePointer context, KNati
|
|
|
8141
9516
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8142
9517
|
std::size_t length;
|
|
8143
9518
|
auto result = GetImpl()->BlockExpressionStatementsConst(_context, _receiver, &length);
|
|
8144
|
-
return (void*)
|
|
9519
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8145
9520
|
}
|
|
8146
9521
|
KOALA_INTEROP_2(BlockExpressionStatementsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8147
9522
|
|
|
@@ -8151,7 +9526,7 @@ KNativePointer impl_BlockExpressionStatements(KNativePointer context, KNativePoi
|
|
|
8151
9526
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8152
9527
|
std::size_t length;
|
|
8153
9528
|
auto result = GetImpl()->BlockExpressionStatements(_context, _receiver, &length);
|
|
8154
|
-
return
|
|
9529
|
+
return StageArena::cloneVector(result, length);
|
|
8155
9530
|
}
|
|
8156
9531
|
KOALA_INTEROP_2(BlockExpressionStatements, KNativePointer, KNativePointer, KNativePointer);
|
|
8157
9532
|
|
|
@@ -8203,7 +9578,7 @@ KNativePointer impl_TSTypeLiteralMembersConst(KNativePointer context, KNativePoi
|
|
|
8203
9578
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8204
9579
|
std::size_t length;
|
|
8205
9580
|
auto result = GetImpl()->TSTypeLiteralMembersConst(_context, _receiver, &length);
|
|
8206
|
-
return (void*)
|
|
9581
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8207
9582
|
}
|
|
8208
9583
|
KOALA_INTEROP_2(TSTypeLiteralMembersConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8209
9584
|
|
|
@@ -8320,41 +9695,102 @@ void impl_TSTypeParameterSetDefaultType(KNativePointer context, KNativePointer r
|
|
|
8320
9695
|
}
|
|
8321
9696
|
KOALA_INTEROP_V3(TSTypeParameterSetDefaultType, KNativePointer, KNativePointer, KNativePointer);
|
|
8322
9697
|
|
|
8323
|
-
|
|
9698
|
+
void impl_TSTypeParameterEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
8324
9699
|
{
|
|
8325
9700
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8326
9701
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
return
|
|
9702
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
9703
|
+
GetImpl()->TSTypeParameterEmplaceAnnotations(_context, _receiver, _source);
|
|
9704
|
+
return ;
|
|
8330
9705
|
}
|
|
8331
|
-
|
|
9706
|
+
KOALA_INTEROP_V3(TSTypeParameterEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
8332
9707
|
|
|
8333
|
-
|
|
9708
|
+
void impl_TSTypeParameterClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
8334
9709
|
{
|
|
8335
9710
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8336
9711
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
return (void*)new std::vector<void*>(result, result + length);
|
|
9712
|
+
GetImpl()->TSTypeParameterClearAnnotations(_context, _receiver);
|
|
9713
|
+
return ;
|
|
8340
9714
|
}
|
|
8341
|
-
|
|
9715
|
+
KOALA_INTEROP_V2(TSTypeParameterClearAnnotations, KNativePointer, KNativePointer);
|
|
8342
9716
|
|
|
8343
|
-
void
|
|
9717
|
+
void impl_TSTypeParameterSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
8344
9718
|
{
|
|
8345
9719
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8346
9720
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8347
|
-
const auto
|
|
8348
|
-
const auto
|
|
8349
|
-
GetImpl()->
|
|
9721
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
9722
|
+
const auto _index = static_cast<KUInt>(index);
|
|
9723
|
+
GetImpl()->TSTypeParameterSetValueAnnotations(_context, _receiver, _source, _index);
|
|
8350
9724
|
return ;
|
|
8351
9725
|
}
|
|
8352
|
-
KOALA_INTEROP_V4(
|
|
9726
|
+
KOALA_INTEROP_V4(TSTypeParameterSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
8353
9727
|
|
|
8354
|
-
KNativePointer
|
|
9728
|
+
KNativePointer impl_TSTypeParameterAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
8355
9729
|
{
|
|
8356
9730
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8357
|
-
auto
|
|
9731
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9732
|
+
std::size_t length;
|
|
9733
|
+
auto result = GetImpl()->TSTypeParameterAnnotationsForUpdate(_context, _receiver, &length);
|
|
9734
|
+
return StageArena::cloneVector(result, length);
|
|
9735
|
+
}
|
|
9736
|
+
KOALA_INTEROP_2(TSTypeParameterAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
9737
|
+
|
|
9738
|
+
KNativePointer impl_TSTypeParameterAnnotations(KNativePointer context, KNativePointer receiver)
|
|
9739
|
+
{
|
|
9740
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9741
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9742
|
+
std::size_t length;
|
|
9743
|
+
auto result = GetImpl()->TSTypeParameterAnnotations(_context, _receiver, &length);
|
|
9744
|
+
return StageArena::cloneVector(result, length);
|
|
9745
|
+
}
|
|
9746
|
+
KOALA_INTEROP_2(TSTypeParameterAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
9747
|
+
|
|
9748
|
+
KNativePointer impl_TSTypeParameterAnnotationsConst(KNativePointer context, KNativePointer receiver)
|
|
9749
|
+
{
|
|
9750
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9751
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9752
|
+
std::size_t length;
|
|
9753
|
+
auto result = GetImpl()->TSTypeParameterAnnotationsConst(_context, _receiver, &length);
|
|
9754
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9755
|
+
}
|
|
9756
|
+
KOALA_INTEROP_2(TSTypeParameterAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9757
|
+
|
|
9758
|
+
void impl_TSTypeParameterSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
9759
|
+
{
|
|
9760
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9761
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9762
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
9763
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
9764
|
+
GetImpl()->TSTypeParameterSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
9765
|
+
return ;
|
|
9766
|
+
}
|
|
9767
|
+
KOALA_INTEROP_V4(TSTypeParameterSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9768
|
+
|
|
9769
|
+
void impl_TSTypeParameterSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
9770
|
+
{
|
|
9771
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9772
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9773
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
9774
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
9775
|
+
GetImpl()->TSTypeParameterSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
9776
|
+
return ;
|
|
9777
|
+
}
|
|
9778
|
+
KOALA_INTEROP_V4(TSTypeParameterSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9779
|
+
|
|
9780
|
+
void impl_TSTypeParameterAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
9781
|
+
{
|
|
9782
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9783
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9784
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
9785
|
+
GetImpl()->TSTypeParameterAddAnnotations(_context, _receiver, _annotations);
|
|
9786
|
+
return ;
|
|
9787
|
+
}
|
|
9788
|
+
KOALA_INTEROP_V3(TSTypeParameterAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
9789
|
+
|
|
9790
|
+
KNativePointer impl_CreateTSBooleanKeyword(KNativePointer context)
|
|
9791
|
+
{
|
|
9792
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9793
|
+
auto result = GetImpl()->CreateTSBooleanKeyword(_context);
|
|
8358
9794
|
return result;
|
|
8359
9795
|
}
|
|
8360
9796
|
KOALA_INTEROP_1(CreateTSBooleanKeyword, KNativePointer, KNativePointer);
|
|
@@ -8422,7 +9858,7 @@ KNativePointer impl_SpreadElementDecoratorsConst(KNativePointer context, KNative
|
|
|
8422
9858
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8423
9859
|
std::size_t length;
|
|
8424
9860
|
auto result = GetImpl()->SpreadElementDecoratorsConst(_context, _receiver, &length);
|
|
8425
|
-
return (void*)
|
|
9861
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8426
9862
|
}
|
|
8427
9863
|
KOALA_INTEROP_2(SpreadElementDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8428
9864
|
|
|
@@ -8651,10 +10087,21 @@ KNativePointer impl_ExportNamedDeclarationSpecifiersConst(KNativePointer context
|
|
|
8651
10087
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8652
10088
|
std::size_t length;
|
|
8653
10089
|
auto result = GetImpl()->ExportNamedDeclarationSpecifiersConst(_context, _receiver, &length);
|
|
8654
|
-
return (void*)
|
|
10090
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8655
10091
|
}
|
|
8656
10092
|
KOALA_INTEROP_2(ExportNamedDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8657
10093
|
|
|
10094
|
+
void impl_ExportNamedDeclarationReplaceSpecifiers(KNativePointer context, KNativePointer receiver, KNativePointerArray specifiers, KUInt specifiersSequenceLength)
|
|
10095
|
+
{
|
|
10096
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10097
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10098
|
+
const auto _specifiers = reinterpret_cast<es2panda_AstNode**>(specifiers);
|
|
10099
|
+
const auto _specifiersSequenceLength = static_cast<KUInt>(specifiersSequenceLength);
|
|
10100
|
+
GetImpl()->ExportNamedDeclarationReplaceSpecifiers(_context, _receiver, _specifiers, _specifiersSequenceLength);
|
|
10101
|
+
return ;
|
|
10102
|
+
}
|
|
10103
|
+
KOALA_INTEROP_V4(ExportNamedDeclarationReplaceSpecifiers, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
10104
|
+
|
|
8658
10105
|
KNativePointer impl_CreateETSParameterExpression(KNativePointer context, KNativePointer identOrSpread, KBoolean isOptional)
|
|
8659
10106
|
{
|
|
8660
10107
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -8702,7 +10149,7 @@ KNativePointer impl_ETSParameterExpressionNameConst(KNativePointer context, KNat
|
|
|
8702
10149
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8703
10150
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8704
10151
|
auto result = GetImpl()->ETSParameterExpressionNameConst(_context, _receiver);
|
|
8705
|
-
return
|
|
10152
|
+
return StageArena::strdup(result);
|
|
8706
10153
|
}
|
|
8707
10154
|
KOALA_INTEROP_2(ETSParameterExpressionNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8708
10155
|
|
|
@@ -8770,12 +10217,12 @@ KNativePointer impl_ETSParameterExpressionInitializer(KNativePointer context, KN
|
|
|
8770
10217
|
}
|
|
8771
10218
|
KOALA_INTEROP_2(ETSParameterExpressionInitializer, KNativePointer, KNativePointer, KNativePointer);
|
|
8772
10219
|
|
|
8773
|
-
void impl_ETSParameterExpressionSetLexerSaved(KNativePointer context, KNativePointer receiver, KStringPtr&
|
|
10220
|
+
void impl_ETSParameterExpressionSetLexerSaved(KNativePointer context, KNativePointer receiver, KStringPtr& savedLexer)
|
|
8774
10221
|
{
|
|
8775
10222
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8776
10223
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8777
|
-
const auto
|
|
8778
|
-
GetImpl()->ETSParameterExpressionSetLexerSaved(_context, _receiver,
|
|
10224
|
+
const auto _savedLexer = getStringCopy(savedLexer);
|
|
10225
|
+
GetImpl()->ETSParameterExpressionSetLexerSaved(_context, _receiver, _savedLexer);
|
|
8779
10226
|
return ;
|
|
8780
10227
|
}
|
|
8781
10228
|
KOALA_INTEROP_V3(ETSParameterExpressionSetLexerSaved, KNativePointer, KNativePointer, KStringPtr);
|
|
@@ -8785,7 +10232,7 @@ KNativePointer impl_ETSParameterExpressionLexerSavedConst(KNativePointer context
|
|
|
8785
10232
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8786
10233
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8787
10234
|
auto result = GetImpl()->ETSParameterExpressionLexerSavedConst(_context, _receiver);
|
|
8788
|
-
return
|
|
10235
|
+
return StageArena::strdup(result);
|
|
8789
10236
|
}
|
|
8790
10237
|
KOALA_INTEROP_2(ETSParameterExpressionLexerSavedConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8791
10238
|
|
|
@@ -8864,23 +10311,63 @@ KUInt impl_ETSParameterExpressionGetRequiredParamsConst(KNativePointer context,
|
|
|
8864
10311
|
}
|
|
8865
10312
|
KOALA_INTEROP_2(ETSParameterExpressionGetRequiredParamsConst, KUInt, KNativePointer, KNativePointer);
|
|
8866
10313
|
|
|
8867
|
-
void impl_ETSParameterExpressionSetRequiredParams(KNativePointer context, KNativePointer receiver, KUInt
|
|
10314
|
+
void impl_ETSParameterExpressionSetRequiredParams(KNativePointer context, KNativePointer receiver, KUInt extraValue)
|
|
8868
10315
|
{
|
|
8869
10316
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8870
10317
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8871
|
-
const auto
|
|
8872
|
-
GetImpl()->ETSParameterExpressionSetRequiredParams(_context, _receiver,
|
|
10318
|
+
const auto _extraValue = static_cast<KUInt>(extraValue);
|
|
10319
|
+
GetImpl()->ETSParameterExpressionSetRequiredParams(_context, _receiver, _extraValue);
|
|
8873
10320
|
return ;
|
|
8874
10321
|
}
|
|
8875
10322
|
KOALA_INTEROP_V3(ETSParameterExpressionSetRequiredParams, KNativePointer, KNativePointer, KUInt);
|
|
8876
10323
|
|
|
10324
|
+
void impl_ETSParameterExpressionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
10325
|
+
{
|
|
10326
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10327
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10328
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
10329
|
+
GetImpl()->ETSParameterExpressionEmplaceAnnotations(_context, _receiver, _source);
|
|
10330
|
+
return ;
|
|
10331
|
+
}
|
|
10332
|
+
KOALA_INTEROP_V3(ETSParameterExpressionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
10333
|
+
|
|
10334
|
+
void impl_ETSParameterExpressionClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
10335
|
+
{
|
|
10336
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10337
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10338
|
+
GetImpl()->ETSParameterExpressionClearAnnotations(_context, _receiver);
|
|
10339
|
+
return ;
|
|
10340
|
+
}
|
|
10341
|
+
KOALA_INTEROP_V2(ETSParameterExpressionClearAnnotations, KNativePointer, KNativePointer);
|
|
10342
|
+
|
|
10343
|
+
void impl_ETSParameterExpressionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
10344
|
+
{
|
|
10345
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10346
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10347
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
10348
|
+
const auto _index = static_cast<KUInt>(index);
|
|
10349
|
+
GetImpl()->ETSParameterExpressionSetValueAnnotations(_context, _receiver, _source, _index);
|
|
10350
|
+
return ;
|
|
10351
|
+
}
|
|
10352
|
+
KOALA_INTEROP_V4(ETSParameterExpressionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
10353
|
+
|
|
10354
|
+
KNativePointer impl_ETSParameterExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
10355
|
+
{
|
|
10356
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10357
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10358
|
+
std::size_t length;
|
|
10359
|
+
auto result = GetImpl()->ETSParameterExpressionAnnotationsForUpdate(_context, _receiver, &length);
|
|
10360
|
+
return StageArena::cloneVector(result, length);
|
|
10361
|
+
}
|
|
10362
|
+
KOALA_INTEROP_2(ETSParameterExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
10363
|
+
|
|
8877
10364
|
KNativePointer impl_ETSParameterExpressionAnnotations(KNativePointer context, KNativePointer receiver)
|
|
8878
10365
|
{
|
|
8879
10366
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8880
10367
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8881
10368
|
std::size_t length;
|
|
8882
10369
|
auto result = GetImpl()->ETSParameterExpressionAnnotations(_context, _receiver, &length);
|
|
8883
|
-
return
|
|
10370
|
+
return StageArena::cloneVector(result, length);
|
|
8884
10371
|
}
|
|
8885
10372
|
KOALA_INTEROP_2(ETSParameterExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
8886
10373
|
|
|
@@ -8890,21 +10377,42 @@ KNativePointer impl_ETSParameterExpressionAnnotationsConst(KNativePointer contex
|
|
|
8890
10377
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8891
10378
|
std::size_t length;
|
|
8892
10379
|
auto result = GetImpl()->ETSParameterExpressionAnnotationsConst(_context, _receiver, &length);
|
|
8893
|
-
return (void*)
|
|
10380
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8894
10381
|
}
|
|
8895
10382
|
KOALA_INTEROP_2(ETSParameterExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8896
10383
|
|
|
8897
|
-
void impl_ETSParameterExpressionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
10384
|
+
void impl_ETSParameterExpressionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
8898
10385
|
{
|
|
8899
10386
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8900
10387
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8901
|
-
const auto
|
|
8902
|
-
const auto
|
|
8903
|
-
GetImpl()->ETSParameterExpressionSetAnnotations(_context, _receiver,
|
|
10388
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
10389
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
10390
|
+
GetImpl()->ETSParameterExpressionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
8904
10391
|
return ;
|
|
8905
10392
|
}
|
|
8906
10393
|
KOALA_INTEROP_V4(ETSParameterExpressionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
8907
10394
|
|
|
10395
|
+
void impl_ETSParameterExpressionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
10396
|
+
{
|
|
10397
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10398
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10399
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
10400
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
10401
|
+
GetImpl()->ETSParameterExpressionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
10402
|
+
return ;
|
|
10403
|
+
}
|
|
10404
|
+
KOALA_INTEROP_V4(ETSParameterExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
10405
|
+
|
|
10406
|
+
void impl_ETSParameterExpressionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
10407
|
+
{
|
|
10408
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10409
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10410
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
10411
|
+
GetImpl()->ETSParameterExpressionAddAnnotations(_context, _receiver, _annotations);
|
|
10412
|
+
return ;
|
|
10413
|
+
}
|
|
10414
|
+
KOALA_INTEROP_V3(ETSParameterExpressionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
10415
|
+
|
|
8908
10416
|
KNativePointer impl_CreateTSTypeParameterInstantiation(KNativePointer context, KNativePointerArray params, KUInt paramsSequenceLength)
|
|
8909
10417
|
{
|
|
8910
10418
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -8932,7 +10440,7 @@ KNativePointer impl_TSTypeParameterInstantiationParamsConst(KNativePointer conte
|
|
|
8932
10440
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8933
10441
|
std::size_t length;
|
|
8934
10442
|
auto result = GetImpl()->TSTypeParameterInstantiationParamsConst(_context, _receiver, &length);
|
|
8935
|
-
return (void*)
|
|
10443
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
8936
10444
|
}
|
|
8937
10445
|
KOALA_INTEROP_2(TSTypeParameterInstantiationParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
8938
10446
|
|
|
@@ -9038,7 +10546,7 @@ KNativePointer impl_SwitchCaseStatementConsequentConst(KNativePointer context, K
|
|
|
9038
10546
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9039
10547
|
std::size_t length;
|
|
9040
10548
|
auto result = GetImpl()->SwitchCaseStatementConsequentConst(_context, _receiver, &length);
|
|
9041
|
-
return (void*)
|
|
10549
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9042
10550
|
}
|
|
9043
10551
|
KOALA_INTEROP_2(SwitchCaseStatementConsequentConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9044
10552
|
|
|
@@ -9218,7 +10726,7 @@ KNativePointer impl_ClassStaticBlockNameConst(KNativePointer context, KNativePoi
|
|
|
9218
10726
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9219
10727
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9220
10728
|
auto result = GetImpl()->ClassStaticBlockNameConst(_context, _receiver);
|
|
9221
|
-
return
|
|
10729
|
+
return StageArena::strdup(result);
|
|
9222
10730
|
}
|
|
9223
10731
|
KOALA_INTEROP_2(ClassStaticBlockNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9224
10732
|
|
|
@@ -9457,7 +10965,7 @@ KNativePointer impl_TemplateLiteralQuasisConst(KNativePointer context, KNativePo
|
|
|
9457
10965
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9458
10966
|
std::size_t length;
|
|
9459
10967
|
auto result = GetImpl()->TemplateLiteralQuasisConst(_context, _receiver, &length);
|
|
9460
|
-
return (void*)
|
|
10968
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9461
10969
|
}
|
|
9462
10970
|
KOALA_INTEROP_2(TemplateLiteralQuasisConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9463
10971
|
|
|
@@ -9467,7 +10975,7 @@ KNativePointer impl_TemplateLiteralExpressionsConst(KNativePointer context, KNat
|
|
|
9467
10975
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9468
10976
|
std::size_t length;
|
|
9469
10977
|
auto result = GetImpl()->TemplateLiteralExpressionsConst(_context, _receiver, &length);
|
|
9470
|
-
return (void*)
|
|
10978
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9471
10979
|
}
|
|
9472
10980
|
KOALA_INTEROP_2(TemplateLiteralExpressionsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9473
10981
|
|
|
@@ -9476,7 +10984,7 @@ KNativePointer impl_TemplateLiteralGetMultilineStringConst(KNativePointer contex
|
|
|
9476
10984
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9477
10985
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9478
10986
|
auto result = GetImpl()->TemplateLiteralGetMultilineStringConst(_context, _receiver);
|
|
9479
|
-
return
|
|
10987
|
+
return StageArena::strdup(result);
|
|
9480
10988
|
}
|
|
9481
10989
|
KOALA_INTEROP_2(TemplateLiteralGetMultilineStringConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9482
10990
|
|
|
@@ -9507,7 +11015,7 @@ KNativePointer impl_TSUnionTypeTypesConst(KNativePointer context, KNativePointer
|
|
|
9507
11015
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9508
11016
|
std::size_t length;
|
|
9509
11017
|
auto result = GetImpl()->TSUnionTypeTypesConst(_context, _receiver, &length);
|
|
9510
|
-
return (void*)
|
|
11018
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9511
11019
|
}
|
|
9512
11020
|
KOALA_INTEROP_2(TSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9513
11021
|
|
|
@@ -9590,7 +11098,7 @@ KNativePointer impl_IdentifierNameConst(KNativePointer context, KNativePointer r
|
|
|
9590
11098
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9591
11099
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9592
11100
|
auto result = GetImpl()->IdentifierNameConst(_context, _receiver);
|
|
9593
|
-
return
|
|
11101
|
+
return StageArena::strdup(result);
|
|
9594
11102
|
}
|
|
9595
11103
|
KOALA_INTEROP_2(IdentifierNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9596
11104
|
|
|
@@ -9599,7 +11107,7 @@ KNativePointer impl_IdentifierName(KNativePointer context, KNativePointer receiv
|
|
|
9599
11107
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9600
11108
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9601
11109
|
auto result = GetImpl()->IdentifierName(_context, _receiver);
|
|
9602
|
-
return
|
|
11110
|
+
return StageArena::strdup(result);
|
|
9603
11111
|
}
|
|
9604
11112
|
KOALA_INTEROP_2(IdentifierName, KNativePointer, KNativePointer, KNativePointer);
|
|
9605
11113
|
|
|
@@ -9613,13 +11121,24 @@ void impl_IdentifierSetName(KNativePointer context, KNativePointer receiver, KSt
|
|
|
9613
11121
|
}
|
|
9614
11122
|
KOALA_INTEROP_V3(IdentifierSetName, KNativePointer, KNativePointer, KStringPtr);
|
|
9615
11123
|
|
|
11124
|
+
void impl_IdentifierSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
11125
|
+
{
|
|
11126
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11127
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11128
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
11129
|
+
const auto _index = static_cast<KUInt>(index);
|
|
11130
|
+
GetImpl()->IdentifierSetValueDecorators(_context, _receiver, _source, _index);
|
|
11131
|
+
return ;
|
|
11132
|
+
}
|
|
11133
|
+
KOALA_INTEROP_V4(IdentifierSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
11134
|
+
|
|
9616
11135
|
KNativePointer impl_IdentifierDecoratorsConst(KNativePointer context, KNativePointer receiver)
|
|
9617
11136
|
{
|
|
9618
11137
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9619
11138
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9620
11139
|
std::size_t length;
|
|
9621
11140
|
auto result = GetImpl()->IdentifierDecoratorsConst(_context, _receiver, &length);
|
|
9622
|
-
return (void*)
|
|
11141
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9623
11142
|
}
|
|
9624
11143
|
KOALA_INTEROP_2(IdentifierDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9625
11144
|
|
|
@@ -9872,15 +11391,15 @@ KNativePointer impl_UpdateBlockStatement(KNativePointer context, KNativePointer
|
|
|
9872
11391
|
}
|
|
9873
11392
|
KOALA_INTEROP_4(UpdateBlockStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9874
11393
|
|
|
9875
|
-
KNativePointer
|
|
11394
|
+
KNativePointer impl_BlockStatementStatementsForUpdates(KNativePointer context, KNativePointer receiver)
|
|
9876
11395
|
{
|
|
9877
11396
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9878
11397
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9879
11398
|
std::size_t length;
|
|
9880
|
-
auto result = GetImpl()->
|
|
9881
|
-
return
|
|
11399
|
+
auto result = GetImpl()->BlockStatementStatementsForUpdates(_context, _receiver, &length);
|
|
11400
|
+
return StageArena::cloneVector(result, length);
|
|
9882
11401
|
}
|
|
9883
|
-
KOALA_INTEROP_2(
|
|
11402
|
+
KOALA_INTEROP_2(BlockStatementStatementsForUpdates, KNativePointer, KNativePointer, KNativePointer);
|
|
9884
11403
|
|
|
9885
11404
|
KNativePointer impl_BlockStatementStatements(KNativePointer context, KNativePointer receiver)
|
|
9886
11405
|
{
|
|
@@ -9888,10 +11407,20 @@ KNativePointer impl_BlockStatementStatements(KNativePointer context, KNativePoin
|
|
|
9888
11407
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9889
11408
|
std::size_t length;
|
|
9890
11409
|
auto result = GetImpl()->BlockStatementStatements(_context, _receiver, &length);
|
|
9891
|
-
return
|
|
11410
|
+
return StageArena::cloneVector(result, length);
|
|
9892
11411
|
}
|
|
9893
11412
|
KOALA_INTEROP_2(BlockStatementStatements, KNativePointer, KNativePointer, KNativePointer);
|
|
9894
11413
|
|
|
11414
|
+
KNativePointer impl_BlockStatementStatementsConst(KNativePointer context, KNativePointer receiver)
|
|
11415
|
+
{
|
|
11416
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11417
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11418
|
+
std::size_t length;
|
|
11419
|
+
auto result = GetImpl()->BlockStatementStatementsConst(_context, _receiver, &length);
|
|
11420
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
11421
|
+
}
|
|
11422
|
+
KOALA_INTEROP_2(BlockStatementStatementsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11423
|
+
|
|
9895
11424
|
void impl_BlockStatementSetStatements(KNativePointer context, KNativePointer receiver, KNativePointerArray statementList, KUInt statementListSequenceLength)
|
|
9896
11425
|
{
|
|
9897
11426
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -9903,26 +11432,46 @@ void impl_BlockStatementSetStatements(KNativePointer context, KNativePointer rec
|
|
|
9903
11432
|
}
|
|
9904
11433
|
KOALA_INTEROP_V4(BlockStatementSetStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9905
11434
|
|
|
9906
|
-
void
|
|
11435
|
+
void impl_BlockStatementAddStatements(KNativePointer context, KNativePointer receiver, KNativePointerArray statementList, KUInt statementListSequenceLength)
|
|
9907
11436
|
{
|
|
9908
11437
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9909
11438
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9910
|
-
const auto
|
|
9911
|
-
|
|
11439
|
+
const auto _statementList = reinterpret_cast<es2panda_AstNode**>(statementList);
|
|
11440
|
+
const auto _statementListSequenceLength = static_cast<KUInt>(statementListSequenceLength);
|
|
11441
|
+
GetImpl()->BlockStatementAddStatements(_context, _receiver, _statementList, _statementListSequenceLength);
|
|
11442
|
+
return ;
|
|
11443
|
+
}
|
|
11444
|
+
KOALA_INTEROP_V4(BlockStatementAddStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
11445
|
+
|
|
11446
|
+
void impl_BlockStatementClearStatements(KNativePointer context, KNativePointer receiver)
|
|
11447
|
+
{
|
|
11448
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11449
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11450
|
+
GetImpl()->BlockStatementClearStatements(_context, _receiver);
|
|
11451
|
+
return ;
|
|
11452
|
+
}
|
|
11453
|
+
KOALA_INTEROP_V2(BlockStatementClearStatements, KNativePointer, KNativePointer);
|
|
11454
|
+
|
|
11455
|
+
void impl_BlockStatementAddStatement(KNativePointer context, KNativePointer receiver, KNativePointer statement)
|
|
11456
|
+
{
|
|
11457
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11458
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11459
|
+
const auto _statement = reinterpret_cast<es2panda_AstNode*>(statement);
|
|
11460
|
+
GetImpl()->BlockStatementAddStatement(_context, _receiver, _statement);
|
|
9912
11461
|
return ;
|
|
9913
11462
|
}
|
|
9914
11463
|
KOALA_INTEROP_V3(BlockStatementAddStatement, KNativePointer, KNativePointer, KNativePointer);
|
|
9915
11464
|
|
|
9916
|
-
void
|
|
11465
|
+
void impl_BlockStatementAddStatement1(KNativePointer context, KNativePointer receiver, KUInt idx, KNativePointer statement)
|
|
9917
11466
|
{
|
|
9918
11467
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9919
11468
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9920
|
-
const auto
|
|
9921
|
-
const auto
|
|
9922
|
-
GetImpl()->
|
|
11469
|
+
const auto _idx = static_cast<KUInt>(idx);
|
|
11470
|
+
const auto _statement = reinterpret_cast<es2panda_AstNode*>(statement);
|
|
11471
|
+
GetImpl()->BlockStatementAddStatement1(_context, _receiver, _idx, _statement);
|
|
9923
11472
|
return ;
|
|
9924
11473
|
}
|
|
9925
|
-
KOALA_INTEROP_V4(
|
|
11474
|
+
KOALA_INTEROP_V4(BlockStatementAddStatement1, KNativePointer, KNativePointer, KUInt, KNativePointer);
|
|
9926
11475
|
|
|
9927
11476
|
void impl_BlockStatementAddTrailingBlock(KNativePointer context, KNativePointer receiver, KNativePointer stmt, KNativePointer trailingBlock)
|
|
9928
11477
|
{
|
|
@@ -9935,6 +11484,16 @@ void impl_BlockStatementAddTrailingBlock(KNativePointer context, KNativePointer
|
|
|
9935
11484
|
}
|
|
9936
11485
|
KOALA_INTEROP_V4(BlockStatementAddTrailingBlock, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
9937
11486
|
|
|
11487
|
+
KNativePointer impl_BlockStatementSearchStatementInTrailingBlock(KNativePointer context, KNativePointer receiver, KNativePointer item)
|
|
11488
|
+
{
|
|
11489
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11490
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11491
|
+
const auto _item = reinterpret_cast<es2panda_AstNode*>(item);
|
|
11492
|
+
auto result = GetImpl()->BlockStatementSearchStatementInTrailingBlock(_context, _receiver, _item);
|
|
11493
|
+
return result;
|
|
11494
|
+
}
|
|
11495
|
+
KOALA_INTEROP_3(BlockStatementSearchStatementInTrailingBlock, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
11496
|
+
|
|
9938
11497
|
KNativePointer impl_CreateDirectEvalExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength, KNativePointer typeParams, KBoolean optional_arg, KUInt parserStatus)
|
|
9939
11498
|
{
|
|
9940
11499
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -9993,7 +11552,7 @@ KNativePointer impl_TSTypeParameterDeclarationParamsConst(KNativePointer context
|
|
|
9993
11552
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9994
11553
|
std::size_t length;
|
|
9995
11554
|
auto result = GetImpl()->TSTypeParameterDeclarationParamsConst(_context, _receiver, &length);
|
|
9996
|
-
return (void*)
|
|
11555
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
9997
11556
|
}
|
|
9998
11557
|
KOALA_INTEROP_2(TSTypeParameterDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
9999
11558
|
|
|
@@ -10007,6 +11566,17 @@ void impl_TSTypeParameterDeclarationAddParam(KNativePointer context, KNativePoin
|
|
|
10007
11566
|
}
|
|
10008
11567
|
KOALA_INTEROP_V3(TSTypeParameterDeclarationAddParam, KNativePointer, KNativePointer, KNativePointer);
|
|
10009
11568
|
|
|
11569
|
+
void impl_TSTypeParameterDeclarationSetValueParams(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
11570
|
+
{
|
|
11571
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11572
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11573
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
11574
|
+
const auto _index = static_cast<KUInt>(index);
|
|
11575
|
+
GetImpl()->TSTypeParameterDeclarationSetValueParams(_context, _receiver, _source, _index);
|
|
11576
|
+
return ;
|
|
11577
|
+
}
|
|
11578
|
+
KOALA_INTEROP_V4(TSTypeParameterDeclarationSetValueParams, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
11579
|
+
|
|
10010
11580
|
KUInt impl_TSTypeParameterDeclarationRequiredParamsConst(KNativePointer context, KNativePointer receiver)
|
|
10011
11581
|
{
|
|
10012
11582
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10122,7 +11692,7 @@ KNativePointer impl_MethodDefinitionOverloadsConst(KNativePointer context, KNati
|
|
|
10122
11692
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10123
11693
|
std::size_t length;
|
|
10124
11694
|
auto result = GetImpl()->MethodDefinitionOverloadsConst(_context, _receiver, &length);
|
|
10125
|
-
return (void*)
|
|
11695
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
10126
11696
|
}
|
|
10127
11697
|
KOALA_INTEROP_2(MethodDefinitionOverloadsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10128
11698
|
|
|
@@ -10173,15 +11743,6 @@ void impl_MethodDefinitionSetOverloads(KNativePointer context, KNativePointer re
|
|
|
10173
11743
|
}
|
|
10174
11744
|
KOALA_INTEROP_V4(MethodDefinitionSetOverloads, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
10175
11745
|
|
|
10176
|
-
void impl_MethodDefinitionClearOverloads(KNativePointer context, KNativePointer receiver)
|
|
10177
|
-
{
|
|
10178
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10179
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10180
|
-
GetImpl()->MethodDefinitionClearOverloads(_context, _receiver);
|
|
10181
|
-
return ;
|
|
10182
|
-
}
|
|
10183
|
-
KOALA_INTEROP_V2(MethodDefinitionClearOverloads, KNativePointer, KNativePointer);
|
|
10184
|
-
|
|
10185
11746
|
void impl_MethodDefinitionAddOverload(KNativePointer context, KNativePointer receiver, KNativePointer overload)
|
|
10186
11747
|
{
|
|
10187
11748
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10202,12 +11763,12 @@ void impl_MethodDefinitionSetBaseOverloadMethod(KNativePointer context, KNativeP
|
|
|
10202
11763
|
}
|
|
10203
11764
|
KOALA_INTEROP_V3(MethodDefinitionSetBaseOverloadMethod, KNativePointer, KNativePointer, KNativePointer);
|
|
10204
11765
|
|
|
10205
|
-
void impl_MethodDefinitionSetAsyncPairMethod(KNativePointer context, KNativePointer receiver, KNativePointer
|
|
11766
|
+
void impl_MethodDefinitionSetAsyncPairMethod(KNativePointer context, KNativePointer receiver, KNativePointer asyncPairMethod)
|
|
10206
11767
|
{
|
|
10207
11768
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10208
11769
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10209
|
-
const auto
|
|
10210
|
-
GetImpl()->MethodDefinitionSetAsyncPairMethod(_context, _receiver,
|
|
11770
|
+
const auto _asyncPairMethod = reinterpret_cast<es2panda_AstNode*>(asyncPairMethod);
|
|
11771
|
+
GetImpl()->MethodDefinitionSetAsyncPairMethod(_context, _receiver, _asyncPairMethod);
|
|
10211
11772
|
return ;
|
|
10212
11773
|
}
|
|
10213
11774
|
KOALA_INTEROP_V3(MethodDefinitionSetAsyncPairMethod, KNativePointer, KNativePointer, KNativePointer);
|
|
@@ -10249,6 +11810,36 @@ void impl_MethodDefinitionInitializeOverloadInfo(KNativePointer context, KNative
|
|
|
10249
11810
|
}
|
|
10250
11811
|
KOALA_INTEROP_V2(MethodDefinitionInitializeOverloadInfo, KNativePointer, KNativePointer);
|
|
10251
11812
|
|
|
11813
|
+
void impl_MethodDefinitionEmplaceOverloads(KNativePointer context, KNativePointer receiver, KNativePointer overloads)
|
|
11814
|
+
{
|
|
11815
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11816
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11817
|
+
const auto _overloads = reinterpret_cast<es2panda_AstNode*>(overloads);
|
|
11818
|
+
GetImpl()->MethodDefinitionEmplaceOverloads(_context, _receiver, _overloads);
|
|
11819
|
+
return ;
|
|
11820
|
+
}
|
|
11821
|
+
KOALA_INTEROP_V3(MethodDefinitionEmplaceOverloads, KNativePointer, KNativePointer, KNativePointer);
|
|
11822
|
+
|
|
11823
|
+
void impl_MethodDefinitionClearOverloads(KNativePointer context, KNativePointer receiver)
|
|
11824
|
+
{
|
|
11825
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11826
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11827
|
+
GetImpl()->MethodDefinitionClearOverloads(_context, _receiver);
|
|
11828
|
+
return ;
|
|
11829
|
+
}
|
|
11830
|
+
KOALA_INTEROP_V2(MethodDefinitionClearOverloads, KNativePointer, KNativePointer);
|
|
11831
|
+
|
|
11832
|
+
void impl_MethodDefinitionSetValueOverloads(KNativePointer context, KNativePointer receiver, KNativePointer overloads, KUInt index)
|
|
11833
|
+
{
|
|
11834
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11835
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11836
|
+
const auto _overloads = reinterpret_cast<es2panda_AstNode*>(overloads);
|
|
11837
|
+
const auto _index = static_cast<KUInt>(index);
|
|
11838
|
+
GetImpl()->MethodDefinitionSetValueOverloads(_context, _receiver, _overloads, _index);
|
|
11839
|
+
return ;
|
|
11840
|
+
}
|
|
11841
|
+
KOALA_INTEROP_V4(MethodDefinitionSetValueOverloads, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
11842
|
+
|
|
10252
11843
|
KNativePointer impl_CreateTSNullKeyword(KNativePointer context)
|
|
10253
11844
|
{
|
|
10254
11845
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10416,7 +12007,7 @@ KNativePointer impl_ExpressionToStringConst(KNativePointer context, KNativePoint
|
|
|
10416
12007
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10417
12008
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10418
12009
|
auto result = GetImpl()->ExpressionToStringConst(_context, _receiver);
|
|
10419
|
-
return
|
|
12010
|
+
return StageArena::strdup(result);
|
|
10420
12011
|
}
|
|
10421
12012
|
KOALA_INTEROP_2(ExpressionToStringConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10422
12013
|
|
|
@@ -10466,6 +12057,16 @@ KNativePointer impl_CreateSrcDumper(KNativePointer context, KNativePointer node)
|
|
|
10466
12057
|
}
|
|
10467
12058
|
KOALA_INTEROP_2(CreateSrcDumper, KNativePointer, KNativePointer, KNativePointer);
|
|
10468
12059
|
|
|
12060
|
+
KNativePointer impl_CreateSrcDumper1(KNativePointer context, KNativePointer node, KBoolean isDeclgen)
|
|
12061
|
+
{
|
|
12062
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12063
|
+
const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
|
|
12064
|
+
const auto _isDeclgen = static_cast<KBoolean>(isDeclgen);
|
|
12065
|
+
auto result = GetImpl()->CreateSrcDumper1(_context, _node, _isDeclgen);
|
|
12066
|
+
return result;
|
|
12067
|
+
}
|
|
12068
|
+
KOALA_INTEROP_3(CreateSrcDumper1, KNativePointer, KNativePointer, KNativePointer, KBoolean);
|
|
12069
|
+
|
|
10469
12070
|
void impl_SrcDumperAdd(KNativePointer context, KNativePointer receiver, KStringPtr& str)
|
|
10470
12071
|
{
|
|
10471
12072
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10476,52 +12077,72 @@ void impl_SrcDumperAdd(KNativePointer context, KNativePointer receiver, KStringP
|
|
|
10476
12077
|
}
|
|
10477
12078
|
KOALA_INTEROP_V3(SrcDumperAdd, KNativePointer, KNativePointer, KStringPtr);
|
|
10478
12079
|
|
|
10479
|
-
void impl_SrcDumperAdd1(KNativePointer context, KNativePointer receiver,
|
|
12080
|
+
void impl_SrcDumperAdd1(KNativePointer context, KNativePointer receiver, KBoolean i)
|
|
10480
12081
|
{
|
|
10481
12082
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10482
12083
|
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
10483
|
-
const auto _i = static_cast<
|
|
12084
|
+
const auto _i = static_cast<KBoolean>(i);
|
|
10484
12085
|
GetImpl()->SrcDumperAdd1(_context, _receiver, _i);
|
|
10485
12086
|
return ;
|
|
10486
12087
|
}
|
|
10487
|
-
KOALA_INTEROP_V3(SrcDumperAdd1, KNativePointer, KNativePointer,
|
|
12088
|
+
KOALA_INTEROP_V3(SrcDumperAdd1, KNativePointer, KNativePointer, KBoolean);
|
|
12089
|
+
|
|
12090
|
+
void impl_SrcDumperAdd2(KNativePointer context, KNativePointer receiver, KInt i)
|
|
12091
|
+
{
|
|
12092
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12093
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12094
|
+
const auto _i = static_cast<KInt>(i);
|
|
12095
|
+
GetImpl()->SrcDumperAdd2(_context, _receiver, _i);
|
|
12096
|
+
return ;
|
|
12097
|
+
}
|
|
12098
|
+
KOALA_INTEROP_V3(SrcDumperAdd2, KNativePointer, KNativePointer, KInt);
|
|
12099
|
+
|
|
12100
|
+
void impl_SrcDumperAdd3(KNativePointer context, KNativePointer receiver, KInt i)
|
|
12101
|
+
{
|
|
12102
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12103
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12104
|
+
const auto _i = static_cast<KInt>(i);
|
|
12105
|
+
GetImpl()->SrcDumperAdd3(_context, _receiver, _i);
|
|
12106
|
+
return ;
|
|
12107
|
+
}
|
|
12108
|
+
KOALA_INTEROP_V3(SrcDumperAdd3, KNativePointer, KNativePointer, KInt);
|
|
10488
12109
|
|
|
10489
|
-
void
|
|
12110
|
+
void impl_SrcDumperAdd4(KNativePointer context, KNativePointer receiver, KLong l)
|
|
10490
12111
|
{
|
|
10491
12112
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10492
12113
|
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
10493
12114
|
const auto _l = static_cast<KLong>(l);
|
|
10494
|
-
GetImpl()->
|
|
12115
|
+
GetImpl()->SrcDumperAdd4(_context, _receiver, _l);
|
|
10495
12116
|
return ;
|
|
10496
12117
|
}
|
|
10497
|
-
KOALA_INTEROP_V3(
|
|
12118
|
+
KOALA_INTEROP_V3(SrcDumperAdd4, KNativePointer, KNativePointer, KLong);
|
|
10498
12119
|
|
|
10499
|
-
void
|
|
12120
|
+
void impl_SrcDumperAdd5(KNativePointer context, KNativePointer receiver, KFloat f)
|
|
10500
12121
|
{
|
|
10501
12122
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10502
12123
|
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
10503
12124
|
const auto _f = static_cast<KFloat>(f);
|
|
10504
|
-
GetImpl()->
|
|
12125
|
+
GetImpl()->SrcDumperAdd5(_context, _receiver, _f);
|
|
10505
12126
|
return ;
|
|
10506
12127
|
}
|
|
10507
|
-
KOALA_INTEROP_V3(
|
|
12128
|
+
KOALA_INTEROP_V3(SrcDumperAdd5, KNativePointer, KNativePointer, KFloat);
|
|
10508
12129
|
|
|
10509
|
-
void
|
|
12130
|
+
void impl_SrcDumperAdd6(KNativePointer context, KNativePointer receiver, KDouble d)
|
|
10510
12131
|
{
|
|
10511
12132
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10512
12133
|
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
10513
12134
|
const auto _d = static_cast<KDouble>(d);
|
|
10514
|
-
GetImpl()->
|
|
12135
|
+
GetImpl()->SrcDumperAdd6(_context, _receiver, _d);
|
|
10515
12136
|
return ;
|
|
10516
12137
|
}
|
|
10517
|
-
KOALA_INTEROP_V3(
|
|
12138
|
+
KOALA_INTEROP_V3(SrcDumperAdd6, KNativePointer, KNativePointer, KDouble);
|
|
10518
12139
|
|
|
10519
12140
|
KNativePointer impl_SrcDumperStrConst(KNativePointer context, KNativePointer receiver)
|
|
10520
12141
|
{
|
|
10521
12142
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10522
12143
|
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
10523
12144
|
auto result = GetImpl()->SrcDumperStrConst(_context, _receiver);
|
|
10524
|
-
return
|
|
12145
|
+
return StageArena::strdup(result);
|
|
10525
12146
|
}
|
|
10526
12147
|
KOALA_INTEROP_2(SrcDumperStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10527
12148
|
|
|
@@ -10553,6 +12174,53 @@ void impl_SrcDumperEndl(KNativePointer context, KNativePointer receiver, KUInt n
|
|
|
10553
12174
|
}
|
|
10554
12175
|
KOALA_INTEROP_V3(SrcDumperEndl, KNativePointer, KNativePointer, KUInt);
|
|
10555
12176
|
|
|
12177
|
+
KBoolean impl_SrcDumperIsDeclgenConst(KNativePointer context, KNativePointer receiver)
|
|
12178
|
+
{
|
|
12179
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12180
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12181
|
+
auto result = GetImpl()->SrcDumperIsDeclgenConst(_context, _receiver);
|
|
12182
|
+
return result;
|
|
12183
|
+
}
|
|
12184
|
+
KOALA_INTEROP_2(SrcDumperIsDeclgenConst, KBoolean, KNativePointer, KNativePointer);
|
|
12185
|
+
|
|
12186
|
+
void impl_SrcDumperDumpNode(KNativePointer context, KNativePointer receiver, KStringPtr& key)
|
|
12187
|
+
{
|
|
12188
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12189
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12190
|
+
const auto _key = getStringCopy(key);
|
|
12191
|
+
GetImpl()->SrcDumperDumpNode(_context, _receiver, _key);
|
|
12192
|
+
return ;
|
|
12193
|
+
}
|
|
12194
|
+
KOALA_INTEROP_V3(SrcDumperDumpNode, KNativePointer, KNativePointer, KStringPtr);
|
|
12195
|
+
|
|
12196
|
+
void impl_SrcDumperRemoveNode(KNativePointer context, KNativePointer receiver, KStringPtr& key)
|
|
12197
|
+
{
|
|
12198
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12199
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12200
|
+
const auto _key = getStringCopy(key);
|
|
12201
|
+
GetImpl()->SrcDumperRemoveNode(_context, _receiver, _key);
|
|
12202
|
+
return ;
|
|
12203
|
+
}
|
|
12204
|
+
KOALA_INTEROP_V3(SrcDumperRemoveNode, KNativePointer, KNativePointer, KStringPtr);
|
|
12205
|
+
|
|
12206
|
+
KBoolean impl_SrcDumperIsIndirectDepPhaseConst(KNativePointer context, KNativePointer receiver)
|
|
12207
|
+
{
|
|
12208
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12209
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12210
|
+
auto result = GetImpl()->SrcDumperIsIndirectDepPhaseConst(_context, _receiver);
|
|
12211
|
+
return result;
|
|
12212
|
+
}
|
|
12213
|
+
KOALA_INTEROP_2(SrcDumperIsIndirectDepPhaseConst, KBoolean, KNativePointer, KNativePointer);
|
|
12214
|
+
|
|
12215
|
+
void impl_SrcDumperRun(KNativePointer context, KNativePointer receiver)
|
|
12216
|
+
{
|
|
12217
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12218
|
+
const auto _receiver = reinterpret_cast<es2panda_SrcDumper*>(receiver);
|
|
12219
|
+
GetImpl()->SrcDumperRun(_context, _receiver);
|
|
12220
|
+
return ;
|
|
12221
|
+
}
|
|
12222
|
+
KOALA_INTEROP_V2(SrcDumperRun, KNativePointer, KNativePointer);
|
|
12223
|
+
|
|
10556
12224
|
KNativePointer impl_CreateETSClassLiteral(KNativePointer context, KNativePointer expr)
|
|
10557
12225
|
{
|
|
10558
12226
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10691,7 +12359,7 @@ KNativePointer impl_RegExpLiteralPatternConst(KNativePointer context, KNativePoi
|
|
|
10691
12359
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10692
12360
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10693
12361
|
auto result = GetImpl()->RegExpLiteralPatternConst(_context, _receiver);
|
|
10694
|
-
return
|
|
12362
|
+
return StageArena::strdup(result);
|
|
10695
12363
|
}
|
|
10696
12364
|
KOALA_INTEROP_2(RegExpLiteralPatternConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10697
12365
|
|
|
@@ -10825,54 +12493,114 @@ KNativePointer impl_ClassDeclarationDecoratorsConst(KNativePointer context, KNat
|
|
|
10825
12493
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10826
12494
|
std::size_t length;
|
|
10827
12495
|
auto result = GetImpl()->ClassDeclarationDecoratorsConst(_context, _receiver, &length);
|
|
10828
|
-
return (void*)
|
|
12496
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
10829
12497
|
}
|
|
10830
12498
|
KOALA_INTEROP_2(ClassDeclarationDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10831
12499
|
|
|
10832
|
-
|
|
12500
|
+
void impl_ClassDeclarationEmplaceDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators)
|
|
10833
12501
|
{
|
|
10834
12502
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10835
|
-
const auto
|
|
10836
|
-
const auto
|
|
10837
|
-
|
|
10838
|
-
return
|
|
12503
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12504
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
12505
|
+
GetImpl()->ClassDeclarationEmplaceDecorators(_context, _receiver, _decorators);
|
|
12506
|
+
return ;
|
|
10839
12507
|
}
|
|
10840
|
-
|
|
12508
|
+
KOALA_INTEROP_V3(ClassDeclarationEmplaceDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
10841
12509
|
|
|
10842
|
-
|
|
12510
|
+
void impl_ClassDeclarationClearDecorators(KNativePointer context, KNativePointer receiver)
|
|
10843
12511
|
{
|
|
10844
12512
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10845
|
-
const auto
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
auto result = GetImpl()->UpdateTSIndexedAccessType(_context, _original, _objectType, _indexType);
|
|
10849
|
-
return result;
|
|
12513
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12514
|
+
GetImpl()->ClassDeclarationClearDecorators(_context, _receiver);
|
|
12515
|
+
return ;
|
|
10850
12516
|
}
|
|
10851
|
-
|
|
12517
|
+
KOALA_INTEROP_V2(ClassDeclarationClearDecorators, KNativePointer, KNativePointer);
|
|
10852
12518
|
|
|
10853
|
-
|
|
12519
|
+
void impl_ClassDeclarationSetValueDecorators(KNativePointer context, KNativePointer receiver, KNativePointer decorators, KUInt index)
|
|
10854
12520
|
{
|
|
10855
12521
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10856
12522
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10857
|
-
auto
|
|
10858
|
-
|
|
12523
|
+
const auto _decorators = reinterpret_cast<es2panda_AstNode*>(decorators);
|
|
12524
|
+
const auto _index = static_cast<KUInt>(index);
|
|
12525
|
+
GetImpl()->ClassDeclarationSetValueDecorators(_context, _receiver, _decorators, _index);
|
|
12526
|
+
return ;
|
|
10859
12527
|
}
|
|
10860
|
-
|
|
12528
|
+
KOALA_INTEROP_V4(ClassDeclarationSetValueDecorators, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
10861
12529
|
|
|
10862
|
-
KNativePointer
|
|
12530
|
+
KNativePointer impl_ClassDeclarationDecorators(KNativePointer context, KNativePointer receiver)
|
|
10863
12531
|
{
|
|
10864
12532
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10865
12533
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10866
|
-
|
|
10867
|
-
|
|
12534
|
+
std::size_t length;
|
|
12535
|
+
auto result = GetImpl()->ClassDeclarationDecorators(_context, _receiver, &length);
|
|
12536
|
+
return StageArena::cloneVector(result, length);
|
|
10868
12537
|
}
|
|
10869
|
-
KOALA_INTEROP_2(
|
|
12538
|
+
KOALA_INTEROP_2(ClassDeclarationDecorators, KNativePointer, KNativePointer, KNativePointer);
|
|
10870
12539
|
|
|
10871
|
-
KNativePointer
|
|
12540
|
+
KNativePointer impl_ClassDeclarationDecoratorsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
10872
12541
|
{
|
|
10873
12542
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10874
|
-
const auto
|
|
10875
|
-
|
|
12543
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12544
|
+
std::size_t length;
|
|
12545
|
+
auto result = GetImpl()->ClassDeclarationDecoratorsForUpdate(_context, _receiver, &length);
|
|
12546
|
+
return StageArena::cloneVector(result, length);
|
|
12547
|
+
}
|
|
12548
|
+
KOALA_INTEROP_2(ClassDeclarationDecoratorsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
12549
|
+
|
|
12550
|
+
void impl_ClassDeclarationSetDefinition(KNativePointer context, KNativePointer receiver, KNativePointer def)
|
|
12551
|
+
{
|
|
12552
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12553
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12554
|
+
const auto _def = reinterpret_cast<es2panda_AstNode*>(def);
|
|
12555
|
+
GetImpl()->ClassDeclarationSetDefinition(_context, _receiver, _def);
|
|
12556
|
+
return ;
|
|
12557
|
+
}
|
|
12558
|
+
KOALA_INTEROP_V3(ClassDeclarationSetDefinition, KNativePointer, KNativePointer, KNativePointer);
|
|
12559
|
+
|
|
12560
|
+
KNativePointer impl_CreateTSIndexedAccessType(KNativePointer context, KNativePointer objectType, KNativePointer indexType)
|
|
12561
|
+
{
|
|
12562
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12563
|
+
const auto _objectType = reinterpret_cast<es2panda_AstNode*>(objectType);
|
|
12564
|
+
const auto _indexType = reinterpret_cast<es2panda_AstNode*>(indexType);
|
|
12565
|
+
auto result = GetImpl()->CreateTSIndexedAccessType(_context, _objectType, _indexType);
|
|
12566
|
+
return result;
|
|
12567
|
+
}
|
|
12568
|
+
KOALA_INTEROP_3(CreateTSIndexedAccessType, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
12569
|
+
|
|
12570
|
+
KNativePointer impl_UpdateTSIndexedAccessType(KNativePointer context, KNativePointer original, KNativePointer objectType, KNativePointer indexType)
|
|
12571
|
+
{
|
|
12572
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12573
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
12574
|
+
const auto _objectType = reinterpret_cast<es2panda_AstNode*>(objectType);
|
|
12575
|
+
const auto _indexType = reinterpret_cast<es2panda_AstNode*>(indexType);
|
|
12576
|
+
auto result = GetImpl()->UpdateTSIndexedAccessType(_context, _original, _objectType, _indexType);
|
|
12577
|
+
return result;
|
|
12578
|
+
}
|
|
12579
|
+
KOALA_INTEROP_4(UpdateTSIndexedAccessType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
12580
|
+
|
|
12581
|
+
KNativePointer impl_TSIndexedAccessTypeObjectTypeConst(KNativePointer context, KNativePointer receiver)
|
|
12582
|
+
{
|
|
12583
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12584
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12585
|
+
auto result = GetImpl()->TSIndexedAccessTypeObjectTypeConst(_context, _receiver);
|
|
12586
|
+
return (void*)result;
|
|
12587
|
+
}
|
|
12588
|
+
KOALA_INTEROP_2(TSIndexedAccessTypeObjectTypeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
12589
|
+
|
|
12590
|
+
KNativePointer impl_TSIndexedAccessTypeIndexTypeConst(KNativePointer context, KNativePointer receiver)
|
|
12591
|
+
{
|
|
12592
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12593
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12594
|
+
auto result = GetImpl()->TSIndexedAccessTypeIndexTypeConst(_context, _receiver);
|
|
12595
|
+
return (void*)result;
|
|
12596
|
+
}
|
|
12597
|
+
KOALA_INTEROP_2(TSIndexedAccessTypeIndexTypeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
12598
|
+
|
|
12599
|
+
KNativePointer impl_CreateTSQualifiedName(KNativePointer context, KNativePointer left, KNativePointer right)
|
|
12600
|
+
{
|
|
12601
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12602
|
+
const auto _left = reinterpret_cast<es2panda_AstNode*>(left);
|
|
12603
|
+
const auto _right = reinterpret_cast<es2panda_AstNode*>(right);
|
|
10876
12604
|
auto result = GetImpl()->CreateTSQualifiedName(_context, _left, _right);
|
|
10877
12605
|
return result;
|
|
10878
12606
|
}
|
|
@@ -10930,7 +12658,7 @@ KNativePointer impl_TSQualifiedNameNameConst(KNativePointer context, KNativePoin
|
|
|
10930
12658
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10931
12659
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10932
12660
|
auto result = GetImpl()->TSQualifiedNameNameConst(_context, _receiver);
|
|
10933
|
-
return
|
|
12661
|
+
return StageArena::strdup(result);
|
|
10934
12662
|
}
|
|
10935
12663
|
KOALA_INTEROP_2(TSQualifiedNameNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10936
12664
|
|
|
@@ -11155,7 +12883,7 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensions(KNativePoint
|
|
|
11155
12883
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11156
12884
|
std::size_t length;
|
|
11157
12885
|
auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensions(_context, _receiver, &length);
|
|
11158
|
-
return
|
|
12886
|
+
return StageArena::cloneVector(result, length);
|
|
11159
12887
|
}
|
|
11160
12888
|
KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensions, KNativePointer, KNativePointer, KNativePointer);
|
|
11161
12889
|
|
|
@@ -11165,7 +12893,7 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensionsConst(KNative
|
|
|
11165
12893
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11166
12894
|
std::size_t length;
|
|
11167
12895
|
auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensionsConst(_context, _receiver, &length);
|
|
11168
|
-
return (void*)
|
|
12896
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
11169
12897
|
}
|
|
11170
12898
|
KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensionsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11171
12899
|
|
|
@@ -11290,7 +13018,7 @@ KNativePointer impl_AstDumperModifierToString(KNativePointer context, KNativePoi
|
|
|
11290
13018
|
const auto _receiver = reinterpret_cast<es2panda_AstDumper*>(receiver);
|
|
11291
13019
|
const auto _flags = static_cast<Es2pandaModifierFlags>(flags);
|
|
11292
13020
|
auto result = GetImpl()->AstDumperModifierToString(_context, _receiver, _flags);
|
|
11293
|
-
return
|
|
13021
|
+
return StageArena::strdup(result);
|
|
11294
13022
|
}
|
|
11295
13023
|
KOALA_INTEROP_3(AstDumperModifierToString, KNativePointer, KNativePointer, KNativePointer, KInt);
|
|
11296
13024
|
|
|
@@ -11300,7 +13028,7 @@ KNativePointer impl_AstDumperTypeOperatorToString(KNativePointer context, KNativ
|
|
|
11300
13028
|
const auto _receiver = reinterpret_cast<es2panda_AstDumper*>(receiver);
|
|
11301
13029
|
const auto _operatorType = static_cast<Es2pandaTSOperatorType>(operatorType);
|
|
11302
13030
|
auto result = GetImpl()->AstDumperTypeOperatorToString(_context, _receiver, _operatorType);
|
|
11303
|
-
return
|
|
13031
|
+
return StageArena::strdup(result);
|
|
11304
13032
|
}
|
|
11305
13033
|
KOALA_INTEROP_3(AstDumperTypeOperatorToString, KNativePointer, KNativePointer, KNativePointer, KInt);
|
|
11306
13034
|
|
|
@@ -11309,7 +13037,7 @@ KNativePointer impl_AstDumperStrConst(KNativePointer context, KNativePointer rec
|
|
|
11309
13037
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11310
13038
|
const auto _receiver = reinterpret_cast<es2panda_AstDumper*>(receiver);
|
|
11311
13039
|
auto result = GetImpl()->AstDumperStrConst(_context, _receiver);
|
|
11312
|
-
return
|
|
13040
|
+
return StageArena::strdup(result);
|
|
11313
13041
|
}
|
|
11314
13042
|
KOALA_INTEROP_2(AstDumperStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11315
13043
|
|
|
@@ -11469,7 +13197,7 @@ KNativePointer impl_TSEnumMemberNameConst(KNativePointer context, KNativePointer
|
|
|
11469
13197
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11470
13198
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11471
13199
|
auto result = GetImpl()->TSEnumMemberNameConst(_context, _receiver);
|
|
11472
|
-
return
|
|
13200
|
+
return StageArena::strdup(result);
|
|
11473
13201
|
}
|
|
11474
13202
|
KOALA_INTEROP_2(TSEnumMemberNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11475
13203
|
|
|
@@ -11530,7 +13258,7 @@ KNativePointer impl_SwitchStatementCasesConst(KNativePointer context, KNativePoi
|
|
|
11530
13258
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11531
13259
|
std::size_t length;
|
|
11532
13260
|
auto result = GetImpl()->SwitchStatementCasesConst(_context, _receiver, &length);
|
|
11533
|
-
return (void*)
|
|
13261
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
11534
13262
|
}
|
|
11535
13263
|
KOALA_INTEROP_2(SwitchStatementCasesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11536
13264
|
|
|
@@ -11540,7 +13268,7 @@ KNativePointer impl_SwitchStatementCases(KNativePointer context, KNativePointer
|
|
|
11540
13268
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11541
13269
|
std::size_t length;
|
|
11542
13270
|
auto result = GetImpl()->SwitchStatementCases(_context, _receiver, &length);
|
|
11543
|
-
return
|
|
13271
|
+
return StageArena::cloneVector(result, length);
|
|
11544
13272
|
}
|
|
11545
13273
|
KOALA_INTEROP_2(SwitchStatementCases, KNativePointer, KNativePointer, KNativePointer);
|
|
11546
13274
|
|
|
@@ -11713,7 +13441,7 @@ KNativePointer impl_SequenceExpressionSequenceConst(KNativePointer context, KNat
|
|
|
11713
13441
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11714
13442
|
std::size_t length;
|
|
11715
13443
|
auto result = GetImpl()->SequenceExpressionSequenceConst(_context, _receiver, &length);
|
|
11716
|
-
return (void*)
|
|
13444
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
11717
13445
|
}
|
|
11718
13446
|
KOALA_INTEROP_2(SequenceExpressionSequenceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11719
13447
|
|
|
@@ -11723,7 +13451,7 @@ KNativePointer impl_SequenceExpressionSequence(KNativePointer context, KNativePo
|
|
|
11723
13451
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11724
13452
|
std::size_t length;
|
|
11725
13453
|
auto result = GetImpl()->SequenceExpressionSequence(_context, _receiver, &length);
|
|
11726
|
-
return
|
|
13454
|
+
return StageArena::cloneVector(result, length);
|
|
11727
13455
|
}
|
|
11728
13456
|
KOALA_INTEROP_2(SequenceExpressionSequence, KNativePointer, KNativePointer, KNativePointer);
|
|
11729
13457
|
|
|
@@ -11792,13 +13520,53 @@ KNativePointer impl_ArrowFunctionExpressionCreateTypeAnnotation(KNativePointer c
|
|
|
11792
13520
|
}
|
|
11793
13521
|
KOALA_INTEROP_2(ArrowFunctionExpressionCreateTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
|
|
11794
13522
|
|
|
13523
|
+
void impl_ArrowFunctionExpressionEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
13524
|
+
{
|
|
13525
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13526
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13527
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
13528
|
+
GetImpl()->ArrowFunctionExpressionEmplaceAnnotations(_context, _receiver, _source);
|
|
13529
|
+
return ;
|
|
13530
|
+
}
|
|
13531
|
+
KOALA_INTEROP_V3(ArrowFunctionExpressionEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
13532
|
+
|
|
13533
|
+
void impl_ArrowFunctionExpressionClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
13534
|
+
{
|
|
13535
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13536
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13537
|
+
GetImpl()->ArrowFunctionExpressionClearAnnotations(_context, _receiver);
|
|
13538
|
+
return ;
|
|
13539
|
+
}
|
|
13540
|
+
KOALA_INTEROP_V2(ArrowFunctionExpressionClearAnnotations, KNativePointer, KNativePointer);
|
|
13541
|
+
|
|
13542
|
+
void impl_ArrowFunctionExpressionSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
13543
|
+
{
|
|
13544
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13545
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13546
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
13547
|
+
const auto _index = static_cast<KUInt>(index);
|
|
13548
|
+
GetImpl()->ArrowFunctionExpressionSetValueAnnotations(_context, _receiver, _source, _index);
|
|
13549
|
+
return ;
|
|
13550
|
+
}
|
|
13551
|
+
KOALA_INTEROP_V4(ArrowFunctionExpressionSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
13552
|
+
|
|
13553
|
+
KNativePointer impl_ArrowFunctionExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
13554
|
+
{
|
|
13555
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13556
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13557
|
+
std::size_t length;
|
|
13558
|
+
auto result = GetImpl()->ArrowFunctionExpressionAnnotationsForUpdate(_context, _receiver, &length);
|
|
13559
|
+
return StageArena::cloneVector(result, length);
|
|
13560
|
+
}
|
|
13561
|
+
KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
13562
|
+
|
|
11795
13563
|
KNativePointer impl_ArrowFunctionExpressionAnnotations(KNativePointer context, KNativePointer receiver)
|
|
11796
13564
|
{
|
|
11797
13565
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11798
13566
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11799
13567
|
std::size_t length;
|
|
11800
13568
|
auto result = GetImpl()->ArrowFunctionExpressionAnnotations(_context, _receiver, &length);
|
|
11801
|
-
return
|
|
13569
|
+
return StageArena::cloneVector(result, length);
|
|
11802
13570
|
}
|
|
11803
13571
|
KOALA_INTEROP_2(ArrowFunctionExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
11804
13572
|
|
|
@@ -11808,21 +13576,42 @@ KNativePointer impl_ArrowFunctionExpressionAnnotationsConst(KNativePointer conte
|
|
|
11808
13576
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11809
13577
|
std::size_t length;
|
|
11810
13578
|
auto result = GetImpl()->ArrowFunctionExpressionAnnotationsConst(_context, _receiver, &length);
|
|
11811
|
-
return (void*)
|
|
13579
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
11812
13580
|
}
|
|
11813
13581
|
KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11814
13582
|
|
|
11815
|
-
void impl_ArrowFunctionExpressionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
13583
|
+
void impl_ArrowFunctionExpressionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
11816
13584
|
{
|
|
11817
13585
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11818
13586
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11819
|
-
const auto
|
|
11820
|
-
const auto
|
|
11821
|
-
GetImpl()->ArrowFunctionExpressionSetAnnotations(_context, _receiver,
|
|
13587
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
13588
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
13589
|
+
GetImpl()->ArrowFunctionExpressionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
11822
13590
|
return ;
|
|
11823
13591
|
}
|
|
11824
13592
|
KOALA_INTEROP_V4(ArrowFunctionExpressionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
11825
13593
|
|
|
13594
|
+
void impl_ArrowFunctionExpressionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
13595
|
+
{
|
|
13596
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13597
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13598
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
13599
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
13600
|
+
GetImpl()->ArrowFunctionExpressionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
13601
|
+
return ;
|
|
13602
|
+
}
|
|
13603
|
+
KOALA_INTEROP_V4(ArrowFunctionExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
13604
|
+
|
|
13605
|
+
void impl_ArrowFunctionExpressionAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
13606
|
+
{
|
|
13607
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13608
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13609
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
13610
|
+
GetImpl()->ArrowFunctionExpressionAddAnnotations(_context, _receiver, _annotations);
|
|
13611
|
+
return ;
|
|
13612
|
+
}
|
|
13613
|
+
KOALA_INTEROP_V3(ArrowFunctionExpressionAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
13614
|
+
|
|
11826
13615
|
KNativePointer impl_CreateOmittedExpression(KNativePointer context)
|
|
11827
13616
|
{
|
|
11828
13617
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -11897,7 +13686,7 @@ KNativePointer impl_ETSNewClassInstanceExpressionGetArguments(KNativePointer con
|
|
|
11897
13686
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11898
13687
|
std::size_t length;
|
|
11899
13688
|
auto result = GetImpl()->ETSNewClassInstanceExpressionGetArguments(_context, _receiver, &length);
|
|
11900
|
-
return
|
|
13689
|
+
return StageArena::cloneVector(result, length);
|
|
11901
13690
|
}
|
|
11902
13691
|
KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArguments, KNativePointer, KNativePointer, KNativePointer);
|
|
11903
13692
|
|
|
@@ -11907,7 +13696,7 @@ KNativePointer impl_ETSNewClassInstanceExpressionGetArgumentsConst(KNativePointe
|
|
|
11907
13696
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11908
13697
|
std::size_t length;
|
|
11909
13698
|
auto result = GetImpl()->ETSNewClassInstanceExpressionGetArgumentsConst(_context, _receiver, &length);
|
|
11910
|
-
return (void*)
|
|
13699
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
11911
13700
|
}
|
|
11912
13701
|
KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
11913
13702
|
|
|
@@ -12174,6 +13963,15 @@ KNativePointer impl_ETSTypeReferencePartTypeParams(KNativePointer context, KNati
|
|
|
12174
13963
|
}
|
|
12175
13964
|
KOALA_INTEROP_2(ETSTypeReferencePartTypeParams, KNativePointer, KNativePointer, KNativePointer);
|
|
12176
13965
|
|
|
13966
|
+
KNativePointer impl_ETSTypeReferencePartTypeParamsConst(KNativePointer context, KNativePointer receiver)
|
|
13967
|
+
{
|
|
13968
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
13969
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
13970
|
+
auto result = GetImpl()->ETSTypeReferencePartTypeParamsConst(_context, _receiver);
|
|
13971
|
+
return (void*)result;
|
|
13972
|
+
}
|
|
13973
|
+
KOALA_INTEROP_2(ETSTypeReferencePartTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
13974
|
+
|
|
12177
13975
|
KNativePointer impl_ETSTypeReferencePartNameConst(KNativePointer context, KNativePointer receiver)
|
|
12178
13976
|
{
|
|
12179
13977
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -12215,7 +14013,7 @@ KNativePointer impl_ETSReExportDeclarationGetProgramPathConst(KNativePointer con
|
|
|
12215
14013
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12216
14014
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12217
14015
|
auto result = GetImpl()->ETSReExportDeclarationGetProgramPathConst(_context, _receiver);
|
|
12218
|
-
return
|
|
14016
|
+
return StageArena::strdup(result);
|
|
12219
14017
|
}
|
|
12220
14018
|
KOALA_INTEROP_2(ETSReExportDeclarationGetProgramPathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
12221
14019
|
|
|
@@ -12247,13 +14045,53 @@ KInt impl_ETSPrimitiveTypeGetPrimitiveTypeConst(KNativePointer context, KNativeP
|
|
|
12247
14045
|
}
|
|
12248
14046
|
KOALA_INTEROP_2(ETSPrimitiveTypeGetPrimitiveTypeConst, KInt, KNativePointer, KNativePointer);
|
|
12249
14047
|
|
|
14048
|
+
void impl_TypeNodeEmplaceAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source)
|
|
14049
|
+
{
|
|
14050
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14051
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
14052
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
14053
|
+
GetImpl()->TypeNodeEmplaceAnnotations(_context, _receiver, _source);
|
|
14054
|
+
return ;
|
|
14055
|
+
}
|
|
14056
|
+
KOALA_INTEROP_V3(TypeNodeEmplaceAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
14057
|
+
|
|
14058
|
+
void impl_TypeNodeClearAnnotations(KNativePointer context, KNativePointer receiver)
|
|
14059
|
+
{
|
|
14060
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14061
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
14062
|
+
GetImpl()->TypeNodeClearAnnotations(_context, _receiver);
|
|
14063
|
+
return ;
|
|
14064
|
+
}
|
|
14065
|
+
KOALA_INTEROP_V2(TypeNodeClearAnnotations, KNativePointer, KNativePointer);
|
|
14066
|
+
|
|
14067
|
+
void impl_TypeNodeSetValueAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index)
|
|
14068
|
+
{
|
|
14069
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14070
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
14071
|
+
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
14072
|
+
const auto _index = static_cast<KUInt>(index);
|
|
14073
|
+
GetImpl()->TypeNodeSetValueAnnotations(_context, _receiver, _source, _index);
|
|
14074
|
+
return ;
|
|
14075
|
+
}
|
|
14076
|
+
KOALA_INTEROP_V4(TypeNodeSetValueAnnotations, KNativePointer, KNativePointer, KNativePointer, KUInt);
|
|
14077
|
+
|
|
14078
|
+
KNativePointer impl_TypeNodeAnnotationsForUpdate(KNativePointer context, KNativePointer receiver)
|
|
14079
|
+
{
|
|
14080
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14081
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
14082
|
+
std::size_t length;
|
|
14083
|
+
auto result = GetImpl()->TypeNodeAnnotationsForUpdate(_context, _receiver, &length);
|
|
14084
|
+
return StageArena::cloneVector(result, length);
|
|
14085
|
+
}
|
|
14086
|
+
KOALA_INTEROP_2(TypeNodeAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer);
|
|
14087
|
+
|
|
12250
14088
|
KNativePointer impl_TypeNodeAnnotations(KNativePointer context, KNativePointer receiver)
|
|
12251
14089
|
{
|
|
12252
14090
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12253
14091
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12254
14092
|
std::size_t length;
|
|
12255
14093
|
auto result = GetImpl()->TypeNodeAnnotations(_context, _receiver, &length);
|
|
12256
|
-
return
|
|
14094
|
+
return StageArena::cloneVector(result, length);
|
|
12257
14095
|
}
|
|
12258
14096
|
KOALA_INTEROP_2(TypeNodeAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
12259
14097
|
|
|
@@ -12263,21 +14101,42 @@ KNativePointer impl_TypeNodeAnnotationsConst(KNativePointer context, KNativePoin
|
|
|
12263
14101
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12264
14102
|
std::size_t length;
|
|
12265
14103
|
auto result = GetImpl()->TypeNodeAnnotationsConst(_context, _receiver, &length);
|
|
12266
|
-
return (void*)
|
|
14104
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
12267
14105
|
}
|
|
12268
14106
|
KOALA_INTEROP_2(TypeNodeAnnotationsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
12269
14107
|
|
|
12270
|
-
void impl_TypeNodeSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray
|
|
14108
|
+
void impl_TypeNodeSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
12271
14109
|
{
|
|
12272
14110
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
12273
14111
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12274
|
-
const auto
|
|
12275
|
-
const auto
|
|
12276
|
-
GetImpl()->TypeNodeSetAnnotations(_context, _receiver,
|
|
14112
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
14113
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
14114
|
+
GetImpl()->TypeNodeSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
12277
14115
|
return ;
|
|
12278
14116
|
}
|
|
12279
14117
|
KOALA_INTEROP_V4(TypeNodeSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
12280
14118
|
|
|
14119
|
+
void impl_TypeNodeSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength)
|
|
14120
|
+
{
|
|
14121
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14122
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
14123
|
+
const auto _annotationList = reinterpret_cast<es2panda_AstNode**>(annotationList);
|
|
14124
|
+
const auto _annotationListSequenceLength = static_cast<KUInt>(annotationListSequenceLength);
|
|
14125
|
+
GetImpl()->TypeNodeSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength);
|
|
14126
|
+
return ;
|
|
14127
|
+
}
|
|
14128
|
+
KOALA_INTEROP_V4(TypeNodeSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
14129
|
+
|
|
14130
|
+
void impl_TypeNodeAddAnnotations(KNativePointer context, KNativePointer receiver, KNativePointer annotations)
|
|
14131
|
+
{
|
|
14132
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14133
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
14134
|
+
const auto _annotations = reinterpret_cast<es2panda_AstNode*>(annotations);
|
|
14135
|
+
GetImpl()->TypeNodeAddAnnotations(_context, _receiver, _annotations);
|
|
14136
|
+
return ;
|
|
14137
|
+
}
|
|
14138
|
+
KOALA_INTEROP_V3(TypeNodeAddAnnotations, KNativePointer, KNativePointer, KNativePointer);
|
|
14139
|
+
|
|
12281
14140
|
KNativePointer impl_CreateNewExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength)
|
|
12282
14141
|
{
|
|
12283
14142
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -12316,7 +14175,7 @@ KNativePointer impl_NewExpressionArgumentsConst(KNativePointer context, KNativeP
|
|
|
12316
14175
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
12317
14176
|
std::size_t length;
|
|
12318
14177
|
auto result = GetImpl()->NewExpressionArgumentsConst(_context, _receiver, &length);
|
|
12319
|
-
return (void*)
|
|
14178
|
+
return (void*)StageArena::cloneVector(result, length);
|
|
12320
14179
|
}
|
|
12321
14180
|
KOALA_INTEROP_2(NewExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
12322
14181
|
|
|
@@ -12477,3 +14336,479 @@ KNativePointer impl_CreateFunctionDecl(KNativePointer context, KStringPtr& name,
|
|
|
12477
14336
|
}
|
|
12478
14337
|
KOALA_INTEROP_3(CreateFunctionDecl, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
|
|
12479
14338
|
|
|
14339
|
+
void impl_ProgramSetKind(KNativePointer context, KNativePointer receiver, KInt kind)
|
|
14340
|
+
{
|
|
14341
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14342
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14343
|
+
const auto _kind = static_cast<Es2pandaScriptKind>(kind);
|
|
14344
|
+
GetImpl()->ProgramSetKind(_context, _receiver, _kind);
|
|
14345
|
+
return ;
|
|
14346
|
+
}
|
|
14347
|
+
KOALA_INTEROP_V3(ProgramSetKind, KNativePointer, KNativePointer, KInt);
|
|
14348
|
+
|
|
14349
|
+
void impl_ProgramPushVarBinder(KNativePointer context, KNativePointer receiver)
|
|
14350
|
+
{
|
|
14351
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14352
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14353
|
+
GetImpl()->ProgramPushVarBinder(_context, _receiver);
|
|
14354
|
+
return ;
|
|
14355
|
+
}
|
|
14356
|
+
KOALA_INTEROP_V2(ProgramPushVarBinder, KNativePointer, KNativePointer);
|
|
14357
|
+
|
|
14358
|
+
void impl_ProgramPushChecker(KNativePointer context, KNativePointer receiver)
|
|
14359
|
+
{
|
|
14360
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14361
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14362
|
+
GetImpl()->ProgramPushChecker(_context, _receiver);
|
|
14363
|
+
return ;
|
|
14364
|
+
}
|
|
14365
|
+
KOALA_INTEROP_V2(ProgramPushChecker, KNativePointer, KNativePointer);
|
|
14366
|
+
|
|
14367
|
+
KInt impl_ProgramKindConst(KNativePointer context, KNativePointer receiver)
|
|
14368
|
+
{
|
|
14369
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14370
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14371
|
+
auto result = GetImpl()->ProgramKindConst(_context, _receiver);
|
|
14372
|
+
return result;
|
|
14373
|
+
}
|
|
14374
|
+
KOALA_INTEROP_2(ProgramKindConst, KInt, KNativePointer, KNativePointer);
|
|
14375
|
+
|
|
14376
|
+
KNativePointer impl_ProgramSourceCodeConst(KNativePointer context, KNativePointer receiver)
|
|
14377
|
+
{
|
|
14378
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14379
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14380
|
+
auto result = GetImpl()->ProgramSourceCodeConst(_context, _receiver);
|
|
14381
|
+
return StageArena::strdup(result);
|
|
14382
|
+
}
|
|
14383
|
+
KOALA_INTEROP_2(ProgramSourceCodeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14384
|
+
|
|
14385
|
+
KNativePointer impl_ProgramSourceFilePathConst(KNativePointer context, KNativePointer receiver)
|
|
14386
|
+
{
|
|
14387
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14388
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14389
|
+
auto result = GetImpl()->ProgramSourceFilePathConst(_context, _receiver);
|
|
14390
|
+
return StageArena::strdup(result);
|
|
14391
|
+
}
|
|
14392
|
+
KOALA_INTEROP_2(ProgramSourceFilePathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14393
|
+
|
|
14394
|
+
KNativePointer impl_ProgramSourceFileFolderConst(KNativePointer context, KNativePointer receiver)
|
|
14395
|
+
{
|
|
14396
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14397
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14398
|
+
auto result = GetImpl()->ProgramSourceFileFolderConst(_context, _receiver);
|
|
14399
|
+
return StageArena::strdup(result);
|
|
14400
|
+
}
|
|
14401
|
+
KOALA_INTEROP_2(ProgramSourceFileFolderConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14402
|
+
|
|
14403
|
+
KNativePointer impl_ProgramFileNameConst(KNativePointer context, KNativePointer receiver)
|
|
14404
|
+
{
|
|
14405
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14406
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14407
|
+
auto result = GetImpl()->ProgramFileNameConst(_context, _receiver);
|
|
14408
|
+
return StageArena::strdup(result);
|
|
14409
|
+
}
|
|
14410
|
+
KOALA_INTEROP_2(ProgramFileNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14411
|
+
|
|
14412
|
+
KNativePointer impl_ProgramFileNameWithExtensionConst(KNativePointer context, KNativePointer receiver)
|
|
14413
|
+
{
|
|
14414
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14415
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14416
|
+
auto result = GetImpl()->ProgramFileNameWithExtensionConst(_context, _receiver);
|
|
14417
|
+
return StageArena::strdup(result);
|
|
14418
|
+
}
|
|
14419
|
+
KOALA_INTEROP_2(ProgramFileNameWithExtensionConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14420
|
+
|
|
14421
|
+
KNativePointer impl_ProgramAbsoluteNameConst(KNativePointer context, KNativePointer receiver)
|
|
14422
|
+
{
|
|
14423
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14424
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14425
|
+
auto result = GetImpl()->ProgramAbsoluteNameConst(_context, _receiver);
|
|
14426
|
+
return StageArena::strdup(result);
|
|
14427
|
+
}
|
|
14428
|
+
KOALA_INTEROP_2(ProgramAbsoluteNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14429
|
+
|
|
14430
|
+
KNativePointer impl_ProgramResolvedFilePathConst(KNativePointer context, KNativePointer receiver)
|
|
14431
|
+
{
|
|
14432
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14433
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14434
|
+
auto result = GetImpl()->ProgramResolvedFilePathConst(_context, _receiver);
|
|
14435
|
+
return StageArena::strdup(result);
|
|
14436
|
+
}
|
|
14437
|
+
KOALA_INTEROP_2(ProgramResolvedFilePathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14438
|
+
|
|
14439
|
+
KNativePointer impl_ProgramRelativeFilePathConst(KNativePointer context, KNativePointer receiver)
|
|
14440
|
+
{
|
|
14441
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14442
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14443
|
+
auto result = GetImpl()->ProgramRelativeFilePathConst(_context, _receiver);
|
|
14444
|
+
return StageArena::strdup(result);
|
|
14445
|
+
}
|
|
14446
|
+
KOALA_INTEROP_2(ProgramRelativeFilePathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14447
|
+
|
|
14448
|
+
void impl_ProgramSetRelativeFilePath(KNativePointer context, KNativePointer receiver, KStringPtr& relPath)
|
|
14449
|
+
{
|
|
14450
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14451
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14452
|
+
const auto _relPath = getStringCopy(relPath);
|
|
14453
|
+
GetImpl()->ProgramSetRelativeFilePath(_context, _receiver, _relPath);
|
|
14454
|
+
return ;
|
|
14455
|
+
}
|
|
14456
|
+
KOALA_INTEROP_V3(ProgramSetRelativeFilePath, KNativePointer, KNativePointer, KStringPtr);
|
|
14457
|
+
|
|
14458
|
+
KNativePointer impl_ProgramAst(KNativePointer context, KNativePointer receiver)
|
|
14459
|
+
{
|
|
14460
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14461
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14462
|
+
auto result = GetImpl()->ProgramAst(_context, _receiver);
|
|
14463
|
+
return result;
|
|
14464
|
+
}
|
|
14465
|
+
KOALA_INTEROP_2(ProgramAst, KNativePointer, KNativePointer, KNativePointer);
|
|
14466
|
+
|
|
14467
|
+
KNativePointer impl_ProgramAstConst(KNativePointer context, KNativePointer receiver)
|
|
14468
|
+
{
|
|
14469
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14470
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14471
|
+
auto result = GetImpl()->ProgramAstConst(_context, _receiver);
|
|
14472
|
+
return (void*)result;
|
|
14473
|
+
}
|
|
14474
|
+
KOALA_INTEROP_2(ProgramAstConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14475
|
+
|
|
14476
|
+
void impl_ProgramSetAst(KNativePointer context, KNativePointer receiver, KNativePointer ast)
|
|
14477
|
+
{
|
|
14478
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14479
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14480
|
+
const auto _ast = reinterpret_cast<es2panda_AstNode*>(ast);
|
|
14481
|
+
GetImpl()->ProgramSetAst(_context, _receiver, _ast);
|
|
14482
|
+
return ;
|
|
14483
|
+
}
|
|
14484
|
+
KOALA_INTEROP_V3(ProgramSetAst, KNativePointer, KNativePointer, KNativePointer);
|
|
14485
|
+
|
|
14486
|
+
KNativePointer impl_ProgramGlobalClass(KNativePointer context, KNativePointer receiver)
|
|
14487
|
+
{
|
|
14488
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14489
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14490
|
+
auto result = GetImpl()->ProgramGlobalClass(_context, _receiver);
|
|
14491
|
+
return result;
|
|
14492
|
+
}
|
|
14493
|
+
KOALA_INTEROP_2(ProgramGlobalClass, KNativePointer, KNativePointer, KNativePointer);
|
|
14494
|
+
|
|
14495
|
+
KNativePointer impl_ProgramGlobalClassConst(KNativePointer context, KNativePointer receiver)
|
|
14496
|
+
{
|
|
14497
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14498
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14499
|
+
auto result = GetImpl()->ProgramGlobalClassConst(_context, _receiver);
|
|
14500
|
+
return (void*)result;
|
|
14501
|
+
}
|
|
14502
|
+
KOALA_INTEROP_2(ProgramGlobalClassConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14503
|
+
|
|
14504
|
+
void impl_ProgramSetGlobalClass(KNativePointer context, KNativePointer receiver, KNativePointer globalClass)
|
|
14505
|
+
{
|
|
14506
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14507
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14508
|
+
const auto _globalClass = reinterpret_cast<es2panda_AstNode*>(globalClass);
|
|
14509
|
+
GetImpl()->ProgramSetGlobalClass(_context, _receiver, _globalClass);
|
|
14510
|
+
return ;
|
|
14511
|
+
}
|
|
14512
|
+
KOALA_INTEROP_V3(ProgramSetGlobalClass, KNativePointer, KNativePointer, KNativePointer);
|
|
14513
|
+
|
|
14514
|
+
KNativePointer impl_ProgramPackageStartConst(KNativePointer context, KNativePointer receiver)
|
|
14515
|
+
{
|
|
14516
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14517
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14518
|
+
auto result = GetImpl()->ProgramPackageStartConst(_context, _receiver);
|
|
14519
|
+
return (void*)result;
|
|
14520
|
+
}
|
|
14521
|
+
KOALA_INTEROP_2(ProgramPackageStartConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14522
|
+
|
|
14523
|
+
void impl_ProgramSetPackageStart(KNativePointer context, KNativePointer receiver, KNativePointer start)
|
|
14524
|
+
{
|
|
14525
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14526
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14527
|
+
const auto _start = reinterpret_cast<es2panda_SourcePosition*>(start);
|
|
14528
|
+
GetImpl()->ProgramSetPackageStart(_context, _receiver, _start);
|
|
14529
|
+
return ;
|
|
14530
|
+
}
|
|
14531
|
+
KOALA_INTEROP_V3(ProgramSetPackageStart, KNativePointer, KNativePointer, KNativePointer);
|
|
14532
|
+
|
|
14533
|
+
void impl_ProgramSetSource(KNativePointer context, KNativePointer receiver, KStringPtr& sourceCode, KStringPtr& sourceFilePath, KStringPtr& sourceFileFolder)
|
|
14534
|
+
{
|
|
14535
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14536
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14537
|
+
const auto _sourceCode = getStringCopy(sourceCode);
|
|
14538
|
+
const auto _sourceFilePath = getStringCopy(sourceFilePath);
|
|
14539
|
+
const auto _sourceFileFolder = getStringCopy(sourceFileFolder);
|
|
14540
|
+
GetImpl()->ProgramSetSource(_context, _receiver, _sourceCode, _sourceFilePath, _sourceFileFolder);
|
|
14541
|
+
return ;
|
|
14542
|
+
}
|
|
14543
|
+
KOALA_INTEROP_V5(ProgramSetSource, KNativePointer, KNativePointer, KStringPtr, KStringPtr, KStringPtr);
|
|
14544
|
+
|
|
14545
|
+
void impl_ProgramSetPackageInfo(KNativePointer context, KNativePointer receiver, KStringPtr& name, KInt kind)
|
|
14546
|
+
{
|
|
14547
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14548
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14549
|
+
const auto _name = getStringCopy(name);
|
|
14550
|
+
const auto _kind = static_cast<Es2pandaModuleKind>(kind);
|
|
14551
|
+
GetImpl()->ProgramSetPackageInfo(_context, _receiver, _name, _kind);
|
|
14552
|
+
return ;
|
|
14553
|
+
}
|
|
14554
|
+
KOALA_INTEROP_V4(ProgramSetPackageInfo, KNativePointer, KNativePointer, KStringPtr, KInt);
|
|
14555
|
+
|
|
14556
|
+
KNativePointer impl_ProgramModuleNameConst(KNativePointer context, KNativePointer receiver)
|
|
14557
|
+
{
|
|
14558
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14559
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14560
|
+
auto result = GetImpl()->ProgramModuleNameConst(_context, _receiver);
|
|
14561
|
+
return StageArena::strdup(result);
|
|
14562
|
+
}
|
|
14563
|
+
KOALA_INTEROP_2(ProgramModuleNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14564
|
+
|
|
14565
|
+
KNativePointer impl_ProgramModulePrefixConst(KNativePointer context, KNativePointer receiver)
|
|
14566
|
+
{
|
|
14567
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14568
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14569
|
+
auto result = GetImpl()->ProgramModulePrefixConst(_context, _receiver);
|
|
14570
|
+
return StageArena::strdup(result);
|
|
14571
|
+
}
|
|
14572
|
+
KOALA_INTEROP_2(ProgramModulePrefixConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14573
|
+
|
|
14574
|
+
KBoolean impl_ProgramIsSeparateModuleConst(KNativePointer context, KNativePointer receiver)
|
|
14575
|
+
{
|
|
14576
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14577
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14578
|
+
auto result = GetImpl()->ProgramIsSeparateModuleConst(_context, _receiver);
|
|
14579
|
+
return result;
|
|
14580
|
+
}
|
|
14581
|
+
KOALA_INTEROP_2(ProgramIsSeparateModuleConst, KBoolean, KNativePointer, KNativePointer);
|
|
14582
|
+
|
|
14583
|
+
KBoolean impl_ProgramIsDeclarationModuleConst(KNativePointer context, KNativePointer receiver)
|
|
14584
|
+
{
|
|
14585
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14586
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14587
|
+
auto result = GetImpl()->ProgramIsDeclarationModuleConst(_context, _receiver);
|
|
14588
|
+
return result;
|
|
14589
|
+
}
|
|
14590
|
+
KOALA_INTEROP_2(ProgramIsDeclarationModuleConst, KBoolean, KNativePointer, KNativePointer);
|
|
14591
|
+
|
|
14592
|
+
KBoolean impl_ProgramIsPackageConst(KNativePointer context, KNativePointer receiver)
|
|
14593
|
+
{
|
|
14594
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14595
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14596
|
+
auto result = GetImpl()->ProgramIsPackageConst(_context, _receiver);
|
|
14597
|
+
return result;
|
|
14598
|
+
}
|
|
14599
|
+
KOALA_INTEROP_2(ProgramIsPackageConst, KBoolean, KNativePointer, KNativePointer);
|
|
14600
|
+
|
|
14601
|
+
KBoolean impl_ProgramIsDeclForDynamicStaticInteropConst(KNativePointer context, KNativePointer receiver)
|
|
14602
|
+
{
|
|
14603
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14604
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14605
|
+
auto result = GetImpl()->ProgramIsDeclForDynamicStaticInteropConst(_context, _receiver);
|
|
14606
|
+
return result;
|
|
14607
|
+
}
|
|
14608
|
+
KOALA_INTEROP_2(ProgramIsDeclForDynamicStaticInteropConst, KBoolean, KNativePointer, KNativePointer);
|
|
14609
|
+
|
|
14610
|
+
void impl_ProgramSetFlag(KNativePointer context, KNativePointer receiver, KInt flag)
|
|
14611
|
+
{
|
|
14612
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14613
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14614
|
+
const auto _flag = static_cast<Es2pandaProgramFlags>(flag);
|
|
14615
|
+
GetImpl()->ProgramSetFlag(_context, _receiver, _flag);
|
|
14616
|
+
return ;
|
|
14617
|
+
}
|
|
14618
|
+
KOALA_INTEROP_V3(ProgramSetFlag, KNativePointer, KNativePointer, KInt);
|
|
14619
|
+
|
|
14620
|
+
KBoolean impl_ProgramGetFlagConst(KNativePointer context, KNativePointer receiver, KInt flag)
|
|
14621
|
+
{
|
|
14622
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14623
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14624
|
+
const auto _flag = static_cast<Es2pandaProgramFlags>(flag);
|
|
14625
|
+
auto result = GetImpl()->ProgramGetFlagConst(_context, _receiver, _flag);
|
|
14626
|
+
return result;
|
|
14627
|
+
}
|
|
14628
|
+
KOALA_INTEROP_3(ProgramGetFlagConst, KBoolean, KNativePointer, KNativePointer, KInt);
|
|
14629
|
+
|
|
14630
|
+
void impl_ProgramSetASTChecked(KNativePointer context, KNativePointer receiver)
|
|
14631
|
+
{
|
|
14632
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14633
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14634
|
+
GetImpl()->ProgramSetASTChecked(_context, _receiver);
|
|
14635
|
+
return ;
|
|
14636
|
+
}
|
|
14637
|
+
KOALA_INTEROP_V2(ProgramSetASTChecked, KNativePointer, KNativePointer);
|
|
14638
|
+
|
|
14639
|
+
KBoolean impl_ProgramIsASTChecked(KNativePointer context, KNativePointer receiver)
|
|
14640
|
+
{
|
|
14641
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14642
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14643
|
+
auto result = GetImpl()->ProgramIsASTChecked(_context, _receiver);
|
|
14644
|
+
return result;
|
|
14645
|
+
}
|
|
14646
|
+
KOALA_INTEROP_2(ProgramIsASTChecked, KBoolean, KNativePointer, KNativePointer);
|
|
14647
|
+
|
|
14648
|
+
void impl_ProgramMarkASTAsLowered(KNativePointer context, KNativePointer receiver)
|
|
14649
|
+
{
|
|
14650
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14651
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14652
|
+
GetImpl()->ProgramMarkASTAsLowered(_context, _receiver);
|
|
14653
|
+
return ;
|
|
14654
|
+
}
|
|
14655
|
+
KOALA_INTEROP_V2(ProgramMarkASTAsLowered, KNativePointer, KNativePointer);
|
|
14656
|
+
|
|
14657
|
+
KBoolean impl_ProgramIsASTLoweredConst(KNativePointer context, KNativePointer receiver)
|
|
14658
|
+
{
|
|
14659
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14660
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14661
|
+
auto result = GetImpl()->ProgramIsASTLoweredConst(_context, _receiver);
|
|
14662
|
+
return result;
|
|
14663
|
+
}
|
|
14664
|
+
KOALA_INTEROP_2(ProgramIsASTLoweredConst, KBoolean, KNativePointer, KNativePointer);
|
|
14665
|
+
|
|
14666
|
+
KBoolean impl_ProgramIsStdLibConst(KNativePointer context, KNativePointer receiver)
|
|
14667
|
+
{
|
|
14668
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14669
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14670
|
+
auto result = GetImpl()->ProgramIsStdLibConst(_context, _receiver);
|
|
14671
|
+
return result;
|
|
14672
|
+
}
|
|
14673
|
+
KOALA_INTEROP_2(ProgramIsStdLibConst, KBoolean, KNativePointer, KNativePointer);
|
|
14674
|
+
|
|
14675
|
+
KNativePointer impl_ProgramDumpConst(KNativePointer context, KNativePointer receiver)
|
|
14676
|
+
{
|
|
14677
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14678
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14679
|
+
auto result = GetImpl()->ProgramDumpConst(_context, _receiver);
|
|
14680
|
+
return StageArena::strdup(result);
|
|
14681
|
+
}
|
|
14682
|
+
KOALA_INTEROP_2(ProgramDumpConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14683
|
+
|
|
14684
|
+
void impl_ProgramDumpSilentConst(KNativePointer context, KNativePointer receiver)
|
|
14685
|
+
{
|
|
14686
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14687
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14688
|
+
GetImpl()->ProgramDumpSilentConst(_context, _receiver);
|
|
14689
|
+
return ;
|
|
14690
|
+
}
|
|
14691
|
+
KOALA_INTEROP_V2(ProgramDumpSilentConst, KNativePointer, KNativePointer);
|
|
14692
|
+
|
|
14693
|
+
void impl_ProgramAddDeclGenExportNode(KNativePointer context, KNativePointer receiver, KStringPtr& declGenExportStr, KNativePointer node)
|
|
14694
|
+
{
|
|
14695
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14696
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14697
|
+
const auto _declGenExportStr = getStringCopy(declGenExportStr);
|
|
14698
|
+
const auto _node = reinterpret_cast<es2panda_AstNode*>(node);
|
|
14699
|
+
GetImpl()->ProgramAddDeclGenExportNode(_context, _receiver, _declGenExportStr, _node);
|
|
14700
|
+
return ;
|
|
14701
|
+
}
|
|
14702
|
+
KOALA_INTEROP_V4(ProgramAddDeclGenExportNode, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
|
|
14703
|
+
|
|
14704
|
+
KBoolean impl_ProgramIsDiedConst(KNativePointer context, KNativePointer receiver)
|
|
14705
|
+
{
|
|
14706
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14707
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14708
|
+
auto result = GetImpl()->ProgramIsDiedConst(_context, _receiver);
|
|
14709
|
+
return result;
|
|
14710
|
+
}
|
|
14711
|
+
KOALA_INTEROP_2(ProgramIsDiedConst, KBoolean, KNativePointer, KNativePointer);
|
|
14712
|
+
|
|
14713
|
+
void impl_ProgramAddFileDependencies(KNativePointer context, KNativePointer receiver, KStringPtr& file, KStringPtr& depFile)
|
|
14714
|
+
{
|
|
14715
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14716
|
+
const auto _receiver = reinterpret_cast<es2panda_Program*>(receiver);
|
|
14717
|
+
const auto _file = getStringCopy(file);
|
|
14718
|
+
const auto _depFile = getStringCopy(depFile);
|
|
14719
|
+
GetImpl()->ProgramAddFileDependencies(_context, _receiver, _file, _depFile);
|
|
14720
|
+
return ;
|
|
14721
|
+
}
|
|
14722
|
+
KOALA_INTEROP_V4(ProgramAddFileDependencies, KNativePointer, KNativePointer, KStringPtr, KStringPtr);
|
|
14723
|
+
|
|
14724
|
+
KNativePointer impl_CreateArkTsConfig(KNativePointer context, KStringPtr& configPath, KNativePointer de)
|
|
14725
|
+
{
|
|
14726
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14727
|
+
const auto _configPath = getStringCopy(configPath);
|
|
14728
|
+
const auto _de = reinterpret_cast<es2panda_ErrorLogger*>(de);
|
|
14729
|
+
auto result = GetImpl()->CreateArkTsConfig(_context, _configPath, _de);
|
|
14730
|
+
return result;
|
|
14731
|
+
}
|
|
14732
|
+
KOALA_INTEROP_3(CreateArkTsConfig, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
|
|
14733
|
+
|
|
14734
|
+
void impl_ArkTsConfigResolveAllDependenciesInArkTsConfig(KNativePointer context, KNativePointer receiver)
|
|
14735
|
+
{
|
|
14736
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14737
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14738
|
+
GetImpl()->ArkTsConfigResolveAllDependenciesInArkTsConfig(_context, _receiver);
|
|
14739
|
+
return ;
|
|
14740
|
+
}
|
|
14741
|
+
KOALA_INTEROP_V2(ArkTsConfigResolveAllDependenciesInArkTsConfig, KNativePointer, KNativePointer);
|
|
14742
|
+
|
|
14743
|
+
KNativePointer impl_ArkTsConfigConfigPathConst(KNativePointer context, KNativePointer receiver)
|
|
14744
|
+
{
|
|
14745
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14746
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14747
|
+
auto result = GetImpl()->ArkTsConfigConfigPathConst(_context, _receiver);
|
|
14748
|
+
return StageArena::strdup(result);
|
|
14749
|
+
}
|
|
14750
|
+
KOALA_INTEROP_2(ArkTsConfigConfigPathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14751
|
+
|
|
14752
|
+
KNativePointer impl_ArkTsConfigPackageConst(KNativePointer context, KNativePointer receiver)
|
|
14753
|
+
{
|
|
14754
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14755
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14756
|
+
auto result = GetImpl()->ArkTsConfigPackageConst(_context, _receiver);
|
|
14757
|
+
return StageArena::strdup(result);
|
|
14758
|
+
}
|
|
14759
|
+
KOALA_INTEROP_2(ArkTsConfigPackageConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14760
|
+
|
|
14761
|
+
KNativePointer impl_ArkTsConfigBaseUrlConst(KNativePointer context, KNativePointer receiver)
|
|
14762
|
+
{
|
|
14763
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14764
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14765
|
+
auto result = GetImpl()->ArkTsConfigBaseUrlConst(_context, _receiver);
|
|
14766
|
+
return StageArena::strdup(result);
|
|
14767
|
+
}
|
|
14768
|
+
KOALA_INTEROP_2(ArkTsConfigBaseUrlConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14769
|
+
|
|
14770
|
+
KNativePointer impl_ArkTsConfigRootDirConst(KNativePointer context, KNativePointer receiver)
|
|
14771
|
+
{
|
|
14772
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14773
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14774
|
+
auto result = GetImpl()->ArkTsConfigRootDirConst(_context, _receiver);
|
|
14775
|
+
return StageArena::strdup(result);
|
|
14776
|
+
}
|
|
14777
|
+
KOALA_INTEROP_2(ArkTsConfigRootDirConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14778
|
+
|
|
14779
|
+
KNativePointer impl_ArkTsConfigOutDirConst(KNativePointer context, KNativePointer receiver)
|
|
14780
|
+
{
|
|
14781
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14782
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14783
|
+
auto result = GetImpl()->ArkTsConfigOutDirConst(_context, _receiver);
|
|
14784
|
+
return StageArena::strdup(result);
|
|
14785
|
+
}
|
|
14786
|
+
KOALA_INTEROP_2(ArkTsConfigOutDirConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14787
|
+
|
|
14788
|
+
void impl_ArkTsConfigResetDependencies(KNativePointer context, KNativePointer receiver)
|
|
14789
|
+
{
|
|
14790
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14791
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14792
|
+
GetImpl()->ArkTsConfigResetDependencies(_context, _receiver);
|
|
14793
|
+
return ;
|
|
14794
|
+
}
|
|
14795
|
+
KOALA_INTEROP_V2(ArkTsConfigResetDependencies, KNativePointer, KNativePointer);
|
|
14796
|
+
|
|
14797
|
+
KNativePointer impl_ArkTsConfigEntryConst(KNativePointer context, KNativePointer receiver)
|
|
14798
|
+
{
|
|
14799
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14800
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14801
|
+
auto result = GetImpl()->ArkTsConfigEntryConst(_context, _receiver);
|
|
14802
|
+
return StageArena::strdup(result);
|
|
14803
|
+
}
|
|
14804
|
+
KOALA_INTEROP_2(ArkTsConfigEntryConst, KNativePointer, KNativePointer, KNativePointer);
|
|
14805
|
+
|
|
14806
|
+
KBoolean impl_ArkTsConfigUseUrlConst(KNativePointer context, KNativePointer receiver)
|
|
14807
|
+
{
|
|
14808
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
14809
|
+
const auto _receiver = reinterpret_cast<es2panda_ArkTsConfig*>(receiver);
|
|
14810
|
+
auto result = GetImpl()->ArkTsConfigUseUrlConst(_context, _receiver);
|
|
14811
|
+
return result;
|
|
14812
|
+
}
|
|
14813
|
+
KOALA_INTEROP_2(ArkTsConfigUseUrlConst, KBoolean, KNativePointer, KNativePointer);
|
|
14814
|
+
|