@idlizer/arktscgen 2.1.2 → 2.1.5
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/README.md +36 -0
- package/build/libarkts-copy/generator/options.json5 +113 -44
- package/build/libarkts-copy/native/src/bridges.cc +70 -2
- package/build/libarkts-copy/native/src/generated/bridges.cc +700 -200
- package/build/libarkts-copy/package.json +27 -15
- package/build/libarkts-copy/src/Es2pandaNativeModule.ts +42 -4
- package/build/libarkts-copy/src/InteropNativeModule.ts +2 -1
- package/build/libarkts-copy/src/arkts-api/AbstractVisitor.ts +50 -0
- package/build/libarkts-copy/src/arkts-api/class-by-peer.ts +8 -6
- package/build/libarkts-copy/src/arkts-api/factory/nodeFactory.ts +95 -117
- package/build/libarkts-copy/src/arkts-api/index.ts +3 -1
- package/build/libarkts-copy/src/arkts-api/node-cache.ts +35 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArrayExpression.ts +42 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ArrowFunctionExpression.ts +49 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/AssignmentExpression.ts +50 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/{createCallExpression.ts → CallExpression.ts} +27 -4
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassDefinition.ts +73 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ClassProperty.ts +41 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSFunctionType.ts +65 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSImportDeclaration.ts +63 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSParameterExpression.ts +60 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSStructDeclaration.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ETSTuple.ts +31 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/MemberExpression.ts +41 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/MethodDefinition.ts +75 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/{createNumberLiteral.ts → NumberLiteral.ts} +15 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ObjectExpression.ts +34 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/ScriptFunction.ts +99 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts +61 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeAliasDeclaration.ts +60 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeParameter.ts +39 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TSTypeReferencePart.ts +36 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/TryStatement.ts +44 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclaration.ts +54 -0
- package/build/libarkts-copy/src/arkts-api/node-utilities/VariableDeclarator.ts +37 -0
- package/build/libarkts-copy/src/arkts-api/peers/AstNode.ts +15 -14
- package/build/libarkts-copy/src/arkts-api/peers/ImportPathManager.ts +30 -0
- package/build/libarkts-copy/src/arkts-api/peers/Program.ts +4 -4
- package/build/libarkts-copy/src/arkts-api/peers/SourcePosition.ts +38 -0
- package/build/libarkts-copy/src/arkts-api/static/global.ts +5 -0
- package/build/libarkts-copy/src/arkts-api/static/profiler.ts +25 -0
- package/build/libarkts-copy/src/arkts-api/utilities/private.ts +13 -11
- package/build/libarkts-copy/src/arkts-api/utilities/public.ts +68 -10
- package/build/libarkts-copy/src/arkts-api/visitor.ts +175 -42
- package/build/libarkts-copy/src/generated/Es2pandaEnums.ts +504 -458
- package/build/libarkts-copy/src/generated/Es2pandaNativeModule.ts +225 -75
- package/build/libarkts-copy/src/generated/factory.ts +21 -43
- package/build/libarkts-copy/src/generated/index.ts +24 -3
- package/build/libarkts-copy/src/generated/peers/AnnotatedAstNode.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/AnnotatedExpression.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/AnnotatedStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/AnnotationDeclaration.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/AnnotationUsage.ts +12 -12
- package/build/libarkts-copy/src/generated/peers/ArrayExpression.ts +10 -5
- package/build/libarkts-copy/src/generated/peers/ArrowFunctionExpression.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/AssertStatement.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/AssignmentExpression.ts +13 -7
- package/build/libarkts-copy/src/generated/peers/AstDumper.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/AstVerifier.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/AstVisitor.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/AwaitExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/BigIntLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/BinaryExpression.ts +14 -7
- package/build/libarkts-copy/src/generated/peers/BindingProps.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/BlockExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/BlockStatement.ts +15 -5
- package/build/libarkts-copy/src/generated/peers/BooleanLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/BreakStatement.ts +8 -5
- package/build/libarkts-copy/src/generated/peers/CallExpression.ts +8 -8
- package/build/libarkts-copy/src/generated/peers/CatchClause.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/ChainExpression.ts +12 -5
- package/build/libarkts-copy/src/generated/peers/CharLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ClassDeclaration.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ClassDefinition.ts +30 -15
- package/build/libarkts-copy/src/generated/peers/ClassElement.ts +7 -8
- package/build/libarkts-copy/src/generated/peers/ClassExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ClassProperty.ts +21 -5
- package/build/libarkts-copy/src/generated/peers/ClassStaticBlock.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/CodeGen.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/ConditionalExpression.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/ContinueStatement.ts +8 -5
- package/build/libarkts-copy/src/generated/peers/DebuggerStatement.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/Declaration.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/Decorator.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/DirectEvalExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/DoWhileStatement.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/DynamicImportData.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/ETSClassLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ETSDynamicFunctionType.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/ETSFunctionType.ts +15 -15
- package/build/libarkts-copy/src/generated/peers/ETSImportDeclaration.ts +26 -17
- package/build/libarkts-copy/src/generated/peers/ETSKeyofType.ts +53 -0
- package/build/libarkts-copy/src/generated/peers/ETSModule.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/ETSNewArrayInstanceExpression.ts +11 -6
- package/build/libarkts-copy/src/generated/peers/ETSNewClassInstanceExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +11 -6
- package/build/libarkts-copy/src/generated/peers/ETSNullType.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/ETSPackageDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ETSParameterExpression.ts +10 -10
- package/build/libarkts-copy/src/generated/peers/ETSPrimitiveType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ETSReExportDeclaration.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ETSStringLiteralType.ts +50 -0
- package/build/libarkts-copy/src/generated/peers/ETSStructDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ETSTuple.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ETSTypeReference.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ETSTypeReferencePart.ts +8 -8
- package/build/libarkts-copy/src/generated/peers/ETSUndefinedType.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/ETSUnionType.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/ETSWildcardType.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/EmptyStatement.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ErrorLogger.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/ExportAllDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ExportDefaultDeclaration.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ExportNamedDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ExportSpecifier.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/Expression.ts +4 -5
- package/build/libarkts-copy/src/generated/peers/ExpressionStatement.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/ForInStatement.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/ForOfStatement.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/ForUpdateStatement.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/FunctionDecl.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/FunctionDeclaration.ts +8 -8
- package/build/libarkts-copy/src/generated/peers/FunctionExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/FunctionSignature.ts +6 -7
- package/build/libarkts-copy/src/generated/peers/IRNode.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/Identifier.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/IfStatement.ts +9 -9
- package/build/libarkts-copy/src/generated/peers/ImportDeclaration.ts +10 -10
- package/build/libarkts-copy/src/generated/peers/ImportDefaultSpecifier.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ImportExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ImportNamespaceSpecifier.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/ImportSource.ts +1 -15
- package/build/libarkts-copy/src/generated/peers/ImportSpecifier.ts +14 -6
- package/build/libarkts-copy/src/generated/peers/IndexInfo.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/InterfaceDecl.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/LabelPair.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/LabelledStatement.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/Literal.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/LoopStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/MaybeOptionalExpression.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/MemberExpression.ts +24 -8
- package/build/libarkts-copy/src/generated/peers/MetaProperty.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/MethodDefinition.ts +25 -8
- package/build/libarkts-copy/src/generated/peers/NamedType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/NewExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/NullLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/NumberLiteral.ts +19 -4
- package/build/libarkts-copy/src/generated/peers/ObjectDescriptor.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/ObjectExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/OmittedExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/OpaqueTypeNode.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/OverloadInfo.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/PrefixAssertionExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/Property.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/RegExpLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ReturnStatement.ts +8 -5
- package/build/libarkts-copy/src/generated/peers/ScopeFindResult.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/ScriptFunction.ts +16 -11
- package/build/libarkts-copy/src/generated/peers/ScriptFunctionData.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/SequenceExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/SignatureInfo.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/SourcePosition.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/SourceRange.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/SpreadElement.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/SrcDumper.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/Statement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/StringLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/SuperExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/SwitchCaseStatement.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/SwitchStatement.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/TSAnyKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSArrayType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSAsExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSBigintKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSBooleanKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSClassImplements.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSConditionalType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSConstructorType.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/TSEnumDeclaration.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSEnumMember.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/TSExternalModuleReference.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSFunctionType.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/TSImportEqualsDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSImportType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSIndexSignature.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSIndexedAccessType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSInferType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSInterfaceBody.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSInterfaceDeclaration.ts +10 -10
- package/build/libarkts-copy/src/generated/peers/TSInterfaceHeritage.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSIntersectionType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSLiteralType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSMappedType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSMethodSignature.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/TSModuleBlock.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSModuleDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSNamedTupleMember.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSNeverKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSNonNullExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSNullKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSNumberKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSObjectKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSParameterProperty.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSParenthesizedType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSPropertySignature.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/TSQualifiedName.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/TSSignatureDeclaration.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/TSStringKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSThisType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTupleType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeAliasDeclaration.ts +8 -8
- package/build/libarkts-copy/src/generated/peers/TSTypeAssertion.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeOperator.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeParameter.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterDeclaration.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeParameterInstantiation.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypePredicate.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeQuery.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSTypeReference.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSUndefinedKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSUnionType.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSUnknownKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TSVoidKeyword.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TaggedTemplateExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TemplateElement.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TemplateLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ThisExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/ThrowStatement.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/TryStatement.ts +10 -6
- package/build/libarkts-copy/src/generated/peers/TypeNode.ts +2 -3
- package/build/libarkts-copy/src/generated/peers/TypedAstNode.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TypedStatement.ts +1 -2
- package/build/libarkts-copy/src/generated/peers/TypeofExpression.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/UnaryExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/UndefinedLiteral.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/UpdateExpression.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/VReg.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/ValidationInfo.ts +4 -4
- package/build/libarkts-copy/src/generated/peers/VariableDeclaration.ts +5 -5
- package/build/libarkts-copy/src/generated/peers/VariableDeclarator.ts +7 -7
- package/build/libarkts-copy/src/generated/peers/VerificationContext.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/VerifierMessage.ts +35 -0
- package/build/libarkts-copy/src/generated/peers/WhileStatement.ts +6 -6
- package/build/libarkts-copy/src/generated/peers/YieldExpression.ts +4 -4
- package/build/libarkts-copy/src/index.ts +17 -0
- package/build/libarkts-copy/src/reexport-for-generated.ts +1 -1
- package/build/libarkts-copy/src/utils.ts +307 -9
- package/build/libarkts-copy/tsconfig.json +4 -4
- package/lib/index.js +1516 -1120
- package/package.json +6 -6
- package/templates/factory.ts +0 -1
- package/templates/peer.ts +0 -1
- package/build/libarkts-copy/src/Es2pandaEnums.ts +0 -183
- package/build/libarkts-copy/src/arkts-api/node-utilities/createScriptFunction.ts +0 -55
- package/build/libarkts-copy/src/es2panda.ts +0 -277
- package/build/libarkts-copy/src/generated/node-map.ts +0 -182
- package/build/libarkts-copy/src/generated/peers/ETSLaunchExpression.ts +0 -57
|
@@ -15,6 +15,91 @@
|
|
|
15
15
|
|
|
16
16
|
#include <common.h>
|
|
17
17
|
|
|
18
|
+
KNativePointer impl_CreateNumberLiteral(KNativePointer context, KInt value)
|
|
19
|
+
{
|
|
20
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
21
|
+
const auto _value = static_cast<KInt>(value);
|
|
22
|
+
auto result = GetImpl()->CreateNumberLiteral(_context, _value);
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
25
|
+
KOALA_INTEROP_2(CreateNumberLiteral, KNativePointer, KNativePointer, KInt);
|
|
26
|
+
|
|
27
|
+
KNativePointer impl_CreateNumberLiteral1(KNativePointer context, KLong value)
|
|
28
|
+
{
|
|
29
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
30
|
+
const auto _value = static_cast<KLong>(value);
|
|
31
|
+
auto result = GetImpl()->CreateNumberLiteral1(_context, _value);
|
|
32
|
+
return result;
|
|
33
|
+
}
|
|
34
|
+
KOALA_INTEROP_2(CreateNumberLiteral1, KNativePointer, KNativePointer, KLong);
|
|
35
|
+
|
|
36
|
+
KNativePointer impl_CreateNumberLiteral2(KNativePointer context, KDouble value)
|
|
37
|
+
{
|
|
38
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
39
|
+
const auto _value = static_cast<KDouble>(value);
|
|
40
|
+
auto result = GetImpl()->CreateNumberLiteral2(_context, _value);
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
KOALA_INTEROP_2(CreateNumberLiteral2, KNativePointer, KNativePointer, KDouble);
|
|
44
|
+
|
|
45
|
+
KNativePointer impl_CreateNumberLiteral3(KNativePointer context, KFloat value)
|
|
46
|
+
{
|
|
47
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
48
|
+
const auto _value = static_cast<KFloat>(value);
|
|
49
|
+
auto result = GetImpl()->CreateNumberLiteral3(_context, _value);
|
|
50
|
+
return result;
|
|
51
|
+
}
|
|
52
|
+
KOALA_INTEROP_2(CreateNumberLiteral3, KNativePointer, KNativePointer, KFloat);
|
|
53
|
+
|
|
54
|
+
KNativePointer impl_UpdateNumberLiteral(KNativePointer context, KNativePointer original, KInt value)
|
|
55
|
+
{
|
|
56
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
57
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
58
|
+
const auto _value = static_cast<KInt>(value);
|
|
59
|
+
auto result = GetImpl()->UpdateNumberLiteral(_context, _original, _value);
|
|
60
|
+
return result;
|
|
61
|
+
}
|
|
62
|
+
KOALA_INTEROP_3(UpdateNumberLiteral, KNativePointer, KNativePointer, KNativePointer, KInt);
|
|
63
|
+
|
|
64
|
+
KNativePointer impl_UpdateNumberLiteral1(KNativePointer context, KNativePointer original, KLong value)
|
|
65
|
+
{
|
|
66
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
67
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
68
|
+
const auto _value = static_cast<KLong>(value);
|
|
69
|
+
auto result = GetImpl()->UpdateNumberLiteral1(_context, _original, _value);
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
KOALA_INTEROP_3(UpdateNumberLiteral1, KNativePointer, KNativePointer, KNativePointer, KLong);
|
|
73
|
+
|
|
74
|
+
KNativePointer impl_UpdateNumberLiteral2(KNativePointer context, KNativePointer original, KDouble value)
|
|
75
|
+
{
|
|
76
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
77
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
78
|
+
const auto _value = static_cast<KDouble>(value);
|
|
79
|
+
auto result = GetImpl()->UpdateNumberLiteral2(_context, _original, _value);
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
KOALA_INTEROP_3(UpdateNumberLiteral2, KNativePointer, KNativePointer, KNativePointer, KDouble);
|
|
83
|
+
|
|
84
|
+
KNativePointer impl_UpdateNumberLiteral3(KNativePointer context, KNativePointer original, KFloat value)
|
|
85
|
+
{
|
|
86
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
87
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
88
|
+
const auto _value = static_cast<KFloat>(value);
|
|
89
|
+
auto result = GetImpl()->UpdateNumberLiteral3(_context, _original, _value);
|
|
90
|
+
return result;
|
|
91
|
+
}
|
|
92
|
+
KOALA_INTEROP_3(UpdateNumberLiteral3, KNativePointer, KNativePointer, KNativePointer, KFloat);
|
|
93
|
+
|
|
94
|
+
KNativePointer impl_NumberLiteralStrConst(KNativePointer context, KNativePointer receiver)
|
|
95
|
+
{
|
|
96
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
97
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
98
|
+
auto result = GetImpl()->NumberLiteralStrConst(_context, _receiver);
|
|
99
|
+
return new std::string(result);
|
|
100
|
+
}
|
|
101
|
+
KOALA_INTEROP_2(NumberLiteralStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
102
|
+
|
|
18
103
|
KNativePointer impl_CreateLabelledStatement(KNativePointer context, KNativePointer ident, KNativePointer body)
|
|
19
104
|
{
|
|
20
105
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -36,6 +121,15 @@ KNativePointer impl_UpdateLabelledStatement(KNativePointer context, KNativePoint
|
|
|
36
121
|
}
|
|
37
122
|
KOALA_INTEROP_4(UpdateLabelledStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
38
123
|
|
|
124
|
+
KNativePointer impl_LabelledStatementBody(KNativePointer context, KNativePointer receiver)
|
|
125
|
+
{
|
|
126
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
127
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
128
|
+
auto result = GetImpl()->LabelledStatementBody(_context, _receiver);
|
|
129
|
+
return result;
|
|
130
|
+
}
|
|
131
|
+
KOALA_INTEROP_2(LabelledStatementBody, KNativePointer, KNativePointer, KNativePointer);
|
|
132
|
+
|
|
39
133
|
KNativePointer impl_LabelledStatementBodyConst(KNativePointer context, KNativePointer receiver)
|
|
40
134
|
{
|
|
41
135
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -127,6 +221,25 @@ KNativePointer impl_UpdateClassProperty(KNativePointer context, KNativePointer o
|
|
|
127
221
|
}
|
|
128
222
|
KOALA_INTEROP_7(UpdateClassProperty, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean);
|
|
129
223
|
|
|
224
|
+
KBoolean impl_ClassPropertyIsDefaultAccessModifierConst(KNativePointer context, KNativePointer receiver)
|
|
225
|
+
{
|
|
226
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
227
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
228
|
+
auto result = GetImpl()->ClassPropertyIsDefaultAccessModifierConst(_context, _receiver);
|
|
229
|
+
return result;
|
|
230
|
+
}
|
|
231
|
+
KOALA_INTEROP_2(ClassPropertyIsDefaultAccessModifierConst, KBoolean, KNativePointer, KNativePointer);
|
|
232
|
+
|
|
233
|
+
void impl_ClassPropertySetDefaultAccessModifier(KNativePointer context, KNativePointer receiver, KBoolean isDefault)
|
|
234
|
+
{
|
|
235
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
236
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
237
|
+
const auto _isDefault = static_cast<KBoolean>(isDefault);
|
|
238
|
+
GetImpl()->ClassPropertySetDefaultAccessModifier(_context, _receiver, _isDefault);
|
|
239
|
+
return ;
|
|
240
|
+
}
|
|
241
|
+
KOALA_INTEROP_V3(ClassPropertySetDefaultAccessModifier, KNativePointer, KNativePointer, KBoolean);
|
|
242
|
+
|
|
130
243
|
KNativePointer impl_ClassPropertyTypeAnnotationConst(KNativePointer context, KNativePointer receiver)
|
|
131
244
|
{
|
|
132
245
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -146,6 +259,25 @@ void impl_ClassPropertySetTypeAnnotation(KNativePointer context, KNativePointer
|
|
|
146
259
|
}
|
|
147
260
|
KOALA_INTEROP_V3(ClassPropertySetTypeAnnotation, KNativePointer, KNativePointer, KNativePointer);
|
|
148
261
|
|
|
262
|
+
KBoolean impl_ClassPropertyNeedInitInStaticBlockConst(KNativePointer context, KNativePointer receiver)
|
|
263
|
+
{
|
|
264
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
265
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
266
|
+
auto result = GetImpl()->ClassPropertyNeedInitInStaticBlockConst(_context, _receiver);
|
|
267
|
+
return result;
|
|
268
|
+
}
|
|
269
|
+
KOALA_INTEROP_2(ClassPropertyNeedInitInStaticBlockConst, KBoolean, KNativePointer, KNativePointer);
|
|
270
|
+
|
|
271
|
+
void impl_ClassPropertySetInitInStaticBlock(KNativePointer context, KNativePointer receiver, KBoolean needInitInStaticBlock)
|
|
272
|
+
{
|
|
273
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
274
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
275
|
+
const auto _needInitInStaticBlock = static_cast<KBoolean>(needInitInStaticBlock);
|
|
276
|
+
GetImpl()->ClassPropertySetInitInStaticBlock(_context, _receiver, _needInitInStaticBlock);
|
|
277
|
+
return ;
|
|
278
|
+
}
|
|
279
|
+
KOALA_INTEROP_V3(ClassPropertySetInitInStaticBlock, KNativePointer, KNativePointer, KBoolean);
|
|
280
|
+
|
|
149
281
|
KNativePointer impl_ClassPropertyAnnotations(KNativePointer context, KNativePointer receiver)
|
|
150
282
|
{
|
|
151
283
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -194,7 +326,7 @@ KNativePointer impl_UpdateTSVoidKeyword(KNativePointer context, KNativePointer o
|
|
|
194
326
|
}
|
|
195
327
|
KOALA_INTEROP_2(UpdateTSVoidKeyword, KNativePointer, KNativePointer, KNativePointer);
|
|
196
328
|
|
|
197
|
-
KNativePointer
|
|
329
|
+
KNativePointer impl_CreateETSFunctionType(KNativePointer context, KNativePointer signature, KInt funcFlags)
|
|
198
330
|
{
|
|
199
331
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
200
332
|
const auto _signature = reinterpret_cast<es2panda_FunctionSignature*>(signature);
|
|
@@ -202,9 +334,9 @@ KNativePointer impl_CreateETSFunctionTypeIr(KNativePointer context, KNativePoint
|
|
|
202
334
|
auto result = GetImpl()->CreateETSFunctionTypeIr(_context, _signature, _funcFlags);
|
|
203
335
|
return result;
|
|
204
336
|
}
|
|
205
|
-
KOALA_INTEROP_3(
|
|
337
|
+
KOALA_INTEROP_3(CreateETSFunctionType, KNativePointer, KNativePointer, KNativePointer, KInt);
|
|
206
338
|
|
|
207
|
-
KNativePointer
|
|
339
|
+
KNativePointer impl_UpdateETSFunctionType(KNativePointer context, KNativePointer original, KNativePointer signature, KInt funcFlags)
|
|
208
340
|
{
|
|
209
341
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
210
342
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
@@ -213,27 +345,27 @@ KNativePointer impl_UpdateETSFunctionTypeIr(KNativePointer context, KNativePoint
|
|
|
213
345
|
auto result = GetImpl()->UpdateETSFunctionTypeIr(_context, _original, _signature, _funcFlags);
|
|
214
346
|
return result;
|
|
215
347
|
}
|
|
216
|
-
KOALA_INTEROP_4(
|
|
348
|
+
KOALA_INTEROP_4(UpdateETSFunctionType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt);
|
|
217
349
|
|
|
218
|
-
KNativePointer
|
|
350
|
+
KNativePointer impl_ETSFunctionTypeTypeParamsConst(KNativePointer context, KNativePointer receiver)
|
|
219
351
|
{
|
|
220
352
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
221
353
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
222
354
|
auto result = GetImpl()->ETSFunctionTypeIrTypeParamsConst(_context, _receiver);
|
|
223
355
|
return (void*)result;
|
|
224
356
|
}
|
|
225
|
-
KOALA_INTEROP_2(
|
|
357
|
+
KOALA_INTEROP_2(ETSFunctionTypeTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
226
358
|
|
|
227
|
-
KNativePointer
|
|
359
|
+
KNativePointer impl_ETSFunctionTypeTypeParams(KNativePointer context, KNativePointer receiver)
|
|
228
360
|
{
|
|
229
361
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
230
362
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
231
363
|
auto result = GetImpl()->ETSFunctionTypeIrTypeParams(_context, _receiver);
|
|
232
364
|
return result;
|
|
233
365
|
}
|
|
234
|
-
KOALA_INTEROP_2(
|
|
366
|
+
KOALA_INTEROP_2(ETSFunctionTypeTypeParams, KNativePointer, KNativePointer, KNativePointer);
|
|
235
367
|
|
|
236
|
-
KNativePointer
|
|
368
|
+
KNativePointer impl_ETSFunctionTypeParamsConst(KNativePointer context, KNativePointer receiver)
|
|
237
369
|
{
|
|
238
370
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
239
371
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -241,45 +373,45 @@ KNativePointer impl_ETSFunctionTypeIrParamsConst(KNativePointer context, KNative
|
|
|
241
373
|
auto result = GetImpl()->ETSFunctionTypeIrParamsConst(_context, _receiver, &length);
|
|
242
374
|
return (void*)new std::vector<void*>(result, result + length);
|
|
243
375
|
}
|
|
244
|
-
KOALA_INTEROP_2(
|
|
376
|
+
KOALA_INTEROP_2(ETSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
245
377
|
|
|
246
|
-
KNativePointer
|
|
378
|
+
KNativePointer impl_ETSFunctionTypeReturnTypeConst(KNativePointer context, KNativePointer receiver)
|
|
247
379
|
{
|
|
248
380
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
249
381
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
250
382
|
auto result = GetImpl()->ETSFunctionTypeIrReturnTypeConst(_context, _receiver);
|
|
251
383
|
return (void*)result;
|
|
252
384
|
}
|
|
253
|
-
KOALA_INTEROP_2(
|
|
385
|
+
KOALA_INTEROP_2(ETSFunctionTypeReturnTypeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
254
386
|
|
|
255
|
-
KNativePointer
|
|
387
|
+
KNativePointer impl_ETSFunctionTypeReturnType(KNativePointer context, KNativePointer receiver)
|
|
256
388
|
{
|
|
257
389
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
258
390
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
259
391
|
auto result = GetImpl()->ETSFunctionTypeIrReturnType(_context, _receiver);
|
|
260
392
|
return result;
|
|
261
393
|
}
|
|
262
|
-
KOALA_INTEROP_2(
|
|
394
|
+
KOALA_INTEROP_2(ETSFunctionTypeReturnType, KNativePointer, KNativePointer, KNativePointer);
|
|
263
395
|
|
|
264
|
-
KNativePointer
|
|
396
|
+
KNativePointer impl_ETSFunctionTypeFunctionalInterface(KNativePointer context, KNativePointer receiver)
|
|
265
397
|
{
|
|
266
398
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
267
399
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
268
400
|
auto result = GetImpl()->ETSFunctionTypeIrFunctionalInterface(_context, _receiver);
|
|
269
401
|
return result;
|
|
270
402
|
}
|
|
271
|
-
KOALA_INTEROP_2(
|
|
403
|
+
KOALA_INTEROP_2(ETSFunctionTypeFunctionalInterface, KNativePointer, KNativePointer, KNativePointer);
|
|
272
404
|
|
|
273
|
-
KNativePointer
|
|
405
|
+
KNativePointer impl_ETSFunctionTypeFunctionalInterfaceConst(KNativePointer context, KNativePointer receiver)
|
|
274
406
|
{
|
|
275
407
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
276
408
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
277
409
|
auto result = GetImpl()->ETSFunctionTypeIrFunctionalInterfaceConst(_context, _receiver);
|
|
278
410
|
return (void*)result;
|
|
279
411
|
}
|
|
280
|
-
KOALA_INTEROP_2(
|
|
412
|
+
KOALA_INTEROP_2(ETSFunctionTypeFunctionalInterfaceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
281
413
|
|
|
282
|
-
void
|
|
414
|
+
void impl_ETSFunctionTypeSetFunctionalInterface(KNativePointer context, KNativePointer receiver, KNativePointer functionalInterface)
|
|
283
415
|
{
|
|
284
416
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
285
417
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -287,43 +419,43 @@ void impl_ETSFunctionTypeIrSetFunctionalInterface(KNativePointer context, KNativ
|
|
|
287
419
|
GetImpl()->ETSFunctionTypeIrSetFunctionalInterface(_context, _receiver, _functionalInterface);
|
|
288
420
|
return ;
|
|
289
421
|
}
|
|
290
|
-
KOALA_INTEROP_V3(
|
|
422
|
+
KOALA_INTEROP_V3(ETSFunctionTypeSetFunctionalInterface, KNativePointer, KNativePointer, KNativePointer);
|
|
291
423
|
|
|
292
|
-
KInt
|
|
424
|
+
KInt impl_ETSFunctionTypeFlags(KNativePointer context, KNativePointer receiver)
|
|
293
425
|
{
|
|
294
426
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
295
427
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
296
428
|
auto result = GetImpl()->ETSFunctionTypeIrFlags(_context, _receiver);
|
|
297
429
|
return result;
|
|
298
430
|
}
|
|
299
|
-
KOALA_INTEROP_2(
|
|
431
|
+
KOALA_INTEROP_2(ETSFunctionTypeFlags, KInt, KNativePointer, KNativePointer);
|
|
300
432
|
|
|
301
|
-
KBoolean
|
|
433
|
+
KBoolean impl_ETSFunctionTypeIsThrowingConst(KNativePointer context, KNativePointer receiver)
|
|
302
434
|
{
|
|
303
435
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
304
436
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
305
437
|
auto result = GetImpl()->ETSFunctionTypeIrIsThrowingConst(_context, _receiver);
|
|
306
438
|
return result;
|
|
307
439
|
}
|
|
308
|
-
KOALA_INTEROP_2(
|
|
440
|
+
KOALA_INTEROP_2(ETSFunctionTypeIsThrowingConst, KBoolean, KNativePointer, KNativePointer);
|
|
309
441
|
|
|
310
|
-
KBoolean
|
|
442
|
+
KBoolean impl_ETSFunctionTypeIsRethrowingConst(KNativePointer context, KNativePointer receiver)
|
|
311
443
|
{
|
|
312
444
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
313
445
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
314
446
|
auto result = GetImpl()->ETSFunctionTypeIrIsRethrowingConst(_context, _receiver);
|
|
315
447
|
return result;
|
|
316
448
|
}
|
|
317
|
-
KOALA_INTEROP_2(
|
|
449
|
+
KOALA_INTEROP_2(ETSFunctionTypeIsRethrowingConst, KBoolean, KNativePointer, KNativePointer);
|
|
318
450
|
|
|
319
|
-
KBoolean
|
|
451
|
+
KBoolean impl_ETSFunctionTypeIsExtensionFunctionConst(KNativePointer context, KNativePointer receiver)
|
|
320
452
|
{
|
|
321
453
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
322
454
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
323
455
|
auto result = GetImpl()->ETSFunctionTypeIrIsExtensionFunctionConst(_context, _receiver);
|
|
324
456
|
return result;
|
|
325
457
|
}
|
|
326
|
-
KOALA_INTEROP_2(
|
|
458
|
+
KOALA_INTEROP_2(ETSFunctionTypeIsExtensionFunctionConst, KBoolean, KNativePointer, KNativePointer);
|
|
327
459
|
|
|
328
460
|
KNativePointer impl_CreateTSTypeOperator(KNativePointer context, KNativePointer type, KInt operatorType)
|
|
329
461
|
{
|
|
@@ -917,6 +1049,25 @@ KNativePointer impl_ImportSpecifierLocalConst(KNativePointer context, KNativePoi
|
|
|
917
1049
|
}
|
|
918
1050
|
KOALA_INTEROP_2(ImportSpecifierLocalConst, KNativePointer, KNativePointer, KNativePointer);
|
|
919
1051
|
|
|
1052
|
+
KBoolean impl_ImportSpecifierIsRemovableConst(KNativePointer context, KNativePointer receiver)
|
|
1053
|
+
{
|
|
1054
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1055
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1056
|
+
auto result = GetImpl()->ImportSpecifierIsRemovableConst(_context, _receiver);
|
|
1057
|
+
return result;
|
|
1058
|
+
}
|
|
1059
|
+
KOALA_INTEROP_2(ImportSpecifierIsRemovableConst, KBoolean, KNativePointer, KNativePointer);
|
|
1060
|
+
|
|
1061
|
+
void impl_ImportSpecifierSetRemovable(KNativePointer context, KNativePointer receiver, KBoolean isRemovable)
|
|
1062
|
+
{
|
|
1063
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1064
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1065
|
+
const auto _isRemovable = static_cast<KBoolean>(isRemovable);
|
|
1066
|
+
GetImpl()->ImportSpecifierSetRemovable(_context, _receiver, _isRemovable);
|
|
1067
|
+
return ;
|
|
1068
|
+
}
|
|
1069
|
+
KOALA_INTEROP_V3(ImportSpecifierSetRemovable, KNativePointer, KNativePointer, KBoolean);
|
|
1070
|
+
|
|
920
1071
|
KNativePointer impl_CreateConditionalExpression(KNativePointer context, KNativePointer test, KNativePointer consequent, KNativePointer alternate)
|
|
921
1072
|
{
|
|
922
1073
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -1666,62 +1817,6 @@ KNativePointer impl_TSTypeReferenceBaseNameConst(KNativePointer context, KNative
|
|
|
1666
1817
|
}
|
|
1667
1818
|
KOALA_INTEROP_2(TSTypeReferenceBaseNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1668
1819
|
|
|
1669
|
-
KNativePointer impl_CreateImportSource(KNativePointer context, KNativePointer source, KNativePointer resolvedSource, KBoolean hasDecl)
|
|
1670
|
-
{
|
|
1671
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1672
|
-
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
1673
|
-
const auto _resolvedSource = reinterpret_cast<es2panda_AstNode*>(resolvedSource);
|
|
1674
|
-
const auto _hasDecl = static_cast<KBoolean>(hasDecl);
|
|
1675
|
-
auto result = GetImpl()->CreateImportSource(_context, _source, _resolvedSource, _hasDecl);
|
|
1676
|
-
return result;
|
|
1677
|
-
}
|
|
1678
|
-
KOALA_INTEROP_4(CreateImportSource, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean);
|
|
1679
|
-
|
|
1680
|
-
KNativePointer impl_ImportSourceSourceConst(KNativePointer context, KNativePointer receiver)
|
|
1681
|
-
{
|
|
1682
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1683
|
-
const auto _receiver = reinterpret_cast<es2panda_ImportSource*>(receiver);
|
|
1684
|
-
auto result = GetImpl()->ImportSourceSourceConst(_context, _receiver);
|
|
1685
|
-
return (void*)result;
|
|
1686
|
-
}
|
|
1687
|
-
KOALA_INTEROP_2(ImportSourceSourceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1688
|
-
|
|
1689
|
-
KNativePointer impl_ImportSourceSource(KNativePointer context, KNativePointer receiver)
|
|
1690
|
-
{
|
|
1691
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1692
|
-
const auto _receiver = reinterpret_cast<es2panda_ImportSource*>(receiver);
|
|
1693
|
-
auto result = GetImpl()->ImportSourceSource(_context, _receiver);
|
|
1694
|
-
return result;
|
|
1695
|
-
}
|
|
1696
|
-
KOALA_INTEROP_2(ImportSourceSource, KNativePointer, KNativePointer, KNativePointer);
|
|
1697
|
-
|
|
1698
|
-
KNativePointer impl_ImportSourceResolvedSourceConst(KNativePointer context, KNativePointer receiver)
|
|
1699
|
-
{
|
|
1700
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1701
|
-
const auto _receiver = reinterpret_cast<es2panda_ImportSource*>(receiver);
|
|
1702
|
-
auto result = GetImpl()->ImportSourceResolvedSourceConst(_context, _receiver);
|
|
1703
|
-
return (void*)result;
|
|
1704
|
-
}
|
|
1705
|
-
KOALA_INTEROP_2(ImportSourceResolvedSourceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1706
|
-
|
|
1707
|
-
KNativePointer impl_ImportSourceResolvedSource(KNativePointer context, KNativePointer receiver)
|
|
1708
|
-
{
|
|
1709
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1710
|
-
const auto _receiver = reinterpret_cast<es2panda_ImportSource*>(receiver);
|
|
1711
|
-
auto result = GetImpl()->ImportSourceResolvedSource(_context, _receiver);
|
|
1712
|
-
return result;
|
|
1713
|
-
}
|
|
1714
|
-
KOALA_INTEROP_2(ImportSourceResolvedSource, KNativePointer, KNativePointer, KNativePointer);
|
|
1715
|
-
|
|
1716
|
-
KBoolean impl_ImportSourceHasDeclConst(KNativePointer context, KNativePointer receiver)
|
|
1717
|
-
{
|
|
1718
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1719
|
-
const auto _receiver = reinterpret_cast<es2panda_ImportSource*>(receiver);
|
|
1720
|
-
auto result = GetImpl()->ImportSourceHasDeclConst(_context, _receiver);
|
|
1721
|
-
return result;
|
|
1722
|
-
}
|
|
1723
|
-
KOALA_INTEROP_2(ImportSourceHasDeclConst, KBoolean, KNativePointer, KNativePointer);
|
|
1724
|
-
|
|
1725
1820
|
KNativePointer impl_CreateNamedType(KNativePointer context, KNativePointer name)
|
|
1726
1821
|
{
|
|
1727
1822
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -1798,15 +1893,6 @@ void impl_NamedTypeSetTypeParams(KNativePointer context, KNativePointer receiver
|
|
|
1798
1893
|
}
|
|
1799
1894
|
KOALA_INTEROP_V3(NamedTypeSetTypeParams, KNativePointer, KNativePointer, KNativePointer);
|
|
1800
1895
|
|
|
1801
|
-
KNativePointer impl_NumberLiteralStrConst(KNativePointer context, KNativePointer receiver)
|
|
1802
|
-
{
|
|
1803
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
1804
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
1805
|
-
auto result = GetImpl()->NumberLiteralStrConst(_context, _receiver);
|
|
1806
|
-
return new std::string(result);
|
|
1807
|
-
}
|
|
1808
|
-
KOALA_INTEROP_2(NumberLiteralStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
1809
|
-
|
|
1810
1896
|
KNativePointer impl_CreateTSFunctionType(KNativePointer context, KNativePointer signature)
|
|
1811
1897
|
{
|
|
1812
1898
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -2390,6 +2476,15 @@ void impl_MemberExpressionRemoveMemberKind(KNativePointer context, KNativePointe
|
|
|
2390
2476
|
}
|
|
2391
2477
|
KOALA_INTEROP_V3(MemberExpressionRemoveMemberKind, KNativePointer, KNativePointer, KInt);
|
|
2392
2478
|
|
|
2479
|
+
KNativePointer impl_MemberExpressionExtensionAccessorTypeConst(KNativePointer context, KNativePointer receiver)
|
|
2480
|
+
{
|
|
2481
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2482
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2483
|
+
auto result = GetImpl()->MemberExpressionExtensionAccessorTypeConst(_context, _receiver);
|
|
2484
|
+
return (void*)result;
|
|
2485
|
+
}
|
|
2486
|
+
KOALA_INTEROP_2(MemberExpressionExtensionAccessorTypeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2487
|
+
|
|
2393
2488
|
KBoolean impl_MemberExpressionIsIgnoreBoxConst(KNativePointer context, KNativePointer receiver)
|
|
2394
2489
|
{
|
|
2395
2490
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -2417,6 +2512,29 @@ KBoolean impl_MemberExpressionIsPrivateReferenceConst(KNativePointer context, KN
|
|
|
2417
2512
|
}
|
|
2418
2513
|
KOALA_INTEROP_2(MemberExpressionIsPrivateReferenceConst, KBoolean, KNativePointer, KNativePointer);
|
|
2419
2514
|
|
|
2515
|
+
void impl_MemberExpressionCompileToRegConst(KNativePointer context, KNativePointer receiver, KNativePointer pg, KNativePointer objReg)
|
|
2516
|
+
{
|
|
2517
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2518
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2519
|
+
const auto _pg = reinterpret_cast<es2panda_CodeGen*>(pg);
|
|
2520
|
+
const auto _objReg = reinterpret_cast<es2panda_VReg*>(objReg);
|
|
2521
|
+
GetImpl()->MemberExpressionCompileToRegConst(_context, _receiver, _pg, _objReg);
|
|
2522
|
+
return ;
|
|
2523
|
+
}
|
|
2524
|
+
KOALA_INTEROP_V4(MemberExpressionCompileToRegConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
2525
|
+
|
|
2526
|
+
void impl_MemberExpressionCompileToRegsConst(KNativePointer context, KNativePointer receiver, KNativePointer pg, KNativePointer object_arg, KNativePointer property)
|
|
2527
|
+
{
|
|
2528
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2529
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2530
|
+
const auto _pg = reinterpret_cast<es2panda_CodeGen*>(pg);
|
|
2531
|
+
const auto _object_arg = reinterpret_cast<es2panda_VReg*>(object_arg);
|
|
2532
|
+
const auto _property = reinterpret_cast<es2panda_VReg*>(property);
|
|
2533
|
+
GetImpl()->MemberExpressionCompileToRegsConst(_context, _receiver, _pg, _object_arg, _property);
|
|
2534
|
+
return ;
|
|
2535
|
+
}
|
|
2536
|
+
KOALA_INTEROP_V5(MemberExpressionCompileToRegsConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
2537
|
+
|
|
2420
2538
|
KNativePointer impl_CreateTSClassImplements(KNativePointer context, KNativePointer expression, KNativePointer typeParameters)
|
|
2421
2539
|
{
|
|
2422
2540
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -2501,7 +2619,7 @@ KNativePointer impl_UpdateTSObjectKeyword(KNativePointer context, KNativePointer
|
|
|
2501
2619
|
}
|
|
2502
2620
|
KOALA_INTEROP_2(UpdateTSObjectKeyword, KNativePointer, KNativePointer, KNativePointer);
|
|
2503
2621
|
|
|
2504
|
-
KNativePointer
|
|
2622
|
+
KNativePointer impl_CreateETSUnionType(KNativePointer context, KNativePointerArray types, KUInt typesSequenceLength)
|
|
2505
2623
|
{
|
|
2506
2624
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2507
2625
|
const auto _types = reinterpret_cast<es2panda_AstNode**>(types);
|
|
@@ -2509,9 +2627,9 @@ KNativePointer impl_CreateETSUnionTypeIr(KNativePointer context, KNativePointerA
|
|
|
2509
2627
|
auto result = GetImpl()->CreateETSUnionTypeIr(_context, _types, _typesSequenceLength);
|
|
2510
2628
|
return result;
|
|
2511
2629
|
}
|
|
2512
|
-
KOALA_INTEROP_3(
|
|
2630
|
+
KOALA_INTEROP_3(CreateETSUnionType, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2513
2631
|
|
|
2514
|
-
KNativePointer
|
|
2632
|
+
KNativePointer impl_UpdateETSUnionType(KNativePointer context, KNativePointer original, KNativePointerArray types, KUInt typesSequenceLength)
|
|
2515
2633
|
{
|
|
2516
2634
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2517
2635
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
@@ -2520,9 +2638,9 @@ KNativePointer impl_UpdateETSUnionTypeIr(KNativePointer context, KNativePointer
|
|
|
2520
2638
|
auto result = GetImpl()->UpdateETSUnionTypeIr(_context, _original, _types, _typesSequenceLength);
|
|
2521
2639
|
return result;
|
|
2522
2640
|
}
|
|
2523
|
-
KOALA_INTEROP_4(
|
|
2641
|
+
KOALA_INTEROP_4(UpdateETSUnionType, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
2524
2642
|
|
|
2525
|
-
KNativePointer
|
|
2643
|
+
KNativePointer impl_ETSUnionTypeTypesConst(KNativePointer context, KNativePointer receiver)
|
|
2526
2644
|
{
|
|
2527
2645
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2528
2646
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -2530,7 +2648,35 @@ KNativePointer impl_ETSUnionTypeIrTypesConst(KNativePointer context, KNativePoin
|
|
|
2530
2648
|
auto result = GetImpl()->ETSUnionTypeIrTypesConst(_context, _receiver, &length);
|
|
2531
2649
|
return (void*)new std::vector<void*>(result, result + length);
|
|
2532
2650
|
}
|
|
2533
|
-
KOALA_INTEROP_2(
|
|
2651
|
+
KOALA_INTEROP_2(ETSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2652
|
+
|
|
2653
|
+
KNativePointer impl_CreateETSKeyofType(KNativePointer context, KNativePointer type)
|
|
2654
|
+
{
|
|
2655
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2656
|
+
const auto _type = reinterpret_cast<es2panda_AstNode*>(type);
|
|
2657
|
+
auto result = GetImpl()->CreateETSKeyofType(_context, _type);
|
|
2658
|
+
return result;
|
|
2659
|
+
}
|
|
2660
|
+
KOALA_INTEROP_2(CreateETSKeyofType, KNativePointer, KNativePointer, KNativePointer);
|
|
2661
|
+
|
|
2662
|
+
KNativePointer impl_UpdateETSKeyofType(KNativePointer context, KNativePointer original, KNativePointer type)
|
|
2663
|
+
{
|
|
2664
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2665
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
2666
|
+
const auto _type = reinterpret_cast<es2panda_AstNode*>(type);
|
|
2667
|
+
auto result = GetImpl()->UpdateETSKeyofType(_context, _original, _type);
|
|
2668
|
+
return result;
|
|
2669
|
+
}
|
|
2670
|
+
KOALA_INTEROP_3(UpdateETSKeyofType, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
2671
|
+
|
|
2672
|
+
KNativePointer impl_ETSKeyofTypeGetTypeRefConst(KNativePointer context, KNativePointer receiver)
|
|
2673
|
+
{
|
|
2674
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
2675
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
2676
|
+
auto result = GetImpl()->ETSKeyofTypeGetTypeRefConst(_context, _receiver);
|
|
2677
|
+
return (void*)result;
|
|
2678
|
+
}
|
|
2679
|
+
KOALA_INTEROP_2(ETSKeyofTypeGetTypeRefConst, KNativePointer, KNativePointer, KNativePointer);
|
|
2534
2680
|
|
|
2535
2681
|
KNativePointer impl_CreateTSPropertySignature(KNativePointer context, KNativePointer key, KNativePointer typeAnnotation, KBoolean computed, KBoolean optional_arg, KBoolean readonly_arg)
|
|
2536
2682
|
{
|
|
@@ -2932,6 +3078,15 @@ void impl_ReturnStatementSetArgument(KNativePointer context, KNativePointer rece
|
|
|
2932
3078
|
}
|
|
2933
3079
|
KOALA_INTEROP_V3(ReturnStatementSetArgument, KNativePointer, KNativePointer, KNativePointer);
|
|
2934
3080
|
|
|
3081
|
+
KBoolean impl_ReturnStatementIsAsyncImplReturnConst(KNativePointer context, KNativePointer receiver)
|
|
3082
|
+
{
|
|
3083
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3084
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3085
|
+
auto result = GetImpl()->ReturnStatementIsAsyncImplReturnConst(_context, _receiver);
|
|
3086
|
+
return result;
|
|
3087
|
+
}
|
|
3088
|
+
KOALA_INTEROP_2(ReturnStatementIsAsyncImplReturnConst, KBoolean, KNativePointer, KNativePointer);
|
|
3089
|
+
|
|
2935
3090
|
KNativePointer impl_CreateExportDefaultDeclaration(KNativePointer context, KNativePointer decl, KBoolean exportEquals)
|
|
2936
3091
|
{
|
|
2937
3092
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3419,6 +3574,16 @@ void impl_ScriptFunctionAddFlag(KNativePointer context, KNativePointer receiver,
|
|
|
3419
3574
|
}
|
|
3420
3575
|
KOALA_INTEROP_V3(ScriptFunctionAddFlag, KNativePointer, KNativePointer, KInt);
|
|
3421
3576
|
|
|
3577
|
+
void impl_ScriptFunctionClearFlag(KNativePointer context, KNativePointer receiver, KInt flags)
|
|
3578
|
+
{
|
|
3579
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3580
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3581
|
+
const auto _flags = static_cast<Es2pandaScriptFunctionFlags>(flags);
|
|
3582
|
+
GetImpl()->ScriptFunctionClearFlag(_context, _receiver, _flags);
|
|
3583
|
+
return ;
|
|
3584
|
+
}
|
|
3585
|
+
KOALA_INTEROP_V3(ScriptFunctionClearFlag, KNativePointer, KNativePointer, KInt);
|
|
3586
|
+
|
|
3422
3587
|
void impl_ScriptFunctionAddModifier(KNativePointer context, KNativePointer receiver, KInt flags)
|
|
3423
3588
|
{
|
|
3424
3589
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3741,6 +3906,15 @@ KBoolean impl_ClassDefinitionIsNamespaceTransformedConst(KNativePointer context,
|
|
|
3741
3906
|
}
|
|
3742
3907
|
KOALA_INTEROP_2(ClassDefinitionIsNamespaceTransformedConst, KBoolean, KNativePointer, KNativePointer);
|
|
3743
3908
|
|
|
3909
|
+
KBoolean impl_ClassDefinitionIsFromStructConst(KNativePointer context, KNativePointer receiver)
|
|
3910
|
+
{
|
|
3911
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3912
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3913
|
+
auto result = GetImpl()->ClassDefinitionIsFromStructConst(_context, _receiver);
|
|
3914
|
+
return result;
|
|
3915
|
+
}
|
|
3916
|
+
KOALA_INTEROP_2(ClassDefinitionIsFromStructConst, KBoolean, KNativePointer, KNativePointer);
|
|
3917
|
+
|
|
3744
3918
|
KBoolean impl_ClassDefinitionIsModuleConst(KNativePointer context, KNativePointer receiver)
|
|
3745
3919
|
{
|
|
3746
3920
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -3795,6 +3969,15 @@ void impl_ClassDefinitionSetNamespaceTransformed(KNativePointer context, KNative
|
|
|
3795
3969
|
}
|
|
3796
3970
|
KOALA_INTEROP_V2(ClassDefinitionSetNamespaceTransformed, KNativePointer, KNativePointer);
|
|
3797
3971
|
|
|
3972
|
+
void impl_ClassDefinitionSetFromStructModifier(KNativePointer context, KNativePointer receiver)
|
|
3973
|
+
{
|
|
3974
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
3975
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
3976
|
+
GetImpl()->ClassDefinitionSetFromStructModifier(_context, _receiver);
|
|
3977
|
+
return ;
|
|
3978
|
+
}
|
|
3979
|
+
KOALA_INTEROP_V2(ClassDefinitionSetFromStructModifier, KNativePointer, KNativePointer);
|
|
3980
|
+
|
|
3798
3981
|
KInt impl_ClassDefinitionModifiersConst(KNativePointer context, KNativePointer receiver)
|
|
3799
3982
|
{
|
|
3800
3983
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4013,6 +4196,15 @@ KBoolean impl_ClassDefinitionHasPrivateMethodConst(KNativePointer context, KNati
|
|
|
4013
4196
|
}
|
|
4014
4197
|
KOALA_INTEROP_2(ClassDefinitionHasPrivateMethodConst, KBoolean, KNativePointer, KNativePointer);
|
|
4015
4198
|
|
|
4199
|
+
KBoolean impl_ClassDefinitionHasNativeMethodConst(KNativePointer context, KNativePointer receiver)
|
|
4200
|
+
{
|
|
4201
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4202
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4203
|
+
auto result = GetImpl()->ClassDefinitionHasNativeMethodConst(_context, _receiver);
|
|
4204
|
+
return result;
|
|
4205
|
+
}
|
|
4206
|
+
KOALA_INTEROP_2(ClassDefinitionHasNativeMethodConst, KBoolean, KNativePointer, KNativePointer);
|
|
4207
|
+
|
|
4016
4208
|
KBoolean impl_ClassDefinitionHasComputedInstanceFieldConst(KNativePointer context, KNativePointer receiver)
|
|
4017
4209
|
{
|
|
4018
4210
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4032,6 +4224,16 @@ KBoolean impl_ClassDefinitionHasMatchingPrivateKeyConst(KNativePointer context,
|
|
|
4032
4224
|
}
|
|
4033
4225
|
KOALA_INTEROP_3(ClassDefinitionHasMatchingPrivateKeyConst, KBoolean, KNativePointer, KNativePointer, KStringPtr);
|
|
4034
4226
|
|
|
4227
|
+
void impl_ClassDefinitionAddToExportedClasses(KNativePointer context, KNativePointer receiver, KNativePointer cls)
|
|
4228
|
+
{
|
|
4229
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4230
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4231
|
+
const auto _cls = reinterpret_cast<es2panda_AstNode*>(cls);
|
|
4232
|
+
GetImpl()->ClassDefinitionAddToExportedClasses(_context, _receiver, _cls);
|
|
4233
|
+
return ;
|
|
4234
|
+
}
|
|
4235
|
+
KOALA_INTEROP_V3(ClassDefinitionAddToExportedClasses, KNativePointer, KNativePointer, KNativePointer);
|
|
4236
|
+
|
|
4035
4237
|
KNativePointer impl_ClassDefinitionAnnotations(KNativePointer context, KNativePointer receiver)
|
|
4036
4238
|
{
|
|
4037
4239
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4197,6 +4399,15 @@ KNativePointer impl_ArrayExpressionDecoratorsConst(KNativePointer context, KNati
|
|
|
4197
4399
|
}
|
|
4198
4400
|
KOALA_INTEROP_2(ArrayExpressionDecoratorsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4199
4401
|
|
|
4402
|
+
void impl_ArrayExpressionClearPreferredType(KNativePointer context, KNativePointer receiver)
|
|
4403
|
+
{
|
|
4404
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
4405
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
4406
|
+
GetImpl()->ArrayExpressionClearPreferredType(_context, _receiver);
|
|
4407
|
+
return ;
|
|
4408
|
+
}
|
|
4409
|
+
KOALA_INTEROP_V2(ArrayExpressionClearPreferredType, KNativePointer, KNativePointer);
|
|
4410
|
+
|
|
4200
4411
|
KBoolean impl_ArrayExpressionConvertibleToArrayPattern(KNativePointer context, KNativePointer receiver)
|
|
4201
4412
|
{
|
|
4202
4413
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4792,6 +5003,16 @@ KUInt impl_ETSTupleGetTupleSizeConst(KNativePointer context, KNativePointer rece
|
|
|
4792
5003
|
}
|
|
4793
5004
|
KOALA_INTEROP_2(ETSTupleGetTupleSizeConst, KUInt, KNativePointer, KNativePointer);
|
|
4794
5005
|
|
|
5006
|
+
KNativePointer impl_ETSTupleGetTupleTypeAnnotationsList(KNativePointer context, KNativePointer receiver)
|
|
5007
|
+
{
|
|
5008
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5009
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5010
|
+
std::size_t length;
|
|
5011
|
+
auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsList(_context, _receiver, &length);
|
|
5012
|
+
return new std::vector<void*>(result, result + length);
|
|
5013
|
+
}
|
|
5014
|
+
KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointer);
|
|
5015
|
+
|
|
4795
5016
|
KNativePointer impl_ETSTupleGetTupleTypeAnnotationsListConst(KNativePointer context, KNativePointer receiver)
|
|
4796
5017
|
{
|
|
4797
5018
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4813,6 +5034,58 @@ void impl_ETSTupleSetTypeAnnotationsList(KNativePointer context, KNativePointer
|
|
|
4813
5034
|
}
|
|
4814
5035
|
KOALA_INTEROP_V4(ETSTupleSetTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
4815
5036
|
|
|
5037
|
+
KNativePointer impl_CreateETSStringLiteralType(KNativePointer context, KStringPtr& value)
|
|
5038
|
+
{
|
|
5039
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5040
|
+
const auto _value = getStringCopy(value);
|
|
5041
|
+
auto result = GetImpl()->CreateETSStringLiteralType(_context, _value);
|
|
5042
|
+
return result;
|
|
5043
|
+
}
|
|
5044
|
+
KOALA_INTEROP_2(CreateETSStringLiteralType, KNativePointer, KNativePointer, KStringPtr);
|
|
5045
|
+
|
|
5046
|
+
KNativePointer impl_UpdateETSStringLiteralType(KNativePointer context, KNativePointer original, KStringPtr& value)
|
|
5047
|
+
{
|
|
5048
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5049
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
5050
|
+
const auto _value = getStringCopy(value);
|
|
5051
|
+
auto result = GetImpl()->UpdateETSStringLiteralType(_context, _original, _value);
|
|
5052
|
+
return result;
|
|
5053
|
+
}
|
|
5054
|
+
KOALA_INTEROP_3(UpdateETSStringLiteralType, KNativePointer, KNativePointer, KNativePointer, KStringPtr);
|
|
5055
|
+
|
|
5056
|
+
KNativePointer impl_CreateTryStatement(KNativePointer context, KNativePointer block, KNativePointerArray catchClauses, KUInt catchClausesSequenceLength, KNativePointer finalizer, KNativePointerArray finalizerInsertionsLabelPair, KUInt finalizerInsertionsLabelPairSequenceLength, KNativePointerArray finalizerInsertionsStatement, KUInt finalizerInsertionsStatementSequenceLength)
|
|
5057
|
+
{
|
|
5058
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5059
|
+
const auto _block = reinterpret_cast<es2panda_AstNode*>(block);
|
|
5060
|
+
const auto _catchClauses = reinterpret_cast<es2panda_AstNode**>(catchClauses);
|
|
5061
|
+
const auto _catchClausesSequenceLength = static_cast<KUInt>(catchClausesSequenceLength);
|
|
5062
|
+
const auto _finalizer = reinterpret_cast<es2panda_AstNode*>(finalizer);
|
|
5063
|
+
const auto _finalizerInsertionsLabelPair = reinterpret_cast<es2panda_LabelPair**>(finalizerInsertionsLabelPair);
|
|
5064
|
+
const auto _finalizerInsertionsLabelPairSequenceLength = static_cast<KUInt>(finalizerInsertionsLabelPairSequenceLength);
|
|
5065
|
+
const auto _finalizerInsertionsStatement = reinterpret_cast<es2panda_AstNode**>(finalizerInsertionsStatement);
|
|
5066
|
+
const auto _finalizerInsertionsStatementSequenceLength = static_cast<KUInt>(finalizerInsertionsStatementSequenceLength);
|
|
5067
|
+
auto result = GetImpl()->CreateTryStatement(_context, _block, _catchClauses, _catchClausesSequenceLength, _finalizer, _finalizerInsertionsLabelPair, _finalizerInsertionsLabelPairSequenceLength, _finalizerInsertionsStatement, _finalizerInsertionsStatementSequenceLength);
|
|
5068
|
+
return result;
|
|
5069
|
+
}
|
|
5070
|
+
KOALA_INTEROP_9(CreateTryStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointerArray, KUInt, KNativePointerArray, KUInt);
|
|
5071
|
+
|
|
5072
|
+
KNativePointer impl_UpdateTryStatement(KNativePointer context, KNativePointer original, KNativePointer block, KNativePointerArray catchClauses, KUInt catchClausesSequenceLength, KNativePointer finalizer, KNativePointerArray finalizerInsertionsLabelPair, KUInt finalizerInsertionsLabelPairSequenceLength, KNativePointerArray finalizerInsertionsStatement, KUInt finalizerInsertionsStatementSequenceLength)
|
|
5073
|
+
{
|
|
5074
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5075
|
+
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
5076
|
+
const auto _block = reinterpret_cast<es2panda_AstNode*>(block);
|
|
5077
|
+
const auto _catchClauses = reinterpret_cast<es2panda_AstNode**>(catchClauses);
|
|
5078
|
+
const auto _catchClausesSequenceLength = static_cast<KUInt>(catchClausesSequenceLength);
|
|
5079
|
+
const auto _finalizer = reinterpret_cast<es2panda_AstNode*>(finalizer);
|
|
5080
|
+
const auto _finalizerInsertionsLabelPair = reinterpret_cast<es2panda_LabelPair**>(finalizerInsertionsLabelPair);
|
|
5081
|
+
const auto _finalizerInsertionsLabelPairSequenceLength = static_cast<KUInt>(finalizerInsertionsLabelPairSequenceLength);
|
|
5082
|
+
const auto _finalizerInsertionsStatement = reinterpret_cast<es2panda_AstNode**>(finalizerInsertionsStatement);
|
|
5083
|
+
const auto _finalizerInsertionsStatementSequenceLength = static_cast<KUInt>(finalizerInsertionsStatementSequenceLength);
|
|
5084
|
+
auto result = GetImpl()->UpdateTryStatement(_context, _original, _block, _catchClauses, _catchClausesSequenceLength, _finalizer, _finalizerInsertionsLabelPair, _finalizerInsertionsLabelPairSequenceLength, _finalizerInsertionsStatement, _finalizerInsertionsStatementSequenceLength);
|
|
5085
|
+
return result;
|
|
5086
|
+
}
|
|
5087
|
+
KOALA_INTEROP_10(UpdateTryStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointerArray, KUInt, KNativePointerArray, KUInt);
|
|
5088
|
+
|
|
4816
5089
|
KNativePointer impl_CreateTryStatement1(KNativePointer context, KNativePointer other)
|
|
4817
5090
|
{
|
|
4818
5091
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -4996,6 +5269,63 @@ KNativePointer impl_AstNodeAsStatementConst(KNativePointer context, KNativePoint
|
|
|
4996
5269
|
}
|
|
4997
5270
|
KOALA_INTEROP_2(AstNodeAsStatementConst, KNativePointer, KNativePointer, KNativePointer);
|
|
4998
5271
|
|
|
5272
|
+
void impl_AstNodeSetRange(KNativePointer context, KNativePointer receiver, KNativePointer loc)
|
|
5273
|
+
{
|
|
5274
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5275
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5276
|
+
const auto _loc = reinterpret_cast<es2panda_SourceRange*>(loc);
|
|
5277
|
+
GetImpl()->AstNodeSetRange(_context, _receiver, _loc);
|
|
5278
|
+
return ;
|
|
5279
|
+
}
|
|
5280
|
+
KOALA_INTEROP_V3(AstNodeSetRange, KNativePointer, KNativePointer, KNativePointer);
|
|
5281
|
+
|
|
5282
|
+
void impl_AstNodeSetStart(KNativePointer context, KNativePointer receiver, KNativePointer start)
|
|
5283
|
+
{
|
|
5284
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5285
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5286
|
+
const auto _start = reinterpret_cast<es2panda_SourcePosition*>(start);
|
|
5287
|
+
GetImpl()->AstNodeSetStart(_context, _receiver, _start);
|
|
5288
|
+
return ;
|
|
5289
|
+
}
|
|
5290
|
+
KOALA_INTEROP_V3(AstNodeSetStart, KNativePointer, KNativePointer, KNativePointer);
|
|
5291
|
+
|
|
5292
|
+
void impl_AstNodeSetEnd(KNativePointer context, KNativePointer receiver, KNativePointer end)
|
|
5293
|
+
{
|
|
5294
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5295
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5296
|
+
const auto _end = reinterpret_cast<es2panda_SourcePosition*>(end);
|
|
5297
|
+
GetImpl()->AstNodeSetEnd(_context, _receiver, _end);
|
|
5298
|
+
return ;
|
|
5299
|
+
}
|
|
5300
|
+
KOALA_INTEROP_V3(AstNodeSetEnd, KNativePointer, KNativePointer, KNativePointer);
|
|
5301
|
+
|
|
5302
|
+
KNativePointer impl_AstNodeStartConst(KNativePointer context, KNativePointer receiver)
|
|
5303
|
+
{
|
|
5304
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5305
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5306
|
+
auto result = GetImpl()->AstNodeStartConst(_context, _receiver);
|
|
5307
|
+
return (void*)result;
|
|
5308
|
+
}
|
|
5309
|
+
KOALA_INTEROP_2(AstNodeStartConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5310
|
+
|
|
5311
|
+
KNativePointer impl_AstNodeEndConst(KNativePointer context, KNativePointer receiver)
|
|
5312
|
+
{
|
|
5313
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5314
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5315
|
+
auto result = GetImpl()->AstNodeEndConst(_context, _receiver);
|
|
5316
|
+
return (void*)result;
|
|
5317
|
+
}
|
|
5318
|
+
KOALA_INTEROP_2(AstNodeEndConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5319
|
+
|
|
5320
|
+
KNativePointer impl_AstNodeRangeConst(KNativePointer context, KNativePointer receiver)
|
|
5321
|
+
{
|
|
5322
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5323
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5324
|
+
auto result = GetImpl()->AstNodeRangeConst(_context, _receiver);
|
|
5325
|
+
return (void*)result;
|
|
5326
|
+
}
|
|
5327
|
+
KOALA_INTEROP_2(AstNodeRangeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5328
|
+
|
|
4999
5329
|
KInt impl_AstNodeTypeConst(KNativePointer context, KNativePointer receiver)
|
|
5000
5330
|
{
|
|
5001
5331
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -5438,6 +5768,26 @@ void impl_AstNodeDumpConst1(KNativePointer context, KNativePointer receiver, KNa
|
|
|
5438
5768
|
}
|
|
5439
5769
|
KOALA_INTEROP_V3(AstNodeDumpConst1, KNativePointer, KNativePointer, KNativePointer);
|
|
5440
5770
|
|
|
5771
|
+
void impl_AstNodeCompileConst(KNativePointer context, KNativePointer receiver, KNativePointer pg)
|
|
5772
|
+
{
|
|
5773
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5774
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5775
|
+
const auto _pg = reinterpret_cast<es2panda_CodeGen*>(pg);
|
|
5776
|
+
GetImpl()->AstNodeCompileConst(_context, _receiver, _pg);
|
|
5777
|
+
return ;
|
|
5778
|
+
}
|
|
5779
|
+
KOALA_INTEROP_V3(AstNodeCompileConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5780
|
+
|
|
5781
|
+
void impl_AstNodeCompileConst1(KNativePointer context, KNativePointer receiver, KNativePointer etsg)
|
|
5782
|
+
{
|
|
5783
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5784
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5785
|
+
const auto _etsg = reinterpret_cast<es2panda_CodeGen*>(etsg);
|
|
5786
|
+
GetImpl()->AstNodeCompileConst1(_context, _receiver, _etsg);
|
|
5787
|
+
return ;
|
|
5788
|
+
}
|
|
5789
|
+
KOALA_INTEROP_V3(AstNodeCompileConst1, KNativePointer, KNativePointer, KNativePointer);
|
|
5790
|
+
|
|
5441
5791
|
void impl_AstNodeSetTransformedNode(KNativePointer context, KNativePointer receiver, KStringPtr& transformationName, KNativePointer transformedNode)
|
|
5442
5792
|
{
|
|
5443
5793
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -5449,6 +5799,16 @@ void impl_AstNodeSetTransformedNode(KNativePointer context, KNativePointer recei
|
|
|
5449
5799
|
}
|
|
5450
5800
|
KOALA_INTEROP_V4(AstNodeSetTransformedNode, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
|
|
5451
5801
|
|
|
5802
|
+
void impl_AstNodeAccept(KNativePointer context, KNativePointer receiver, KNativePointer v)
|
|
5803
|
+
{
|
|
5804
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5805
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5806
|
+
const auto _v = reinterpret_cast<es2panda_AstVisitor*>(v);
|
|
5807
|
+
GetImpl()->AstNodeAccept(_context, _receiver, _v);
|
|
5808
|
+
return ;
|
|
5809
|
+
}
|
|
5810
|
+
KOALA_INTEROP_V3(AstNodeAccept, KNativePointer, KNativePointer, KNativePointer);
|
|
5811
|
+
|
|
5452
5812
|
void impl_AstNodeSetOriginalNode(KNativePointer context, KNativePointer receiver, KNativePointer originalNode)
|
|
5453
5813
|
{
|
|
5454
5814
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -5468,6 +5828,24 @@ KNativePointer impl_AstNodeOriginalNodeConst(KNativePointer context, KNativePoin
|
|
|
5468
5828
|
}
|
|
5469
5829
|
KOALA_INTEROP_2(AstNodeOriginalNodeConst, KNativePointer, KNativePointer, KNativePointer);
|
|
5470
5830
|
|
|
5831
|
+
void impl_AstNodeCleanUp(KNativePointer context, KNativePointer receiver)
|
|
5832
|
+
{
|
|
5833
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5834
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5835
|
+
GetImpl()->AstNodeCleanUp(_context, _receiver);
|
|
5836
|
+
return ;
|
|
5837
|
+
}
|
|
5838
|
+
KOALA_INTEROP_V2(AstNodeCleanUp, KNativePointer, KNativePointer);
|
|
5839
|
+
|
|
5840
|
+
KNativePointer impl_AstNodeShallowClone(KNativePointer context, KNativePointer receiver)
|
|
5841
|
+
{
|
|
5842
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
5843
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
5844
|
+
auto result = GetImpl()->AstNodeShallowClone(_context, _receiver);
|
|
5845
|
+
return result;
|
|
5846
|
+
}
|
|
5847
|
+
KOALA_INTEROP_2(AstNodeShallowClone, KNativePointer, KNativePointer, KNativePointer);
|
|
5848
|
+
|
|
5471
5849
|
KNativePointer impl_CreateUnaryExpression(KNativePointer context, KNativePointer argument, KInt unaryOperator)
|
|
5472
5850
|
{
|
|
5473
5851
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -5879,6 +6257,17 @@ void impl_BinaryExpressionSetOperator(KNativePointer context, KNativePointer rec
|
|
|
5879
6257
|
}
|
|
5880
6258
|
KOALA_INTEROP_V3(BinaryExpressionSetOperator, KNativePointer, KNativePointer, KInt);
|
|
5881
6259
|
|
|
6260
|
+
void impl_BinaryExpressionCompileOperandsConst(KNativePointer context, KNativePointer receiver, KNativePointer etsg, KNativePointer lhs)
|
|
6261
|
+
{
|
|
6262
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6263
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6264
|
+
const auto _etsg = reinterpret_cast<es2panda_CodeGen*>(etsg);
|
|
6265
|
+
const auto _lhs = reinterpret_cast<es2panda_VReg*>(lhs);
|
|
6266
|
+
GetImpl()->BinaryExpressionCompileOperandsConst(_context, _receiver, _etsg, _lhs);
|
|
6267
|
+
return ;
|
|
6268
|
+
}
|
|
6269
|
+
KOALA_INTEROP_V4(BinaryExpressionCompileOperandsConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
6270
|
+
|
|
5882
6271
|
KNativePointer impl_CreateSuperExpression(KNativePointer context)
|
|
5883
6272
|
{
|
|
5884
6273
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -6168,6 +6557,16 @@ KBoolean impl_AssignmentExpressionConvertibleToAssignmentPattern(KNativePointer
|
|
|
6168
6557
|
}
|
|
6169
6558
|
KOALA_INTEROP_3(AssignmentExpressionConvertibleToAssignmentPattern, KBoolean, KNativePointer, KNativePointer, KBoolean);
|
|
6170
6559
|
|
|
6560
|
+
void impl_AssignmentExpressionCompilePatternConst(KNativePointer context, KNativePointer receiver, KNativePointer pg)
|
|
6561
|
+
{
|
|
6562
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6563
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6564
|
+
const auto _pg = reinterpret_cast<es2panda_CodeGen*>(pg);
|
|
6565
|
+
GetImpl()->AssignmentExpressionCompilePatternConst(_context, _receiver, _pg);
|
|
6566
|
+
return ;
|
|
6567
|
+
}
|
|
6568
|
+
KOALA_INTEROP_V3(AssignmentExpressionCompilePatternConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6569
|
+
|
|
6171
6570
|
KNativePointer impl_CreateExpressionStatement(KNativePointer context, KNativePointer expr)
|
|
6172
6571
|
{
|
|
6173
6572
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -6737,27 +7136,27 @@ KBoolean impl_TSModuleDeclarationIsExternalOrAmbientConst(KNativePointer context
|
|
|
6737
7136
|
}
|
|
6738
7137
|
KOALA_INTEROP_2(TSModuleDeclarationIsExternalOrAmbientConst, KBoolean, KNativePointer, KNativePointer);
|
|
6739
7138
|
|
|
6740
|
-
KNativePointer impl_CreateImportDeclaration(KNativePointer context, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt
|
|
7139
|
+
KNativePointer impl_CreateImportDeclaration(KNativePointer context, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds)
|
|
6741
7140
|
{
|
|
6742
7141
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6743
7142
|
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
6744
7143
|
const auto _specifiers = reinterpret_cast<es2panda_AstNode**>(specifiers);
|
|
6745
7144
|
const auto _specifiersSequenceLength = static_cast<KUInt>(specifiersSequenceLength);
|
|
6746
|
-
const auto
|
|
6747
|
-
auto result = GetImpl()->CreateImportDeclaration(_context, _source, _specifiers, _specifiersSequenceLength,
|
|
7145
|
+
const auto _importKinds = static_cast<Es2pandaImportKinds>(importKinds);
|
|
7146
|
+
auto result = GetImpl()->CreateImportDeclaration(_context, _source, _specifiers, _specifiersSequenceLength, _importKinds);
|
|
6748
7147
|
return result;
|
|
6749
7148
|
}
|
|
6750
7149
|
KOALA_INTEROP_5(CreateImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt);
|
|
6751
7150
|
|
|
6752
|
-
KNativePointer impl_UpdateImportDeclaration(KNativePointer context, KNativePointer original, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt
|
|
7151
|
+
KNativePointer impl_UpdateImportDeclaration(KNativePointer context, KNativePointer original, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds)
|
|
6753
7152
|
{
|
|
6754
7153
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6755
7154
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
6756
7155
|
const auto _source = reinterpret_cast<es2panda_AstNode*>(source);
|
|
6757
7156
|
const auto _specifiers = reinterpret_cast<es2panda_AstNode**>(specifiers);
|
|
6758
7157
|
const auto _specifiersSequenceLength = static_cast<KUInt>(specifiersSequenceLength);
|
|
6759
|
-
const auto
|
|
6760
|
-
auto result = GetImpl()->UpdateImportDeclaration(_context, _original, _source, _specifiers, _specifiersSequenceLength,
|
|
7158
|
+
const auto _importKinds = static_cast<Es2pandaImportKinds>(importKinds);
|
|
7159
|
+
auto result = GetImpl()->UpdateImportDeclaration(_context, _original, _source, _specifiers, _specifiersSequenceLength, _importKinds);
|
|
6761
7160
|
return result;
|
|
6762
7161
|
}
|
|
6763
7162
|
KOALA_INTEROP_6(UpdateImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt);
|
|
@@ -6873,39 +7272,71 @@ KNativePointer impl_UpdateETSPackageDeclaration(KNativePointer context, KNativeP
|
|
|
6873
7272
|
}
|
|
6874
7273
|
KOALA_INTEROP_3(UpdateETSPackageDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
6875
7274
|
|
|
6876
|
-
KNativePointer impl_CreateETSImportDeclaration(KNativePointer context, KNativePointer
|
|
7275
|
+
KNativePointer impl_CreateETSImportDeclaration(KNativePointer context, KNativePointer importPath, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds)
|
|
6877
7276
|
{
|
|
6878
7277
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6879
|
-
const auto
|
|
7278
|
+
const auto _importPath = reinterpret_cast<es2panda_AstNode*>(importPath);
|
|
6880
7279
|
const auto _specifiers = reinterpret_cast<es2panda_AstNode**>(specifiers);
|
|
6881
7280
|
const auto _specifiersSequenceLength = static_cast<KUInt>(specifiersSequenceLength);
|
|
6882
|
-
const auto
|
|
6883
|
-
auto result = GetImpl()->CreateETSImportDeclaration(_context,
|
|
7281
|
+
const auto _importKinds = static_cast<Es2pandaImportKinds>(importKinds);
|
|
7282
|
+
auto result = GetImpl()->CreateETSImportDeclaration(_context, _importPath, _specifiers, _specifiersSequenceLength, _importKinds);
|
|
6884
7283
|
return result;
|
|
6885
7284
|
}
|
|
6886
7285
|
KOALA_INTEROP_5(CreateETSImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt);
|
|
6887
7286
|
|
|
6888
|
-
KNativePointer impl_UpdateETSImportDeclaration(KNativePointer context, KNativePointer original, KNativePointer
|
|
7287
|
+
KNativePointer impl_UpdateETSImportDeclaration(KNativePointer context, KNativePointer original, KNativePointer importPath, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds)
|
|
6889
7288
|
{
|
|
6890
7289
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6891
7290
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
6892
|
-
const auto
|
|
7291
|
+
const auto _importPath = reinterpret_cast<es2panda_AstNode*>(importPath);
|
|
6893
7292
|
const auto _specifiers = reinterpret_cast<es2panda_AstNode**>(specifiers);
|
|
6894
7293
|
const auto _specifiersSequenceLength = static_cast<KUInt>(specifiersSequenceLength);
|
|
6895
|
-
const auto
|
|
6896
|
-
auto result = GetImpl()->UpdateETSImportDeclaration(_context, _original,
|
|
7294
|
+
const auto _importKinds = static_cast<Es2pandaImportKinds>(importKinds);
|
|
7295
|
+
auto result = GetImpl()->UpdateETSImportDeclaration(_context, _original, _importPath, _specifiers, _specifiersSequenceLength, _importKinds);
|
|
6897
7296
|
return result;
|
|
6898
7297
|
}
|
|
6899
7298
|
KOALA_INTEROP_6(UpdateETSImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt);
|
|
6900
7299
|
|
|
6901
|
-
|
|
7300
|
+
void impl_ETSImportDeclarationSetImportMetadata(KNativePointer context, KNativePointer receiver, KInt importFlags, KInt lang, KStringPtr& resolvedSource, KStringPtr& declPath, KStringPtr& ohmUrl)
|
|
7301
|
+
{
|
|
7302
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7303
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7304
|
+
const auto _importFlags = static_cast<Es2pandaImportFlags>(importFlags);
|
|
7305
|
+
const auto _lang = static_cast<Es2pandaId>(lang);
|
|
7306
|
+
const auto _resolvedSource = getStringCopy(resolvedSource);
|
|
7307
|
+
const auto _declPath = getStringCopy(declPath);
|
|
7308
|
+
const auto _ohmUrl = getStringCopy(ohmUrl);
|
|
7309
|
+
GetImpl()->ETSImportDeclarationSetImportMetadata(_context, _receiver, _importFlags, _lang, _resolvedSource, _declPath, _ohmUrl);
|
|
7310
|
+
return ;
|
|
7311
|
+
}
|
|
7312
|
+
KOALA_INTEROP_V7(ETSImportDeclarationSetImportMetadata, KNativePointer, KNativePointer, KInt, KInt, KStringPtr, KStringPtr, KStringPtr);
|
|
7313
|
+
|
|
7314
|
+
KNativePointer impl_ETSImportDeclarationDeclPathConst(KNativePointer context, KNativePointer receiver)
|
|
7315
|
+
{
|
|
7316
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7317
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7318
|
+
auto result = GetImpl()->ETSImportDeclarationDeclPathConst(_context, _receiver);
|
|
7319
|
+
return new std::string(result);
|
|
7320
|
+
}
|
|
7321
|
+
KOALA_INTEROP_2(ETSImportDeclarationDeclPathConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7322
|
+
|
|
7323
|
+
KNativePointer impl_ETSImportDeclarationOhmUrlConst(KNativePointer context, KNativePointer receiver)
|
|
7324
|
+
{
|
|
7325
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7326
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7327
|
+
auto result = GetImpl()->ETSImportDeclarationOhmUrlConst(_context, _receiver);
|
|
7328
|
+
return new std::string(result);
|
|
7329
|
+
}
|
|
7330
|
+
KOALA_INTEROP_2(ETSImportDeclarationOhmUrlConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7331
|
+
|
|
7332
|
+
KBoolean impl_ETSImportDeclarationIsValidConst(KNativePointer context, KNativePointer receiver)
|
|
6902
7333
|
{
|
|
6903
7334
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6904
7335
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6905
|
-
auto result = GetImpl()->
|
|
7336
|
+
auto result = GetImpl()->ETSImportDeclarationIsValidConst(_context, _receiver);
|
|
6906
7337
|
return result;
|
|
6907
7338
|
}
|
|
6908
|
-
KOALA_INTEROP_2(
|
|
7339
|
+
KOALA_INTEROP_2(ETSImportDeclarationIsValidConst, KBoolean, KNativePointer, KNativePointer);
|
|
6909
7340
|
|
|
6910
7341
|
KBoolean impl_ETSImportDeclarationIsPureDynamicConst(KNativePointer context, KNativePointer receiver)
|
|
6911
7342
|
{
|
|
@@ -6934,30 +7365,12 @@ KNativePointer impl_ETSImportDeclarationAssemblerNameConst(KNativePointer contex
|
|
|
6934
7365
|
}
|
|
6935
7366
|
KOALA_INTEROP_2(ETSImportDeclarationAssemblerNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6936
7367
|
|
|
6937
|
-
KNativePointer impl_ETSImportDeclarationSourceConst(KNativePointer context, KNativePointer receiver)
|
|
6938
|
-
{
|
|
6939
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6940
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6941
|
-
auto result = GetImpl()->ETSImportDeclarationSourceConst(_context, _receiver);
|
|
6942
|
-
return (void*)result;
|
|
6943
|
-
}
|
|
6944
|
-
KOALA_INTEROP_2(ETSImportDeclarationSourceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6945
|
-
|
|
6946
|
-
KNativePointer impl_ETSImportDeclarationResolvedSource(KNativePointer context, KNativePointer receiver)
|
|
6947
|
-
{
|
|
6948
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6949
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6950
|
-
auto result = GetImpl()->ETSImportDeclarationResolvedSource(_context, _receiver);
|
|
6951
|
-
return result;
|
|
6952
|
-
}
|
|
6953
|
-
KOALA_INTEROP_2(ETSImportDeclarationResolvedSource, KNativePointer, KNativePointer, KNativePointer);
|
|
6954
|
-
|
|
6955
7368
|
KNativePointer impl_ETSImportDeclarationResolvedSourceConst(KNativePointer context, KNativePointer receiver)
|
|
6956
7369
|
{
|
|
6957
7370
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
6958
7371
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
6959
7372
|
auto result = GetImpl()->ETSImportDeclarationResolvedSourceConst(_context, _receiver);
|
|
6960
|
-
return (
|
|
7373
|
+
return new std::string(result);
|
|
6961
7374
|
}
|
|
6962
7375
|
KOALA_INTEROP_2(ETSImportDeclarationResolvedSourceConst, KNativePointer, KNativePointer, KNativePointer);
|
|
6963
7376
|
|
|
@@ -7078,6 +7491,15 @@ void impl_ETSNewArrayInstanceExpressionSetDimension(KNativePointer context, KNat
|
|
|
7078
7491
|
}
|
|
7079
7492
|
KOALA_INTEROP_V3(ETSNewArrayInstanceExpressionSetDimension, KNativePointer, KNativePointer, KNativePointer);
|
|
7080
7493
|
|
|
7494
|
+
void impl_ETSNewArrayInstanceExpressionClearPreferredType(KNativePointer context, KNativePointer receiver)
|
|
7495
|
+
{
|
|
7496
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7497
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7498
|
+
GetImpl()->ETSNewArrayInstanceExpressionClearPreferredType(_context, _receiver);
|
|
7499
|
+
return ;
|
|
7500
|
+
}
|
|
7501
|
+
KOALA_INTEROP_V2(ETSNewArrayInstanceExpressionClearPreferredType, KNativePointer, KNativePointer);
|
|
7502
|
+
|
|
7081
7503
|
KNativePointer impl_CreateAnnotationDeclaration(KNativePointer context, KNativePointer expr)
|
|
7082
7504
|
{
|
|
7083
7505
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7282,16 +7704,16 @@ void impl_AnnotationDeclarationSetAnnotations(KNativePointer context, KNativePoi
|
|
|
7282
7704
|
}
|
|
7283
7705
|
KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
7284
7706
|
|
|
7285
|
-
KNativePointer
|
|
7707
|
+
KNativePointer impl_CreateAnnotationUsage(KNativePointer context, KNativePointer expr)
|
|
7286
7708
|
{
|
|
7287
7709
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7288
7710
|
const auto _expr = reinterpret_cast<es2panda_AstNode*>(expr);
|
|
7289
7711
|
auto result = GetImpl()->CreateAnnotationUsageIr(_context, _expr);
|
|
7290
7712
|
return result;
|
|
7291
7713
|
}
|
|
7292
|
-
KOALA_INTEROP_2(
|
|
7714
|
+
KOALA_INTEROP_2(CreateAnnotationUsage, KNativePointer, KNativePointer, KNativePointer);
|
|
7293
7715
|
|
|
7294
|
-
KNativePointer
|
|
7716
|
+
KNativePointer impl_UpdateAnnotationUsage(KNativePointer context, KNativePointer original, KNativePointer expr)
|
|
7295
7717
|
{
|
|
7296
7718
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7297
7719
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
@@ -7299,9 +7721,9 @@ KNativePointer impl_UpdateAnnotationUsageIr(KNativePointer context, KNativePoint
|
|
|
7299
7721
|
auto result = GetImpl()->UpdateAnnotationUsageIr(_context, _original, _expr);
|
|
7300
7722
|
return result;
|
|
7301
7723
|
}
|
|
7302
|
-
KOALA_INTEROP_3(
|
|
7724
|
+
KOALA_INTEROP_3(UpdateAnnotationUsage, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
7303
7725
|
|
|
7304
|
-
KNativePointer
|
|
7726
|
+
KNativePointer impl_CreateAnnotationUsage1(KNativePointer context, KNativePointer expr, KNativePointerArray properties, KUInt propertiesSequenceLength)
|
|
7305
7727
|
{
|
|
7306
7728
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7307
7729
|
const auto _expr = reinterpret_cast<es2panda_AstNode*>(expr);
|
|
@@ -7310,9 +7732,9 @@ KNativePointer impl_CreateAnnotationUsageIr1(KNativePointer context, KNativePoin
|
|
|
7310
7732
|
auto result = GetImpl()->CreateAnnotationUsageIr1(_context, _expr, _properties, _propertiesSequenceLength);
|
|
7311
7733
|
return result;
|
|
7312
7734
|
}
|
|
7313
|
-
KOALA_INTEROP_4(
|
|
7735
|
+
KOALA_INTEROP_4(CreateAnnotationUsage1, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
7314
7736
|
|
|
7315
|
-
KNativePointer
|
|
7737
|
+
KNativePointer impl_UpdateAnnotationUsage1(KNativePointer context, KNativePointer original, KNativePointer expr, KNativePointerArray properties, KUInt propertiesSequenceLength)
|
|
7316
7738
|
{
|
|
7317
7739
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7318
7740
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
@@ -7322,18 +7744,18 @@ KNativePointer impl_UpdateAnnotationUsageIr1(KNativePointer context, KNativePoin
|
|
|
7322
7744
|
auto result = GetImpl()->UpdateAnnotationUsageIr1(_context, _original, _expr, _properties, _propertiesSequenceLength);
|
|
7323
7745
|
return result;
|
|
7324
7746
|
}
|
|
7325
|
-
KOALA_INTEROP_5(
|
|
7747
|
+
KOALA_INTEROP_5(UpdateAnnotationUsage1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
7326
7748
|
|
|
7327
|
-
KNativePointer
|
|
7749
|
+
KNativePointer impl_AnnotationUsageExpr(KNativePointer context, KNativePointer receiver)
|
|
7328
7750
|
{
|
|
7329
7751
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7330
7752
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7331
7753
|
auto result = GetImpl()->AnnotationUsageIrExpr(_context, _receiver);
|
|
7332
7754
|
return result;
|
|
7333
7755
|
}
|
|
7334
|
-
KOALA_INTEROP_2(
|
|
7756
|
+
KOALA_INTEROP_2(AnnotationUsageExpr, KNativePointer, KNativePointer, KNativePointer);
|
|
7335
7757
|
|
|
7336
|
-
KNativePointer
|
|
7758
|
+
KNativePointer impl_AnnotationUsageProperties(KNativePointer context, KNativePointer receiver)
|
|
7337
7759
|
{
|
|
7338
7760
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7339
7761
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -7341,9 +7763,9 @@ KNativePointer impl_AnnotationUsageIrProperties(KNativePointer context, KNativeP
|
|
|
7341
7763
|
auto result = GetImpl()->AnnotationUsageIrProperties(_context, _receiver, &length);
|
|
7342
7764
|
return new std::vector<void*>(result, result + length);
|
|
7343
7765
|
}
|
|
7344
|
-
KOALA_INTEROP_2(
|
|
7766
|
+
KOALA_INTEROP_2(AnnotationUsageProperties, KNativePointer, KNativePointer, KNativePointer);
|
|
7345
7767
|
|
|
7346
|
-
KNativePointer
|
|
7768
|
+
KNativePointer impl_AnnotationUsagePropertiesConst(KNativePointer context, KNativePointer receiver)
|
|
7347
7769
|
{
|
|
7348
7770
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7349
7771
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -7351,9 +7773,9 @@ KNativePointer impl_AnnotationUsageIrPropertiesConst(KNativePointer context, KNa
|
|
|
7351
7773
|
auto result = GetImpl()->AnnotationUsageIrPropertiesConst(_context, _receiver, &length);
|
|
7352
7774
|
return (void*)new std::vector<void*>(result, result + length);
|
|
7353
7775
|
}
|
|
7354
|
-
KOALA_INTEROP_2(
|
|
7776
|
+
KOALA_INTEROP_2(AnnotationUsagePropertiesConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7355
7777
|
|
|
7356
|
-
void
|
|
7778
|
+
void impl_AnnotationUsageAddProperty(KNativePointer context, KNativePointer receiver, KNativePointer property)
|
|
7357
7779
|
{
|
|
7358
7780
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7359
7781
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -7361,9 +7783,9 @@ void impl_AnnotationUsageIrAddProperty(KNativePointer context, KNativePointer re
|
|
|
7361
7783
|
GetImpl()->AnnotationUsageIrAddProperty(_context, _receiver, _property);
|
|
7362
7784
|
return ;
|
|
7363
7785
|
}
|
|
7364
|
-
KOALA_INTEROP_V3(
|
|
7786
|
+
KOALA_INTEROP_V3(AnnotationUsageAddProperty, KNativePointer, KNativePointer, KNativePointer);
|
|
7365
7787
|
|
|
7366
|
-
void
|
|
7788
|
+
void impl_AnnotationUsageSetProperties(KNativePointer context, KNativePointer receiver, KNativePointerArray properties, KUInt propertiesSequenceLength)
|
|
7367
7789
|
{
|
|
7368
7790
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7369
7791
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
@@ -7372,16 +7794,16 @@ void impl_AnnotationUsageIrSetProperties(KNativePointer context, KNativePointer
|
|
|
7372
7794
|
GetImpl()->AnnotationUsageIrSetProperties(_context, _receiver, _properties, _propertiesSequenceLength);
|
|
7373
7795
|
return ;
|
|
7374
7796
|
}
|
|
7375
|
-
KOALA_INTEROP_V4(
|
|
7797
|
+
KOALA_INTEROP_V4(AnnotationUsageSetProperties, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
7376
7798
|
|
|
7377
|
-
KNativePointer
|
|
7799
|
+
KNativePointer impl_AnnotationUsageGetBaseNameConst(KNativePointer context, KNativePointer receiver)
|
|
7378
7800
|
{
|
|
7379
7801
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7380
7802
|
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7381
7803
|
auto result = GetImpl()->AnnotationUsageIrGetBaseNameConst(_context, _receiver);
|
|
7382
7804
|
return (void*)result;
|
|
7383
7805
|
}
|
|
7384
|
-
KOALA_INTEROP_2(
|
|
7806
|
+
KOALA_INTEROP_2(AnnotationUsageGetBaseNameConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7385
7807
|
|
|
7386
7808
|
KNativePointer impl_CreateEmptyStatement(KNativePointer context)
|
|
7387
7809
|
{
|
|
@@ -7400,43 +7822,6 @@ KNativePointer impl_UpdateEmptyStatement(KNativePointer context, KNativePointer
|
|
|
7400
7822
|
}
|
|
7401
7823
|
KOALA_INTEROP_2(UpdateEmptyStatement, KNativePointer, KNativePointer, KNativePointer);
|
|
7402
7824
|
|
|
7403
|
-
KNativePointer impl_CreateETSLaunchExpression(KNativePointer context, KNativePointer expr)
|
|
7404
|
-
{
|
|
7405
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7406
|
-
const auto _expr = reinterpret_cast<es2panda_AstNode*>(expr);
|
|
7407
|
-
auto result = GetImpl()->CreateETSLaunchExpression(_context, _expr);
|
|
7408
|
-
return result;
|
|
7409
|
-
}
|
|
7410
|
-
KOALA_INTEROP_2(CreateETSLaunchExpression, KNativePointer, KNativePointer, KNativePointer);
|
|
7411
|
-
|
|
7412
|
-
KNativePointer impl_UpdateETSLaunchExpression(KNativePointer context, KNativePointer original, KNativePointer expr)
|
|
7413
|
-
{
|
|
7414
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7415
|
-
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
7416
|
-
const auto _expr = reinterpret_cast<es2panda_AstNode*>(expr);
|
|
7417
|
-
auto result = GetImpl()->UpdateETSLaunchExpression(_context, _original, _expr);
|
|
7418
|
-
return result;
|
|
7419
|
-
}
|
|
7420
|
-
KOALA_INTEROP_3(UpdateETSLaunchExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
7421
|
-
|
|
7422
|
-
KBoolean impl_ETSLaunchExpressionIsStaticCallConst(KNativePointer context, KNativePointer receiver)
|
|
7423
|
-
{
|
|
7424
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7425
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7426
|
-
auto result = GetImpl()->ETSLaunchExpressionIsStaticCallConst(_context, _receiver);
|
|
7427
|
-
return result;
|
|
7428
|
-
}
|
|
7429
|
-
KOALA_INTEROP_2(ETSLaunchExpressionIsStaticCallConst, KBoolean, KNativePointer, KNativePointer);
|
|
7430
|
-
|
|
7431
|
-
KNativePointer impl_ETSLaunchExpressionCallConst(KNativePointer context, KNativePointer receiver)
|
|
7432
|
-
{
|
|
7433
|
-
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
7434
|
-
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
7435
|
-
auto result = GetImpl()->ETSLaunchExpressionCallConst(_context, _receiver);
|
|
7436
|
-
return (void*)result;
|
|
7437
|
-
}
|
|
7438
|
-
KOALA_INTEROP_2(ETSLaunchExpressionCallConst, KNativePointer, KNativePointer, KNativePointer);
|
|
7439
|
-
|
|
7440
7825
|
KNativePointer impl_CreateWhileStatement(KNativePointer context, KNativePointer test, KNativePointer body)
|
|
7441
7826
|
{
|
|
7442
7827
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -7628,6 +8013,17 @@ KNativePointer impl_ChainExpressionGetExpression(KNativePointer context, KNative
|
|
|
7628
8013
|
}
|
|
7629
8014
|
KOALA_INTEROP_2(ChainExpressionGetExpression, KNativePointer, KNativePointer, KNativePointer);
|
|
7630
8015
|
|
|
8016
|
+
void impl_ChainExpressionCompileToRegConst(KNativePointer context, KNativePointer receiver, KNativePointer pg, KNativePointer objReg)
|
|
8017
|
+
{
|
|
8018
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
8019
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
8020
|
+
const auto _pg = reinterpret_cast<es2panda_CodeGen*>(pg);
|
|
8021
|
+
const auto _objReg = reinterpret_cast<es2panda_VReg*>(objReg);
|
|
8022
|
+
GetImpl()->ChainExpressionCompileToRegConst(_context, _receiver, _pg, _objReg);
|
|
8023
|
+
return ;
|
|
8024
|
+
}
|
|
8025
|
+
KOALA_INTEROP_V4(ChainExpressionCompileToRegConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer);
|
|
8026
|
+
|
|
7631
8027
|
KNativePointer impl_CreateTSIntersectionType(KNativePointer context, KNativePointerArray types, KUInt typesSequenceLength)
|
|
7632
8028
|
{
|
|
7633
8029
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -9507,6 +9903,27 @@ void impl_BlockStatementSetStatements(KNativePointer context, KNativePointer rec
|
|
|
9507
9903
|
}
|
|
9508
9904
|
KOALA_INTEROP_V4(BlockStatementSetStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9509
9905
|
|
|
9906
|
+
void impl_BlockStatementAddStatement(KNativePointer context, KNativePointer receiver, KNativePointer stmt)
|
|
9907
|
+
{
|
|
9908
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9909
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9910
|
+
const auto _stmt = reinterpret_cast<es2panda_AstNode*>(stmt);
|
|
9911
|
+
GetImpl()->BlockStatementAddStatement(_context, _receiver, _stmt);
|
|
9912
|
+
return ;
|
|
9913
|
+
}
|
|
9914
|
+
KOALA_INTEROP_V3(BlockStatementAddStatement, KNativePointer, KNativePointer, KNativePointer);
|
|
9915
|
+
|
|
9916
|
+
void impl_BlockStatementAddStatements(KNativePointer context, KNativePointer receiver, KNativePointerArray stmts, KUInt stmtsSequenceLength)
|
|
9917
|
+
{
|
|
9918
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
9919
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
9920
|
+
const auto _stmts = reinterpret_cast<es2panda_AstNode**>(stmts);
|
|
9921
|
+
const auto _stmtsSequenceLength = static_cast<KUInt>(stmtsSequenceLength);
|
|
9922
|
+
GetImpl()->BlockStatementAddStatements(_context, _receiver, _stmts, _stmtsSequenceLength);
|
|
9923
|
+
return ;
|
|
9924
|
+
}
|
|
9925
|
+
KOALA_INTEROP_V4(BlockStatementAddStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt);
|
|
9926
|
+
|
|
9510
9927
|
void impl_BlockStatementAddTrailingBlock(KNativePointer context, KNativePointer receiver, KNativePointer stmt, KNativePointer trailingBlock)
|
|
9511
9928
|
{
|
|
9512
9929
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -9644,6 +10061,15 @@ KBoolean impl_MethodDefinitionIsConstructorConst(KNativePointer context, KNative
|
|
|
9644
10061
|
}
|
|
9645
10062
|
KOALA_INTEROP_2(MethodDefinitionIsConstructorConst, KBoolean, KNativePointer, KNativePointer);
|
|
9646
10063
|
|
|
10064
|
+
KBoolean impl_MethodDefinitionIsMethodConst(KNativePointer context, KNativePointer receiver)
|
|
10065
|
+
{
|
|
10066
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10067
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10068
|
+
auto result = GetImpl()->MethodDefinitionIsMethodConst(_context, _receiver);
|
|
10069
|
+
return result;
|
|
10070
|
+
}
|
|
10071
|
+
KOALA_INTEROP_2(MethodDefinitionIsMethodConst, KBoolean, KNativePointer, KNativePointer);
|
|
10072
|
+
|
|
9647
10073
|
KBoolean impl_MethodDefinitionIsExtensionMethodConst(KNativePointer context, KNativePointer receiver)
|
|
9648
10074
|
{
|
|
9649
10075
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -9653,6 +10079,43 @@ KBoolean impl_MethodDefinitionIsExtensionMethodConst(KNativePointer context, KNa
|
|
|
9653
10079
|
}
|
|
9654
10080
|
KOALA_INTEROP_2(MethodDefinitionIsExtensionMethodConst, KBoolean, KNativePointer, KNativePointer);
|
|
9655
10081
|
|
|
10082
|
+
KBoolean impl_MethodDefinitionIsGetterConst(KNativePointer context, KNativePointer receiver)
|
|
10083
|
+
{
|
|
10084
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10085
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10086
|
+
auto result = GetImpl()->MethodDefinitionIsGetterConst(_context, _receiver);
|
|
10087
|
+
return result;
|
|
10088
|
+
}
|
|
10089
|
+
KOALA_INTEROP_2(MethodDefinitionIsGetterConst, KBoolean, KNativePointer, KNativePointer);
|
|
10090
|
+
|
|
10091
|
+
KBoolean impl_MethodDefinitionIsSetterConst(KNativePointer context, KNativePointer receiver)
|
|
10092
|
+
{
|
|
10093
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10094
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10095
|
+
auto result = GetImpl()->MethodDefinitionIsSetterConst(_context, _receiver);
|
|
10096
|
+
return result;
|
|
10097
|
+
}
|
|
10098
|
+
KOALA_INTEROP_2(MethodDefinitionIsSetterConst, KBoolean, KNativePointer, KNativePointer);
|
|
10099
|
+
|
|
10100
|
+
KBoolean impl_MethodDefinitionIsDefaultAccessModifierConst(KNativePointer context, KNativePointer receiver)
|
|
10101
|
+
{
|
|
10102
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10103
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10104
|
+
auto result = GetImpl()->MethodDefinitionIsDefaultAccessModifierConst(_context, _receiver);
|
|
10105
|
+
return result;
|
|
10106
|
+
}
|
|
10107
|
+
KOALA_INTEROP_2(MethodDefinitionIsDefaultAccessModifierConst, KBoolean, KNativePointer, KNativePointer);
|
|
10108
|
+
|
|
10109
|
+
void impl_MethodDefinitionSetDefaultAccessModifier(KNativePointer context, KNativePointer receiver, KBoolean isDefault)
|
|
10110
|
+
{
|
|
10111
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10112
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10113
|
+
const auto _isDefault = static_cast<KBoolean>(isDefault);
|
|
10114
|
+
GetImpl()->MethodDefinitionSetDefaultAccessModifier(_context, _receiver, _isDefault);
|
|
10115
|
+
return ;
|
|
10116
|
+
}
|
|
10117
|
+
KOALA_INTEROP_V3(MethodDefinitionSetDefaultAccessModifier, KNativePointer, KNativePointer, KBoolean);
|
|
10118
|
+
|
|
9656
10119
|
KNativePointer impl_MethodDefinitionOverloadsConst(KNativePointer context, KNativePointer receiver)
|
|
9657
10120
|
{
|
|
9658
10121
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10181,6 +10644,15 @@ KNativePointer impl_BreakStatementTargetConst(KNativePointer context, KNativePoi
|
|
|
10181
10644
|
}
|
|
10182
10645
|
KOALA_INTEROP_2(BreakStatementTargetConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10183
10646
|
|
|
10647
|
+
KBoolean impl_BreakStatementHasTargetConst(KNativePointer context, KNativePointer receiver)
|
|
10648
|
+
{
|
|
10649
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10650
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
10651
|
+
auto result = GetImpl()->BreakStatementHasTargetConst(_context, _receiver);
|
|
10652
|
+
return result;
|
|
10653
|
+
}
|
|
10654
|
+
KOALA_INTEROP_2(BreakStatementHasTargetConst, KBoolean, KNativePointer, KNativePointer);
|
|
10655
|
+
|
|
10184
10656
|
void impl_BreakStatementSetTarget(KNativePointer context, KNativePointer receiver, KNativePointer target)
|
|
10185
10657
|
{
|
|
10186
10658
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10516,6 +10988,16 @@ KNativePointer impl_CreateValidationInfo(KNativePointer context)
|
|
|
10516
10988
|
}
|
|
10517
10989
|
KOALA_INTEROP_1(CreateValidationInfo, KNativePointer, KNativePointer);
|
|
10518
10990
|
|
|
10991
|
+
KNativePointer impl_CreateValidationInfo1(KNativePointer context, KStringPtr& m, KNativePointer p)
|
|
10992
|
+
{
|
|
10993
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10994
|
+
const auto _m = getStringCopy(m);
|
|
10995
|
+
const auto _p = reinterpret_cast<es2panda_SourcePosition*>(p);
|
|
10996
|
+
auto result = GetImpl()->CreateValidationInfo1(_context, _m, _p);
|
|
10997
|
+
return result;
|
|
10998
|
+
}
|
|
10999
|
+
KOALA_INTEROP_3(CreateValidationInfo1, KNativePointer, KNativePointer, KStringPtr, KNativePointer);
|
|
11000
|
+
|
|
10519
11001
|
KBoolean impl_ValidationInfoFailConst(KNativePointer context, KNativePointer receiver)
|
|
10520
11002
|
{
|
|
10521
11003
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10588,6 +11070,15 @@ KNativePointer impl_ContinueStatementTargetConst(KNativePointer context, KNative
|
|
|
10588
11070
|
}
|
|
10589
11071
|
KOALA_INTEROP_2(ContinueStatementTargetConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10590
11072
|
|
|
11073
|
+
KBoolean impl_ContinueStatementHasTargetConst(KNativePointer context, KNativePointer receiver)
|
|
11074
|
+
{
|
|
11075
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11076
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11077
|
+
auto result = GetImpl()->ContinueStatementHasTargetConst(_context, _receiver);
|
|
11078
|
+
return result;
|
|
11079
|
+
}
|
|
11080
|
+
KOALA_INTEROP_2(ContinueStatementHasTargetConst, KBoolean, KNativePointer, KNativePointer);
|
|
11081
|
+
|
|
10591
11082
|
void impl_ContinueStatementSetTarget(KNativePointer context, KNativePointer receiver, KNativePointer target)
|
|
10592
11083
|
{
|
|
10593
11084
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10678,6 +11169,15 @@ KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensionsConst(KNative
|
|
|
10678
11169
|
}
|
|
10679
11170
|
KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensionsConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10680
11171
|
|
|
11172
|
+
void impl_ETSNewMultiDimArrayInstanceExpressionClearPreferredType(KNativePointer context, KNativePointer receiver)
|
|
11173
|
+
{
|
|
11174
|
+
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
11175
|
+
const auto _receiver = reinterpret_cast<es2panda_AstNode*>(receiver);
|
|
11176
|
+
GetImpl()->ETSNewMultiDimArrayInstanceExpressionClearPreferredType(_context, _receiver);
|
|
11177
|
+
return ;
|
|
11178
|
+
}
|
|
11179
|
+
KOALA_INTEROP_V2(ETSNewMultiDimArrayInstanceExpressionClearPreferredType, KNativePointer, KNativePointer);
|
|
11180
|
+
|
|
10681
11181
|
KNativePointer impl_CreateTSNamedTupleMember(KNativePointer context, KNativePointer label, KNativePointer elementType, KBoolean optional_arg)
|
|
10682
11182
|
{
|
|
10683
11183
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
@@ -10813,39 +11313,39 @@ KNativePointer impl_AstDumperStrConst(KNativePointer context, KNativePointer rec
|
|
|
10813
11313
|
}
|
|
10814
11314
|
KOALA_INTEROP_2(AstDumperStrConst, KNativePointer, KNativePointer, KNativePointer);
|
|
10815
11315
|
|
|
10816
|
-
KNativePointer
|
|
11316
|
+
KNativePointer impl_CreateETSNullType(KNativePointer context)
|
|
10817
11317
|
{
|
|
10818
11318
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10819
11319
|
auto result = GetImpl()->CreateETSNullTypeIr(_context);
|
|
10820
11320
|
return result;
|
|
10821
11321
|
}
|
|
10822
|
-
KOALA_INTEROP_1(
|
|
11322
|
+
KOALA_INTEROP_1(CreateETSNullType, KNativePointer, KNativePointer);
|
|
10823
11323
|
|
|
10824
|
-
KNativePointer
|
|
11324
|
+
KNativePointer impl_UpdateETSNullType(KNativePointer context, KNativePointer original)
|
|
10825
11325
|
{
|
|
10826
11326
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10827
11327
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
10828
11328
|
auto result = GetImpl()->UpdateETSNullTypeIr(_context, _original);
|
|
10829
11329
|
return result;
|
|
10830
11330
|
}
|
|
10831
|
-
KOALA_INTEROP_2(
|
|
11331
|
+
KOALA_INTEROP_2(UpdateETSNullType, KNativePointer, KNativePointer, KNativePointer);
|
|
10832
11332
|
|
|
10833
|
-
KNativePointer
|
|
11333
|
+
KNativePointer impl_CreateETSUndefinedType(KNativePointer context)
|
|
10834
11334
|
{
|
|
10835
11335
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10836
11336
|
auto result = GetImpl()->CreateETSUndefinedTypeIr(_context);
|
|
10837
11337
|
return result;
|
|
10838
11338
|
}
|
|
10839
|
-
KOALA_INTEROP_1(
|
|
11339
|
+
KOALA_INTEROP_1(CreateETSUndefinedType, KNativePointer, KNativePointer);
|
|
10840
11340
|
|
|
10841
|
-
KNativePointer
|
|
11341
|
+
KNativePointer impl_UpdateETSUndefinedType(KNativePointer context, KNativePointer original)
|
|
10842
11342
|
{
|
|
10843
11343
|
const auto _context = reinterpret_cast<es2panda_Context*>(context);
|
|
10844
11344
|
const auto _original = reinterpret_cast<es2panda_AstNode*>(original);
|
|
10845
11345
|
auto result = GetImpl()->UpdateETSUndefinedTypeIr(_context, _original);
|
|
10846
11346
|
return result;
|
|
10847
11347
|
}
|
|
10848
|
-
KOALA_INTEROP_2(
|
|
11348
|
+
KOALA_INTEROP_2(UpdateETSUndefinedType, KNativePointer, KNativePointer, KNativePointer);
|
|
10849
11349
|
|
|
10850
11350
|
KNativePointer impl_CreateTypeofExpression(KNativePointer context, KNativePointer argument)
|
|
10851
11351
|
{
|