From 5568664f5c92ef5015e98a70c908996a4180ab7e Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Tue, 26 Aug 2025 14:58:45 +0300 Subject: [PATCH 1/6] Split generated source code Signed-off-by: Nikolay Igotti --- ui2abc/libarkts/{src => }/generated/Es2pandaEnums.ts | 0 .../{src => }/generated/Es2pandaNativeModule.ts | 0 ui2abc/libarkts/{src => }/generated/factory.ts | 2 +- ui2abc/libarkts/{src => }/generated/index.ts | 0 .../{src => }/generated/peers/AnnotatedAstNode.ts | 2 +- .../{src => }/generated/peers/AnnotatedExpression.ts | 2 +- .../{src => }/generated/peers/AnnotatedStatement.ts | 2 +- .../generated/peers/AnnotationDeclaration.ts | 2 +- .../{src => }/generated/peers/AnnotationUsage.ts | 2 +- .../{src => }/generated/peers/ArkTsConfig.ts | 2 +- .../{src => }/generated/peers/ArrayExpression.ts | 2 +- .../generated/peers/ArrowFunctionExpression.ts | 2 +- .../{src => }/generated/peers/AssertStatement.ts | 2 +- .../generated/peers/AssignmentExpression.ts | 2 +- .../libarkts/{src => }/generated/peers/AstDumper.ts | 2 +- .../{src => }/generated/peers/AstVerifier.ts | 2 +- .../libarkts/{src => }/generated/peers/AstVisitor.ts | 2 +- .../{src => }/generated/peers/AwaitExpression.ts | 2 +- .../{src => }/generated/peers/BigIntLiteral.ts | 2 +- .../{src => }/generated/peers/BinaryExpression.ts | 2 +- .../{src => }/generated/peers/BindingProps.ts | 2 +- .../{src => }/generated/peers/BlockExpression.ts | 2 +- .../{src => }/generated/peers/BlockStatement.ts | 2 +- .../{src => }/generated/peers/BooleanLiteral.ts | 2 +- .../{src => }/generated/peers/BreakStatement.ts | 2 +- .../{src => }/generated/peers/CallExpression.ts | 2 +- .../{src => }/generated/peers/CatchClause.ts | 2 +- .../{src => }/generated/peers/ChainExpression.ts | 2 +- .../{src => }/generated/peers/CharLiteral.ts | 2 +- .../{src => }/generated/peers/ClassDeclaration.ts | 2 +- .../{src => }/generated/peers/ClassDefinition.ts | 4 ++-- .../{src => }/generated/peers/ClassElement.ts | 2 +- .../{src => }/generated/peers/ClassExpression.ts | 2 +- .../{src => }/generated/peers/ClassProperty.ts | 2 +- .../{src => }/generated/peers/ClassStaticBlock.ts | 2 +- ui2abc/libarkts/{src => }/generated/peers/CodeGen.ts | 2 +- .../generated/peers/ConditionalExpression.ts | 2 +- .../{src => }/generated/peers/ContinueStatement.ts | 2 +- .../{src => }/generated/peers/DebuggerStatement.ts | 2 +- .../{src => }/generated/peers/Declaration.ts | 2 +- .../libarkts/{src => }/generated/peers/Decorator.ts | 2 +- .../{src => }/generated/peers/DiagnosticInfo.ts | 2 +- .../generated/peers/DirectEvalExpression.ts | 2 +- .../{src => }/generated/peers/DoWhileStatement.ts | 2 +- .../{src => }/generated/peers/DynamicImportData.ts | 2 +- .../{src => }/generated/peers/ETSClassLiteral.ts | 2 +- .../{src => }/generated/peers/ETSFunctionType.ts | 4 ++-- .../generated/peers/ETSImportDeclaration.ts | 2 +- .../{src => }/generated/peers/ETSIntrinsicNode.ts | 2 +- .../{src => }/generated/peers/ETSKeyofType.ts | 2 +- .../libarkts/{src => }/generated/peers/ETSModule.ts | 4 ++-- .../generated/peers/ETSNewArrayInstanceExpression.ts | 2 +- .../generated/peers/ETSNewClassInstanceExpression.ts | 2 +- .../peers/ETSNewMultiDimArrayInstanceExpression.ts | 2 +- .../{src => }/generated/peers/ETSNullType.ts | 2 +- .../generated/peers/ETSPackageDeclaration.ts | 2 +- .../generated/peers/ETSParameterExpression.ts | 2 +- .../{src => }/generated/peers/ETSPrimitiveType.ts | 2 +- .../generated/peers/ETSReExportDeclaration.ts | 2 +- .../generated/peers/ETSStringLiteralType.ts | 2 +- .../generated/peers/ETSStructDeclaration.ts | 2 +- .../libarkts/{src => }/generated/peers/ETSTuple.ts | 2 +- .../{src => }/generated/peers/ETSTypeReference.ts | 2 +- .../generated/peers/ETSTypeReferencePart.ts | 2 +- .../{src => }/generated/peers/ETSUndefinedType.ts | 2 +- .../{src => }/generated/peers/ETSUnionType.ts | 2 +- .../{src => }/generated/peers/ETSWildcardType.ts | 2 +- .../{src => }/generated/peers/EmptyStatement.ts | 2 +- .../{src => }/generated/peers/ErrorLogger.ts | 2 +- .../generated/peers/ExportAllDeclaration.ts | 2 +- .../generated/peers/ExportDefaultDeclaration.ts | 2 +- .../generated/peers/ExportNamedDeclaration.ts | 2 +- .../{src => }/generated/peers/ExportSpecifier.ts | 2 +- .../libarkts/{src => }/generated/peers/Expression.ts | 6 +++--- .../{src => }/generated/peers/ExpressionStatement.ts | 2 +- .../{src => }/generated/peers/ForInStatement.ts | 2 +- .../{src => }/generated/peers/ForOfStatement.ts | 2 +- .../{src => }/generated/peers/ForUpdateStatement.ts | 2 +- .../{src => }/generated/peers/FunctionDeclaration.ts | 2 +- .../{src => }/generated/peers/FunctionExpression.ts | 2 +- .../{src => }/generated/peers/FunctionSignature.ts | 2 +- ui2abc/libarkts/{src => }/generated/peers/IRNode.ts | 2 +- .../libarkts/{src => }/generated/peers/Identifier.ts | 2 +- .../{src => }/generated/peers/IfStatement.ts | 2 +- .../{src => }/generated/peers/ImportDeclaration.ts | 2 +- .../generated/peers/ImportDefaultSpecifier.ts | 2 +- .../{src => }/generated/peers/ImportExpression.ts | 2 +- .../generated/peers/ImportNamespaceSpecifier.ts | 2 +- .../{src => }/generated/peers/ImportSource.ts | 2 +- .../{src => }/generated/peers/ImportSpecifier.ts | 2 +- .../libarkts/{src => }/generated/peers/IndexInfo.ts | 2 +- .../libarkts/{src => }/generated/peers/LabelPair.ts | 2 +- .../{src => }/generated/peers/LabelledStatement.ts | 2 +- ui2abc/libarkts/{src => }/generated/peers/Literal.ts | 2 +- .../{src => }/generated/peers/LoopStatement.ts | 2 +- .../generated/peers/MaybeOptionalExpression.ts | 2 +- .../{src => }/generated/peers/MemberExpression.ts | 2 +- .../{src => }/generated/peers/MetaProperty.ts | 2 +- .../{src => }/generated/peers/MethodDefinition.ts | 6 +++--- .../libarkts/{src => }/generated/peers/NamedType.ts | 2 +- .../{src => }/generated/peers/NewExpression.ts | 2 +- .../{src => }/generated/peers/NullLiteral.ts | 2 +- .../{src => }/generated/peers/NumberLiteral.ts | 4 ++-- .../{src => }/generated/peers/ObjectDescriptor.ts | 2 +- .../{src => }/generated/peers/ObjectExpression.ts | 2 +- .../{src => }/generated/peers/OmittedExpression.ts | 2 +- .../{src => }/generated/peers/OpaqueTypeNode.ts | 2 +- .../{src => }/generated/peers/OverloadDeclaration.ts | 2 +- .../generated/peers/PrefixAssertionExpression.ts | 2 +- ui2abc/libarkts/{src => }/generated/peers/Program.ts | 6 +++--- .../libarkts/{src => }/generated/peers/Property.ts | 2 +- .../{src => }/generated/peers/RegExpLiteral.ts | 2 +- .../{src => }/generated/peers/ReturnStatement.ts | 2 +- .../{src => }/generated/peers/ScopeFindResult.ts | 2 +- .../{src => }/generated/peers/ScriptFunction.ts | 12 ++++++------ .../{src => }/generated/peers/ScriptFunctionData.ts | 2 +- .../{src => }/generated/peers/SequenceExpression.ts | 2 +- .../{src => }/generated/peers/SignatureInfo.ts | 2 +- .../{src => }/generated/peers/SourcePosition.ts | 10 +++++----- .../{src => }/generated/peers/SourceRange.ts | 2 +- .../{src => }/generated/peers/SpreadElement.ts | 2 +- .../libarkts/{src => }/generated/peers/SrcDumper.ts | 2 +- .../libarkts/{src => }/generated/peers/Statement.ts | 2 +- .../{src => }/generated/peers/StringLiteral.ts | 2 +- .../{src => }/generated/peers/SuggestionInfo.ts | 2 +- .../{src => }/generated/peers/SuperExpression.ts | 2 +- .../{src => }/generated/peers/SwitchCaseStatement.ts | 2 +- .../{src => }/generated/peers/SwitchStatement.ts | 2 +- .../{src => }/generated/peers/TSAnyKeyword.ts | 2 +- .../{src => }/generated/peers/TSArrayType.ts | 2 +- .../{src => }/generated/peers/TSAsExpression.ts | 2 +- .../{src => }/generated/peers/TSBigintKeyword.ts | 2 +- .../{src => }/generated/peers/TSBooleanKeyword.ts | 2 +- .../{src => }/generated/peers/TSClassImplements.ts | 2 +- .../{src => }/generated/peers/TSConditionalType.ts | 2 +- .../{src => }/generated/peers/TSConstructorType.ts | 2 +- .../{src => }/generated/peers/TSEnumDeclaration.ts | 2 +- .../{src => }/generated/peers/TSEnumMember.ts | 2 +- .../generated/peers/TSExternalModuleReference.ts | 2 +- .../{src => }/generated/peers/TSFunctionType.ts | 2 +- .../generated/peers/TSImportEqualsDeclaration.ts | 2 +- .../{src => }/generated/peers/TSImportType.ts | 2 +- .../{src => }/generated/peers/TSIndexSignature.ts | 2 +- .../{src => }/generated/peers/TSIndexedAccessType.ts | 2 +- .../{src => }/generated/peers/TSInferType.ts | 2 +- .../{src => }/generated/peers/TSInterfaceBody.ts | 2 +- .../generated/peers/TSInterfaceDeclaration.ts | 2 +- .../{src => }/generated/peers/TSInterfaceHeritage.ts | 2 +- .../{src => }/generated/peers/TSIntersectionType.ts | 2 +- .../{src => }/generated/peers/TSLiteralType.ts | 2 +- .../{src => }/generated/peers/TSMappedType.ts | 2 +- .../{src => }/generated/peers/TSMethodSignature.ts | 2 +- .../{src => }/generated/peers/TSModuleBlock.ts | 2 +- .../{src => }/generated/peers/TSModuleDeclaration.ts | 2 +- .../{src => }/generated/peers/TSNamedTupleMember.ts | 2 +- .../{src => }/generated/peers/TSNeverKeyword.ts | 2 +- .../{src => }/generated/peers/TSNonNullExpression.ts | 2 +- .../{src => }/generated/peers/TSNullKeyword.ts | 2 +- .../{src => }/generated/peers/TSNumberKeyword.ts | 2 +- .../{src => }/generated/peers/TSObjectKeyword.ts | 2 +- .../{src => }/generated/peers/TSParameterProperty.ts | 2 +- .../{src => }/generated/peers/TSParenthesizedType.ts | 2 +- .../{src => }/generated/peers/TSPropertySignature.ts | 2 +- .../{src => }/generated/peers/TSQualifiedName.ts | 2 +- .../generated/peers/TSSignatureDeclaration.ts | 2 +- .../{src => }/generated/peers/TSStringKeyword.ts | 2 +- .../libarkts/{src => }/generated/peers/TSThisType.ts | 2 +- .../{src => }/generated/peers/TSTupleType.ts | 2 +- .../generated/peers/TSTypeAliasDeclaration.ts | 2 +- .../{src => }/generated/peers/TSTypeAssertion.ts | 2 +- .../{src => }/generated/peers/TSTypeLiteral.ts | 2 +- .../{src => }/generated/peers/TSTypeOperator.ts | 2 +- .../{src => }/generated/peers/TSTypeParameter.ts | 2 +- .../generated/peers/TSTypeParameterDeclaration.ts | 2 +- .../generated/peers/TSTypeParameterInstantiation.ts | 2 +- .../{src => }/generated/peers/TSTypePredicate.ts | 2 +- .../{src => }/generated/peers/TSTypeQuery.ts | 2 +- .../{src => }/generated/peers/TSTypeReference.ts | 2 +- .../{src => }/generated/peers/TSUndefinedKeyword.ts | 2 +- .../{src => }/generated/peers/TSUnionType.ts | 2 +- .../{src => }/generated/peers/TSUnknownKeyword.ts | 2 +- .../{src => }/generated/peers/TSVoidKeyword.ts | 2 +- .../generated/peers/TaggedTemplateExpression.ts | 2 +- .../{src => }/generated/peers/TemplateElement.ts | 2 +- .../{src => }/generated/peers/TemplateLiteral.ts | 2 +- .../{src => }/generated/peers/ThisExpression.ts | 2 +- .../{src => }/generated/peers/ThrowStatement.ts | 2 +- .../{src => }/generated/peers/TryStatement.ts | 2 +- .../libarkts/{src => }/generated/peers/TypeNode.ts | 2 +- .../{src => }/generated/peers/TypedAstNode.ts | 2 +- .../{src => }/generated/peers/TypedStatement.ts | 2 +- .../{src => }/generated/peers/TypeofExpression.ts | 2 +- .../{src => }/generated/peers/UnaryExpression.ts | 2 +- .../{src => }/generated/peers/UndefinedLiteral.ts | 2 +- .../{src => }/generated/peers/UpdateExpression.ts | 2 +- ui2abc/libarkts/{src => }/generated/peers/VReg.ts | 2 +- .../{src => }/generated/peers/ValidationInfo.ts | 2 +- .../{src => }/generated/peers/VariableDeclaration.ts | 2 +- .../{src => }/generated/peers/VariableDeclarator.ts | 2 +- .../{src => }/generated/peers/VerificationContext.ts | 2 +- .../{src => }/generated/peers/VerifierMessage.ts | 2 +- .../{src => }/generated/peers/WhileStatement.ts | 2 +- .../{src => }/generated/peers/YieldExpression.ts | 2 +- ui2abc/libarkts/native/meson.build | 2 +- ui2abc/libarkts/package.json | 4 ++-- ui2abc/libarkts/src/Es2pandaNativeModule.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/AbstractVisitor.ts | 2 +- ui2abc/libarkts/src/arkts-api/ImportStorage.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/ProgramProvider.ts | 2 +- ui2abc/libarkts/src/arkts-api/class-by-peer.ts | 2 +- ui2abc/libarkts/src/arkts-api/factory/nodeFactory.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/index.ts | 4 ++-- .../src/arkts-api/node-utilities/ArkTsConfig.ts | 2 +- .../src/arkts-api/node-utilities/ArrayExpression.ts | 4 ++-- .../arkts-api/node-utilities/AssignmentExpression.ts | 4 ++-- .../src/arkts-api/node-utilities/BlockStatement.ts | 2 +- .../src/arkts-api/node-utilities/CallExpression.ts | 2 +- .../src/arkts-api/node-utilities/ClassDefinition.ts | 4 ++-- .../src/arkts-api/node-utilities/ClassProperty.ts | 4 ++-- .../src/arkts-api/node-utilities/ETSFunctionType.ts | 4 ++-- .../arkts-api/node-utilities/ETSImportDeclaration.ts | 4 ++-- .../src/arkts-api/node-utilities/ETSModule.ts | 4 ++-- .../node-utilities/ETSParameterExpression.ts | 2 +- .../arkts-api/node-utilities/ETSStructDeclaration.ts | 2 +- .../src/arkts-api/node-utilities/ETSTuple.ts | 2 +- .../src/arkts-api/node-utilities/MemberExpression.ts | 4 ++-- .../src/arkts-api/node-utilities/MethodDefinition.ts | 4 ++-- .../src/arkts-api/node-utilities/NumberLiteral.ts | 4 ++-- .../src/arkts-api/node-utilities/ObjectExpression.ts | 4 ++-- .../src/arkts-api/node-utilities/OpaqueTypeNode.ts | 4 ++-- .../libarkts/src/arkts-api/node-utilities/Program.ts | 2 +- .../src/arkts-api/node-utilities/ScriptFunction.ts | 4 ++-- .../node-utilities/TSInterfaceDeclaration.ts | 4 ++-- .../src/arkts-api/node-utilities/TSTypeParameter.ts | 4 ++-- .../arkts-api/node-utilities/TSTypeReferencePart.ts | 2 +- .../src/arkts-api/node-utilities/TryStatement.ts | 2 +- .../arkts-api/node-utilities/VariableDeclarator.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/peers/AstNode.ts | 10 +++++----- ui2abc/libarkts/src/arkts-api/peers/Config.ts | 2 +- ui2abc/libarkts/src/arkts-api/peers/Context.ts | 6 +++--- .../libarkts/src/arkts-api/peers/DiagnosticKind.ts | 1 - .../libarkts/src/arkts-api/peers/ExternalSource.ts | 2 +- ui2abc/libarkts/src/arkts-api/peers/Options.ts | 2 +- ui2abc/libarkts/src/arkts-api/plugins.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/static/global.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/static/profiler.ts | 4 ++-- .../libarkts/src/arkts-api/utilities/extensions.ts | 6 +++--- ui2abc/libarkts/src/arkts-api/utilities/private.ts | 2 +- ui2abc/libarkts/src/arkts-api/utilities/public.ts | 10 +++++----- ui2abc/libarkts/src/arkts-api/visitor.ts | 4 ++-- ui2abc/libarkts/src/arkts-api/wrapper-compat.ts | 2 +- ui2abc/libarkts/src/index.ts | 4 ++-- ui2abc/libarkts/src/reexport-for-generated.ts | 2 +- ui2abc/libarkts/src/tracer.ts | 4 ++-- ui2abc/libarkts/tsconfig.json | 5 +++-- 255 files changed, 311 insertions(+), 311 deletions(-) rename ui2abc/libarkts/{src => }/generated/Es2pandaEnums.ts (100%) rename ui2abc/libarkts/{src => }/generated/Es2pandaNativeModule.ts (100%) rename ui2abc/libarkts/{src => }/generated/factory.ts (99%) rename ui2abc/libarkts/{src => }/generated/index.ts (100%) rename ui2abc/libarkts/{src => }/generated/peers/AnnotatedAstNode.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/AnnotatedExpression.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/AnnotatedStatement.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/AnnotationDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/AnnotationUsage.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ArkTsConfig.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ArrayExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ArrowFunctionExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/AssertStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/AssignmentExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/AstDumper.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/AstVerifier.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/AstVisitor.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/AwaitExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/BigIntLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/BinaryExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/BindingProps.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/BlockExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/BlockStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/BooleanLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/BreakStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/CallExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/CatchClause.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ChainExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/CharLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ClassDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ClassDefinition.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ClassElement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ClassExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ClassProperty.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ClassStaticBlock.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/CodeGen.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ConditionalExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ContinueStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/DebuggerStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/Declaration.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/Decorator.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/DiagnosticInfo.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/DirectEvalExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/DoWhileStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/DynamicImportData.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ETSClassLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSFunctionType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSImportDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ETSIntrinsicNode.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSKeyofType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSModule.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/ETSNewArrayInstanceExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSNewClassInstanceExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ETSNullType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSPackageDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSParameterExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ETSPrimitiveType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSReExportDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSStringLiteralType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSStructDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSTuple.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSTypeReference.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSTypeReferencePart.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSUndefinedType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSUnionType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ETSWildcardType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/EmptyStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ErrorLogger.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ExportAllDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ExportDefaultDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ExportNamedDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/ExportSpecifier.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/Expression.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ExpressionStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ForInStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ForOfStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ForUpdateStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/FunctionDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/FunctionExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/FunctionSignature.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/IRNode.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/Identifier.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/IfStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ImportDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ImportDefaultSpecifier.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ImportExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ImportNamespaceSpecifier.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ImportSource.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ImportSpecifier.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/IndexInfo.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/LabelPair.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/LabelledStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/Literal.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/LoopStatement.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/MaybeOptionalExpression.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/MemberExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/MetaProperty.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/MethodDefinition.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/NamedType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/NewExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/NullLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/NumberLiteral.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ObjectDescriptor.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ObjectExpression.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/OmittedExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/OpaqueTypeNode.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/OverloadDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/PrefixAssertionExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/Program.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/Property.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/RegExpLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ReturnStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ScopeFindResult.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ScriptFunction.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ScriptFunctionData.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/SequenceExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/SignatureInfo.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/SourcePosition.ts (76%) rename ui2abc/libarkts/{src => }/generated/peers/SourceRange.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/SpreadElement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/SrcDumper.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/Statement.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/StringLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/SuggestionInfo.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/SuperExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/SwitchCaseStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/SwitchStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSAnyKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSArrayType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSAsExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSBigintKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSBooleanKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSClassImplements.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSConditionalType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSConstructorType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSEnumDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/TSEnumMember.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSExternalModuleReference.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSFunctionType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSImportEqualsDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSImportType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSIndexSignature.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSIndexedAccessType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSInferType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSInterfaceBody.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSInterfaceDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/TSInterfaceHeritage.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSIntersectionType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSLiteralType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSMappedType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSMethodSignature.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSModuleBlock.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSModuleDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSNamedTupleMember.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSNeverKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSNonNullExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSNullKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSNumberKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSObjectKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSParameterProperty.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSParenthesizedType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSPropertySignature.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSQualifiedName.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSSignatureDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSStringKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSThisType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTupleType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeAliasDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeAssertion.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeOperator.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeParameter.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeParameterDeclaration.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeParameterInstantiation.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypePredicate.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeQuery.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSTypeReference.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSUndefinedKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSUnionType.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSUnknownKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TSVoidKeyword.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TaggedTemplateExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TemplateElement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TemplateLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ThisExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/ThrowStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TryStatement.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/TypeNode.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/TypedAstNode.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/TypedStatement.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/TypeofExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/UnaryExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/UndefinedLiteral.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/UpdateExpression.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/VReg.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/ValidationInfo.ts (97%) rename ui2abc/libarkts/{src => }/generated/peers/VariableDeclaration.ts (99%) rename ui2abc/libarkts/{src => }/generated/peers/VariableDeclarator.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/VerificationContext.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/VerifierMessage.ts (96%) rename ui2abc/libarkts/{src => }/generated/peers/WhileStatement.ts (98%) rename ui2abc/libarkts/{src => }/generated/peers/YieldExpression.ts (98%) diff --git a/ui2abc/libarkts/src/generated/Es2pandaEnums.ts b/ui2abc/libarkts/generated/Es2pandaEnums.ts similarity index 100% rename from ui2abc/libarkts/src/generated/Es2pandaEnums.ts rename to ui2abc/libarkts/generated/Es2pandaEnums.ts diff --git a/ui2abc/libarkts/src/generated/Es2pandaNativeModule.ts b/ui2abc/libarkts/generated/Es2pandaNativeModule.ts similarity index 100% rename from ui2abc/libarkts/src/generated/Es2pandaNativeModule.ts rename to ui2abc/libarkts/generated/Es2pandaNativeModule.ts diff --git a/ui2abc/libarkts/src/generated/factory.ts b/ui2abc/libarkts/generated/factory.ts similarity index 99% rename from ui2abc/libarkts/src/generated/factory.ts rename to ui2abc/libarkts/generated/factory.ts index 525c84662..5fb5fc4c1 100644 --- a/ui2abc/libarkts/src/generated/factory.ts +++ b/ui2abc/libarkts/generated/factory.ts @@ -31,7 +31,7 @@ import { isSameNativeObject, unpackString, updateNodeByNode -} from "../reexport-for-generated" +} from "../src/reexport-for-generated" import { AnnotationDeclaration } from "./peers/AnnotationDeclaration" import { AnnotationUsage } from "./peers/AnnotationUsage" diff --git a/ui2abc/libarkts/src/generated/index.ts b/ui2abc/libarkts/generated/index.ts similarity index 100% rename from ui2abc/libarkts/src/generated/index.ts rename to ui2abc/libarkts/generated/index.ts diff --git a/ui2abc/libarkts/src/generated/peers/AnnotatedAstNode.ts b/ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/AnnotatedAstNode.ts rename to ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts index a09bf5e90..ac2dd7078 100644 --- a/ui2abc/libarkts/src/generated/peers/AnnotatedAstNode.ts +++ b/ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/AnnotatedExpression.ts b/ui2abc/libarkts/generated/peers/AnnotatedExpression.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/AnnotatedExpression.ts rename to ui2abc/libarkts/generated/peers/AnnotatedExpression.ts index 17d648aa7..9e7771a48 100644 --- a/ui2abc/libarkts/src/generated/peers/AnnotatedExpression.ts +++ b/ui2abc/libarkts/generated/peers/AnnotatedExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/AnnotatedStatement.ts b/ui2abc/libarkts/generated/peers/AnnotatedStatement.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/AnnotatedStatement.ts rename to ui2abc/libarkts/generated/peers/AnnotatedStatement.ts index 9fda3ad59..b9593ac04 100644 --- a/ui2abc/libarkts/src/generated/peers/AnnotatedStatement.ts +++ b/ui2abc/libarkts/generated/peers/AnnotatedStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/AnnotationDeclaration.ts b/ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/AnnotationDeclaration.ts rename to ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts index a46eba7f4..80bad6333 100644 --- a/ui2abc/libarkts/src/generated/peers/AnnotationDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/AnnotationUsage.ts b/ui2abc/libarkts/generated/peers/AnnotationUsage.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/AnnotationUsage.ts rename to ui2abc/libarkts/generated/peers/AnnotationUsage.ts index 8ba138dc8..8425218a8 100644 --- a/ui2abc/libarkts/src/generated/peers/AnnotationUsage.ts +++ b/ui2abc/libarkts/generated/peers/AnnotationUsage.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ArkTsConfig.ts b/ui2abc/libarkts/generated/peers/ArkTsConfig.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ArkTsConfig.ts rename to ui2abc/libarkts/generated/peers/ArkTsConfig.ts index e83d60b0f..265de29b4 100644 --- a/ui2abc/libarkts/src/generated/peers/ArkTsConfig.ts +++ b/ui2abc/libarkts/generated/peers/ArkTsConfig.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ErrorLogger } from "./ErrorLogger" diff --git a/ui2abc/libarkts/src/generated/peers/ArrayExpression.ts b/ui2abc/libarkts/generated/peers/ArrayExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ArrayExpression.ts rename to ui2abc/libarkts/generated/peers/ArrayExpression.ts index cd9da3187..74d2796a5 100644 --- a/ui2abc/libarkts/src/generated/peers/ArrayExpression.ts +++ b/ui2abc/libarkts/generated/peers/ArrayExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ArrowFunctionExpression.ts b/ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ArrowFunctionExpression.ts rename to ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts index 02f59e097..fd683a2c1 100644 --- a/ui2abc/libarkts/src/generated/peers/ArrowFunctionExpression.ts +++ b/ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/AssertStatement.ts b/ui2abc/libarkts/generated/peers/AssertStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/AssertStatement.ts rename to ui2abc/libarkts/generated/peers/AssertStatement.ts index ef4176923..42fe635e5 100644 --- a/ui2abc/libarkts/src/generated/peers/AssertStatement.ts +++ b/ui2abc/libarkts/generated/peers/AssertStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/AssignmentExpression.ts b/ui2abc/libarkts/generated/peers/AssignmentExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/AssignmentExpression.ts rename to ui2abc/libarkts/generated/peers/AssignmentExpression.ts index b0a38e063..e5347b468 100644 --- a/ui2abc/libarkts/src/generated/peers/AssignmentExpression.ts +++ b/ui2abc/libarkts/generated/peers/AssignmentExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { CodeGen } from "./CodeGen" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/AstDumper.ts b/ui2abc/libarkts/generated/peers/AstDumper.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/AstDumper.ts rename to ui2abc/libarkts/generated/peers/AstDumper.ts index 9612aec17..4632ad25e 100644 --- a/ui2abc/libarkts/src/generated/peers/AstDumper.ts +++ b/ui2abc/libarkts/generated/peers/AstDumper.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class AstDumper extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/AstVerifier.ts b/ui2abc/libarkts/generated/peers/AstVerifier.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/AstVerifier.ts rename to ui2abc/libarkts/generated/peers/AstVerifier.ts index fd8fddab6..5835883d5 100644 --- a/ui2abc/libarkts/src/generated/peers/AstVerifier.ts +++ b/ui2abc/libarkts/generated/peers/AstVerifier.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class AstVerifier extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/AstVisitor.ts b/ui2abc/libarkts/generated/peers/AstVisitor.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/AstVisitor.ts rename to ui2abc/libarkts/generated/peers/AstVisitor.ts index 2818acc6f..6242934e9 100644 --- a/ui2abc/libarkts/src/generated/peers/AstVisitor.ts +++ b/ui2abc/libarkts/generated/peers/AstVisitor.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class AstVisitor extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/AwaitExpression.ts b/ui2abc/libarkts/generated/peers/AwaitExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/AwaitExpression.ts rename to ui2abc/libarkts/generated/peers/AwaitExpression.ts index 32c05749a..b3c2d2bd7 100644 --- a/ui2abc/libarkts/src/generated/peers/AwaitExpression.ts +++ b/ui2abc/libarkts/generated/peers/AwaitExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/BigIntLiteral.ts b/ui2abc/libarkts/generated/peers/BigIntLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/BigIntLiteral.ts rename to ui2abc/libarkts/generated/peers/BigIntLiteral.ts index f4ba04dcf..72f44a499 100644 --- a/ui2abc/libarkts/src/generated/peers/BigIntLiteral.ts +++ b/ui2abc/libarkts/generated/peers/BigIntLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" diff --git a/ui2abc/libarkts/src/generated/peers/BinaryExpression.ts b/ui2abc/libarkts/generated/peers/BinaryExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/BinaryExpression.ts rename to ui2abc/libarkts/generated/peers/BinaryExpression.ts index 84b0372c2..f73aafc58 100644 --- a/ui2abc/libarkts/src/generated/peers/BinaryExpression.ts +++ b/ui2abc/libarkts/generated/peers/BinaryExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { CodeGen } from "./CodeGen" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/BindingProps.ts b/ui2abc/libarkts/generated/peers/BindingProps.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/BindingProps.ts rename to ui2abc/libarkts/generated/peers/BindingProps.ts index 84f9adbbc..137a39524 100644 --- a/ui2abc/libarkts/src/generated/peers/BindingProps.ts +++ b/ui2abc/libarkts/generated/peers/BindingProps.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class BindingProps extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/BlockExpression.ts b/ui2abc/libarkts/generated/peers/BlockExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/BlockExpression.ts rename to ui2abc/libarkts/generated/peers/BlockExpression.ts index 06332d2a5..fff9a2377 100644 --- a/ui2abc/libarkts/src/generated/peers/BlockExpression.ts +++ b/ui2abc/libarkts/generated/peers/BlockExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/BlockStatement.ts b/ui2abc/libarkts/generated/peers/BlockStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/BlockStatement.ts rename to ui2abc/libarkts/generated/peers/BlockStatement.ts index a491e4f21..267fe8ffd 100644 --- a/ui2abc/libarkts/src/generated/peers/BlockStatement.ts +++ b/ui2abc/libarkts/generated/peers/BlockStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/BooleanLiteral.ts b/ui2abc/libarkts/generated/peers/BooleanLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/BooleanLiteral.ts rename to ui2abc/libarkts/generated/peers/BooleanLiteral.ts index 9b3d59c77..2645d34e1 100644 --- a/ui2abc/libarkts/src/generated/peers/BooleanLiteral.ts +++ b/ui2abc/libarkts/generated/peers/BooleanLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" diff --git a/ui2abc/libarkts/src/generated/peers/BreakStatement.ts b/ui2abc/libarkts/generated/peers/BreakStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/BreakStatement.ts rename to ui2abc/libarkts/generated/peers/BreakStatement.ts index eea6ded56..61223382a 100644 --- a/ui2abc/libarkts/src/generated/peers/BreakStatement.ts +++ b/ui2abc/libarkts/generated/peers/BreakStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/CallExpression.ts b/ui2abc/libarkts/generated/peers/CallExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/CallExpression.ts rename to ui2abc/libarkts/generated/peers/CallExpression.ts index b77302d3d..c0ad4b56e 100644 --- a/ui2abc/libarkts/src/generated/peers/CallExpression.ts +++ b/ui2abc/libarkts/generated/peers/CallExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { BlockStatement } from "./BlockStatement" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/CatchClause.ts b/ui2abc/libarkts/generated/peers/CatchClause.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/CatchClause.ts rename to ui2abc/libarkts/generated/peers/CatchClause.ts index 47afa7281..3fa55151b 100644 --- a/ui2abc/libarkts/src/generated/peers/CatchClause.ts +++ b/ui2abc/libarkts/generated/peers/CatchClause.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { BlockStatement } from "./BlockStatement" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ChainExpression.ts b/ui2abc/libarkts/generated/peers/ChainExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ChainExpression.ts rename to ui2abc/libarkts/generated/peers/ChainExpression.ts index d4e80180a..8896701c8 100644 --- a/ui2abc/libarkts/src/generated/peers/ChainExpression.ts +++ b/ui2abc/libarkts/generated/peers/ChainExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { CodeGen } from "./CodeGen" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/CharLiteral.ts b/ui2abc/libarkts/generated/peers/CharLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/CharLiteral.ts rename to ui2abc/libarkts/generated/peers/CharLiteral.ts index 24f62a0f9..96793663f 100644 --- a/ui2abc/libarkts/src/generated/peers/CharLiteral.ts +++ b/ui2abc/libarkts/generated/peers/CharLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" diff --git a/ui2abc/libarkts/src/generated/peers/ClassDeclaration.ts b/ui2abc/libarkts/generated/peers/ClassDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ClassDeclaration.ts rename to ui2abc/libarkts/generated/peers/ClassDeclaration.ts index 98f21426e..3669c5b6d 100644 --- a/ui2abc/libarkts/src/generated/peers/ClassDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ClassDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassDefinition } from "./ClassDefinition" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ClassDefinition.ts b/ui2abc/libarkts/generated/peers/ClassDefinition.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ClassDefinition.ts rename to ui2abc/libarkts/generated/peers/ClassDefinition.ts index e09a9816e..762edc6f5 100644 --- a/ui2abc/libarkts/src/generated/peers/ClassDefinition.ts +++ b/ui2abc/libarkts/generated/peers/ClassDefinition.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { ClassDeclaration } from "./ClassDeclaration" @@ -45,7 +45,7 @@ import { TSEnumDeclaration } from "./TSEnumDeclaration" import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" import { TypedAstNode } from "./TypedAstNode" -import { extension_ClassDefinitionSetBody } from "./../../reexport-for-generated" +import { extension_ClassDefinitionSetBody } from "./../../src/reexport-for-generated" export class ClassDefinition extends TypedAstNode { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/ClassElement.ts b/ui2abc/libarkts/generated/peers/ClassElement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ClassElement.ts rename to ui2abc/libarkts/generated/peers/ClassElement.ts index 250b8e9d7..d6b5e088a 100644 --- a/ui2abc/libarkts/src/generated/peers/ClassElement.ts +++ b/ui2abc/libarkts/generated/peers/ClassElement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ClassExpression.ts b/ui2abc/libarkts/generated/peers/ClassExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ClassExpression.ts rename to ui2abc/libarkts/generated/peers/ClassExpression.ts index 712d842e4..791c86ecb 100644 --- a/ui2abc/libarkts/src/generated/peers/ClassExpression.ts +++ b/ui2abc/libarkts/generated/peers/ClassExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassDefinition } from "./ClassDefinition" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ClassProperty.ts b/ui2abc/libarkts/generated/peers/ClassProperty.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ClassProperty.ts rename to ui2abc/libarkts/generated/peers/ClassProperty.ts index 63208edd0..bd327781a 100644 --- a/ui2abc/libarkts/src/generated/peers/ClassProperty.ts +++ b/ui2abc/libarkts/generated/peers/ClassProperty.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { ClassElement } from "./ClassElement" diff --git a/ui2abc/libarkts/src/generated/peers/ClassStaticBlock.ts b/ui2abc/libarkts/generated/peers/ClassStaticBlock.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ClassStaticBlock.ts rename to ui2abc/libarkts/generated/peers/ClassStaticBlock.ts index 44eaa6357..d36520ecf 100644 --- a/ui2abc/libarkts/src/generated/peers/ClassStaticBlock.ts +++ b/ui2abc/libarkts/generated/peers/ClassStaticBlock.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassElement } from "./ClassElement" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/CodeGen.ts b/ui2abc/libarkts/generated/peers/CodeGen.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/CodeGen.ts rename to ui2abc/libarkts/generated/peers/CodeGen.ts index 09ae2279c..741e8b898 100644 --- a/ui2abc/libarkts/src/generated/peers/CodeGen.ts +++ b/ui2abc/libarkts/generated/peers/CodeGen.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class CodeGen extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ConditionalExpression.ts b/ui2abc/libarkts/generated/peers/ConditionalExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ConditionalExpression.ts rename to ui2abc/libarkts/generated/peers/ConditionalExpression.ts index 02a953b50..e9bdf416c 100644 --- a/ui2abc/libarkts/src/generated/peers/ConditionalExpression.ts +++ b/ui2abc/libarkts/generated/peers/ConditionalExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ContinueStatement.ts b/ui2abc/libarkts/generated/peers/ContinueStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ContinueStatement.ts rename to ui2abc/libarkts/generated/peers/ContinueStatement.ts index f54a2f6dc..fc9efc5de 100644 --- a/ui2abc/libarkts/src/generated/peers/ContinueStatement.ts +++ b/ui2abc/libarkts/generated/peers/ContinueStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/DebuggerStatement.ts b/ui2abc/libarkts/generated/peers/DebuggerStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/DebuggerStatement.ts rename to ui2abc/libarkts/generated/peers/DebuggerStatement.ts index d0e22b473..a776bd4f5 100644 --- a/ui2abc/libarkts/src/generated/peers/DebuggerStatement.ts +++ b/ui2abc/libarkts/generated/peers/DebuggerStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/Declaration.ts b/ui2abc/libarkts/generated/peers/Declaration.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/Declaration.ts rename to ui2abc/libarkts/generated/peers/Declaration.ts index 60a37d2eb..6ada85823 100644 --- a/ui2abc/libarkts/src/generated/peers/Declaration.ts +++ b/ui2abc/libarkts/generated/peers/Declaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class Declaration extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/Decorator.ts b/ui2abc/libarkts/generated/peers/Decorator.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/Decorator.ts rename to ui2abc/libarkts/generated/peers/Decorator.ts index 009b813ce..70fce2e97 100644 --- a/ui2abc/libarkts/src/generated/peers/Decorator.ts +++ b/ui2abc/libarkts/generated/peers/Decorator.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/DiagnosticInfo.ts b/ui2abc/libarkts/generated/peers/DiagnosticInfo.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/DiagnosticInfo.ts rename to ui2abc/libarkts/generated/peers/DiagnosticInfo.ts index 2d05ed51c..95dcc0ab6 100644 --- a/ui2abc/libarkts/src/generated/peers/DiagnosticInfo.ts +++ b/ui2abc/libarkts/generated/peers/DiagnosticInfo.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class DiagnosticInfo extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/DirectEvalExpression.ts b/ui2abc/libarkts/generated/peers/DirectEvalExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/DirectEvalExpression.ts rename to ui2abc/libarkts/generated/peers/DirectEvalExpression.ts index 1e22c7856..4e48bcca5 100644 --- a/ui2abc/libarkts/src/generated/peers/DirectEvalExpression.ts +++ b/ui2abc/libarkts/generated/peers/DirectEvalExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { CallExpression } from "./CallExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/DoWhileStatement.ts b/ui2abc/libarkts/generated/peers/DoWhileStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/DoWhileStatement.ts rename to ui2abc/libarkts/generated/peers/DoWhileStatement.ts index 025ba2357..6bac1ded0 100644 --- a/ui2abc/libarkts/src/generated/peers/DoWhileStatement.ts +++ b/ui2abc/libarkts/generated/peers/DoWhileStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/DynamicImportData.ts b/ui2abc/libarkts/generated/peers/DynamicImportData.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/DynamicImportData.ts rename to ui2abc/libarkts/generated/peers/DynamicImportData.ts index cd9ff2935..5289ba358 100644 --- a/ui2abc/libarkts/src/generated/peers/DynamicImportData.ts +++ b/ui2abc/libarkts/generated/peers/DynamicImportData.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class DynamicImportData extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ETSClassLiteral.ts b/ui2abc/libarkts/generated/peers/ETSClassLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSClassLiteral.ts rename to ui2abc/libarkts/generated/peers/ETSClassLiteral.ts index 585bac367..0d636796f 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSClassLiteral.ts +++ b/ui2abc/libarkts/generated/peers/ETSClassLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSFunctionType.ts b/ui2abc/libarkts/generated/peers/ETSFunctionType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSFunctionType.ts rename to ui2abc/libarkts/generated/peers/ETSFunctionType.ts index 4e4bef40c..cb0f5bf76 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSFunctionType.ts +++ b/ui2abc/libarkts/generated/peers/ETSFunctionType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" @@ -39,7 +39,7 @@ import { FunctionSignature } from "./FunctionSignature" import { TSInterfaceDeclaration } from "./TSInterfaceDeclaration" import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" import { TypeNode } from "./TypeNode" -import { extension_ETSFunctionTypeGetParamsCasted } from "./../../reexport-for-generated" +import { extension_ETSFunctionTypeGetParamsCasted } from "./../../src/reexport-for-generated" export class ETSFunctionType extends TypeNode { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/ETSImportDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ETSImportDeclaration.ts rename to ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts index d6613204c..8be28e1e5 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSImportDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaId } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ETSIntrinsicNode.ts b/ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSIntrinsicNode.ts rename to ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts index d93e82e02..64c020717 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSIntrinsicNode.ts +++ b/ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSKeyofType.ts b/ui2abc/libarkts/generated/peers/ETSKeyofType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSKeyofType.ts rename to ui2abc/libarkts/generated/peers/ETSKeyofType.ts index f14c08913..9187809f9 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSKeyofType.ts +++ b/ui2abc/libarkts/generated/peers/ETSKeyofType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/ETSModule.ts b/ui2abc/libarkts/generated/peers/ETSModule.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/ETSModule.ts rename to ui2abc/libarkts/generated/peers/ETSModule.ts index 467ff652a..f07f97dc5 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSModule.ts +++ b/ui2abc/libarkts/generated/peers/ETSModule.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { BlockStatement } from "./BlockStatement" @@ -40,7 +40,7 @@ import { Identifier } from "./Identifier" import { Program } from "./Program" import { SrcDumper } from "./SrcDumper" import { Statement } from "./Statement" -import { extension_ETSModuleGetNamespaceFlag } from "./../../reexport-for-generated" +import { extension_ETSModuleGetNamespaceFlag } from "./../../src/reexport-for-generated" export class ETSModule extends BlockStatement { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/ETSNewArrayInstanceExpression.ts b/ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSNewArrayInstanceExpression.ts rename to ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts index 4847b1ec2..20d10738c 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSNewArrayInstanceExpression.ts +++ b/ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSNewClassInstanceExpression.ts b/ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ETSNewClassInstanceExpression.ts rename to ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts index f93f948bc..25ebf1da7 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSNewClassInstanceExpression.ts +++ b/ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts b/ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts rename to ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts index 79e1c0b53..93fac6f76 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +++ b/ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSNullType.ts b/ui2abc/libarkts/generated/peers/ETSNullType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSNullType.ts rename to ui2abc/libarkts/generated/peers/ETSNullType.ts index b87457b71..9f29842d9 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSNullType.ts +++ b/ui2abc/libarkts/generated/peers/ETSNullType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/ETSPackageDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSPackageDeclaration.ts rename to ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts index 1ce2e520e..aa2049de1 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSPackageDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSParameterExpression.ts b/ui2abc/libarkts/generated/peers/ETSParameterExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ETSParameterExpression.ts rename to ui2abc/libarkts/generated/peers/ETSParameterExpression.ts index c7a702950..7a9db53c6 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSParameterExpression.ts +++ b/ui2abc/libarkts/generated/peers/ETSParameterExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { AnnotationUsage } from "./AnnotationUsage" diff --git a/ui2abc/libarkts/src/generated/peers/ETSPrimitiveType.ts b/ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSPrimitiveType.ts rename to ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts index b21b8b3ea..20039d358 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSPrimitiveType.ts +++ b/ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaPrimitiveType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ETSReExportDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSReExportDeclaration.ts rename to ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts index 0bed79d2d..659532e76 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSReExportDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ETSImportDeclaration } from "./ETSImportDeclaration" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ETSStringLiteralType.ts b/ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSStringLiteralType.ts rename to ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts index edd85d0f4..a2dc99763 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSStringLiteralType.ts +++ b/ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/ETSStructDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSStructDeclaration.ts rename to ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts index 15ad944d8..cd6d5d282 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSStructDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassDeclaration } from "./ClassDeclaration" import { ClassDefinition } from "./ClassDefinition" diff --git a/ui2abc/libarkts/src/generated/peers/ETSTuple.ts b/ui2abc/libarkts/generated/peers/ETSTuple.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSTuple.ts rename to ui2abc/libarkts/generated/peers/ETSTuple.ts index a515e7e7d..060b483df 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSTuple.ts +++ b/ui2abc/libarkts/generated/peers/ETSTuple.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/ETSTypeReference.ts b/ui2abc/libarkts/generated/peers/ETSTypeReference.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSTypeReference.ts rename to ui2abc/libarkts/generated/peers/ETSTypeReference.ts index dad232614..b05e7df60 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSTypeReference.ts +++ b/ui2abc/libarkts/generated/peers/ETSTypeReference.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ETSTypeReferencePart } from "./ETSTypeReferencePart" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ETSTypeReferencePart.ts b/ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSTypeReferencePart.ts rename to ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts index eb18c3440..7b93fcb41 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSTypeReferencePart.ts +++ b/ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ETSUndefinedType.ts b/ui2abc/libarkts/generated/peers/ETSUndefinedType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSUndefinedType.ts rename to ui2abc/libarkts/generated/peers/ETSUndefinedType.ts index 0386bbfb4..ea9554625 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSUndefinedType.ts +++ b/ui2abc/libarkts/generated/peers/ETSUndefinedType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/ETSUnionType.ts b/ui2abc/libarkts/generated/peers/ETSUnionType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSUnionType.ts rename to ui2abc/libarkts/generated/peers/ETSUnionType.ts index 75a6cc0ff..99cdbb4f5 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSUnionType.ts +++ b/ui2abc/libarkts/generated/peers/ETSUnionType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ETSWildcardType.ts b/ui2abc/libarkts/generated/peers/ETSWildcardType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ETSWildcardType.ts rename to ui2abc/libarkts/generated/peers/ETSWildcardType.ts index e238ed73e..79749b205 100644 --- a/ui2abc/libarkts/src/generated/peers/ETSWildcardType.ts +++ b/ui2abc/libarkts/generated/peers/ETSWildcardType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ETSTypeReference } from "./ETSTypeReference" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/EmptyStatement.ts b/ui2abc/libarkts/generated/peers/EmptyStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/EmptyStatement.ts rename to ui2abc/libarkts/generated/peers/EmptyStatement.ts index 92f9a0659..65018c8a5 100644 --- a/ui2abc/libarkts/src/generated/peers/EmptyStatement.ts +++ b/ui2abc/libarkts/generated/peers/EmptyStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/ErrorLogger.ts b/ui2abc/libarkts/generated/peers/ErrorLogger.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/ErrorLogger.ts rename to ui2abc/libarkts/generated/peers/ErrorLogger.ts index 6c0154125..ad6815681 100644 --- a/ui2abc/libarkts/src/generated/peers/ErrorLogger.ts +++ b/ui2abc/libarkts/generated/peers/ErrorLogger.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class ErrorLogger extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ExportAllDeclaration.ts b/ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ExportAllDeclaration.ts rename to ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts index 4f7a95c55..5e31d6b3b 100644 --- a/ui2abc/libarkts/src/generated/peers/ExportAllDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/ExportDefaultDeclaration.ts b/ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ExportDefaultDeclaration.ts rename to ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts index af89ff1d6..5607e424a 100644 --- a/ui2abc/libarkts/src/generated/peers/ExportDefaultDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/ExportNamedDeclaration.ts b/ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ExportNamedDeclaration.ts rename to ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts index 486601332..5e4f0c469 100644 --- a/ui2abc/libarkts/src/generated/peers/ExportNamedDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { ExportSpecifier } from "./ExportSpecifier" diff --git a/ui2abc/libarkts/src/generated/peers/ExportSpecifier.ts b/ui2abc/libarkts/generated/peers/ExportSpecifier.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ExportSpecifier.ts rename to ui2abc/libarkts/generated/peers/ExportSpecifier.ts index afd08dbec..2dbbb5c68 100644 --- a/ui2abc/libarkts/src/generated/peers/ExportSpecifier.ts +++ b/ui2abc/libarkts/generated/peers/ExportSpecifier.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/Expression.ts b/ui2abc/libarkts/generated/peers/Expression.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/Expression.ts rename to ui2abc/libarkts/generated/peers/Expression.ts index 0962704a8..12559749f 100644 --- a/ui2abc/libarkts/src/generated/peers/Expression.ts +++ b/ui2abc/libarkts/generated/peers/Expression.ts @@ -29,15 +29,15 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" import { TypeNode } from "./TypeNode" import { TypedAstNode } from "./TypedAstNode" -import { extension_ExpressionGetPreferredTypePointer } from "./../../reexport-for-generated" -import { extension_ExpressionSetPreferredTypePointer } from "./../../reexport-for-generated" +import { extension_ExpressionGetPreferredTypePointer } from "./../../src/reexport-for-generated" +import { extension_ExpressionSetPreferredTypePointer } from "./../../src/reexport-for-generated" export class Expression extends TypedAstNode { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/ExpressionStatement.ts b/ui2abc/libarkts/generated/peers/ExpressionStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ExpressionStatement.ts rename to ui2abc/libarkts/generated/peers/ExpressionStatement.ts index 65fdc91df..f782e13b2 100644 --- a/ui2abc/libarkts/src/generated/peers/ExpressionStatement.ts +++ b/ui2abc/libarkts/generated/peers/ExpressionStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ForInStatement.ts b/ui2abc/libarkts/generated/peers/ForInStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ForInStatement.ts rename to ui2abc/libarkts/generated/peers/ForInStatement.ts index aebd0f8aa..19d7eeb8b 100644 --- a/ui2abc/libarkts/src/generated/peers/ForInStatement.ts +++ b/ui2abc/libarkts/generated/peers/ForInStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ForOfStatement.ts b/ui2abc/libarkts/generated/peers/ForOfStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ForOfStatement.ts rename to ui2abc/libarkts/generated/peers/ForOfStatement.ts index 7939ee6ca..893b9e12e 100644 --- a/ui2abc/libarkts/src/generated/peers/ForOfStatement.ts +++ b/ui2abc/libarkts/generated/peers/ForOfStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ForUpdateStatement.ts b/ui2abc/libarkts/generated/peers/ForUpdateStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ForUpdateStatement.ts rename to ui2abc/libarkts/generated/peers/ForUpdateStatement.ts index 64c60c020..4ef3dd323 100644 --- a/ui2abc/libarkts/src/generated/peers/ForUpdateStatement.ts +++ b/ui2abc/libarkts/generated/peers/ForUpdateStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/FunctionDeclaration.ts b/ui2abc/libarkts/generated/peers/FunctionDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/FunctionDeclaration.ts rename to ui2abc/libarkts/generated/peers/FunctionDeclaration.ts index 557246ff1..1de470d32 100644 --- a/ui2abc/libarkts/src/generated/peers/FunctionDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/FunctionDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/FunctionExpression.ts b/ui2abc/libarkts/generated/peers/FunctionExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/FunctionExpression.ts rename to ui2abc/libarkts/generated/peers/FunctionExpression.ts index bdef29db0..d7f0c0a08 100644 --- a/ui2abc/libarkts/src/generated/peers/FunctionExpression.ts +++ b/ui2abc/libarkts/generated/peers/FunctionExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/FunctionSignature.ts b/ui2abc/libarkts/generated/peers/FunctionSignature.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/FunctionSignature.ts rename to ui2abc/libarkts/generated/peers/FunctionSignature.ts index d32c791ce..40054bdcc 100644 --- a/ui2abc/libarkts/src/generated/peers/FunctionSignature.ts +++ b/ui2abc/libarkts/generated/peers/FunctionSignature.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/IRNode.ts b/ui2abc/libarkts/generated/peers/IRNode.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/IRNode.ts rename to ui2abc/libarkts/generated/peers/IRNode.ts index ae87157b3..6edf38059 100644 --- a/ui2abc/libarkts/src/generated/peers/IRNode.ts +++ b/ui2abc/libarkts/generated/peers/IRNode.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class IRNode extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/Identifier.ts b/ui2abc/libarkts/generated/peers/Identifier.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/Identifier.ts rename to ui2abc/libarkts/generated/peers/Identifier.ts index a51a67360..47098e9ea 100644 --- a/ui2abc/libarkts/src/generated/peers/Identifier.ts +++ b/ui2abc/libarkts/generated/peers/Identifier.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/IfStatement.ts b/ui2abc/libarkts/generated/peers/IfStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/IfStatement.ts rename to ui2abc/libarkts/generated/peers/IfStatement.ts index 09b198323..3cbe3244f 100644 --- a/ui2abc/libarkts/src/generated/peers/IfStatement.ts +++ b/ui2abc/libarkts/generated/peers/IfStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ImportDeclaration.ts b/ui2abc/libarkts/generated/peers/ImportDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ImportDeclaration.ts rename to ui2abc/libarkts/generated/peers/ImportDeclaration.ts index b4bf0109c..002680527 100644 --- a/ui2abc/libarkts/src/generated/peers/ImportDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/ImportDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaImportKinds } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ImportDefaultSpecifier.ts b/ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ImportDefaultSpecifier.ts rename to ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts index 16674e557..2854e5f8a 100644 --- a/ui2abc/libarkts/src/generated/peers/ImportDefaultSpecifier.ts +++ b/ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/ImportExpression.ts b/ui2abc/libarkts/generated/peers/ImportExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ImportExpression.ts rename to ui2abc/libarkts/generated/peers/ImportExpression.ts index cca5bb17b..cdeb69990 100644 --- a/ui2abc/libarkts/src/generated/peers/ImportExpression.ts +++ b/ui2abc/libarkts/generated/peers/ImportExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ImportNamespaceSpecifier.ts b/ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ImportNamespaceSpecifier.ts rename to ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts index eb95a1dff..ef080ef09 100644 --- a/ui2abc/libarkts/src/generated/peers/ImportNamespaceSpecifier.ts +++ b/ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/ImportSource.ts b/ui2abc/libarkts/generated/peers/ImportSource.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/ImportSource.ts rename to ui2abc/libarkts/generated/peers/ImportSource.ts index 829df4240..c9cb38624 100644 --- a/ui2abc/libarkts/src/generated/peers/ImportSource.ts +++ b/ui2abc/libarkts/generated/peers/ImportSource.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class ImportSource extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ImportSpecifier.ts b/ui2abc/libarkts/generated/peers/ImportSpecifier.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ImportSpecifier.ts rename to ui2abc/libarkts/generated/peers/ImportSpecifier.ts index 40c785d23..d9bac45d9 100644 --- a/ui2abc/libarkts/src/generated/peers/ImportSpecifier.ts +++ b/ui2abc/libarkts/generated/peers/ImportSpecifier.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/IndexInfo.ts b/ui2abc/libarkts/generated/peers/IndexInfo.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/IndexInfo.ts rename to ui2abc/libarkts/generated/peers/IndexInfo.ts index 4d9c38762..676292db7 100644 --- a/ui2abc/libarkts/src/generated/peers/IndexInfo.ts +++ b/ui2abc/libarkts/generated/peers/IndexInfo.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class IndexInfo extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/LabelPair.ts b/ui2abc/libarkts/generated/peers/LabelPair.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/LabelPair.ts rename to ui2abc/libarkts/generated/peers/LabelPair.ts index 5f1808500..d19b886fa 100644 --- a/ui2abc/libarkts/src/generated/peers/LabelPair.ts +++ b/ui2abc/libarkts/generated/peers/LabelPair.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class LabelPair extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/LabelledStatement.ts b/ui2abc/libarkts/generated/peers/LabelledStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/LabelledStatement.ts rename to ui2abc/libarkts/generated/peers/LabelledStatement.ts index 8d9392aea..d7b1986fd 100644 --- a/ui2abc/libarkts/src/generated/peers/LabelledStatement.ts +++ b/ui2abc/libarkts/generated/peers/LabelledStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/Literal.ts b/ui2abc/libarkts/generated/peers/Literal.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/Literal.ts rename to ui2abc/libarkts/generated/peers/Literal.ts index b672e1f14..d820fd49c 100644 --- a/ui2abc/libarkts/src/generated/peers/Literal.ts +++ b/ui2abc/libarkts/generated/peers/Literal.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/LoopStatement.ts b/ui2abc/libarkts/generated/peers/LoopStatement.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/LoopStatement.ts rename to ui2abc/libarkts/generated/peers/LoopStatement.ts index 736a461fa..20ea1e059 100644 --- a/ui2abc/libarkts/src/generated/peers/LoopStatement.ts +++ b/ui2abc/libarkts/generated/peers/LoopStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/MaybeOptionalExpression.ts b/ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/MaybeOptionalExpression.ts rename to ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts index e596064d0..20f9e2715 100644 --- a/ui2abc/libarkts/src/generated/peers/MaybeOptionalExpression.ts +++ b/ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/MemberExpression.ts b/ui2abc/libarkts/generated/peers/MemberExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/MemberExpression.ts rename to ui2abc/libarkts/generated/peers/MemberExpression.ts index 2a7b3c4ba..7d220a35a 100644 --- a/ui2abc/libarkts/src/generated/peers/MemberExpression.ts +++ b/ui2abc/libarkts/generated/peers/MemberExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { CodeGen } from "./CodeGen" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/MetaProperty.ts b/ui2abc/libarkts/generated/peers/MetaProperty.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/MetaProperty.ts rename to ui2abc/libarkts/generated/peers/MetaProperty.ts index ac3438347..8a4243e15 100644 --- a/ui2abc/libarkts/src/generated/peers/MetaProperty.ts +++ b/ui2abc/libarkts/generated/peers/MetaProperty.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaMetaPropertyKind } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/MethodDefinition.ts b/ui2abc/libarkts/generated/peers/MethodDefinition.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/MethodDefinition.ts rename to ui2abc/libarkts/generated/peers/MethodDefinition.ts index 774a08e47..4e62c9f4b 100644 --- a/ui2abc/libarkts/src/generated/peers/MethodDefinition.ts +++ b/ui2abc/libarkts/generated/peers/MethodDefinition.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassElement } from "./ClassElement" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" @@ -37,8 +37,8 @@ import { Es2pandaMethodDefinitionKind } from "./../Es2pandaEnums" import { Es2pandaModifierFlags } from "./../Es2pandaEnums" import { Expression } from "./Expression" import { ScriptFunction } from "./ScriptFunction" -import { extension_MethodDefinitionOnUpdate } from "./../../reexport-for-generated" -import { extension_MethodDefinitionSetChildrenParentPtr } from "./../../reexport-for-generated" +import { extension_MethodDefinitionOnUpdate } from "./../../src/reexport-for-generated" +import { extension_MethodDefinitionSetChildrenParentPtr } from "./../../src/reexport-for-generated" export class MethodDefinition extends ClassElement { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/NamedType.ts b/ui2abc/libarkts/generated/peers/NamedType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/NamedType.ts rename to ui2abc/libarkts/generated/peers/NamedType.ts index 39afe65a8..4ad356980 100644 --- a/ui2abc/libarkts/src/generated/peers/NamedType.ts +++ b/ui2abc/libarkts/generated/peers/NamedType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Identifier } from "./Identifier" diff --git a/ui2abc/libarkts/src/generated/peers/NewExpression.ts b/ui2abc/libarkts/generated/peers/NewExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/NewExpression.ts rename to ui2abc/libarkts/generated/peers/NewExpression.ts index f0f47d1fc..d0acbbde8 100644 --- a/ui2abc/libarkts/src/generated/peers/NewExpression.ts +++ b/ui2abc/libarkts/generated/peers/NewExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/NullLiteral.ts b/ui2abc/libarkts/generated/peers/NullLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/NullLiteral.ts rename to ui2abc/libarkts/generated/peers/NullLiteral.ts index 6d35895c0..8370946c9 100644 --- a/ui2abc/libarkts/src/generated/peers/NullLiteral.ts +++ b/ui2abc/libarkts/generated/peers/NullLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" diff --git a/ui2abc/libarkts/src/generated/peers/NumberLiteral.ts b/ui2abc/libarkts/generated/peers/NumberLiteral.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/NumberLiteral.ts rename to ui2abc/libarkts/generated/peers/NumberLiteral.ts index 78abed171..f0cf17e35 100644 --- a/ui2abc/libarkts/src/generated/peers/NumberLiteral.ts +++ b/ui2abc/libarkts/generated/peers/NumberLiteral.ts @@ -29,11 +29,11 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" -import { extension_NumberLiteralValue } from "./../../reexport-for-generated" +import { extension_NumberLiteralValue } from "./../../src/reexport-for-generated" export class NumberLiteral extends Literal { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/ObjectDescriptor.ts b/ui2abc/libarkts/generated/peers/ObjectDescriptor.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/ObjectDescriptor.ts rename to ui2abc/libarkts/generated/peers/ObjectDescriptor.ts index 34879f02e..1d35caa74 100644 --- a/ui2abc/libarkts/src/generated/peers/ObjectDescriptor.ts +++ b/ui2abc/libarkts/generated/peers/ObjectDescriptor.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class ObjectDescriptor extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ObjectExpression.ts b/ui2abc/libarkts/generated/peers/ObjectExpression.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/ObjectExpression.ts rename to ui2abc/libarkts/generated/peers/ObjectExpression.ts index 261bc576a..de966dca5 100644 --- a/ui2abc/libarkts/src/generated/peers/ObjectExpression.ts +++ b/ui2abc/libarkts/generated/peers/ObjectExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/OmittedExpression.ts b/ui2abc/libarkts/generated/peers/OmittedExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/OmittedExpression.ts rename to ui2abc/libarkts/generated/peers/OmittedExpression.ts index b4fb97e1d..0fbc4dc9e 100644 --- a/ui2abc/libarkts/src/generated/peers/OmittedExpression.ts +++ b/ui2abc/libarkts/generated/peers/OmittedExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/OpaqueTypeNode.ts b/ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/OpaqueTypeNode.ts rename to ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts index 94f19ec52..4e28d9b45 100644 --- a/ui2abc/libarkts/src/generated/peers/OpaqueTypeNode.ts +++ b/ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/OverloadDeclaration.ts b/ui2abc/libarkts/generated/peers/OverloadDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/OverloadDeclaration.ts rename to ui2abc/libarkts/generated/peers/OverloadDeclaration.ts index 41a7dcb2f..3f6389ddc 100644 --- a/ui2abc/libarkts/src/generated/peers/OverloadDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/OverloadDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassElement } from "./ClassElement" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/PrefixAssertionExpression.ts b/ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/PrefixAssertionExpression.ts rename to ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts index 0147a9f19..3c1cb61a6 100644 --- a/ui2abc/libarkts/src/generated/peers/PrefixAssertionExpression.ts +++ b/ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/Program.ts b/ui2abc/libarkts/generated/peers/Program.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/Program.ts rename to ui2abc/libarkts/generated/peers/Program.ts index d2fba6d5f..a40446a8f 100644 --- a/ui2abc/libarkts/src/generated/peers/Program.ts +++ b/ui2abc/libarkts/generated/peers/Program.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { BlockStatement } from "./BlockStatement" import { ClassDefinition } from "./ClassDefinition" @@ -38,8 +38,8 @@ import { Es2pandaModuleKind } from "./../Es2pandaEnums" import { Es2pandaProgramFlags } from "./../Es2pandaEnums" import { Es2pandaScriptKind } from "./../Es2pandaEnums" import { SourcePosition } from "./SourcePosition" -import { extension_ProgramGetAstCasted } from "./../../reexport-for-generated" -import { extension_ProgramGetExternalSources } from "./../../reexport-for-generated" +import { extension_ProgramGetAstCasted } from "./../../src/reexport-for-generated" +import { extension_ProgramGetExternalSources } from "./../../src/reexport-for-generated" export class Program extends ArktsObject { constructor(pointer: KNativePointer) { diff --git a/ui2abc/libarkts/src/generated/peers/Property.ts b/ui2abc/libarkts/generated/peers/Property.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/Property.ts rename to ui2abc/libarkts/generated/peers/Property.ts index 06d96746b..683120177 100644 --- a/ui2abc/libarkts/src/generated/peers/Property.ts +++ b/ui2abc/libarkts/generated/peers/Property.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaPropertyKind } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/RegExpLiteral.ts b/ui2abc/libarkts/generated/peers/RegExpLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/RegExpLiteral.ts rename to ui2abc/libarkts/generated/peers/RegExpLiteral.ts index 8c14c8eff..d97a0930a 100644 --- a/ui2abc/libarkts/src/generated/peers/RegExpLiteral.ts +++ b/ui2abc/libarkts/generated/peers/RegExpLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaRegExpFlags } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/ReturnStatement.ts b/ui2abc/libarkts/generated/peers/ReturnStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ReturnStatement.ts rename to ui2abc/libarkts/generated/peers/ReturnStatement.ts index ebdfa6310..15b24f88f 100644 --- a/ui2abc/libarkts/src/generated/peers/ReturnStatement.ts +++ b/ui2abc/libarkts/generated/peers/ReturnStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ScopeFindResult.ts b/ui2abc/libarkts/generated/peers/ScopeFindResult.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/ScopeFindResult.ts rename to ui2abc/libarkts/generated/peers/ScopeFindResult.ts index 0a020c4ba..4f1e58cda 100644 --- a/ui2abc/libarkts/src/generated/peers/ScopeFindResult.ts +++ b/ui2abc/libarkts/generated/peers/ScopeFindResult.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class ScopeFindResult extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ScriptFunction.ts b/ui2abc/libarkts/generated/peers/ScriptFunction.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ScriptFunction.ts rename to ui2abc/libarkts/generated/peers/ScriptFunction.ts index 24f262a3e..8876965d7 100644 --- a/ui2abc/libarkts/src/generated/peers/ScriptFunction.ts +++ b/ui2abc/libarkts/generated/peers/ScriptFunction.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" @@ -41,11 +41,11 @@ import { ReturnStatement } from "./ReturnStatement" import { SrcDumper } from "./SrcDumper" import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" import { TypeNode } from "./TypeNode" -import { extension_ScriptFunctionGetParamsCasted } from "./../../reexport-for-generated" -import { extension_ScriptFunctionGetPreferredReturnTypePointer } from "./../../reexport-for-generated" -import { extension_ScriptFunctionGetSignaturePointer } from "./../../reexport-for-generated" -import { extension_ScriptFunctionSetPreferredReturnTypePointer } from "./../../reexport-for-generated" -import { extension_ScriptFunctionSetSignaturePointer } from "./../../reexport-for-generated" +import { extension_ScriptFunctionGetParamsCasted } from "./../../src/reexport-for-generated" +import { extension_ScriptFunctionGetPreferredReturnTypePointer } from "./../../src/reexport-for-generated" +import { extension_ScriptFunctionGetSignaturePointer } from "./../../src/reexport-for-generated" +import { extension_ScriptFunctionSetPreferredReturnTypePointer } from "./../../src/reexport-for-generated" +import { extension_ScriptFunctionSetSignaturePointer } from "./../../src/reexport-for-generated" export class ScriptFunction extends AstNode { constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { diff --git a/ui2abc/libarkts/src/generated/peers/ScriptFunctionData.ts b/ui2abc/libarkts/generated/peers/ScriptFunctionData.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/ScriptFunctionData.ts rename to ui2abc/libarkts/generated/peers/ScriptFunctionData.ts index 212091b3d..b952e7339 100644 --- a/ui2abc/libarkts/src/generated/peers/ScriptFunctionData.ts +++ b/ui2abc/libarkts/generated/peers/ScriptFunctionData.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class ScriptFunctionData extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/SequenceExpression.ts b/ui2abc/libarkts/generated/peers/SequenceExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/SequenceExpression.ts rename to ui2abc/libarkts/generated/peers/SequenceExpression.ts index 5c186d1a7..0ec6c2778 100644 --- a/ui2abc/libarkts/src/generated/peers/SequenceExpression.ts +++ b/ui2abc/libarkts/generated/peers/SequenceExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/SignatureInfo.ts b/ui2abc/libarkts/generated/peers/SignatureInfo.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/SignatureInfo.ts rename to ui2abc/libarkts/generated/peers/SignatureInfo.ts index b6ed33456..d060e7bdb 100644 --- a/ui2abc/libarkts/src/generated/peers/SignatureInfo.ts +++ b/ui2abc/libarkts/generated/peers/SignatureInfo.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class SignatureInfo extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/SourcePosition.ts b/ui2abc/libarkts/generated/peers/SourcePosition.ts similarity index 76% rename from ui2abc/libarkts/src/generated/peers/SourcePosition.ts rename to ui2abc/libarkts/generated/peers/SourcePosition.ts index a9c687707..937ea69e7 100644 --- a/ui2abc/libarkts/src/generated/peers/SourcePosition.ts +++ b/ui2abc/libarkts/generated/peers/SourcePosition.ts @@ -29,12 +29,12 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" -import { extension_SourcePositionGetCol } from "./../../reexport-for-generated" -import { extension_SourcePositionGetIndex } from "./../../reexport-for-generated" -import { extension_SourcePositionGetLine } from "./../../reexport-for-generated" -import { extension_SourcePositionToString } from "./../../reexport-for-generated" +import { extension_SourcePositionGetCol } from "./../../src/reexport-for-generated" +import { extension_SourcePositionGetIndex } from "./../../src/reexport-for-generated" +import { extension_SourcePositionGetLine } from "./../../src/reexport-for-generated" +import { extension_SourcePositionToString } from "./../../src/reexport-for-generated" export class SourcePosition extends ArktsObject { constructor(pointer: KNativePointer) { diff --git a/ui2abc/libarkts/src/generated/peers/SourceRange.ts b/ui2abc/libarkts/generated/peers/SourceRange.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/SourceRange.ts rename to ui2abc/libarkts/generated/peers/SourceRange.ts index 53846a214..6280ece9c 100644 --- a/ui2abc/libarkts/src/generated/peers/SourceRange.ts +++ b/ui2abc/libarkts/generated/peers/SourceRange.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class SourceRange extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/SpreadElement.ts b/ui2abc/libarkts/generated/peers/SpreadElement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/SpreadElement.ts rename to ui2abc/libarkts/generated/peers/SpreadElement.ts index 03bab3849..a845fa6b2 100644 --- a/ui2abc/libarkts/src/generated/peers/SpreadElement.ts +++ b/ui2abc/libarkts/generated/peers/SpreadElement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/SrcDumper.ts b/ui2abc/libarkts/generated/peers/SrcDumper.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/SrcDumper.ts rename to ui2abc/libarkts/generated/peers/SrcDumper.ts index f47bd3405..e78938785 100644 --- a/ui2abc/libarkts/src/generated/peers/SrcDumper.ts +++ b/ui2abc/libarkts/generated/peers/SrcDumper.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class SrcDumper extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/Statement.ts b/ui2abc/libarkts/generated/peers/Statement.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/Statement.ts rename to ui2abc/libarkts/generated/peers/Statement.ts index fb6fc4bdb..3a9506f57 100644 --- a/ui2abc/libarkts/src/generated/peers/Statement.ts +++ b/ui2abc/libarkts/generated/peers/Statement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/StringLiteral.ts b/ui2abc/libarkts/generated/peers/StringLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/StringLiteral.ts rename to ui2abc/libarkts/generated/peers/StringLiteral.ts index 432f2cc28..01f4e502d 100644 --- a/ui2abc/libarkts/src/generated/peers/StringLiteral.ts +++ b/ui2abc/libarkts/generated/peers/StringLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" diff --git a/ui2abc/libarkts/src/generated/peers/SuggestionInfo.ts b/ui2abc/libarkts/generated/peers/SuggestionInfo.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/SuggestionInfo.ts rename to ui2abc/libarkts/generated/peers/SuggestionInfo.ts index 76da087ba..1ad7edcc0 100644 --- a/ui2abc/libarkts/src/generated/peers/SuggestionInfo.ts +++ b/ui2abc/libarkts/generated/peers/SuggestionInfo.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class SuggestionInfo extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/SuperExpression.ts b/ui2abc/libarkts/generated/peers/SuperExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/SuperExpression.ts rename to ui2abc/libarkts/generated/peers/SuperExpression.ts index 6a91c6084..abe73947f 100644 --- a/ui2abc/libarkts/src/generated/peers/SuperExpression.ts +++ b/ui2abc/libarkts/generated/peers/SuperExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/SwitchCaseStatement.ts b/ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/SwitchCaseStatement.ts rename to ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts index fcf372574..05a3e5773 100644 --- a/ui2abc/libarkts/src/generated/peers/SwitchCaseStatement.ts +++ b/ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/SwitchStatement.ts b/ui2abc/libarkts/generated/peers/SwitchStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/SwitchStatement.ts rename to ui2abc/libarkts/generated/peers/SwitchStatement.ts index 650063313..dfbfd1f17 100644 --- a/ui2abc/libarkts/src/generated/peers/SwitchStatement.ts +++ b/ui2abc/libarkts/generated/peers/SwitchStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSAnyKeyword.ts b/ui2abc/libarkts/generated/peers/TSAnyKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSAnyKeyword.ts rename to ui2abc/libarkts/generated/peers/TSAnyKeyword.ts index c5deb2883..9d0652d00 100644 --- a/ui2abc/libarkts/src/generated/peers/TSAnyKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSAnyKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSArrayType.ts b/ui2abc/libarkts/generated/peers/TSArrayType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSArrayType.ts rename to ui2abc/libarkts/generated/peers/TSArrayType.ts index f99612628..9905d0bba 100644 --- a/ui2abc/libarkts/src/generated/peers/TSArrayType.ts +++ b/ui2abc/libarkts/generated/peers/TSArrayType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSAsExpression.ts b/ui2abc/libarkts/generated/peers/TSAsExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSAsExpression.ts rename to ui2abc/libarkts/generated/peers/TSAsExpression.ts index e26fd1bb6..a19faffd7 100644 --- a/ui2abc/libarkts/src/generated/peers/TSAsExpression.ts +++ b/ui2abc/libarkts/generated/peers/TSAsExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSBigintKeyword.ts b/ui2abc/libarkts/generated/peers/TSBigintKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSBigintKeyword.ts rename to ui2abc/libarkts/generated/peers/TSBigintKeyword.ts index 0cdcbb0b1..239e22fa3 100644 --- a/ui2abc/libarkts/src/generated/peers/TSBigintKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSBigintKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSBooleanKeyword.ts b/ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSBooleanKeyword.ts rename to ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts index 4e485fc17..6ed71c012 100644 --- a/ui2abc/libarkts/src/generated/peers/TSBooleanKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSClassImplements.ts b/ui2abc/libarkts/generated/peers/TSClassImplements.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSClassImplements.ts rename to ui2abc/libarkts/generated/peers/TSClassImplements.ts index e521f8dc1..af746b743 100644 --- a/ui2abc/libarkts/src/generated/peers/TSClassImplements.ts +++ b/ui2abc/libarkts/generated/peers/TSClassImplements.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSConditionalType.ts b/ui2abc/libarkts/generated/peers/TSConditionalType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSConditionalType.ts rename to ui2abc/libarkts/generated/peers/TSConditionalType.ts index c035d98f3..a899da948 100644 --- a/ui2abc/libarkts/src/generated/peers/TSConditionalType.ts +++ b/ui2abc/libarkts/generated/peers/TSConditionalType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSConstructorType.ts b/ui2abc/libarkts/generated/peers/TSConstructorType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSConstructorType.ts rename to ui2abc/libarkts/generated/peers/TSConstructorType.ts index a401d2772..334c2ac52 100644 --- a/ui2abc/libarkts/src/generated/peers/TSConstructorType.ts +++ b/ui2abc/libarkts/generated/peers/TSConstructorType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSEnumDeclaration.ts b/ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/TSEnumDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts index d9fd22807..58f07c4e5 100644 --- a/ui2abc/libarkts/src/generated/peers/TSEnumDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { ClassDefinition } from "./ClassDefinition" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSEnumMember.ts b/ui2abc/libarkts/generated/peers/TSEnumMember.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSEnumMember.ts rename to ui2abc/libarkts/generated/peers/TSEnumMember.ts index 04a780e1e..d4e5988a1 100644 --- a/ui2abc/libarkts/src/generated/peers/TSEnumMember.ts +++ b/ui2abc/libarkts/generated/peers/TSEnumMember.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSExternalModuleReference.ts b/ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSExternalModuleReference.ts rename to ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts index a0b8f966e..3e17fefb3 100644 --- a/ui2abc/libarkts/src/generated/peers/TSExternalModuleReference.ts +++ b/ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSFunctionType.ts b/ui2abc/libarkts/generated/peers/TSFunctionType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSFunctionType.ts rename to ui2abc/libarkts/generated/peers/TSFunctionType.ts index 7ced20145..632c1114c 100644 --- a/ui2abc/libarkts/src/generated/peers/TSFunctionType.ts +++ b/ui2abc/libarkts/generated/peers/TSFunctionType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSImportEqualsDeclaration.ts b/ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSImportEqualsDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts index 9e829accd..df474d20b 100644 --- a/ui2abc/libarkts/src/generated/peers/TSImportEqualsDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSImportType.ts b/ui2abc/libarkts/generated/peers/TSImportType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSImportType.ts rename to ui2abc/libarkts/generated/peers/TSImportType.ts index d99480045..b4afc496e 100644 --- a/ui2abc/libarkts/src/generated/peers/TSImportType.ts +++ b/ui2abc/libarkts/generated/peers/TSImportType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSIndexSignature.ts b/ui2abc/libarkts/generated/peers/TSIndexSignature.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSIndexSignature.ts rename to ui2abc/libarkts/generated/peers/TSIndexSignature.ts index 0c451f4a1..d9d622e28 100644 --- a/ui2abc/libarkts/src/generated/peers/TSIndexSignature.ts +++ b/ui2abc/libarkts/generated/peers/TSIndexSignature.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaTSIndexSignatureKind } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSIndexedAccessType.ts b/ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSIndexedAccessType.ts rename to ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts index 9f0bf28a5..cc57e1438 100644 --- a/ui2abc/libarkts/src/generated/peers/TSIndexedAccessType.ts +++ b/ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSInferType.ts b/ui2abc/libarkts/generated/peers/TSInferType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSInferType.ts rename to ui2abc/libarkts/generated/peers/TSInferType.ts index 915d6119e..66348cec6 100644 --- a/ui2abc/libarkts/src/generated/peers/TSInferType.ts +++ b/ui2abc/libarkts/generated/peers/TSInferType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TSTypeParameter } from "./TSTypeParameter" diff --git a/ui2abc/libarkts/src/generated/peers/TSInterfaceBody.ts b/ui2abc/libarkts/generated/peers/TSInterfaceBody.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSInterfaceBody.ts rename to ui2abc/libarkts/generated/peers/TSInterfaceBody.ts index 65265d490..e27a6e1d4 100644 --- a/ui2abc/libarkts/src/generated/peers/TSInterfaceBody.ts +++ b/ui2abc/libarkts/generated/peers/TSInterfaceBody.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSInterfaceDeclaration.ts b/ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/TSInterfaceDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts index 096ad1d75..6ec5f9681 100644 --- a/ui2abc/libarkts/src/generated/peers/TSInterfaceDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { ClassDeclaration } from "./ClassDeclaration" diff --git a/ui2abc/libarkts/src/generated/peers/TSInterfaceHeritage.ts b/ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSInterfaceHeritage.ts rename to ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts index 6c87e9703..037f18f63 100644 --- a/ui2abc/libarkts/src/generated/peers/TSInterfaceHeritage.ts +++ b/ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSIntersectionType.ts b/ui2abc/libarkts/generated/peers/TSIntersectionType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSIntersectionType.ts rename to ui2abc/libarkts/generated/peers/TSIntersectionType.ts index d26f288f9..d78cedf78 100644 --- a/ui2abc/libarkts/src/generated/peers/TSIntersectionType.ts +++ b/ui2abc/libarkts/generated/peers/TSIntersectionType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSLiteralType.ts b/ui2abc/libarkts/generated/peers/TSLiteralType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSLiteralType.ts rename to ui2abc/libarkts/generated/peers/TSLiteralType.ts index 7a83d6d88..25567cf6e 100644 --- a/ui2abc/libarkts/src/generated/peers/TSLiteralType.ts +++ b/ui2abc/libarkts/generated/peers/TSLiteralType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSMappedType.ts b/ui2abc/libarkts/generated/peers/TSMappedType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSMappedType.ts rename to ui2abc/libarkts/generated/peers/TSMappedType.ts index 487540643..e2b03c50d 100644 --- a/ui2abc/libarkts/src/generated/peers/TSMappedType.ts +++ b/ui2abc/libarkts/generated/peers/TSMappedType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaMappedOption } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSMethodSignature.ts b/ui2abc/libarkts/generated/peers/TSMethodSignature.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSMethodSignature.ts rename to ui2abc/libarkts/generated/peers/TSMethodSignature.ts index 84934567e..c78832ade 100644 --- a/ui2abc/libarkts/src/generated/peers/TSMethodSignature.ts +++ b/ui2abc/libarkts/generated/peers/TSMethodSignature.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSModuleBlock.ts b/ui2abc/libarkts/generated/peers/TSModuleBlock.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSModuleBlock.ts rename to ui2abc/libarkts/generated/peers/TSModuleBlock.ts index 271498263..d1eb58c4b 100644 --- a/ui2abc/libarkts/src/generated/peers/TSModuleBlock.ts +++ b/ui2abc/libarkts/generated/peers/TSModuleBlock.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/TSModuleDeclaration.ts b/ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSModuleDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts index 54575ceec..ffadbde87 100644 --- a/ui2abc/libarkts/src/generated/peers/TSModuleDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSNamedTupleMember.ts b/ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSNamedTupleMember.ts rename to ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts index 44352ba1a..25348393b 100644 --- a/ui2abc/libarkts/src/generated/peers/TSNamedTupleMember.ts +++ b/ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSNeverKeyword.ts b/ui2abc/libarkts/generated/peers/TSNeverKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSNeverKeyword.ts rename to ui2abc/libarkts/generated/peers/TSNeverKeyword.ts index 00c75bc6d..e0768cff2 100644 --- a/ui2abc/libarkts/src/generated/peers/TSNeverKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSNeverKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSNonNullExpression.ts b/ui2abc/libarkts/generated/peers/TSNonNullExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSNonNullExpression.ts rename to ui2abc/libarkts/generated/peers/TSNonNullExpression.ts index fb1a28ecd..b517d9b00 100644 --- a/ui2abc/libarkts/src/generated/peers/TSNonNullExpression.ts +++ b/ui2abc/libarkts/generated/peers/TSNonNullExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSNullKeyword.ts b/ui2abc/libarkts/generated/peers/TSNullKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSNullKeyword.ts rename to ui2abc/libarkts/generated/peers/TSNullKeyword.ts index 19ea3efb0..76aefcc19 100644 --- a/ui2abc/libarkts/src/generated/peers/TSNullKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSNullKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSNumberKeyword.ts b/ui2abc/libarkts/generated/peers/TSNumberKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSNumberKeyword.ts rename to ui2abc/libarkts/generated/peers/TSNumberKeyword.ts index 1ddefa875..0744f2bb8 100644 --- a/ui2abc/libarkts/src/generated/peers/TSNumberKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSNumberKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSObjectKeyword.ts b/ui2abc/libarkts/generated/peers/TSObjectKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSObjectKeyword.ts rename to ui2abc/libarkts/generated/peers/TSObjectKeyword.ts index b0643277e..a3a57f01a 100644 --- a/ui2abc/libarkts/src/generated/peers/TSObjectKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSObjectKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSParameterProperty.ts b/ui2abc/libarkts/generated/peers/TSParameterProperty.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSParameterProperty.ts rename to ui2abc/libarkts/generated/peers/TSParameterProperty.ts index 3ad7233d2..81e776d79 100644 --- a/ui2abc/libarkts/src/generated/peers/TSParameterProperty.ts +++ b/ui2abc/libarkts/generated/peers/TSParameterProperty.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAccessibilityOption } from "./../Es2pandaEnums" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSParenthesizedType.ts b/ui2abc/libarkts/generated/peers/TSParenthesizedType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSParenthesizedType.ts rename to ui2abc/libarkts/generated/peers/TSParenthesizedType.ts index dd52ac191..a81d8dd4c 100644 --- a/ui2abc/libarkts/src/generated/peers/TSParenthesizedType.ts +++ b/ui2abc/libarkts/generated/peers/TSParenthesizedType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSPropertySignature.ts b/ui2abc/libarkts/generated/peers/TSPropertySignature.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSPropertySignature.ts rename to ui2abc/libarkts/generated/peers/TSPropertySignature.ts index fac5b31df..704db5201 100644 --- a/ui2abc/libarkts/src/generated/peers/TSPropertySignature.ts +++ b/ui2abc/libarkts/generated/peers/TSPropertySignature.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedAstNode } from "./AnnotatedAstNode" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSQualifiedName.ts b/ui2abc/libarkts/generated/peers/TSQualifiedName.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSQualifiedName.ts rename to ui2abc/libarkts/generated/peers/TSQualifiedName.ts index b05e7b75a..2af9bc134 100644 --- a/ui2abc/libarkts/src/generated/peers/TSQualifiedName.ts +++ b/ui2abc/libarkts/generated/peers/TSQualifiedName.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSSignatureDeclaration.ts b/ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSSignatureDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts index e3a5ff751..832f5b292 100644 --- a/ui2abc/libarkts/src/generated/peers/TSSignatureDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaTSSignatureDeclarationKind } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSStringKeyword.ts b/ui2abc/libarkts/generated/peers/TSStringKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSStringKeyword.ts rename to ui2abc/libarkts/generated/peers/TSStringKeyword.ts index 5f7008be4..824925ea4 100644 --- a/ui2abc/libarkts/src/generated/peers/TSStringKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSStringKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSThisType.ts b/ui2abc/libarkts/generated/peers/TSThisType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSThisType.ts rename to ui2abc/libarkts/generated/peers/TSThisType.ts index 28fa7d26a..a55cf4204 100644 --- a/ui2abc/libarkts/src/generated/peers/TSThisType.ts +++ b/ui2abc/libarkts/generated/peers/TSThisType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSTupleType.ts b/ui2abc/libarkts/generated/peers/TSTupleType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTupleType.ts rename to ui2abc/libarkts/generated/peers/TSTupleType.ts index cca0ee147..6ac886ba4 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTupleType.ts +++ b/ui2abc/libarkts/generated/peers/TSTupleType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeAliasDeclaration.ts b/ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/TSTypeAliasDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts index 365620da5..1cd216907 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeAliasDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedStatement } from "./AnnotatedStatement" import { AnnotationUsage } from "./AnnotationUsage" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeAssertion.ts b/ui2abc/libarkts/generated/peers/TSTypeAssertion.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeAssertion.ts rename to ui2abc/libarkts/generated/peers/TSTypeAssertion.ts index b43e193f8..bd61f579a 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeAssertion.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeAssertion.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotatedExpression } from "./AnnotatedExpression" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeLiteral.ts b/ui2abc/libarkts/generated/peers/TSTypeLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeLiteral.ts rename to ui2abc/libarkts/generated/peers/TSTypeLiteral.ts index 3b3860c44..87cf27f72 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeLiteral.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeOperator.ts b/ui2abc/libarkts/generated/peers/TSTypeOperator.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeOperator.ts rename to ui2abc/libarkts/generated/peers/TSTypeOperator.ts index 7dfabc20a..ba5d49a78 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeOperator.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeOperator.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaTSOperatorType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeParameter.ts b/ui2abc/libarkts/generated/peers/TSTypeParameter.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/TSTypeParameter.ts rename to ui2abc/libarkts/generated/peers/TSTypeParameter.ts index a82e4a3a2..77937d364 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeParameter.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeParameter.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeParameterDeclaration.ts b/ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeParameterDeclaration.ts rename to ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts index fb25cac07..807f00de6 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeParameterDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeParameterInstantiation.ts b/ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeParameterInstantiation.ts rename to ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts index 6c322f511..38c6c7903 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeParameterInstantiation.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypePredicate.ts b/ui2abc/libarkts/generated/peers/TSTypePredicate.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypePredicate.ts rename to ui2abc/libarkts/generated/peers/TSTypePredicate.ts index cbe814a0a..07c7b1098 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypePredicate.ts +++ b/ui2abc/libarkts/generated/peers/TSTypePredicate.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeQuery.ts b/ui2abc/libarkts/generated/peers/TSTypeQuery.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeQuery.ts rename to ui2abc/libarkts/generated/peers/TSTypeQuery.ts index 5203bb977..e2969a6b1 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeQuery.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeQuery.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSTypeReference.ts b/ui2abc/libarkts/generated/peers/TSTypeReference.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSTypeReference.ts rename to ui2abc/libarkts/generated/peers/TSTypeReference.ts index 429c905b8..85fdeb2b5 100644 --- a/ui2abc/libarkts/src/generated/peers/TSTypeReference.ts +++ b/ui2abc/libarkts/generated/peers/TSTypeReference.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TSUndefinedKeyword.ts b/ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSUndefinedKeyword.ts rename to ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts index dcdc6a09a..039b1df47 100644 --- a/ui2abc/libarkts/src/generated/peers/TSUndefinedKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSUnionType.ts b/ui2abc/libarkts/generated/peers/TSUnionType.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSUnionType.ts rename to ui2abc/libarkts/generated/peers/TSUnionType.ts index 2a485dce4..014886eb4 100644 --- a/ui2abc/libarkts/src/generated/peers/TSUnionType.ts +++ b/ui2abc/libarkts/generated/peers/TSUnionType.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSUnknownKeyword.ts b/ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSUnknownKeyword.ts rename to ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts index 3b84793bf..ee464c9c0 100644 --- a/ui2abc/libarkts/src/generated/peers/TSUnknownKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TSVoidKeyword.ts b/ui2abc/libarkts/generated/peers/TSVoidKeyword.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TSVoidKeyword.ts rename to ui2abc/libarkts/generated/peers/TSVoidKeyword.ts index d3fc4bd29..d19c84cd1 100644 --- a/ui2abc/libarkts/src/generated/peers/TSVoidKeyword.ts +++ b/ui2abc/libarkts/generated/peers/TSVoidKeyword.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { TypeNode } from "./TypeNode" diff --git a/ui2abc/libarkts/src/generated/peers/TaggedTemplateExpression.ts b/ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TaggedTemplateExpression.ts rename to ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts index 17c70aeca..2a08cf5d2 100644 --- a/ui2abc/libarkts/src/generated/peers/TaggedTemplateExpression.ts +++ b/ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TemplateElement.ts b/ui2abc/libarkts/generated/peers/TemplateElement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TemplateElement.ts rename to ui2abc/libarkts/generated/peers/TemplateElement.ts index 161be2908..443230693 100644 --- a/ui2abc/libarkts/src/generated/peers/TemplateElement.ts +++ b/ui2abc/libarkts/generated/peers/TemplateElement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TemplateLiteral.ts b/ui2abc/libarkts/generated/peers/TemplateLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TemplateLiteral.ts rename to ui2abc/libarkts/generated/peers/TemplateLiteral.ts index 6a8cde27b..18233dbff 100644 --- a/ui2abc/libarkts/src/generated/peers/TemplateLiteral.ts +++ b/ui2abc/libarkts/generated/peers/TemplateLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ThisExpression.ts b/ui2abc/libarkts/generated/peers/ThisExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ThisExpression.ts rename to ui2abc/libarkts/generated/peers/ThisExpression.ts index fca9cbe3a..6217f6f32 100644 --- a/ui2abc/libarkts/src/generated/peers/ThisExpression.ts +++ b/ui2abc/libarkts/generated/peers/ThisExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/ThrowStatement.ts b/ui2abc/libarkts/generated/peers/ThrowStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/ThrowStatement.ts rename to ui2abc/libarkts/generated/peers/ThrowStatement.ts index 498449c97..8c287ac0c 100644 --- a/ui2abc/libarkts/src/generated/peers/ThrowStatement.ts +++ b/ui2abc/libarkts/generated/peers/ThrowStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/TryStatement.ts b/ui2abc/libarkts/generated/peers/TryStatement.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/TryStatement.ts rename to ui2abc/libarkts/generated/peers/TryStatement.ts index a91c46cdb..2b7c640a4 100644 --- a/ui2abc/libarkts/src/generated/peers/TryStatement.ts +++ b/ui2abc/libarkts/generated/peers/TryStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { BlockStatement } from "./BlockStatement" import { CatchClause } from "./CatchClause" diff --git a/ui2abc/libarkts/src/generated/peers/TypeNode.ts b/ui2abc/libarkts/generated/peers/TypeNode.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TypeNode.ts rename to ui2abc/libarkts/generated/peers/TypeNode.ts index 0fb55201f..f56950c51 100644 --- a/ui2abc/libarkts/src/generated/peers/TypeNode.ts +++ b/ui2abc/libarkts/generated/peers/TypeNode.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TypedAstNode.ts b/ui2abc/libarkts/generated/peers/TypedAstNode.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/TypedAstNode.ts rename to ui2abc/libarkts/generated/peers/TypedAstNode.ts index 542271c35..4fce638a4 100644 --- a/ui2abc/libarkts/src/generated/peers/TypedAstNode.ts +++ b/ui2abc/libarkts/generated/peers/TypedAstNode.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/TypedStatement.ts b/ui2abc/libarkts/generated/peers/TypedStatement.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/TypedStatement.ts rename to ui2abc/libarkts/generated/peers/TypedStatement.ts index 3a9466c18..afab3d55d 100644 --- a/ui2abc/libarkts/src/generated/peers/TypedStatement.ts +++ b/ui2abc/libarkts/generated/peers/TypedStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Statement } from "./Statement" diff --git a/ui2abc/libarkts/src/generated/peers/TypeofExpression.ts b/ui2abc/libarkts/generated/peers/TypeofExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/TypeofExpression.ts rename to ui2abc/libarkts/generated/peers/TypeofExpression.ts index 6943abcac..6ef9c2d19 100644 --- a/ui2abc/libarkts/src/generated/peers/TypeofExpression.ts +++ b/ui2abc/libarkts/generated/peers/TypeofExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/UnaryExpression.ts b/ui2abc/libarkts/generated/peers/UnaryExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/UnaryExpression.ts rename to ui2abc/libarkts/generated/peers/UnaryExpression.ts index 12dc20536..0236d9d7e 100644 --- a/ui2abc/libarkts/src/generated/peers/UnaryExpression.ts +++ b/ui2abc/libarkts/generated/peers/UnaryExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaTokenType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/UndefinedLiteral.ts b/ui2abc/libarkts/generated/peers/UndefinedLiteral.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/UndefinedLiteral.ts rename to ui2abc/libarkts/generated/peers/UndefinedLiteral.ts index 59256aff8..a232372ed 100644 --- a/ui2abc/libarkts/src/generated/peers/UndefinedLiteral.ts +++ b/ui2abc/libarkts/generated/peers/UndefinedLiteral.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Literal } from "./Literal" diff --git a/ui2abc/libarkts/src/generated/peers/UpdateExpression.ts b/ui2abc/libarkts/generated/peers/UpdateExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/UpdateExpression.ts rename to ui2abc/libarkts/generated/peers/UpdateExpression.ts index 94bd8b34b..0f1b3aabd 100644 --- a/ui2abc/libarkts/src/generated/peers/UpdateExpression.ts +++ b/ui2abc/libarkts/generated/peers/UpdateExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaTokenType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/VReg.ts b/ui2abc/libarkts/generated/peers/VReg.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/VReg.ts rename to ui2abc/libarkts/generated/peers/VReg.ts index 8139ee1da..ebc076f19 100644 --- a/ui2abc/libarkts/src/generated/peers/VReg.ts +++ b/ui2abc/libarkts/generated/peers/VReg.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class VReg extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/ValidationInfo.ts b/ui2abc/libarkts/generated/peers/ValidationInfo.ts similarity index 97% rename from ui2abc/libarkts/src/generated/peers/ValidationInfo.ts rename to ui2abc/libarkts/generated/peers/ValidationInfo.ts index c118fda97..dfd3cf6e8 100644 --- a/ui2abc/libarkts/src/generated/peers/ValidationInfo.ts +++ b/ui2abc/libarkts/generated/peers/ValidationInfo.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { SourcePosition } from "./SourcePosition" diff --git a/ui2abc/libarkts/src/generated/peers/VariableDeclaration.ts b/ui2abc/libarkts/generated/peers/VariableDeclaration.ts similarity index 99% rename from ui2abc/libarkts/src/generated/peers/VariableDeclaration.ts rename to ui2abc/libarkts/generated/peers/VariableDeclaration.ts index b4666c18b..8aec05970 100644 --- a/ui2abc/libarkts/src/generated/peers/VariableDeclaration.ts +++ b/ui2abc/libarkts/generated/peers/VariableDeclaration.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { AnnotationUsage } from "./AnnotationUsage" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/VariableDeclarator.ts b/ui2abc/libarkts/generated/peers/VariableDeclarator.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/VariableDeclarator.ts rename to ui2abc/libarkts/generated/peers/VariableDeclarator.ts index 80cf03bf4..55c851969 100644 --- a/ui2abc/libarkts/src/generated/peers/VariableDeclarator.ts +++ b/ui2abc/libarkts/generated/peers/VariableDeclarator.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Es2pandaVariableDeclaratorFlag } from "./../Es2pandaEnums" diff --git a/ui2abc/libarkts/src/generated/peers/VerificationContext.ts b/ui2abc/libarkts/generated/peers/VerificationContext.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/VerificationContext.ts rename to ui2abc/libarkts/generated/peers/VerificationContext.ts index 228a470a4..ad31f8ff1 100644 --- a/ui2abc/libarkts/src/generated/peers/VerificationContext.ts +++ b/ui2abc/libarkts/generated/peers/VerificationContext.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class VerificationContext extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/VerifierMessage.ts b/ui2abc/libarkts/generated/peers/VerifierMessage.ts similarity index 96% rename from ui2abc/libarkts/src/generated/peers/VerifierMessage.ts rename to ui2abc/libarkts/generated/peers/VerifierMessage.ts index f427f2870..404c875ba 100644 --- a/ui2abc/libarkts/src/generated/peers/VerifierMessage.ts +++ b/ui2abc/libarkts/generated/peers/VerifierMessage.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" export class VerifierMessage extends ArktsObject { diff --git a/ui2abc/libarkts/src/generated/peers/WhileStatement.ts b/ui2abc/libarkts/generated/peers/WhileStatement.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/WhileStatement.ts rename to ui2abc/libarkts/generated/peers/WhileStatement.ts index 2ea7e54d7..ddba68e5c 100644 --- a/ui2abc/libarkts/src/generated/peers/WhileStatement.ts +++ b/ui2abc/libarkts/generated/peers/WhileStatement.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/src/generated/peers/YieldExpression.ts b/ui2abc/libarkts/generated/peers/YieldExpression.ts similarity index 98% rename from ui2abc/libarkts/src/generated/peers/YieldExpression.ts rename to ui2abc/libarkts/generated/peers/YieldExpression.ts index 3a1bcb648..4e77571bd 100644 --- a/ui2abc/libarkts/src/generated/peers/YieldExpression.ts +++ b/ui2abc/libarkts/generated/peers/YieldExpression.ts @@ -29,7 +29,7 @@ import { nodeByType, ArktsObject, unpackString -} from "../../reexport-for-generated" +} from "../../src/reexport-for-generated" import { Es2pandaAstNodeType } from "./../Es2pandaEnums" import { Expression } from "./Expression" diff --git a/ui2abc/libarkts/native/meson.build b/ui2abc/libarkts/native/meson.build index 979e2b498..72955d620 100644 --- a/ui2abc/libarkts/native/meson.build +++ b/ui2abc/libarkts/native/meson.build @@ -26,7 +26,7 @@ sources = [ './src/common.cc', './src/memoryTracker.cc', './src/bridges.cc', - './src/generated/bridges.cc', + '../generated/native/bridges.cc', get_option('interop_src_dir') / 'common-interop.cc', get_option('interop_src_dir') / 'callback-resource.cc', get_option('interop_src_dir') / 'interop-logging.cc', diff --git a/ui2abc/libarkts/package.json b/ui2abc/libarkts/package.json index 58352e665..abd30d052 100644 --- a/ui2abc/libarkts/package.json +++ b/ui2abc/libarkts/package.json @@ -8,7 +8,7 @@ "./lib/types/wrapper-compat/index.d.ts" ], "*": [ - "./lib/types/index.d.ts" + "./lib/types/src/index.d.ts" ] } }, @@ -78,7 +78,7 @@ "panda:sdk:install": "cd ../../incremental/tools/panda && echo \"Installing panda sdk $npm_package_config_panda_sdk_version\" && PANDA_SDK_VERSION=$npm_package_config_panda_sdk_version npm run panda:sdk:install", "panda:sdk:reinstall": "npm run panda:sdk:clean && npm run panda:sdk:install", "regenerate:current": "rimraf -rf src/generated && npm run compile -C ../../../arktscgen && node ../../../arktscgen --panda-sdk-path $npm_package_config_panda_sdk_path --output-dir ../ --options-file ./generator/options.json5 --no-initialize --debug", - "regenerate": "rimraf -rf src/generated && arktscgen --panda-sdk-path ${PANDA_SDK_PATH:=$npm_package_config_panda_sdk_path} --output-dir ../ --options-file ./generator/options.json5 --no-initialize", + "regenerate": "rimraf -rf ./generated && arktscgen --panda-sdk-path ${PANDA_SDK_PATH:=$npm_package_config_panda_sdk_path} --output-dir ../ --options-file ./generator/options.json5 --no-initialize", "reinstall:regenerate": "npm run panda:sdk:reinstall && npm run regenerate && git diff --shortstat" } } diff --git a/ui2abc/libarkts/src/Es2pandaNativeModule.ts b/ui2abc/libarkts/src/Es2pandaNativeModule.ts index 1a334cfea..6a38745b2 100644 --- a/ui2abc/libarkts/src/Es2pandaNativeModule.ts +++ b/ui2abc/libarkts/src/Es2pandaNativeModule.ts @@ -24,10 +24,10 @@ import { KUInt, KStringArrayPtr, } from "@koalaui/interop" -import { Es2pandaNativeModule as GeneratedEs2pandaNativeModule, KNativePointerArray } from "./generated/Es2pandaNativeModule" +import { Es2pandaNativeModule as GeneratedEs2pandaNativeModule, KNativePointerArray } from "../generated/Es2pandaNativeModule" import * as path from "path" import * as fs from "fs" -import { Es2pandaPluginDiagnosticType } from "./generated/Es2pandaEnums" +import { Es2pandaPluginDiagnosticType } from "../generated/Es2pandaEnums" // Improve: this type should be in interop export type KPtrArray = BigUint64Array diff --git a/ui2abc/libarkts/src/arkts-api/AbstractVisitor.ts b/ui2abc/libarkts/src/arkts-api/AbstractVisitor.ts index eb2158871..c42296ec3 100644 --- a/ui2abc/libarkts/src/arkts-api/AbstractVisitor.ts +++ b/ui2abc/libarkts/src/arkts-api/AbstractVisitor.ts @@ -15,7 +15,7 @@ import { AstNode } from "./peers/AstNode" import { visitEachChild } from "./visitor" -import { Program } from "../generated" +import { Program } from "../../generated" export interface VisitorOptions { program?: Program diff --git a/ui2abc/libarkts/src/arkts-api/ImportStorage.ts b/ui2abc/libarkts/src/arkts-api/ImportStorage.ts index 24c3bbada..01ca726c0 100644 --- a/ui2abc/libarkts/src/arkts-api/ImportStorage.ts +++ b/ui2abc/libarkts/src/arkts-api/ImportStorage.ts @@ -14,10 +14,10 @@ */ import { KNativePointer } from "@koalaui/interop" -import { ETSModule, ImportDeclaration, isETSImportDeclaration, Program, Statement } from "../generated" +import { ETSModule, ImportDeclaration, isETSImportDeclaration, Program, Statement } from "../../generated" import { passNode, passNodeArray, unpackNonNullableNode } from "./utilities/private" import { global } from "./static/global" -import { Es2pandaImportFlags, Es2pandaImportKinds } from "../generated/Es2pandaEnums" +import { Es2pandaImportFlags, Es2pandaImportKinds } from "../../generated/Es2pandaEnums" import { factory } from "./factory/nodeFactory" export class ImportStorage { diff --git a/ui2abc/libarkts/src/arkts-api/ProgramProvider.ts b/ui2abc/libarkts/src/arkts-api/ProgramProvider.ts index 6831a29ed..9df50f480 100644 --- a/ui2abc/libarkts/src/arkts-api/ProgramProvider.ts +++ b/ui2abc/libarkts/src/arkts-api/ProgramProvider.ts @@ -15,7 +15,7 @@ import { KNativePointer } from "@koalaui/interop" import { defaultFilter, listPrograms } from "./plugins" -import { Program } from "../generated" +import { Program } from "../../generated" export class ProgramProvider { // Improve: migrate to wrappers instead of pointers diff --git a/ui2abc/libarkts/src/arkts-api/class-by-peer.ts b/ui2abc/libarkts/src/arkts-api/class-by-peer.ts index d2378dd76..5350b77fd 100644 --- a/ui2abc/libarkts/src/arkts-api/class-by-peer.ts +++ b/ui2abc/libarkts/src/arkts-api/class-by-peer.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { Es2pandaAstNodeType } from "../generated/Es2pandaEnums" +import { Es2pandaAstNodeType } from "../../generated/Es2pandaEnums" import { throwError } from "../utils" import { global } from "./static/global" import { KNativePointer } from "@koalaui/interop" diff --git a/ui2abc/libarkts/src/arkts-api/factory/nodeFactory.ts b/ui2abc/libarkts/src/arkts-api/factory/nodeFactory.ts index 1eb5c560e..ae6b308f9 100644 --- a/ui2abc/libarkts/src/arkts-api/factory/nodeFactory.ts +++ b/ui2abc/libarkts/src/arkts-api/factory/nodeFactory.ts @@ -29,8 +29,8 @@ import { TryStatement, TSTypeParameter, VariableDeclarator, -} from "../../generated" -import { factory as generatedFactory } from "../../generated/factory" +} from "../../../generated" +import { factory as generatedFactory } from "../../../generated/factory" import { createScriptFunction, inplaceUpdateScriptFunction, updateScriptFunction } from "../node-utilities/ScriptFunction" import { inplaceUpdateCallExpression, updateCallExpression } from "../node-utilities/CallExpression" import { createNumberLiteral, updateNumberLiteral } from "../node-utilities/NumberLiteral" diff --git a/ui2abc/libarkts/src/arkts-api/index.ts b/ui2abc/libarkts/src/arkts-api/index.ts index 874d5f244..329c897db 100644 --- a/ui2abc/libarkts/src/arkts-api/index.ts +++ b/ui2abc/libarkts/src/arkts-api/index.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -export * from "../generated/Es2pandaEnums" -export * from "../generated" +export * from "../../generated/Es2pandaEnums" +export * from "../../generated" export * from "./utilities/performance" export * from "./utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ArkTsConfig.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ArkTsConfig.ts index 7778a25d6..1df5a3b22 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ArkTsConfig.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ArkTsConfig.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { ArkTsConfig } from "../../generated" +import { ArkTsConfig } from "../../../generated" import { traceGlobal } from "../../tracer" export function dumpArkTsConfigInfo(arkTsConfig: ArkTsConfig) { diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ArrayExpression.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ArrayExpression.ts index f4ce7df2a..6df372e9c 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ArrayExpression.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ArrayExpression.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { Es2pandaAstNodeType } from "../../generated/Es2pandaEnums" -import { ArrayExpression, Expression } from "../../generated" +import { Es2pandaAstNodeType } from "../../../generated/Es2pandaEnums" +import { ArrayExpression, Expression } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/AssignmentExpression.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/AssignmentExpression.ts index b5fa8024e..f8ef8d6f8 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/AssignmentExpression.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/AssignmentExpression.ts @@ -13,10 +13,10 @@ * limitations under the License. */ -import { AssignmentExpression, Expression } from "../../generated" +import { AssignmentExpression, Expression } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" -import { Es2pandaAstNodeType, Es2pandaTokenType } from "../../generated/Es2pandaEnums" +import { Es2pandaAstNodeType, Es2pandaTokenType } from "../../../generated/Es2pandaEnums" export function createAssignmentExpression( left: Expression | undefined, diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/BlockStatement.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/BlockStatement.ts index 8da277758..d8116cfc9 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/BlockStatement.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/BlockStatement.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { BlockStatement, Statement } from "../../generated" +import { BlockStatement, Statement } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/CallExpression.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/CallExpression.ts index 02e3d4de0..cc9a733b4 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/CallExpression.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/CallExpression.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { BlockStatement, CallExpression, Expression, TSTypeParameterInstantiation } from "../../generated" +import { BlockStatement, CallExpression, Expression, TSTypeParameterInstantiation } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ClassDefinition.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ClassDefinition.ts index 0e7a77828..33e0257fd 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ClassDefinition.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ClassDefinition.ts @@ -22,11 +22,11 @@ import { TSClassImplements, TSTypeParameterDeclaration, TSTypeParameterInstantiation -} from "../../generated" +} from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" import { AstNode } from "../peers/AstNode" -import { Es2pandaClassDefinitionModifiers, Es2pandaModifierFlags } from "../../generated/Es2pandaEnums" +import { Es2pandaClassDefinitionModifiers, Es2pandaModifierFlags } from "../../../generated/Es2pandaEnums" export function updateClassDefinition( original: ClassDefinition, diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ClassProperty.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ClassProperty.ts index d22553dd8..5a7a65ec4 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ClassProperty.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ClassProperty.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { AnnotationUsage, ClassProperty, Expression, TypeNode } from "../../generated" -import { Es2pandaModifierFlags } from "../../generated/Es2pandaEnums" +import { AnnotationUsage, ClassProperty, Expression, TypeNode } from "../../../generated" +import { Es2pandaModifierFlags } from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSFunctionType.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSFunctionType.ts index a549a0d53..798bf1147 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSFunctionType.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSFunctionType.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { AnnotationUsage, ETSFunctionType, Expression, FunctionSignature, TSTypeParameterDeclaration, TypeNode } from "../../generated" -import { Es2pandaScriptFunctionFlags } from "../../generated/Es2pandaEnums" +import { AnnotationUsage, ETSFunctionType, Expression, FunctionSignature, TSTypeParameterDeclaration, TypeNode } from "../../../generated" +import { Es2pandaScriptFunctionFlags } from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSImportDeclaration.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSImportDeclaration.ts index 34078a108..1fbd27ea6 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSImportDeclaration.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSImportDeclaration.ts @@ -13,11 +13,11 @@ * limitations under the License. */ -import { ETSImportDeclaration, StringLiteral } from "../../generated" +import { ETSImportDeclaration, StringLiteral } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" import { AstNode } from "../peers/AstNode" -import { Es2pandaImportKinds } from "../../generated/Es2pandaEnums" +import { Es2pandaImportKinds } from "../../../generated/Es2pandaEnums" export function updateETSImportDeclaration( original: ETSImportDeclaration, diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSModule.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSModule.ts index c875efab0..f032c7c71 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSModule.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSModule.ts @@ -13,10 +13,10 @@ * limitations under the License. */ -import { ETSModule, Identifier, Program, Statement } from "../../generated" +import { ETSModule, Identifier, Program, Statement } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" -import { Es2pandaModuleFlag } from "../../generated/Es2pandaEnums" +import { Es2pandaModuleFlag } from "../../../generated/Es2pandaEnums" export function updateETSModule( original: ETSModule, diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSParameterExpression.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSParameterExpression.ts index f09511a5c..e1e6e1f9e 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSParameterExpression.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSParameterExpression.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { AnnotatedExpression, AnnotationUsage, ETSParameterExpression, Expression, TypeNode } from "../../generated" +import { AnnotatedExpression, AnnotationUsage, ETSParameterExpression, Expression, TypeNode } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSStructDeclaration.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSStructDeclaration.ts index f4fbd9596..514051f8b 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSStructDeclaration.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSStructDeclaration.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { ClassDefinition, ETSStructDeclaration } from "../../generated" +import { ClassDefinition, ETSStructDeclaration } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSTuple.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSTuple.ts index 65bc8633a..7bbe12d48 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ETSTuple.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ETSTuple.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { ETSTuple, TypeNode } from "../../generated" +import { ETSTuple, TypeNode } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/MemberExpression.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/MemberExpression.ts index fdaa969d9..66a180b15 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/MemberExpression.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/MemberExpression.ts @@ -13,10 +13,10 @@ * limitations under the License. */ -import { Expression, MemberExpression } from "../../generated" +import { Expression, MemberExpression } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" -import { Es2pandaMemberExpressionKind } from "../../generated/Es2pandaEnums" +import { Es2pandaMemberExpressionKind } from "../../../generated/Es2pandaEnums" export function updateMemberExpression( original: MemberExpression, diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/MethodDefinition.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/MethodDefinition.ts index 4308241d2..4f79845cb 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/MethodDefinition.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/MethodDefinition.ts @@ -13,11 +13,11 @@ * limitations under the License. */ -import { Expression, MethodDefinition } from "../../generated" +import { Expression, MethodDefinition } from "../../../generated" import { Es2pandaMethodDefinitionKind, Es2pandaModifierFlags, -} from "../../generated/Es2pandaEnums" +} from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/NumberLiteral.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/NumberLiteral.ts index 369587f7b..92f788afd 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/NumberLiteral.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/NumberLiteral.ts @@ -14,10 +14,10 @@ */ import { global } from "../static/global" -import { NumberLiteral } from "../../generated" +import { NumberLiteral } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" -import { Es2pandaAstNodeType } from "../../generated/Es2pandaEnums" +import { Es2pandaAstNodeType } from "../../../generated/Es2pandaEnums" export function createNumberLiteral( value: number diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ObjectExpression.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ObjectExpression.ts index cb7ef117f..1af52ce0d 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ObjectExpression.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ObjectExpression.ts @@ -14,10 +14,10 @@ */ import { KNativePointer } from "@koalaui/interop" -import { ObjectExpression, Expression } from "../../generated" +import { ObjectExpression, Expression } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" -import { Es2pandaAstNodeType } from "../../generated/Es2pandaEnums" +import { Es2pandaAstNodeType } from "../../../generated/Es2pandaEnums" export function createObjectExpression( properties: readonly Expression[], diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/OpaqueTypeNode.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/OpaqueTypeNode.ts index aa4162e31..71e842962 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/OpaqueTypeNode.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/OpaqueTypeNode.ts @@ -15,8 +15,8 @@ import { KNativePointer } from "@koalaui/interop" import { global } from "../static/global" -import { OpaqueTypeNode } from "../../generated" -import { Es2pandaAstNodeType } from "../../generated/Es2pandaEnums" +import { OpaqueTypeNode } from "../../../generated" +import { Es2pandaAstNodeType } from "../../../generated/Es2pandaEnums" export function createOpaqueTypeNode( typePointer: KNativePointer diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/Program.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/Program.ts index ba5ac9022..0763a874d 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/Program.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/Program.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { Program } from "../../generated" +import { Program } from "../../../generated" import { traceGlobal } from "../../tracer" export function dumpProgramInfo(program: Program) { diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/ScriptFunction.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/ScriptFunction.ts index 21563dc81..d32421741 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/ScriptFunction.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/ScriptFunction.ts @@ -21,9 +21,9 @@ import { ScriptFunction, TSTypeParameterDeclaration, TypeNode -} from "../../generated" +} from "../../../generated" import { AstNode } from "../peers/AstNode" -import { Es2pandaModifierFlags, Es2pandaScriptFunctionFlags } from "../../generated/Es2pandaEnums" +import { Es2pandaModifierFlags, Es2pandaScriptFunctionFlags } from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" import { KNativePointer } from "@koalaui/interop" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts index dc7becd09..a4e4784eb 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/TSInterfaceDeclaration.ts @@ -15,10 +15,10 @@ import { TSInterfaceDeclaration, TSInterfaceHeritage -} from "../../generated" +} from "../../../generated" import { Es2pandaModifierFlags, -} from "../../generated/Es2pandaEnums" +} from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" import { AstNode } from "../peers/AstNode" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeParameter.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeParameter.ts index e60b43153..4c8429fbb 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeParameter.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeParameter.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { Identifier, TSTypeParameter, TypeNode } from "../../generated" -import { Es2pandaModifierFlags } from "../../generated/Es2pandaEnums" +import { Identifier, TSTypeParameter, TypeNode } from "../../../generated" +import { Es2pandaModifierFlags } from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeReferencePart.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeReferencePart.ts index b68d6ba3d..ae1e01faf 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeReferencePart.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/TSTypeReferencePart.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { ETSTypeReferencePart, Expression, TSTypeParameterInstantiation } from "../../generated" +import { ETSTypeReferencePart, Expression, TSTypeParameterInstantiation } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/TryStatement.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/TryStatement.ts index 0a36dd51a..3bee8a5e5 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/TryStatement.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/TryStatement.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { BlockStatement, CatchClause, LabelPair, Statement, TryStatement } from "../../generated" +import { BlockStatement, CatchClause, LabelPair, Statement, TryStatement } from "../../../generated" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/node-utilities/VariableDeclarator.ts b/ui2abc/libarkts/src/arkts-api/node-utilities/VariableDeclarator.ts index 75c2ef649..0a05963f9 100644 --- a/ui2abc/libarkts/src/arkts-api/node-utilities/VariableDeclarator.ts +++ b/ui2abc/libarkts/src/arkts-api/node-utilities/VariableDeclarator.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { Expression, VariableDeclarator } from "../../generated" -import { Es2pandaVariableDeclaratorFlag } from "../../generated/Es2pandaEnums" +import { Expression, VariableDeclarator } from "../../../generated" +import { Es2pandaVariableDeclaratorFlag } from "../../../generated/Es2pandaEnums" import { isSameNativeObject } from "../peers/ArktsObject" import { updateNodeByNode } from "../utilities/private" diff --git a/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts b/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts index 860a9adc1..1638a2190 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts @@ -17,9 +17,9 @@ import { isNullPtr, KInt, KNativePointer, nullptr } from "@koalaui/interop" import { global } from "../static/global" import { allFlags, unpackNode, unpackNodeArray, unpackNonNullableNode, unpackString } from "../utilities/private" import { throwError } from "../../utils" -import { Es2pandaAstNodeType, Es2pandaModifierFlags } from "../../generated/Es2pandaEnums" +import { Es2pandaAstNodeType, Es2pandaModifierFlags } from "../../../generated/Es2pandaEnums" import { ArktsObject } from "./ArktsObject" -import { SourcePosition } from "../../generated/peers/SourcePosition" +import { SourcePosition } from "../../../generated/peers/SourcePosition" import { NodeCache } from "../node-cache" export abstract class AstNode extends ArktsObject { @@ -120,7 +120,7 @@ export abstract class AstNode extends ArktsObject { clonedNode.parent = undefined; return clonedNode as this; } - + public get parent(): AstNode | undefined { const parent = global.generatedEs2panda._AstNodeParent(global.context, this.peer); return unpackNode(parent); @@ -138,7 +138,7 @@ export abstract class AstNode extends ArktsObject { global.generatedEs2panda._AstNodeClearModifier(global.context, this.peer, allFlags) global.generatedEs2panda._AstNodeAddModifier(global.context, this.peer, flags ?? Es2pandaModifierFlags.MODIFIER_FLAGS_NONE) } - + /** @deprecated Use {@link modifierFlags} instead */ public get modifiers(): KInt { return this.modifierFlags @@ -174,7 +174,7 @@ export abstract class AstNode extends ArktsObject { public get isStatic(): boolean { return global.generatedEs2panda._AstNodeIsStaticConst(global.context, this.peer); } - + public get startPosition(): SourcePosition { return new SourcePosition(global.generatedEs2panda._AstNodeStartConst(global.context, this.peer)); } diff --git a/ui2abc/libarkts/src/arkts-api/peers/Config.ts b/ui2abc/libarkts/src/arkts-api/peers/Config.ts index 4e91cb987..e138907b4 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/Config.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/Config.ts @@ -17,7 +17,7 @@ import { ArktsObject } from "./ArktsObject" import { global } from "../static/global" import { passStringArray } from "../utilities/private" import { KNativePointer, nullptr } from "@koalaui/interop" -import { Es2pandaCompilationMode } from "../../generated/Es2pandaEnums" +import { Es2pandaCompilationMode } from "../../../generated/Es2pandaEnums" export class Config extends ArktsObject { constructor(peer: KNativePointer) { diff --git a/ui2abc/libarkts/src/arkts-api/peers/Context.ts b/ui2abc/libarkts/src/arkts-api/peers/Context.ts index 78eed9241..37e83dafa 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/Context.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/Context.ts @@ -14,7 +14,7 @@ */ import { ArktsObject } from "./ArktsObject" -import { Program } from "../../generated" +import { Program } from "../../../generated" import { global } from "../static/global" import { passString, passStringArray } from "../utilities/private" import { KNativePointer, nullptr, KBoolean } from "@koalaui/interop" @@ -39,7 +39,7 @@ export class Context extends ArktsObject { ) ) } - + /** @deprecated Use {@link createCacheFromFile} instead */ static createCacheContextFromFile( configPtr: KNativePointer, @@ -88,7 +88,7 @@ export class Context extends ArktsObject { this.peer = nullptr } } - + /** @deprecated */ static destroyAndRecreate(ast: AstNode): Context { console.log('[TS WRAPPER] DESTROY AND RECREATE'); diff --git a/ui2abc/libarkts/src/arkts-api/peers/DiagnosticKind.ts b/ui2abc/libarkts/src/arkts-api/peers/DiagnosticKind.ts index 5f93fb139..563d40932 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/DiagnosticKind.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/DiagnosticKind.ts @@ -16,7 +16,6 @@ import { KNativePointer } from "@koalaui/interop"; import { ArktsObject } from "./ArktsObject" - export class DiagnosticKind extends ArktsObject { constructor(peer: KNativePointer) { super(peer); diff --git a/ui2abc/libarkts/src/arkts-api/peers/ExternalSource.ts b/ui2abc/libarkts/src/arkts-api/peers/ExternalSource.ts index ad8ddcacd..e4a1b93fe 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/ExternalSource.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/ExternalSource.ts @@ -16,7 +16,7 @@ import { global } from "../static/global" import { acceptNativeObjectArrayResult, unpackString } from "../utilities/private" import { KNativePointer, nullptr } from "@koalaui/interop" -import { Program } from "../../generated" +import { Program } from "../../../generated" import { ArktsObject } from "./ArktsObject" export class ExternalSource extends ArktsObject { diff --git a/ui2abc/libarkts/src/arkts-api/peers/Options.ts b/ui2abc/libarkts/src/arkts-api/peers/Options.ts index cadb3e1e0..f78e90954 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/Options.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/Options.ts @@ -17,7 +17,7 @@ import { KNativePointer } from "@koalaui/interop" import { ArktsObject } from "./ArktsObject" import { global } from "../static/global" import { Config } from "./Config" -import { ArkTsConfig } from "../../generated" +import { ArkTsConfig } from "../../../generated" export class Options extends ArktsObject { constructor(peer: KNativePointer) { diff --git a/ui2abc/libarkts/src/arkts-api/plugins.ts b/ui2abc/libarkts/src/arkts-api/plugins.ts index 9e9b207ad..b9f3f0002 100644 --- a/ui2abc/libarkts/src/arkts-api/plugins.ts +++ b/ui2abc/libarkts/src/arkts-api/plugins.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { Es2pandaContextState } from "../generated/Es2pandaEnums" -import { Program } from "../generated" +import { Es2pandaContextState } from "../../generated/Es2pandaEnums" +import { Program } from "../../generated" import { ExternalSource } from "./peers/ExternalSource" import { KNativePointer } from "@koalaui/interop" import { global } from "./static/global" diff --git a/ui2abc/libarkts/src/arkts-api/static/global.ts b/ui2abc/libarkts/src/arkts-api/static/global.ts index 282529aef..7f2c3c7ba 100644 --- a/ui2abc/libarkts/src/arkts-api/static/global.ts +++ b/ui2abc/libarkts/src/arkts-api/static/global.ts @@ -16,11 +16,11 @@ import { throwError } from "../../utils" import { KNativePointer, nullptr } from "@koalaui/interop" import { initEs2panda, Es2pandaNativeModule, initGeneratedEs2panda } from "../../Es2pandaNativeModule" -import { Es2pandaNativeModule as GeneratedEs2pandaNativeModule } from "../../generated/Es2pandaNativeModule" +import { Es2pandaNativeModule as GeneratedEs2pandaNativeModule } from "../../../generated/Es2pandaNativeModule" import { initInterop, InteropNativeModule } from "../../InteropNativeModule" import { Context } from "../peers/Context" import { Profiler } from "./profiler" -import { ArkTsConfig } from "../../generated" +import { ArkTsConfig } from "../../../generated" import { Config } from '../peers/Config'; export class UpdateTracker { diff --git a/ui2abc/libarkts/src/arkts-api/static/profiler.ts b/ui2abc/libarkts/src/arkts-api/static/profiler.ts index 5a1d2e15a..e625febad 100644 --- a/ui2abc/libarkts/src/arkts-api/static/profiler.ts +++ b/ui2abc/libarkts/src/arkts-api/static/profiler.ts @@ -15,7 +15,7 @@ import * as fs from "fs" import * as path from "path" -import { Es2pandaContextState } from "../../generated/Es2pandaEnums" +import { Es2pandaContextState } from "../../../generated/Es2pandaEnums" import { global } from "./global" const PERFORMANCE_DATA_DIR = "./performance-results/" @@ -148,7 +148,7 @@ export class Profiler implements PerformanceData { const outDir = path.resolve(global.arktsconfig!.outDir, PERFORMANCE_DATA_DIR) fs.mkdirSync(outDir, { recursive: true }) const outFilePath = path.resolve(outDir, path.basename(this.filePath)) + ".json" - + const data: PerformanceDataFile = { data: [this as PerformanceData] } if (!fs.existsSync(outFilePath)) { fs.writeFileSync(outFilePath, JSON.stringify(data)) diff --git a/ui2abc/libarkts/src/arkts-api/utilities/extensions.ts b/ui2abc/libarkts/src/arkts-api/utilities/extensions.ts index de2874abb..674fb80a2 100644 --- a/ui2abc/libarkts/src/arkts-api/utilities/extensions.ts +++ b/ui2abc/libarkts/src/arkts-api/utilities/extensions.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { KInt, KNativePointer, KUInt } from "@koalaui/interop" +import { KNativePointer, KUInt } from "@koalaui/interop" import type { ClassDefinition, ETSFunctionType, @@ -25,9 +25,9 @@ import type { Program, ScriptFunction, SourcePosition, -} from "../../generated" +} from "../../../generated" import { ExternalSource } from "../peers/ExternalSource" -import { Es2pandaAstNodeType, Es2pandaModuleFlag } from "../../generated/Es2pandaEnums" +import { Es2pandaAstNodeType, Es2pandaModuleFlag } from "../../../generated/Es2pandaEnums" import { global } from "../static/global" import { acceptNativeObjectArrayResult, passNodeArray, unpackNodeArray, unpackNonNullableNode } from "./private" import type { AstNode } from "../peers/AstNode" diff --git a/ui2abc/libarkts/src/arkts-api/utilities/private.ts b/ui2abc/libarkts/src/arkts-api/utilities/private.ts index 0084cc4a8..4153060b8 100644 --- a/ui2abc/libarkts/src/arkts-api/utilities/private.ts +++ b/ui2abc/libarkts/src/arkts-api/utilities/private.ts @@ -24,7 +24,7 @@ import { withStringArray } from "@koalaui/interop" import { NativePtrDecoder } from "./nativePtrDecoder" -import { Es2pandaAstNodeType, Es2pandaModifierFlags, Es2pandaScriptFunctionFlags } from "../../generated/Es2pandaEnums" +import { Es2pandaAstNodeType, Es2pandaModifierFlags, Es2pandaScriptFunctionFlags } from "../../../generated/Es2pandaEnums" import { nodeFrom } from "../class-by-peer" import { AstNode } from "../peers/AstNode" import { ArktsObject } from "../peers/ArktsObject" diff --git a/ui2abc/libarkts/src/arkts-api/utilities/public.ts b/ui2abc/libarkts/src/arkts-api/utilities/public.ts index 6123e407d..7e3478817 100644 --- a/ui2abc/libarkts/src/arkts-api/utilities/public.ts +++ b/ui2abc/libarkts/src/arkts-api/utilities/public.ts @@ -17,9 +17,9 @@ import { global } from "../static/global" import { isNumber, throwError, withWarning } from "../../utils" import { KNativePointer, nullptr, KInt, KUInt} from "@koalaui/interop" import { passNode, unpackNodeArray, unpackNonNullableNode, passString, unpackString, passStringArray, unpackNode } from "./private" -import { Es2pandaContextState, Es2pandaModifierFlags, Es2pandaMethodDefinitionKind, Es2pandaAstNodeType, Es2pandaPluginDiagnosticType } from "../../generated/Es2pandaEnums" +import { Es2pandaContextState, Es2pandaModifierFlags, Es2pandaMethodDefinitionKind, Es2pandaAstNodeType, Es2pandaPluginDiagnosticType } from "../../../generated/Es2pandaEnums" import type { AstNode } from "../peers/AstNode" -import { DiagnosticInfo, Identifier, isConditionalExpression, SourcePosition, SourceRange, SuggestionInfo, VariableDeclarator } from "../../generated" +import { DiagnosticInfo, Identifier, isConditionalExpression, SourcePosition, SourceRange, SuggestionInfo, VariableDeclarator } from "../../../generated" import { type AnnotationUsage, ClassDefinition, @@ -41,7 +41,7 @@ import { MemberExpression, isMethodDefinition, TypeNode, -} from "../../generated" +} from "../../../generated" import { Config } from "../peers/Config" import { Context } from "../peers/Context" import { NodeCache } from "../node-cache" @@ -51,7 +51,7 @@ import { DiagnosticKind } from "../peers/DiagnosticKind" /** * Improve: Replace or remove with better naming - * + * * @deprecated */ export function createETSModuleFromContext(): ETSModule { @@ -70,7 +70,7 @@ export function createETSModuleFromContext(): ETSModule { /** * Now used only in tests * Improve: Remove or replace with better method - * + * * @deprecated */ export function createETSModuleFromSource( diff --git a/ui2abc/libarkts/src/arkts-api/visitor.ts b/ui2abc/libarkts/src/arkts-api/visitor.ts index 306a1e76b..a709ac590 100644 --- a/ui2abc/libarkts/src/arkts-api/visitor.ts +++ b/ui2abc/libarkts/src/arkts-api/visitor.ts @@ -129,8 +129,8 @@ import { VariableDeclaration, VariableDeclarator, WhileStatement -} from "../generated" -import { Es2pandaAstNodeType, Es2pandaImportKinds } from "../generated/Es2pandaEnums" +} from "../../generated" +import { Es2pandaAstNodeType, Es2pandaImportKinds } from "../../generated/Es2pandaEnums" import { factory } from "./factory/nodeFactory" import { AstNode } from "./peers/AstNode" import { global } from "./static/global" diff --git a/ui2abc/libarkts/src/arkts-api/wrapper-compat.ts b/ui2abc/libarkts/src/arkts-api/wrapper-compat.ts index 15226e716..e0af28703 100644 --- a/ui2abc/libarkts/src/arkts-api/wrapper-compat.ts +++ b/ui2abc/libarkts/src/arkts-api/wrapper-compat.ts @@ -16,7 +16,7 @@ // koala-wrapper compatibility helpers import { KNativePointer } from "@koalaui/interop" -import { ETSModule } from "../generated" +import { ETSModule } from "../../generated" import { createETSModuleFromContext } from "./utilities/public" import { global } from "./static/global" diff --git a/ui2abc/libarkts/src/index.ts b/ui2abc/libarkts/src/index.ts index 4c264e21b..edaef3699 100644 --- a/ui2abc/libarkts/src/index.ts +++ b/ui2abc/libarkts/src/index.ts @@ -16,8 +16,8 @@ export * from "./checkSdk" export * from "./utils" export * from "./reexport-for-generated" -export * from "./generated/Es2pandaEnums" -export * from "./generated" +export * from "../generated/Es2pandaEnums" +export * from "../generated" export * from "./arkts-api/utilities/performance" export * from "./arkts-api/utilities/private" diff --git a/ui2abc/libarkts/src/reexport-for-generated.ts b/ui2abc/libarkts/src/reexport-for-generated.ts index b3d8e6b2b..c8965ba57 100644 --- a/ui2abc/libarkts/src/reexport-for-generated.ts +++ b/ui2abc/libarkts/src/reexport-for-generated.ts @@ -28,5 +28,5 @@ export { } from "./arkts-api/utilities/private" export { nodeByType } from "./arkts-api/class-by-peer" export { global } from "./arkts-api/static/global" -export { Es2pandaMemberExpressionKind } from "./generated/Es2pandaEnums" +export { Es2pandaMemberExpressionKind } from "../generated/Es2pandaEnums" export * from "./arkts-api/utilities/extensions" diff --git a/ui2abc/libarkts/src/tracer.ts b/ui2abc/libarkts/src/tracer.ts index 10a5773fd..af6458da8 100644 --- a/ui2abc/libarkts/src/tracer.ts +++ b/ui2abc/libarkts/src/tracer.ts @@ -15,7 +15,7 @@ import * as fs from "node:fs" import * as path from "node:path" -import { Program } from "./generated" +import { Program } from "../generated" import { global } from "./arkts-api/static/global" export class Tracer { @@ -28,7 +28,7 @@ export class Tracer { Tracer.traceDir = path.join(outDir, 'trace') fs.rmSync(Tracer.traceDir, { force: true, recursive: true }) const globalTraceFile = path.join(Tracer.traceDir, '.global.txt') - + Tracer.GlobalTracer = new Tracer(globalTraceFile) Tracer.pushContext('tracer') traceGlobal(() => `Trace file created at ${globalTraceFile}`, true) diff --git a/ui2abc/libarkts/tsconfig.json b/ui2abc/libarkts/tsconfig.json index baa252e23..b75ee5bf4 100644 --- a/ui2abc/libarkts/tsconfig.json +++ b/ui2abc/libarkts/tsconfig.json @@ -3,12 +3,13 @@ "compilerOptions": { "outDir": "build", "baseUrl": ".", - "rootDir": "./src", + "rootDirs": ["./src", "./generated"], "module": "esnext", "tsBuildInfoFile": "./build/tsconfig.tsbuildinfo" }, "include": [ - "./src/**/*.ts" + "./src/**/*.ts", + "./generated/**/*.ts" ], "exclude": [ "./src/ts-api/**/*.ts" -- Gitee From 1bfc342e6e647e1ecbcf04e64ef15ac525e2b2c3 Mon Sep 17 00:00:00 2001 From: "evgeniy.generalov" Date: Wed, 27 Aug 2025 15:17:12 +0300 Subject: [PATCH 2/6] Remove generated sources --- ui2abc/libarkts/generated/Es2pandaEnums.ts | 1345 -- .../generated/Es2pandaNativeModule.ts | 5195 ----- ui2abc/libarkts/generated/factory.ts | 1285 -- ui2abc/libarkts/generated/index.ts | 222 - .../generated/peers/AnnotatedAstNode.ts | 44 - .../generated/peers/AnnotatedExpression.ts | 54 - .../generated/peers/AnnotatedStatement.ts | 45 - .../generated/peers/AnnotationDeclaration.ts | 165 - .../generated/peers/AnnotationUsage.ts | 84 - .../libarkts/generated/peers/ArkTsConfig.ts | 73 - .../generated/peers/ArrayExpression.ts | 109 - .../peers/ArrowFunctionExpression.ts | 119 - .../generated/peers/AssertStatement.ts | 65 - .../generated/peers/AssignmentExpression.ts | 111 - ui2abc/libarkts/generated/peers/AstDumper.ts | 49 - .../libarkts/generated/peers/AstVerifier.ts | 40 - ui2abc/libarkts/generated/peers/AstVisitor.ts | 40 - .../generated/peers/AwaitExpression.ts | 61 - .../libarkts/generated/peers/BigIntLiteral.ts | 61 - .../generated/peers/BinaryExpression.ts | 110 - .../libarkts/generated/peers/BindingProps.ts | 40 - .../generated/peers/BlockExpression.ts | 72 - .../generated/peers/BlockStatement.ts | 94 - .../generated/peers/BooleanLiteral.ts | 61 - .../generated/peers/BreakStatement.ts | 78 - .../generated/peers/CallExpression.ts | 129 - .../libarkts/generated/peers/CatchClause.ts | 74 - .../generated/peers/ChainExpression.ts | 68 - .../libarkts/generated/peers/CharLiteral.ts | 58 - .../generated/peers/ClassDeclaration.ts | 76 - .../generated/peers/ClassDefinition.ts | 368 - .../libarkts/generated/peers/ClassElement.ts | 76 - .../generated/peers/ClassExpression.ts | 62 - .../libarkts/generated/peers/ClassProperty.ts | 137 - .../generated/peers/ClassStaticBlock.ts | 66 - ui2abc/libarkts/generated/peers/CodeGen.ts | 40 - .../generated/peers/ConditionalExpression.ts | 82 - .../generated/peers/ContinueStatement.ts | 78 - .../generated/peers/DebuggerStatement.ts | 58 - .../libarkts/generated/peers/Declaration.ts | 40 - ui2abc/libarkts/generated/peers/Decorator.ts | 62 - .../generated/peers/DiagnosticInfo.ts | 40 - .../generated/peers/DirectEvalExpression.ts | 60 - .../generated/peers/DoWhileStatement.ts | 66 - .../generated/peers/DynamicImportData.ts | 40 - .../generated/peers/ETSClassLiteral.ts | 62 - .../generated/peers/ETSFunctionType.ts | 102 - .../generated/peers/ETSImportDeclaration.ts | 90 - .../generated/peers/ETSIntrinsicNode.ts | 69 - .../libarkts/generated/peers/ETSKeyofType.ts | 61 - ui2abc/libarkts/generated/peers/ETSModule.ts | 129 - .../peers/ETSNewArrayInstanceExpression.ts | 75 - .../peers/ETSNewClassInstanceExpression.ts | 79 - .../ETSNewMultiDimArrayInstanceExpression.ts | 75 - .../libarkts/generated/peers/ETSNullType.ts | 58 - .../generated/peers/ETSPackageDeclaration.ts | 59 - .../generated/peers/ETSParameterExpression.ts | 189 - .../generated/peers/ETSPrimitiveType.ts | 62 - .../generated/peers/ETSReExportDeclaration.ts | 55 - .../generated/peers/ETSStringLiteralType.ts | 58 - .../generated/peers/ETSStructDeclaration.ts | 59 - ui2abc/libarkts/generated/peers/ETSTuple.ts | 89 - .../generated/peers/ETSTypeReference.ts | 66 - .../generated/peers/ETSTypeReferencePart.ts | 78 - .../generated/peers/ETSUndefinedType.ts | 58 - .../libarkts/generated/peers/ETSUnionType.ts | 75 - .../generated/peers/ETSWildcardType.ts | 63 - .../generated/peers/EmptyStatement.ts | 66 - .../libarkts/generated/peers/ErrorLogger.ts | 40 - .../generated/peers/ExportAllDeclaration.ts | 66 - .../peers/ExportDefaultDeclaration.ts | 64 - .../generated/peers/ExportNamedDeclaration.ts | 94 - .../generated/peers/ExportSpecifier.ts | 82 - ui2abc/libarkts/generated/peers/Expression.ts | 84 - .../generated/peers/ExpressionStatement.ts | 67 - .../generated/peers/ForInStatement.ts | 69 - .../generated/peers/ForOfStatement.ts | 72 - .../generated/peers/ForUpdateStatement.ts | 67 - .../generated/peers/FunctionDeclaration.ts | 106 - .../generated/peers/FunctionExpression.ts | 74 - .../generated/peers/FunctionSignature.ts | 70 - ui2abc/libarkts/generated/peers/IRNode.ts | 40 - ui2abc/libarkts/generated/peers/Identifier.ts | 162 - .../libarkts/generated/peers/IfStatement.ts | 78 - .../generated/peers/ImportDeclaration.ts | 87 - .../generated/peers/ImportDefaultSpecifier.ts | 62 - .../generated/peers/ImportExpression.ts | 61 - .../peers/ImportNamespaceSpecifier.ts | 62 - .../libarkts/generated/peers/ImportSource.ts | 40 - .../generated/peers/ImportSpecifier.ts | 73 - ui2abc/libarkts/generated/peers/IndexInfo.ts | 40 - ui2abc/libarkts/generated/peers/LabelPair.ts | 40 - .../generated/peers/LabelledStatement.ts | 68 - ui2abc/libarkts/generated/peers/Literal.ts | 53 - .../libarkts/generated/peers/LoopStatement.ts | 45 - .../peers/MaybeOptionalExpression.ts | 53 - .../generated/peers/MemberExpression.ts | 115 - .../libarkts/generated/peers/MetaProperty.ts | 62 - .../generated/peers/MethodDefinition.ts | 152 - ui2abc/libarkts/generated/peers/NamedType.ts | 84 - .../libarkts/generated/peers/NewExpression.ts | 64 - .../libarkts/generated/peers/NullLiteral.ts | 58 - .../libarkts/generated/peers/NumberLiteral.ts | 78 - .../generated/peers/ObjectDescriptor.ts | 40 - .../generated/peers/ObjectExpression.ts | 94 - .../generated/peers/OmittedExpression.ts | 58 - .../generated/peers/OpaqueTypeNode.ts | 58 - .../generated/peers/OverloadDeclaration.ts | 101 - .../peers/PrefixAssertionExpression.ts | 65 - ui2abc/libarkts/generated/peers/Program.ts | 206 - ui2abc/libarkts/generated/peers/Property.ts | 92 - .../libarkts/generated/peers/RegExpLiteral.ts | 65 - .../generated/peers/ReturnStatement.ts | 75 - .../generated/peers/ScopeFindResult.ts | 40 - .../generated/peers/ScriptFunction.ts | 310 - .../generated/peers/ScriptFunctionData.ts | 40 - .../generated/peers/SequenceExpression.ts | 61 - .../libarkts/generated/peers/SignatureInfo.ts | 40 - .../generated/peers/SourcePosition.ts | 48 - .../libarkts/generated/peers/SourceRange.ts | 40 - .../libarkts/generated/peers/SpreadElement.ts | 83 - ui2abc/libarkts/generated/peers/SrcDumper.ts | 120 - ui2abc/libarkts/generated/peers/Statement.ts | 44 - .../libarkts/generated/peers/StringLiteral.ts | 66 - .../generated/peers/SuggestionInfo.ts | 40 - .../generated/peers/SuperExpression.ts | 58 - .../generated/peers/SwitchCaseStatement.ts | 70 - .../generated/peers/SwitchStatement.ts | 71 - .../libarkts/generated/peers/TSAnyKeyword.ts | 58 - .../libarkts/generated/peers/TSArrayType.ts | 61 - .../generated/peers/TSAsExpression.ts | 84 - .../generated/peers/TSBigintKeyword.ts | 58 - .../generated/peers/TSBooleanKeyword.ts | 58 - .../generated/peers/TSClassImplements.ts | 70 - .../generated/peers/TSConditionalType.ts | 71 - .../generated/peers/TSConstructorType.ts | 73 - .../generated/peers/TSEnumDeclaration.ts | 112 - .../libarkts/generated/peers/TSEnumMember.ts | 76 - .../peers/TSExternalModuleReference.ts | 61 - .../generated/peers/TSFunctionType.ts | 75 - .../peers/TSImportEqualsDeclaration.ts | 69 - .../libarkts/generated/peers/TSImportType.ts | 72 - .../generated/peers/TSIndexSignature.ts | 73 - .../generated/peers/TSIndexedAccessType.ts | 64 - .../libarkts/generated/peers/TSInferType.ts | 62 - .../generated/peers/TSInterfaceBody.ts | 61 - .../generated/peers/TSInterfaceDeclaration.ts | 160 - .../generated/peers/TSInterfaceHeritage.ts | 62 - .../generated/peers/TSIntersectionType.ts | 62 - .../libarkts/generated/peers/TSLiteralType.ts | 62 - .../libarkts/generated/peers/TSMappedType.ts | 72 - .../generated/peers/TSMethodSignature.ts | 79 - .../libarkts/generated/peers/TSModuleBlock.ts | 61 - .../generated/peers/TSModuleDeclaration.ts | 71 - .../generated/peers/TSNamedTupleMember.ts | 68 - .../generated/peers/TSNeverKeyword.ts | 58 - .../generated/peers/TSNonNullExpression.ts | 66 - .../libarkts/generated/peers/TSNullKeyword.ts | 58 - .../generated/peers/TSNumberKeyword.ts | 58 - .../generated/peers/TSObjectKeyword.ts | 58 - .../generated/peers/TSParameterProperty.ts | 74 - .../generated/peers/TSParenthesizedType.ts | 62 - .../generated/peers/TSPropertySignature.ts | 80 - .../generated/peers/TSQualifiedName.ts | 71 - .../generated/peers/TSSignatureDeclaration.ts | 75 - .../generated/peers/TSStringKeyword.ts | 58 - ui2abc/libarkts/generated/peers/TSThisType.ts | 58 - .../libarkts/generated/peers/TSTupleType.ts | 61 - .../generated/peers/TSTypeAliasDeclaration.ts | 151 - .../generated/peers/TSTypeAssertion.ts | 71 - .../libarkts/generated/peers/TSTypeLiteral.ts | 61 - .../generated/peers/TSTypeOperator.ts | 71 - .../generated/peers/TSTypeParameter.ts | 121 - .../peers/TSTypeParameterDeclaration.ts | 75 - .../peers/TSTypeParameterInstantiation.ts | 62 - .../generated/peers/TSTypePredicate.ts | 68 - .../libarkts/generated/peers/TSTypeQuery.ts | 62 - .../generated/peers/TSTypeReference.ts | 70 - .../generated/peers/TSUndefinedKeyword.ts | 58 - .../libarkts/generated/peers/TSUnionType.ts | 61 - .../generated/peers/TSUnknownKeyword.ts | 58 - .../libarkts/generated/peers/TSVoidKeyword.ts | 58 - .../peers/TaggedTemplateExpression.ts | 69 - .../generated/peers/TemplateElement.ts | 69 - .../generated/peers/TemplateLiteral.ts | 68 - .../generated/peers/ThisExpression.ts | 58 - .../generated/peers/ThrowStatement.ts | 62 - .../libarkts/generated/peers/TryStatement.ts | 89 - ui2abc/libarkts/generated/peers/TypeNode.ts | 81 - .../libarkts/generated/peers/TypedAstNode.ts | 44 - .../generated/peers/TypedStatement.ts | 45 - .../generated/peers/TypeofExpression.ts | 61 - .../generated/peers/UnaryExpression.ts | 70 - .../generated/peers/UndefinedLiteral.ts | 58 - .../generated/peers/UpdateExpression.ts | 68 - ui2abc/libarkts/generated/peers/VReg.ts | 40 - .../generated/peers/ValidationInfo.ts | 50 - .../generated/peers/VariableDeclaration.ts | 113 - .../generated/peers/VariableDeclarator.ts | 79 - .../generated/peers/VerificationContext.ts | 40 - .../generated/peers/VerifierMessage.ts | 40 - .../generated/peers/WhileStatement.ts | 71 - .../generated/peers/YieldExpression.ts | 64 - .../libarkts/native/src/generated/bridges.cc | 16384 ---------------- 204 files changed, 39158 deletions(-) delete mode 100644 ui2abc/libarkts/generated/Es2pandaEnums.ts delete mode 100644 ui2abc/libarkts/generated/Es2pandaNativeModule.ts delete mode 100644 ui2abc/libarkts/generated/factory.ts delete mode 100644 ui2abc/libarkts/generated/index.ts delete mode 100644 ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts delete mode 100644 ui2abc/libarkts/generated/peers/AnnotatedExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/AnnotatedStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/AnnotationUsage.ts delete mode 100644 ui2abc/libarkts/generated/peers/ArkTsConfig.ts delete mode 100644 ui2abc/libarkts/generated/peers/ArrayExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/AssertStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/AssignmentExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/AstDumper.ts delete mode 100644 ui2abc/libarkts/generated/peers/AstVerifier.ts delete mode 100644 ui2abc/libarkts/generated/peers/AstVisitor.ts delete mode 100644 ui2abc/libarkts/generated/peers/AwaitExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/BigIntLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/BinaryExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/BindingProps.ts delete mode 100644 ui2abc/libarkts/generated/peers/BlockExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/BlockStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/BooleanLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/BreakStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/CallExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/CatchClause.ts delete mode 100644 ui2abc/libarkts/generated/peers/ChainExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/CharLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/ClassDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ClassDefinition.ts delete mode 100644 ui2abc/libarkts/generated/peers/ClassElement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ClassExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ClassProperty.ts delete mode 100644 ui2abc/libarkts/generated/peers/ClassStaticBlock.ts delete mode 100644 ui2abc/libarkts/generated/peers/CodeGen.ts delete mode 100644 ui2abc/libarkts/generated/peers/ConditionalExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ContinueStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/DebuggerStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/Declaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/Decorator.ts delete mode 100644 ui2abc/libarkts/generated/peers/DiagnosticInfo.ts delete mode 100644 ui2abc/libarkts/generated/peers/DirectEvalExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/DoWhileStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/DynamicImportData.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSClassLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSFunctionType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSKeyofType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSModule.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSNullType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSParameterExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSTuple.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSTypeReference.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSUndefinedType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSUnionType.ts delete mode 100644 ui2abc/libarkts/generated/peers/ETSWildcardType.ts delete mode 100644 ui2abc/libarkts/generated/peers/EmptyStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ErrorLogger.ts delete mode 100644 ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ExportSpecifier.ts delete mode 100644 ui2abc/libarkts/generated/peers/Expression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ExpressionStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ForInStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ForOfStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ForUpdateStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/FunctionDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/FunctionExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/FunctionSignature.ts delete mode 100644 ui2abc/libarkts/generated/peers/IRNode.ts delete mode 100644 ui2abc/libarkts/generated/peers/Identifier.ts delete mode 100644 ui2abc/libarkts/generated/peers/IfStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ImportDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts delete mode 100644 ui2abc/libarkts/generated/peers/ImportExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts delete mode 100644 ui2abc/libarkts/generated/peers/ImportSource.ts delete mode 100644 ui2abc/libarkts/generated/peers/ImportSpecifier.ts delete mode 100644 ui2abc/libarkts/generated/peers/IndexInfo.ts delete mode 100644 ui2abc/libarkts/generated/peers/LabelPair.ts delete mode 100644 ui2abc/libarkts/generated/peers/LabelledStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/Literal.ts delete mode 100644 ui2abc/libarkts/generated/peers/LoopStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/MemberExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/MetaProperty.ts delete mode 100644 ui2abc/libarkts/generated/peers/MethodDefinition.ts delete mode 100644 ui2abc/libarkts/generated/peers/NamedType.ts delete mode 100644 ui2abc/libarkts/generated/peers/NewExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/NullLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/NumberLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/ObjectDescriptor.ts delete mode 100644 ui2abc/libarkts/generated/peers/ObjectExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/OmittedExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts delete mode 100644 ui2abc/libarkts/generated/peers/OverloadDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/Program.ts delete mode 100644 ui2abc/libarkts/generated/peers/Property.ts delete mode 100644 ui2abc/libarkts/generated/peers/RegExpLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/ReturnStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/ScopeFindResult.ts delete mode 100644 ui2abc/libarkts/generated/peers/ScriptFunction.ts delete mode 100644 ui2abc/libarkts/generated/peers/ScriptFunctionData.ts delete mode 100644 ui2abc/libarkts/generated/peers/SequenceExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/SignatureInfo.ts delete mode 100644 ui2abc/libarkts/generated/peers/SourcePosition.ts delete mode 100644 ui2abc/libarkts/generated/peers/SourceRange.ts delete mode 100644 ui2abc/libarkts/generated/peers/SpreadElement.ts delete mode 100644 ui2abc/libarkts/generated/peers/SrcDumper.ts delete mode 100644 ui2abc/libarkts/generated/peers/Statement.ts delete mode 100644 ui2abc/libarkts/generated/peers/StringLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/SuggestionInfo.ts delete mode 100644 ui2abc/libarkts/generated/peers/SuperExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/SwitchStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSAnyKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSArrayType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSAsExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSBigintKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSClassImplements.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSConditionalType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSConstructorType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSEnumMember.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSFunctionType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSImportType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSIndexSignature.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSInferType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSInterfaceBody.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSIntersectionType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSLiteralType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSMappedType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSMethodSignature.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSModuleBlock.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSNeverKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSNonNullExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSNullKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSNumberKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSObjectKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSParameterProperty.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSParenthesizedType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSPropertySignature.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSQualifiedName.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSStringKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSThisType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTupleType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeAssertion.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeOperator.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeParameter.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypePredicate.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeQuery.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSTypeReference.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSUnionType.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TSVoidKeyword.ts delete mode 100644 ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/TemplateElement.ts delete mode 100644 ui2abc/libarkts/generated/peers/TemplateLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/ThisExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/ThrowStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/TryStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/TypeNode.ts delete mode 100644 ui2abc/libarkts/generated/peers/TypedAstNode.ts delete mode 100644 ui2abc/libarkts/generated/peers/TypedStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/TypeofExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/UnaryExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/UndefinedLiteral.ts delete mode 100644 ui2abc/libarkts/generated/peers/UpdateExpression.ts delete mode 100644 ui2abc/libarkts/generated/peers/VReg.ts delete mode 100644 ui2abc/libarkts/generated/peers/ValidationInfo.ts delete mode 100644 ui2abc/libarkts/generated/peers/VariableDeclaration.ts delete mode 100644 ui2abc/libarkts/generated/peers/VariableDeclarator.ts delete mode 100644 ui2abc/libarkts/generated/peers/VerificationContext.ts delete mode 100644 ui2abc/libarkts/generated/peers/VerifierMessage.ts delete mode 100644 ui2abc/libarkts/generated/peers/WhileStatement.ts delete mode 100644 ui2abc/libarkts/generated/peers/YieldExpression.ts delete mode 100644 ui2abc/libarkts/native/src/generated/bridges.cc diff --git a/ui2abc/libarkts/generated/Es2pandaEnums.ts b/ui2abc/libarkts/generated/Es2pandaEnums.ts deleted file mode 100644 index 455e87443..000000000 --- a/ui2abc/libarkts/generated/Es2pandaEnums.ts +++ /dev/null @@ -1,1345 +0,0 @@ -/* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - - -export enum Es2pandaContextState { - ES2PANDA_STATE_NEW = 0, - ES2PANDA_STATE_PARSED = 1, - ES2PANDA_STATE_BOUND = 2, - ES2PANDA_STATE_CHECKED = 3, - ES2PANDA_STATE_LOWERED = 4, - ES2PANDA_STATE_ASM_GENERATED = 5, - ES2PANDA_STATE_BIN_GENERATED = 6, - ES2PANDA_STATE_ERROR = 7 -} -export enum Es2pandaPluginDiagnosticType { - ES2PANDA_PLUGIN_WARNING = 0, - ES2PANDA_PLUGIN_ERROR = 1, - ES2PANDA_PLUGIN_SUGGESTION = 2 -} -export enum Es2pandaAstNodeType { - AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION = 0, - AST_NODE_TYPE_ANNOTATION_DECLARATION = 1, - AST_NODE_TYPE_ANNOTATION_USAGE = 2, - AST_NODE_TYPE_ASSERT_STATEMENT = 3, - AST_NODE_TYPE_AWAIT_EXPRESSION = 4, - AST_NODE_TYPE_BIGINT_LITERAL = 5, - AST_NODE_TYPE_BINARY_EXPRESSION = 6, - AST_NODE_TYPE_BLOCK_STATEMENT = 7, - AST_NODE_TYPE_BOOLEAN_LITERAL = 8, - AST_NODE_TYPE_BREAK_STATEMENT = 9, - AST_NODE_TYPE_CALL_EXPRESSION = 10, - AST_NODE_TYPE_CATCH_CLAUSE = 11, - AST_NODE_TYPE_CHAIN_EXPRESSION = 12, - AST_NODE_TYPE_CHAR_LITERAL = 13, - AST_NODE_TYPE_CLASS_DEFINITION = 14, - AST_NODE_TYPE_CLASS_DECLARATION = 15, - AST_NODE_TYPE_CLASS_EXPRESSION = 16, - AST_NODE_TYPE_CLASS_PROPERTY = 17, - AST_NODE_TYPE_CLASS_STATIC_BLOCK = 18, - AST_NODE_TYPE_CONDITIONAL_EXPRESSION = 19, - AST_NODE_TYPE_CONTINUE_STATEMENT = 20, - AST_NODE_TYPE_DEBUGGER_STATEMENT = 21, - AST_NODE_TYPE_DECORATOR = 22, - AST_NODE_TYPE_DIRECT_EVAL = 23, - AST_NODE_TYPE_DO_WHILE_STATEMENT = 24, - AST_NODE_TYPE_EMPTY_STATEMENT = 25, - AST_NODE_TYPE_EXPORT_ALL_DECLARATION = 26, - AST_NODE_TYPE_EXPORT_DEFAULT_DECLARATION = 27, - AST_NODE_TYPE_EXPORT_NAMED_DECLARATION = 28, - AST_NODE_TYPE_EXPORT_SPECIFIER = 29, - AST_NODE_TYPE_EXPRESSION_STATEMENT = 30, - AST_NODE_TYPE_FOR_IN_STATEMENT = 31, - AST_NODE_TYPE_FOR_OF_STATEMENT = 32, - AST_NODE_TYPE_FOR_UPDATE_STATEMENT = 33, - AST_NODE_TYPE_FUNCTION_DECLARATION = 34, - AST_NODE_TYPE_FUNCTION_EXPRESSION = 35, - AST_NODE_TYPE_IDENTIFIER = 36, - AST_NODE_TYPE_DUMMYNODE = 37, - AST_NODE_TYPE_IF_STATEMENT = 38, - AST_NODE_TYPE_IMPORT_DECLARATION = 39, - AST_NODE_TYPE_IMPORT_EXPRESSION = 40, - AST_NODE_TYPE_IMPORT_DEFAULT_SPECIFIER = 41, - AST_NODE_TYPE_IMPORT_NAMESPACE_SPECIFIER = 42, - AST_NODE_TYPE_IMPORT_SPECIFIER = 43, - AST_NODE_TYPE_LABELLED_STATEMENT = 44, - AST_NODE_TYPE_MEMBER_EXPRESSION = 45, - AST_NODE_TYPE_META_PROPERTY_EXPRESSION = 46, - AST_NODE_TYPE_METHOD_DEFINITION = 47, - AST_NODE_TYPE_NAMED_TYPE = 48, - AST_NODE_TYPE_NEW_EXPRESSION = 49, - AST_NODE_TYPE_NULL_LITERAL = 50, - AST_NODE_TYPE_UNDEFINED_LITERAL = 51, - AST_NODE_TYPE_NUMBER_LITERAL = 52, - AST_NODE_TYPE_OMITTED_EXPRESSION = 53, - AST_NODE_TYPE_OVERLOAD_DECLARATION = 54, - AST_NODE_TYPE_PREFIX_ASSERTION_EXPRESSION = 55, - AST_NODE_TYPE_PROPERTY = 56, - AST_NODE_TYPE_REGEXP_LITERAL = 57, - AST_NODE_TYPE_REEXPORT_STATEMENT = 58, - AST_NODE_TYPE_RETURN_STATEMENT = 59, - AST_NODE_TYPE_SCRIPT_FUNCTION = 60, - AST_NODE_TYPE_SEQUENCE_EXPRESSION = 61, - AST_NODE_TYPE_STRING_LITERAL = 62, - AST_NODE_TYPE_ETS_NON_NULLISH_TYPE = 63, - AST_NODE_TYPE_ETS_NULL_TYPE = 64, - AST_NODE_TYPE_ETS_UNDEFINED_TYPE = 65, - AST_NODE_TYPE_ETS_NEVER_TYPE = 66, - AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE = 67, - AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE = 68, - AST_NODE_TYPE_ETS_FUNCTION_TYPE = 69, - AST_NODE_TYPE_ETS_WILDCARD_TYPE = 70, - AST_NODE_TYPE_ETS_PRIMITIVE_TYPE = 71, - AST_NODE_TYPE_ETS_PACKAGE_DECLARATION = 72, - AST_NODE_TYPE_ETS_CLASS_LITERAL = 73, - AST_NODE_TYPE_ETS_TYPE_REFERENCE = 74, - AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART = 75, - AST_NODE_TYPE_ETS_UNION_TYPE = 76, - AST_NODE_TYPE_ETS_KEYOF_TYPE = 77, - AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION = 78, - AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION = 79, - AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION = 80, - AST_NODE_TYPE_ETS_IMPORT_DECLARATION = 81, - AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION = 82, - AST_NODE_TYPE_ETS_TUPLE = 83, - AST_NODE_TYPE_ETS_MODULE = 84, - AST_NODE_TYPE_SUPER_EXPRESSION = 85, - AST_NODE_TYPE_STRUCT_DECLARATION = 86, - AST_NODE_TYPE_SWITCH_CASE_STATEMENT = 87, - AST_NODE_TYPE_SWITCH_STATEMENT = 88, - AST_NODE_TYPE_TS_ENUM_DECLARATION = 89, - AST_NODE_TYPE_TS_ENUM_MEMBER = 90, - AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE = 91, - AST_NODE_TYPE_TS_NUMBER_KEYWORD = 92, - AST_NODE_TYPE_TS_ANY_KEYWORD = 93, - AST_NODE_TYPE_TS_STRING_KEYWORD = 94, - AST_NODE_TYPE_TS_BOOLEAN_KEYWORD = 95, - AST_NODE_TYPE_TS_VOID_KEYWORD = 96, - AST_NODE_TYPE_TS_UNDEFINED_KEYWORD = 97, - AST_NODE_TYPE_TS_UNKNOWN_KEYWORD = 98, - AST_NODE_TYPE_TS_OBJECT_KEYWORD = 99, - AST_NODE_TYPE_TS_BIGINT_KEYWORD = 100, - AST_NODE_TYPE_TS_NEVER_KEYWORD = 101, - AST_NODE_TYPE_TS_NON_NULL_EXPRESSION = 102, - AST_NODE_TYPE_TS_NULL_KEYWORD = 103, - AST_NODE_TYPE_TS_ARRAY_TYPE = 104, - AST_NODE_TYPE_TS_UNION_TYPE = 105, - AST_NODE_TYPE_TS_TYPE_LITERAL = 106, - AST_NODE_TYPE_TS_PROPERTY_SIGNATURE = 107, - AST_NODE_TYPE_TS_METHOD_SIGNATURE = 108, - AST_NODE_TYPE_TS_SIGNATURE_DECLARATION = 109, - AST_NODE_TYPE_TS_PARENT_TYPE = 110, - AST_NODE_TYPE_TS_LITERAL_TYPE = 111, - AST_NODE_TYPE_TS_INFER_TYPE = 112, - AST_NODE_TYPE_TS_CONDITIONAL_TYPE = 113, - AST_NODE_TYPE_TS_IMPORT_TYPE = 114, - AST_NODE_TYPE_TS_INTERSECTION_TYPE = 115, - AST_NODE_TYPE_TS_MAPPED_TYPE = 116, - AST_NODE_TYPE_TS_MODULE_BLOCK = 117, - AST_NODE_TYPE_TS_THIS_TYPE = 118, - AST_NODE_TYPE_TS_TYPE_OPERATOR = 119, - AST_NODE_TYPE_TS_TYPE_PARAMETER = 120, - AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION = 121, - AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION = 122, - AST_NODE_TYPE_TS_TYPE_PREDICATE = 123, - AST_NODE_TYPE_TS_PARAMETER_PROPERTY = 124, - AST_NODE_TYPE_TS_MODULE_DECLARATION = 125, - AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION = 126, - AST_NODE_TYPE_TS_FUNCTION_TYPE = 127, - AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE = 128, - AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION = 129, - AST_NODE_TYPE_TS_TYPE_REFERENCE = 130, - AST_NODE_TYPE_TS_QUALIFIED_NAME = 131, - AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE = 132, - AST_NODE_TYPE_TS_INTERFACE_DECLARATION = 133, - AST_NODE_TYPE_TS_INTERFACE_BODY = 134, - AST_NODE_TYPE_TS_INTERFACE_HERITAGE = 135, - AST_NODE_TYPE_TS_TUPLE_TYPE = 136, - AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER = 137, - AST_NODE_TYPE_TS_INDEX_SIGNATURE = 138, - AST_NODE_TYPE_TS_TYPE_QUERY = 139, - AST_NODE_TYPE_TS_AS_EXPRESSION = 140, - AST_NODE_TYPE_TS_CLASS_IMPLEMENTS = 141, - AST_NODE_TYPE_TS_TYPE_ASSERTION = 142, - AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION = 143, - AST_NODE_TYPE_TEMPLATE_ELEMENT = 144, - AST_NODE_TYPE_TEMPLATE_LITERAL = 145, - AST_NODE_TYPE_THIS_EXPRESSION = 146, - AST_NODE_TYPE_TYPEOF_EXPRESSION = 147, - AST_NODE_TYPE_THROW_STATEMENT = 148, - AST_NODE_TYPE_TRY_STATEMENT = 149, - AST_NODE_TYPE_UNARY_EXPRESSION = 150, - AST_NODE_TYPE_UPDATE_EXPRESSION = 151, - AST_NODE_TYPE_VARIABLE_DECLARATION = 152, - AST_NODE_TYPE_VARIABLE_DECLARATOR = 153, - AST_NODE_TYPE_WHILE_STATEMENT = 154, - AST_NODE_TYPE_YIELD_EXPRESSION = 155, - AST_NODE_TYPE_OPAQUE_TYPE_NODE = 156, - AST_NODE_TYPE_BLOCK_EXPRESSION = 157, - AST_NODE_TYPE_BROKEN_TYPE_NODE = 158, - AST_NODE_TYPE_ARRAY_EXPRESSION = 159, - AST_NODE_TYPE_ARRAY_PATTERN = 160, - AST_NODE_TYPE_ASSIGNMENT_EXPRESSION = 161, - AST_NODE_TYPE_ASSIGNMENT_PATTERN = 162, - AST_NODE_TYPE_OBJECT_EXPRESSION = 163, - AST_NODE_TYPE_OBJECT_PATTERN = 164, - AST_NODE_TYPE_SPREAD_ELEMENT = 165, - AST_NODE_TYPE_REST_ELEMENT = 166 -} -export enum Es2pandaScopeType { - SCOPE_TYPE_PARAM = 0, - SCOPE_TYPE_CATCH_PARAM = 1, - SCOPE_TYPE_FUNCTION_PARAM = 2, - SCOPE_TYPE_CATCH = 3, - SCOPE_TYPE_CLASS = 4, - SCOPE_TYPE_ANNOTATION = 5, - SCOPE_TYPE_ANNOTATIONPARAMSCOPE = 6, - SCOPE_TYPE_LOCAL = 7, - SCOPE_TYPE_LOOP = 8, - SCOPE_TYPE_LOOP_DECL = 9, - SCOPE_TYPE_FUNCTION = 10, - SCOPE_TYPE_GLOBAL = 11, - SCOPE_TYPE_MODULE = 12 -} -export enum Es2pandaDeclType { - DECL_TYPE_NONE = 0, - DECL_TYPE_VAR = 1, - DECL_TYPE_LET = 2, - DECL_TYPE_CONST = 3, - DECL_TYPE_LABEL = 4, - DECL_TYPE_READONLY = 5, - DECL_TYPE_FUNC = 6, - DECL_TYPE_PARAM = 7, - DECL_TYPE_IMPORT = 8, - DECL_TYPE_DYNAMIC_IMPORT = 9, - DECL_TYPE_EXPORT = 10, - DECL_TYPE_ANNOTATIONDECL = 11, - DECL_TYPE_ANNOTATIONUSAGE = 12, - DECL_TYPE_TYPE_ALIAS = 13, - DECL_TYPE_NAMESPACE = 14, - DECL_TYPE_INTERFACE = 15, - DECL_TYPE_ENUM_LITERAL = 16, - DECL_TYPE_TYPE_PARAMETER = 17, - DECL_TYPE_PROPERTY = 18, - DECL_TYPE_CLASS = 19, - DECL_TYPE_METHOD = 20, - DECL_TYPE_ENUM = 21 -} -export enum Es2pandaResolveBindingOptions { - RESOLVE_BINDING_OPTIONS_BINDINGS = 0, - RESOLVE_BINDING_OPTIONS_INTERFACES = 1, - RESOLVE_BINDING_OPTIONS_VARIABLES = 2, - RESOLVE_BINDING_OPTIONS_METHODS = 4, - RESOLVE_BINDING_OPTIONS_DECLARATION = 8, - RESOLVE_BINDING_OPTIONS_STATIC_VARIABLES = 16, - RESOLVE_BINDING_OPTIONS_STATIC_METHODS = 32, - RESOLVE_BINDING_OPTIONS_STATIC_DECLARATION = 64, - RESOLVE_BINDING_OPTIONS_TYPE_ALIASES = 128, - RESOLVE_BINDING_OPTIONS_ALL = 256, - RESOLVE_BINDING_OPTIONS_ALL_VARIABLES = 18, - RESOLVE_BINDING_OPTIONS_ALL_METHOD = 36, - RESOLVE_BINDING_OPTIONS_ALL_DECLARATION = 72, - RESOLVE_BINDING_OPTIONS_ALL_STATIC = 112, - RESOLVE_BINDING_OPTIONS_ALL_NON_STATIC = 14, - RESOLVE_BINDING_OPTIONS_LAST = 128 -} -export enum Es2pandaVariableKind { - VARIABLE_KIND_NONE = 0, - VARIABLE_KIND_VAR = 1, - VARIABLE_KIND_LEXICAL = 2, - VARIABLE_KIND_FUNCTION = 3, - VARIABLE_KIND_MODULE = 4 -} -export enum Es2pandaLetOrConstStatus { - LET_OR_CONST_STATUS_INITIALIZED = 0, - LET_OR_CONST_STATUS_UNINITIALIZED = 1 -} -export enum Es2pandaScopeFlags { - SCOPE_FLAGS_NONE = 0, - SCOPE_FLAGS_SET_LEXICAL_FUNCTION = 1, - SCOPE_FLAGS_USE_ARGS = 2, - SCOPE_FLAGS_USE_SUPER = 4, - SCOPE_FLAGS_INNER_ARROW = 8, - SCOPE_FLAGS_NO_REG_STORE = 16, - SCOPE_FLAGS_DECL_SCOPE = 32, - SCOPE_FLAGS_FIELD_SCOPE = 64, - SCOPE_FLAGS_METHOD_SCOPE = 128, - SCOPE_FLAGS_STATIC = 256, - SCOPE_FLAGS_TYPE_ALIAS = 512, - SCOPE_FLAGS_LOOP_SCOPE = 1024, - SCOPE_FLAGS_STATIC_DECL_SCOPE = 288, - SCOPE_FLAGS_STATIC_FIELD_SCOPE = 320, - SCOPE_FLAGS_STATIC_METHOD_SCOPE = 384 -} -export enum Es2pandaEnum { - ENUM_NODE_HAS_PARENT = 0, - ENUM_NODE_HAS_SOURCE_RANGE = 1, - ENUM_EVERY_CHILD_HAS_VALID_PARENT = 2, - ENUM_EVERY_CHILD_IN_PARENT_RANGE = 3, - ENUM_CHECK_STRUCT_DECLARATION = 4, - ENUM_VARIABLE_HAS_SCOPE = 5, - ENUM_NODE_HAS_TYPE = 6, - ENUM_NO_PRIMITIVE_TYPES = 7, - ENUM_IDENTIFIER_HAS_VARIABLE = 8, - ENUM_REFERENCE_TYPE_ANNOTATION_IS_NULL = 9, - ENUM_ARITHMETIC_OPERATION_VALID = 10, - ENUM_SEQUENCE_EXPRESSION_HAS_LAST_TYPE = 11, - ENUM_FOR_LOOP_CORRECTLY_INITIALIZED = 12, - ENUM_VARIABLE_HAS_ENCLOSING_SCOPE = 13, - ENUM_MODIFIER_ACCESS_VALID = 14, - ENUM_VARIABLE_NAME_IDENTIFIER_NAME_SAME = 15, - ENUM_CHECK_ABSTRACT_METHOD = 16, - ENUM_GETTER_SETTER_VALIDATION = 17, - ENUM_CHECK_SCOPE_DECLARATION = 18, - ENUM_CHECK_CONST_PROPERTIES = 19, - ENUM_COUNT = 20, - ENUM_BASE_FIRST = 0, - ENUM_BASE_LAST = 3, - ENUM_AFTER_PLUGINS_AFTER_PARSE_FIRST = 4, - ENUM_AFTER_PLUGINS_AFTER_PARSE_LAST = 4, - ENUM_AFTER_SCOPES_INIT_PHASE_FIRST = 5, - ENUM_AFTER_SCOPES_INIT_PHASE_LAST = 5, - ENUM_AFTER_CHECKER_PHASE_FIRST = 6, - ENUM_AFTER_CHECKER_PHASE_LAST = 19, - ENUM_FIRST = 0, - ENUM_LAST = 19, - ENUM_INVALID = 20 -} -export enum Es2pandaRegExpFlags { - REG_EXP_FLAGS_EMPTY = 0, - REG_EXP_FLAGS_GLOBAL = 1, - REG_EXP_FLAGS_IGNORE_CASE = 2, - REG_EXP_FLAGS_MULTILINE = 4, - REG_EXP_FLAGS_DOTALL = 8, - REG_EXP_FLAGS_UNICODE = 16, - REG_EXP_FLAGS_STICKY = 32 -} -export enum Es2pandaId { - ID_AS = 0, - ID_JS = 1, - ID_TS = 2, - ID_ETS = 3, - ID_COUNT = 4 -} -export enum Es2pandaTokenType { - TOKEN_TYPE_EOS = 0, - TOKEN_TYPE_LITERAL_IDENT = 1, - TOKEN_TYPE_LITERAL_STRING = 2, - TOKEN_TYPE_LITERAL_CHAR = 3, - TOKEN_TYPE_LITERAL_NUMBER = 4, - TOKEN_TYPE_LITERAL_REGEXP = 5, - TOKEN_TYPE_PUNCTUATOR_BITWISE_AND = 6, - TOKEN_TYPE_PUNCTUATOR_BITWISE_OR = 7, - TOKEN_TYPE_PUNCTUATOR_MULTIPLY = 8, - TOKEN_TYPE_PUNCTUATOR_DIVIDE = 9, - TOKEN_TYPE_PUNCTUATOR_MINUS = 10, - TOKEN_TYPE_PUNCTUATOR_EXCLAMATION_MARK = 11, - TOKEN_TYPE_PUNCTUATOR_TILDE = 12, - TOKEN_TYPE_PUNCTUATOR_MINUS_MINUS = 13, - TOKEN_TYPE_PUNCTUATOR_LEFT_SHIFT = 14, - TOKEN_TYPE_PUNCTUATOR_RIGHT_SHIFT = 15, - TOKEN_TYPE_PUNCTUATOR_LESS_THAN_EQUAL = 16, - TOKEN_TYPE_PUNCTUATOR_GREATER_THAN_EQUAL = 17, - TOKEN_TYPE_PUNCTUATOR_MOD = 18, - TOKEN_TYPE_PUNCTUATOR_BITWISE_XOR = 19, - TOKEN_TYPE_PUNCTUATOR_EXPONENTIATION = 20, - TOKEN_TYPE_PUNCTUATOR_MULTIPLY_EQUAL = 21, - TOKEN_TYPE_PUNCTUATOR_EXPONENTIATION_EQUAL = 22, - TOKEN_TYPE_PUNCTUATOR_ARROW = 23, - TOKEN_TYPE_PUNCTUATOR_BACK_TICK = 24, - TOKEN_TYPE_PUNCTUATOR_HASH_MARK = 25, - TOKEN_TYPE_PUNCTUATOR_DIVIDE_EQUAL = 26, - TOKEN_TYPE_PUNCTUATOR_MOD_EQUAL = 27, - TOKEN_TYPE_PUNCTUATOR_MINUS_EQUAL = 28, - TOKEN_TYPE_PUNCTUATOR_LEFT_SHIFT_EQUAL = 29, - TOKEN_TYPE_PUNCTUATOR_RIGHT_SHIFT_EQUAL = 30, - TOKEN_TYPE_PUNCTUATOR_UNSIGNED_RIGHT_SHIFT = 31, - TOKEN_TYPE_PUNCTUATOR_UNSIGNED_RIGHT_SHIFT_EQUAL = 32, - TOKEN_TYPE_PUNCTUATOR_BITWISE_AND_EQUAL = 33, - TOKEN_TYPE_PUNCTUATOR_BITWISE_OR_EQUAL = 34, - TOKEN_TYPE_PUNCTUATOR_LOGICAL_AND_EQUAL = 35, - TOKEN_TYPE_PUNCTUATOR_NULLISH_COALESCING = 36, - TOKEN_TYPE_PUNCTUATOR_LOGICAL_OR_EQUAL = 37, - TOKEN_TYPE_PUNCTUATOR_LOGICAL_NULLISH_EQUAL = 38, - TOKEN_TYPE_PUNCTUATOR_BITWISE_XOR_EQUAL = 39, - TOKEN_TYPE_PUNCTUATOR_PLUS = 40, - TOKEN_TYPE_PUNCTUATOR_PLUS_PLUS = 41, - TOKEN_TYPE_PUNCTUATOR_PLUS_EQUAL = 42, - TOKEN_TYPE_PUNCTUATOR_LESS_THAN = 43, - TOKEN_TYPE_PUNCTUATOR_GREATER_THAN = 44, - TOKEN_TYPE_PUNCTUATOR_EQUAL = 45, - TOKEN_TYPE_PUNCTUATOR_NOT_EQUAL = 46, - TOKEN_TYPE_PUNCTUATOR_STRICT_EQUAL = 47, - TOKEN_TYPE_PUNCTUATOR_NOT_STRICT_EQUAL = 48, - TOKEN_TYPE_PUNCTUATOR_LOGICAL_AND = 49, - TOKEN_TYPE_PUNCTUATOR_LOGICAL_OR = 50, - TOKEN_TYPE_PUNCTUATOR_SUBSTITUTION = 51, - TOKEN_TYPE_PUNCTUATOR_QUESTION_MARK = 52, - TOKEN_TYPE_PUNCTUATOR_QUESTION_DOT = 53, - TOKEN_TYPE_PUNCTUATOR_AT = 54, - TOKEN_TYPE_PUNCTUATOR_FORMAT = 55, - TOKEN_TYPE_PUNCTUATOR_RIGHT_PARENTHESIS = 56, - TOKEN_TYPE_PUNCTUATOR_LEFT_PARENTHESIS = 57, - TOKEN_TYPE_PUNCTUATOR_RIGHT_SQUARE_BRACKET = 58, - TOKEN_TYPE_PUNCTUATOR_LEFT_SQUARE_BRACKET = 59, - TOKEN_TYPE_PUNCTUATOR_RIGHT_BRACE = 60, - TOKEN_TYPE_PUNCTUATOR_PERIOD = 61, - TOKEN_TYPE_PUNCTUATOR_PERIOD_PERIOD_PERIOD = 62, - TOKEN_TYPE_PUNCTUATOR_PERIOD_QUESTION = 63, - TOKEN_TYPE_PUNCTUATOR_LEFT_BRACE = 64, - TOKEN_TYPE_PUNCTUATOR_SEMI_COLON = 65, - TOKEN_TYPE_PUNCTUATOR_COLON = 66, - TOKEN_TYPE_PUNCTUATOR_COMMA = 67, - TOKEN_TYPE_KEYW_ABSTRACT = 68, - TOKEN_TYPE_KEYW_ANY = 69, - TOKEN_TYPE_KEYW_BUILTIN_ANY = 70, - TOKEN_TYPE_KEYW_ANYREF = 71, - TOKEN_TYPE_KEYW_ARGUMENTS = 72, - TOKEN_TYPE_KEYW_AS = 73, - TOKEN_TYPE_KEYW_ASSERTS = 74, - TOKEN_TYPE_KEYW_ASYNC = 75, - TOKEN_TYPE_KEYW_AWAIT = 76, - TOKEN_TYPE_KEYW_BIGINT = 77, - TOKEN_TYPE_KEYW_BUILTIN_BIGINT = 78, - TOKEN_TYPE_KEYW_BOOLEAN = 79, - TOKEN_TYPE_KEYW_BUILTIN_BOOLEAN = 80, - TOKEN_TYPE_KEYW_BREAK = 81, - TOKEN_TYPE_KEYW_BYTE = 82, - TOKEN_TYPE_KEYW_BUILTIN_BYTE = 83, - TOKEN_TYPE_KEYW_CASE = 84, - TOKEN_TYPE_KEYW_CATCH = 85, - TOKEN_TYPE_KEYW_CHAR = 86, - TOKEN_TYPE_KEYW_BUILTIN_CHAR = 87, - TOKEN_TYPE_KEYW_CLASS = 88, - TOKEN_TYPE_KEYW_CONST = 89, - TOKEN_TYPE_KEYW_CONSTRUCTOR = 90, - TOKEN_TYPE_KEYW_CONTINUE = 91, - TOKEN_TYPE_KEYW_DATAREF = 92, - TOKEN_TYPE_KEYW_DEBUGGER = 93, - TOKEN_TYPE_KEYW_DECLARE = 94, - TOKEN_TYPE_KEYW_DEFAULT = 95, - TOKEN_TYPE_KEYW_DELETE = 96, - TOKEN_TYPE_KEYW_DO = 97, - TOKEN_TYPE_KEYW_DOUBLE = 98, - TOKEN_TYPE_KEYW_BUILTIN_DOUBLE = 99, - TOKEN_TYPE_KEYW_ELSE = 100, - TOKEN_TYPE_KEYW_ENUM = 101, - TOKEN_TYPE_KEYW_EQREF = 102, - TOKEN_TYPE_KEYW_EVAL = 103, - TOKEN_TYPE_KEYW_EXPORT = 104, - TOKEN_TYPE_KEYW_EXTENDS = 105, - TOKEN_TYPE_KEYW_EXTERNREF = 106, - TOKEN_TYPE_KEYW_F32 = 107, - TOKEN_TYPE_KEYW_F64 = 108, - TOKEN_TYPE_LITERAL_FALSE = 109, - TOKEN_TYPE_KEYW_FINALLY = 110, - TOKEN_TYPE_KEYW_FLOAT = 111, - TOKEN_TYPE_KEYW_BUILTIN_FLOAT = 112, - TOKEN_TYPE_KEYW_FOR = 113, - TOKEN_TYPE_KEYW_FROM = 114, - TOKEN_TYPE_KEYW_FUNCREF = 115, - TOKEN_TYPE_KEYW_FUNCTION = 116, - TOKEN_TYPE_KEYW_GET = 117, - TOKEN_TYPE_KEYW_GLOBAL = 118, - TOKEN_TYPE_KEYW_I8 = 119, - TOKEN_TYPE_KEYW_I16 = 120, - TOKEN_TYPE_KEYW_I31REF = 121, - TOKEN_TYPE_KEYW_I32 = 122, - TOKEN_TYPE_KEYW_I64 = 123, - TOKEN_TYPE_KEYW_IF = 124, - TOKEN_TYPE_KEYW_IMPLEMENTS = 125, - TOKEN_TYPE_KEYW_IMPORT = 126, - TOKEN_TYPE_KEYW_IN = 127, - TOKEN_TYPE_KEYW_INFER = 128, - TOKEN_TYPE_KEYW_INIT_MODULE = 129, - TOKEN_TYPE_KEYW_INSTANCEOF = 130, - TOKEN_TYPE_KEYW_INT = 131, - TOKEN_TYPE_KEYW_BUILTIN_INT = 132, - TOKEN_TYPE_KEYW_INTERFACE = 133, - TOKEN_TYPE_KEYW_IS = 134, - TOKEN_TYPE_KEYW_ISIZE = 135, - TOKEN_TYPE_KEYW_KEYOF = 136, - TOKEN_TYPE_KEYW_LET = 137, - TOKEN_TYPE_KEYW_LONG = 138, - TOKEN_TYPE_KEYW_BUILTIN_LONG = 139, - TOKEN_TYPE_KEYW_META = 140, - TOKEN_TYPE_KEYW_MODULE = 141, - TOKEN_TYPE_KEYW_NAMESPACE = 142, - TOKEN_TYPE_KEYW_NATIVE = 143, - TOKEN_TYPE_KEYW_NEVER = 144, - TOKEN_TYPE_KEYW_NEW = 145, - TOKEN_TYPE_KEYW_NON_NULLABLE = 146, - TOKEN_TYPE_LITERAL_NULL = 147, - TOKEN_TYPE_KEYW_NUMBER = 148, - TOKEN_TYPE_KEYW_OBJECT = 149, - TOKEN_TYPE_KEYW_BUILTIN_OBJECT = 150, - TOKEN_TYPE_KEYW_OF = 151, - TOKEN_TYPE_KEYW_FINAL = 152, - TOKEN_TYPE_KEYW_OUT = 153, - TOKEN_TYPE_KEYW_OVERLOAD = 154, - TOKEN_TYPE_KEYW_OVERRIDE = 155, - TOKEN_TYPE_KEYW_PACKAGE = 156, - TOKEN_TYPE_KEYW_INTERNAL = 157, - TOKEN_TYPE_KEYW_PRIVATE = 158, - TOKEN_TYPE_KEYW_PROTECTED = 159, - TOKEN_TYPE_KEYW_PUBLIC = 160, - TOKEN_TYPE_KEYW_READONLY = 161, - TOKEN_TYPE_KEYW_RETURN = 162, - TOKEN_TYPE_KEYW_REQUIRE = 163, - TOKEN_TYPE_KEYW_SET = 164, - TOKEN_TYPE_KEYW_SHORT = 165, - TOKEN_TYPE_KEYW_BUILTIN_SHORT = 166, - TOKEN_TYPE_KEYW_STATIC = 167, - TOKEN_TYPE_KEYW_STRING = 168, - TOKEN_TYPE_KEYW_BUILTIN_STRING = 169, - TOKEN_TYPE_KEYW_STRUCT = 170, - TOKEN_TYPE_KEYW_SUPER = 171, - TOKEN_TYPE_KEYW_SWITCH = 172, - TOKEN_TYPE_KEYW_TARGET = 173, - TOKEN_TYPE_KEYW_THIS = 174, - TOKEN_TYPE_KEYW_THROW = 175, - TOKEN_TYPE_LITERAL_TRUE = 176, - TOKEN_TYPE_KEYW_TRY = 177, - TOKEN_TYPE_KEYW_TYPE = 178, - TOKEN_TYPE_KEYW_TYPEOF = 179, - TOKEN_TYPE_KEYW_U8 = 180, - TOKEN_TYPE_KEYW_U16 = 181, - TOKEN_TYPE_KEYW_U32 = 182, - TOKEN_TYPE_KEYW_U64 = 183, - TOKEN_TYPE_KEYW_UNDEFINED = 184, - TOKEN_TYPE_KEYW_UNKNOWN = 185, - TOKEN_TYPE_KEYW_USIZE = 186, - TOKEN_TYPE_KEYW_V128 = 187, - TOKEN_TYPE_KEYW_VAR = 188, - TOKEN_TYPE_KEYW_VOID = 189, - TOKEN_TYPE_KEYW_WHILE = 190, - TOKEN_TYPE_KEYW_WITH = 191, - TOKEN_TYPE_KEYW_YIELD = 192, - TOKEN_TYPE_FIRST_PUNCTUATOR = 6, - TOKEN_TYPE_FIRST_KEYW = 68 -} -export enum Es2pandaAstNodeFlags { - AST_NODE_FLAGS_NO_OPTS = 0, - AST_NODE_FLAGS_CHECKCAST = 1, - AST_NODE_FLAGS_ALLOW_REQUIRED_INSTANTIATION = 2, - AST_NODE_FLAGS_HAS_EXPORT_ALIAS = 4, - AST_NODE_FLAGS_GENERATE_VALUE_OF = 8, - AST_NODE_FLAGS_RECHECK = 16, - AST_NODE_FLAGS_NOCLEANUP = 32, - AST_NODE_FLAGS_RESIZABLE_REST = 64, - AST_NODE_FLAGS_TMP_CONVERT_PRIMITIVE_CAST_METHOD_CALL = 128, - AST_NODE_FLAGS_IS_GROUPED = 256 -} -export enum Es2pandaModifierFlags { - MODIFIER_FLAGS_NONE = 0, - MODIFIER_FLAGS_STATIC = 1, - MODIFIER_FLAGS_ASYNC = 2, - MODIFIER_FLAGS_PUBLIC = 4, - MODIFIER_FLAGS_PROTECTED = 8, - MODIFIER_FLAGS_PRIVATE = 16, - MODIFIER_FLAGS_DECLARE = 32, - MODIFIER_FLAGS_READONLY = 64, - MODIFIER_FLAGS_OPTIONAL = 128, - MODIFIER_FLAGS_DEFINITE = 256, - MODIFIER_FLAGS_ABSTRACT = 512, - MODIFIER_FLAGS_CONST = 1024, - MODIFIER_FLAGS_FINAL = 2048, - MODIFIER_FLAGS_NATIVE = 4096, - MODIFIER_FLAGS_OVERRIDE = 8192, - MODIFIER_FLAGS_CONSTRUCTOR = 16384, - MODIFIER_FLAGS_SYNCHRONIZED = 32768, - MODIFIER_FLAGS_FUNCTIONAL = 65536, - MODIFIER_FLAGS_IN = 131072, - MODIFIER_FLAGS_OUT = 262144, - MODIFIER_FLAGS_INTERNAL = 524288, - MODIFIER_FLAGS_EXPORT = 1048576, - MODIFIER_FLAGS_GETTER = 2097152, - MODIFIER_FLAGS_SETTER = 4194304, - MODIFIER_FLAGS_DEFAULT_EXPORT = 8388608, - MODIFIER_FLAGS_EXPORT_TYPE = 16777216, - MODIFIER_FLAGS_SUPER_OWNER = 33554432, - MODIFIER_FLAGS_ANNOTATION_DECLARATION = 67108864, - MODIFIER_FLAGS_ANNOTATION_USAGE = 134217728, - MODIFIER_FLAGS_READONLY_PARAMETER = 268435456, - MODIFIER_FLAGS_ARRAY_SETTER = 536870912, - MODIFIER_FLAGS_DEFAULT = 1073741824, - MODIFIER_FLAGS_ACCESS = 524316, - MODIFIER_FLAGS_ALL = 524927, - MODIFIER_FLAGS_ALLOWED_IN_CTOR_PARAMETER = 524380, - MODIFIER_FLAGS_INTERNAL_PROTECTED = 524296, - MODIFIER_FLAGS_ACCESSOR_MODIFIERS = 2560, - MODIFIER_FLAGS_GETTER_SETTER = 6291456, - MODIFIER_FLAGS_EXPORTED = 26214400 -} -export enum Es2pandaPrivateFieldKind { - PRIVATE_FIELD_KIND_FIELD = 0, - PRIVATE_FIELD_KIND_METHOD = 1, - PRIVATE_FIELD_KIND_GET = 2, - PRIVATE_FIELD_KIND_SET = 3, - PRIVATE_FIELD_KIND_STATIC_FIELD = 4, - PRIVATE_FIELD_KIND_STATIC_METHOD = 5, - PRIVATE_FIELD_KIND_STATIC_GET = 6, - PRIVATE_FIELD_KIND_STATIC_SET = 7, - PRIVATE_FIELD_KIND_OVERLOAD = 8, - PRIVATE_FIELD_KIND_STATIC_OVERLOAD = 9 -} -export enum Es2pandaScriptFunctionFlags { - SCRIPT_FUNCTION_FLAGS_NONE = 0, - SCRIPT_FUNCTION_FLAGS_GENERATOR = 1, - SCRIPT_FUNCTION_FLAGS_ASYNC = 2, - SCRIPT_FUNCTION_FLAGS_ARROW = 4, - SCRIPT_FUNCTION_FLAGS_EXPRESSION = 8, - SCRIPT_FUNCTION_FLAGS_OVERLOAD = 16, - SCRIPT_FUNCTION_FLAGS_CONSTRUCTOR = 32, - SCRIPT_FUNCTION_FLAGS_METHOD = 64, - SCRIPT_FUNCTION_FLAGS_STATIC_BLOCK = 128, - SCRIPT_FUNCTION_FLAGS_HIDDEN = 256, - SCRIPT_FUNCTION_FLAGS_IMPLICIT_SUPER_CALL_NEEDED = 512, - SCRIPT_FUNCTION_FLAGS_ENUM = 1024, - SCRIPT_FUNCTION_FLAGS_EXTERNAL = 2048, - SCRIPT_FUNCTION_FLAGS_PROXY = 4096, - SCRIPT_FUNCTION_FLAGS_THROWS = 8192, - SCRIPT_FUNCTION_FLAGS_RETHROWS = 16384, - SCRIPT_FUNCTION_FLAGS_GETTER = 32768, - SCRIPT_FUNCTION_FLAGS_SETTER = 65536, - SCRIPT_FUNCTION_FLAGS_ENTRY_POINT = 131072, - SCRIPT_FUNCTION_FLAGS_HAS_RETURN = 262144, - SCRIPT_FUNCTION_FLAGS_ASYNC_IMPL = 524288, - SCRIPT_FUNCTION_FLAGS_EXTERNAL_OVERLOAD = 1048576, - SCRIPT_FUNCTION_FLAGS_HAS_THROW = 2097152, - SCRIPT_FUNCTION_FLAGS_IN_RECORD = 4194304, - SCRIPT_FUNCTION_FLAGS_TRAILING_LAMBDA = 8388608, - SCRIPT_FUNCTION_FLAGS_SYNTHETIC = 16777216 -} -export enum Es2pandaTSOperatorType { - TS_OPERATOR_TYPE_READONLY = 0, - TS_OPERATOR_TYPE_KEYOF = 1, - TS_OPERATOR_TYPE_UNIQUE = 2 -} -export enum Es2pandaMappedOption { - MAPPED_OPTION_NO_OPTS = 0, - MAPPED_OPTION_PLUS = 1, - MAPPED_OPTION_MINUS = 2 -} -export enum Es2pandaClassDefinitionModifiers { - CLASS_DEFINITION_MODIFIERS_NONE = 0, - CLASS_DEFINITION_MODIFIERS_DECLARATION = 1, - CLASS_DEFINITION_MODIFIERS_ID_REQUIRED = 2, - CLASS_DEFINITION_MODIFIERS_GLOBAL = 4, - CLASS_DEFINITION_MODIFIERS_HAS_SUPER = 8, - CLASS_DEFINITION_MODIFIERS_SET_CTOR_ID = 16, - CLASS_DEFINITION_MODIFIERS_EXTERN = 32, - CLASS_DEFINITION_MODIFIERS_ANONYMOUS = 64, - CLASS_DEFINITION_MODIFIERS_GLOBAL_INITIALIZED = 128, - CLASS_DEFINITION_MODIFIERS_CLASS_DECL = 256, - CLASS_DEFINITION_MODIFIERS_INNER = 512, - CLASS_DEFINITION_MODIFIERS_FROM_EXTERNAL = 1024, - CLASS_DEFINITION_MODIFIERS_LOCAL = 2048, - CLASS_DEFINITION_MODIFIERS_CLASSDEFINITION_CHECKED = 4096, - CLASS_DEFINITION_MODIFIERS_NAMESPACE_TRANSFORMED = 8192, - CLASS_DEFINITION_MODIFIERS_STRING_ENUM_TRANSFORMED = 16384, - CLASS_DEFINITION_MODIFIERS_INT_ENUM_TRANSFORMED = 32768, - CLASS_DEFINITION_MODIFIERS_FROM_STRUCT = 65536, - CLASS_DEFINITION_MODIFIERS_FUNCTIONAL_REFERENCE = 131072, - CLASS_DEFINITION_MODIFIERS_LAZY_IMPORT_OBJECT_CLASS = 262144, - CLASS_DEFINITION_MODIFIERS_INIT_IN_CCTOR = 524288, - CLASS_DEFINITION_MODIFIERS_DOUBLE_ENUM_TRANSFORMED = 1048576, - CLASS_DEFINITION_MODIFIERS_DECLARATION_ID_REQUIRED = 3, - CLASS_DEFINITION_MODIFIERS_ETS_MODULE = 8196 -} -export enum Es2pandaOperandKind { - OPERAND_KIND_SRC_VREG = 0, - OPERAND_KIND_DST_VREG = 1, - OPERAND_KIND_SRC_DST_VREG = 2, - OPERAND_KIND_IMM = 3, - OPERAND_KIND_ID = 4, - OPERAND_KIND_STRING_ID = 5, - OPERAND_KIND_LABEL = 6 -} -export enum Es2pandaOperandType { - OPERAND_TYPE_REF = 0, - OPERAND_TYPE_B32 = 1, - OPERAND_TYPE_B64 = 2, - OPERAND_TYPE_ANY = 3, - OPERAND_TYPE_NONE = 4 -} -export enum Es2pandaTypeRelationFlag { - TYPE_RELATION_FLAG_NONE = 0, - TYPE_RELATION_FLAG_WIDENING = 1, - TYPE_RELATION_FLAG_BOXING = 2, - TYPE_RELATION_FLAG_UNBOXING = 4, - TYPE_RELATION_FLAG_CAPTURE = 8, - TYPE_RELATION_FLAG_STRING = 16, - TYPE_RELATION_FLAG_VALUE_SET = 32, - TYPE_RELATION_FLAG_UNCHECKED = 64, - TYPE_RELATION_FLAG_NO_THROW = 128, - TYPE_RELATION_FLAG_SELF_REFERENCE = 256, - TYPE_RELATION_FLAG_NO_RETURN_TYPE_CHECK = 512, - TYPE_RELATION_FLAG_DIRECT_RETURN = 1024, - TYPE_RELATION_FLAG_NO_WIDENING = 2048, - TYPE_RELATION_FLAG_NO_BOXING = 4096, - TYPE_RELATION_FLAG_NO_UNBOXING = 8192, - TYPE_RELATION_FLAG_ONLY_CHECK_WIDENING = 16384, - TYPE_RELATION_FLAG_ONLY_CHECK_BOXING_UNBOXING = 32768, - TYPE_RELATION_FLAG_IN_ASSIGNMENT_CONTEXT = 65536, - TYPE_RELATION_FLAG_IN_CASTING_CONTEXT = 131072, - TYPE_RELATION_FLAG_UNCHECKED_CAST = 262144, - TYPE_RELATION_FLAG_IGNORE_TYPE_PARAMETERS = 524288, - TYPE_RELATION_FLAG_CHECK_PROXY = 1048576, - TYPE_RELATION_FLAG_NO_CHECK_TRAILING_LAMBDA = 2097152, - TYPE_RELATION_FLAG_NO_THROW_GENERIC_TYPEALIAS = 4194304, - TYPE_RELATION_FLAG_OVERRIDING_CONTEXT = 8388608, - TYPE_RELATION_FLAG_IGNORE_REST_PARAM = 16777216, - TYPE_RELATION_FLAG_STRING_TO_CHAR = 33554432, - TYPE_RELATION_FLAG_OVERLOADING_CONTEXT = 67108864, - TYPE_RELATION_FLAG_NO_SUBSTITUTION_NEEDED = 134217728, - TYPE_RELATION_FLAG_ASSIGNMENT_CONTEXT = 7, - TYPE_RELATION_FLAG_BRIDGE_CHECK = 8912896, - TYPE_RELATION_FLAG_CASTING_CONTEXT = 262151 -} -export enum Es2pandaRelationResult { - RELATION_RESULT_TRUE = 0, - RELATION_RESULT_FALSE = 1, - RELATION_RESULT_UNKNOWN = 2, - RELATION_RESULT_MAYBE = 3, - RELATION_RESULT_CACHE_MISS = 4, - RELATION_RESULT_ERROR = 5 -} -export enum Es2pandaRelationType { - RELATION_TYPE_COMPARABLE = 0, - RELATION_TYPE_ASSIGNABLE = 1, - RELATION_TYPE_IDENTICAL = 2, - RELATION_TYPE_UNCHECKED_CASTABLE = 3, - RELATION_TYPE_SUPERTYPE = 4 -} -export enum Es2pandaVarianceFlag { - VARIANCE_FLAG_COVARIANT = 0, - VARIANCE_FLAG_CONTRAVARIANT = 1, - VARIANCE_FLAG_INVARIANT = 2 -} -export enum Es2pandaImportKinds { - IMPORT_KINDS_ALL = 0, - IMPORT_KINDS_TYPES = 1 -} -export enum Es2pandaPropertyKind { - PROPERTY_KIND_INIT = 0, - PROPERTY_KIND_GET = 1, - PROPERTY_KIND_SET = 2, - PROPERTY_KIND_PROTO = 3 -} -export enum Es2pandaConstant { - CONSTANT_PROP_NULL = 0, - CONSTANT_PROP_UNDEFINED = 1, - CONSTANT_EMPTY_ARRAY = 2 -} -export enum Es2pandaTSSignatureDeclarationKind { - TS_SIGNATURE_DECLARATION_KIND_CALL_SIGNATURE = 0, - TS_SIGNATURE_DECLARATION_KIND_CONSTRUCT_SIGNATURE = 1 -} -export enum Es2pandaInitMode { - INIT_MODE_NONE = 0, - INIT_MODE_IMMEDIATE_INIT = 1, - INIT_MODE_NEED_INIT_IN_STATIC_BLOCK = 2 -} -export enum Es2pandaTSIndexSignatureKind { - TS_INDEX_SIGNATURE_KIND_NUMBER = 0, - TS_INDEX_SIGNATURE_KIND_STRING = 1 -} -export enum Es2pandaEnumLiteralTypeKind { - ENUM_LITERAL_TYPE_KIND_NUMERIC = 0, - ENUM_LITERAL_TYPE_KIND_LITERAL = 1 -} -export enum Es2pandaIdentifierFlags { - IDENTIFIER_FLAGS_NONE = 0, - IDENTIFIER_FLAGS_OPTIONAL = 1, - IDENTIFIER_FLAGS_TDZ = 2, - IDENTIFIER_FLAGS_PRIVATE = 4, - IDENTIFIER_FLAGS_GET = 8, - IDENTIFIER_FLAGS_SET = 16, - IDENTIFIER_FLAGS_IGNORE_BOX = 32, - IDENTIFIER_FLAGS_ANNOTATIONDECL = 64, - IDENTIFIER_FLAGS_ANNOTATIONUSAGE = 128, - IDENTIFIER_FLAGS_ERROR_PLACEHOLDER = 256 -} -export enum Es2pandaMemberExpressionKind { - MEMBER_EXPRESSION_KIND_NONE = 0, - MEMBER_EXPRESSION_KIND_ELEMENT_ACCESS = 1, - MEMBER_EXPRESSION_KIND_PROPERTY_ACCESS = 2, - MEMBER_EXPRESSION_KIND_GETTER = 4, - MEMBER_EXPRESSION_KIND_SETTER = 8, - MEMBER_EXPRESSION_KIND_EXTENSION_ACCESSOR = 16 -} -export enum Es2pandaTSTupleKind { - TS_TUPLE_KIND_NONE = 0, - TS_TUPLE_KIND_NAMED = 1, - TS_TUPLE_KIND_DEFAULT = 2 -} -export enum Es2pandaMetaPropertyKind { - META_PROPERTY_KIND_NEW_TARGET = 0, - META_PROPERTY_KIND_IMPORT_META = 1 -} -export enum Es2pandaModuleFlag { - MODULE_FLAG_NONE = 0, - MODULE_FLAG_ETSSCRIPT = 1, - MODULE_FLAG_NAMESPACE = 2, - MODULE_FLAG_NAMESPACE_CHAIN_LAST_NODE = 4 -} -export enum Es2pandaElementFlags { - ELEMENT_FLAGS_NO_OPTS = 0, - ELEMENT_FLAGS_REQUIRED = 1, - ELEMENT_FLAGS_OPTIONAL = 2, - ELEMENT_FLAGS_REST = 4, - ELEMENT_FLAGS_VARIADIC = 8, - ELEMENT_FLAGS_FIXED = 3, - ELEMENT_FLAGS_VARIABLE = 12, - ELEMENT_FLAGS_NON_REQUIRED = 14, - ELEMENT_FLAGS_NON_REST = 11 -} -export enum Es2pandaSignatureFlags { - SIGNATURE_FLAGS_NO_OPTS = 0, - SIGNATURE_FLAGS_ABSTRACT = 1, - SIGNATURE_FLAGS_CALL = 2, - SIGNATURE_FLAGS_CONSTRUCT = 4, - SIGNATURE_FLAGS_PUBLIC = 8, - SIGNATURE_FLAGS_PROTECTED = 16, - SIGNATURE_FLAGS_PRIVATE = 32, - SIGNATURE_FLAGS_STATIC = 64, - SIGNATURE_FLAGS_FINAL = 128, - SIGNATURE_FLAGS_CONSTRUCTOR = 256, - SIGNATURE_FLAGS_PROXY = 512, - SIGNATURE_FLAGS_INTERNAL = 1024, - SIGNATURE_FLAGS_NEED_RETURN_TYPE = 2048, - SIGNATURE_FLAGS_INFERRED_RETURN_TYPE = 4096, - SIGNATURE_FLAGS_THIS_RETURN_TYPE = 8192, - SIGNATURE_FLAGS_GETTER = 16384, - SIGNATURE_FLAGS_SETTER = 32768, - SIGNATURE_FLAGS_THROWS = 65536, - SIGNATURE_FLAGS_RETHROWS = 131072, - SIGNATURE_FLAGS_EXTENSION_FUNCTION = 262144, - SIGNATURE_FLAGS_DUPLICATE_ASM = 524288, - SIGNATURE_FLAGS_BRIDGE = 1048576, - SIGNATURE_FLAGS_DEFAULT = 2097152, - SIGNATURE_FLAGS_INTERNAL_PROTECTED = 1040, - SIGNATURE_FLAGS_GETTER_OR_SETTER = 49152, - SIGNATURE_FLAGS_THROWING = 196608 -} -export enum Es2pandaPrimitiveType { - PRIMITIVE_TYPE_BYTE = 0, - PRIMITIVE_TYPE_INT = 1, - PRIMITIVE_TYPE_LONG = 2, - PRIMITIVE_TYPE_SHORT = 3, - PRIMITIVE_TYPE_FLOAT = 4, - PRIMITIVE_TYPE_DOUBLE = 5, - PRIMITIVE_TYPE_BOOLEAN = 6, - PRIMITIVE_TYPE_CHAR = 7, - PRIMITIVE_TYPE_VOID = 8 -} -export enum Es2pandaObjectFlags { - OBJECT_FLAGS_NO_OPTS = 0, - OBJECT_FLAGS_CHECK_EXCESS_PROPS = 1, - OBJECT_FLAGS_RESOLVED_MEMBERS = 2, - OBJECT_FLAGS_RESOLVED_BASE_TYPES = 4, - OBJECT_FLAGS_RESOLVED_DECLARED_MEMBERS = 8 -} -export enum Es2pandaObjectTypeKind { - OBJECT_TYPE_KIND_LITERAL = 0, - OBJECT_TYPE_KIND_CLASS = 1, - OBJECT_TYPE_KIND_INTERFACE = 2, - OBJECT_TYPE_KIND_TUPLE = 3, - OBJECT_TYPE_KIND_FUNCTION = 4 -} -export enum Es2pandaVariableDeclaratorFlag { - VARIABLE_DECLARATOR_FLAG_LET = 0, - VARIABLE_DECLARATOR_FLAG_CONST = 1, - VARIABLE_DECLARATOR_FLAG_VAR = 2, - VARIABLE_DECLARATOR_FLAG_UNKNOWN = 3 -} -export enum Es2pandaTypeFacts { - TYPE_FACTS_NONE = 0, - TYPE_FACTS_TYPEOF_EQ_STRING = 1, - TYPE_FACTS_TYPEOF_EQ_NUMBER = 2, - TYPE_FACTS_TYPEOF_EQ_BIGINT = 4, - TYPE_FACTS_TYPEOF_EQ_BOOLEAN = 8, - TYPE_FACTS_TYPEOF_EQ_SYMBOL = 16, - TYPE_FACTS_TYPEOF_EQ_OBJECT = 32, - TYPE_FACTS_TYPEOF_EQ_FUNCTION = 64, - TYPE_FACTS_TYPEOF_EQ_HOST_OBJECT = 128, - TYPE_FACTS_TYPEOF_NE_STRING = 256, - TYPE_FACTS_TYPEOF_NE_NUMBER = 512, - TYPE_FACTS_TYPEOF_NE_BIGINT = 1024, - TYPE_FACTS_TYPEOF_NE_BOOLEAN = 2048, - TYPE_FACTS_TYPEOF_NE_SYMBOL = 4096, - TYPE_FACTS_TYPEOF_NE_OBJECT = 8192, - TYPE_FACTS_TYPEOF_NE_FUNCTION = 16384, - TYPE_FACTS_TYPEOF_NE_HOST_OBJECT = 32768, - TYPE_FACTS_EQ_UNDEFINED = 65536, - TYPE_FACTS_EQ_NULL = 131072, - TYPE_FACTS_EQ_UNDEFINED_OR_NULL = 262144, - TYPE_FACTS_NE_UNDEFINED = 524288, - TYPE_FACTS_NE_NULL = 1048576, - TYPE_FACTS_NE_UNDEFINED_OR_NULL = 2097152, - TYPE_FACTS_TRUTHY = 4194304, - TYPE_FACTS_FALSY = 8388608, - TYPE_FACTS_ALL = 16777216, - TYPE_FACTS_LAST = 8388608, - TYPE_FACTS_BASE_NUMBER_STRICT_FACTS = 3734786, - TYPE_FACTS_BASE_NUMBER_FACTS = 12582146, - TYPE_FACTS_NUMBER_FACTS = 16776450, - TYPE_FACTS_ZERO_NUMBER_STRICT_FACTS = 12123394, - TYPE_FACTS_ZERO_NUMBER_FACTS = 12582146, - TYPE_FACTS_NON_ZERO_NUMBER_FACTS = 16776450, - TYPE_FACTS_BASE_STRING_STRICT_FACTS = 3735041, - TYPE_FACTS_BASE_STRING_FACTS = 12582401, - TYPE_FACTS_STRING_FACTS = 16776705, - TYPE_FACTS_EMPTY_STRING_STRICT_FACTS = 16317953, - TYPE_FACTS_EMPTY_STRING_FACTS = 12582401, - TYPE_FACTS_NON_EMPTY_STRING_FACTS = 16776705, - TYPE_FACTS_BASE_BIGINT_STRICT_FACTS = 3734276, - TYPE_FACTS_BASE_BIGINT_FACTS = 12581636, - TYPE_FACTS_BIGINT_FACTS = 16775940, - TYPE_FACTS_ZERO_BIGINT_STRICT_FACTS = 12122884, - TYPE_FACTS_ZERO_BIGINT_FACTS = 12581636, - TYPE_FACTS_NON_ZERO_BIGINT_FACTS = 16775940, - TYPE_FACTS_BASE_BOOLEAN_STRICT_FACTS = 3733256, - TYPE_FACTS_BASE_BOOLEAN_FACTS = 12580616, - TYPE_FACTS_BOOLEAN_FACTS = 16774920, - TYPE_FACTS_FALSE_STRICT_FACTS = 12121864, - TYPE_FACTS_FALSE_FACTS = 12580616, - TYPE_FACTS_TRUE_STRICT_FACTS = 7927560, - TYPE_FACTS_TRUE_FACTS = 16774920, - TYPE_FACTS_OBJECT_STRICT_FACTS = 7888800, - TYPE_FACTS_OBJECT_FACTS = 16736160, - TYPE_FACTS_EMPTY_OBJECT_FACTS = 16777216, - TYPE_FACTS_FUNCTION_STRICT_FACTS = 7880640, - TYPE_FACTS_FUNCTION_FACTS = 16728000, - TYPE_FACTS_UNDEFINED_FACTS = 9830144, - TYPE_FACTS_NULL_FACTS = 9363232 -} -export enum Es2pandaGlobalTypeId { - GLOBAL_TYPE_ID_NUMBER = 0, - GLOBAL_TYPE_ID_ANY = 1, - GLOBAL_TYPE_ID_STRING = 2, - GLOBAL_TYPE_ID_BOOLEAN = 3, - GLOBAL_TYPE_ID_VOID = 4, - GLOBAL_TYPE_ID_NULL_ID = 5, - GLOBAL_TYPE_ID_UNDEFINED = 6, - GLOBAL_TYPE_ID_UNKNOWN = 7, - GLOBAL_TYPE_ID_NEVER = 8, - GLOBAL_TYPE_ID_NON_PRIMITIVE = 9, - GLOBAL_TYPE_ID_BIGINT = 10, - GLOBAL_TYPE_ID_FALSE_ID = 11, - GLOBAL_TYPE_ID_TRUE_ID = 12, - GLOBAL_TYPE_ID_NUMBER_OR_BIGINT = 13, - GLOBAL_TYPE_ID_STRING_OR_NUMBER = 14, - GLOBAL_TYPE_ID_ZERO = 15, - GLOBAL_TYPE_ID_EMPTY_STRING = 16, - GLOBAL_TYPE_ID_ZERO_BIGINT = 17, - GLOBAL_TYPE_ID_PRIMITIVE = 18, - GLOBAL_TYPE_ID_EMPTY_TUPLE = 19, - GLOBAL_TYPE_ID_EMPTY_OBJECT = 20, - GLOBAL_TYPE_ID_RESOLVING_RETURN_TYPE = 21, - GLOBAL_TYPE_ID_ERROR_TYPE = 22, - GLOBAL_TYPE_ID_BYTE = 23, - GLOBAL_TYPE_ID_SHORT = 24, - GLOBAL_TYPE_ID_INT = 25, - GLOBAL_TYPE_ID_LONG = 26, - GLOBAL_TYPE_ID_FLOAT = 27, - GLOBAL_TYPE_ID_DOUBLE = 28, - GLOBAL_TYPE_ID_CHAR = 29, - GLOBAL_TYPE_ID_ETS_BOOLEAN = 30, - GLOBAL_TYPE_ID_ETS_STRING = 31, - GLOBAL_TYPE_ID_ETS_VOID = 32, - GLOBAL_TYPE_ID_ETS_OBJECT_BUILTIN = 33, - GLOBAL_TYPE_ID_ETS_NULL = 34, - GLOBAL_TYPE_ID_ETS_UNDEFINED = 35, - GLOBAL_TYPE_ID_ETS_UNION_UNDEFINED_NULL = 36, - GLOBAL_TYPE_ID_ETS_ANY = 37, - GLOBAL_TYPE_ID_ETS_RELAXED_ANY = 38, - GLOBAL_TYPE_ID_ETS_NEVER = 39, - GLOBAL_TYPE_ID_ETS_UNION_UNDEFINED_NULL_OBJECT = 40, - GLOBAL_TYPE_ID_ETS_WILDCARD = 41, - GLOBAL_TYPE_ID_ETS_BOOLEAN_BUILTIN = 42, - GLOBAL_TYPE_ID_ETS_BYTE_BUILTIN = 43, - GLOBAL_TYPE_ID_ETS_CLASS_BUILTIN = 44, - GLOBAL_TYPE_ID_ETS_CHAR_BUILTIN = 45, - GLOBAL_TYPE_ID_ETS_COMPARABLE_BUILTIN = 46, - GLOBAL_TYPE_ID_ETS_CONSOLE_BUILTIN = 47, - GLOBAL_TYPE_ID_ETS_DATE_BUILTIN = 48, - GLOBAL_TYPE_ID_ETS_DOUBLE_BUILTIN = 49, - GLOBAL_TYPE_ID_ETS_EXCEPTION_BUILTIN = 50, - GLOBAL_TYPE_ID_ETS_FLOAT_BUILTIN = 51, - GLOBAL_TYPE_ID_ETS_FLOATING_BUILTIN = 52, - GLOBAL_TYPE_ID_ETS_INT_BUILTIN = 53, - GLOBAL_TYPE_ID_ETS_INTEGRAL_BUILTIN = 54, - GLOBAL_TYPE_ID_ETS_LONG_BUILTIN = 55, - GLOBAL_TYPE_ID_ETS_NUMERIC_BUILTIN = 56, - GLOBAL_TYPE_ID_ETS_MAP_BUILTIN = 57, - GLOBAL_TYPE_ID_ETS_RECORD_BUILTIN = 58, - GLOBAL_TYPE_ID_ETS_ERROR_BUILTIN = 59, - GLOBAL_TYPE_ID_ETS_RUNTIME_BUILTIN = 60, - GLOBAL_TYPE_ID_ETS_RUNTIME_LINKER_BUILTIN = 61, - GLOBAL_TYPE_ID_ETS_SET_BUILTIN = 62, - GLOBAL_TYPE_ID_ETS_SHORT_BUILTIN = 63, - GLOBAL_TYPE_ID_ETS_STACK_TRACE_ELEMENT_BUILTIN = 64, - GLOBAL_TYPE_ID_ETS_STACK_TRACE_BUILTIN = 65, - GLOBAL_TYPE_ID_ETS_ARRAY_INDEX_OUT_OF_BOUNDS_ERROR_BUILTIN = 66, - GLOBAL_TYPE_ID_ETS_ARITHMETIC_ERROR_BUILTIN = 67, - GLOBAL_TYPE_ID_ETS_CLASS_CAST_ERROR_BUILTIN = 68, - GLOBAL_TYPE_ID_ETS_ASSERTION_ERROR_BUILTIN = 69, - GLOBAL_TYPE_ID_ETS_DIVIDE_BY_ZERO_ERROR_BUILTIN = 70, - GLOBAL_TYPE_ID_ETS_NULL_POINTER_ERROR_BUILTIN = 71, - GLOBAL_TYPE_ID_ETS_UNCAUGHT_EXCEPTION_ERROR_BUILTIN = 72, - GLOBAL_TYPE_ID_ETS_STRING_BUILTIN = 73, - GLOBAL_TYPE_ID_ETS_STRING_BUILDER_BUILTIN = 74, - GLOBAL_TYPE_ID_ETS_TYPE_BUILTIN = 75, - GLOBAL_TYPE_ID_ETS_TYPES_BUILTIN = 76, - GLOBAL_TYPE_ID_ETS_PROMISE_BUILTIN = 77, - GLOBAL_TYPE_ID_ETS_FUNCTION_BUILTIN = 78, - GLOBAL_TYPE_ID_ETS_REGEXP_BUILTIN = 79, - GLOBAL_TYPE_ID_ETS_ARRAY_BUILTIN = 80, - GLOBAL_TYPE_ID_ETS_BOX_BUILTIN = 81, - GLOBAL_TYPE_ID_ETS_BOOLEAN_BOX_BUILTIN = 82, - GLOBAL_TYPE_ID_ETS_BYTE_BOX_BUILTIN = 83, - GLOBAL_TYPE_ID_ETS_CHAR_BOX_BUILTIN = 84, - GLOBAL_TYPE_ID_ETS_SHORT_BOX_BUILTIN = 85, - GLOBAL_TYPE_ID_ETS_INT_BOX_BUILTIN = 86, - GLOBAL_TYPE_ID_ETS_LONG_BOX_BUILTIN = 87, - GLOBAL_TYPE_ID_ETS_FLOAT_BOX_BUILTIN = 88, - GLOBAL_TYPE_ID_ETS_DOUBLE_BOX_BUILTIN = 89, - GLOBAL_TYPE_ID_ETS_BIG_INT_BUILTIN = 90, - GLOBAL_TYPE_ID_ETS_BIG_INT = 91, - GLOBAL_TYPE_ID_ETS_ARRAY = 92, - GLOBAL_TYPE_ID_ETS_READONLY_ARRAY = 93, - GLOBAL_TYPE_ID_ETS_FUNCTION0_CLASS = 94, - GLOBAL_TYPE_ID_ETS_FUNCTION1_CLASS = 95, - GLOBAL_TYPE_ID_ETS_FUNCTION2_CLASS = 96, - GLOBAL_TYPE_ID_ETS_FUNCTION3_CLASS = 97, - GLOBAL_TYPE_ID_ETS_FUNCTION4_CLASS = 98, - GLOBAL_TYPE_ID_ETS_FUNCTION5_CLASS = 99, - GLOBAL_TYPE_ID_ETS_FUNCTION6_CLASS = 100, - GLOBAL_TYPE_ID_ETS_FUNCTION7_CLASS = 101, - GLOBAL_TYPE_ID_ETS_FUNCTION8_CLASS = 102, - GLOBAL_TYPE_ID_ETS_FUNCTION9_CLASS = 103, - GLOBAL_TYPE_ID_ETS_FUNCTION10_CLASS = 104, - GLOBAL_TYPE_ID_ETS_FUNCTION11_CLASS = 105, - GLOBAL_TYPE_ID_ETS_FUNCTION12_CLASS = 106, - GLOBAL_TYPE_ID_ETS_FUNCTION13_CLASS = 107, - GLOBAL_TYPE_ID_ETS_FUNCTION14_CLASS = 108, - GLOBAL_TYPE_ID_ETS_FUNCTION15_CLASS = 109, - GLOBAL_TYPE_ID_ETS_FUNCTION16_CLASS = 110, - GLOBAL_TYPE_ID_ETS_FUNCTIONN_CLASS = 111, - GLOBAL_TYPE_ID_ETS_LAMBDA0_CLASS = 112, - GLOBAL_TYPE_ID_ETS_LAMBDA1_CLASS = 113, - GLOBAL_TYPE_ID_ETS_LAMBDA2_CLASS = 114, - GLOBAL_TYPE_ID_ETS_LAMBDA3_CLASS = 115, - GLOBAL_TYPE_ID_ETS_LAMBDA4_CLASS = 116, - GLOBAL_TYPE_ID_ETS_LAMBDA5_CLASS = 117, - GLOBAL_TYPE_ID_ETS_LAMBDA6_CLASS = 118, - GLOBAL_TYPE_ID_ETS_LAMBDA7_CLASS = 119, - GLOBAL_TYPE_ID_ETS_LAMBDA8_CLASS = 120, - GLOBAL_TYPE_ID_ETS_LAMBDA9_CLASS = 121, - GLOBAL_TYPE_ID_ETS_LAMBDA10_CLASS = 122, - GLOBAL_TYPE_ID_ETS_LAMBDA11_CLASS = 123, - GLOBAL_TYPE_ID_ETS_LAMBDA12_CLASS = 124, - GLOBAL_TYPE_ID_ETS_LAMBDA13_CLASS = 125, - GLOBAL_TYPE_ID_ETS_LAMBDA14_CLASS = 126, - GLOBAL_TYPE_ID_ETS_LAMBDA15_CLASS = 127, - GLOBAL_TYPE_ID_ETS_LAMBDA16_CLASS = 128, - GLOBAL_TYPE_ID_ETS_LAMBDAN_CLASS = 129, - GLOBAL_TYPE_ID_ETS_FUNCTIONR0_CLASS = 130, - GLOBAL_TYPE_ID_ETS_FUNCTIONR1_CLASS = 131, - GLOBAL_TYPE_ID_ETS_FUNCTIONR2_CLASS = 132, - GLOBAL_TYPE_ID_ETS_FUNCTIONR3_CLASS = 133, - GLOBAL_TYPE_ID_ETS_FUNCTIONR4_CLASS = 134, - GLOBAL_TYPE_ID_ETS_FUNCTIONR5_CLASS = 135, - GLOBAL_TYPE_ID_ETS_FUNCTIONR6_CLASS = 136, - GLOBAL_TYPE_ID_ETS_FUNCTIONR7_CLASS = 137, - GLOBAL_TYPE_ID_ETS_FUNCTIONR8_CLASS = 138, - GLOBAL_TYPE_ID_ETS_FUNCTIONR9_CLASS = 139, - GLOBAL_TYPE_ID_ETS_FUNCTIONR10_CLASS = 140, - GLOBAL_TYPE_ID_ETS_FUNCTIONR11_CLASS = 141, - GLOBAL_TYPE_ID_ETS_FUNCTIONR12_CLASS = 142, - GLOBAL_TYPE_ID_ETS_FUNCTIONR13_CLASS = 143, - GLOBAL_TYPE_ID_ETS_FUNCTIONR14_CLASS = 144, - GLOBAL_TYPE_ID_ETS_FUNCTIONR15_CLASS = 145, - GLOBAL_TYPE_ID_ETS_FUNCTIONR16_CLASS = 146, - GLOBAL_TYPE_ID_ETS_LAMBDAR0_CLASS = 147, - GLOBAL_TYPE_ID_ETS_LAMBDAR1_CLASS = 148, - GLOBAL_TYPE_ID_ETS_LAMBDAR2_CLASS = 149, - GLOBAL_TYPE_ID_ETS_LAMBDAR3_CLASS = 150, - GLOBAL_TYPE_ID_ETS_LAMBDAR4_CLASS = 151, - GLOBAL_TYPE_ID_ETS_LAMBDAR5_CLASS = 152, - GLOBAL_TYPE_ID_ETS_LAMBDAR6_CLASS = 153, - GLOBAL_TYPE_ID_ETS_LAMBDAR7_CLASS = 154, - GLOBAL_TYPE_ID_ETS_LAMBDAR8_CLASS = 155, - GLOBAL_TYPE_ID_ETS_LAMBDAR9_CLASS = 156, - GLOBAL_TYPE_ID_ETS_LAMBDAR10_CLASS = 157, - GLOBAL_TYPE_ID_ETS_LAMBDAR11_CLASS = 158, - GLOBAL_TYPE_ID_ETS_LAMBDAR12_CLASS = 159, - GLOBAL_TYPE_ID_ETS_LAMBDAR13_CLASS = 160, - GLOBAL_TYPE_ID_ETS_LAMBDAR14_CLASS = 161, - GLOBAL_TYPE_ID_ETS_LAMBDAR15_CLASS = 162, - GLOBAL_TYPE_ID_ETS_LAMBDAR16_CLASS = 163, - GLOBAL_TYPE_ID_ETS_TUPLE0_CLASS = 164, - GLOBAL_TYPE_ID_ETS_TUPLE1_CLASS = 165, - GLOBAL_TYPE_ID_ETS_TUPLE2_CLASS = 166, - GLOBAL_TYPE_ID_ETS_TUPLE3_CLASS = 167, - GLOBAL_TYPE_ID_ETS_TUPLE4_CLASS = 168, - GLOBAL_TYPE_ID_ETS_TUPLE5_CLASS = 169, - GLOBAL_TYPE_ID_ETS_TUPLE6_CLASS = 170, - GLOBAL_TYPE_ID_ETS_TUPLE7_CLASS = 171, - GLOBAL_TYPE_ID_ETS_TUPLE8_CLASS = 172, - GLOBAL_TYPE_ID_ETS_TUPLE9_CLASS = 173, - GLOBAL_TYPE_ID_ETS_TUPLE10_CLASS = 174, - GLOBAL_TYPE_ID_ETS_TUPLE11_CLASS = 175, - GLOBAL_TYPE_ID_ETS_TUPLE12_CLASS = 176, - GLOBAL_TYPE_ID_ETS_TUPLE13_CLASS = 177, - GLOBAL_TYPE_ID_ETS_TUPLE14_CLASS = 178, - GLOBAL_TYPE_ID_ETS_TUPLE15_CLASS = 179, - GLOBAL_TYPE_ID_ETS_TUPLE16_CLASS = 180, - GLOBAL_TYPE_ID_ETS_TUPLEN_CLASS = 181, - GLOBAL_TYPE_ID_TYPE_ERROR = 182, - GLOBAL_TYPE_ID_COUNT = 183 -} -export enum Es2pandaMethodDefinitionKind { - METHOD_DEFINITION_KIND_NONE = 0, - METHOD_DEFINITION_KIND_CONSTRUCTOR = 1, - METHOD_DEFINITION_KIND_METHOD = 2, - METHOD_DEFINITION_KIND_EXTENSION_METHOD = 3, - METHOD_DEFINITION_KIND_GET = 4, - METHOD_DEFINITION_KIND_SET = 5, - METHOD_DEFINITION_KIND_EXTENSION_GET = 6, - METHOD_DEFINITION_KIND_EXTENSION_SET = 7 -} -export enum Es2pandaOverloadDeclFlags { - OVERLOAD_DECL_FLAGS_NONE = 0, - OVERLOAD_DECL_FLAGS_FUNCTION = 1, - OVERLOAD_DECL_FLAGS_CLASS_METHOD = 2, - OVERLOAD_DECL_FLAGS_INTERFACE_METHOD = 4 -} -export enum Es2pandaPropertySearchFlags { - PROPERTY_SEARCH_FLAGS_NO_OPTS = 0, - PROPERTY_SEARCH_FLAGS_SEARCH_INSTANCE_METHOD = 1, - PROPERTY_SEARCH_FLAGS_SEARCH_INSTANCE_FIELD = 2, - PROPERTY_SEARCH_FLAGS_SEARCH_INSTANCE_DECL = 4, - PROPERTY_SEARCH_FLAGS_SEARCH_STATIC_METHOD = 8, - PROPERTY_SEARCH_FLAGS_SEARCH_STATIC_FIELD = 16, - PROPERTY_SEARCH_FLAGS_SEARCH_STATIC_DECL = 32, - PROPERTY_SEARCH_FLAGS_SEARCH_IN_BASE = 64, - PROPERTY_SEARCH_FLAGS_SEARCH_IN_INTERFACES = 128, - PROPERTY_SEARCH_FLAGS_IGNORE_ABSTRACT = 256, - PROPERTY_SEARCH_FLAGS_ALLOW_FUNCTIONAL_INTERFACE = 512, - PROPERTY_SEARCH_FLAGS_DISALLOW_SYNTHETIC_METHOD_CREATION = 1024, - PROPERTY_SEARCH_FLAGS_IS_SETTER = 2048, - PROPERTY_SEARCH_FLAGS_IS_GETTER = 4096, - PROPERTY_SEARCH_FLAGS_IGNORE_OVERLOAD = 8192, - PROPERTY_SEARCH_FLAGS_SEARCH_INSTANCE = 7, - PROPERTY_SEARCH_FLAGS_SEARCH_STATIC = 56, - PROPERTY_SEARCH_FLAGS_SEARCH_METHOD = 9, - PROPERTY_SEARCH_FLAGS_SEARCH_FIELD = 18, - PROPERTY_SEARCH_FLAGS_SEARCH_DECL = 36, - PROPERTY_SEARCH_FLAGS_SEARCH_ALL = 63 -} -export enum Es2pandaPropertyType { - PROPERTY_TYPE_INSTANCE_METHOD = 0, - PROPERTY_TYPE_INSTANCE_FIELD = 1, - PROPERTY_TYPE_INSTANCE_DECL = 2, - PROPERTY_TYPE_STATIC_METHOD = 3, - PROPERTY_TYPE_STATIC_FIELD = 4, - PROPERTY_TYPE_STATIC_DECL = 5, - PROPERTY_TYPE_COUNT = 6 -} -export enum Es2pandaVariableDeclarationKind { - VARIABLE_DECLARATION_KIND_CONST = 0, - VARIABLE_DECLARATION_KIND_LET = 1, - VARIABLE_DECLARATION_KIND_VAR = 2 -} -export enum Es2pandaAccessibilityOption { - ACCESSIBILITY_OPTION_NO_OPTS = 0, - ACCESSIBILITY_OPTION_PUBLIC = 1, - ACCESSIBILITY_OPTION_PRIVATE = 2, - ACCESSIBILITY_OPTION_PROTECTED = 3 -} -export enum Es2pandaRetentionPolicy { - RETENTION_POLICY_SOURCE = 0, - RETENTION_POLICY_BYTECODE = 1, - RETENTION_POLICY_RUNTIME = 2 -} -export enum Es2pandaRecordTableFlags { - RECORD_TABLE_FLAGS_NONE = 0, - RECORD_TABLE_FLAGS_EXTERNAL = 1 -} -export enum Es2pandaCheckerStatus { - CHECKER_STATUS_NO_OPTS = 0, - CHECKER_STATUS_FORCE_TUPLE = 1, - CHECKER_STATUS_IN_CONST_CONTEXT = 2, - CHECKER_STATUS_KEEP_LITERAL_TYPE = 4, - CHECKER_STATUS_IN_PARAMETER = 8, - CHECKER_STATUS_IN_CLASS = 16, - CHECKER_STATUS_IN_INTERFACE = 32, - CHECKER_STATUS_IN_ABSTRACT = 64, - CHECKER_STATUS_IN_STATIC_CONTEXT = 128, - CHECKER_STATUS_IN_CONSTRUCTOR = 256, - CHECKER_STATUS_IN_STATIC_BLOCK = 512, - CHECKER_STATUS_INNER_CLASS = 1024, - CHECKER_STATUS_IN_ENUM = 2048, - CHECKER_STATUS_BUILTINS_INITIALIZED = 4096, - CHECKER_STATUS_IN_LAMBDA = 8192, - CHECKER_STATUS_IGNORE_VISIBILITY = 16384, - CHECKER_STATUS_IN_EXTENSION_METHOD = 32768, - CHECKER_STATUS_IN_LOCAL_CLASS = 65536, - CHECKER_STATUS_IN_INSTANCEOF_CONTEXT = 131072, - CHECKER_STATUS_IN_TEST_EXPRESSION = 262144, - CHECKER_STATUS_IN_LOOP = 524288, - CHECKER_STATUS_MEET_RETURN = 1048576, - CHECKER_STATUS_MEET_BREAK = 2097152, - CHECKER_STATUS_MEET_CONTINUE = 4194304, - CHECKER_STATUS_MEET_THROW = 8388608, - CHECKER_STATUS_IN_EXTERNAL = 16777216, - CHECKER_STATUS_IN_BRIDGE_TEST = 33554432, - CHECKER_STATUS_IN_GETTER = 67108864, - CHECKER_STATUS_IN_SETTER = 134217728, - CHECKER_STATUS_IN_EXTENSION_ACCESSOR_CHECK = 268435456, - CHECKER_STATUS_IN_TYPE_INFER = 536870912 -} -export enum Es2pandaOverrideErrorCode { - OVERRIDE_ERROR_CODE_NO_ERROR = 0, - OVERRIDE_ERROR_CODE_OVERRIDDEN_FINAL = 1, - OVERRIDE_ERROR_CODE_INCOMPATIBLE_RETURN = 2, - OVERRIDE_ERROR_CODE_INCOMPATIBLE_TYPEPARAM = 3, - OVERRIDE_ERROR_CODE_OVERRIDDEN_WEAKER = 4, - OVERRIDE_ERROR_CODE_OVERRIDDEN_INTERNAL = 5, - OVERRIDE_ERROR_CODE_ABSTRACT_OVERRIDES_CONCRETE = 6 -} -export enum Es2pandaResolvedKind { - RESOLVED_KIND_PROPERTY = 0, - RESOLVED_KIND_EXTENSION_FUNCTION = 1, - RESOLVED_KIND_EXTENSION_ACCESSOR = 2 -} -export enum Es2pandaLexicalScopeType { - LEXICAL_SCOPE_TYPE_BLOCK = 0, - LEXICAL_SCOPE_TYPE_STRICT_BLOCK = 1, - LEXICAL_SCOPE_TYPE_CATCH = 2, - LEXICAL_SCOPE_TYPE_FUNCTION_PARAM = 3, - LEXICAL_SCOPE_TYPE_TS_TYPE_LITERAL = 4 -} -export enum Es2pandaVariableParsingFlags { - VARIABLE_PARSING_FLAGS_NO_OPTS = 0, - VARIABLE_PARSING_FLAGS_NO_SKIP_VAR_KIND = 1, - VARIABLE_PARSING_FLAGS_ACCEPT_CONST_NO_INIT = 2, - VARIABLE_PARSING_FLAGS_DISALLOW_INIT = 4, - VARIABLE_PARSING_FLAGS_VAR = 8, - VARIABLE_PARSING_FLAGS_LET = 16, - VARIABLE_PARSING_FLAGS_CONST = 32, - VARIABLE_PARSING_FLAGS_STOP_AT_IN = 64, - VARIABLE_PARSING_FLAGS_IN_FOR = 128, - VARIABLE_PARSING_FLAGS_FOR_OF = 256 -} -export enum Es2pandaExpressionParseFlags { - EXPRESSION_PARSE_FLAGS_NO_OPTS = 0, - EXPRESSION_PARSE_FLAGS_ACCEPT_COMMA = 1, - EXPRESSION_PARSE_FLAGS_ACCEPT_REST = 2, - EXPRESSION_PARSE_FLAGS_EXP_DISALLOW_AS = 4, - EXPRESSION_PARSE_FLAGS_DISALLOW_ASSIGNMENT = 8, - EXPRESSION_PARSE_FLAGS_DISALLOW_YIELD = 16, - EXPRESSION_PARSE_FLAGS_STOP_AT_IN = 32, - EXPRESSION_PARSE_FLAGS_MUST_BE_PATTERN = 64, - EXPRESSION_PARSE_FLAGS_POTENTIALLY_IN_PATTERN = 128, - EXPRESSION_PARSE_FLAGS_OBJECT_PATTERN = 256, - EXPRESSION_PARSE_FLAGS_IN_REST = 512, - EXPRESSION_PARSE_FLAGS_IMPORT = 1024, - EXPRESSION_PARSE_FLAGS_POTENTIAL_CLASS_LITERAL = 2048, - EXPRESSION_PARSE_FLAGS_IN_FOR = 4096, - EXPRESSION_PARSE_FLAGS_INSTANCEOF = 8192, - EXPRESSION_PARSE_FLAGS_POTENTIAL_NEW_ARRAY = 16384 -} -export enum Es2pandaStatementParsingFlags { - STATEMENT_PARSING_FLAGS_NONE = 0, - STATEMENT_PARSING_FLAGS_ALLOW_LEXICAL = 1, - STATEMENT_PARSING_FLAGS_GLOBAL = 2, - STATEMENT_PARSING_FLAGS_IF_ELSE = 4, - STATEMENT_PARSING_FLAGS_LABELLED = 8, - STATEMENT_PARSING_FLAGS_INIT_MODULE = 16, - STATEMENT_PARSING_FLAGS_STMT_LEXICAL_SCOPE_NEEDED = 12, - STATEMENT_PARSING_FLAGS_STMT_GLOBAL_LEXICAL = 3 -} -export enum Es2pandaForStatementKind { - FOR_STATEMENT_KIND_UPDATE = 0, - FOR_STATEMENT_KIND_IN = 1, - FOR_STATEMENT_KIND_OF = 2 -} -export enum Es2pandaTypeAnnotationParsingOptions { - TYPE_ANNOTATION_PARSING_OPTIONS_NO_OPTS = 0, - TYPE_ANNOTATION_PARSING_OPTIONS_IN_UNION = 1, - TYPE_ANNOTATION_PARSING_OPTIONS_ALLOW_CONST = 2, - TYPE_ANNOTATION_PARSING_OPTIONS_IN_INTERSECTION = 4, - TYPE_ANNOTATION_PARSING_OPTIONS_RESTRICT_EXTENDS = 8, - TYPE_ANNOTATION_PARSING_OPTIONS_REPORT_ERROR = 16, - TYPE_ANNOTATION_PARSING_OPTIONS_CAN_BE_TS_TYPE_PREDICATE = 32, - TYPE_ANNOTATION_PARSING_OPTIONS_BREAK_AT_NEW_LINE = 64, - TYPE_ANNOTATION_PARSING_OPTIONS_RETURN_TYPE = 128, - TYPE_ANNOTATION_PARSING_OPTIONS_POTENTIAL_CLASS_LITERAL = 256, - TYPE_ANNOTATION_PARSING_OPTIONS_ALLOW_INTERSECTION = 512, - TYPE_ANNOTATION_PARSING_OPTIONS_ADD_TYPE_PARAMETER_BINDING = 1024, - TYPE_ANNOTATION_PARSING_OPTIONS_DISALLOW_PRIMARY_TYPE = 2048, - TYPE_ANNOTATION_PARSING_OPTIONS_ALLOW_WILDCARD = 4096, - TYPE_ANNOTATION_PARSING_OPTIONS_IGNORE_FUNCTION_TYPE = 8192, - TYPE_ANNOTATION_PARSING_OPTIONS_ALLOW_DECLARATION_SITE_VARIANCE = 16384, - TYPE_ANNOTATION_PARSING_OPTIONS_DISALLOW_UNION = 32768, - TYPE_ANNOTATION_PARSING_OPTIONS_POTENTIAL_NEW_ARRAY = 65536, - TYPE_ANNOTATION_PARSING_OPTIONS_ANNOTATION_NOT_ALLOW = 131072, - TYPE_ANNOTATION_PARSING_OPTIONS_INSTANCEOF = 262144, - TYPE_ANNOTATION_PARSING_OPTIONS_TYPE_ALIAS_CONTEXT = 524288 -} -export enum Es2pandaScriptKind { - SCRIPT_KIND_SCRIPT = 0, - SCRIPT_KIND_MODULE = 1, - SCRIPT_KIND_STDLIB = 2, - SCRIPT_KIND_GENEXTERNAL = 3 -} -export enum Es2pandaProgramFlags { - PROGRAM_FLAGS_NONE = 0, - PROGRAM_FLAGS_AST_CHECKED = 1, - PROGRAM_FLAGS_AST_CHECK_PROCESSED = 2, - PROGRAM_FLAGS_AST_ENUM_LOWERED = 4, - PROGRAM_FLAGS_AST_BOXED_TYPE_LOWERED = 8, - PROGRAM_FLAGS_AST_CONSTANT_EXPRESSION_LOWERED = 16, - PROGRAM_FLAGS_AST_STRING_CONSTANT_LOWERED = 32, - PROGRAM_FLAGS_AST_IDENTIFIER_ANALYZED = 64, - PROGRAM_FLAGS_AST_HAS_SCOPES_INITIALIZED = 128, - PROGRAM_FLAGS_AST_HAS_OPTIONAL_PARAMETER_ANNOTATION = 256 -} -export enum Es2pandaCompilationMode { - COMPILATION_MODE_GEN_STD_LIB = 0, - COMPILATION_MODE_PROJECT = 1, - COMPILATION_MODE_SINGLE_FILE = 2, - COMPILATION_MODE_GEN_ABC_FOR_EXTERNAL_SOURCE = 3 -} -export enum Es2pandaImportFlags { - IMPORT_FLAGS_NONE = 0, - IMPORT_FLAGS_DEFAULT_IMPORT = 1, - IMPORT_FLAGS_IMPLICIT_PACKAGE_IMPORT = 2, - IMPORT_FLAGS_EXTERNAL_BINARY_IMPORT = 4, - IMPORT_FLAGS_EXTERNAL_SOURCE_IMPORT = 8 -} -export enum Es2pandaModuleKind { - MODULE_KIND_MODULE = 0, - MODULE_KIND_DECLARATION = 1, - MODULE_KIND_PACKAGE = 2 -} diff --git a/ui2abc/libarkts/generated/Es2pandaNativeModule.ts b/ui2abc/libarkts/generated/Es2pandaNativeModule.ts deleted file mode 100644 index 159266f18..000000000 --- a/ui2abc/libarkts/generated/Es2pandaNativeModule.ts +++ /dev/null @@ -1,5195 +0,0 @@ -/* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - KNativePointer, - KStringPtr, - KUInt, - KInt, - KBoolean, - KDouble, - KFloat, - KLong -} from "@koalaui/interop" - -// Improve: this type should be in interop -export type KNativePointerArray = BigUint64Array - -export class Es2pandaNativeModule { - _GetAllErrorMessages(context: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProceedToState(context: KNativePointer, state: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContextState(context: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContextErrorMessage(context: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContextProgram(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSourcePosition(context: KNativePointer, index: KUInt, line: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSourceRange(context: KNativePointer, start: KNativePointer, end: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SourcePositionIndex(context: KNativePointer, position: KNativePointer): KUInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _SourcePositionLine(context: KNativePointer, position: KNativePointer): KUInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _SourceRangeStart(context: KNativePointer, range: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SourceRangeEnd(context: KNativePointer, range: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LogDiagnosticWithSuggestion(context: KNativePointer, diagnosticInfo: KNativePointer, suggestionInfo: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAnyError(context: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeRecheck(context: KNativePointer, node: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _Es2pandaEnumFromString(context: KNativePointer, str: KStringPtr): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _Es2pandaEnumToString(context: KNativePointer, id: KInt): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _DeclarationFromIdentifier(context: KNativePointer, node: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsImportTypeKind(context: KNativePointer, node: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _JsdocStringFromDeclaration(context: KNativePointer, node: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _GetLicenseFromRootNode(context: KNativePointer, node: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _FirstDeclarationByNameFromNode(context: KNativePointer, node: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FirstDeclarationByNameFromProgram(context: KNativePointer, program: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AllDeclarationsByNameFromNode(context: KNativePointer, node: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AllDeclarationsByNameFromProgram(context: KNativePointer, program: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _InsertETSImportDeclarationAndParse(context: KNativePointer, program: KNativePointer, node: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _GenerateStaticDeclarationsFromContext(context: KNativePointer, outputPath: KStringPtr): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsArrowFunctionExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAnnotationDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAnnotationUsage(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAssertStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAwaitExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBigIntLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBinaryExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBlockStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBooleanLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBreakStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsCallExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsCatchClause(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsChainExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsCharLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsClassDefinition(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsClassDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsClassExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsClassProperty(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsClassStaticBlock(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsConditionalExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsContinueStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsDebuggerStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsDecorator(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsDirectEvalExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsDoWhileStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsEmptyStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsExportAllDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsExportDefaultDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsExportNamedDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsExportSpecifier(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsExpressionStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsForInStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsForOfStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsForUpdateStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsFunctionDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsFunctionExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsIdentifier(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsDummyNode(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsIfStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsImportDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsImportExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsImportDefaultSpecifier(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsImportNamespaceSpecifier(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsImportSpecifier(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsLabelledStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsMemberExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsMetaProperty(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsMethodDefinition(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsNamedType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsNewExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsNullLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsUndefinedLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsNumberLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsOmittedExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsOverloadDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsPrefixAssertionExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsProperty(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsRegExpLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSReExportDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsReturnStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsScriptFunction(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsSequenceExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsStringLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSNonNullishTypeNode(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSNullType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSUndefinedType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSNeverType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSStringLiteralType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSIntrinsicNode(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSFunctionType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSWildcardType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSPrimitiveType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSPackageDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSClassLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSTypeReference(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSTypeReferencePart(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSUnionType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSKeyofType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSNewArrayInstanceExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSNewMultiDimArrayInstanceExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSNewClassInstanceExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSImportDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSParameterExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSTuple(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSModule(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsSuperExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsETSStructDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsSwitchCaseStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsSwitchStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSEnumDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSEnumMember(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSExternalModuleReference(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSNumberKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSAnyKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSStringKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSBooleanKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSVoidKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSUndefinedKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSUnknownKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSObjectKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSBigintKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSNeverKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSNonNullExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSNullKeyword(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSArrayType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSUnionType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSPropertySignature(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSMethodSignature(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSSignatureDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSParenthesizedType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSLiteralType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSInferType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSConditionalType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSImportType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSIntersectionType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSMappedType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSModuleBlock(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSThisType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeOperator(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeParameter(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeParameterDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeParameterInstantiation(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypePredicate(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSParameterProperty(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSModuleDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSImportEqualsDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSFunctionType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSConstructorType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeAliasDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeReference(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSQualifiedName(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSIndexedAccessType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSInterfaceDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSInterfaceBody(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSInterfaceHeritage(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTupleType(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSNamedTupleMember(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSIndexSignature(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeQuery(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSAsExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSClassImplements(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTSTypeAssertion(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTaggedTemplateExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTemplateElement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTemplateLiteral(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsThisExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTypeofExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsThrowStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsTryStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsUnaryExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsUpdateExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsVariableDeclaration(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsVariableDeclarator(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsWhileStatement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsYieldExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsOpaqueTypeNode(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBlockExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsBrokenTypeNode(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsArrayExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsArrayPattern(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAssignmentExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsAssignmentPattern(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsObjectExpression(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsObjectPattern(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsSpreadElement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IsRestElement(ast: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeName(ast: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNumberLiteral(context: KNativePointer, value: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNumberLiteral1(context: KNativePointer, value: KLong): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNumberLiteral2(context: KNativePointer, value: KDouble): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNumberLiteral3(context: KNativePointer, value: KFloat): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNumberLiteral(context: KNativePointer, original: KNativePointer, value: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNumberLiteral1(context: KNativePointer, original: KNativePointer, value: KLong): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNumberLiteral2(context: KNativePointer, original: KNativePointer, value: KDouble): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNumberLiteral3(context: KNativePointer, original: KNativePointer, value: KFloat): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _NumberLiteralStrConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateLabelledStatement(context: KNativePointer, ident: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateLabelledStatement(context: KNativePointer, original: KNativePointer, ident: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LabelledStatementBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LabelledStatementBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LabelledStatementIdentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LabelledStatementIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LabelledStatementGetReferencedStatementConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateThrowStatement(context: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateThrowStatement(context: KNativePointer, original: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ThrowStatementArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassProperty(context: KNativePointer, key: KNativePointer, value: KNativePointer, typeAnnotation: KNativePointer, modifiers: KInt, isComputed: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassProperty(context: KNativePointer, original: KNativePointer, key: KNativePointer, value: KNativePointer, typeAnnotation: KNativePointer, modifiers: KInt, isComputed: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyIsDefaultAccessModifierConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertySetDefaultAccessModifier(context: KNativePointer, receiver: KNativePointer, isDefault: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertySetTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyNeedInitInStaticBlockConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertySetNeedInitInStaticBlock(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyIsImmediateInitConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertySetIsImmediateInit(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertyAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertySetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassPropertySetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSVoidKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSVoidKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSFunctionType(context: KNativePointer, signature: KNativePointer, funcFlags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSFunctionType(context: KNativePointer, original: KNativePointer, signature: KNativePointer, funcFlags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeSetParams(context: KNativePointer, receiver: KNativePointer, paramsList: BigUint64Array, paramsListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeReturnTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeReturnType(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeFunctionalInterface(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeFunctionalInterfaceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeSetFunctionalInterface(context: KNativePointer, receiver: KNativePointer, functionalInterface: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeFlags(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeFlagsConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSFunctionTypeIsExtensionFunctionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeOperator(context: KNativePointer, type: KNativePointer, operatorType: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeOperator(context: KNativePointer, original: KNativePointer, type: KNativePointer, operatorType: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeOperatorTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeOperatorIsReadonlyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeOperatorIsKeyofConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeOperatorIsUniqueConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateIfStatement(context: KNativePointer, test: KNativePointer, consequent: KNativePointer, alternate: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateIfStatement(context: KNativePointer, original: KNativePointer, test: KNativePointer, consequent: KNativePointer, alternate: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementSetTest(context: KNativePointer, receiver: KNativePointer, test: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementConsequentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementConsequent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementAlternate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementAlternateConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IfStatementSetAlternate(context: KNativePointer, receiver: KNativePointer, alternate: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSConstructorType(context: KNativePointer, signature: KNativePointer, abstract: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSConstructorType(context: KNativePointer, original: KNativePointer, signature: KNativePointer, abstract: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConstructorTypeTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConstructorTypeTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConstructorTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConstructorTypeReturnTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConstructorTypeReturnType(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConstructorTypeAbstractConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateDecorator(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateDecorator(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _DecoratorExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSEnumDeclaration(context: KNativePointer, key: KNativePointer, members: BigUint64Array, membersSequenceLength: KUInt, isConst: KBoolean, isStatic: KBoolean, isDeclare: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSEnumDeclaration(context: KNativePointer, original: KNativePointer, key: KNativePointer, members: BigUint64Array, membersSequenceLength: KUInt, isConst: KBoolean, isStatic: KBoolean, isDeclare: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSEnumDeclaration1(context: KNativePointer, key: KNativePointer, members: BigUint64Array, membersSequenceLength: KUInt, isConst: KBoolean, isStatic: KBoolean, isDeclare: KBoolean, typeNode: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSEnumDeclaration1(context: KNativePointer, original: KNativePointer, key: KNativePointer, members: BigUint64Array, membersSequenceLength: KUInt, isConst: KBoolean, isStatic: KBoolean, isDeclare: KBoolean, typeNode: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationKeyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationTypeNodes(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationKey(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationMembersConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationInternalNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationSetInternalName(context: KNativePointer, receiver: KNativePointer, internalName: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationBoxedClassConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationSetBoxedClass(context: KNativePointer, receiver: KNativePointer, boxedClass: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationIsConstConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationEmplaceMembers(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationClearMembers(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationSetValueMembers(context: KNativePointer, receiver: KNativePointer, source: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumDeclarationMembersForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSNeverKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSNeverKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateImportDefaultSpecifier(context: KNativePointer, local: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateImportDefaultSpecifier(context: KNativePointer, original: KNativePointer, local: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDefaultSpecifierLocalConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDefaultSpecifierLocal(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateObjectExpression(context: KNativePointer, nodeType: KInt, properties: BigUint64Array, propertiesSequenceLength: KUInt, trailingComma: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateObjectExpression(context: KNativePointer, original: KNativePointer, nodeType: KInt, properties: BigUint64Array, propertiesSequenceLength: KUInt, trailingComma: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionPropertiesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionIsDeclarationConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionValidateExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionConvertibleToObjectPattern(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionSetDeclaration(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionSetOptional(context: KNativePointer, receiver: KNativePointer, optional_arg: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ObjectExpressionSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateImportSpecifier(context: KNativePointer, imported: KNativePointer, local: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateImportSpecifier(context: KNativePointer, original: KNativePointer, imported: KNativePointer, local: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportSpecifierImported(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportSpecifierImportedConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportSpecifierLocal(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportSpecifierLocalConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportSpecifierIsRemovableConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportSpecifierSetRemovable(context: KNativePointer, receiver: KNativePointer, isRemovable: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateConditionalExpression(context: KNativePointer, test: KNativePointer, consequent: KNativePointer, alternate: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateConditionalExpression(context: KNativePointer, original: KNativePointer, test: KNativePointer, consequent: KNativePointer, alternate: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionSetTest(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionConsequentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionConsequent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionSetConsequent(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionAlternateConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionAlternate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ConditionalExpressionSetAlternate(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateCallExpression(context: KNativePointer, callee: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt, typeParams: KNativePointer, optional_arg: KBoolean, trailingComma: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateCallExpression1(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateCallExpression1(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionCalleeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionCallee(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionSetCallee(context: KNativePointer, receiver: KNativePointer, callee: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionArgumentsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionArguments(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionSetArguments(context: KNativePointer, receiver: KNativePointer, argumentsList: BigUint64Array, argumentsListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionHasTrailingCommaConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionSetTypeParams(context: KNativePointer, receiver: KNativePointer, typeParams: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionSetTrailingBlock(context: KNativePointer, receiver: KNativePointer, block: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionIsExtensionAccessorCall(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionTrailingBlockConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionSetIsTrailingBlockInNewLine(context: KNativePointer, receiver: KNativePointer, isNewLine: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionIsTrailingBlockInNewLineConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionSetIsTrailingCall(context: KNativePointer, receiver: KNativePointer, isTrailingCall: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionIsTrailingCallConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionIsETSConstructorCallConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CallExpressionIsDynamicCallConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBigIntLiteral(context: KNativePointer, src: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBigIntLiteral(context: KNativePointer, original: KNativePointer, src: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BigIntLiteralStrConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementId(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementIdConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementKey(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementKeyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementValue(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementSetValue(context: KNativePointer, receiver: KNativePointer, value: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementValueConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementOriginEnumMemberConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementSetOrigEnumMember(context: KNativePointer, receiver: KNativePointer, enumMember: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementIsPrivateElementConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementIsComputedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassElementToPrivateFieldKindConst(context: KNativePointer, receiver: KNativePointer, isStatic: KBoolean): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSImportType(context: KNativePointer, param: KNativePointer, typeParams: KNativePointer, qualifier: KNativePointer, isTypeof: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSImportType(context: KNativePointer, original: KNativePointer, param: KNativePointer, typeParams: KNativePointer, qualifier: KNativePointer, isTypeof: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportTypeParamConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportTypeTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportTypeQualifierConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportTypeIsTypeofConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTaggedTemplateExpression(context: KNativePointer, tag: KNativePointer, quasi: KNativePointer, typeParams: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTaggedTemplateExpression(context: KNativePointer, original: KNativePointer, tag: KNativePointer, quasi: KNativePointer, typeParams: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TaggedTemplateExpressionTagConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TaggedTemplateExpressionQuasiConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TaggedTemplateExpressionTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateFunctionDeclaration(context: KNativePointer, func: KNativePointer, annotations: BigUint64Array, annotationsSequenceLength: KUInt, isAnonymous: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateFunctionDeclaration(context: KNativePointer, original: KNativePointer, func: KNativePointer, annotations: BigUint64Array, annotationsSequenceLength: KUInt, isAnonymous: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateFunctionDeclaration1(context: KNativePointer, func: KNativePointer, isAnonymous: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateFunctionDeclaration1(context: KNativePointer, original: KNativePointer, func: KNativePointer, isAnonymous: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationFunction(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationIsAnonymousConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationFunctionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionDeclarationSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSTypeReference(context: KNativePointer, part: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSTypeReference(context: KNativePointer, original: KNativePointer, part: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePart(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferenceBaseNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeReference(context: KNativePointer, typeName: KNativePointer, typeParams: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeReference(context: KNativePointer, original: KNativePointer, typeName: KNativePointer, typeParams: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeReferenceTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeReferenceTypeNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeReferenceBaseNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNamedType(context: KNativePointer, name: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNamedType(context: KNativePointer, original: KNativePointer, name: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _NamedTypeNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _NamedTypeTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _NamedTypeIsNullableConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _NamedTypeSetNullable(context: KNativePointer, receiver: KNativePointer, nullable: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _NamedTypeSetNext(context: KNativePointer, receiver: KNativePointer, next: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _NamedTypeSetTypeParams(context: KNativePointer, receiver: KNativePointer, typeParams: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSFunctionType(context: KNativePointer, signature: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSFunctionType(context: KNativePointer, original: KNativePointer, signature: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSFunctionTypeTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSFunctionTypeTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSFunctionTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSFunctionTypeReturnTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSFunctionTypeReturnType(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSFunctionTypeSetNullable(context: KNativePointer, receiver: KNativePointer, nullable: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTemplateElement(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTemplateElement(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTemplateElement1(context: KNativePointer, raw: KStringPtr, cooked: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTemplateElement1(context: KNativePointer, original: KNativePointer, raw: KStringPtr, cooked: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TemplateElementRawConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _TemplateElementCookedConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSInterfaceDeclaration(context: KNativePointer, _extends: BigUint64Array, _extendsSequenceLength: KUInt, id: KNativePointer, typeParams: KNativePointer, body: KNativePointer, isStatic: KBoolean, isExternal: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSInterfaceDeclaration(context: KNativePointer, original: KNativePointer, _extends: BigUint64Array, _extendsSequenceLength: KUInt, id: KNativePointer, typeParams: KNativePointer, body: KNativePointer, isStatic: KBoolean, isExternal: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationId(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationIdConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationInternalNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationSetInternalName(context: KNativePointer, receiver: KNativePointer, internalName: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationIsStaticConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationIsFromExternalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationExtends(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationExtendsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationExtendsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationGetAnonClass(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationGetAnonClassConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationSetAnonClass(context: KNativePointer, receiver: KNativePointer, anonClass: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationEmplaceExtends(context: KNativePointer, receiver: KNativePointer, _extends: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationClearExtends(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationSetValueExtends(context: KNativePointer, receiver: KNativePointer, _extends: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceDeclarationSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateVariableDeclaration(context: KNativePointer, kind: KInt, declarators: BigUint64Array, declaratorsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateVariableDeclaration(context: KNativePointer, original: KNativePointer, kind: KInt, declarators: BigUint64Array, declaratorsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationDeclaratorsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationDeclarators(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationDeclaratorsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationGetDeclaratorByNameConst(context: KNativePointer, receiver: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclarationSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateUndefinedLiteral(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateUndefinedLiteral(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateMemberExpression(context: KNativePointer, object_arg: KNativePointer, property: KNativePointer, kind: KInt, computed: KBoolean, optional_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateMemberExpression(context: KNativePointer, original: KNativePointer, object_arg: KNativePointer, property: KNativePointer, kind: KInt, computed: KBoolean, optional_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionObject(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionObjectConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionSetObject(context: KNativePointer, receiver: KNativePointer, object_arg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionSetProperty(context: KNativePointer, receiver: KNativePointer, prop: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionProperty(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionPropertyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionIsComputedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionAddMemberKind(context: KNativePointer, receiver: KNativePointer, kind: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionHasMemberKindConst(context: KNativePointer, receiver: KNativePointer, kind: KInt): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionRemoveMemberKind(context: KNativePointer, receiver: KNativePointer, kind: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionIsIgnoreBoxConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionSetIgnoreBox(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionIsPrivateReferenceConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionCompileToRegConst(context: KNativePointer, receiver: KNativePointer, pg: KNativePointer, objReg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MemberExpressionCompileToRegsConst(context: KNativePointer, receiver: KNativePointer, pg: KNativePointer, object_arg: KNativePointer, property: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSClassImplements(context: KNativePointer, expression: KNativePointer, typeParameters: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSClassImplements(context: KNativePointer, original: KNativePointer, expression: KNativePointer, typeParameters: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSClassImplements1(context: KNativePointer, expression: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSClassImplements1(context: KNativePointer, original: KNativePointer, expression: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSClassImplementsExpr(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSClassImplementsExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSClassImplementsTypeParametersConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSObjectKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSObjectKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSUnionType(context: KNativePointer, types: BigUint64Array, typesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSUnionType(context: KNativePointer, original: KNativePointer, types: BigUint64Array, typesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSUnionTypeTypesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSUnionTypeSetValueTypesConst(context: KNativePointer, receiver: KNativePointer, type: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSKeyofType(context: KNativePointer, type: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSKeyofType(context: KNativePointer, original: KNativePointer, type: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSKeyofTypeGetTypeRefConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSPropertySignature(context: KNativePointer, key: KNativePointer, typeAnnotation: KNativePointer, computed: KBoolean, optional_arg: KBoolean, readonly_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSPropertySignature(context: KNativePointer, original: KNativePointer, key: KNativePointer, typeAnnotation: KNativePointer, computed: KBoolean, optional_arg: KBoolean, readonly_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureKeyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureKey(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureComputedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureReadonlyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSPropertySignatureSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSConditionalType(context: KNativePointer, checkType: KNativePointer, extendsType: KNativePointer, trueType: KNativePointer, falseType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSConditionalType(context: KNativePointer, original: KNativePointer, checkType: KNativePointer, extendsType: KNativePointer, trueType: KNativePointer, falseType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConditionalTypeCheckTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConditionalTypeExtendsTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConditionalTypeTrueTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSConditionalTypeFalseTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSLiteralType(context: KNativePointer, literal: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSLiteralType(context: KNativePointer, original: KNativePointer, literal: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSLiteralTypeLiteralConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeAliasDeclaration(context: KNativePointer, id: KNativePointer, typeParams: KNativePointer, typeAnnotation: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeAliasDeclaration(context: KNativePointer, original: KNativePointer, id: KNativePointer, typeParams: KNativePointer, typeAnnotation: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeAliasDeclaration1(context: KNativePointer, id: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeAliasDeclaration1(context: KNativePointer, original: KNativePointer, id: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationId(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationIdConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationSetTypeParameters(context: KNativePointer, receiver: KNativePointer, typeParams: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationClearTypeParamterTypes(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAliasDeclarationSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateDebuggerStatement(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateDebuggerStatement(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateReturnStatement(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateReturnStatement(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateReturnStatement1(context: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateReturnStatement1(context: KNativePointer, original: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ReturnStatementArgument(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ReturnStatementArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ReturnStatementSetArgument(context: KNativePointer, receiver: KNativePointer, arg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ReturnStatementIsAsyncImplReturnConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExportDefaultDeclaration(context: KNativePointer, decl: KNativePointer, exportEquals: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExportDefaultDeclaration(context: KNativePointer, original: KNativePointer, decl: KNativePointer, exportEquals: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportDefaultDeclarationDecl(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportDefaultDeclarationDeclConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportDefaultDeclarationIsExportEqualsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateScriptFunction(context: KNativePointer, databody: KNativePointer, datasignature: KNativePointer, datafuncFlags: KInt, dataflags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateScriptFunction(context: KNativePointer, original: KNativePointer, databody: KNativePointer, datasignature: KNativePointer, datafuncFlags: KInt, dataflags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIdConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionId(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionReturnStatementsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionReturnStatements(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionReturnStatementsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAddReturnStatement(context: KNativePointer, receiver: KNativePointer, returnStatement: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetBody(context: KNativePointer, receiver: KNativePointer, body: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionReturnTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionReturnTypeAnnotation(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetReturnTypeAnnotation(context: KNativePointer, receiver: KNativePointer, node: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsEntryPointConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsGeneratorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsAsyncFuncConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsAsyncImplFuncConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsArrowConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsOverloadConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsExternalOverloadConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsConstructorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsGetterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsSetterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsExtensionAccessorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsProxyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsStaticBlockConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsEnumConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsHiddenConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsExternalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsImplicitSuperCallNeededConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionHasBodyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionHasRestParameterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionHasReturnStatementConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionHasThrowStatementConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsTrailingLambdaConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsSyntheticConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsDynamicConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionIsExtensionMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionFlagsConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionHasReceiverConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetIdent(context: KNativePointer, receiver: KNativePointer, id: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAddFlag(context: KNativePointer, receiver: KNativePointer, flags: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionClearFlag(context: KNativePointer, receiver: KNativePointer, flags: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionFormalParamsLengthConst(context: KNativePointer, receiver: KNativePointer): KUInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetAsyncPairMethod(context: KNativePointer, receiver: KNativePointer, asyncPairFunction: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAsyncPairMethodConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAsyncPairMethod(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionEmplaceReturnStatements(context: KNativePointer, receiver: KNativePointer, returnStatements: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionClearReturnStatements(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetValueReturnStatements(context: KNativePointer, receiver: KNativePointer, returnStatements: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionEmplaceParams(context: KNativePointer, receiver: KNativePointer, params: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetParams(context: KNativePointer, receiver: KNativePointer, paramsList: BigUint64Array, paramsListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionClearParams(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetValueParams(context: KNativePointer, receiver: KNativePointer, params: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionParamsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ScriptFunctionSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassDefinition(context: KNativePointer, ident: KNativePointer, typeParams: KNativePointer, superTypeParams: KNativePointer, _implements: BigUint64Array, _implementsSequenceLength: KUInt, ctor: KNativePointer, superClass: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt, modifiers: KInt, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassDefinition(context: KNativePointer, original: KNativePointer, ident: KNativePointer, typeParams: KNativePointer, superTypeParams: KNativePointer, _implements: BigUint64Array, _implementsSequenceLength: KUInt, ctor: KNativePointer, superClass: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt, modifiers: KInt, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassDefinition1(context: KNativePointer, ident: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt, modifiers: KInt, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassDefinition1(context: KNativePointer, original: KNativePointer, ident: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt, modifiers: KInt, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassDefinition2(context: KNativePointer, ident: KNativePointer, modifiers: KInt, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassDefinition2(context: KNativePointer, original: KNativePointer, ident: KNativePointer, modifiers: KInt, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIdentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetIdent(context: KNativePointer, receiver: KNativePointer, ident: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionInternalNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSuper(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSuperConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetSuper(context: KNativePointer, receiver: KNativePointer, superClass: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsGlobalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsLocalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsExternConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsFromExternalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsInnerConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsGlobalInitializedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsClassDefinitionCheckedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsAnonymousConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsIntEnumTransformedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsDoubleEnumTransformedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsStringEnumTransformedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsEnumTransformedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsNamespaceTransformedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsLazyImportObjectClassConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsFromStructConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsInitInCctorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionIsModuleConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetGlobalInitialized(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetInnerModifier(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetClassDefinitionChecked(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetAnonymousModifier(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetNamespaceTransformed(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetLazyImportObjectClass(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetFromStructModifier(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetInitInCctor(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionModifiersConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionAddProperties(context: KNativePointer, receiver: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionCtor(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionImplementsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSuperTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSuperTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionLocalTypeCounter(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionLocalIndexConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionFunctionalReferenceReferencedMethodConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetFunctionalReferenceReferencedMethod(context: KNativePointer, receiver: KNativePointer, functionalReferenceReferencedMethod: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionLocalPrefixConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionOrigEnumDeclConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionGetAnonClass(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionCtorConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionHasPrivateMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionHasNativeMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionHasComputedInstanceFieldConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionHasMatchingPrivateKeyConst(context: KNativePointer, receiver: KNativePointer, name: KStringPtr): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionAddToExportedClasses(context: KNativePointer, receiver: KNativePointer, cls: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetModifiers(context: KNativePointer, receiver: KNativePointer, modifiers: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionEmplaceBody(context: KNativePointer, receiver: KNativePointer, body: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionClearBody(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetValueBody(context: KNativePointer, receiver: KNativePointer, body: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionBodyForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionEmplaceImplements(context: KNativePointer, receiver: KNativePointer, _implements: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionClearImplements(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetValueImplements(context: KNativePointer, receiver: KNativePointer, _implements: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionImplements(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionImplementsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetCtor(context: KNativePointer, receiver: KNativePointer, ctor: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetTypeParams(context: KNativePointer, receiver: KNativePointer, typeParams: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetOrigEnumDecl(context: KNativePointer, receiver: KNativePointer, origEnumDecl: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetAnonClass(context: KNativePointer, receiver: KNativePointer, anonClass: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetInternalName(context: KNativePointer, receiver: KNativePointer, internalName: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDefinitionSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateArrayExpression(context: KNativePointer, elements: BigUint64Array, elementsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateArrayExpression(context: KNativePointer, original: KNativePointer, elements: BigUint64Array, elementsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateArrayExpression1(context: KNativePointer, nodeType: KInt, elements: BigUint64Array, elementsSequenceLength: KUInt, trailingComma: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateArrayExpression1(context: KNativePointer, original: KNativePointer, nodeType: KInt, elements: BigUint64Array, elementsSequenceLength: KUInt, trailingComma: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionGetElementNodeAtIdxConst(context: KNativePointer, receiver: KNativePointer, idx: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionElementsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionElements(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionSetElements(context: KNativePointer, receiver: KNativePointer, elements: BigUint64Array, elementsSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionIsDeclarationConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionSetDeclaration(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionSetOptional(context: KNativePointer, receiver: KNativePointer, optional_arg: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionClearPreferredType(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionConvertibleToArrayPattern(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionValidateExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionTrySetPreferredTypeForNestedArrayExprConst(context: KNativePointer, receiver: KNativePointer, nestedArrayExpr: KNativePointer, idx: KUInt): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrayExpressionSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSInterfaceBody(context: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSInterfaceBody(context: KNativePointer, original: KNativePointer, body: BigUint64Array, bodySequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceBodyBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceBodyBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeQuery(context: KNativePointer, exprName: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeQuery(context: KNativePointer, original: KNativePointer, exprName: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeQueryExprNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSBigintKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSBigintKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateProperty(context: KNativePointer, key: KNativePointer, value: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateProperty(context: KNativePointer, original: KNativePointer, key: KNativePointer, value: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateProperty1(context: KNativePointer, kind: KInt, key: KNativePointer, value: KNativePointer, isMethod: KBoolean, isComputed: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateProperty1(context: KNativePointer, original: KNativePointer, kind: KInt, key: KNativePointer, value: KNativePointer, isMethod: KBoolean, isComputed: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyKey(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyKeyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyValueConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyValue(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyIsMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyIsShorthandConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyIsComputedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyIsAccessorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyIsAccessorKind(context: KNativePointer, receiver: KNativePointer, kind: KInt): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyConvertibleToPatternProperty(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _PropertyValidateExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateVariableDeclarator(context: KNativePointer, flag: KInt, ident: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateVariableDeclarator(context: KNativePointer, original: KNativePointer, flag: KInt, ident: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateVariableDeclarator1(context: KNativePointer, flag: KInt, ident: KNativePointer, init: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateVariableDeclarator1(context: KNativePointer, original: KNativePointer, flag: KInt, ident: KNativePointer, init: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclaratorInit(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclaratorInitConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclaratorSetInit(context: KNativePointer, receiver: KNativePointer, init: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclaratorId(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclaratorIdConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _VariableDeclaratorFlag(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateStringLiteral(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateStringLiteral(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateStringLiteral1(context: KNativePointer, str: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateStringLiteral1(context: KNativePointer, original: KNativePointer, str: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _StringLiteralStrConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeAssertion(context: KNativePointer, typeAnnotation: KNativePointer, expression: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeAssertion(context: KNativePointer, original: KNativePointer, typeAnnotation: KNativePointer, expression: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAssertionGetExpressionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAssertionTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeAssertionSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSExternalModuleReference(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSExternalModuleReference(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSExternalModuleReferenceExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSUndefinedKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSUndefinedKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSTuple(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSTuple(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSTuple1(context: KNativePointer, size: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSTuple1(context: KNativePointer, original: KNativePointer, size: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSTuple2(context: KNativePointer, typeList: BigUint64Array, typeListSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSTuple2(context: KNativePointer, original: KNativePointer, typeList: BigUint64Array, typeListSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTupleGetTupleSizeConst(context: KNativePointer, receiver: KNativePointer): KUInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTupleGetTupleTypeAnnotationsList(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTupleGetTupleTypeAnnotationsListConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTupleSetTypeAnnotationsList(context: KNativePointer, receiver: KNativePointer, typeNodeList: BigUint64Array, typeNodeListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSStringLiteralType(context: KNativePointer, value: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSStringLiteralType(context: KNativePointer, original: KNativePointer, value: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTryStatement(context: KNativePointer, block: KNativePointer, catchClauses: BigUint64Array, catchClausesSequenceLength: KUInt, finalizer: KNativePointer, finalizerInsertionsLabelPair: BigUint64Array, finalizerInsertionsLabelPairSequenceLength: KUInt, finalizerInsertionsStatement: BigUint64Array, finalizerInsertionsStatementSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTryStatement(context: KNativePointer, original: KNativePointer, block: KNativePointer, catchClauses: BigUint64Array, catchClausesSequenceLength: KUInt, finalizer: KNativePointer, finalizerInsertionsLabelPair: BigUint64Array, finalizerInsertionsLabelPairSequenceLength: KUInt, finalizerInsertionsStatement: BigUint64Array, finalizerInsertionsStatementSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTryStatement1(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTryStatement1(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementFinallyBlockConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementBlockConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementHasFinalizerConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementHasDefaultCatchClauseConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementCatchClausesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementFinallyCanCompleteNormallyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TryStatementSetFinallyCanCompleteNormally(context: KNativePointer, receiver: KNativePointer, finallyCanCompleteNormally: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsProgramConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsStatementConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsExpressionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsTypedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsTyped(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsTypedConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsBrokenStatementConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsExpressionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsStatement(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsStatementConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetRange(context: KNativePointer, receiver: KNativePointer, loc: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetProgram(context: KNativePointer, receiver: KNativePointer, program: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetStart(context: KNativePointer, receiver: KNativePointer, start: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetEnd(context: KNativePointer, receiver: KNativePointer, end: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeProgramConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeStartConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeEndConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeRangeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeTypeConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeParent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeParentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetParent(context: KNativePointer, receiver: KNativePointer, parent: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeDecoratorsPtrConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAddDecorators(context: KNativePointer, receiver: KNativePointer, decorators: BigUint64Array, decoratorsSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeCanHaveDecoratorConst(context: KNativePointer, receiver: KNativePointer, inTs: KBoolean): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsReadonlyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsReadonlyTypeConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsOptionalDeclarationConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsDefiniteConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsConstructorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsOverrideConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetOverride(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsAsyncConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsSynchronizedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsNativeConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsConstConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsStaticConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsFinalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsAbstractConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsPublicConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsProtectedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsPrivateConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsInternalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsExportedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsDefaultExportedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsExportedTypeConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsDeclareConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsInConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsOutConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsSetterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAddModifier(context: KNativePointer, receiver: KNativePointer, flags: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeClearModifier(context: KNativePointer, receiver: KNativePointer, flags: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeModifiers(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeModifiersConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeHasExportAliasConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsClassElement(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAsClassElementConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsScopeBearerConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeClearScope(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeGetTopStatement(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeGetTopStatementConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeClone(context: KNativePointer, receiver: KNativePointer, parent: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeDumpJSONConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeDumpEtsSrcConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeDumpDeclConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeDumpConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeDumpConst1(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeCompileConst(context: KNativePointer, receiver: KNativePointer, pg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeCompileConst1(context: KNativePointer, receiver: KNativePointer, etsg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetTransformedNode(context: KNativePointer, receiver: KNativePointer, transformationName: KStringPtr, transformedNode: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeAccept(context: KNativePointer, receiver: KNativePointer, v: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeSetOriginalNode(context: KNativePointer, receiver: KNativePointer, originalNode: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeOriginalNodeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeCleanUp(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeShallowClone(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeIsValidInCurrentPhaseConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeGetHistoryNodeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeGetOrCreateHistoryNodeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstNodeCleanCheckInformation(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateUnaryExpression(context: KNativePointer, argument: KNativePointer, unaryOperator: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateUnaryExpression(context: KNativePointer, original: KNativePointer, argument: KNativePointer, unaryOperator: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UnaryExpressionOperatorTypeConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _UnaryExpressionArgument(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UnaryExpressionArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UnaryExpressionSetArgument(context: KNativePointer, receiver: KNativePointer, arg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateForInStatement(context: KNativePointer, left: KNativePointer, right: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateForInStatement(context: KNativePointer, original: KNativePointer, left: KNativePointer, right: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForInStatementLeft(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForInStatementLeftConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForInStatementRight(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForInStatementRightConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForInStatementBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForInStatementBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateThisExpression(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateThisExpression(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSMethodSignature(context: KNativePointer, key: KNativePointer, signature: KNativePointer, computed: KBoolean, optional_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSMethodSignature(context: KNativePointer, original: KNativePointer, key: KNativePointer, signature: KNativePointer, computed: KBoolean, optional_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureKeyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureKey(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureReturnTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureReturnTypeAnnotation(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureComputedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMethodSignatureOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBinaryExpression(context: KNativePointer, left: KNativePointer, right: KNativePointer, operatorType: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBinaryExpression(context: KNativePointer, original: KNativePointer, left: KNativePointer, right: KNativePointer, operatorType: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionLeftConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionLeft(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionRightConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionRight(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionResultConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionResult(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionOperatorTypeConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionIsLogicalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionIsLogicalExtendedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionIsBitwiseConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionIsArithmeticConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionSetLeft(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionSetRight(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionSetResult(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionSetOperator(context: KNativePointer, receiver: KNativePointer, operatorType: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BinaryExpressionCompileOperandsConst(context: KNativePointer, receiver: KNativePointer, etsg: KNativePointer, lhs: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSuperExpression(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateSuperExpression(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAssertStatement(context: KNativePointer, test: KNativePointer, second: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAssertStatement(context: KNativePointer, original: KNativePointer, test: KNativePointer, second: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssertStatementTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssertStatementTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssertStatementSecondConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSStringKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSStringKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAssignmentExpression(context: KNativePointer, left: KNativePointer, right: KNativePointer, assignmentOperator: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAssignmentExpression(context: KNativePointer, original: KNativePointer, left: KNativePointer, right: KNativePointer, assignmentOperator: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAssignmentExpression1(context: KNativePointer, type: KInt, left: KNativePointer, right: KNativePointer, assignmentOperator: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAssignmentExpression1(context: KNativePointer, original: KNativePointer, type: KInt, left: KNativePointer, right: KNativePointer, assignmentOperator: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionLeftConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionLeft(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionRight(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionRightConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionSetRight(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionSetLeft(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionResultConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionResult(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionOperatorTypeConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionSetOperatorType(context: KNativePointer, receiver: KNativePointer, tokenType: KInt): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionSetResult(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionIsLogicalExtendedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionSetIgnoreConstAssign(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionIsIgnoreConstAssignConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionConvertibleToAssignmentPatternLeft(context: KNativePointer, receiver: KNativePointer, mustBePattern: KBoolean): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionConvertibleToAssignmentPatternRight(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionConvertibleToAssignmentPattern(context: KNativePointer, receiver: KNativePointer, mustBePattern: KBoolean): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AssignmentExpressionCompilePatternConst(context: KNativePointer, receiver: KNativePointer, pg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExpressionStatement(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExpressionStatement(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionStatementGetExpressionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionStatementGetExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionStatementSetExpression(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSModule(context: KNativePointer, statementList: BigUint64Array, statementListSequenceLength: KUInt, ident: KNativePointer, flag: KInt, program: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSModule(context: KNativePointer, original: KNativePointer, statementList: BigUint64Array, statementListSequenceLength: KUInt, ident: KNativePointer, flag: KInt, program: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleIdentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleProgram(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleGlobalClassConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleGlobalClass(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleSetGlobalClass(context: KNativePointer, receiver: KNativePointer, globalClass: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleIsETSScriptConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleIsNamespaceConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleIsNamespaceChainLastNodeConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleSetNamespaceChainLastNode(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleProgramConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSModuleSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateMetaProperty(context: KNativePointer, kind: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateMetaProperty(context: KNativePointer, original: KNativePointer, kind: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MetaPropertyKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSArrayType(context: KNativePointer, elementType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSArrayType(context: KNativePointer, original: KNativePointer, elementType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSArrayTypeElementTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSSignatureDeclaration(context: KNativePointer, kind: KInt, signature: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSSignatureDeclaration(context: KNativePointer, original: KNativePointer, kind: KInt, signature: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSSignatureDeclarationTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSSignatureDeclarationTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSSignatureDeclarationParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSSignatureDeclarationReturnTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSSignatureDeclarationReturnTypeAnnotation(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSSignatureDeclarationKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExportAllDeclaration(context: KNativePointer, source: KNativePointer, exported: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExportAllDeclaration(context: KNativePointer, original: KNativePointer, source: KNativePointer, exported: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportAllDeclarationSourceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportAllDeclarationExportedConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExportSpecifier(context: KNativePointer, local: KNativePointer, exported: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExportSpecifier(context: KNativePointer, original: KNativePointer, local: KNativePointer, exported: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportSpecifierLocalConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportSpecifierExportedConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportSpecifierSetDefault(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportSpecifierIsDefaultConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportSpecifierSetConstantExpression(context: KNativePointer, receiver: KNativePointer, constantExpression: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportSpecifierGetConstantExpressionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTupleType(context: KNativePointer, elementTypes: BigUint64Array, elementTypesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTupleType(context: KNativePointer, original: KNativePointer, elementTypes: BigUint64Array, elementTypesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTupleTypeElementTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateFunctionExpression(context: KNativePointer, func: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateFunctionExpression(context: KNativePointer, original: KNativePointer, func: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateFunctionExpression1(context: KNativePointer, namedExpr: KNativePointer, func: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateFunctionExpression1(context: KNativePointer, original: KNativePointer, namedExpr: KNativePointer, func: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionExpressionFunctionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionExpressionFunction(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionExpressionIsAnonymousConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionExpressionId(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSIndexSignature(context: KNativePointer, param: KNativePointer, typeAnnotation: KNativePointer, readonly_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSIndexSignature(context: KNativePointer, original: KNativePointer, param: KNativePointer, typeAnnotation: KNativePointer, readonly_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIndexSignatureParamConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIndexSignatureTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIndexSignatureReadonlyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIndexSignatureKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSModuleDeclaration(context: KNativePointer, name: KNativePointer, body: KNativePointer, declare: KBoolean, _global: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSModuleDeclaration(context: KNativePointer, original: KNativePointer, name: KNativePointer, body: KNativePointer, declare: KBoolean, _global: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSModuleDeclarationNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSModuleDeclarationBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSModuleDeclarationGlobalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSModuleDeclarationIsExternalOrAmbientConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateImportDeclaration(context: KNativePointer, source: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt, importKinds: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateImportDeclaration(context: KNativePointer, original: KNativePointer, source: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt, importKinds: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationEmplaceSpecifiers(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationClearSpecifiers(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationSetValueSpecifiers(context: KNativePointer, receiver: KNativePointer, source: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationSpecifiersForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationSourceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationSource(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationSpecifiersConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportDeclarationIsTypeKindConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSParenthesizedType(context: KNativePointer, type: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSParenthesizedType(context: KNativePointer, original: KNativePointer, type: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSParenthesizedTypeTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _LiteralIsFoldedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _LiteralSetFolded(context: KNativePointer, receiver: KNativePointer, folded: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateCharLiteral(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateCharLiteral(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSIntrinsicNode(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSIntrinsicNode(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSIntrinsicNode1(context: KNativePointer, id: KStringPtr, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSIntrinsicNode1(context: KNativePointer, original: KNativePointer, id: KStringPtr, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSIntrinsicNodeIdConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSIntrinsicNodeArgumentsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSIntrinsicNodeArguments(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSPackageDeclaration(context: KNativePointer, name: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSPackageDeclaration(context: KNativePointer, original: KNativePointer, name: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSImportDeclaration(context: KNativePointer, importPath: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt, importKinds: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSImportDeclaration(context: KNativePointer, original: KNativePointer, importPath: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt, importKinds: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationSetImportMetadata(context: KNativePointer, receiver: KNativePointer, importFlags: KInt, lang: KInt, resolvedSource: KStringPtr, declPath: KStringPtr, ohmUrl: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationDeclPathConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationOhmUrlConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationIsValidConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationIsPureDynamicConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationSetAssemblerName(context: KNativePointer, receiver: KNativePointer, assemblerName: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationAssemblerNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSImportDeclarationResolvedSourceConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSStructDeclaration(context: KNativePointer, def: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSStructDeclaration(context: KNativePointer, original: KNativePointer, def: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSModuleBlock(context: KNativePointer, statements: BigUint64Array, statementsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSModuleBlock(context: KNativePointer, original: KNativePointer, statements: BigUint64Array, statementsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSModuleBlockStatementsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSNewArrayInstanceExpression(context: KNativePointer, typeReference: KNativePointer, dimension: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSNewArrayInstanceExpression(context: KNativePointer, original: KNativePointer, typeReference: KNativePointer, dimension: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewArrayInstanceExpressionTypeReference(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewArrayInstanceExpressionTypeReferenceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewArrayInstanceExpressionDimension(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewArrayInstanceExpressionDimensionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewArrayInstanceExpressionSetDimension(context: KNativePointer, receiver: KNativePointer, dimension: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewArrayInstanceExpressionClearPreferredType(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAnnotationDeclaration(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAnnotationDeclaration(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAnnotationDeclaration1(context: KNativePointer, expr: KNativePointer, properties: BigUint64Array, propertiesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAnnotationDeclaration1(context: KNativePointer, original: KNativePointer, expr: KNativePointer, properties: BigUint64Array, propertiesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationInternalNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetInternalName(context: KNativePointer, receiver: KNativePointer, internalName: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationExpr(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationProperties(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationPropertiesForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationPropertiesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationAddProperties(context: KNativePointer, receiver: KNativePointer, properties: BigUint64Array, propertiesSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationIsSourceRetentionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationIsBytecodeRetentionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationIsRuntimeRetentionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetSourceRetention(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetBytecodeRetention(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetRuntimeRetention(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationGetBaseNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationEmplaceProperties(context: KNativePointer, receiver: KNativePointer, properties: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationClearProperties(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetValueProperties(context: KNativePointer, receiver: KNativePointer, properties: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationDeclarationSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAnnotationUsage(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAnnotationUsage(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAnnotationUsage1(context: KNativePointer, expr: KNativePointer, properties: BigUint64Array, propertiesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAnnotationUsage1(context: KNativePointer, original: KNativePointer, expr: KNativePointer, properties: BigUint64Array, propertiesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationUsageExpr(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationUsageProperties(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationUsagePropertiesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationUsageAddProperty(context: KNativePointer, receiver: KNativePointer, property: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationUsageSetProperties(context: KNativePointer, receiver: KNativePointer, properties: BigUint64Array, propertiesSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotationUsageGetBaseNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateEmptyStatement(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateEmptyStatement(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateEmptyStatement1(context: KNativePointer, isBrokenStatement: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateEmptyStatement1(context: KNativePointer, original: KNativePointer, isBrokenStatement: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _EmptyStatementIsBrokenStatement(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateWhileStatement(context: KNativePointer, test: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateWhileStatement(context: KNativePointer, original: KNativePointer, test: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _WhileStatementTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _WhileStatementTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _WhileStatementSetTest(context: KNativePointer, receiver: KNativePointer, test: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _WhileStatementBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _WhileStatementBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateFunctionSignature(context: KNativePointer, typeParams: KNativePointer, params: BigUint64Array, paramsSequenceLength: KUInt, returnTypeAnnotation: KNativePointer, hasReceiver: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureReturnType(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureSetReturnType(context: KNativePointer, receiver: KNativePointer, type: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureReturnTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureClone(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _FunctionSignatureHasReceiverConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateChainExpression(context: KNativePointer, expression: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateChainExpression(context: KNativePointer, original: KNativePointer, expression: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ChainExpressionGetExpressionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ChainExpressionGetExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ChainExpressionCompileToRegConst(context: KNativePointer, receiver: KNativePointer, pg: KNativePointer, objReg: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSIntersectionType(context: KNativePointer, types: BigUint64Array, typesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSIntersectionType(context: KNativePointer, original: KNativePointer, types: BigUint64Array, typesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIntersectionTypeTypesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateUpdateExpression(context: KNativePointer, argument: KNativePointer, updateOperator: KInt, isPrefix: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateUpdateExpression(context: KNativePointer, original: KNativePointer, argument: KNativePointer, updateOperator: KInt, isPrefix: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExpressionOperatorTypeConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExpressionArgument(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExpressionArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExpressionIsPrefixConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBlockExpression(context: KNativePointer, statements: BigUint64Array, statementsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBlockExpression(context: KNativePointer, original: KNativePointer, statements: BigUint64Array, statementsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockExpressionStatementsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockExpressionStatements(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockExpressionAddStatements(context: KNativePointer, receiver: KNativePointer, statements: BigUint64Array, statementsSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockExpressionAddStatement(context: KNativePointer, receiver: KNativePointer, statement: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeLiteral(context: KNativePointer, members: BigUint64Array, membersSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeLiteral(context: KNativePointer, original: KNativePointer, members: BigUint64Array, membersSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeLiteralMembersConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeParameter(context: KNativePointer, name: KNativePointer, constraint: KNativePointer, defaultType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeParameter(context: KNativePointer, original: KNativePointer, name: KNativePointer, constraint: KNativePointer, defaultType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeParameter1(context: KNativePointer, name: KNativePointer, constraint: KNativePointer, defaultType: KNativePointer, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeParameter1(context: KNativePointer, original: KNativePointer, name: KNativePointer, constraint: KNativePointer, defaultType: KNativePointer, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterName(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterConstraint(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterConstraintConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterSetConstraint(context: KNativePointer, receiver: KNativePointer, constraint: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterDefaultTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterSetDefaultType(context: KNativePointer, receiver: KNativePointer, defaultType: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSBooleanKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSBooleanKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSpreadElement(context: KNativePointer, nodeType: KInt, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateSpreadElement(context: KNativePointer, original: KNativePointer, nodeType: KInt, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementArgument(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementSetOptional(context: KNativePointer, receiver: KNativePointer, optional_arg: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementValidateExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementConvertibleToRest(context: KNativePointer, receiver: KNativePointer, isDeclaration: KBoolean, allowPattern: KBoolean): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SpreadElementSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypePredicate(context: KNativePointer, parameterName: KNativePointer, typeAnnotation: KNativePointer, asserts: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypePredicate(context: KNativePointer, original: KNativePointer, parameterName: KNativePointer, typeAnnotation: KNativePointer, asserts: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypePredicateParameterNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypePredicateTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypePredicateAssertsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateImportNamespaceSpecifier(context: KNativePointer, local: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateImportNamespaceSpecifier(context: KNativePointer, original: KNativePointer, local: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportNamespaceSpecifierLocal(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportNamespaceSpecifierLocalConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExportNamedDeclaration(context: KNativePointer, source: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExportNamedDeclaration(context: KNativePointer, original: KNativePointer, source: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExportNamedDeclaration1(context: KNativePointer, decl: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExportNamedDeclaration1(context: KNativePointer, original: KNativePointer, decl: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateExportNamedDeclaration2(context: KNativePointer, decl: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateExportNamedDeclaration2(context: KNativePointer, original: KNativePointer, decl: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportNamedDeclarationDeclConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportNamedDeclarationSourceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportNamedDeclarationSpecifiersConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExportNamedDeclarationReplaceSpecifiers(context: KNativePointer, receiver: KNativePointer, specifiers: BigUint64Array, specifiersSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSParameterExpression(context: KNativePointer, identOrSpread: KNativePointer, isOptional: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSParameterExpression(context: KNativePointer, original: KNativePointer, identOrSpread: KNativePointer, isOptional: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSParameterExpression1(context: KNativePointer, identOrSpread: KNativePointer, initializer: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSParameterExpression1(context: KNativePointer, original: KNativePointer, identOrSpread: KNativePointer, initializer: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionIdentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetIdent(context: KNativePointer, receiver: KNativePointer, ident: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSpread(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSpreadConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetSpread(context: KNativePointer, receiver: KNativePointer, spread: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionRestParameterConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionRestParameter(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionInitializerConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionInitializer(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetLexerSaved(context: KNativePointer, receiver: KNativePointer, savedLexer: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionLexerSavedConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionTypeAnnotation(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeNode: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetOptional(context: KNativePointer, receiver: KNativePointer, value: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetInitializer(context: KNativePointer, receiver: KNativePointer, initExpr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionIsRestParameterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionGetRequiredParamsConst(context: KNativePointer, receiver: KNativePointer): KUInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetRequiredParams(context: KNativePointer, receiver: KNativePointer, extraValue: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSParameterExpressionSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeParameterInstantiation(context: KNativePointer, params: BigUint64Array, paramsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeParameterInstantiation(context: KNativePointer, original: KNativePointer, params: BigUint64Array, paramsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterInstantiationParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNullLiteral(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNullLiteral(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSInferType(context: KNativePointer, typeParam: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSInferType(context: KNativePointer, original: KNativePointer, typeParam: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInferTypeTypeParamConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSwitchCaseStatement(context: KNativePointer, test: KNativePointer, consequent: BigUint64Array, consequentSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateSwitchCaseStatement(context: KNativePointer, original: KNativePointer, test: KNativePointer, consequent: BigUint64Array, consequentSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchCaseStatementTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchCaseStatementTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchCaseStatementSetTest(context: KNativePointer, receiver: KNativePointer, test: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchCaseStatementConsequentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateYieldExpression(context: KNativePointer, argument: KNativePointer, isDelegate: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateYieldExpression(context: KNativePointer, original: KNativePointer, argument: KNativePointer, isDelegate: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _YieldExpressionHasDelegateConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _YieldExpressionArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSImportEqualsDeclaration(context: KNativePointer, id: KNativePointer, moduleReference: KNativePointer, isExport: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSImportEqualsDeclaration(context: KNativePointer, original: KNativePointer, id: KNativePointer, moduleReference: KNativePointer, isExport: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportEqualsDeclarationIdConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportEqualsDeclarationModuleReferenceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSImportEqualsDeclarationIsExportConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBooleanLiteral(context: KNativePointer, value: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBooleanLiteral(context: KNativePointer, original: KNativePointer, value: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BooleanLiteralValueConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSNumberKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSNumberKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassStaticBlock(context: KNativePointer, value: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassStaticBlock(context: KNativePointer, original: KNativePointer, value: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassStaticBlockFunction(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassStaticBlockFunctionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassStaticBlockNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSNonNullExpression(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSNonNullExpression(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNonNullExpressionExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNonNullExpressionExpr(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNonNullExpressionSetExpr(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreatePrefixAssertionExpression(context: KNativePointer, expr: KNativePointer, type: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdatePrefixAssertionExpression(context: KNativePointer, original: KNativePointer, expr: KNativePointer, type: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PrefixAssertionExpressionExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _PrefixAssertionExpressionTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassExpression(context: KNativePointer, def: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassExpression(context: KNativePointer, original: KNativePointer, def: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassExpressionDefinitionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateForOfStatement(context: KNativePointer, left: KNativePointer, right: KNativePointer, body: KNativePointer, isAwait: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateForOfStatement(context: KNativePointer, original: KNativePointer, left: KNativePointer, right: KNativePointer, body: KNativePointer, isAwait: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementLeft(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementLeftConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementRight(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementRightConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForOfStatementIsAwaitConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTemplateLiteral(context: KNativePointer, quasis: BigUint64Array, quasisSequenceLength: KUInt, expressions: BigUint64Array, expressionsSequenceLength: KUInt, multilineString: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTemplateLiteral(context: KNativePointer, original: KNativePointer, quasis: BigUint64Array, quasisSequenceLength: KUInt, expressions: BigUint64Array, expressionsSequenceLength: KUInt, multilineString: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TemplateLiteralQuasisConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TemplateLiteralExpressionsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TemplateLiteralGetMultilineStringConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSUnionType(context: KNativePointer, types: BigUint64Array, typesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSUnionType(context: KNativePointer, original: KNativePointer, types: BigUint64Array, typesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSUnionTypeTypesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSUnknownKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSUnknownKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateIdentifier(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateIdentifier(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateIdentifier1(context: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateIdentifier1(context: KNativePointer, original: KNativePointer, name: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateIdentifier2(context: KNativePointer, name: KStringPtr, typeAnnotation: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateIdentifier2(context: KNativePointer, original: KNativePointer, name: KStringPtr, typeAnnotation: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierName(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetName(context: KNativePointer, receiver: KNativePointer, newName: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsErrorPlaceHolderConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetOptional(context: KNativePointer, receiver: KNativePointer, optional_arg: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsReferenceConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsTdzConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetTdz(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetAccessor(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsAccessorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetMutator(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsMutatorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsReceiverConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsPrivateIdentConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetPrivate(context: KNativePointer, receiver: KNativePointer, isPrivate: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsIgnoreBoxConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetIgnoreBox(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsAnnotationDeclConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetAnnotationDecl(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierIsAnnotationUsageConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetAnnotationUsage(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierCloneReference(context: KNativePointer, receiver: KNativePointer, parent: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierValidateExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _IdentifierSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateOpaqueTypeNode1(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateOpaqueTypeNode1(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBlockStatement(context: KNativePointer, statementList: BigUint64Array, statementListSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBlockStatement(context: KNativePointer, original: KNativePointer, statementList: BigUint64Array, statementListSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementStatementsForUpdates(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementStatements(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementStatementsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementSetStatements(context: KNativePointer, receiver: KNativePointer, statementList: BigUint64Array, statementListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementAddStatements(context: KNativePointer, receiver: KNativePointer, statementList: BigUint64Array, statementListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementClearStatements(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementAddStatement(context: KNativePointer, receiver: KNativePointer, statement: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementAddStatement1(context: KNativePointer, receiver: KNativePointer, idx: KUInt, statement: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementAddTrailingBlock(context: KNativePointer, receiver: KNativePointer, stmt: KNativePointer, trailingBlock: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _BlockStatementSearchStatementInTrailingBlock(context: KNativePointer, receiver: KNativePointer, item: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateDirectEvalExpression(context: KNativePointer, callee: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt, typeParams: KNativePointer, optional_arg: KBoolean, parserStatus: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateDirectEvalExpression(context: KNativePointer, original: KNativePointer, callee: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt, typeParams: KNativePointer, optional_arg: KBoolean, parserStatus: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSTypeParameterDeclaration(context: KNativePointer, params: BigUint64Array, paramsSequenceLength: KUInt, requiredParams: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSTypeParameterDeclaration(context: KNativePointer, original: KNativePointer, params: BigUint64Array, paramsSequenceLength: KUInt, requiredParams: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterDeclarationParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterDeclarationAddParam(context: KNativePointer, receiver: KNativePointer, param: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterDeclarationSetValueParams(context: KNativePointer, receiver: KNativePointer, source: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSTypeParameterDeclarationRequiredParamsConst(context: KNativePointer, receiver: KNativePointer): KUInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateMethodDefinition(context: KNativePointer, kind: KInt, key: KNativePointer, value: KNativePointer, modifiers: KInt, isComputed: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateMethodDefinition(context: KNativePointer, original: KNativePointer, kind: KInt, key: KNativePointer, value: KNativePointer, modifiers: KInt, isComputed: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionIsConstructorConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionIsMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionIsExtensionMethodConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionIsGetterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionIsSetterConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionIsDefaultAccessModifierConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionSetDefaultAccessModifier(context: KNativePointer, receiver: KNativePointer, isDefault: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionOverloadsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionBaseOverloadMethodConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionBaseOverloadMethod(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionAsyncPairMethodConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionAsyncPairMethod(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionSetOverloads(context: KNativePointer, receiver: KNativePointer, overloads: BigUint64Array, overloadsSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionAddOverload(context: KNativePointer, receiver: KNativePointer, overload: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionSetBaseOverloadMethod(context: KNativePointer, receiver: KNativePointer, baseOverloadMethod: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionSetAsyncPairMethod(context: KNativePointer, receiver: KNativePointer, asyncPairMethod: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionHasOverload(context: KNativePointer, receiver: KNativePointer, overload: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionFunction(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionFunctionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionInitializeOverloadInfo(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionEmplaceOverloads(context: KNativePointer, receiver: KNativePointer, overloads: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionClearOverloads(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MethodDefinitionSetValueOverloads(context: KNativePointer, receiver: KNativePointer, overloads: KNativePointer, index: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateOverloadDeclaration(context: KNativePointer, key: KNativePointer, modifiers: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateOverloadDeclaration(context: KNativePointer, original: KNativePointer, key: KNativePointer, modifiers: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationFlagConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationOverloadedList(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationSetOverloadedList(context: KNativePointer, receiver: KNativePointer, overloadedList: BigUint64Array, overloadedListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationPushFront(context: KNativePointer, receiver: KNativePointer, overloadedExpression: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationAddOverloadDeclFlag(context: KNativePointer, receiver: KNativePointer, overloadFlag: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationHasOverloadDeclFlagConst(context: KNativePointer, receiver: KNativePointer, overloadFlag: KInt): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationIsConstructorOverloadDeclaration(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationIsFunctionOverloadDeclaration(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationIsClassMethodOverloadDeclaration(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationIsInterfaceMethodOverloadDeclaration(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _OverloadDeclarationDumpModifierConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSNullKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSNullKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSInterfaceHeritage(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSInterfaceHeritage(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceHeritageExpr(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSInterfaceHeritageExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionIsGroupedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionSetGrouped(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionAsLiteralConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionAsLiteral(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionIsLiteralConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionIsTypeNodeConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionIsAnnotatedExpressionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionAsTypeNode(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionAsTypeNodeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionAsAnnotatedExpression(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionAsAnnotatedExpressionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionIsBrokenExpressionConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ExpressionToStringConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotatedExpressionTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AnnotatedExpressionSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _MaybeOptionalExpressionIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _MaybeOptionalExpressionClearOptional(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSrcDumper(context: KNativePointer, node: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSrcDumper1(context: KNativePointer, node: KNativePointer, isDeclgen: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd(context: KNativePointer, receiver: KNativePointer, str: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd1(context: KNativePointer, receiver: KNativePointer, i: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd2(context: KNativePointer, receiver: KNativePointer, i: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd3(context: KNativePointer, receiver: KNativePointer, i: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd4(context: KNativePointer, receiver: KNativePointer, l: KLong): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd5(context: KNativePointer, receiver: KNativePointer, f: KFloat): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperAdd6(context: KNativePointer, receiver: KNativePointer, d: KDouble): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperStrConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperIncrIndent(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperDecrIndent(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperEndl(context: KNativePointer, receiver: KNativePointer, num: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperIsDeclgenConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperDumpNode(context: KNativePointer, receiver: KNativePointer, key: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperRemoveNode(context: KNativePointer, receiver: KNativePointer, key: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperIsIndirectDepPhaseConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _SrcDumperRun(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSClassLiteral(context: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSClassLiteral(context: KNativePointer, original: KNativePointer, expr: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSClassLiteralExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBreakStatement(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBreakStatement(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateBreakStatement1(context: KNativePointer, ident: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateBreakStatement1(context: KNativePointer, original: KNativePointer, ident: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BreakStatementIdentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BreakStatementIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BreakStatementTargetConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _BreakStatementHasTargetConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _BreakStatementSetTarget(context: KNativePointer, receiver: KNativePointer, target: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateRegExpLiteral(context: KNativePointer, pattern: KStringPtr, flags: KInt, flagsStr: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateRegExpLiteral(context: KNativePointer, original: KNativePointer, pattern: KStringPtr, flags: KInt, flagsStr: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _RegExpLiteralPatternConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _RegExpLiteralFlagsConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSMappedType(context: KNativePointer, typeParameter: KNativePointer, typeAnnotation: KNativePointer, readonly_arg: KInt, optional_arg: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSMappedType(context: KNativePointer, original: KNativePointer, typeParameter: KNativePointer, typeAnnotation: KNativePointer, readonly_arg: KInt, optional_arg: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMappedTypeTypeParameter(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMappedTypeTypeAnnotation(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMappedTypeReadonly(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSMappedTypeOptional(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSAnyKeyword(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSAnyKeyword(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateClassDeclaration(context: KNativePointer, def: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateClassDeclaration(context: KNativePointer, original: KNativePointer, def: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDeclarationDefinition(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDeclarationDefinitionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ClassDeclarationSetDefinition(context: KNativePointer, receiver: KNativePointer, def: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSIndexedAccessType(context: KNativePointer, objectType: KNativePointer, indexType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSIndexedAccessType(context: KNativePointer, original: KNativePointer, objectType: KNativePointer, indexType: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIndexedAccessTypeObjectTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSIndexedAccessTypeIndexTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSQualifiedName(context: KNativePointer, left: KNativePointer, right: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSQualifiedName(context: KNativePointer, original: KNativePointer, left: KNativePointer, right: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameLeftConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameLeft(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameRightConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameRight(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameResolveLeftMostQualifiedName(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSQualifiedNameResolveLeftMostQualifiedNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAwaitExpression(context: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateAwaitExpression(context: KNativePointer, original: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AwaitExpressionArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateValidationInfo(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateValidationInfo1(context: KNativePointer, m: KStringPtr, p: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ValidationInfoFailConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateContinueStatement(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateContinueStatement(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateContinueStatement1(context: KNativePointer, ident: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateContinueStatement1(context: KNativePointer, original: KNativePointer, ident: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContinueStatementIdentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContinueStatementIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContinueStatementTargetConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContinueStatementHasTargetConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ContinueStatementSetTarget(context: KNativePointer, receiver: KNativePointer, target: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSNewMultiDimArrayInstanceExpression(context: KNativePointer, typeReference: KNativePointer, dimensions: BigUint64Array, dimensionsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSNewMultiDimArrayInstanceExpression(context: KNativePointer, original: KNativePointer, typeReference: KNativePointer, dimensions: BigUint64Array, dimensionsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSNewMultiDimArrayInstanceExpression1(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSNewMultiDimArrayInstanceExpression1(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewMultiDimArrayInstanceExpressionTypeReference(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewMultiDimArrayInstanceExpressionTypeReferenceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewMultiDimArrayInstanceExpressionDimensions(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewMultiDimArrayInstanceExpressionDimensionsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewMultiDimArrayInstanceExpressionClearPreferredType(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSNamedTupleMember(context: KNativePointer, label: KNativePointer, elementType: KNativePointer, optional_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSNamedTupleMember(context: KNativePointer, original: KNativePointer, label: KNativePointer, elementType: KNativePointer, optional_arg: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNamedTupleMemberLabelConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNamedTupleMemberElementType(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNamedTupleMemberElementTypeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSNamedTupleMemberIsOptionalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateImportExpression(context: KNativePointer, source: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateImportExpression(context: KNativePointer, original: KNativePointer, source: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportExpressionSource(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ImportExpressionSourceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateAstDumper(context: KNativePointer, node: KNativePointer, sourceCode: KStringPtr): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstDumperModifierToString(context: KNativePointer, receiver: KNativePointer, flags: KInt): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstDumperTypeOperatorToString(context: KNativePointer, receiver: KNativePointer, operatorType: KInt): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _AstDumperStrConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSNullType(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSNullType(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSUndefinedType(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSUndefinedType(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTypeofExpression(context: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTypeofExpression(context: KNativePointer, original: KNativePointer, argument: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeofExpressionArgumentConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSEnumMember(context: KNativePointer, key: KNativePointer, init: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSEnumMember(context: KNativePointer, original: KNativePointer, key: KNativePointer, init: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSEnumMember1(context: KNativePointer, key: KNativePointer, init: KNativePointer, isGenerated: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSEnumMember1(context: KNativePointer, original: KNativePointer, key: KNativePointer, init: KNativePointer, isGenerated: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumMemberKeyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumMemberKey(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumMemberInitConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumMemberInit(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumMemberIsGeneratedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSEnumMemberNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSwitchStatement(context: KNativePointer, discriminant: KNativePointer, cases: BigUint64Array, casesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateSwitchStatement(context: KNativePointer, original: KNativePointer, discriminant: KNativePointer, cases: BigUint64Array, casesSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchStatementDiscriminantConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchStatementDiscriminant(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchStatementSetDiscriminant(context: KNativePointer, receiver: KNativePointer, discriminant: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchStatementCasesConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SwitchStatementCases(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateDoWhileStatement(context: KNativePointer, body: KNativePointer, test: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateDoWhileStatement(context: KNativePointer, original: KNativePointer, body: KNativePointer, test: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _DoWhileStatementBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _DoWhileStatementBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _DoWhileStatementTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _DoWhileStatementTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateCatchClause(context: KNativePointer, param: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateCatchClause(context: KNativePointer, original: KNativePointer, param: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateCatchClause1(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateCatchClause1(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CatchClauseParam(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CatchClauseParamConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CatchClauseBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CatchClauseBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CatchClauseIsDefaultCatchClauseConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateSequenceExpression(context: KNativePointer, sequence_arg: BigUint64Array, sequence_argSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateSequenceExpression(context: KNativePointer, original: KNativePointer, sequence_arg: BigUint64Array, sequence_argSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SequenceExpressionSequenceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _SequenceExpressionSequence(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateArrowFunctionExpression(context: KNativePointer, func: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateArrowFunctionExpression(context: KNativePointer, original: KNativePointer, func: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateArrowFunctionExpression1(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateArrowFunctionExpression1(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionFunctionConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionFunction(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionCreateTypeAnnotation(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArrowFunctionExpressionSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateOmittedExpression(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateOmittedExpression(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSNewClassInstanceExpression(context: KNativePointer, typeReference: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSNewClassInstanceExpression(context: KNativePointer, original: KNativePointer, typeReference: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSNewClassInstanceExpression1(context: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSNewClassInstanceExpression1(context: KNativePointer, original: KNativePointer, other: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewClassInstanceExpressionGetTypeRefConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewClassInstanceExpressionGetArguments(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewClassInstanceExpressionGetArgumentsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewClassInstanceExpressionSetArguments(context: KNativePointer, receiver: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSNewClassInstanceExpressionAddToArgumentsFront(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSAsExpression(context: KNativePointer, expression: KNativePointer, typeAnnotation: KNativePointer, isConst: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSAsExpression(context: KNativePointer, original: KNativePointer, expression: KNativePointer, typeAnnotation: KNativePointer, isConst: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionExprConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionExpr(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionSetExpr(context: KNativePointer, receiver: KNativePointer, expr: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionIsConstConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionSetUncheckedCast(context: KNativePointer, receiver: KNativePointer, isUncheckedCast: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionTypeAnnotationConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSAsExpressionSetTsTypeAnnotation(context: KNativePointer, receiver: KNativePointer, typeAnnotation: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateForUpdateStatement(context: KNativePointer, init: KNativePointer, test: KNativePointer, update: KNativePointer, body: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementInit(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementInitConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementTest(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementTestConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementUpdateConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementBody(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ForUpdateStatementBodyConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSTypeReferencePart(context: KNativePointer, name: KNativePointer, typeParams: KNativePointer, prev: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSTypeReferencePart(context: KNativePointer, original: KNativePointer, name: KNativePointer, typeParams: KNativePointer, prev: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSTypeReferencePart1(context: KNativePointer, name: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSTypeReferencePart1(context: KNativePointer, original: KNativePointer, name: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartPrevious(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartPreviousConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartName(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartTypeParams(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartTypeParamsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartNameConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSTypeReferencePartGetIdent(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSReExportDeclarationGetETSImportDeclarationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSReExportDeclarationGetETSImportDeclarations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSReExportDeclarationGetProgramPathConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSPrimitiveType(context: KNativePointer, type: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSPrimitiveType(context: KNativePointer, original: KNativePointer, type: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSPrimitiveTypeGetPrimitiveTypeConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeHasAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeEmplaceAnnotation(context: KNativePointer, receiver: KNativePointer, source: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeClearAnnotations(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeDumpAnnotationsConst(context: KNativePointer, receiver: KNativePointer, dumper: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeAnnotationsForUpdate(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeAnnotations(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeAnnotationsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeSetAnnotations(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _TypeNodeSetAnnotations1(context: KNativePointer, receiver: KNativePointer, annotationList: BigUint64Array, annotationListSequenceLength: KUInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateNewExpression(context: KNativePointer, callee: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateNewExpression(context: KNativePointer, original: KNativePointer, callee: KNativePointer, _arguments: BigUint64Array, _argumentsSequenceLength: KUInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _NewExpressionCalleeConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _NewExpressionArgumentsConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSParameterProperty(context: KNativePointer, accessibility: KInt, parameter: KNativePointer, readonly_arg: KBoolean, isStatic: KBoolean, isExport: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSParameterProperty(context: KNativePointer, original: KNativePointer, accessibility: KInt, parameter: KNativePointer, readonly_arg: KBoolean, isStatic: KBoolean, isExport: KBoolean): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSParameterPropertyAccessibilityConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSParameterPropertyReadonlyConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSParameterPropertyIsStaticConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSParameterPropertyIsExportConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _TSParameterPropertyParameterConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateETSWildcardType(context: KNativePointer, typeReference: KNativePointer, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateETSWildcardType(context: KNativePointer, original: KNativePointer, typeReference: KNativePointer, flags: KInt): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSWildcardTypeTypeReference(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ETSWildcardTypeTypeReferenceConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateTSThisType(context: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _UpdateTSThisType(context: KNativePointer, original: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetKind(context: KNativePointer, receiver: KNativePointer, kind: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramPushVarBinder(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramPushChecker(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramKindConst(context: KNativePointer, receiver: KNativePointer): KInt { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSourceCodeConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSourceFilePathConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSourceFileFolderConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramFileNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramFileNameWithExtensionConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramAbsoluteNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramResolvedFilePathConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramRelativeFilePathConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetRelativeFilePath(context: KNativePointer, receiver: KNativePointer, relPath: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramAst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramAstConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetAst(context: KNativePointer, receiver: KNativePointer, ast: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramGlobalClass(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramGlobalClassConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetGlobalClass(context: KNativePointer, receiver: KNativePointer, globalClass: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramPackageStartConst(context: KNativePointer, receiver: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetPackageStart(context: KNativePointer, receiver: KNativePointer, start: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetSource(context: KNativePointer, receiver: KNativePointer, sourceCode: KStringPtr, sourceFilePath: KStringPtr, sourceFileFolder: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetPackageInfo(context: KNativePointer, receiver: KNativePointer, name: KStringPtr, kind: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramModuleNameConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramModulePrefixConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsSeparateModuleConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsDeclarationModuleConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsPackageConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsDeclForDynamicStaticInteropConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetFlag(context: KNativePointer, receiver: KNativePointer, flag: KInt): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramGetFlagConst(context: KNativePointer, receiver: KNativePointer, flag: KInt): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetASTChecked(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramRemoveAstChecked(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsASTChecked(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramMarkASTAsLowered(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsASTLoweredConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsStdLibConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsGenAbcForExternalConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramSetGenAbcForExternalSources(context: KNativePointer, receiver: KNativePointer, genAbc: KBoolean): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramDumpConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramDumpSilentConst(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramIsDiedConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } - _ProgramAddFileDependencies(context: KNativePointer, receiver: KNativePointer, file: KStringPtr, depFile: KStringPtr): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _CreateArkTsConfig(context: KNativePointer, configPath: KStringPtr, de: KNativePointer): KNativePointer { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigResolveAllDependenciesInArkTsConfig(context: KNativePointer, receiver: KNativePointer): void { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigConfigPathConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigPackageConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigBaseUrlConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigRootDirConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigOutDirConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigCacheDirConst(context: KNativePointer, receiver: KNativePointer): KStringPtr { - throw new Error("This methods was not overloaded by native module initialization") - } - _ArkTsConfigUseUrlConst(context: KNativePointer, receiver: KNativePointer): KBoolean { - throw new Error("This methods was not overloaded by native module initialization") - } -} diff --git a/ui2abc/libarkts/generated/factory.ts b/ui2abc/libarkts/generated/factory.ts deleted file mode 100644 index 5fb5fc4c1..000000000 --- a/ui2abc/libarkts/generated/factory.ts +++ /dev/null @@ -1,1285 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - isSameNativeObject, - unpackString, - updateNodeByNode -} from "../src/reexport-for-generated" - -import { AnnotationDeclaration } from "./peers/AnnotationDeclaration" -import { AnnotationUsage } from "./peers/AnnotationUsage" -import { ArrowFunctionExpression } from "./peers/ArrowFunctionExpression" -import { AssertStatement } from "./peers/AssertStatement" -import { AwaitExpression } from "./peers/AwaitExpression" -import { BigIntLiteral } from "./peers/BigIntLiteral" -import { BinaryExpression } from "./peers/BinaryExpression" -import { BlockExpression } from "./peers/BlockExpression" -import { BlockStatement } from "./peers/BlockStatement" -import { BooleanLiteral } from "./peers/BooleanLiteral" -import { BreakStatement } from "./peers/BreakStatement" -import { CatchClause } from "./peers/CatchClause" -import { ChainExpression } from "./peers/ChainExpression" -import { CharLiteral } from "./peers/CharLiteral" -import { ClassDeclaration } from "./peers/ClassDeclaration" -import { ClassDefinition } from "./peers/ClassDefinition" -import { ClassExpression } from "./peers/ClassExpression" -import { ConditionalExpression } from "./peers/ConditionalExpression" -import { ContinueStatement } from "./peers/ContinueStatement" -import { DebuggerStatement } from "./peers/DebuggerStatement" -import { Decorator } from "./peers/Decorator" -import { DoWhileStatement } from "./peers/DoWhileStatement" -import { ETSClassLiteral } from "./peers/ETSClassLiteral" -import { ETSIntrinsicNode } from "./peers/ETSIntrinsicNode" -import { ETSKeyofType } from "./peers/ETSKeyofType" -import { ETSNewArrayInstanceExpression } from "./peers/ETSNewArrayInstanceExpression" -import { ETSNewClassInstanceExpression } from "./peers/ETSNewClassInstanceExpression" -import { ETSNewMultiDimArrayInstanceExpression } from "./peers/ETSNewMultiDimArrayInstanceExpression" -import { ETSNullType } from "./peers/ETSNullType" -import { ETSPrimitiveType } from "./peers/ETSPrimitiveType" -import { ETSTypeReference } from "./peers/ETSTypeReference" -import { ETSTypeReferencePart } from "./peers/ETSTypeReferencePart" -import { ETSUndefinedType } from "./peers/ETSUndefinedType" -import { ETSUnionType } from "./peers/ETSUnionType" -import { EmptyStatement } from "./peers/EmptyStatement" -import { Es2pandaMetaPropertyKind } from "./Es2pandaEnums" -import { Es2pandaModifierFlags } from "./Es2pandaEnums" -import { Es2pandaPrimitiveType } from "./Es2pandaEnums" -import { Es2pandaPropertyKind } from "./Es2pandaEnums" -import { Es2pandaTokenType } from "./Es2pandaEnums" -import { Es2pandaVariableDeclarationKind } from "./Es2pandaEnums" -import { ExportAllDeclaration } from "./peers/ExportAllDeclaration" -import { ExportDefaultDeclaration } from "./peers/ExportDefaultDeclaration" -import { ExportSpecifier } from "./peers/ExportSpecifier" -import { Expression } from "./peers/Expression" -import { ExpressionStatement } from "./peers/ExpressionStatement" -import { ForInStatement } from "./peers/ForInStatement" -import { ForOfStatement } from "./peers/ForOfStatement" -import { ForUpdateStatement } from "./peers/ForUpdateStatement" -import { FunctionDeclaration } from "./peers/FunctionDeclaration" -import { FunctionExpression } from "./peers/FunctionExpression" -import { FunctionSignature } from "./peers/FunctionSignature" -import { Identifier } from "./peers/Identifier" -import { IfStatement } from "./peers/IfStatement" -import { ImportDefaultSpecifier } from "./peers/ImportDefaultSpecifier" -import { ImportExpression } from "./peers/ImportExpression" -import { ImportNamespaceSpecifier } from "./peers/ImportNamespaceSpecifier" -import { ImportSpecifier } from "./peers/ImportSpecifier" -import { LabelledStatement } from "./peers/LabelledStatement" -import { MetaProperty } from "./peers/MetaProperty" -import { NamedType } from "./peers/NamedType" -import { NewExpression } from "./peers/NewExpression" -import { NullLiteral } from "./peers/NullLiteral" -import { OmittedExpression } from "./peers/OmittedExpression" -import { OpaqueTypeNode } from "./peers/OpaqueTypeNode" -import { PrefixAssertionExpression } from "./peers/PrefixAssertionExpression" -import { Property } from "./peers/Property" -import { ReturnStatement } from "./peers/ReturnStatement" -import { ScriptFunction } from "./peers/ScriptFunction" -import { SequenceExpression } from "./peers/SequenceExpression" -import { Statement } from "./peers/Statement" -import { StringLiteral } from "./peers/StringLiteral" -import { SuperExpression } from "./peers/SuperExpression" -import { SwitchCaseStatement } from "./peers/SwitchCaseStatement" -import { SwitchStatement } from "./peers/SwitchStatement" -import { TSAnyKeyword } from "./peers/TSAnyKeyword" -import { TSArrayType } from "./peers/TSArrayType" -import { TSAsExpression } from "./peers/TSAsExpression" -import { TSBigintKeyword } from "./peers/TSBigintKeyword" -import { TSBooleanKeyword } from "./peers/TSBooleanKeyword" -import { TSClassImplements } from "./peers/TSClassImplements" -import { TSConditionalType } from "./peers/TSConditionalType" -import { TSEnumMember } from "./peers/TSEnumMember" -import { TSExternalModuleReference } from "./peers/TSExternalModuleReference" -import { TSImportEqualsDeclaration } from "./peers/TSImportEqualsDeclaration" -import { TSImportType } from "./peers/TSImportType" -import { TSIndexSignature } from "./peers/TSIndexSignature" -import { TSIndexedAccessType } from "./peers/TSIndexedAccessType" -import { TSInferType } from "./peers/TSInferType" -import { TSInterfaceBody } from "./peers/TSInterfaceBody" -import { TSInterfaceHeritage } from "./peers/TSInterfaceHeritage" -import { TSIntersectionType } from "./peers/TSIntersectionType" -import { TSLiteralType } from "./peers/TSLiteralType" -import { TSModuleBlock } from "./peers/TSModuleBlock" -import { TSNamedTupleMember } from "./peers/TSNamedTupleMember" -import { TSNeverKeyword } from "./peers/TSNeverKeyword" -import { TSNonNullExpression } from "./peers/TSNonNullExpression" -import { TSNullKeyword } from "./peers/TSNullKeyword" -import { TSNumberKeyword } from "./peers/TSNumberKeyword" -import { TSObjectKeyword } from "./peers/TSObjectKeyword" -import { TSQualifiedName } from "./peers/TSQualifiedName" -import { TSStringKeyword } from "./peers/TSStringKeyword" -import { TSThisType } from "./peers/TSThisType" -import { TSTupleType } from "./peers/TSTupleType" -import { TSTypeAliasDeclaration } from "./peers/TSTypeAliasDeclaration" -import { TSTypeAssertion } from "./peers/TSTypeAssertion" -import { TSTypeLiteral } from "./peers/TSTypeLiteral" -import { TSTypeParameter } from "./peers/TSTypeParameter" -import { TSTypeParameterDeclaration } from "./peers/TSTypeParameterDeclaration" -import { TSTypeParameterInstantiation } from "./peers/TSTypeParameterInstantiation" -import { TSTypePredicate } from "./peers/TSTypePredicate" -import { TSTypeQuery } from "./peers/TSTypeQuery" -import { TSTypeReference } from "./peers/TSTypeReference" -import { TSUndefinedKeyword } from "./peers/TSUndefinedKeyword" -import { TSUnionType } from "./peers/TSUnionType" -import { TSUnknownKeyword } from "./peers/TSUnknownKeyword" -import { TSVoidKeyword } from "./peers/TSVoidKeyword" -import { TaggedTemplateExpression } from "./peers/TaggedTemplateExpression" -import { TemplateElement } from "./peers/TemplateElement" -import { TemplateLiteral } from "./peers/TemplateLiteral" -import { ThisExpression } from "./peers/ThisExpression" -import { ThrowStatement } from "./peers/ThrowStatement" -import { TypeNode } from "./peers/TypeNode" -import { TypeofExpression } from "./peers/TypeofExpression" -import { UnaryExpression } from "./peers/UnaryExpression" -import { UndefinedLiteral } from "./peers/UndefinedLiteral" -import { UpdateExpression } from "./peers/UpdateExpression" -import { VariableDeclaration } from "./peers/VariableDeclaration" -import { VariableDeclarator } from "./peers/VariableDeclarator" -import { WhileStatement } from "./peers/WhileStatement" -import { YieldExpression } from "./peers/YieldExpression" - -export const factory = { - createLabelledStatement(ident?: Identifier, body?: Statement): LabelledStatement { - return LabelledStatement.createLabelledStatement(ident, body) - } - , - updateLabelledStatement(original: LabelledStatement, ident?: Identifier, body?: Statement): LabelledStatement { - if (isSameNativeObject(ident, original.ident) && isSameNativeObject(body, original.body)) - return original - return updateNodeByNode(LabelledStatement.createLabelledStatement(ident, body), original) - } - , - createThrowStatement(argument?: Expression): ThrowStatement { - return ThrowStatement.createThrowStatement(argument) - } - , - updateThrowStatement(original: ThrowStatement, argument?: Expression): ThrowStatement { - if (isSameNativeObject(argument, original.argument)) - return original - return updateNodeByNode(ThrowStatement.createThrowStatement(argument), original) - } - , - createTSVoidKeyword(): TSVoidKeyword { - return TSVoidKeyword.createTSVoidKeyword() - } - , - updateTSVoidKeyword(original: TSVoidKeyword): TSVoidKeyword { - return updateNodeByNode(TSVoidKeyword.createTSVoidKeyword(), original) - } - , - createIfStatement(test?: Expression, consequent?: Statement, alternate?: Statement): IfStatement { - return IfStatement.createIfStatement(test, consequent, alternate) - } - , - updateIfStatement(original: IfStatement, test?: Expression, consequent?: Statement, alternate?: Statement): IfStatement { - if (isSameNativeObject(test, original.test) && isSameNativeObject(consequent, original.consequent) && isSameNativeObject(alternate, original.alternate)) - return original - return updateNodeByNode(IfStatement.createIfStatement(test, consequent, alternate), original) - } - , - createDecorator(expr?: Expression): Decorator { - return Decorator.createDecorator(expr) - } - , - updateDecorator(original: Decorator, expr?: Expression): Decorator { - if (isSameNativeObject(expr, original.expr)) - return original - return updateNodeByNode(Decorator.createDecorator(expr), original) - } - , - createTSNeverKeyword(): TSNeverKeyword { - return TSNeverKeyword.createTSNeverKeyword() - } - , - updateTSNeverKeyword(original: TSNeverKeyword): TSNeverKeyword { - return updateNodeByNode(TSNeverKeyword.createTSNeverKeyword(), original) - } - , - createImportDefaultSpecifier(local?: Identifier): ImportDefaultSpecifier { - return ImportDefaultSpecifier.createImportDefaultSpecifier(local) - } - , - updateImportDefaultSpecifier(original: ImportDefaultSpecifier, local?: Identifier): ImportDefaultSpecifier { - if (isSameNativeObject(local, original.local)) - return original - return updateNodeByNode(ImportDefaultSpecifier.createImportDefaultSpecifier(local), original) - } - , - createImportSpecifier(imported?: Identifier, local?: Identifier): ImportSpecifier { - return ImportSpecifier.createImportSpecifier(imported, local) - } - , - updateImportSpecifier(original: ImportSpecifier, imported?: Identifier, local?: Identifier): ImportSpecifier { - if (isSameNativeObject(imported, original.imported) && isSameNativeObject(local, original.local)) - return original - return updateNodeByNode(ImportSpecifier.createImportSpecifier(imported, local), original) - } - , - createConditionalExpression(test?: Expression, consequent?: Expression, alternate?: Expression): ConditionalExpression { - return ConditionalExpression.createConditionalExpression(test, consequent, alternate) - } - , - updateConditionalExpression(original: ConditionalExpression, test?: Expression, consequent?: Expression, alternate?: Expression): ConditionalExpression { - if (isSameNativeObject(test, original.test) && isSameNativeObject(consequent, original.consequent) && isSameNativeObject(alternate, original.alternate)) - return original - return updateNodeByNode(ConditionalExpression.createConditionalExpression(test, consequent, alternate), original) - } - , - createBigIntLiteral(str: string): BigIntLiteral { - return BigIntLiteral.createBigIntLiteral(str) - } - , - updateBigIntLiteral(original: BigIntLiteral, str: string): BigIntLiteral { - if (isSameNativeObject(str, original.str)) - return original - return updateNodeByNode(BigIntLiteral.createBigIntLiteral(str), original) - } - , - createTSImportType(param: Expression | undefined, typeParams: TSTypeParameterInstantiation | undefined, qualifier: Expression | undefined, isTypeof: boolean): TSImportType { - return TSImportType.createTSImportType(param, typeParams, qualifier, isTypeof) - } - , - updateTSImportType(original: TSImportType, param: Expression | undefined, typeParams: TSTypeParameterInstantiation | undefined, qualifier: Expression | undefined, isTypeof: boolean): TSImportType { - if (isSameNativeObject(param, original.param) && isSameNativeObject(typeParams, original.typeParams) && isSameNativeObject(qualifier, original.qualifier) && isSameNativeObject(isTypeof, original.isTypeof)) - return original - return updateNodeByNode(TSImportType.createTSImportType(param, typeParams, qualifier, isTypeof), original) - } - , - createTaggedTemplateExpression(tag?: Expression, quasi?: TemplateLiteral, typeParams?: TSTypeParameterInstantiation): TaggedTemplateExpression { - return TaggedTemplateExpression.createTaggedTemplateExpression(tag, quasi, typeParams) - } - , - updateTaggedTemplateExpression(original: TaggedTemplateExpression, tag?: Expression, quasi?: TemplateLiteral, typeParams?: TSTypeParameterInstantiation): TaggedTemplateExpression { - if (isSameNativeObject(tag, original.tag) && isSameNativeObject(quasi, original.quasi) && isSameNativeObject(typeParams, original.typeParams)) - return original - return updateNodeByNode(TaggedTemplateExpression.createTaggedTemplateExpression(tag, quasi, typeParams), original) - } - , - createFunctionDeclaration(_function: ScriptFunction | undefined, annotations: readonly AnnotationUsage[], isAnonymous: boolean): FunctionDeclaration { - return FunctionDeclaration.createFunctionDeclaration(_function, annotations, isAnonymous) - } - , - updateFunctionDeclaration(original: FunctionDeclaration, _function: ScriptFunction | undefined, annotations: readonly AnnotationUsage[], isAnonymous: boolean): FunctionDeclaration { - if (isSameNativeObject(_function, original.function) && isSameNativeObject(annotations, original.annotations) && isSameNativeObject(isAnonymous, original.isAnonymous)) - return original - return updateNodeByNode(FunctionDeclaration.createFunctionDeclaration(_function, annotations, isAnonymous), original) - } - , - createETSTypeReference(part?: ETSTypeReferencePart): ETSTypeReference { - return ETSTypeReference.createETSTypeReference(part) - } - , - updateETSTypeReference(original: ETSTypeReference, part?: ETSTypeReferencePart): ETSTypeReference { - if (isSameNativeObject(part, original.part)) - return original - return updateNodeByNode(ETSTypeReference.createETSTypeReference(part), original) - } - , - createTSTypeReference(typeName?: Expression, typeParams?: TSTypeParameterInstantiation): TSTypeReference { - return TSTypeReference.createTSTypeReference(typeName, typeParams) - } - , - updateTSTypeReference(original: TSTypeReference, typeName?: Expression, typeParams?: TSTypeParameterInstantiation): TSTypeReference { - if (isSameNativeObject(typeName, original.typeName) && isSameNativeObject(typeParams, original.typeParams)) - return original - return updateNodeByNode(TSTypeReference.createTSTypeReference(typeName, typeParams), original) - } - , - createNamedType(name?: Identifier): NamedType { - return NamedType.createNamedType(name) - } - , - updateNamedType(original: NamedType, name?: Identifier): NamedType { - if (isSameNativeObject(name, original.name)) - return original - return updateNodeByNode(NamedType.createNamedType(name), original) - } - , - createTemplateElement(raw: string, cooked: string): TemplateElement { - return TemplateElement.create1TemplateElement(raw, cooked) - } - , - updateTemplateElement(original: TemplateElement, raw: string, cooked: string): TemplateElement { - if (isSameNativeObject(raw, original.raw) && isSameNativeObject(cooked, original.cooked)) - return original - return updateNodeByNode(TemplateElement.create1TemplateElement(raw, cooked), original) - } - , - createVariableDeclaration(kind: Es2pandaVariableDeclarationKind, declarators: readonly VariableDeclarator[], annotations?: readonly AnnotationUsage[]): VariableDeclaration { - return VariableDeclaration.createVariableDeclaration(kind, declarators, annotations) - } - , - updateVariableDeclaration(original: VariableDeclaration, kind: Es2pandaVariableDeclarationKind, declarators: readonly VariableDeclarator[], annotations?: readonly AnnotationUsage[]): VariableDeclaration { - if (isSameNativeObject(kind, original.kind) && isSameNativeObject(declarators, original.declarators) && isSameNativeObject(annotations, original.annotations)) - return original - return updateNodeByNode(VariableDeclaration.createVariableDeclaration(kind, declarators, annotations), original) - } - , - createUndefinedLiteral(): UndefinedLiteral { - return UndefinedLiteral.createUndefinedLiteral() - } - , - updateUndefinedLiteral(original: UndefinedLiteral): UndefinedLiteral { - return updateNodeByNode(UndefinedLiteral.createUndefinedLiteral(), original) - } - , - createTSClassImplements(expr?: Expression, typeParameters?: TSTypeParameterInstantiation): TSClassImplements { - return TSClassImplements.createTSClassImplements(expr, typeParameters) - } - , - updateTSClassImplements(original: TSClassImplements, expr?: Expression, typeParameters?: TSTypeParameterInstantiation): TSClassImplements { - if (isSameNativeObject(expr, original.expr) && isSameNativeObject(typeParameters, original.typeParameters)) - return original - return updateNodeByNode(TSClassImplements.createTSClassImplements(expr, typeParameters), original) - } - , - createTSObjectKeyword(): TSObjectKeyword { - return TSObjectKeyword.createTSObjectKeyword() - } - , - updateTSObjectKeyword(original: TSObjectKeyword): TSObjectKeyword { - return updateNodeByNode(TSObjectKeyword.createTSObjectKeyword(), original) - } - , - createETSUnionType(types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType { - return ETSUnionType.createETSUnionType(types, annotations) - } - , - updateETSUnionType(original: ETSUnionType, types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType { - if (isSameNativeObject(types, original.types) && isSameNativeObject(annotations, original.annotations)) - return original - return updateNodeByNode(ETSUnionType.createETSUnionType(types, annotations), original) - } - , - createETSKeyofType(typeRef?: TypeNode): ETSKeyofType { - return ETSKeyofType.createETSKeyofType(typeRef) - } - , - updateETSKeyofType(original: ETSKeyofType, typeRef?: TypeNode): ETSKeyofType { - if (isSameNativeObject(typeRef, original.typeRef)) - return original - return updateNodeByNode(ETSKeyofType.createETSKeyofType(typeRef), original) - } - , - createTSConditionalType(checkType?: Expression, extendsType?: Expression, trueType?: Expression, falseType?: Expression): TSConditionalType { - return TSConditionalType.createTSConditionalType(checkType, extendsType, trueType, falseType) - } - , - updateTSConditionalType(original: TSConditionalType, checkType?: Expression, extendsType?: Expression, trueType?: Expression, falseType?: Expression): TSConditionalType { - if (isSameNativeObject(checkType, original.checkType) && isSameNativeObject(extendsType, original.extendsType) && isSameNativeObject(trueType, original.trueType) && isSameNativeObject(falseType, original.falseType)) - return original - return updateNodeByNode(TSConditionalType.createTSConditionalType(checkType, extendsType, trueType, falseType), original) - } - , - createTSLiteralType(literal?: Expression): TSLiteralType { - return TSLiteralType.createTSLiteralType(literal) - } - , - updateTSLiteralType(original: TSLiteralType, literal?: Expression): TSLiteralType { - if (isSameNativeObject(literal, original.literal)) - return original - return updateNodeByNode(TSLiteralType.createTSLiteralType(literal), original) - } - , - createTSTypeAliasDeclaration(id: Identifier | undefined, typeParams: TSTypeParameterDeclaration | undefined, typeAnnotation: TypeNode, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration { - return TSTypeAliasDeclaration.createTSTypeAliasDeclaration(id, typeParams, typeAnnotation, annotations, modifierFlags) - } - , - updateTSTypeAliasDeclaration(original: TSTypeAliasDeclaration, id: Identifier | undefined, typeParams: TSTypeParameterDeclaration | undefined, typeAnnotation: TypeNode, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration { - if (isSameNativeObject(id, original.id) && isSameNativeObject(typeParams, original.typeParams) && isSameNativeObject(typeAnnotation, original.typeAnnotation) && isSameNativeObject(annotations, original.annotations) && isSameNativeObject(modifierFlags, original.modifierFlags)) - return original - return updateNodeByNode(TSTypeAliasDeclaration.createTSTypeAliasDeclaration(id, typeParams, typeAnnotation, annotations, modifierFlags), original) - } - , - createDebuggerStatement(): DebuggerStatement { - return DebuggerStatement.createDebuggerStatement() - } - , - updateDebuggerStatement(original: DebuggerStatement): DebuggerStatement { - return updateNodeByNode(DebuggerStatement.createDebuggerStatement(), original) - } - , - createReturnStatement(argument?: Expression): ReturnStatement { - return ReturnStatement.create1ReturnStatement(argument) - } - , - updateReturnStatement(original: ReturnStatement, argument?: Expression): ReturnStatement { - if (isSameNativeObject(argument, original.argument)) - return original - return updateNodeByNode(ReturnStatement.create1ReturnStatement(argument), original) - } - , - createExportDefaultDeclaration(decl: AstNode | undefined, isExportEquals: boolean): ExportDefaultDeclaration { - return ExportDefaultDeclaration.createExportDefaultDeclaration(decl, isExportEquals) - } - , - updateExportDefaultDeclaration(original: ExportDefaultDeclaration, decl: AstNode | undefined, isExportEquals: boolean): ExportDefaultDeclaration { - if (isSameNativeObject(decl, original.decl) && isSameNativeObject(isExportEquals, original.isExportEquals)) - return original - return updateNodeByNode(ExportDefaultDeclaration.createExportDefaultDeclaration(decl, isExportEquals), original) - } - , - createTSInterfaceBody(body: readonly AstNode[]): TSInterfaceBody { - return TSInterfaceBody.createTSInterfaceBody(body) - } - , - updateTSInterfaceBody(original: TSInterfaceBody, body: readonly AstNode[]): TSInterfaceBody { - if (isSameNativeObject(body, original.body)) - return original - return updateNodeByNode(TSInterfaceBody.createTSInterfaceBody(body), original) - } - , - createTSTypeQuery(exprName?: Expression): TSTypeQuery { - return TSTypeQuery.createTSTypeQuery(exprName) - } - , - updateTSTypeQuery(original: TSTypeQuery, exprName?: Expression): TSTypeQuery { - if (isSameNativeObject(exprName, original.exprName)) - return original - return updateNodeByNode(TSTypeQuery.createTSTypeQuery(exprName), original) - } - , - createTSBigintKeyword(): TSBigintKeyword { - return TSBigintKeyword.createTSBigintKeyword() - } - , - updateTSBigintKeyword(original: TSBigintKeyword): TSBigintKeyword { - return updateNodeByNode(TSBigintKeyword.createTSBigintKeyword(), original) - } - , - createProperty(kind: Es2pandaPropertyKind, key: Expression | undefined, value: Expression | undefined, isMethod: boolean, isComputed: boolean): Property { - return Property.create1Property(kind, key, value, isMethod, isComputed) - } - , - updateProperty(original: Property, kind: Es2pandaPropertyKind, key: Expression | undefined, value: Expression | undefined, isMethod: boolean, isComputed: boolean): Property { - if (isSameNativeObject(kind, original.kind) && isSameNativeObject(key, original.key) && isSameNativeObject(value, original.value) && isSameNativeObject(isMethod, original.isMethod) && isSameNativeObject(isComputed, original.isComputed)) - return original - return updateNodeByNode(Property.create1Property(kind, key, value, isMethod, isComputed), original) - } - , - createStringLiteral(str: string): StringLiteral { - return StringLiteral.create1StringLiteral(str) - } - , - updateStringLiteral(original: StringLiteral, str: string): StringLiteral { - if (isSameNativeObject(str, original.str)) - return original - return updateNodeByNode(StringLiteral.create1StringLiteral(str), original) - } - , - createTSTypeAssertion(typeAnnotation?: TypeNode, expression?: Expression): TSTypeAssertion { - return TSTypeAssertion.createTSTypeAssertion(typeAnnotation, expression) - } - , - updateTSTypeAssertion(original: TSTypeAssertion, typeAnnotation?: TypeNode, expression?: Expression): TSTypeAssertion { - if (isSameNativeObject(typeAnnotation, original.typeAnnotation) && isSameNativeObject(expression, original.expression)) - return original - return updateNodeByNode(TSTypeAssertion.createTSTypeAssertion(typeAnnotation, expression), original) - } - , - createTSExternalModuleReference(expr?: Expression): TSExternalModuleReference { - return TSExternalModuleReference.createTSExternalModuleReference(expr) - } - , - updateTSExternalModuleReference(original: TSExternalModuleReference, expr?: Expression): TSExternalModuleReference { - if (isSameNativeObject(expr, original.expr)) - return original - return updateNodeByNode(TSExternalModuleReference.createTSExternalModuleReference(expr), original) - } - , - createTSUndefinedKeyword(): TSUndefinedKeyword { - return TSUndefinedKeyword.createTSUndefinedKeyword() - } - , - updateTSUndefinedKeyword(original: TSUndefinedKeyword): TSUndefinedKeyword { - return updateNodeByNode(TSUndefinedKeyword.createTSUndefinedKeyword(), original) - } - , - createUnaryExpression(argument: Expression | undefined, operatorType: Es2pandaTokenType): UnaryExpression { - return UnaryExpression.createUnaryExpression(argument, operatorType) - } - , - updateUnaryExpression(original: UnaryExpression, argument: Expression | undefined, operatorType: Es2pandaTokenType): UnaryExpression { - if (isSameNativeObject(argument, original.argument) && isSameNativeObject(operatorType, original.operatorType)) - return original - return updateNodeByNode(UnaryExpression.createUnaryExpression(argument, operatorType), original) - } - , - createForInStatement(left?: AstNode, right?: Expression, body?: Statement): ForInStatement { - return ForInStatement.createForInStatement(left, right, body) - } - , - updateForInStatement(original: ForInStatement, left?: AstNode, right?: Expression, body?: Statement): ForInStatement { - if (isSameNativeObject(left, original.left) && isSameNativeObject(right, original.right) && isSameNativeObject(body, original.body)) - return original - return updateNodeByNode(ForInStatement.createForInStatement(left, right, body), original) - } - , - createThisExpression(): ThisExpression { - return ThisExpression.createThisExpression() - } - , - updateThisExpression(original: ThisExpression): ThisExpression { - return updateNodeByNode(ThisExpression.createThisExpression(), original) - } - , - createBinaryExpression(left: Expression | undefined, right: Expression | undefined, operatorType: Es2pandaTokenType): BinaryExpression { - return BinaryExpression.createBinaryExpression(left, right, operatorType) - } - , - updateBinaryExpression(original: BinaryExpression, left: Expression | undefined, right: Expression | undefined, operatorType: Es2pandaTokenType): BinaryExpression { - if (isSameNativeObject(left, original.left) && isSameNativeObject(right, original.right) && isSameNativeObject(operatorType, original.operatorType)) - return original - return updateNodeByNode(BinaryExpression.createBinaryExpression(left, right, operatorType), original) - } - , - createSuperExpression(): SuperExpression { - return SuperExpression.createSuperExpression() - } - , - updateSuperExpression(original: SuperExpression): SuperExpression { - return updateNodeByNode(SuperExpression.createSuperExpression(), original) - } - , - createAssertStatement(test?: Expression, second?: Expression): AssertStatement { - return AssertStatement.createAssertStatement(test, second) - } - , - updateAssertStatement(original: AssertStatement, test?: Expression, second?: Expression): AssertStatement { - if (isSameNativeObject(test, original.test) && isSameNativeObject(second, original.second)) - return original - return updateNodeByNode(AssertStatement.createAssertStatement(test, second), original) - } - , - createTSStringKeyword(): TSStringKeyword { - return TSStringKeyword.createTSStringKeyword() - } - , - updateTSStringKeyword(original: TSStringKeyword): TSStringKeyword { - return updateNodeByNode(TSStringKeyword.createTSStringKeyword(), original) - } - , - createExpressionStatement(expression?: Expression): ExpressionStatement { - return ExpressionStatement.createExpressionStatement(expression) - } - , - updateExpressionStatement(original: ExpressionStatement, expression?: Expression): ExpressionStatement { - if (isSameNativeObject(expression, original.expression)) - return original - return updateNodeByNode(ExpressionStatement.createExpressionStatement(expression), original) - } - , - createMetaProperty(kind: Es2pandaMetaPropertyKind): MetaProperty { - return MetaProperty.createMetaProperty(kind) - } - , - updateMetaProperty(original: MetaProperty, kind: Es2pandaMetaPropertyKind): MetaProperty { - if (isSameNativeObject(kind, original.kind)) - return original - return updateNodeByNode(MetaProperty.createMetaProperty(kind), original) - } - , - createTSArrayType(elementType?: TypeNode): TSArrayType { - return TSArrayType.createTSArrayType(elementType) - } - , - updateTSArrayType(original: TSArrayType, elementType?: TypeNode): TSArrayType { - if (isSameNativeObject(elementType, original.elementType)) - return original - return updateNodeByNode(TSArrayType.createTSArrayType(elementType), original) - } - , - createExportAllDeclaration(source?: StringLiteral, exported?: Identifier): ExportAllDeclaration { - return ExportAllDeclaration.createExportAllDeclaration(source, exported) - } - , - updateExportAllDeclaration(original: ExportAllDeclaration, source?: StringLiteral, exported?: Identifier): ExportAllDeclaration { - if (isSameNativeObject(source, original.source) && isSameNativeObject(exported, original.exported)) - return original - return updateNodeByNode(ExportAllDeclaration.createExportAllDeclaration(source, exported), original) - } - , - createExportSpecifier(local?: Identifier, exported?: Identifier): ExportSpecifier { - return ExportSpecifier.createExportSpecifier(local, exported) - } - , - updateExportSpecifier(original: ExportSpecifier, local?: Identifier, exported?: Identifier): ExportSpecifier { - if (isSameNativeObject(local, original.local) && isSameNativeObject(exported, original.exported)) - return original - return updateNodeByNode(ExportSpecifier.createExportSpecifier(local, exported), original) - } - , - createTSTupleType(elementType: readonly TypeNode[]): TSTupleType { - return TSTupleType.createTSTupleType(elementType) - } - , - updateTSTupleType(original: TSTupleType, elementType: readonly TypeNode[]): TSTupleType { - if (isSameNativeObject(elementType, original.elementType)) - return original - return updateNodeByNode(TSTupleType.createTSTupleType(elementType), original) - } - , - createFunctionExpression(id?: Identifier, _function?: ScriptFunction): FunctionExpression { - return FunctionExpression.create1FunctionExpression(id, _function) - } - , - updateFunctionExpression(original: FunctionExpression, id?: Identifier, _function?: ScriptFunction): FunctionExpression { - if (isSameNativeObject(id, original.id) && isSameNativeObject(_function, original.function)) - return original - return updateNodeByNode(FunctionExpression.create1FunctionExpression(id, _function), original) - } - , - createTSIndexSignature(param: Expression | undefined, typeAnnotation: TypeNode | undefined, readonly: boolean): TSIndexSignature { - return TSIndexSignature.createTSIndexSignature(param, typeAnnotation, readonly) - } - , - updateTSIndexSignature(original: TSIndexSignature, param: Expression | undefined, typeAnnotation: TypeNode | undefined, readonly: boolean): TSIndexSignature { - if (isSameNativeObject(param, original.param) && isSameNativeObject(typeAnnotation, original.typeAnnotation) && isSameNativeObject(readonly, original.readonly)) - return original - return updateNodeByNode(TSIndexSignature.createTSIndexSignature(param, typeAnnotation, readonly), original) - } - , - createCharLiteral(): CharLiteral { - return CharLiteral.createCharLiteral() - } - , - updateCharLiteral(original: CharLiteral): CharLiteral { - return updateNodeByNode(CharLiteral.createCharLiteral(), original) - } - , - createETSIntrinsicNode(id: string, _arguments: readonly Expression[]): ETSIntrinsicNode { - return ETSIntrinsicNode.create1ETSIntrinsicNode(id, _arguments) - } - , - updateETSIntrinsicNode(original: ETSIntrinsicNode, id: string, _arguments: readonly Expression[]): ETSIntrinsicNode { - if (isSameNativeObject(id, original.id) && isSameNativeObject(_arguments, original.arguments)) - return original - return updateNodeByNode(ETSIntrinsicNode.create1ETSIntrinsicNode(id, _arguments), original) - } - , - createTSModuleBlock(statements: readonly Statement[]): TSModuleBlock { - return TSModuleBlock.createTSModuleBlock(statements) - } - , - updateTSModuleBlock(original: TSModuleBlock, statements: readonly Statement[]): TSModuleBlock { - if (isSameNativeObject(statements, original.statements)) - return original - return updateNodeByNode(TSModuleBlock.createTSModuleBlock(statements), original) - } - , - createETSNewArrayInstanceExpression(typeReference?: TypeNode, dimension?: Expression): ETSNewArrayInstanceExpression { - return ETSNewArrayInstanceExpression.createETSNewArrayInstanceExpression(typeReference, dimension) - } - , - updateETSNewArrayInstanceExpression(original: ETSNewArrayInstanceExpression, typeReference?: TypeNode, dimension?: Expression): ETSNewArrayInstanceExpression { - if (isSameNativeObject(typeReference, original.typeReference) && isSameNativeObject(dimension, original.dimension)) - return original - return updateNodeByNode(ETSNewArrayInstanceExpression.createETSNewArrayInstanceExpression(typeReference, dimension), original) - } - , - createAnnotationDeclaration(expr: Expression | undefined, properties: readonly AstNode[]): AnnotationDeclaration { - return AnnotationDeclaration.create1AnnotationDeclaration(expr, properties) - } - , - updateAnnotationDeclaration(original: AnnotationDeclaration, expr: Expression | undefined, properties: readonly AstNode[]): AnnotationDeclaration { - if (isSameNativeObject(expr, original.expr) && isSameNativeObject(properties, original.properties)) - return original - return updateNodeByNode(AnnotationDeclaration.create1AnnotationDeclaration(expr, properties), original) - } - , - createAnnotationUsage(expr: Expression | undefined, properties: readonly AstNode[]): AnnotationUsage { - return AnnotationUsage.create1AnnotationUsage(expr, properties) - } - , - updateAnnotationUsage(original: AnnotationUsage, expr: Expression | undefined, properties: readonly AstNode[]): AnnotationUsage { - if (isSameNativeObject(expr, original.expr) && isSameNativeObject(properties, original.properties)) - return original - return updateNodeByNode(AnnotationUsage.create1AnnotationUsage(expr, properties), original) - } - , - createEmptyStatement(isBrokenStatement: boolean): EmptyStatement { - return EmptyStatement.create1EmptyStatement(isBrokenStatement) - } - , - updateEmptyStatement(original: EmptyStatement, isBrokenStatement: boolean): EmptyStatement { - if (isSameNativeObject(isBrokenStatement, original.isBrokenStatement)) - return original - return updateNodeByNode(EmptyStatement.create1EmptyStatement(isBrokenStatement), original) - } - , - createWhileStatement(test?: Expression, body?: Statement): WhileStatement { - return WhileStatement.createWhileStatement(test, body) - } - , - updateWhileStatement(original: WhileStatement, test?: Expression, body?: Statement): WhileStatement { - if (isSameNativeObject(test, original.test) && isSameNativeObject(body, original.body)) - return original - return updateNodeByNode(WhileStatement.createWhileStatement(test, body), original) - } - , - createFunctionSignature(typeParams: TSTypeParameterDeclaration | undefined, params: readonly Expression[], returnType: TypeNode | undefined, hasReceiver: boolean): FunctionSignature { - return FunctionSignature.createFunctionSignature(typeParams, params, returnType, hasReceiver) - } - , - updateFunctionSignature(original: FunctionSignature, typeParams: TSTypeParameterDeclaration | undefined, params: readonly Expression[], returnType: TypeNode | undefined, hasReceiver: boolean): FunctionSignature { - if (isSameNativeObject(typeParams, original.typeParams) && isSameNativeObject(params, original.params) && isSameNativeObject(returnType, original.returnType) && isSameNativeObject(hasReceiver, original.hasReceiver)) - return original - return updateNodeByNode(FunctionSignature.createFunctionSignature(typeParams, params, returnType, hasReceiver), original) - } - , - createChainExpression(expression?: Expression): ChainExpression { - return ChainExpression.createChainExpression(expression) - } - , - updateChainExpression(original: ChainExpression, expression?: Expression): ChainExpression { - if (isSameNativeObject(expression, original.expression)) - return original - return updateNodeByNode(ChainExpression.createChainExpression(expression), original) - } - , - createTSIntersectionType(types: readonly Expression[]): TSIntersectionType { - return TSIntersectionType.createTSIntersectionType(types) - } - , - updateTSIntersectionType(original: TSIntersectionType, types: readonly Expression[]): TSIntersectionType { - if (isSameNativeObject(types, original.types)) - return original - return updateNodeByNode(TSIntersectionType.createTSIntersectionType(types), original) - } - , - createUpdateExpression(argument: Expression | undefined, operatorType: Es2pandaTokenType, isPrefix: boolean): UpdateExpression { - return UpdateExpression.createUpdateExpression(argument, operatorType, isPrefix) - } - , - updateUpdateExpression(original: UpdateExpression, argument: Expression | undefined, operatorType: Es2pandaTokenType, isPrefix: boolean): UpdateExpression { - if (isSameNativeObject(argument, original.argument) && isSameNativeObject(operatorType, original.operatorType) && isSameNativeObject(isPrefix, original.isPrefix)) - return original - return updateNodeByNode(UpdateExpression.createUpdateExpression(argument, operatorType, isPrefix), original) - } - , - createBlockExpression(statements: readonly Statement[]): BlockExpression { - return BlockExpression.createBlockExpression(statements) - } - , - updateBlockExpression(original: BlockExpression, statements: readonly Statement[]): BlockExpression { - if (isSameNativeObject(statements, original.statements)) - return original - return updateNodeByNode(BlockExpression.createBlockExpression(statements), original) - } - , - createTSTypeLiteral(members: readonly AstNode[]): TSTypeLiteral { - return TSTypeLiteral.createTSTypeLiteral(members) - } - , - updateTSTypeLiteral(original: TSTypeLiteral, members: readonly AstNode[]): TSTypeLiteral { - if (isSameNativeObject(members, original.members)) - return original - return updateNodeByNode(TSTypeLiteral.createTSTypeLiteral(members), original) - } - , - createTSBooleanKeyword(): TSBooleanKeyword { - return TSBooleanKeyword.createTSBooleanKeyword() - } - , - updateTSBooleanKeyword(original: TSBooleanKeyword): TSBooleanKeyword { - return updateNodeByNode(TSBooleanKeyword.createTSBooleanKeyword(), original) - } - , - createTSTypePredicate(parameterName: Expression | undefined, typeAnnotation: TypeNode | undefined, asserts: boolean): TSTypePredicate { - return TSTypePredicate.createTSTypePredicate(parameterName, typeAnnotation, asserts) - } - , - updateTSTypePredicate(original: TSTypePredicate, parameterName: Expression | undefined, typeAnnotation: TypeNode | undefined, asserts: boolean): TSTypePredicate { - if (isSameNativeObject(parameterName, original.parameterName) && isSameNativeObject(typeAnnotation, original.typeAnnotation) && isSameNativeObject(asserts, original.asserts)) - return original - return updateNodeByNode(TSTypePredicate.createTSTypePredicate(parameterName, typeAnnotation, asserts), original) - } - , - createImportNamespaceSpecifier(local?: Identifier): ImportNamespaceSpecifier { - return ImportNamespaceSpecifier.createImportNamespaceSpecifier(local) - } - , - updateImportNamespaceSpecifier(original: ImportNamespaceSpecifier, local?: Identifier): ImportNamespaceSpecifier { - if (isSameNativeObject(local, original.local)) - return original - return updateNodeByNode(ImportNamespaceSpecifier.createImportNamespaceSpecifier(local), original) - } - , - createTSTypeParameterInstantiation(params: readonly TypeNode[]): TSTypeParameterInstantiation { - return TSTypeParameterInstantiation.createTSTypeParameterInstantiation(params) - } - , - updateTSTypeParameterInstantiation(original: TSTypeParameterInstantiation, params: readonly TypeNode[]): TSTypeParameterInstantiation { - if (isSameNativeObject(params, original.params)) - return original - return updateNodeByNode(TSTypeParameterInstantiation.createTSTypeParameterInstantiation(params), original) - } - , - createNullLiteral(): NullLiteral { - return NullLiteral.createNullLiteral() - } - , - updateNullLiteral(original: NullLiteral): NullLiteral { - return updateNodeByNode(NullLiteral.createNullLiteral(), original) - } - , - createTSInferType(typeParam?: TSTypeParameter): TSInferType { - return TSInferType.createTSInferType(typeParam) - } - , - updateTSInferType(original: TSInferType, typeParam?: TSTypeParameter): TSInferType { - if (isSameNativeObject(typeParam, original.typeParam)) - return original - return updateNodeByNode(TSInferType.createTSInferType(typeParam), original) - } - , - createSwitchCaseStatement(test: Expression | undefined, consequent: readonly Statement[]): SwitchCaseStatement { - return SwitchCaseStatement.createSwitchCaseStatement(test, consequent) - } - , - updateSwitchCaseStatement(original: SwitchCaseStatement, test: Expression | undefined, consequent: readonly Statement[]): SwitchCaseStatement { - if (isSameNativeObject(test, original.test) && isSameNativeObject(consequent, original.consequent)) - return original - return updateNodeByNode(SwitchCaseStatement.createSwitchCaseStatement(test, consequent), original) - } - , - createYieldExpression(argument: Expression | undefined, hasDelegate: boolean): YieldExpression { - return YieldExpression.createYieldExpression(argument, hasDelegate) - } - , - updateYieldExpression(original: YieldExpression, argument: Expression | undefined, hasDelegate: boolean): YieldExpression { - if (isSameNativeObject(argument, original.argument) && isSameNativeObject(hasDelegate, original.hasDelegate)) - return original - return updateNodeByNode(YieldExpression.createYieldExpression(argument, hasDelegate), original) - } - , - createTSImportEqualsDeclaration(id: Identifier | undefined, moduleReference: Expression | undefined, isExport: boolean): TSImportEqualsDeclaration { - return TSImportEqualsDeclaration.createTSImportEqualsDeclaration(id, moduleReference, isExport) - } - , - updateTSImportEqualsDeclaration(original: TSImportEqualsDeclaration, id: Identifier | undefined, moduleReference: Expression | undefined, isExport: boolean): TSImportEqualsDeclaration { - if (isSameNativeObject(id, original.id) && isSameNativeObject(moduleReference, original.moduleReference) && isSameNativeObject(isExport, original.isExport)) - return original - return updateNodeByNode(TSImportEqualsDeclaration.createTSImportEqualsDeclaration(id, moduleReference, isExport), original) - } - , - createBooleanLiteral(value: boolean): BooleanLiteral { - return BooleanLiteral.createBooleanLiteral(value) - } - , - updateBooleanLiteral(original: BooleanLiteral, value: boolean): BooleanLiteral { - if (isSameNativeObject(value, original.value)) - return original - return updateNodeByNode(BooleanLiteral.createBooleanLiteral(value), original) - } - , - createTSNumberKeyword(): TSNumberKeyword { - return TSNumberKeyword.createTSNumberKeyword() - } - , - updateTSNumberKeyword(original: TSNumberKeyword): TSNumberKeyword { - return updateNodeByNode(TSNumberKeyword.createTSNumberKeyword(), original) - } - , - createTSNonNullExpression(expr?: Expression): TSNonNullExpression { - return TSNonNullExpression.createTSNonNullExpression(expr) - } - , - updateTSNonNullExpression(original: TSNonNullExpression, expr?: Expression): TSNonNullExpression { - if (isSameNativeObject(expr, original.expr)) - return original - return updateNodeByNode(TSNonNullExpression.createTSNonNullExpression(expr), original) - } - , - createPrefixAssertionExpression(expr?: Expression, type?: TypeNode): PrefixAssertionExpression { - return PrefixAssertionExpression.createPrefixAssertionExpression(expr, type) - } - , - updatePrefixAssertionExpression(original: PrefixAssertionExpression, expr?: Expression, type?: TypeNode): PrefixAssertionExpression { - if (isSameNativeObject(expr, original.expr) && isSameNativeObject(type, original.type)) - return original - return updateNodeByNode(PrefixAssertionExpression.createPrefixAssertionExpression(expr, type), original) - } - , - createClassExpression(definition?: ClassDefinition): ClassExpression { - return ClassExpression.createClassExpression(definition) - } - , - updateClassExpression(original: ClassExpression, definition?: ClassDefinition): ClassExpression { - if (isSameNativeObject(definition, original.definition)) - return original - return updateNodeByNode(ClassExpression.createClassExpression(definition), original) - } - , - createForOfStatement(left: AstNode | undefined, right: Expression | undefined, body: Statement | undefined, isAwait: boolean): ForOfStatement { - return ForOfStatement.createForOfStatement(left, right, body, isAwait) - } - , - updateForOfStatement(original: ForOfStatement, left: AstNode | undefined, right: Expression | undefined, body: Statement | undefined, isAwait: boolean): ForOfStatement { - if (isSameNativeObject(left, original.left) && isSameNativeObject(right, original.right) && isSameNativeObject(body, original.body) && isSameNativeObject(isAwait, original.isAwait)) - return original - return updateNodeByNode(ForOfStatement.createForOfStatement(left, right, body, isAwait), original) - } - , - createTemplateLiteral(quasis: readonly TemplateElement[], expressions: readonly Expression[], multilineString: string): TemplateLiteral { - return TemplateLiteral.createTemplateLiteral(quasis, expressions, multilineString) - } - , - updateTemplateLiteral(original: TemplateLiteral, quasis: readonly TemplateElement[], expressions: readonly Expression[], multilineString: string): TemplateLiteral { - if (isSameNativeObject(quasis, original.quasis) && isSameNativeObject(expressions, original.expressions) && isSameNativeObject(multilineString, original.multilineString)) - return original - return updateNodeByNode(TemplateLiteral.createTemplateLiteral(quasis, expressions, multilineString), original) - } - , - createTSUnionType(types: readonly TypeNode[]): TSUnionType { - return TSUnionType.createTSUnionType(types) - } - , - updateTSUnionType(original: TSUnionType, types: readonly TypeNode[]): TSUnionType { - if (isSameNativeObject(types, original.types)) - return original - return updateNodeByNode(TSUnionType.createTSUnionType(types), original) - } - , - createTSUnknownKeyword(): TSUnknownKeyword { - return TSUnknownKeyword.createTSUnknownKeyword() - } - , - updateTSUnknownKeyword(original: TSUnknownKeyword): TSUnknownKeyword { - return updateNodeByNode(TSUnknownKeyword.createTSUnknownKeyword(), original) - } - , - createIdentifier(name: string, typeAnnotation?: TypeNode): Identifier { - return Identifier.create2Identifier(name, typeAnnotation) - } - , - updateIdentifier(original: Identifier, name: string, typeAnnotation?: TypeNode): Identifier { - if (isSameNativeObject(name, original.name) && isSameNativeObject(typeAnnotation, original.typeAnnotation)) - return original - return updateNodeByNode(Identifier.create2Identifier(name, typeAnnotation), original) - } - , - createOpaqueTypeNode(): OpaqueTypeNode { - return OpaqueTypeNode.create1OpaqueTypeNode() - } - , - updateOpaqueTypeNode(original: OpaqueTypeNode): OpaqueTypeNode { - return updateNodeByNode(OpaqueTypeNode.create1OpaqueTypeNode(), original) - } - , - createTSTypeParameterDeclaration(params: readonly TSTypeParameter[], requiredParams: number): TSTypeParameterDeclaration { - return TSTypeParameterDeclaration.createTSTypeParameterDeclaration(params, requiredParams) - } - , - updateTSTypeParameterDeclaration(original: TSTypeParameterDeclaration, params: readonly TSTypeParameter[], requiredParams: number): TSTypeParameterDeclaration { - if (isSameNativeObject(params, original.params) && isSameNativeObject(requiredParams, original.requiredParams)) - return original - return updateNodeByNode(TSTypeParameterDeclaration.createTSTypeParameterDeclaration(params, requiredParams), original) - } - , - createTSNullKeyword(): TSNullKeyword { - return TSNullKeyword.createTSNullKeyword() - } - , - updateTSNullKeyword(original: TSNullKeyword): TSNullKeyword { - return updateNodeByNode(TSNullKeyword.createTSNullKeyword(), original) - } - , - createTSInterfaceHeritage(expr?: TypeNode): TSInterfaceHeritage { - return TSInterfaceHeritage.createTSInterfaceHeritage(expr) - } - , - updateTSInterfaceHeritage(original: TSInterfaceHeritage, expr?: TypeNode): TSInterfaceHeritage { - if (isSameNativeObject(expr, original.expr)) - return original - return updateNodeByNode(TSInterfaceHeritage.createTSInterfaceHeritage(expr), original) - } - , - createETSClassLiteral(expr?: TypeNode): ETSClassLiteral { - return ETSClassLiteral.createETSClassLiteral(expr) - } - , - updateETSClassLiteral(original: ETSClassLiteral, expr?: TypeNode): ETSClassLiteral { - if (isSameNativeObject(expr, original.expr)) - return original - return updateNodeByNode(ETSClassLiteral.createETSClassLiteral(expr), original) - } - , - createBreakStatement(ident?: Identifier): BreakStatement { - return BreakStatement.create1BreakStatement(ident) - } - , - updateBreakStatement(original: BreakStatement, ident?: Identifier): BreakStatement { - if (isSameNativeObject(ident, original.ident)) - return original - return updateNodeByNode(BreakStatement.create1BreakStatement(ident), original) - } - , - createTSAnyKeyword(): TSAnyKeyword { - return TSAnyKeyword.createTSAnyKeyword() - } - , - updateTSAnyKeyword(original: TSAnyKeyword): TSAnyKeyword { - return updateNodeByNode(TSAnyKeyword.createTSAnyKeyword(), original) - } - , - createClassDeclaration(definition: ClassDefinition, modifierFlags?: Es2pandaModifierFlags): ClassDeclaration { - return ClassDeclaration.createClassDeclaration(definition, modifierFlags) - } - , - updateClassDeclaration(original: ClassDeclaration, definition: ClassDefinition, modifierFlags?: Es2pandaModifierFlags): ClassDeclaration { - if (isSameNativeObject(definition, original.definition) && isSameNativeObject(modifierFlags, original.modifierFlags)) - return original - return updateNodeByNode(ClassDeclaration.createClassDeclaration(definition, modifierFlags), original) - } - , - createTSIndexedAccessType(objectType?: TypeNode, indexType?: TypeNode): TSIndexedAccessType { - return TSIndexedAccessType.createTSIndexedAccessType(objectType, indexType) - } - , - updateTSIndexedAccessType(original: TSIndexedAccessType, objectType?: TypeNode, indexType?: TypeNode): TSIndexedAccessType { - if (isSameNativeObject(objectType, original.objectType) && isSameNativeObject(indexType, original.indexType)) - return original - return updateNodeByNode(TSIndexedAccessType.createTSIndexedAccessType(objectType, indexType), original) - } - , - createTSQualifiedName(left?: Expression, right?: Identifier): TSQualifiedName { - return TSQualifiedName.createTSQualifiedName(left, right) - } - , - updateTSQualifiedName(original: TSQualifiedName, left?: Expression, right?: Identifier): TSQualifiedName { - if (isSameNativeObject(left, original.left) && isSameNativeObject(right, original.right)) - return original - return updateNodeByNode(TSQualifiedName.createTSQualifiedName(left, right), original) - } - , - createAwaitExpression(argument?: Expression): AwaitExpression { - return AwaitExpression.createAwaitExpression(argument) - } - , - updateAwaitExpression(original: AwaitExpression, argument?: Expression): AwaitExpression { - if (isSameNativeObject(argument, original.argument)) - return original - return updateNodeByNode(AwaitExpression.createAwaitExpression(argument), original) - } - , - createContinueStatement(ident?: Identifier): ContinueStatement { - return ContinueStatement.create1ContinueStatement(ident) - } - , - updateContinueStatement(original: ContinueStatement, ident?: Identifier): ContinueStatement { - if (isSameNativeObject(ident, original.ident)) - return original - return updateNodeByNode(ContinueStatement.create1ContinueStatement(ident), original) - } - , - createETSNewMultiDimArrayInstanceExpression(typeReference: TypeNode | undefined, dimensions: readonly Expression[]): ETSNewMultiDimArrayInstanceExpression { - return ETSNewMultiDimArrayInstanceExpression.createETSNewMultiDimArrayInstanceExpression(typeReference, dimensions) - } - , - updateETSNewMultiDimArrayInstanceExpression(original: ETSNewMultiDimArrayInstanceExpression, typeReference: TypeNode | undefined, dimensions: readonly Expression[]): ETSNewMultiDimArrayInstanceExpression { - if (isSameNativeObject(typeReference, original.typeReference) && isSameNativeObject(dimensions, original.dimensions)) - return original - return updateNodeByNode(ETSNewMultiDimArrayInstanceExpression.createETSNewMultiDimArrayInstanceExpression(typeReference, dimensions), original) - } - , - createTSNamedTupleMember(label: Expression | undefined, elementType: TypeNode | undefined, isOptional: boolean): TSNamedTupleMember { - return TSNamedTupleMember.createTSNamedTupleMember(label, elementType, isOptional) - } - , - updateTSNamedTupleMember(original: TSNamedTupleMember, label: Expression | undefined, elementType: TypeNode | undefined, isOptional: boolean): TSNamedTupleMember { - if (isSameNativeObject(label, original.label) && isSameNativeObject(elementType, original.elementType) && isSameNativeObject(isOptional, original.isOptional)) - return original - return updateNodeByNode(TSNamedTupleMember.createTSNamedTupleMember(label, elementType, isOptional), original) - } - , - createImportExpression(source?: Expression): ImportExpression { - return ImportExpression.createImportExpression(source) - } - , - updateImportExpression(original: ImportExpression, source?: Expression): ImportExpression { - if (isSameNativeObject(source, original.source)) - return original - return updateNodeByNode(ImportExpression.createImportExpression(source), original) - } - , - createETSNullType(): ETSNullType { - return ETSNullType.createETSNullType() - } - , - updateETSNullType(original: ETSNullType): ETSNullType { - return updateNodeByNode(ETSNullType.createETSNullType(), original) - } - , - createETSUndefinedType(): ETSUndefinedType { - return ETSUndefinedType.createETSUndefinedType() - } - , - updateETSUndefinedType(original: ETSUndefinedType): ETSUndefinedType { - return updateNodeByNode(ETSUndefinedType.createETSUndefinedType(), original) - } - , - createTypeofExpression(argument?: Expression): TypeofExpression { - return TypeofExpression.createTypeofExpression(argument) - } - , - updateTypeofExpression(original: TypeofExpression, argument?: Expression): TypeofExpression { - if (isSameNativeObject(argument, original.argument)) - return original - return updateNodeByNode(TypeofExpression.createTypeofExpression(argument), original) - } - , - createTSEnumMember(key: Expression | undefined, init: Expression | undefined, isGenerated: boolean): TSEnumMember { - return TSEnumMember.create1TSEnumMember(key, init, isGenerated) - } - , - updateTSEnumMember(original: TSEnumMember, key: Expression | undefined, init: Expression | undefined, isGenerated: boolean): TSEnumMember { - if (isSameNativeObject(key, original.key) && isSameNativeObject(init, original.init) && isSameNativeObject(isGenerated, original.isGenerated)) - return original - return updateNodeByNode(TSEnumMember.create1TSEnumMember(key, init, isGenerated), original) - } - , - createSwitchStatement(discriminant: Expression | undefined, cases: readonly SwitchCaseStatement[]): SwitchStatement { - return SwitchStatement.createSwitchStatement(discriminant, cases) - } - , - updateSwitchStatement(original: SwitchStatement, discriminant: Expression | undefined, cases: readonly SwitchCaseStatement[]): SwitchStatement { - if (isSameNativeObject(discriminant, original.discriminant) && isSameNativeObject(cases, original.cases)) - return original - return updateNodeByNode(SwitchStatement.createSwitchStatement(discriminant, cases), original) - } - , - createDoWhileStatement(body?: Statement, test?: Expression): DoWhileStatement { - return DoWhileStatement.createDoWhileStatement(body, test) - } - , - updateDoWhileStatement(original: DoWhileStatement, body?: Statement, test?: Expression): DoWhileStatement { - if (isSameNativeObject(body, original.body) && isSameNativeObject(test, original.test)) - return original - return updateNodeByNode(DoWhileStatement.createDoWhileStatement(body, test), original) - } - , - createCatchClause(param?: Expression, body?: BlockStatement): CatchClause { - return CatchClause.createCatchClause(param, body) - } - , - updateCatchClause(original: CatchClause, param?: Expression, body?: BlockStatement): CatchClause { - if (isSameNativeObject(param, original.param) && isSameNativeObject(body, original.body)) - return original - return updateNodeByNode(CatchClause.createCatchClause(param, body), original) - } - , - createSequenceExpression(sequence: readonly Expression[]): SequenceExpression { - return SequenceExpression.createSequenceExpression(sequence) - } - , - updateSequenceExpression(original: SequenceExpression, sequence: readonly Expression[]): SequenceExpression { - if (isSameNativeObject(sequence, original.sequence)) - return original - return updateNodeByNode(SequenceExpression.createSequenceExpression(sequence), original) - } - , - createArrowFunctionExpression(_function: ScriptFunction, annotations?: readonly AnnotationUsage[]): ArrowFunctionExpression { - return ArrowFunctionExpression.createArrowFunctionExpression(_function, annotations) - } - , - updateArrowFunctionExpression(original: ArrowFunctionExpression, _function: ScriptFunction, annotations?: readonly AnnotationUsage[]): ArrowFunctionExpression { - if (isSameNativeObject(_function, original.function) && isSameNativeObject(annotations, original.annotations)) - return original - return updateNodeByNode(ArrowFunctionExpression.createArrowFunctionExpression(_function, annotations), original) - } - , - createOmittedExpression(): OmittedExpression { - return OmittedExpression.createOmittedExpression() - } - , - updateOmittedExpression(original: OmittedExpression): OmittedExpression { - return updateNodeByNode(OmittedExpression.createOmittedExpression(), original) - } - , - createETSNewClassInstanceExpression(typeRef: Expression | undefined, _arguments: readonly Expression[]): ETSNewClassInstanceExpression { - return ETSNewClassInstanceExpression.createETSNewClassInstanceExpression(typeRef, _arguments) - } - , - updateETSNewClassInstanceExpression(original: ETSNewClassInstanceExpression, typeRef: Expression | undefined, _arguments: readonly Expression[]): ETSNewClassInstanceExpression { - if (isSameNativeObject(typeRef, original.typeRef) && isSameNativeObject(_arguments, original.arguments)) - return original - return updateNodeByNode(ETSNewClassInstanceExpression.createETSNewClassInstanceExpression(typeRef, _arguments), original) - } - , - createTSAsExpression(expr: Expression | undefined, typeAnnotation: TypeNode | undefined, isConst: boolean): TSAsExpression { - return TSAsExpression.createTSAsExpression(expr, typeAnnotation, isConst) - } - , - updateTSAsExpression(original: TSAsExpression, expr: Expression | undefined, typeAnnotation: TypeNode | undefined, isConst: boolean): TSAsExpression { - if (isSameNativeObject(expr, original.expr) && isSameNativeObject(typeAnnotation, original.typeAnnotation) && isSameNativeObject(isConst, original.isConst)) - return original - return updateNodeByNode(TSAsExpression.createTSAsExpression(expr, typeAnnotation, isConst), original) - } - , - createForUpdateStatement(init?: AstNode, test?: Expression, update?: Expression, body?: Statement): ForUpdateStatement { - return ForUpdateStatement.createForUpdateStatement(init, test, update, body) - } - , - updateForUpdateStatement(original: ForUpdateStatement, init?: AstNode, test?: Expression, update?: Expression, body?: Statement): ForUpdateStatement { - if (isSameNativeObject(init, original.init) && isSameNativeObject(test, original.test) && isSameNativeObject(update, original.update) && isSameNativeObject(body, original.body)) - return original - return updateNodeByNode(ForUpdateStatement.createForUpdateStatement(init, test, update, body), original) - } - , - createETSPrimitiveType(primitiveType: Es2pandaPrimitiveType): ETSPrimitiveType { - return ETSPrimitiveType.createETSPrimitiveType(primitiveType) - } - , - updateETSPrimitiveType(original: ETSPrimitiveType, primitiveType: Es2pandaPrimitiveType): ETSPrimitiveType { - if (isSameNativeObject(primitiveType, original.primitiveType)) - return original - return updateNodeByNode(ETSPrimitiveType.createETSPrimitiveType(primitiveType), original) - } - , - createNewExpression(callee: Expression | undefined, _arguments: readonly Expression[]): NewExpression { - return NewExpression.createNewExpression(callee, _arguments) - } - , - updateNewExpression(original: NewExpression, callee: Expression | undefined, _arguments: readonly Expression[]): NewExpression { - if (isSameNativeObject(callee, original.callee) && isSameNativeObject(_arguments, original.arguments)) - return original - return updateNodeByNode(NewExpression.createNewExpression(callee, _arguments), original) - } - , - createTSThisType(): TSThisType { - return TSThisType.createTSThisType() - } - , - updateTSThisType(original: TSThisType): TSThisType { - return updateNodeByNode(TSThisType.createTSThisType(), original) - } - , -} diff --git a/ui2abc/libarkts/generated/index.ts b/ui2abc/libarkts/generated/index.ts deleted file mode 100644 index 0f83da4c6..000000000 --- a/ui2abc/libarkts/generated/index.ts +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - - -export * from "./peers/SourcePosition" -export * from "./peers/SourceRange" -export * from "./peers/SrcDumper" -export * from "./peers/AstDumper" -export * from "./peers/LabelPair" -export * from "./peers/ScriptFunctionData" -export * from "./peers/ImportSource" -export * from "./peers/SignatureInfo" -export * from "./peers/ValidationInfo" -export * from "./peers/IndexInfo" -export * from "./peers/ObjectDescriptor" -export * from "./peers/ScopeFindResult" -export * from "./peers/BindingProps" -export * from "./peers/Declaration" -export * from "./peers/AstVisitor" -export * from "./peers/AstVerifier" -export * from "./peers/VerifierMessage" -export * from "./peers/CodeGen" -export * from "./peers/VReg" -export * from "./peers/IRNode" -export * from "./peers/ErrorLogger" -export * from "./peers/VerificationContext" -export * from "./peers/DynamicImportData" -export * from "./peers/SuggestionInfo" -export * from "./peers/DiagnosticInfo" -export * from "./peers/NumberLiteral" -export * from "./peers/TypedAstNode" -export * from "./peers/AnnotatedAstNode" -export * from "./peers/TypedStatement" -export * from "./peers/AnnotatedStatement" -export * from "./peers/LabelledStatement" -export * from "./peers/ThrowStatement" -export * from "./peers/ClassProperty" -export * from "./peers/TSVoidKeyword" -export * from "./peers/ETSFunctionType" -export * from "./peers/TSTypeOperator" -export * from "./peers/IfStatement" -export * from "./peers/TSConstructorType" -export * from "./peers/Decorator" -export * from "./peers/TSEnumDeclaration" -export * from "./peers/TSNeverKeyword" -export * from "./peers/ImportDefaultSpecifier" -export * from "./peers/ObjectExpression" -export * from "./peers/ImportSpecifier" -export * from "./peers/ConditionalExpression" -export * from "./peers/CallExpression" -export * from "./peers/BigIntLiteral" -export * from "./peers/ClassElement" -export * from "./peers/TSImportType" -export * from "./peers/TaggedTemplateExpression" -export * from "./peers/FunctionDeclaration" -export * from "./peers/ETSTypeReference" -export * from "./peers/TSTypeReference" -export * from "./peers/NamedType" -export * from "./peers/TSFunctionType" -export * from "./peers/TemplateElement" -export * from "./peers/TSInterfaceDeclaration" -export * from "./peers/VariableDeclaration" -export * from "./peers/UndefinedLiteral" -export * from "./peers/MemberExpression" -export * from "./peers/TSClassImplements" -export * from "./peers/TSObjectKeyword" -export * from "./peers/ETSUnionType" -export * from "./peers/ETSKeyofType" -export * from "./peers/TSPropertySignature" -export * from "./peers/TSConditionalType" -export * from "./peers/TSLiteralType" -export * from "./peers/TSTypeAliasDeclaration" -export * from "./peers/DebuggerStatement" -export * from "./peers/ReturnStatement" -export * from "./peers/ExportDefaultDeclaration" -export * from "./peers/ScriptFunction" -export * from "./peers/ClassDefinition" -export * from "./peers/ArrayExpression" -export * from "./peers/TSInterfaceBody" -export * from "./peers/TSTypeQuery" -export * from "./peers/TSBigintKeyword" -export * from "./peers/Property" -export * from "./peers/VariableDeclarator" -export * from "./peers/StringLiteral" -export * from "./peers/TSTypeAssertion" -export * from "./peers/TSExternalModuleReference" -export * from "./peers/TSUndefinedKeyword" -export * from "./peers/ETSTuple" -export * from "./peers/ETSStringLiteralType" -export * from "./peers/TryStatement" -export * from "./peers/UnaryExpression" -export * from "./peers/ForInStatement" -export * from "./peers/ThisExpression" -export * from "./peers/TSMethodSignature" -export * from "./peers/BinaryExpression" -export * from "./peers/SuperExpression" -export * from "./peers/AssertStatement" -export * from "./peers/TSStringKeyword" -export * from "./peers/AssignmentExpression" -export * from "./peers/ExpressionStatement" -export * from "./peers/ETSModule" -export * from "./peers/MetaProperty" -export * from "./peers/TSArrayType" -export * from "./peers/TSSignatureDeclaration" -export * from "./peers/ExportAllDeclaration" -export * from "./peers/ExportSpecifier" -export * from "./peers/TSTupleType" -export * from "./peers/FunctionExpression" -export * from "./peers/TSIndexSignature" -export * from "./peers/TSModuleDeclaration" -export * from "./peers/ImportDeclaration" -export * from "./peers/TSParenthesizedType" -export * from "./peers/Literal" -export * from "./peers/CharLiteral" -export * from "./peers/ETSIntrinsicNode" -export * from "./peers/ETSPackageDeclaration" -export * from "./peers/ETSImportDeclaration" -export * from "./peers/ETSStructDeclaration" -export * from "./peers/TSModuleBlock" -export * from "./peers/ETSNewArrayInstanceExpression" -export * from "./peers/LoopStatement" -export * from "./peers/AnnotationDeclaration" -export * from "./peers/AnnotationUsage" -export * from "./peers/EmptyStatement" -export * from "./peers/WhileStatement" -export * from "./peers/FunctionSignature" -export * from "./peers/ChainExpression" -export * from "./peers/TSIntersectionType" -export * from "./peers/UpdateExpression" -export * from "./peers/BlockExpression" -export * from "./peers/TSTypeLiteral" -export * from "./peers/TSTypeParameter" -export * from "./peers/TSBooleanKeyword" -export * from "./peers/SpreadElement" -export * from "./peers/TSTypePredicate" -export * from "./peers/ImportNamespaceSpecifier" -export * from "./peers/ExportNamedDeclaration" -export * from "./peers/ETSParameterExpression" -export * from "./peers/TSTypeParameterInstantiation" -export * from "./peers/NullLiteral" -export * from "./peers/TSInferType" -export * from "./peers/SwitchCaseStatement" -export * from "./peers/YieldExpression" -export * from "./peers/TSImportEqualsDeclaration" -export * from "./peers/BooleanLiteral" -export * from "./peers/TSNumberKeyword" -export * from "./peers/ClassStaticBlock" -export * from "./peers/TSNonNullExpression" -export * from "./peers/PrefixAssertionExpression" -export * from "./peers/ClassExpression" -export * from "./peers/ForOfStatement" -export * from "./peers/TemplateLiteral" -export * from "./peers/TSUnionType" -export * from "./peers/TSUnknownKeyword" -export * from "./peers/Identifier" -export * from "./peers/OpaqueTypeNode" -export * from "./peers/BlockStatement" -export * from "./peers/Statement" -export * from "./peers/DirectEvalExpression" -export * from "./peers/TSTypeParameterDeclaration" -export * from "./peers/MethodDefinition" -export * from "./peers/OverloadDeclaration" -export * from "./peers/TSNullKeyword" -export * from "./peers/TSInterfaceHeritage" -export * from "./peers/Expression" -export * from "./peers/AnnotatedExpression" -export * from "./peers/MaybeOptionalExpression" -export * from "./peers/SrcDumper" -export * from "./peers/ETSClassLiteral" -export * from "./peers/BreakStatement" -export * from "./peers/RegExpLiteral" -export * from "./peers/TSMappedType" -export * from "./peers/TSAnyKeyword" -export * from "./peers/ClassDeclaration" -export * from "./peers/TSIndexedAccessType" -export * from "./peers/TSQualifiedName" -export * from "./peers/AwaitExpression" -export * from "./peers/ValidationInfo" -export * from "./peers/ContinueStatement" -export * from "./peers/ETSNewMultiDimArrayInstanceExpression" -export * from "./peers/TSNamedTupleMember" -export * from "./peers/ImportExpression" -export * from "./peers/AstDumper" -export * from "./peers/ETSNullType" -export * from "./peers/ETSUndefinedType" -export * from "./peers/TypeofExpression" -export * from "./peers/TSEnumMember" -export * from "./peers/SwitchStatement" -export * from "./peers/DoWhileStatement" -export * from "./peers/CatchClause" -export * from "./peers/SequenceExpression" -export * from "./peers/ArrowFunctionExpression" -export * from "./peers/OmittedExpression" -export * from "./peers/ETSNewClassInstanceExpression" -export * from "./peers/TSAsExpression" -export * from "./peers/ForUpdateStatement" -export * from "./peers/ETSTypeReferencePart" -export * from "./peers/ETSReExportDeclaration" -export * from "./peers/ETSPrimitiveType" -export * from "./peers/TypeNode" -export * from "./peers/NewExpression" -export * from "./peers/TSParameterProperty" -export * from "./peers/ETSWildcardType" -export * from "./peers/TSThisType" -export * from "./peers/Program" -export * from "./peers/ArkTsConfig" diff --git a/ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts b/ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts deleted file mode 100644 index ac2dd7078..000000000 --- a/ui2abc/libarkts/generated/peers/AnnotatedAstNode.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" - -export class AnnotatedAstNode extends AstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - protected readonly brandAnnotatedAstNode: undefined -} -export function isAnnotatedAstNode(node: object | undefined): node is AnnotatedAstNode { - return node instanceof AnnotatedAstNode -} diff --git a/ui2abc/libarkts/generated/peers/AnnotatedExpression.ts b/ui2abc/libarkts/generated/peers/AnnotatedExpression.ts deleted file mode 100644 index 9e7771a48..000000000 --- a/ui2abc/libarkts/generated/peers/AnnotatedExpression.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class AnnotatedExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._AnnotatedExpressionTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._AnnotatedExpressionSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandAnnotatedExpression: undefined -} -export function isAnnotatedExpression(node: object | undefined): node is AnnotatedExpression { - return node instanceof AnnotatedExpression -} diff --git a/ui2abc/libarkts/generated/peers/AnnotatedStatement.ts b/ui2abc/libarkts/generated/peers/AnnotatedStatement.ts deleted file mode 100644 index b9593ac04..000000000 --- a/ui2abc/libarkts/generated/peers/AnnotatedStatement.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class AnnotatedStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - protected readonly brandAnnotatedStatement: undefined -} -export function isAnnotatedStatement(node: object | undefined): node is AnnotatedStatement { - return node instanceof AnnotatedStatement -} diff --git a/ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts b/ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts deleted file mode 100644 index 80bad6333..000000000 --- a/ui2abc/libarkts/generated/peers/AnnotationDeclaration.ts +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { SrcDumper } from "./SrcDumper" -import { Statement } from "./Statement" - -export class AnnotationDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1AnnotationDeclaration(expr: Expression | undefined, properties: readonly AstNode[]): AnnotationDeclaration { - const result: AnnotationDeclaration = new AnnotationDeclaration(global.generatedEs2panda._CreateAnnotationDeclaration1(global.context, passNode(expr), passNodeArray(properties), properties.length), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateAnnotationDeclaration(original?: AnnotationDeclaration, expr?: Expression): AnnotationDeclaration { - const result: AnnotationDeclaration = new AnnotationDeclaration(global.generatedEs2panda._UpdateAnnotationDeclaration(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_DECLARATION) - result.setChildrenParentPtr() - return result - } - static update1AnnotationDeclaration(original: AnnotationDeclaration | undefined, expr: Expression | undefined, properties: readonly AstNode[]): AnnotationDeclaration { - const result: AnnotationDeclaration = new AnnotationDeclaration(global.generatedEs2panda._UpdateAnnotationDeclaration1(global.context, passNode(original), passNode(expr), passNodeArray(properties), properties.length), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_DECLARATION) - result.setChildrenParentPtr() - return result - } - get internalName(): string { - return unpackString(global.generatedEs2panda._AnnotationDeclarationInternalNameConst(global.context, this.peer)) - } - /** @deprecated */ - setInternalName(internalName: string): this { - global.generatedEs2panda._AnnotationDeclarationSetInternalName(global.context, this.peer, internalName) - return this - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AnnotationDeclarationExpr(global.context, this.peer)) - } - get properties(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._AnnotationDeclarationProperties(global.context, this.peer)) - } - get propertiesForUpdate(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._AnnotationDeclarationPropertiesForUpdate(global.context, this.peer)) - } - /** @deprecated */ - addProperties(properties: readonly AstNode[]): this { - global.generatedEs2panda._AnnotationDeclarationAddProperties(global.context, this.peer, passNodeArray(properties), properties.length) - return this - } - get isSourceRetention(): boolean { - return global.generatedEs2panda._AnnotationDeclarationIsSourceRetentionConst(global.context, this.peer) - } - get isBytecodeRetention(): boolean { - return global.generatedEs2panda._AnnotationDeclarationIsBytecodeRetentionConst(global.context, this.peer) - } - get isRuntimeRetention(): boolean { - return global.generatedEs2panda._AnnotationDeclarationIsRuntimeRetentionConst(global.context, this.peer) - } - /** @deprecated */ - setSourceRetention(): this { - global.generatedEs2panda._AnnotationDeclarationSetSourceRetention(global.context, this.peer) - return this - } - /** @deprecated */ - setBytecodeRetention(): this { - global.generatedEs2panda._AnnotationDeclarationSetBytecodeRetention(global.context, this.peer) - return this - } - /** @deprecated */ - setRuntimeRetention(): this { - global.generatedEs2panda._AnnotationDeclarationSetRuntimeRetention(global.context, this.peer) - return this - } - get baseName(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._AnnotationDeclarationGetBaseNameConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - /** @deprecated */ - emplaceProperties(properties?: AstNode): this { - global.generatedEs2panda._AnnotationDeclarationEmplaceProperties(global.context, this.peer, passNode(properties)) - return this - } - /** @deprecated */ - clearProperties(): this { - global.generatedEs2panda._AnnotationDeclarationClearProperties(global.context, this.peer) - return this - } - /** @deprecated */ - setValueProperties(properties: AstNode | undefined, index: number): this { - global.generatedEs2panda._AnnotationDeclarationSetValueProperties(global.context, this.peer, passNode(properties), index) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._AnnotationDeclarationHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._AnnotationDeclarationEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._AnnotationDeclarationClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._AnnotationDeclarationDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._AnnotationDeclarationAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._AnnotationDeclarationAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._AnnotationDeclarationSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._AnnotationDeclarationSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandAnnotationDeclaration: undefined -} -export function isAnnotationDeclaration(node: object | undefined): node is AnnotationDeclaration { - return node instanceof AnnotationDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_DECLARATION, (peer: KNativePointer) => new AnnotationDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/AnnotationUsage.ts b/ui2abc/libarkts/generated/peers/AnnotationUsage.ts deleted file mode 100644 index 8425218a8..000000000 --- a/ui2abc/libarkts/generated/peers/AnnotationUsage.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class AnnotationUsage extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1AnnotationUsage(expr: Expression | undefined, properties: readonly AstNode[]): AnnotationUsage { - const result: AnnotationUsage = new AnnotationUsage(global.generatedEs2panda._CreateAnnotationUsage1(global.context, passNode(expr), passNodeArray(properties), properties.length), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - result.setChildrenParentPtr() - return result - } - static updateAnnotationUsage(original?: AnnotationUsage, expr?: Expression): AnnotationUsage { - const result: AnnotationUsage = new AnnotationUsage(global.generatedEs2panda._UpdateAnnotationUsage(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - result.setChildrenParentPtr() - return result - } - static update1AnnotationUsage(original: AnnotationUsage | undefined, expr: Expression | undefined, properties: readonly AstNode[]): AnnotationUsage { - const result: AnnotationUsage = new AnnotationUsage(global.generatedEs2panda._UpdateAnnotationUsage1(global.context, passNode(original), passNode(expr), passNodeArray(properties), properties.length), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AnnotationUsageExpr(global.context, this.peer)) - } - get properties(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._AnnotationUsageProperties(global.context, this.peer)) - } - /** @deprecated */ - addProperty(property?: AstNode): this { - global.generatedEs2panda._AnnotationUsageAddProperty(global.context, this.peer, passNode(property)) - return this - } - /** @deprecated */ - setProperties(properties: readonly AstNode[]): this { - global.generatedEs2panda._AnnotationUsageSetProperties(global.context, this.peer, passNodeArray(properties), properties.length) - return this - } - get baseName(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._AnnotationUsageGetBaseNameConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandAnnotationUsage: undefined -} -export function isAnnotationUsage(node: object | undefined): node is AnnotationUsage { - return node instanceof AnnotationUsage -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE, (peer: KNativePointer) => new AnnotationUsage(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE)) -} diff --git a/ui2abc/libarkts/generated/peers/ArkTsConfig.ts b/ui2abc/libarkts/generated/peers/ArkTsConfig.ts deleted file mode 100644 index 265de29b4..000000000 --- a/ui2abc/libarkts/generated/peers/ArkTsConfig.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ErrorLogger } from "./ErrorLogger" - -export class ArkTsConfig extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - static createArkTsConfig(configPath: string, de?: ErrorLogger): ArkTsConfig { - return new ArkTsConfig(global.generatedEs2panda._CreateArkTsConfig(global.context, configPath, passNode(de))) - } - /** @deprecated */ - resolveAllDependenciesInArkTsConfig(): this { - global.generatedEs2panda._ArkTsConfigResolveAllDependenciesInArkTsConfig(global.context, this.peer) - return this - } - get configPath(): string { - return unpackString(global.generatedEs2panda._ArkTsConfigConfigPathConst(global.context, this.peer)) - } - get package(): string { - return unpackString(global.generatedEs2panda._ArkTsConfigPackageConst(global.context, this.peer)) - } - get baseUrl(): string { - return unpackString(global.generatedEs2panda._ArkTsConfigBaseUrlConst(global.context, this.peer)) - } - get rootDir(): string { - return unpackString(global.generatedEs2panda._ArkTsConfigRootDirConst(global.context, this.peer)) - } - get outDir(): string { - return unpackString(global.generatedEs2panda._ArkTsConfigOutDirConst(global.context, this.peer)) - } - get cacheDir(): string { - return unpackString(global.generatedEs2panda._ArkTsConfigCacheDirConst(global.context, this.peer)) - } - get useUrl(): boolean { - return global.generatedEs2panda._ArkTsConfigUseUrlConst(global.context, this.peer) - } - protected readonly brandArkTsConfig: undefined -} -export function isArkTsConfig(node: object | undefined): node is ArkTsConfig { - return node instanceof ArkTsConfig -} diff --git a/ui2abc/libarkts/generated/peers/ArrayExpression.ts b/ui2abc/libarkts/generated/peers/ArrayExpression.ts deleted file mode 100644 index 74d2796a5..000000000 --- a/ui2abc/libarkts/generated/peers/ArrayExpression.ts +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" -import { ValidationInfo } from "./ValidationInfo" - -export class ArrayExpression extends AnnotatedExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1ArrayExpression(nodeType: Es2pandaAstNodeType, elements: readonly Expression[], trailingComma: boolean): ArrayExpression { - const result: ArrayExpression = new ArrayExpression(global.generatedEs2panda._CreateArrayExpression1(global.context, nodeType, passNodeArray(elements), elements.length, trailingComma), Es2pandaAstNodeType.AST_NODE_TYPE_ARRAY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateArrayExpression(original: ArrayExpression | undefined, elements: readonly Expression[]): ArrayExpression { - const result: ArrayExpression = new ArrayExpression(global.generatedEs2panda._UpdateArrayExpression(global.context, passNode(original), passNodeArray(elements), elements.length), Es2pandaAstNodeType.AST_NODE_TYPE_ARRAY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static update1ArrayExpression(original: ArrayExpression | undefined, nodeType: Es2pandaAstNodeType, elements: readonly Expression[], trailingComma: boolean): ArrayExpression { - const result: ArrayExpression = new ArrayExpression(global.generatedEs2panda._UpdateArrayExpression1(global.context, passNode(original), nodeType, passNodeArray(elements), elements.length, trailingComma), Es2pandaAstNodeType.AST_NODE_TYPE_ARRAY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get elements(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ArrayExpressionElements(global.context, this.peer)) - } - /** @deprecated */ - setElements(elements: readonly Expression[]): this { - global.generatedEs2panda._ArrayExpressionSetElements(global.context, this.peer, passNodeArray(elements), elements.length) - return this - } - get isDeclaration(): boolean { - return global.generatedEs2panda._ArrayExpressionIsDeclarationConst(global.context, this.peer) - } - get isOptional(): boolean { - return global.generatedEs2panda._ArrayExpressionIsOptionalConst(global.context, this.peer) - } - /** @deprecated */ - setDeclaration(): this { - global.generatedEs2panda._ArrayExpressionSetDeclaration(global.context, this.peer) - return this - } - /** @deprecated */ - setOptional(optional_arg: boolean): this { - global.generatedEs2panda._ArrayExpressionSetOptional(global.context, this.peer, optional_arg) - return this - } - /** @deprecated */ - clearPreferredType(): this { - global.generatedEs2panda._ArrayExpressionClearPreferredType(global.context, this.peer) - return this - } - get convertibleToArrayPattern(): boolean { - return global.generatedEs2panda._ArrayExpressionConvertibleToArrayPattern(global.context, this.peer) - } - get validateExpression(): ValidationInfo | undefined { - return new ValidationInfo(global.generatedEs2panda._ArrayExpressionValidateExpression(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ArrayExpressionTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._ArrayExpressionSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandArrayExpression: undefined -} -export function isArrayExpression(node: object | undefined): node is ArrayExpression { - return node instanceof ArrayExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ARRAY_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ARRAY_EXPRESSION, (peer: KNativePointer) => new ArrayExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ARRAY_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts b/ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts deleted file mode 100644 index fd683a2c1..000000000 --- a/ui2abc/libarkts/generated/peers/ArrowFunctionExpression.ts +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { ScriptFunction } from "./ScriptFunction" -import { SrcDumper } from "./SrcDumper" -import { TypeNode } from "./TypeNode" - -export class ArrowFunctionExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createArrowFunctionExpression(func?: ScriptFunction, annotations?: readonly AnnotationUsage[]): ArrowFunctionExpression { - const result: ArrowFunctionExpression = new ArrowFunctionExpression(global.generatedEs2panda._CreateArrowFunctionExpression(global.context, passNode(func)), Es2pandaAstNodeType.AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateArrowFunctionExpression(original?: ArrowFunctionExpression, func?: ScriptFunction, annotations?: readonly AnnotationUsage[]): ArrowFunctionExpression { - const result: ArrowFunctionExpression = new ArrowFunctionExpression(global.generatedEs2panda._UpdateArrowFunctionExpression(global.context, passNode(original), passNode(func)), Es2pandaAstNodeType.AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static update1ArrowFunctionExpression(original?: ArrowFunctionExpression, other?: ArrowFunctionExpression, annotations?: readonly AnnotationUsage[]): ArrowFunctionExpression { - const result: ArrowFunctionExpression = new ArrowFunctionExpression(global.generatedEs2panda._UpdateArrowFunctionExpression1(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get function(): ScriptFunction { - return unpackNonNullableNode(global.generatedEs2panda._ArrowFunctionExpressionFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - } - get createTypeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ArrowFunctionExpressionCreateTypeAnnotation(global.context, this.peer)) - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._ArrowFunctionExpressionHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._ArrowFunctionExpressionEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._ArrowFunctionExpressionClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._ArrowFunctionExpressionDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ArrowFunctionExpressionAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ArrowFunctionExpressionAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ArrowFunctionExpressionSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ArrowFunctionExpressionSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandArrowFunctionExpression: undefined -} -export function isArrowFunctionExpression(node: object | undefined): node is ArrowFunctionExpression { - return node instanceof ArrowFunctionExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION, (peer: KNativePointer) => new ArrowFunctionExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ARROW_FUNCTION_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/AssertStatement.ts b/ui2abc/libarkts/generated/peers/AssertStatement.ts deleted file mode 100644 index 42fe635e5..000000000 --- a/ui2abc/libarkts/generated/peers/AssertStatement.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class AssertStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createAssertStatement(test?: Expression, second?: Expression): AssertStatement { - const result: AssertStatement = new AssertStatement(global.generatedEs2panda._CreateAssertStatement(global.context, passNode(test), passNode(second)), Es2pandaAstNodeType.AST_NODE_TYPE_ASSERT_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateAssertStatement(original?: AssertStatement, test?: Expression, second?: Expression): AssertStatement { - const result: AssertStatement = new AssertStatement(global.generatedEs2panda._UpdateAssertStatement(global.context, passNode(original), passNode(test), passNode(second)), Es2pandaAstNodeType.AST_NODE_TYPE_ASSERT_STATEMENT) - result.setChildrenParentPtr() - return result - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AssertStatementTest(global.context, this.peer)) - } - get second(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AssertStatementSecondConst(global.context, this.peer)) - } - protected readonly brandAssertStatement: undefined -} -export function isAssertStatement(node: object | undefined): node is AssertStatement { - return node instanceof AssertStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ASSERT_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ASSERT_STATEMENT, (peer: KNativePointer) => new AssertStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ASSERT_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/AssignmentExpression.ts b/ui2abc/libarkts/generated/peers/AssignmentExpression.ts deleted file mode 100644 index e5347b468..000000000 --- a/ui2abc/libarkts/generated/peers/AssignmentExpression.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { CodeGen } from "./CodeGen" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTokenType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class AssignmentExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1AssignmentExpression(type: Es2pandaAstNodeType, left: Expression | undefined, right: Expression | undefined, assignmentOperator: Es2pandaTokenType): AssignmentExpression { - const result: AssignmentExpression = new AssignmentExpression(global.generatedEs2panda._CreateAssignmentExpression1(global.context, type, passNode(left), passNode(right), assignmentOperator), Es2pandaAstNodeType.AST_NODE_TYPE_ASSIGNMENT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateAssignmentExpression(original: AssignmentExpression | undefined, left: Expression | undefined, right: Expression | undefined, assignmentOperator: Es2pandaTokenType): AssignmentExpression { - const result: AssignmentExpression = new AssignmentExpression(global.generatedEs2panda._UpdateAssignmentExpression(global.context, passNode(original), passNode(left), passNode(right), assignmentOperator), Es2pandaAstNodeType.AST_NODE_TYPE_ASSIGNMENT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static update1AssignmentExpression(original: AssignmentExpression | undefined, type: Es2pandaAstNodeType, left: Expression | undefined, right: Expression | undefined, assignmentOperator: Es2pandaTokenType): AssignmentExpression { - const result: AssignmentExpression = new AssignmentExpression(global.generatedEs2panda._UpdateAssignmentExpression1(global.context, passNode(original), type, passNode(left), passNode(right), assignmentOperator), Es2pandaAstNodeType.AST_NODE_TYPE_ASSIGNMENT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get left(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AssignmentExpressionLeft(global.context, this.peer)) - } - get right(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AssignmentExpressionRight(global.context, this.peer)) - } - /** @deprecated */ - setRight(expr?: Expression): this { - global.generatedEs2panda._AssignmentExpressionSetRight(global.context, this.peer, passNode(expr)) - return this - } - /** @deprecated */ - setLeft(expr?: Expression): this { - global.generatedEs2panda._AssignmentExpressionSetLeft(global.context, this.peer, passNode(expr)) - return this - } - get result(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AssignmentExpressionResult(global.context, this.peer)) - } - get operatorType(): Es2pandaTokenType { - return global.generatedEs2panda._AssignmentExpressionOperatorTypeConst(global.context, this.peer) - } - /** @deprecated */ - setResult(expr?: Expression): this { - global.generatedEs2panda._AssignmentExpressionSetResult(global.context, this.peer, passNode(expr)) - return this - } - get isLogicalExtended(): boolean { - return global.generatedEs2panda._AssignmentExpressionIsLogicalExtendedConst(global.context, this.peer) - } - /** @deprecated */ - setIgnoreConstAssign(): this { - global.generatedEs2panda._AssignmentExpressionSetIgnoreConstAssign(global.context, this.peer) - return this - } - get isIgnoreConstAssign(): boolean { - return global.generatedEs2panda._AssignmentExpressionIsIgnoreConstAssignConst(global.context, this.peer) - } - get convertibleToAssignmentPatternRight(): boolean { - return global.generatedEs2panda._AssignmentExpressionConvertibleToAssignmentPatternRight(global.context, this.peer) - } - /** @deprecated */ - compilePattern(pg?: CodeGen): this { - global.generatedEs2panda._AssignmentExpressionCompilePatternConst(global.context, this.peer, passNode(pg)) - return this - } - protected readonly brandAssignmentExpression: undefined -} -export function isAssignmentExpression(node: object | undefined): node is AssignmentExpression { - return node instanceof AssignmentExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ASSIGNMENT_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ASSIGNMENT_EXPRESSION, (peer: KNativePointer) => new AssignmentExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ASSIGNMENT_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/AstDumper.ts b/ui2abc/libarkts/generated/peers/AstDumper.ts deleted file mode 100644 index 4632ad25e..000000000 --- a/ui2abc/libarkts/generated/peers/AstDumper.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class AstDumper extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - static createAstDumper(node: AstNode | undefined, sourceCode: string): AstDumper { - return new AstDumper(global.generatedEs2panda._CreateAstDumper(global.context, passNode(node), sourceCode)) - } - get str(): string { - return unpackString(global.generatedEs2panda._AstDumperStrConst(global.context, this.peer)) - } - protected readonly brandAstDumper: undefined -} -export function isAstDumper(node: object | undefined): node is AstDumper { - return node instanceof AstDumper -} diff --git a/ui2abc/libarkts/generated/peers/AstVerifier.ts b/ui2abc/libarkts/generated/peers/AstVerifier.ts deleted file mode 100644 index 5835883d5..000000000 --- a/ui2abc/libarkts/generated/peers/AstVerifier.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class AstVerifier extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandAstVerifier: undefined -} diff --git a/ui2abc/libarkts/generated/peers/AstVisitor.ts b/ui2abc/libarkts/generated/peers/AstVisitor.ts deleted file mode 100644 index 6242934e9..000000000 --- a/ui2abc/libarkts/generated/peers/AstVisitor.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class AstVisitor extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandAstVisitor: undefined -} diff --git a/ui2abc/libarkts/generated/peers/AwaitExpression.ts b/ui2abc/libarkts/generated/peers/AwaitExpression.ts deleted file mode 100644 index b3c2d2bd7..000000000 --- a/ui2abc/libarkts/generated/peers/AwaitExpression.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class AwaitExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createAwaitExpression(argument?: Expression): AwaitExpression { - const result: AwaitExpression = new AwaitExpression(global.generatedEs2panda._CreateAwaitExpression(global.context, passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_AWAIT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateAwaitExpression(original?: AwaitExpression, argument?: Expression): AwaitExpression { - const result: AwaitExpression = new AwaitExpression(global.generatedEs2panda._UpdateAwaitExpression(global.context, passNode(original), passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_AWAIT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._AwaitExpressionArgumentConst(global.context, this.peer)) - } - protected readonly brandAwaitExpression: undefined -} -export function isAwaitExpression(node: object | undefined): node is AwaitExpression { - return node instanceof AwaitExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_AWAIT_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_AWAIT_EXPRESSION, (peer: KNativePointer) => new AwaitExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_AWAIT_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/BigIntLiteral.ts b/ui2abc/libarkts/generated/peers/BigIntLiteral.ts deleted file mode 100644 index 72f44a499..000000000 --- a/ui2abc/libarkts/generated/peers/BigIntLiteral.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class BigIntLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createBigIntLiteral(src: string): BigIntLiteral { - const result: BigIntLiteral = new BigIntLiteral(global.generatedEs2panda._CreateBigIntLiteral(global.context, src), Es2pandaAstNodeType.AST_NODE_TYPE_BIGINT_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateBigIntLiteral(original: BigIntLiteral | undefined, src: string): BigIntLiteral { - const result: BigIntLiteral = new BigIntLiteral(global.generatedEs2panda._UpdateBigIntLiteral(global.context, passNode(original), src), Es2pandaAstNodeType.AST_NODE_TYPE_BIGINT_LITERAL) - result.setChildrenParentPtr() - return result - } - get str(): string { - return unpackString(global.generatedEs2panda._BigIntLiteralStrConst(global.context, this.peer)) - } - protected readonly brandBigIntLiteral: undefined -} -export function isBigIntLiteral(node: object | undefined): node is BigIntLiteral { - return node instanceof BigIntLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_BIGINT_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_BIGINT_LITERAL, (peer: KNativePointer) => new BigIntLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_BIGINT_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/BinaryExpression.ts b/ui2abc/libarkts/generated/peers/BinaryExpression.ts deleted file mode 100644 index f73aafc58..000000000 --- a/ui2abc/libarkts/generated/peers/BinaryExpression.ts +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { CodeGen } from "./CodeGen" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTokenType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { VReg } from "./VReg" - -export class BinaryExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createBinaryExpression(left: Expression | undefined, right: Expression | undefined, operatorType: Es2pandaTokenType): BinaryExpression { - const result: BinaryExpression = new BinaryExpression(global.generatedEs2panda._CreateBinaryExpression(global.context, passNode(left), passNode(right), operatorType), Es2pandaAstNodeType.AST_NODE_TYPE_BINARY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateBinaryExpression(original: BinaryExpression | undefined, left: Expression | undefined, right: Expression | undefined, operatorType: Es2pandaTokenType): BinaryExpression { - const result: BinaryExpression = new BinaryExpression(global.generatedEs2panda._UpdateBinaryExpression(global.context, passNode(original), passNode(left), passNode(right), operatorType), Es2pandaAstNodeType.AST_NODE_TYPE_BINARY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get left(): Expression | undefined { - return unpackNode(global.generatedEs2panda._BinaryExpressionLeft(global.context, this.peer)) - } - get right(): Expression | undefined { - return unpackNode(global.generatedEs2panda._BinaryExpressionRight(global.context, this.peer)) - } - get result(): Expression | undefined { - return unpackNode(global.generatedEs2panda._BinaryExpressionResult(global.context, this.peer)) - } - get operatorType(): Es2pandaTokenType { - return global.generatedEs2panda._BinaryExpressionOperatorTypeConst(global.context, this.peer) - } - get isLogical(): boolean { - return global.generatedEs2panda._BinaryExpressionIsLogicalConst(global.context, this.peer) - } - get isLogicalExtended(): boolean { - return global.generatedEs2panda._BinaryExpressionIsLogicalExtendedConst(global.context, this.peer) - } - get isBitwise(): boolean { - return global.generatedEs2panda._BinaryExpressionIsBitwiseConst(global.context, this.peer) - } - get isArithmetic(): boolean { - return global.generatedEs2panda._BinaryExpressionIsArithmeticConst(global.context, this.peer) - } - /** @deprecated */ - setLeft(expr?: Expression): this { - global.generatedEs2panda._BinaryExpressionSetLeft(global.context, this.peer, passNode(expr)) - return this - } - /** @deprecated */ - setRight(expr?: Expression): this { - global.generatedEs2panda._BinaryExpressionSetRight(global.context, this.peer, passNode(expr)) - return this - } - /** @deprecated */ - setResult(expr?: Expression): this { - global.generatedEs2panda._BinaryExpressionSetResult(global.context, this.peer, passNode(expr)) - return this - } - /** @deprecated */ - setOperator(operatorType: Es2pandaTokenType): this { - global.generatedEs2panda._BinaryExpressionSetOperator(global.context, this.peer, operatorType) - return this - } - /** @deprecated */ - compileOperands(etsg?: CodeGen, lhs?: VReg): this { - global.generatedEs2panda._BinaryExpressionCompileOperandsConst(global.context, this.peer, passNode(etsg), passNode(lhs)) - return this - } - protected readonly brandBinaryExpression: undefined -} -export function isBinaryExpression(node: object | undefined): node is BinaryExpression { - return node instanceof BinaryExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_BINARY_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_BINARY_EXPRESSION, (peer: KNativePointer) => new BinaryExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_BINARY_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/BindingProps.ts b/ui2abc/libarkts/generated/peers/BindingProps.ts deleted file mode 100644 index 137a39524..000000000 --- a/ui2abc/libarkts/generated/peers/BindingProps.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class BindingProps extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandBindingProps: undefined -} diff --git a/ui2abc/libarkts/generated/peers/BlockExpression.ts b/ui2abc/libarkts/generated/peers/BlockExpression.ts deleted file mode 100644 index fff9a2377..000000000 --- a/ui2abc/libarkts/generated/peers/BlockExpression.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class BlockExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createBlockExpression(statements: readonly Statement[]): BlockExpression { - const result: BlockExpression = new BlockExpression(global.generatedEs2panda._CreateBlockExpression(global.context, passNodeArray(statements), statements.length), Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateBlockExpression(original: BlockExpression | undefined, statements: readonly Statement[]): BlockExpression { - const result: BlockExpression = new BlockExpression(global.generatedEs2panda._UpdateBlockExpression(global.context, passNode(original), passNodeArray(statements), statements.length), Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get statements(): readonly Statement[] { - return unpackNodeArray(global.generatedEs2panda._BlockExpressionStatements(global.context, this.peer)) - } - /** @deprecated */ - addStatements(statements: readonly Statement[]): this { - global.generatedEs2panda._BlockExpressionAddStatements(global.context, this.peer, passNodeArray(statements), statements.length) - return this - } - /** @deprecated */ - addStatement(statement?: Statement): this { - global.generatedEs2panda._BlockExpressionAddStatement(global.context, this.peer, passNode(statement)) - return this - } - protected readonly brandBlockExpression: undefined -} -export function isBlockExpression(node: object | undefined): node is BlockExpression { - return node instanceof BlockExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_EXPRESSION, (peer: KNativePointer) => new BlockExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/BlockStatement.ts b/ui2abc/libarkts/generated/peers/BlockStatement.ts deleted file mode 100644 index 267fe8ffd..000000000 --- a/ui2abc/libarkts/generated/peers/BlockStatement.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class BlockStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createBlockStatement(statementList: readonly Statement[]): BlockStatement { - const result: BlockStatement = new BlockStatement(global.generatedEs2panda._CreateBlockStatement(global.context, passNodeArray(statementList), statementList.length), Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateBlockStatement(original: BlockStatement | undefined, statementList: readonly Statement[]): BlockStatement { - const result: BlockStatement = new BlockStatement(global.generatedEs2panda._UpdateBlockStatement(global.context, passNode(original), passNodeArray(statementList), statementList.length), Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_STATEMENT) - result.setChildrenParentPtr() - return result - } - get statementsForUpdates(): readonly Statement[] { - return unpackNodeArray(global.generatedEs2panda._BlockStatementStatementsForUpdates(global.context, this.peer)) - } - get statements(): readonly Statement[] { - return unpackNodeArray(global.generatedEs2panda._BlockStatementStatements(global.context, this.peer)) - } - /** @deprecated */ - setStatements(statementList: readonly Statement[]): this { - global.generatedEs2panda._BlockStatementSetStatements(global.context, this.peer, passNodeArray(statementList), statementList.length) - return this - } - /** @deprecated */ - addStatements(statementList: readonly Statement[]): this { - global.generatedEs2panda._BlockStatementAddStatements(global.context, this.peer, passNodeArray(statementList), statementList.length) - return this - } - /** @deprecated */ - clearStatements(): this { - global.generatedEs2panda._BlockStatementClearStatements(global.context, this.peer) - return this - } - /** @deprecated */ - addStatement(statement?: Statement): this { - global.generatedEs2panda._BlockStatementAddStatement(global.context, this.peer, passNode(statement)) - return this - } - /** @deprecated */ - addStatement1(idx: number, statement?: Statement): this { - global.generatedEs2panda._BlockStatementAddStatement1(global.context, this.peer, idx, passNode(statement)) - return this - } - /** @deprecated */ - addTrailingBlock(stmt?: AstNode, trailingBlock?: BlockStatement): this { - global.generatedEs2panda._BlockStatementAddTrailingBlock(global.context, this.peer, passNode(stmt), passNode(trailingBlock)) - return this - } - protected readonly brandBlockStatement: undefined -} -export function isBlockStatement(node: object | undefined): node is BlockStatement { - return node instanceof BlockStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_STATEMENT, (peer: KNativePointer) => new BlockStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_BLOCK_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/BooleanLiteral.ts b/ui2abc/libarkts/generated/peers/BooleanLiteral.ts deleted file mode 100644 index 2645d34e1..000000000 --- a/ui2abc/libarkts/generated/peers/BooleanLiteral.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class BooleanLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createBooleanLiteral(value: boolean): BooleanLiteral { - const result: BooleanLiteral = new BooleanLiteral(global.generatedEs2panda._CreateBooleanLiteral(global.context, value), Es2pandaAstNodeType.AST_NODE_TYPE_BOOLEAN_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateBooleanLiteral(original: BooleanLiteral | undefined, value: boolean): BooleanLiteral { - const result: BooleanLiteral = new BooleanLiteral(global.generatedEs2panda._UpdateBooleanLiteral(global.context, passNode(original), value), Es2pandaAstNodeType.AST_NODE_TYPE_BOOLEAN_LITERAL) - result.setChildrenParentPtr() - return result - } - get value(): boolean { - return global.generatedEs2panda._BooleanLiteralValueConst(global.context, this.peer) - } - protected readonly brandBooleanLiteral: undefined -} -export function isBooleanLiteral(node: object | undefined): node is BooleanLiteral { - return node instanceof BooleanLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_BOOLEAN_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_BOOLEAN_LITERAL, (peer: KNativePointer) => new BooleanLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_BOOLEAN_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/BreakStatement.ts b/ui2abc/libarkts/generated/peers/BreakStatement.ts deleted file mode 100644 index 61223382a..000000000 --- a/ui2abc/libarkts/generated/peers/BreakStatement.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class BreakStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1BreakStatement(ident?: Identifier): BreakStatement { - const result: BreakStatement = new BreakStatement(global.generatedEs2panda._CreateBreakStatement1(global.context, passNode(ident)), Es2pandaAstNodeType.AST_NODE_TYPE_BREAK_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateBreakStatement(original?: BreakStatement): BreakStatement { - const result: BreakStatement = new BreakStatement(global.generatedEs2panda._UpdateBreakStatement(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_BREAK_STATEMENT) - result.setChildrenParentPtr() - return result - } - static update1BreakStatement(original?: BreakStatement, ident?: Identifier): BreakStatement { - const result: BreakStatement = new BreakStatement(global.generatedEs2panda._UpdateBreakStatement1(global.context, passNode(original), passNode(ident)), Es2pandaAstNodeType.AST_NODE_TYPE_BREAK_STATEMENT) - result.setChildrenParentPtr() - return result - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._BreakStatementIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get target(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._BreakStatementTargetConst(global.context, this.peer)) - } - get hasTarget(): boolean { - return global.generatedEs2panda._BreakStatementHasTargetConst(global.context, this.peer) - } - /** @deprecated */ - setTarget(target?: AstNode): this { - global.generatedEs2panda._BreakStatementSetTarget(global.context, this.peer, passNode(target)) - return this - } - protected readonly brandBreakStatement: undefined -} -export function isBreakStatement(node: object | undefined): node is BreakStatement { - return node instanceof BreakStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_BREAK_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_BREAK_STATEMENT, (peer: KNativePointer) => new BreakStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_BREAK_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/CallExpression.ts b/ui2abc/libarkts/generated/peers/CallExpression.ts deleted file mode 100644 index c0ad4b56e..000000000 --- a/ui2abc/libarkts/generated/peers/CallExpression.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { BlockStatement } from "./BlockStatement" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { MaybeOptionalExpression } from "./MaybeOptionalExpression" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" - -export class CallExpression extends MaybeOptionalExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createCallExpression(callee: Expression | undefined, _arguments: readonly Expression[], typeParams: TSTypeParameterInstantiation | undefined, optional_arg: boolean, trailingComma: boolean, trailingBlock?: BlockStatement): CallExpression { - const result: CallExpression = new CallExpression(global.generatedEs2panda._CreateCallExpression(global.context, passNode(callee), passNodeArray(_arguments), _arguments.length, passNode(typeParams), optional_arg, trailingComma), Es2pandaAstNodeType.AST_NODE_TYPE_CALL_EXPRESSION) - if (trailingBlock) - { - result.setTrailingBlock(trailingBlock) - } - result.setChildrenParentPtr() - return result - } - static update1CallExpression(original?: CallExpression, other?: CallExpression, trailingBlock?: BlockStatement): CallExpression { - const result: CallExpression = new CallExpression(global.generatedEs2panda._UpdateCallExpression1(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_CALL_EXPRESSION) - if (trailingBlock) - { - result.setTrailingBlock(trailingBlock) - } - result.setChildrenParentPtr() - return result - } - get callee(): Expression | undefined { - return unpackNode(global.generatedEs2panda._CallExpressionCallee(global.context, this.peer)) - } - /** @deprecated */ - setCallee(callee?: Expression): this { - global.generatedEs2panda._CallExpressionSetCallee(global.context, this.peer, passNode(callee)) - return this - } - get typeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._CallExpressionTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - get arguments(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._CallExpressionArguments(global.context, this.peer)) - } - /** @deprecated */ - setArguments(argumentsList: readonly Expression[]): this { - global.generatedEs2panda._CallExpressionSetArguments(global.context, this.peer, passNodeArray(argumentsList), argumentsList.length) - return this - } - get hasTrailingComma(): boolean { - return global.generatedEs2panda._CallExpressionHasTrailingCommaConst(global.context, this.peer) - } - /** @deprecated */ - setTypeParams(typeParams?: TSTypeParameterInstantiation): this { - global.generatedEs2panda._CallExpressionSetTypeParams(global.context, this.peer, passNode(typeParams)) - return this - } - /** @deprecated */ - setTrailingBlock(block?: BlockStatement): this { - global.generatedEs2panda._CallExpressionSetTrailingBlock(global.context, this.peer, passNode(block)) - return this - } - get isExtensionAccessorCall(): boolean { - return global.generatedEs2panda._CallExpressionIsExtensionAccessorCall(global.context, this.peer) - } - get trailingBlock(): BlockStatement | undefined { - return unpackNode(global.generatedEs2panda._CallExpressionTrailingBlockConst(global.context, this.peer)) - } - /** @deprecated */ - setIsTrailingBlockInNewLine(isNewLine: boolean): this { - global.generatedEs2panda._CallExpressionSetIsTrailingBlockInNewLine(global.context, this.peer, isNewLine) - return this - } - get isTrailingBlockInNewLine(): boolean { - return global.generatedEs2panda._CallExpressionIsTrailingBlockInNewLineConst(global.context, this.peer) - } - /** @deprecated */ - setIsTrailingCall(isTrailingCall: boolean): this { - global.generatedEs2panda._CallExpressionSetIsTrailingCall(global.context, this.peer, isTrailingCall) - return this - } - get isTrailingCall(): boolean { - return global.generatedEs2panda._CallExpressionIsTrailingCallConst(global.context, this.peer) - } - get isETSConstructorCall(): boolean { - return global.generatedEs2panda._CallExpressionIsETSConstructorCallConst(global.context, this.peer) - } - get isDynamicCall(): boolean { - return global.generatedEs2panda._CallExpressionIsDynamicCallConst(global.context, this.peer) - } - protected readonly brandCallExpression: undefined -} -export function isCallExpression(node: object | undefined): node is CallExpression { - return node instanceof CallExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CALL_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CALL_EXPRESSION, (peer: KNativePointer) => new CallExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CALL_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/CatchClause.ts b/ui2abc/libarkts/generated/peers/CatchClause.ts deleted file mode 100644 index 3fa55151b..000000000 --- a/ui2abc/libarkts/generated/peers/CatchClause.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { BlockStatement } from "./BlockStatement" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypedStatement } from "./TypedStatement" - -export class CatchClause extends TypedStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createCatchClause(param?: Expression, body?: BlockStatement): CatchClause { - const result: CatchClause = new CatchClause(global.generatedEs2panda._CreateCatchClause(global.context, passNode(param), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE) - result.setChildrenParentPtr() - return result - } - static updateCatchClause(original?: CatchClause, param?: Expression, body?: BlockStatement): CatchClause { - const result: CatchClause = new CatchClause(global.generatedEs2panda._UpdateCatchClause(global.context, passNode(original), passNode(param), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE) - result.setChildrenParentPtr() - return result - } - static update1CatchClause(original?: CatchClause, other?: CatchClause): CatchClause { - const result: CatchClause = new CatchClause(global.generatedEs2panda._UpdateCatchClause1(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE) - result.setChildrenParentPtr() - return result - } - get param(): Expression | undefined { - return unpackNode(global.generatedEs2panda._CatchClauseParam(global.context, this.peer)) - } - get body(): BlockStatement | undefined { - return unpackNode(global.generatedEs2panda._CatchClauseBody(global.context, this.peer)) - } - get isDefaultCatchClause(): boolean { - return global.generatedEs2panda._CatchClauseIsDefaultCatchClauseConst(global.context, this.peer) - } - protected readonly brandCatchClause: undefined -} -export function isCatchClause(node: object | undefined): node is CatchClause { - return node instanceof CatchClause -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE, (peer: KNativePointer) => new CatchClause(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE)) -} diff --git a/ui2abc/libarkts/generated/peers/ChainExpression.ts b/ui2abc/libarkts/generated/peers/ChainExpression.ts deleted file mode 100644 index 8896701c8..000000000 --- a/ui2abc/libarkts/generated/peers/ChainExpression.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { CodeGen } from "./CodeGen" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { VReg } from "./VReg" - -export class ChainExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createChainExpression(expression?: Expression): ChainExpression { - const result: ChainExpression = new ChainExpression(global.generatedEs2panda._CreateChainExpression(global.context, passNode(expression)), Es2pandaAstNodeType.AST_NODE_TYPE_CHAIN_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateChainExpression(original?: ChainExpression, expression?: Expression): ChainExpression { - const result: ChainExpression = new ChainExpression(global.generatedEs2panda._UpdateChainExpression(global.context, passNode(original), passNode(expression)), Es2pandaAstNodeType.AST_NODE_TYPE_CHAIN_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get expression(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ChainExpressionGetExpression(global.context, this.peer)) - } - /** @deprecated */ - compileToReg(pg?: CodeGen, objReg?: VReg): this { - global.generatedEs2panda._ChainExpressionCompileToRegConst(global.context, this.peer, passNode(pg), passNode(objReg)) - return this - } - protected readonly brandChainExpression: undefined -} -export function isChainExpression(node: object | undefined): node is ChainExpression { - return node instanceof ChainExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CHAIN_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CHAIN_EXPRESSION, (peer: KNativePointer) => new ChainExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CHAIN_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/CharLiteral.ts b/ui2abc/libarkts/generated/peers/CharLiteral.ts deleted file mode 100644 index 96793663f..000000000 --- a/ui2abc/libarkts/generated/peers/CharLiteral.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class CharLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createCharLiteral(): CharLiteral { - const result: CharLiteral = new CharLiteral(global.generatedEs2panda._CreateCharLiteral(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_CHAR_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateCharLiteral(original?: CharLiteral): CharLiteral { - const result: CharLiteral = new CharLiteral(global.generatedEs2panda._UpdateCharLiteral(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_CHAR_LITERAL) - result.setChildrenParentPtr() - return result - } - protected readonly brandCharLiteral: undefined -} -export function isCharLiteral(node: object | undefined): node is CharLiteral { - return node instanceof CharLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CHAR_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CHAR_LITERAL, (peer: KNativePointer) => new CharLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CHAR_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/ClassDeclaration.ts b/ui2abc/libarkts/generated/peers/ClassDeclaration.ts deleted file mode 100644 index 3669c5b6d..000000000 --- a/ui2abc/libarkts/generated/peers/ClassDeclaration.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassDefinition } from "./ClassDefinition" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class ClassDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createClassDeclaration(def?: ClassDefinition, modifierFlags?: Es2pandaModifierFlags): ClassDeclaration { - const result: ClassDeclaration = new ClassDeclaration(global.generatedEs2panda._CreateClassDeclaration(global.context, passNode(def)), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DECLARATION) - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - static updateClassDeclaration(original?: ClassDeclaration, def?: ClassDefinition, modifierFlags?: Es2pandaModifierFlags): ClassDeclaration { - const result: ClassDeclaration = new ClassDeclaration(global.generatedEs2panda._UpdateClassDeclaration(global.context, passNode(original), passNode(def)), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DECLARATION) - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - get definition(): ClassDefinition { - return unpackNonNullableNode(global.generatedEs2panda._ClassDeclarationDefinition(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - } - /** @deprecated */ - setDefinition(def?: ClassDefinition): this { - global.generatedEs2panda._ClassDeclarationSetDefinition(global.context, this.peer, passNode(def)) - return this - } - protected readonly brandClassDeclaration: undefined -} -export function isClassDeclaration(node: object | undefined): node is ClassDeclaration { - return node instanceof ClassDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DECLARATION, (peer: KNativePointer) => new ClassDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ClassDefinition.ts b/ui2abc/libarkts/generated/peers/ClassDefinition.ts deleted file mode 100644 index 762edc6f5..000000000 --- a/ui2abc/libarkts/generated/peers/ClassDefinition.ts +++ /dev/null @@ -1,368 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { ClassDeclaration } from "./ClassDeclaration" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaClassDefinitionModifiers } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { MethodDefinition } from "./MethodDefinition" -import { SrcDumper } from "./SrcDumper" -import { TSClassImplements } from "./TSClassImplements" -import { TSEnumDeclaration } from "./TSEnumDeclaration" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" -import { TypedAstNode } from "./TypedAstNode" -import { extension_ClassDefinitionSetBody } from "./../../src/reexport-for-generated" - -export class ClassDefinition extends TypedAstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createClassDefinition(ident: Identifier | undefined, typeParams: TSTypeParameterDeclaration | undefined, superTypeParams: TSTypeParameterInstantiation | undefined, _implements: readonly TSClassImplements[], ctor: MethodDefinition | undefined, superClass: Expression | undefined, body: readonly AstNode[], modifiers: Es2pandaClassDefinitionModifiers, flags: Es2pandaModifierFlags, annotations?: readonly AnnotationUsage[]): ClassDefinition { - const result: ClassDefinition = new ClassDefinition(global.generatedEs2panda._CreateClassDefinition(global.context, passNode(ident), passNode(typeParams), passNode(superTypeParams), passNodeArray(_implements), _implements.length, passNode(ctor), passNode(superClass), passNodeArray(body), body.length, modifiers, flags), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateClassDefinition(original: ClassDefinition | undefined, ident: Identifier | undefined, typeParams: TSTypeParameterDeclaration | undefined, superTypeParams: TSTypeParameterInstantiation | undefined, _implements: readonly TSClassImplements[], ctor: MethodDefinition | undefined, superClass: Expression | undefined, body: readonly AstNode[], modifiers: Es2pandaClassDefinitionModifiers, flags: Es2pandaModifierFlags, annotations?: readonly AnnotationUsage[]): ClassDefinition { - const result: ClassDefinition = new ClassDefinition(global.generatedEs2panda._UpdateClassDefinition(global.context, passNode(original), passNode(ident), passNode(typeParams), passNode(superTypeParams), passNodeArray(_implements), _implements.length, passNode(ctor), passNode(superClass), passNodeArray(body), body.length, modifiers, flags), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static update1ClassDefinition(original: ClassDefinition | undefined, ident: Identifier | undefined, body: readonly AstNode[], modifiers: Es2pandaClassDefinitionModifiers, flags: Es2pandaModifierFlags, annotations?: readonly AnnotationUsage[]): ClassDefinition { - const result: ClassDefinition = new ClassDefinition(global.generatedEs2panda._UpdateClassDefinition1(global.context, passNode(original), passNode(ident), passNodeArray(body), body.length, modifiers, flags), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static update2ClassDefinition(original: ClassDefinition | undefined, ident: Identifier | undefined, modifiers: Es2pandaClassDefinitionModifiers, flags: Es2pandaModifierFlags, annotations?: readonly AnnotationUsage[]): ClassDefinition { - const result: ClassDefinition = new ClassDefinition(global.generatedEs2panda._UpdateClassDefinition2(global.context, passNode(original), passNode(ident), modifiers, flags), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - /** @deprecated */ - setIdent(ident?: Identifier): this { - global.generatedEs2panda._ClassDefinitionSetIdent(global.context, this.peer, passNode(ident)) - return this - } - get internalName(): string { - return unpackString(global.generatedEs2panda._ClassDefinitionInternalNameConst(global.context, this.peer)) - } - get super(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionSuper(global.context, this.peer)) - } - /** @deprecated */ - setSuper(superClass?: Expression): this { - global.generatedEs2panda._ClassDefinitionSetSuper(global.context, this.peer, passNode(superClass)) - return this - } - get isGlobal(): boolean { - return global.generatedEs2panda._ClassDefinitionIsGlobalConst(global.context, this.peer) - } - get isLocal(): boolean { - return global.generatedEs2panda._ClassDefinitionIsLocalConst(global.context, this.peer) - } - get isExtern(): boolean { - return global.generatedEs2panda._ClassDefinitionIsExternConst(global.context, this.peer) - } - get isFromExternal(): boolean { - return global.generatedEs2panda._ClassDefinitionIsFromExternalConst(global.context, this.peer) - } - get isInner(): boolean { - return global.generatedEs2panda._ClassDefinitionIsInnerConst(global.context, this.peer) - } - get isGlobalInitialized(): boolean { - return global.generatedEs2panda._ClassDefinitionIsGlobalInitializedConst(global.context, this.peer) - } - get isClassDefinitionChecked(): boolean { - return global.generatedEs2panda._ClassDefinitionIsClassDefinitionCheckedConst(global.context, this.peer) - } - get isAnonymous(): boolean { - return global.generatedEs2panda._ClassDefinitionIsAnonymousConst(global.context, this.peer) - } - get isIntEnumTransformed(): boolean { - return global.generatedEs2panda._ClassDefinitionIsIntEnumTransformedConst(global.context, this.peer) - } - get isDoubleEnumTransformed(): boolean { - return global.generatedEs2panda._ClassDefinitionIsDoubleEnumTransformedConst(global.context, this.peer) - } - get isStringEnumTransformed(): boolean { - return global.generatedEs2panda._ClassDefinitionIsStringEnumTransformedConst(global.context, this.peer) - } - get isEnumTransformed(): boolean { - return global.generatedEs2panda._ClassDefinitionIsEnumTransformedConst(global.context, this.peer) - } - get isNamespaceTransformed(): boolean { - return global.generatedEs2panda._ClassDefinitionIsNamespaceTransformedConst(global.context, this.peer) - } - get isLazyImportObjectClass(): boolean { - return global.generatedEs2panda._ClassDefinitionIsLazyImportObjectClassConst(global.context, this.peer) - } - get isFromStruct(): boolean { - return global.generatedEs2panda._ClassDefinitionIsFromStructConst(global.context, this.peer) - } - get isInitInCctor(): boolean { - return global.generatedEs2panda._ClassDefinitionIsInitInCctorConst(global.context, this.peer) - } - get isModule(): boolean { - return global.generatedEs2panda._ClassDefinitionIsModuleConst(global.context, this.peer) - } - /** @deprecated */ - setGlobalInitialized(): this { - global.generatedEs2panda._ClassDefinitionSetGlobalInitialized(global.context, this.peer) - return this - } - /** @deprecated */ - setInnerModifier(): this { - global.generatedEs2panda._ClassDefinitionSetInnerModifier(global.context, this.peer) - return this - } - /** @deprecated */ - setClassDefinitionChecked(): this { - global.generatedEs2panda._ClassDefinitionSetClassDefinitionChecked(global.context, this.peer) - return this - } - /** @deprecated */ - setAnonymousModifier(): this { - global.generatedEs2panda._ClassDefinitionSetAnonymousModifier(global.context, this.peer) - return this - } - /** @deprecated */ - setNamespaceTransformed(): this { - global.generatedEs2panda._ClassDefinitionSetNamespaceTransformed(global.context, this.peer) - return this - } - /** @deprecated */ - setLazyImportObjectClass(): this { - global.generatedEs2panda._ClassDefinitionSetLazyImportObjectClass(global.context, this.peer) - return this - } - /** @deprecated */ - setFromStructModifier(): this { - global.generatedEs2panda._ClassDefinitionSetFromStructModifier(global.context, this.peer) - return this - } - /** @deprecated */ - setInitInCctor(): this { - global.generatedEs2panda._ClassDefinitionSetInitInCctor(global.context, this.peer) - return this - } - get modifiers(): Es2pandaClassDefinitionModifiers { - return global.generatedEs2panda._ClassDefinitionModifiersConst(global.context, this.peer) - } - /** @deprecated */ - addProperties(body: readonly AstNode[]): this { - global.generatedEs2panda._ClassDefinitionAddProperties(global.context, this.peer, passNodeArray(body), body.length) - return this - } - get ctor(): MethodDefinition | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionCtor(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get superTypeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionSuperTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - get localTypeCounter(): number { - return global.generatedEs2panda._ClassDefinitionLocalTypeCounter(global.context, this.peer) - } - get localIndex(): number { - return global.generatedEs2panda._ClassDefinitionLocalIndexConst(global.context, this.peer) - } - get functionalReferenceReferencedMethod(): MethodDefinition | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionFunctionalReferenceReferencedMethodConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - } - /** @deprecated */ - setFunctionalReferenceReferencedMethod(functionalReferenceReferencedMethod?: MethodDefinition): this { - global.generatedEs2panda._ClassDefinitionSetFunctionalReferenceReferencedMethod(global.context, this.peer, passNode(functionalReferenceReferencedMethod)) - return this - } - get localPrefix(): string { - return unpackString(global.generatedEs2panda._ClassDefinitionLocalPrefixConst(global.context, this.peer)) - } - get origEnumDecl(): TSEnumDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionOrigEnumDeclConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION) - } - get anonClass(): ClassDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ClassDefinitionGetAnonClass(global.context, this.peer)) - } - get hasPrivateMethod(): boolean { - return global.generatedEs2panda._ClassDefinitionHasPrivateMethodConst(global.context, this.peer) - } - get hasNativeMethod(): boolean { - return global.generatedEs2panda._ClassDefinitionHasNativeMethodConst(global.context, this.peer) - } - get hasComputedInstanceField(): boolean { - return global.generatedEs2panda._ClassDefinitionHasComputedInstanceFieldConst(global.context, this.peer) - } - /** @deprecated */ - addToExportedClasses(cls?: ClassDeclaration): this { - global.generatedEs2panda._ClassDefinitionAddToExportedClasses(global.context, this.peer, passNode(cls)) - return this - } - /** @deprecated */ - setModifiers(modifiers: Es2pandaClassDefinitionModifiers): this { - global.generatedEs2panda._ClassDefinitionSetModifiers(global.context, this.peer, modifiers) - return this - } - /** @deprecated */ - emplaceBody(body?: AstNode): this { - global.generatedEs2panda._ClassDefinitionEmplaceBody(global.context, this.peer, passNode(body)) - return this - } - /** @deprecated */ - clearBody(): this { - global.generatedEs2panda._ClassDefinitionClearBody(global.context, this.peer) - return this - } - /** @deprecated */ - setValueBody(body: AstNode | undefined, index: number): this { - global.generatedEs2panda._ClassDefinitionSetValueBody(global.context, this.peer, passNode(body), index) - return this - } - get body(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._ClassDefinitionBody(global.context, this.peer)) - } - get bodyForUpdate(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._ClassDefinitionBodyForUpdate(global.context, this.peer)) - } - /** @deprecated */ - emplaceImplements(_implements?: TSClassImplements): this { - global.generatedEs2panda._ClassDefinitionEmplaceImplements(global.context, this.peer, passNode(_implements)) - return this - } - /** @deprecated */ - clearImplements(): this { - global.generatedEs2panda._ClassDefinitionClearImplements(global.context, this.peer) - return this - } - /** @deprecated */ - setValueImplements(_implements: TSClassImplements | undefined, index: number): this { - global.generatedEs2panda._ClassDefinitionSetValueImplements(global.context, this.peer, passNode(_implements), index) - return this - } - get implements(): readonly TSClassImplements[] { - return unpackNodeArray(global.generatedEs2panda._ClassDefinitionImplements(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS) - } - get implementsForUpdate(): readonly TSClassImplements[] { - return unpackNodeArray(global.generatedEs2panda._ClassDefinitionImplementsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS) - } - /** @deprecated */ - setCtor(ctor?: MethodDefinition): this { - global.generatedEs2panda._ClassDefinitionSetCtor(global.context, this.peer, passNode(ctor)) - return this - } - /** @deprecated */ - setTypeParams(typeParams?: TSTypeParameterDeclaration): this { - global.generatedEs2panda._ClassDefinitionSetTypeParams(global.context, this.peer, passNode(typeParams)) - return this - } - /** @deprecated */ - setOrigEnumDecl(origEnumDecl?: TSEnumDeclaration): this { - global.generatedEs2panda._ClassDefinitionSetOrigEnumDecl(global.context, this.peer, passNode(origEnumDecl)) - return this - } - /** @deprecated */ - setAnonClass(anonClass?: ClassDeclaration): this { - global.generatedEs2panda._ClassDefinitionSetAnonClass(global.context, this.peer, passNode(anonClass)) - return this - } - /** @deprecated */ - setInternalName(internalName: string): this { - global.generatedEs2panda._ClassDefinitionSetInternalName(global.context, this.peer, internalName) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._ClassDefinitionHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._ClassDefinitionEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._ClassDefinitionClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._ClassDefinitionDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ClassDefinitionAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ClassDefinitionAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ClassDefinitionSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ClassDefinitionSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - setBody = extension_ClassDefinitionSetBody - protected readonly brandClassDefinition: undefined -} -export function isClassDefinition(node: object | undefined): node is ClassDefinition { - return node instanceof ClassDefinition -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION, (peer: KNativePointer) => new ClassDefinition(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION)) -} diff --git a/ui2abc/libarkts/generated/peers/ClassElement.ts b/ui2abc/libarkts/generated/peers/ClassElement.ts deleted file mode 100644 index d6b5e088a..000000000 --- a/ui2abc/libarkts/generated/peers/ClassElement.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { TSEnumMember } from "./TSEnumMember" -import { TypedStatement } from "./TypedStatement" - -export class ClassElement extends TypedStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get id(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ClassElementId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get key(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ClassElementKey(global.context, this.peer)) - } - get value(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ClassElementValue(global.context, this.peer)) - } - /** @deprecated */ - setValue(value?: Expression): this { - global.generatedEs2panda._ClassElementSetValue(global.context, this.peer, passNode(value)) - return this - } - get originEnumMember(): TSEnumMember | undefined { - return unpackNode(global.generatedEs2panda._ClassElementOriginEnumMemberConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER) - } - /** @deprecated */ - setOrigEnumMember(enumMember?: TSEnumMember): this { - global.generatedEs2panda._ClassElementSetOrigEnumMember(global.context, this.peer, passNode(enumMember)) - return this - } - get isPrivateElement(): boolean { - return global.generatedEs2panda._ClassElementIsPrivateElementConst(global.context, this.peer) - } - get isComputed(): boolean { - return global.generatedEs2panda._ClassElementIsComputedConst(global.context, this.peer) - } - protected readonly brandClassElement: undefined -} -export function isClassElement(node: object | undefined): node is ClassElement { - return node instanceof ClassElement -} diff --git a/ui2abc/libarkts/generated/peers/ClassExpression.ts b/ui2abc/libarkts/generated/peers/ClassExpression.ts deleted file mode 100644 index 791c86ecb..000000000 --- a/ui2abc/libarkts/generated/peers/ClassExpression.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassDefinition } from "./ClassDefinition" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class ClassExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createClassExpression(def?: ClassDefinition): ClassExpression { - const result: ClassExpression = new ClassExpression(global.generatedEs2panda._CreateClassExpression(global.context, passNode(def)), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateClassExpression(original?: ClassExpression, def?: ClassDefinition): ClassExpression { - const result: ClassExpression = new ClassExpression(global.generatedEs2panda._UpdateClassExpression(global.context, passNode(original), passNode(def)), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get definition(): ClassDefinition | undefined { - return unpackNode(global.generatedEs2panda._ClassExpressionDefinitionConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - } - protected readonly brandClassExpression: undefined -} -export function isClassExpression(node: object | undefined): node is ClassExpression { - return node instanceof ClassExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_EXPRESSION, (peer: KNativePointer) => new ClassExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ClassProperty.ts b/ui2abc/libarkts/generated/peers/ClassProperty.ts deleted file mode 100644 index bd327781a..000000000 --- a/ui2abc/libarkts/generated/peers/ClassProperty.ts +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { ClassElement } from "./ClassElement" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { SrcDumper } from "./SrcDumper" -import { TypeNode } from "./TypeNode" - -export class ClassProperty extends ClassElement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createClassProperty(key: Expression | undefined, value: Expression | undefined, typeAnnotation: TypeNode | undefined, modifiers: Es2pandaModifierFlags, isComputed: boolean, annotations?: readonly AnnotationUsage[]): ClassProperty { - const result: ClassProperty = new ClassProperty(global.generatedEs2panda._CreateClassProperty(global.context, passNode(key), passNode(value), passNode(typeAnnotation), modifiers, isComputed), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_PROPERTY) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateClassProperty(original: ClassProperty | undefined, key: Expression | undefined, value: Expression | undefined, typeAnnotation: TypeNode | undefined, modifiers: Es2pandaModifierFlags, isComputed: boolean, annotations?: readonly AnnotationUsage[]): ClassProperty { - const result: ClassProperty = new ClassProperty(global.generatedEs2panda._UpdateClassProperty(global.context, passNode(original), passNode(key), passNode(value), passNode(typeAnnotation), modifiers, isComputed), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_PROPERTY) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get isDefaultAccessModifier(): boolean { - return global.generatedEs2panda._ClassPropertyIsDefaultAccessModifierConst(global.context, this.peer) - } - /** @deprecated */ - setDefaultAccessModifier(isDefault: boolean): this { - global.generatedEs2panda._ClassPropertySetDefaultAccessModifier(global.context, this.peer, isDefault) - return this - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ClassPropertyTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._ClassPropertySetTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - get needInitInStaticBlock(): boolean { - return global.generatedEs2panda._ClassPropertyNeedInitInStaticBlockConst(global.context, this.peer) - } - /** @deprecated */ - setNeedInitInStaticBlock(): this { - global.generatedEs2panda._ClassPropertySetNeedInitInStaticBlock(global.context, this.peer) - return this - } - get isImmediateInit(): boolean { - return global.generatedEs2panda._ClassPropertyIsImmediateInitConst(global.context, this.peer) - } - /** @deprecated */ - setIsImmediateInit(): this { - global.generatedEs2panda._ClassPropertySetIsImmediateInit(global.context, this.peer) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._ClassPropertyHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._ClassPropertyEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._ClassPropertyClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._ClassPropertyDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ClassPropertyAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ClassPropertyAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ClassPropertySetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ClassPropertySetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandClassProperty: undefined -} -export function isClassProperty(node: object | undefined): node is ClassProperty { - return node instanceof ClassProperty -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_PROPERTY)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_PROPERTY, (peer: KNativePointer) => new ClassProperty(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_PROPERTY)) -} diff --git a/ui2abc/libarkts/generated/peers/ClassStaticBlock.ts b/ui2abc/libarkts/generated/peers/ClassStaticBlock.ts deleted file mode 100644 index d36520ecf..000000000 --- a/ui2abc/libarkts/generated/peers/ClassStaticBlock.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassElement } from "./ClassElement" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { ScriptFunction } from "./ScriptFunction" - -export class ClassStaticBlock extends ClassElement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createClassStaticBlock(value?: Expression): ClassStaticBlock { - const result: ClassStaticBlock = new ClassStaticBlock(global.generatedEs2panda._CreateClassStaticBlock(global.context, passNode(value)), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_STATIC_BLOCK) - result.setChildrenParentPtr() - return result - } - static updateClassStaticBlock(original?: ClassStaticBlock, value?: Expression): ClassStaticBlock { - const result: ClassStaticBlock = new ClassStaticBlock(global.generatedEs2panda._UpdateClassStaticBlock(global.context, passNode(original), passNode(value)), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_STATIC_BLOCK) - result.setChildrenParentPtr() - return result - } - get function(): ScriptFunction | undefined { - return unpackNode(global.generatedEs2panda._ClassStaticBlockFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - } - get name(): string { - return unpackString(global.generatedEs2panda._ClassStaticBlockNameConst(global.context, this.peer)) - } - protected readonly brandClassStaticBlock: undefined -} -export function isClassStaticBlock(node: object | undefined): node is ClassStaticBlock { - return node instanceof ClassStaticBlock -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_STATIC_BLOCK)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_STATIC_BLOCK, (peer: KNativePointer) => new ClassStaticBlock(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_STATIC_BLOCK)) -} diff --git a/ui2abc/libarkts/generated/peers/CodeGen.ts b/ui2abc/libarkts/generated/peers/CodeGen.ts deleted file mode 100644 index 741e8b898..000000000 --- a/ui2abc/libarkts/generated/peers/CodeGen.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class CodeGen extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandCodeGen: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ConditionalExpression.ts b/ui2abc/libarkts/generated/peers/ConditionalExpression.ts deleted file mode 100644 index e9bdf416c..000000000 --- a/ui2abc/libarkts/generated/peers/ConditionalExpression.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class ConditionalExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createConditionalExpression(test?: Expression, consequent?: Expression, alternate?: Expression): ConditionalExpression { - const result: ConditionalExpression = new ConditionalExpression(global.generatedEs2panda._CreateConditionalExpression(global.context, passNode(test), passNode(consequent), passNode(alternate)), Es2pandaAstNodeType.AST_NODE_TYPE_CONDITIONAL_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateConditionalExpression(original?: ConditionalExpression, test?: Expression, consequent?: Expression, alternate?: Expression): ConditionalExpression { - const result: ConditionalExpression = new ConditionalExpression(global.generatedEs2panda._UpdateConditionalExpression(global.context, passNode(original), passNode(test), passNode(consequent), passNode(alternate)), Es2pandaAstNodeType.AST_NODE_TYPE_CONDITIONAL_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ConditionalExpressionTest(global.context, this.peer)) - } - /** @deprecated */ - setTest(expr?: Expression): this { - global.generatedEs2panda._ConditionalExpressionSetTest(global.context, this.peer, passNode(expr)) - return this - } - get consequent(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ConditionalExpressionConsequent(global.context, this.peer)) - } - /** @deprecated */ - setConsequent(expr?: Expression): this { - global.generatedEs2panda._ConditionalExpressionSetConsequent(global.context, this.peer, passNode(expr)) - return this - } - get alternate(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ConditionalExpressionAlternate(global.context, this.peer)) - } - /** @deprecated */ - setAlternate(expr?: Expression): this { - global.generatedEs2panda._ConditionalExpressionSetAlternate(global.context, this.peer, passNode(expr)) - return this - } - protected readonly brandConditionalExpression: undefined -} -export function isConditionalExpression(node: object | undefined): node is ConditionalExpression { - return node instanceof ConditionalExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CONDITIONAL_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CONDITIONAL_EXPRESSION, (peer: KNativePointer) => new ConditionalExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CONDITIONAL_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ContinueStatement.ts b/ui2abc/libarkts/generated/peers/ContinueStatement.ts deleted file mode 100644 index fc9efc5de..000000000 --- a/ui2abc/libarkts/generated/peers/ContinueStatement.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class ContinueStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1ContinueStatement(ident?: Identifier): ContinueStatement { - const result: ContinueStatement = new ContinueStatement(global.generatedEs2panda._CreateContinueStatement1(global.context, passNode(ident)), Es2pandaAstNodeType.AST_NODE_TYPE_CONTINUE_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateContinueStatement(original?: ContinueStatement): ContinueStatement { - const result: ContinueStatement = new ContinueStatement(global.generatedEs2panda._UpdateContinueStatement(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_CONTINUE_STATEMENT) - result.setChildrenParentPtr() - return result - } - static update1ContinueStatement(original?: ContinueStatement, ident?: Identifier): ContinueStatement { - const result: ContinueStatement = new ContinueStatement(global.generatedEs2panda._UpdateContinueStatement1(global.context, passNode(original), passNode(ident)), Es2pandaAstNodeType.AST_NODE_TYPE_CONTINUE_STATEMENT) - result.setChildrenParentPtr() - return result - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ContinueStatementIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get target(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ContinueStatementTargetConst(global.context, this.peer)) - } - get hasTarget(): boolean { - return global.generatedEs2panda._ContinueStatementHasTargetConst(global.context, this.peer) - } - /** @deprecated */ - setTarget(target?: AstNode): this { - global.generatedEs2panda._ContinueStatementSetTarget(global.context, this.peer, passNode(target)) - return this - } - protected readonly brandContinueStatement: undefined -} -export function isContinueStatement(node: object | undefined): node is ContinueStatement { - return node instanceof ContinueStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_CONTINUE_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_CONTINUE_STATEMENT, (peer: KNativePointer) => new ContinueStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_CONTINUE_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/DebuggerStatement.ts b/ui2abc/libarkts/generated/peers/DebuggerStatement.ts deleted file mode 100644 index a776bd4f5..000000000 --- a/ui2abc/libarkts/generated/peers/DebuggerStatement.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class DebuggerStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createDebuggerStatement(): DebuggerStatement { - const result: DebuggerStatement = new DebuggerStatement(global.generatedEs2panda._CreateDebuggerStatement(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_DEBUGGER_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateDebuggerStatement(original?: DebuggerStatement): DebuggerStatement { - const result: DebuggerStatement = new DebuggerStatement(global.generatedEs2panda._UpdateDebuggerStatement(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_DEBUGGER_STATEMENT) - result.setChildrenParentPtr() - return result - } - protected readonly brandDebuggerStatement: undefined -} -export function isDebuggerStatement(node: object | undefined): node is DebuggerStatement { - return node instanceof DebuggerStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_DEBUGGER_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_DEBUGGER_STATEMENT, (peer: KNativePointer) => new DebuggerStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_DEBUGGER_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/Declaration.ts b/ui2abc/libarkts/generated/peers/Declaration.ts deleted file mode 100644 index 6ada85823..000000000 --- a/ui2abc/libarkts/generated/peers/Declaration.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class Declaration extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandDeclaration: undefined -} diff --git a/ui2abc/libarkts/generated/peers/Decorator.ts b/ui2abc/libarkts/generated/peers/Decorator.ts deleted file mode 100644 index 70fce2e97..000000000 --- a/ui2abc/libarkts/generated/peers/Decorator.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class Decorator extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createDecorator(expr?: Expression): Decorator { - const result: Decorator = new Decorator(global.generatedEs2panda._CreateDecorator(global.context, passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_DECORATOR) - result.setChildrenParentPtr() - return result - } - static updateDecorator(original?: Decorator, expr?: Expression): Decorator { - const result: Decorator = new Decorator(global.generatedEs2panda._UpdateDecorator(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_DECORATOR) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._DecoratorExprConst(global.context, this.peer)) - } - protected readonly brandDecorator: undefined -} -export function isDecorator(node: object | undefined): node is Decorator { - return node instanceof Decorator -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_DECORATOR)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_DECORATOR, (peer: KNativePointer) => new Decorator(peer, Es2pandaAstNodeType.AST_NODE_TYPE_DECORATOR)) -} diff --git a/ui2abc/libarkts/generated/peers/DiagnosticInfo.ts b/ui2abc/libarkts/generated/peers/DiagnosticInfo.ts deleted file mode 100644 index 95dcc0ab6..000000000 --- a/ui2abc/libarkts/generated/peers/DiagnosticInfo.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class DiagnosticInfo extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandDiagnosticInfo: undefined -} diff --git a/ui2abc/libarkts/generated/peers/DirectEvalExpression.ts b/ui2abc/libarkts/generated/peers/DirectEvalExpression.ts deleted file mode 100644 index 4e48bcca5..000000000 --- a/ui2abc/libarkts/generated/peers/DirectEvalExpression.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { CallExpression } from "./CallExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" - -export class DirectEvalExpression extends CallExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createDirectEvalExpression(callee: Expression | undefined, _arguments: readonly Expression[], typeParams: TSTypeParameterInstantiation | undefined, optional_arg: boolean, parserStatus: number): DirectEvalExpression { - const result: DirectEvalExpression = new DirectEvalExpression(global.generatedEs2panda._CreateDirectEvalExpression(global.context, passNode(callee), passNodeArray(_arguments), _arguments.length, passNode(typeParams), optional_arg, parserStatus), Es2pandaAstNodeType.AST_NODE_TYPE_DIRECT_EVAL) - result.setChildrenParentPtr() - return result - } - static updateDirectEvalExpression(original: DirectEvalExpression | undefined, callee: Expression | undefined, _arguments: readonly Expression[], typeParams: TSTypeParameterInstantiation | undefined, optional_arg: boolean, parserStatus: number): DirectEvalExpression { - const result: DirectEvalExpression = new DirectEvalExpression(global.generatedEs2panda._UpdateDirectEvalExpression(global.context, passNode(original), passNode(callee), passNodeArray(_arguments), _arguments.length, passNode(typeParams), optional_arg, parserStatus), Es2pandaAstNodeType.AST_NODE_TYPE_DIRECT_EVAL) - result.setChildrenParentPtr() - return result - } - protected readonly brandDirectEvalExpression: undefined -} -export function isDirectEvalExpression(node: object | undefined): node is DirectEvalExpression { - return node instanceof DirectEvalExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_DIRECT_EVAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_DIRECT_EVAL, (peer: KNativePointer) => new DirectEvalExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_DIRECT_EVAL)) -} diff --git a/ui2abc/libarkts/generated/peers/DoWhileStatement.ts b/ui2abc/libarkts/generated/peers/DoWhileStatement.ts deleted file mode 100644 index 6bac1ded0..000000000 --- a/ui2abc/libarkts/generated/peers/DoWhileStatement.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { LoopStatement } from "./LoopStatement" -import { Statement } from "./Statement" - -export class DoWhileStatement extends LoopStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createDoWhileStatement(body?: Statement, test?: Expression): DoWhileStatement { - const result: DoWhileStatement = new DoWhileStatement(global.generatedEs2panda._CreateDoWhileStatement(global.context, passNode(body), passNode(test)), Es2pandaAstNodeType.AST_NODE_TYPE_DO_WHILE_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateDoWhileStatement(original?: DoWhileStatement, body?: Statement, test?: Expression): DoWhileStatement { - const result: DoWhileStatement = new DoWhileStatement(global.generatedEs2panda._UpdateDoWhileStatement(global.context, passNode(original), passNode(body), passNode(test)), Es2pandaAstNodeType.AST_NODE_TYPE_DO_WHILE_STATEMENT) - result.setChildrenParentPtr() - return result - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._DoWhileStatementBody(global.context, this.peer)) - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._DoWhileStatementTest(global.context, this.peer)) - } - protected readonly brandDoWhileStatement: undefined -} -export function isDoWhileStatement(node: object | undefined): node is DoWhileStatement { - return node instanceof DoWhileStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_DO_WHILE_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_DO_WHILE_STATEMENT, (peer: KNativePointer) => new DoWhileStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_DO_WHILE_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/DynamicImportData.ts b/ui2abc/libarkts/generated/peers/DynamicImportData.ts deleted file mode 100644 index 5289ba358..000000000 --- a/ui2abc/libarkts/generated/peers/DynamicImportData.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class DynamicImportData extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandDynamicImportData: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ETSClassLiteral.ts b/ui2abc/libarkts/generated/peers/ETSClassLiteral.ts deleted file mode 100644 index 0d636796f..000000000 --- a/ui2abc/libarkts/generated/peers/ETSClassLiteral.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class ETSClassLiteral extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSClassLiteral(expr?: TypeNode): ETSClassLiteral { - const result: ETSClassLiteral = new ETSClassLiteral(global.generatedEs2panda._CreateETSClassLiteral(global.context, passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_CLASS_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateETSClassLiteral(original?: ETSClassLiteral, expr?: TypeNode): ETSClassLiteral { - const result: ETSClassLiteral = new ETSClassLiteral(global.generatedEs2panda._UpdateETSClassLiteral(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_CLASS_LITERAL) - result.setChildrenParentPtr() - return result - } - get expr(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ETSClassLiteralExprConst(global.context, this.peer)) - } - protected readonly brandETSClassLiteral: undefined -} -export function isETSClassLiteral(node: object | undefined): node is ETSClassLiteral { - return node instanceof ETSClassLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_CLASS_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_CLASS_LITERAL, (peer: KNativePointer) => new ETSClassLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_CLASS_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSFunctionType.ts b/ui2abc/libarkts/generated/peers/ETSFunctionType.ts deleted file mode 100644 index cb0f5bf76..000000000 --- a/ui2abc/libarkts/generated/peers/ETSFunctionType.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaScriptFunctionFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { FunctionSignature } from "./FunctionSignature" -import { TSInterfaceDeclaration } from "./TSInterfaceDeclaration" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" -import { extension_ETSFunctionTypeGetParamsCasted } from "./../../src/reexport-for-generated" - -export class ETSFunctionType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSFunctionType(signature: FunctionSignature | undefined, funcFlags: Es2pandaScriptFunctionFlags, annotations?: readonly AnnotationUsage[]): ETSFunctionType { - const result: ETSFunctionType = new ETSFunctionType(global.generatedEs2panda._CreateETSFunctionType(global.context, passNode(signature), funcFlags), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_FUNCTION_TYPE) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateETSFunctionType(original: ETSFunctionType | undefined, signature: FunctionSignature | undefined, funcFlags: Es2pandaScriptFunctionFlags, annotations?: readonly AnnotationUsage[]): ETSFunctionType { - const result: ETSFunctionType = new ETSFunctionType(global.generatedEs2panda._UpdateETSFunctionType(global.context, passNode(original), passNode(signature), funcFlags), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_FUNCTION_TYPE) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ETSFunctionTypeTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ETSFunctionTypeParamsConst(global.context, this.peer)) - } - /** @deprecated */ - setParams(paramsList: readonly Expression[]): this { - global.generatedEs2panda._ETSFunctionTypeSetParams(global.context, this.peer, passNodeArray(paramsList), paramsList.length) - return this - } - get returnType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ETSFunctionTypeReturnType(global.context, this.peer)) - } - get functionalInterface(): TSInterfaceDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ETSFunctionTypeFunctionalInterface(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_DECLARATION) - } - /** @deprecated */ - setFunctionalInterface(functionalInterface?: TSInterfaceDeclaration): this { - global.generatedEs2panda._ETSFunctionTypeSetFunctionalInterface(global.context, this.peer, passNode(functionalInterface)) - return this - } - get flags(): Es2pandaScriptFunctionFlags { - return global.generatedEs2panda._ETSFunctionTypeFlags(global.context, this.peer) - } - get isExtensionFunction(): boolean { - return global.generatedEs2panda._ETSFunctionTypeIsExtensionFunctionConst(global.context, this.peer) - } - getParamsCasted = extension_ETSFunctionTypeGetParamsCasted - protected readonly brandETSFunctionType: undefined -} -export function isETSFunctionType(node: object | undefined): node is ETSFunctionType { - return node instanceof ETSFunctionType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_FUNCTION_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_FUNCTION_TYPE, (peer: KNativePointer) => new ETSFunctionType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_FUNCTION_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts deleted file mode 100644 index 8be28e1e5..000000000 --- a/ui2abc/libarkts/generated/peers/ETSImportDeclaration.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaId } from "./../Es2pandaEnums" -import { Es2pandaImportFlags } from "./../Es2pandaEnums" -import { Es2pandaImportKinds } from "./../Es2pandaEnums" -import { ImportDeclaration } from "./ImportDeclaration" -import { StringLiteral } from "./StringLiteral" - -export class ETSImportDeclaration extends ImportDeclaration { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSImportDeclaration(importPath: StringLiteral | undefined, specifiers: readonly AstNode[], importKinds: Es2pandaImportKinds): ETSImportDeclaration { - const result: ETSImportDeclaration = new ETSImportDeclaration(global.generatedEs2panda._CreateETSImportDeclaration(global.context, passNode(importPath), passNodeArray(specifiers), specifiers.length, importKinds), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_IMPORT_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateETSImportDeclaration(original: ETSImportDeclaration | undefined, importPath: StringLiteral | undefined, specifiers: readonly AstNode[], importKinds: Es2pandaImportKinds): ETSImportDeclaration { - const result: ETSImportDeclaration = new ETSImportDeclaration(global.generatedEs2panda._UpdateETSImportDeclaration(global.context, passNode(original), passNode(importPath), passNodeArray(specifiers), specifiers.length, importKinds), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_IMPORT_DECLARATION) - result.setChildrenParentPtr() - return result - } - /** @deprecated */ - setImportMetadata(importFlags: Es2pandaImportFlags, lang: Es2pandaId, resolvedSource: string, declPath: string, ohmUrl: string): this { - global.generatedEs2panda._ETSImportDeclarationSetImportMetadata(global.context, this.peer, importFlags, lang, resolvedSource, declPath, ohmUrl) - return this - } - get declPath(): string { - return unpackString(global.generatedEs2panda._ETSImportDeclarationDeclPathConst(global.context, this.peer)) - } - get ohmUrl(): string { - return unpackString(global.generatedEs2panda._ETSImportDeclarationOhmUrlConst(global.context, this.peer)) - } - get isValid(): boolean { - return global.generatedEs2panda._ETSImportDeclarationIsValidConst(global.context, this.peer) - } - get isPureDynamic(): boolean { - return global.generatedEs2panda._ETSImportDeclarationIsPureDynamicConst(global.context, this.peer) - } - /** @deprecated */ - setAssemblerName(assemblerName: string): this { - global.generatedEs2panda._ETSImportDeclarationSetAssemblerName(global.context, this.peer, assemblerName) - return this - } - get assemblerName(): string { - return unpackString(global.generatedEs2panda._ETSImportDeclarationAssemblerNameConst(global.context, this.peer)) - } - get resolvedSource(): string { - return unpackString(global.generatedEs2panda._ETSImportDeclarationResolvedSourceConst(global.context, this.peer)) - } - protected readonly brandETSImportDeclaration: undefined -} -export function isETSImportDeclaration(node: object | undefined): node is ETSImportDeclaration { - return node instanceof ETSImportDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_IMPORT_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_IMPORT_DECLARATION, (peer: KNativePointer) => new ETSImportDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_IMPORT_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts b/ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts deleted file mode 100644 index 64c020717..000000000 --- a/ui2abc/libarkts/generated/peers/ETSIntrinsicNode.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class ETSIntrinsicNode extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1ETSIntrinsicNode(id: string, _arguments: readonly Expression[]): ETSIntrinsicNode { - const result: ETSIntrinsicNode = new ETSIntrinsicNode(global.generatedEs2panda._CreateETSIntrinsicNode1(global.context, id, passNodeArray(_arguments), _arguments.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSIntrinsicNode(original?: ETSIntrinsicNode, other?: ETSIntrinsicNode): ETSIntrinsicNode { - const result: ETSIntrinsicNode = new ETSIntrinsicNode(global.generatedEs2panda._UpdateETSIntrinsicNode(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE) - result.setChildrenParentPtr() - return result - } - static update1ETSIntrinsicNode(original: ETSIntrinsicNode | undefined, id: string, _arguments: readonly Expression[]): ETSIntrinsicNode { - const result: ETSIntrinsicNode = new ETSIntrinsicNode(global.generatedEs2panda._UpdateETSIntrinsicNode1(global.context, passNode(original), id, passNodeArray(_arguments), _arguments.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE) - result.setChildrenParentPtr() - return result - } - get id(): string { - return unpackString(global.generatedEs2panda._ETSIntrinsicNodeIdConst(global.context, this.peer)) - } - get arguments(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ETSIntrinsicNodeArguments(global.context, this.peer)) - } - protected readonly brandETSIntrinsicNode: undefined -} -export function isETSIntrinsicNode(node: object | undefined): node is ETSIntrinsicNode { - return node instanceof ETSIntrinsicNode -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE, (peer: KNativePointer) => new ETSIntrinsicNode(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_INTRINSIC_NODE_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSKeyofType.ts b/ui2abc/libarkts/generated/peers/ETSKeyofType.ts deleted file mode 100644 index 9187809f9..000000000 --- a/ui2abc/libarkts/generated/peers/ETSKeyofType.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSKeyofType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSKeyofType(type?: TypeNode): ETSKeyofType { - const result: ETSKeyofType = new ETSKeyofType(global.generatedEs2panda._CreateETSKeyofType(global.context, passNode(type)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_KEYOF_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSKeyofType(original?: ETSKeyofType, type?: TypeNode): ETSKeyofType { - const result: ETSKeyofType = new ETSKeyofType(global.generatedEs2panda._UpdateETSKeyofType(global.context, passNode(original), passNode(type)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_KEYOF_TYPE) - result.setChildrenParentPtr() - return result - } - get typeRef(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ETSKeyofTypeGetTypeRefConst(global.context, this.peer)) - } - protected readonly brandETSKeyofType: undefined -} -export function isETSKeyofType(node: object | undefined): node is ETSKeyofType { - return node instanceof ETSKeyofType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_KEYOF_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_KEYOF_TYPE, (peer: KNativePointer) => new ETSKeyofType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_KEYOF_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSModule.ts b/ui2abc/libarkts/generated/peers/ETSModule.ts deleted file mode 100644 index f07f97dc5..000000000 --- a/ui2abc/libarkts/generated/peers/ETSModule.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { BlockStatement } from "./BlockStatement" -import { ClassDefinition } from "./ClassDefinition" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModuleFlag } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Program } from "./Program" -import { SrcDumper } from "./SrcDumper" -import { Statement } from "./Statement" -import { extension_ETSModuleGetNamespaceFlag } from "./../../src/reexport-for-generated" - -export class ETSModule extends BlockStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSModule(statementList: readonly Statement[], ident: Identifier | undefined, flag: Es2pandaModuleFlag, program?: Program): ETSModule { - const result: ETSModule = new ETSModule(global.generatedEs2panda._CreateETSModule(global.context, passNodeArray(statementList), statementList.length, passNode(ident), flag, passNode(program)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_MODULE) - result.setChildrenParentPtr() - return result - } - static updateETSModule(original: ETSModule | undefined, statementList: readonly Statement[], ident: Identifier | undefined, flag: Es2pandaModuleFlag, program?: Program): ETSModule { - const result: ETSModule = new ETSModule(global.generatedEs2panda._UpdateETSModule(global.context, passNode(original), passNodeArray(statementList), statementList.length, passNode(ident), flag, passNode(program)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_MODULE) - result.setChildrenParentPtr() - return result - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ETSModuleIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get program(): Program | undefined { - return new Program(global.generatedEs2panda._ETSModuleProgram(global.context, this.peer)) - } - get globalClass(): ClassDefinition | undefined { - return unpackNode(global.generatedEs2panda._ETSModuleGlobalClass(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - } - /** @deprecated */ - setGlobalClass(globalClass?: ClassDefinition): this { - global.generatedEs2panda._ETSModuleSetGlobalClass(global.context, this.peer, passNode(globalClass)) - return this - } - get isETSScript(): boolean { - return global.generatedEs2panda._ETSModuleIsETSScriptConst(global.context, this.peer) - } - get isNamespace(): boolean { - return global.generatedEs2panda._ETSModuleIsNamespaceConst(global.context, this.peer) - } - get isNamespaceChainLastNode(): boolean { - return global.generatedEs2panda._ETSModuleIsNamespaceChainLastNodeConst(global.context, this.peer) - } - /** @deprecated */ - setNamespaceChainLastNode(): this { - global.generatedEs2panda._ETSModuleSetNamespaceChainLastNode(global.context, this.peer) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._ETSModuleHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._ETSModuleEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._ETSModuleClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._ETSModuleDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ETSModuleAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ETSModuleAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ETSModuleSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ETSModuleSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - getNamespaceFlag = extension_ETSModuleGetNamespaceFlag - protected readonly brandETSModule: undefined -} -export function isETSModule(node: object | undefined): node is ETSModule { - return node instanceof ETSModule -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_MODULE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_MODULE, (peer: KNativePointer) => new ETSModule(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_MODULE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts b/ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts deleted file mode 100644 index 20d10738c..000000000 --- a/ui2abc/libarkts/generated/peers/ETSNewArrayInstanceExpression.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class ETSNewArrayInstanceExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSNewArrayInstanceExpression(typeReference?: TypeNode, dimension?: Expression): ETSNewArrayInstanceExpression { - const result: ETSNewArrayInstanceExpression = new ETSNewArrayInstanceExpression(global.generatedEs2panda._CreateETSNewArrayInstanceExpression(global.context, passNode(typeReference), passNode(dimension)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateETSNewArrayInstanceExpression(original?: ETSNewArrayInstanceExpression, typeReference?: TypeNode, dimension?: Expression): ETSNewArrayInstanceExpression { - const result: ETSNewArrayInstanceExpression = new ETSNewArrayInstanceExpression(global.generatedEs2panda._UpdateETSNewArrayInstanceExpression(global.context, passNode(original), passNode(typeReference), passNode(dimension)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get typeReference(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ETSNewArrayInstanceExpressionTypeReference(global.context, this.peer)) - } - get dimension(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ETSNewArrayInstanceExpressionDimension(global.context, this.peer)) - } - /** @deprecated */ - setDimension(dimension?: Expression): this { - global.generatedEs2panda._ETSNewArrayInstanceExpressionSetDimension(global.context, this.peer, passNode(dimension)) - return this - } - /** @deprecated */ - clearPreferredType(): this { - global.generatedEs2panda._ETSNewArrayInstanceExpressionClearPreferredType(global.context, this.peer) - return this - } - protected readonly brandETSNewArrayInstanceExpression: undefined -} -export function isETSNewArrayInstanceExpression(node: object | undefined): node is ETSNewArrayInstanceExpression { - return node instanceof ETSNewArrayInstanceExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION, (peer: KNativePointer) => new ETSNewArrayInstanceExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_ARRAY_INSTANCE_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts b/ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts deleted file mode 100644 index 25ebf1da7..000000000 --- a/ui2abc/libarkts/generated/peers/ETSNewClassInstanceExpression.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class ETSNewClassInstanceExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSNewClassInstanceExpression(typeReference: Expression | undefined, _arguments: readonly Expression[]): ETSNewClassInstanceExpression { - const result: ETSNewClassInstanceExpression = new ETSNewClassInstanceExpression(global.generatedEs2panda._CreateETSNewClassInstanceExpression(global.context, passNode(typeReference), passNodeArray(_arguments), _arguments.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateETSNewClassInstanceExpression(original: ETSNewClassInstanceExpression | undefined, typeReference: Expression | undefined, _arguments: readonly Expression[]): ETSNewClassInstanceExpression { - const result: ETSNewClassInstanceExpression = new ETSNewClassInstanceExpression(global.generatedEs2panda._UpdateETSNewClassInstanceExpression(global.context, passNode(original), passNode(typeReference), passNodeArray(_arguments), _arguments.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static update1ETSNewClassInstanceExpression(original?: ETSNewClassInstanceExpression, other?: ETSNewClassInstanceExpression): ETSNewClassInstanceExpression { - const result: ETSNewClassInstanceExpression = new ETSNewClassInstanceExpression(global.generatedEs2panda._UpdateETSNewClassInstanceExpression1(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get typeRef(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ETSNewClassInstanceExpressionGetTypeRefConst(global.context, this.peer)) - } - get arguments(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ETSNewClassInstanceExpressionGetArguments(global.context, this.peer)) - } - /** @deprecated */ - setArguments(_arguments: readonly Expression[]): this { - global.generatedEs2panda._ETSNewClassInstanceExpressionSetArguments(global.context, this.peer, passNodeArray(_arguments), _arguments.length) - return this - } - /** @deprecated */ - addToArgumentsFront(expr?: Expression): this { - global.generatedEs2panda._ETSNewClassInstanceExpressionAddToArgumentsFront(global.context, this.peer, passNode(expr)) - return this - } - protected readonly brandETSNewClassInstanceExpression: undefined -} -export function isETSNewClassInstanceExpression(node: object | undefined): node is ETSNewClassInstanceExpression { - return node instanceof ETSNewClassInstanceExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION, (peer: KNativePointer) => new ETSNewClassInstanceExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_CLASS_INSTANCE_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts b/ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts deleted file mode 100644 index 93fac6f76..000000000 --- a/ui2abc/libarkts/generated/peers/ETSNewMultiDimArrayInstanceExpression.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class ETSNewMultiDimArrayInstanceExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSNewMultiDimArrayInstanceExpression(typeReference: TypeNode | undefined, dimensions: readonly Expression[]): ETSNewMultiDimArrayInstanceExpression { - const result: ETSNewMultiDimArrayInstanceExpression = new ETSNewMultiDimArrayInstanceExpression(global.generatedEs2panda._CreateETSNewMultiDimArrayInstanceExpression(global.context, passNode(typeReference), passNodeArray(dimensions), dimensions.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateETSNewMultiDimArrayInstanceExpression(original: ETSNewMultiDimArrayInstanceExpression | undefined, typeReference: TypeNode | undefined, dimensions: readonly Expression[]): ETSNewMultiDimArrayInstanceExpression { - const result: ETSNewMultiDimArrayInstanceExpression = new ETSNewMultiDimArrayInstanceExpression(global.generatedEs2panda._UpdateETSNewMultiDimArrayInstanceExpression(global.context, passNode(original), passNode(typeReference), passNodeArray(dimensions), dimensions.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static update1ETSNewMultiDimArrayInstanceExpression(original?: ETSNewMultiDimArrayInstanceExpression, other?: ETSNewMultiDimArrayInstanceExpression): ETSNewMultiDimArrayInstanceExpression { - const result: ETSNewMultiDimArrayInstanceExpression = new ETSNewMultiDimArrayInstanceExpression(global.generatedEs2panda._UpdateETSNewMultiDimArrayInstanceExpression1(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get typeReference(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ETSNewMultiDimArrayInstanceExpressionTypeReference(global.context, this.peer)) - } - get dimensions(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ETSNewMultiDimArrayInstanceExpressionDimensions(global.context, this.peer)) - } - /** @deprecated */ - clearPreferredType(): this { - global.generatedEs2panda._ETSNewMultiDimArrayInstanceExpressionClearPreferredType(global.context, this.peer) - return this - } - protected readonly brandETSNewMultiDimArrayInstanceExpression: undefined -} -export function isETSNewMultiDimArrayInstanceExpression(node: object | undefined): node is ETSNewMultiDimArrayInstanceExpression { - return node instanceof ETSNewMultiDimArrayInstanceExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION, (peer: KNativePointer) => new ETSNewMultiDimArrayInstanceExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NEW_MULTI_DIM_ARRAY_INSTANCE_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSNullType.ts b/ui2abc/libarkts/generated/peers/ETSNullType.ts deleted file mode 100644 index 9f29842d9..000000000 --- a/ui2abc/libarkts/generated/peers/ETSNullType.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSNullType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSNullType(): ETSNullType { - const result: ETSNullType = new ETSNullType(global.generatedEs2panda._CreateETSNullType(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NULL_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSNullType(original?: ETSNullType): ETSNullType { - const result: ETSNullType = new ETSNullType(global.generatedEs2panda._UpdateETSNullType(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NULL_TYPE) - result.setChildrenParentPtr() - return result - } - protected readonly brandETSNullType: undefined -} -export function isETSNullType(node: object | undefined): node is ETSNullType { - return node instanceof ETSNullType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NULL_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NULL_TYPE, (peer: KNativePointer) => new ETSNullType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_NULL_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts deleted file mode 100644 index aa2049de1..000000000 --- a/ui2abc/libarkts/generated/peers/ETSPackageDeclaration.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class ETSPackageDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSPackageDeclaration(name?: Expression): ETSPackageDeclaration { - const result: ETSPackageDeclaration = new ETSPackageDeclaration(global.generatedEs2panda._CreateETSPackageDeclaration(global.context, passNode(name)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PACKAGE_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateETSPackageDeclaration(original?: ETSPackageDeclaration, name?: Expression): ETSPackageDeclaration { - const result: ETSPackageDeclaration = new ETSPackageDeclaration(global.generatedEs2panda._UpdateETSPackageDeclaration(global.context, passNode(original), passNode(name)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PACKAGE_DECLARATION) - result.setChildrenParentPtr() - return result - } - protected readonly brandETSPackageDeclaration: undefined -} -export function isETSPackageDeclaration(node: object | undefined): node is ETSPackageDeclaration { - return node instanceof ETSPackageDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PACKAGE_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PACKAGE_DECLARATION, (peer: KNativePointer) => new ETSPackageDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PACKAGE_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSParameterExpression.ts b/ui2abc/libarkts/generated/peers/ETSParameterExpression.ts deleted file mode 100644 index 7a9db53c6..000000000 --- a/ui2abc/libarkts/generated/peers/ETSParameterExpression.ts +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { SpreadElement } from "./SpreadElement" -import { SrcDumper } from "./SrcDumper" -import { TypeNode } from "./TypeNode" - -export class ETSParameterExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSParameterExpression(identOrSpread: AnnotatedExpression | undefined, isOptional: boolean, annotations?: readonly AnnotationUsage[]): ETSParameterExpression { - const result: ETSParameterExpression = new ETSParameterExpression(global.generatedEs2panda._CreateETSParameterExpression(global.context, passNode(identOrSpread), isOptional), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateETSParameterExpression(original: ETSParameterExpression | undefined, identOrSpread: AnnotatedExpression | undefined, isOptional: boolean, annotations?: readonly AnnotationUsage[]): ETSParameterExpression { - const result: ETSParameterExpression = new ETSParameterExpression(global.generatedEs2panda._UpdateETSParameterExpression(global.context, passNode(original), passNode(identOrSpread), isOptional), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static create1ETSParameterExpression(identOrSpread?: AnnotatedExpression, initializer?: Expression, annotations?: readonly AnnotationUsage[]): ETSParameterExpression { - const result: ETSParameterExpression = new ETSParameterExpression(global.generatedEs2panda._CreateETSParameterExpression1(global.context, passNode(identOrSpread), passNode(initializer)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static update1ETSParameterExpression(original?: ETSParameterExpression, identOrSpread?: AnnotatedExpression, initializer?: Expression, annotations?: readonly AnnotationUsage[]): ETSParameterExpression { - const result: ETSParameterExpression = new ETSParameterExpression(global.generatedEs2panda._UpdateETSParameterExpression1(global.context, passNode(original), passNode(identOrSpread), passNode(initializer)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get name(): string { - return unpackString(global.generatedEs2panda._ETSParameterExpressionNameConst(global.context, this.peer)) - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ETSParameterExpressionIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - /** @deprecated */ - setIdent(ident?: Identifier): this { - global.generatedEs2panda._ETSParameterExpressionSetIdent(global.context, this.peer, passNode(ident)) - return this - } - get spread(): SpreadElement | undefined { - return unpackNode(global.generatedEs2panda._ETSParameterExpressionSpread(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT) - } - /** @deprecated */ - setSpread(spread?: SpreadElement): this { - global.generatedEs2panda._ETSParameterExpressionSetSpread(global.context, this.peer, passNode(spread)) - return this - } - get restParameter(): SpreadElement | undefined { - return unpackNode(global.generatedEs2panda._ETSParameterExpressionRestParameter(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT) - } - get initializer(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ETSParameterExpressionInitializer(global.context, this.peer)) - } - /** @deprecated */ - setLexerSaved(savedLexer: string): this { - global.generatedEs2panda._ETSParameterExpressionSetLexerSaved(global.context, this.peer, savedLexer) - return this - } - get lexerSaved(): string { - return unpackString(global.generatedEs2panda._ETSParameterExpressionLexerSavedConst(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ETSParameterExpressionTypeAnnotation(global.context, this.peer)) - } - /** @deprecated */ - setTypeAnnotation(typeNode?: TypeNode): this { - global.generatedEs2panda._ETSParameterExpressionSetTypeAnnotation(global.context, this.peer, passNode(typeNode)) - return this - } - get isOptional(): boolean { - return global.generatedEs2panda._ETSParameterExpressionIsOptionalConst(global.context, this.peer) - } - /** @deprecated */ - setOptional(value: boolean): this { - global.generatedEs2panda._ETSParameterExpressionSetOptional(global.context, this.peer, value) - return this - } - /** @deprecated */ - setInitializer(initExpr?: Expression): this { - global.generatedEs2panda._ETSParameterExpressionSetInitializer(global.context, this.peer, passNode(initExpr)) - return this - } - get isRestParameter(): boolean { - return global.generatedEs2panda._ETSParameterExpressionIsRestParameterConst(global.context, this.peer) - } - get requiredParams(): number { - return global.generatedEs2panda._ETSParameterExpressionGetRequiredParamsConst(global.context, this.peer) - } - /** @deprecated */ - setRequiredParams(extraValue: number): this { - global.generatedEs2panda._ETSParameterExpressionSetRequiredParams(global.context, this.peer, extraValue) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._ETSParameterExpressionHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._ETSParameterExpressionEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._ETSParameterExpressionClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._ETSParameterExpressionDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ETSParameterExpressionAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ETSParameterExpressionAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ETSParameterExpressionSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ETSParameterExpressionSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandETSParameterExpression: undefined -} -export function isETSParameterExpression(node: object | undefined): node is ETSParameterExpression { - return node instanceof ETSParameterExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION, (peer: KNativePointer) => new ETSParameterExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PARAMETER_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts b/ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts deleted file mode 100644 index 20039d358..000000000 --- a/ui2abc/libarkts/generated/peers/ETSPrimitiveType.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaPrimitiveType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSPrimitiveType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSPrimitiveType(type: Es2pandaPrimitiveType): ETSPrimitiveType { - const result: ETSPrimitiveType = new ETSPrimitiveType(global.generatedEs2panda._CreateETSPrimitiveType(global.context, type), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PRIMITIVE_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSPrimitiveType(original: ETSPrimitiveType | undefined, type: Es2pandaPrimitiveType): ETSPrimitiveType { - const result: ETSPrimitiveType = new ETSPrimitiveType(global.generatedEs2panda._UpdateETSPrimitiveType(global.context, passNode(original), type), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PRIMITIVE_TYPE) - result.setChildrenParentPtr() - return result - } - get primitiveType(): Es2pandaPrimitiveType { - return global.generatedEs2panda._ETSPrimitiveTypeGetPrimitiveTypeConst(global.context, this.peer) - } - protected readonly brandETSPrimitiveType: undefined -} -export function isETSPrimitiveType(node: object | undefined): node is ETSPrimitiveType { - return node instanceof ETSPrimitiveType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PRIMITIVE_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PRIMITIVE_TYPE, (peer: KNativePointer) => new ETSPrimitiveType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_PRIMITIVE_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts deleted file mode 100644 index 659532e76..000000000 --- a/ui2abc/libarkts/generated/peers/ETSReExportDeclaration.ts +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ETSImportDeclaration } from "./ETSImportDeclaration" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class ETSReExportDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get eTSImportDeclarations(): ETSImportDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ETSReExportDeclarationGetETSImportDeclarations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_IMPORT_DECLARATION) - } - get programPath(): string { - return unpackString(global.generatedEs2panda._ETSReExportDeclarationGetProgramPathConst(global.context, this.peer)) - } - protected readonly brandETSReExportDeclaration: undefined -} -export function isETSReExportDeclaration(node: object | undefined): node is ETSReExportDeclaration { - return node instanceof ETSReExportDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_REEXPORT_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_REEXPORT_STATEMENT, (peer: KNativePointer) => new ETSReExportDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_REEXPORT_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts b/ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts deleted file mode 100644 index a2dc99763..000000000 --- a/ui2abc/libarkts/generated/peers/ETSStringLiteralType.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSStringLiteralType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSStringLiteralType(value: string): ETSStringLiteralType { - const result: ETSStringLiteralType = new ETSStringLiteralType(global.generatedEs2panda._CreateETSStringLiteralType(global.context, value), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSStringLiteralType(original: ETSStringLiteralType | undefined, value: string): ETSStringLiteralType { - const result: ETSStringLiteralType = new ETSStringLiteralType(global.generatedEs2panda._UpdateETSStringLiteralType(global.context, passNode(original), value), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE) - result.setChildrenParentPtr() - return result - } - protected readonly brandETSStringLiteralType: undefined -} -export function isETSStringLiteralType(node: object | undefined): node is ETSStringLiteralType { - return node instanceof ETSStringLiteralType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE, (peer: KNativePointer) => new ETSStringLiteralType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_STRING_LITERAL_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts b/ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts deleted file mode 100644 index cd6d5d282..000000000 --- a/ui2abc/libarkts/generated/peers/ETSStructDeclaration.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassDeclaration } from "./ClassDeclaration" -import { ClassDefinition } from "./ClassDefinition" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" - -export class ETSStructDeclaration extends ClassDeclaration { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSStructDeclaration(def?: ClassDefinition): ETSStructDeclaration { - const result: ETSStructDeclaration = new ETSStructDeclaration(global.generatedEs2panda._CreateETSStructDeclaration(global.context, passNode(def)), Es2pandaAstNodeType.AST_NODE_TYPE_STRUCT_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateETSStructDeclaration(original?: ETSStructDeclaration, def?: ClassDefinition): ETSStructDeclaration { - const result: ETSStructDeclaration = new ETSStructDeclaration(global.generatedEs2panda._UpdateETSStructDeclaration(global.context, passNode(original), passNode(def)), Es2pandaAstNodeType.AST_NODE_TYPE_STRUCT_DECLARATION) - result.setChildrenParentPtr() - return result - } - protected readonly brandETSStructDeclaration: undefined -} -export function isETSStructDeclaration(node: object | undefined): node is ETSStructDeclaration { - return node instanceof ETSStructDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_STRUCT_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_STRUCT_DECLARATION, (peer: KNativePointer) => new ETSStructDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_STRUCT_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSTuple.ts b/ui2abc/libarkts/generated/peers/ETSTuple.ts deleted file mode 100644 index 060b483df..000000000 --- a/ui2abc/libarkts/generated/peers/ETSTuple.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSTuple extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSTuple(): ETSTuple { - const result: ETSTuple = new ETSTuple(global.generatedEs2panda._CreateETSTuple(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE) - result.setChildrenParentPtr() - return result - } - static updateETSTuple(original?: ETSTuple): ETSTuple { - const result: ETSTuple = new ETSTuple(global.generatedEs2panda._UpdateETSTuple(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE) - result.setChildrenParentPtr() - return result - } - static create1ETSTuple(size: number): ETSTuple { - const result: ETSTuple = new ETSTuple(global.generatedEs2panda._CreateETSTuple1(global.context, size), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE) - result.setChildrenParentPtr() - return result - } - static update1ETSTuple(original: ETSTuple | undefined, size: number): ETSTuple { - const result: ETSTuple = new ETSTuple(global.generatedEs2panda._UpdateETSTuple1(global.context, passNode(original), size), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE) - result.setChildrenParentPtr() - return result - } - static create2ETSTuple(typeList: readonly TypeNode[]): ETSTuple { - const result: ETSTuple = new ETSTuple(global.generatedEs2panda._CreateETSTuple2(global.context, passNodeArray(typeList), typeList.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE) - result.setChildrenParentPtr() - return result - } - static update2ETSTuple(original: ETSTuple | undefined, typeList: readonly TypeNode[]): ETSTuple { - const result: ETSTuple = new ETSTuple(global.generatedEs2panda._UpdateETSTuple2(global.context, passNode(original), passNodeArray(typeList), typeList.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE) - result.setChildrenParentPtr() - return result - } - get tupleSize(): number { - return global.generatedEs2panda._ETSTupleGetTupleSizeConst(global.context, this.peer) - } - get tupleTypeAnnotationsList(): readonly TypeNode[] { - return unpackNodeArray(global.generatedEs2panda._ETSTupleGetTupleTypeAnnotationsList(global.context, this.peer)) - } - /** @deprecated */ - setTypeAnnotationsList(typeNodeList: readonly TypeNode[]): this { - global.generatedEs2panda._ETSTupleSetTypeAnnotationsList(global.context, this.peer, passNodeArray(typeNodeList), typeNodeList.length) - return this - } - protected readonly brandETSTuple: undefined -} -export function isETSTuple(node: object | undefined): node is ETSTuple { - return node instanceof ETSTuple -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE, (peer: KNativePointer) => new ETSTuple(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TUPLE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSTypeReference.ts b/ui2abc/libarkts/generated/peers/ETSTypeReference.ts deleted file mode 100644 index b05e7df60..000000000 --- a/ui2abc/libarkts/generated/peers/ETSTypeReference.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ETSTypeReferencePart } from "./ETSTypeReferencePart" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { TypeNode } from "./TypeNode" - -export class ETSTypeReference extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSTypeReference(part?: ETSTypeReferencePart): ETSTypeReference { - const result: ETSTypeReference = new ETSTypeReference(global.generatedEs2panda._CreateETSTypeReference(global.context, passNode(part)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE) - result.setChildrenParentPtr() - return result - } - static updateETSTypeReference(original?: ETSTypeReference, part?: ETSTypeReferencePart): ETSTypeReference { - const result: ETSTypeReference = new ETSTypeReference(global.generatedEs2panda._UpdateETSTypeReference(global.context, passNode(original), passNode(part)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE) - result.setChildrenParentPtr() - return result - } - get part(): ETSTypeReferencePart | undefined { - return unpackNode(global.generatedEs2panda._ETSTypeReferencePart(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART) - } - get baseName(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ETSTypeReferenceBaseNameConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandETSTypeReference: undefined -} -export function isETSTypeReference(node: object | undefined): node is ETSTypeReference { - return node instanceof ETSTypeReference -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE, (peer: KNativePointer) => new ETSTypeReference(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts b/ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts deleted file mode 100644 index 7b93fcb41..000000000 --- a/ui2abc/libarkts/generated/peers/ETSTypeReferencePart.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" -import { TypeNode } from "./TypeNode" - -export class ETSTypeReferencePart extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSTypeReferencePart(name?: Expression, typeParams?: TSTypeParameterInstantiation, prev?: ETSTypeReferencePart): ETSTypeReferencePart { - const result: ETSTypeReferencePart = new ETSTypeReferencePart(global.generatedEs2panda._CreateETSTypeReferencePart(global.context, passNode(name), passNode(typeParams), passNode(prev)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART) - result.setChildrenParentPtr() - return result - } - static updateETSTypeReferencePart(original?: ETSTypeReferencePart, name?: Expression, typeParams?: TSTypeParameterInstantiation, prev?: ETSTypeReferencePart): ETSTypeReferencePart { - const result: ETSTypeReferencePart = new ETSTypeReferencePart(global.generatedEs2panda._UpdateETSTypeReferencePart(global.context, passNode(original), passNode(name), passNode(typeParams), passNode(prev)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART) - result.setChildrenParentPtr() - return result - } - static update1ETSTypeReferencePart(original?: ETSTypeReferencePart, name?: Expression): ETSTypeReferencePart { - const result: ETSTypeReferencePart = new ETSTypeReferencePart(global.generatedEs2panda._UpdateETSTypeReferencePart1(global.context, passNode(original), passNode(name)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART) - result.setChildrenParentPtr() - return result - } - get previous(): ETSTypeReferencePart | undefined { - return unpackNode(global.generatedEs2panda._ETSTypeReferencePartPrevious(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART) - } - get name(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ETSTypeReferencePartName(global.context, this.peer)) - } - get typeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._ETSTypeReferencePartTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ETSTypeReferencePartGetIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandETSTypeReferencePart: undefined -} -export function isETSTypeReferencePart(node: object | undefined): node is ETSTypeReferencePart { - return node instanceof ETSTypeReferencePart -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART, (peer: KNativePointer) => new ETSTypeReferencePart(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE_PART)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSUndefinedType.ts b/ui2abc/libarkts/generated/peers/ETSUndefinedType.ts deleted file mode 100644 index ea9554625..000000000 --- a/ui2abc/libarkts/generated/peers/ETSUndefinedType.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSUndefinedType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSUndefinedType(): ETSUndefinedType { - const result: ETSUndefinedType = new ETSUndefinedType(global.generatedEs2panda._CreateETSUndefinedType(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNDEFINED_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSUndefinedType(original?: ETSUndefinedType): ETSUndefinedType { - const result: ETSUndefinedType = new ETSUndefinedType(global.generatedEs2panda._UpdateETSUndefinedType(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNDEFINED_TYPE) - result.setChildrenParentPtr() - return result - } - protected readonly brandETSUndefinedType: undefined -} -export function isETSUndefinedType(node: object | undefined): node is ETSUndefinedType { - return node instanceof ETSUndefinedType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNDEFINED_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNDEFINED_TYPE, (peer: KNativePointer) => new ETSUndefinedType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNDEFINED_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSUnionType.ts b/ui2abc/libarkts/generated/peers/ETSUnionType.ts deleted file mode 100644 index 99cdbb4f5..000000000 --- a/ui2abc/libarkts/generated/peers/ETSUnionType.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSUnionType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSUnionType(types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType { - const result: ETSUnionType = new ETSUnionType(global.generatedEs2panda._CreateETSUnionType(global.context, passNodeArray(types), types.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNION_TYPE) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateETSUnionType(original: ETSUnionType | undefined, types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType { - const result: ETSUnionType = new ETSUnionType(global.generatedEs2panda._UpdateETSUnionType(global.context, passNode(original), passNodeArray(types), types.length), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNION_TYPE) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get types(): readonly TypeNode[] { - return unpackNodeArray(global.generatedEs2panda._ETSUnionTypeTypesConst(global.context, this.peer)) - } - /** @deprecated */ - setValueTypes(type: TypeNode | undefined, index: number): this { - global.generatedEs2panda._ETSUnionTypeSetValueTypesConst(global.context, this.peer, passNode(type), index) - return this - } - protected readonly brandETSUnionType: undefined -} -export function isETSUnionType(node: object | undefined): node is ETSUnionType { - return node instanceof ETSUnionType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNION_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNION_TYPE, (peer: KNativePointer) => new ETSUnionType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_UNION_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/ETSWildcardType.ts b/ui2abc/libarkts/generated/peers/ETSWildcardType.ts deleted file mode 100644 index 79749b205..000000000 --- a/ui2abc/libarkts/generated/peers/ETSWildcardType.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ETSTypeReference } from "./ETSTypeReference" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class ETSWildcardType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createETSWildcardType(typeReference: ETSTypeReference | undefined, flags: Es2pandaModifierFlags): ETSWildcardType { - const result: ETSWildcardType = new ETSWildcardType(global.generatedEs2panda._CreateETSWildcardType(global.context, passNode(typeReference), flags), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_WILDCARD_TYPE) - result.setChildrenParentPtr() - return result - } - static updateETSWildcardType(original: ETSWildcardType | undefined, typeReference: ETSTypeReference | undefined, flags: Es2pandaModifierFlags): ETSWildcardType { - const result: ETSWildcardType = new ETSWildcardType(global.generatedEs2panda._UpdateETSWildcardType(global.context, passNode(original), passNode(typeReference), flags), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_WILDCARD_TYPE) - result.setChildrenParentPtr() - return result - } - get typeReference(): ETSTypeReference | undefined { - return unpackNode(global.generatedEs2panda._ETSWildcardTypeTypeReference(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ETS_TYPE_REFERENCE) - } - protected readonly brandETSWildcardType: undefined -} -export function isETSWildcardType(node: object | undefined): node is ETSWildcardType { - return node instanceof ETSWildcardType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_WILDCARD_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_ETS_WILDCARD_TYPE, (peer: KNativePointer) => new ETSWildcardType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_ETS_WILDCARD_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/EmptyStatement.ts b/ui2abc/libarkts/generated/peers/EmptyStatement.ts deleted file mode 100644 index 65018c8a5..000000000 --- a/ui2abc/libarkts/generated/peers/EmptyStatement.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class EmptyStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1EmptyStatement(isBrokenStatement: boolean): EmptyStatement { - const result: EmptyStatement = new EmptyStatement(global.generatedEs2panda._CreateEmptyStatement1(global.context, isBrokenStatement), Es2pandaAstNodeType.AST_NODE_TYPE_EMPTY_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateEmptyStatement(original?: EmptyStatement): EmptyStatement { - const result: EmptyStatement = new EmptyStatement(global.generatedEs2panda._UpdateEmptyStatement(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_EMPTY_STATEMENT) - result.setChildrenParentPtr() - return result - } - static update1EmptyStatement(original: EmptyStatement | undefined, isBrokenStatement: boolean): EmptyStatement { - const result: EmptyStatement = new EmptyStatement(global.generatedEs2panda._UpdateEmptyStatement1(global.context, passNode(original), isBrokenStatement), Es2pandaAstNodeType.AST_NODE_TYPE_EMPTY_STATEMENT) - result.setChildrenParentPtr() - return result - } - get isBrokenStatement(): boolean { - return global.generatedEs2panda._EmptyStatementIsBrokenStatement(global.context, this.peer) - } - protected readonly brandEmptyStatement: undefined -} -export function isEmptyStatement(node: object | undefined): node is EmptyStatement { - return node instanceof EmptyStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_EMPTY_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_EMPTY_STATEMENT, (peer: KNativePointer) => new EmptyStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_EMPTY_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ErrorLogger.ts b/ui2abc/libarkts/generated/peers/ErrorLogger.ts deleted file mode 100644 index ad6815681..000000000 --- a/ui2abc/libarkts/generated/peers/ErrorLogger.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class ErrorLogger extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandErrorLogger: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts b/ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts deleted file mode 100644 index 5e31d6b3b..000000000 --- a/ui2abc/libarkts/generated/peers/ExportAllDeclaration.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" -import { StringLiteral } from "./StringLiteral" - -export class ExportAllDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createExportAllDeclaration(source?: StringLiteral, exported?: Identifier): ExportAllDeclaration { - const result: ExportAllDeclaration = new ExportAllDeclaration(global.generatedEs2panda._CreateExportAllDeclaration(global.context, passNode(source), passNode(exported)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_ALL_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateExportAllDeclaration(original?: ExportAllDeclaration, source?: StringLiteral, exported?: Identifier): ExportAllDeclaration { - const result: ExportAllDeclaration = new ExportAllDeclaration(global.generatedEs2panda._UpdateExportAllDeclaration(global.context, passNode(original), passNode(source), passNode(exported)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_ALL_DECLARATION) - result.setChildrenParentPtr() - return result - } - get source(): StringLiteral | undefined { - return unpackNode(global.generatedEs2panda._ExportAllDeclarationSourceConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL) - } - get exported(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ExportAllDeclarationExportedConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandExportAllDeclaration: undefined -} -export function isExportAllDeclaration(node: object | undefined): node is ExportAllDeclaration { - return node instanceof ExportAllDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_ALL_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_ALL_DECLARATION, (peer: KNativePointer) => new ExportAllDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_ALL_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts b/ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts deleted file mode 100644 index 5607e424a..000000000 --- a/ui2abc/libarkts/generated/peers/ExportDefaultDeclaration.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class ExportDefaultDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createExportDefaultDeclaration(decl: AstNode | undefined, exportEquals: boolean): ExportDefaultDeclaration { - const result: ExportDefaultDeclaration = new ExportDefaultDeclaration(global.generatedEs2panda._CreateExportDefaultDeclaration(global.context, passNode(decl), exportEquals), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_DEFAULT_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateExportDefaultDeclaration(original: ExportDefaultDeclaration | undefined, decl: AstNode | undefined, exportEquals: boolean): ExportDefaultDeclaration { - const result: ExportDefaultDeclaration = new ExportDefaultDeclaration(global.generatedEs2panda._UpdateExportDefaultDeclaration(global.context, passNode(original), passNode(decl), exportEquals), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_DEFAULT_DECLARATION) - result.setChildrenParentPtr() - return result - } - get decl(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ExportDefaultDeclarationDecl(global.context, this.peer)) - } - get isExportEquals(): boolean { - return global.generatedEs2panda._ExportDefaultDeclarationIsExportEqualsConst(global.context, this.peer) - } - protected readonly brandExportDefaultDeclaration: undefined -} -export function isExportDefaultDeclaration(node: object | undefined): node is ExportDefaultDeclaration { - return node instanceof ExportDefaultDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_DEFAULT_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_DEFAULT_DECLARATION, (peer: KNativePointer) => new ExportDefaultDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_DEFAULT_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts b/ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts deleted file mode 100644 index 5e4f0c469..000000000 --- a/ui2abc/libarkts/generated/peers/ExportNamedDeclaration.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { ExportSpecifier } from "./ExportSpecifier" -import { Statement } from "./Statement" -import { StringLiteral } from "./StringLiteral" - -export class ExportNamedDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createExportNamedDeclaration(source: StringLiteral | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration { - const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._CreateExportNamedDeclaration(global.context, passNode(source), passNodeArray(specifiers), specifiers.length), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateExportNamedDeclaration(original: ExportNamedDeclaration | undefined, source: StringLiteral | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration { - const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._UpdateExportNamedDeclaration(global.context, passNode(original), passNode(source), passNodeArray(specifiers), specifiers.length), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION) - result.setChildrenParentPtr() - return result - } - static create1ExportNamedDeclaration(decl: AstNode | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration { - const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._CreateExportNamedDeclaration1(global.context, passNode(decl), passNodeArray(specifiers), specifiers.length), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION) - result.setChildrenParentPtr() - return result - } - static update1ExportNamedDeclaration(original: ExportNamedDeclaration | undefined, decl: AstNode | undefined, specifiers: readonly ExportSpecifier[]): ExportNamedDeclaration { - const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._UpdateExportNamedDeclaration1(global.context, passNode(original), passNode(decl), passNodeArray(specifiers), specifiers.length), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION) - result.setChildrenParentPtr() - return result - } - static create2ExportNamedDeclaration(decl?: AstNode): ExportNamedDeclaration { - const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._CreateExportNamedDeclaration2(global.context, passNode(decl)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION) - result.setChildrenParentPtr() - return result - } - static update2ExportNamedDeclaration(original?: ExportNamedDeclaration, decl?: AstNode): ExportNamedDeclaration { - const result: ExportNamedDeclaration = new ExportNamedDeclaration(global.generatedEs2panda._UpdateExportNamedDeclaration2(global.context, passNode(original), passNode(decl)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION) - result.setChildrenParentPtr() - return result - } - get decl(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ExportNamedDeclarationDeclConst(global.context, this.peer)) - } - get source(): StringLiteral | undefined { - return unpackNode(global.generatedEs2panda._ExportNamedDeclarationSourceConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL) - } - get specifiers(): readonly ExportSpecifier[] { - return unpackNodeArray(global.generatedEs2panda._ExportNamedDeclarationSpecifiersConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER) - } - /** @deprecated */ - replaceSpecifiers(specifiers: readonly ExportSpecifier[]): this { - global.generatedEs2panda._ExportNamedDeclarationReplaceSpecifiers(global.context, this.peer, passNodeArray(specifiers), specifiers.length) - return this - } - protected readonly brandExportNamedDeclaration: undefined -} -export function isExportNamedDeclaration(node: object | undefined): node is ExportNamedDeclaration { - return node instanceof ExportNamedDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION, (peer: KNativePointer) => new ExportNamedDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_NAMED_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ExportSpecifier.ts b/ui2abc/libarkts/generated/peers/ExportSpecifier.ts deleted file mode 100644 index 2dbbb5c68..000000000 --- a/ui2abc/libarkts/generated/peers/ExportSpecifier.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class ExportSpecifier extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createExportSpecifier(local?: Identifier, exported?: Identifier): ExportSpecifier { - const result: ExportSpecifier = new ExportSpecifier(global.generatedEs2panda._CreateExportSpecifier(global.context, passNode(local), passNode(exported)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER) - result.setChildrenParentPtr() - return result - } - static updateExportSpecifier(original?: ExportSpecifier, local?: Identifier, exported?: Identifier): ExportSpecifier { - const result: ExportSpecifier = new ExportSpecifier(global.generatedEs2panda._UpdateExportSpecifier(global.context, passNode(original), passNode(local), passNode(exported)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER) - result.setChildrenParentPtr() - return result - } - get local(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ExportSpecifierLocalConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get exported(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ExportSpecifierExportedConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - /** @deprecated */ - setDefault(): this { - global.generatedEs2panda._ExportSpecifierSetDefault(global.context, this.peer) - return this - } - get isDefault(): boolean { - return global.generatedEs2panda._ExportSpecifierIsDefaultConst(global.context, this.peer) - } - /** @deprecated */ - setConstantExpression(constantExpression?: Expression): this { - global.generatedEs2panda._ExportSpecifierSetConstantExpression(global.context, this.peer, passNode(constantExpression)) - return this - } - get constantExpression(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ExportSpecifierGetConstantExpressionConst(global.context, this.peer)) - } - protected readonly brandExportSpecifier: undefined -} -export function isExportSpecifier(node: object | undefined): node is ExportSpecifier { - return node instanceof ExportSpecifier -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER, (peer: KNativePointer) => new ExportSpecifier(peer, Es2pandaAstNodeType.AST_NODE_TYPE_EXPORT_SPECIFIER)) -} diff --git a/ui2abc/libarkts/generated/peers/Expression.ts b/ui2abc/libarkts/generated/peers/Expression.ts deleted file mode 100644 index 12559749f..000000000 --- a/ui2abc/libarkts/generated/peers/Expression.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" -import { TypeNode } from "./TypeNode" -import { TypedAstNode } from "./TypedAstNode" -import { extension_ExpressionGetPreferredTypePointer } from "./../../src/reexport-for-generated" -import { extension_ExpressionSetPreferredTypePointer } from "./../../src/reexport-for-generated" - -export class Expression extends TypedAstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get isGrouped(): boolean { - return global.generatedEs2panda._ExpressionIsGroupedConst(global.context, this.peer) - } - /** @deprecated */ - setGrouped(): this { - global.generatedEs2panda._ExpressionSetGrouped(global.context, this.peer) - return this - } - get asLiteral(): Literal | undefined { - return unpackNode(global.generatedEs2panda._ExpressionAsLiteral(global.context, this.peer)) - } - get isLiteral(): boolean { - return global.generatedEs2panda._ExpressionIsLiteralConst(global.context, this.peer) - } - get isTypeNode(): boolean { - return global.generatedEs2panda._ExpressionIsTypeNodeConst(global.context, this.peer) - } - get isAnnotatedExpression(): boolean { - return global.generatedEs2panda._ExpressionIsAnnotatedExpressionConst(global.context, this.peer) - } - get asTypeNode(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ExpressionAsTypeNode(global.context, this.peer)) - } - get asAnnotatedExpression(): AnnotatedExpression | undefined { - return unpackNode(global.generatedEs2panda._ExpressionAsAnnotatedExpression(global.context, this.peer)) - } - get isBrokenExpression(): boolean { - return global.generatedEs2panda._ExpressionIsBrokenExpressionConst(global.context, this.peer) - } - get toString(): string { - return unpackString(global.generatedEs2panda._ExpressionToStringConst(global.context, this.peer)) - } - getPreferredTypePointer = extension_ExpressionGetPreferredTypePointer - setPreferredTypePointer = extension_ExpressionSetPreferredTypePointer - protected readonly brandExpression: undefined -} -export function isExpression(node: object | undefined): node is Expression { - return node instanceof Expression -} diff --git a/ui2abc/libarkts/generated/peers/ExpressionStatement.ts b/ui2abc/libarkts/generated/peers/ExpressionStatement.ts deleted file mode 100644 index f782e13b2..000000000 --- a/ui2abc/libarkts/generated/peers/ExpressionStatement.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class ExpressionStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createExpressionStatement(expr?: Expression): ExpressionStatement { - const result: ExpressionStatement = new ExpressionStatement(global.generatedEs2panda._CreateExpressionStatement(global.context, passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPRESSION_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateExpressionStatement(original?: ExpressionStatement, expr?: Expression): ExpressionStatement { - const result: ExpressionStatement = new ExpressionStatement(global.generatedEs2panda._UpdateExpressionStatement(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_EXPRESSION_STATEMENT) - result.setChildrenParentPtr() - return result - } - get expression(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ExpressionStatementGetExpression(global.context, this.peer)) - } - /** @deprecated */ - setExpression(expr?: Expression): this { - global.generatedEs2panda._ExpressionStatementSetExpression(global.context, this.peer, passNode(expr)) - return this - } - protected readonly brandExpressionStatement: undefined -} -export function isExpressionStatement(node: object | undefined): node is ExpressionStatement { - return node instanceof ExpressionStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_EXPRESSION_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_EXPRESSION_STATEMENT, (peer: KNativePointer) => new ExpressionStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_EXPRESSION_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ForInStatement.ts b/ui2abc/libarkts/generated/peers/ForInStatement.ts deleted file mode 100644 index 19d7eeb8b..000000000 --- a/ui2abc/libarkts/generated/peers/ForInStatement.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { LoopStatement } from "./LoopStatement" -import { Statement } from "./Statement" - -export class ForInStatement extends LoopStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createForInStatement(left?: AstNode, right?: Expression, body?: Statement): ForInStatement { - const result: ForInStatement = new ForInStatement(global.generatedEs2panda._CreateForInStatement(global.context, passNode(left), passNode(right), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_FOR_IN_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateForInStatement(original?: ForInStatement, left?: AstNode, right?: Expression, body?: Statement): ForInStatement { - const result: ForInStatement = new ForInStatement(global.generatedEs2panda._UpdateForInStatement(global.context, passNode(original), passNode(left), passNode(right), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_FOR_IN_STATEMENT) - result.setChildrenParentPtr() - return result - } - get left(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ForInStatementLeft(global.context, this.peer)) - } - get right(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ForInStatementRight(global.context, this.peer)) - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._ForInStatementBody(global.context, this.peer)) - } - protected readonly brandForInStatement: undefined -} -export function isForInStatement(node: object | undefined): node is ForInStatement { - return node instanceof ForInStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_FOR_IN_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_FOR_IN_STATEMENT, (peer: KNativePointer) => new ForInStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_FOR_IN_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ForOfStatement.ts b/ui2abc/libarkts/generated/peers/ForOfStatement.ts deleted file mode 100644 index 893b9e12e..000000000 --- a/ui2abc/libarkts/generated/peers/ForOfStatement.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { LoopStatement } from "./LoopStatement" -import { Statement } from "./Statement" - -export class ForOfStatement extends LoopStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createForOfStatement(left: AstNode | undefined, right: Expression | undefined, body: Statement | undefined, isAwait: boolean): ForOfStatement { - const result: ForOfStatement = new ForOfStatement(global.generatedEs2panda._CreateForOfStatement(global.context, passNode(left), passNode(right), passNode(body), isAwait), Es2pandaAstNodeType.AST_NODE_TYPE_FOR_OF_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateForOfStatement(original: ForOfStatement | undefined, left: AstNode | undefined, right: Expression | undefined, body: Statement | undefined, isAwait: boolean): ForOfStatement { - const result: ForOfStatement = new ForOfStatement(global.generatedEs2panda._UpdateForOfStatement(global.context, passNode(original), passNode(left), passNode(right), passNode(body), isAwait), Es2pandaAstNodeType.AST_NODE_TYPE_FOR_OF_STATEMENT) - result.setChildrenParentPtr() - return result - } - get left(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ForOfStatementLeft(global.context, this.peer)) - } - get right(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ForOfStatementRight(global.context, this.peer)) - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._ForOfStatementBody(global.context, this.peer)) - } - get isAwait(): boolean { - return global.generatedEs2panda._ForOfStatementIsAwaitConst(global.context, this.peer) - } - protected readonly brandForOfStatement: undefined -} -export function isForOfStatement(node: object | undefined): node is ForOfStatement { - return node instanceof ForOfStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_FOR_OF_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_FOR_OF_STATEMENT, (peer: KNativePointer) => new ForOfStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_FOR_OF_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ForUpdateStatement.ts b/ui2abc/libarkts/generated/peers/ForUpdateStatement.ts deleted file mode 100644 index 4ef3dd323..000000000 --- a/ui2abc/libarkts/generated/peers/ForUpdateStatement.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { LoopStatement } from "./LoopStatement" -import { Statement } from "./Statement" - -export class ForUpdateStatement extends LoopStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createForUpdateStatement(init?: AstNode, test?: Expression, update?: Expression, body?: Statement): ForUpdateStatement { - const result: ForUpdateStatement = new ForUpdateStatement(global.generatedEs2panda._CreateForUpdateStatement(global.context, passNode(init), passNode(test), passNode(update), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_FOR_UPDATE_STATEMENT) - result.setChildrenParentPtr() - return result - } - get init(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ForUpdateStatementInit(global.context, this.peer)) - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ForUpdateStatementTest(global.context, this.peer)) - } - get update(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ForUpdateStatementUpdateConst(global.context, this.peer)) - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._ForUpdateStatementBody(global.context, this.peer)) - } - protected readonly brandForUpdateStatement: undefined -} -export function isForUpdateStatement(node: object | undefined): node is ForUpdateStatement { - return node instanceof ForUpdateStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_FOR_UPDATE_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_FOR_UPDATE_STATEMENT, (peer: KNativePointer) => new ForUpdateStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_FOR_UPDATE_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/FunctionDeclaration.ts b/ui2abc/libarkts/generated/peers/FunctionDeclaration.ts deleted file mode 100644 index 1de470d32..000000000 --- a/ui2abc/libarkts/generated/peers/FunctionDeclaration.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { ScriptFunction } from "./ScriptFunction" -import { SrcDumper } from "./SrcDumper" -import { Statement } from "./Statement" - -export class FunctionDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createFunctionDeclaration(func: ScriptFunction | undefined, annotations: readonly AnnotationUsage[], isAnonymous: boolean): FunctionDeclaration { - const result: FunctionDeclaration = new FunctionDeclaration(global.generatedEs2panda._CreateFunctionDeclaration(global.context, passNode(func), passNodeArray(annotations), annotations.length, isAnonymous), Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateFunctionDeclaration(original: FunctionDeclaration | undefined, func: ScriptFunction | undefined, annotations: readonly AnnotationUsage[], isAnonymous: boolean): FunctionDeclaration { - const result: FunctionDeclaration = new FunctionDeclaration(global.generatedEs2panda._UpdateFunctionDeclaration(global.context, passNode(original), passNode(func), passNodeArray(annotations), annotations.length, isAnonymous), Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_DECLARATION) - result.setChildrenParentPtr() - return result - } - static update1FunctionDeclaration(original: FunctionDeclaration | undefined, func: ScriptFunction | undefined, isAnonymous: boolean): FunctionDeclaration { - const result: FunctionDeclaration = new FunctionDeclaration(global.generatedEs2panda._UpdateFunctionDeclaration1(global.context, passNode(original), passNode(func), isAnonymous), Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_DECLARATION) - result.setChildrenParentPtr() - return result - } - get function(): ScriptFunction | undefined { - return unpackNode(global.generatedEs2panda._FunctionDeclarationFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - } - get isAnonymous(): boolean { - return global.generatedEs2panda._FunctionDeclarationIsAnonymousConst(global.context, this.peer) - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._FunctionDeclarationHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._FunctionDeclarationEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._FunctionDeclarationClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._FunctionDeclarationDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._FunctionDeclarationAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._FunctionDeclarationAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._FunctionDeclarationSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._FunctionDeclarationSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandFunctionDeclaration: undefined -} -export function isFunctionDeclaration(node: object | undefined): node is FunctionDeclaration { - return node instanceof FunctionDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_DECLARATION, (peer: KNativePointer) => new FunctionDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/FunctionExpression.ts b/ui2abc/libarkts/generated/peers/FunctionExpression.ts deleted file mode 100644 index d7f0c0a08..000000000 --- a/ui2abc/libarkts/generated/peers/FunctionExpression.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { ScriptFunction } from "./ScriptFunction" - -export class FunctionExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1FunctionExpression(namedExpr?: Identifier, func?: ScriptFunction): FunctionExpression { - const result: FunctionExpression = new FunctionExpression(global.generatedEs2panda._CreateFunctionExpression1(global.context, passNode(namedExpr), passNode(func)), Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateFunctionExpression(original?: FunctionExpression, func?: ScriptFunction): FunctionExpression { - const result: FunctionExpression = new FunctionExpression(global.generatedEs2panda._UpdateFunctionExpression(global.context, passNode(original), passNode(func)), Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static update1FunctionExpression(original?: FunctionExpression, namedExpr?: Identifier, func?: ScriptFunction): FunctionExpression { - const result: FunctionExpression = new FunctionExpression(global.generatedEs2panda._UpdateFunctionExpression1(global.context, passNode(original), passNode(namedExpr), passNode(func)), Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get function(): ScriptFunction | undefined { - return unpackNode(global.generatedEs2panda._FunctionExpressionFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - } - get isAnonymous(): boolean { - return global.generatedEs2panda._FunctionExpressionIsAnonymousConst(global.context, this.peer) - } - get id(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._FunctionExpressionId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandFunctionExpression: undefined -} -export function isFunctionExpression(node: object | undefined): node is FunctionExpression { - return node instanceof FunctionExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_EXPRESSION, (peer: KNativePointer) => new FunctionExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_FUNCTION_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/FunctionSignature.ts b/ui2abc/libarkts/generated/peers/FunctionSignature.ts deleted file mode 100644 index 40054bdcc..000000000 --- a/ui2abc/libarkts/generated/peers/FunctionSignature.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" - -export class FunctionSignature extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - static createFunctionSignature(typeParams: TSTypeParameterDeclaration | undefined, params: readonly Expression[], returnTypeAnnotation: TypeNode | undefined, hasReceiver: boolean): FunctionSignature { - return new FunctionSignature(global.generatedEs2panda._CreateFunctionSignature(global.context, passNode(typeParams), passNodeArray(params), params.length, passNode(returnTypeAnnotation), hasReceiver)) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._FunctionSignatureParams(global.context, this.peer)) - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._FunctionSignatureTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get returnType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._FunctionSignatureReturnType(global.context, this.peer)) - } - /** @deprecated */ - setReturnType(type?: TypeNode): this { - global.generatedEs2panda._FunctionSignatureSetReturnType(global.context, this.peer, passNode(type)) - return this - } - get clone(): FunctionSignature | undefined { - return new FunctionSignature(global.generatedEs2panda._FunctionSignatureClone(global.context, this.peer)) - } - get hasReceiver(): boolean { - return global.generatedEs2panda._FunctionSignatureHasReceiverConst(global.context, this.peer) - } - protected readonly brandFunctionSignature: undefined -} -export function isFunctionSignature(node: object | undefined): node is FunctionSignature { - return node instanceof FunctionSignature -} diff --git a/ui2abc/libarkts/generated/peers/IRNode.ts b/ui2abc/libarkts/generated/peers/IRNode.ts deleted file mode 100644 index 6edf38059..000000000 --- a/ui2abc/libarkts/generated/peers/IRNode.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class IRNode extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandIRNode: undefined -} diff --git a/ui2abc/libarkts/generated/peers/Identifier.ts b/ui2abc/libarkts/generated/peers/Identifier.ts deleted file mode 100644 index 47098e9ea..000000000 --- a/ui2abc/libarkts/generated/peers/Identifier.ts +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" -import { ValidationInfo } from "./ValidationInfo" - -export class Identifier extends AnnotatedExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create2Identifier(name: string, typeAnnotation?: TypeNode): Identifier { - const result: Identifier = new Identifier(global.generatedEs2panda._CreateIdentifier2(global.context, name, passNode(typeAnnotation)), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - result.setChildrenParentPtr() - return result - } - static updateIdentifier(original?: Identifier): Identifier { - const result: Identifier = new Identifier(global.generatedEs2panda._UpdateIdentifier(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - result.setChildrenParentPtr() - return result - } - static update1Identifier(original: Identifier | undefined, name: string): Identifier { - const result: Identifier = new Identifier(global.generatedEs2panda._UpdateIdentifier1(global.context, passNode(original), name), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - result.setChildrenParentPtr() - return result - } - static update2Identifier(original: Identifier | undefined, name: string, typeAnnotation?: TypeNode): Identifier { - const result: Identifier = new Identifier(global.generatedEs2panda._UpdateIdentifier2(global.context, passNode(original), name, passNode(typeAnnotation)), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - result.setChildrenParentPtr() - return result - } - get name(): string { - return unpackString(global.generatedEs2panda._IdentifierName(global.context, this.peer)) - } - /** @deprecated */ - setName(newName: string): this { - global.generatedEs2panda._IdentifierSetName(global.context, this.peer, newName) - return this - } - get isErrorPlaceHolder(): boolean { - return global.generatedEs2panda._IdentifierIsErrorPlaceHolderConst(global.context, this.peer) - } - get isOptional(): boolean { - return global.generatedEs2panda._IdentifierIsOptionalConst(global.context, this.peer) - } - /** @deprecated */ - setOptional(optional_arg: boolean): this { - global.generatedEs2panda._IdentifierSetOptional(global.context, this.peer, optional_arg) - return this - } - get isReference(): boolean { - return global.generatedEs2panda._IdentifierIsReferenceConst(global.context, this.peer) - } - get isTdz(): boolean { - return global.generatedEs2panda._IdentifierIsTdzConst(global.context, this.peer) - } - /** @deprecated */ - setTdz(): this { - global.generatedEs2panda._IdentifierSetTdz(global.context, this.peer) - return this - } - /** @deprecated */ - setAccessor(): this { - global.generatedEs2panda._IdentifierSetAccessor(global.context, this.peer) - return this - } - get isAccessor(): boolean { - return global.generatedEs2panda._IdentifierIsAccessorConst(global.context, this.peer) - } - /** @deprecated */ - setMutator(): this { - global.generatedEs2panda._IdentifierSetMutator(global.context, this.peer) - return this - } - get isMutator(): boolean { - return global.generatedEs2panda._IdentifierIsMutatorConst(global.context, this.peer) - } - get isReceiver(): boolean { - return global.generatedEs2panda._IdentifierIsReceiverConst(global.context, this.peer) - } - get isPrivateIdent(): boolean { - return global.generatedEs2panda._IdentifierIsPrivateIdentConst(global.context, this.peer) - } - /** @deprecated */ - setPrivate(isPrivate: boolean): this { - global.generatedEs2panda._IdentifierSetPrivate(global.context, this.peer, isPrivate) - return this - } - get isIgnoreBox(): boolean { - return global.generatedEs2panda._IdentifierIsIgnoreBoxConst(global.context, this.peer) - } - /** @deprecated */ - setIgnoreBox(): this { - global.generatedEs2panda._IdentifierSetIgnoreBox(global.context, this.peer) - return this - } - get isAnnotationDecl(): boolean { - return global.generatedEs2panda._IdentifierIsAnnotationDeclConst(global.context, this.peer) - } - /** @deprecated */ - setAnnotationDecl(): this { - global.generatedEs2panda._IdentifierSetAnnotationDecl(global.context, this.peer) - return this - } - get isAnnotationUsage(): boolean { - return global.generatedEs2panda._IdentifierIsAnnotationUsageConst(global.context, this.peer) - } - /** @deprecated */ - setAnnotationUsage(): this { - global.generatedEs2panda._IdentifierSetAnnotationUsage(global.context, this.peer) - return this - } - get validateExpression(): ValidationInfo | undefined { - return new ValidationInfo(global.generatedEs2panda._IdentifierValidateExpression(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._IdentifierTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._IdentifierSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandIdentifier: undefined -} -export function isIdentifier(node: object | undefined): node is Identifier { - return node instanceof Identifier -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER, (peer: KNativePointer) => new Identifier(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER)) -} diff --git a/ui2abc/libarkts/generated/peers/IfStatement.ts b/ui2abc/libarkts/generated/peers/IfStatement.ts deleted file mode 100644 index 3cbe3244f..000000000 --- a/ui2abc/libarkts/generated/peers/IfStatement.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class IfStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createIfStatement(test?: Expression, consequent?: Statement, alternate?: Statement): IfStatement { - const result: IfStatement = new IfStatement(global.generatedEs2panda._CreateIfStatement(global.context, passNode(test), passNode(consequent), passNode(alternate)), Es2pandaAstNodeType.AST_NODE_TYPE_IF_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateIfStatement(original?: IfStatement, test?: Expression, consequent?: Statement, alternate?: Statement): IfStatement { - const result: IfStatement = new IfStatement(global.generatedEs2panda._UpdateIfStatement(global.context, passNode(original), passNode(test), passNode(consequent), passNode(alternate)), Es2pandaAstNodeType.AST_NODE_TYPE_IF_STATEMENT) - result.setChildrenParentPtr() - return result - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._IfStatementTest(global.context, this.peer)) - } - /** @deprecated */ - setTest(test?: Expression): this { - global.generatedEs2panda._IfStatementSetTest(global.context, this.peer, passNode(test)) - return this - } - get consequent(): Statement | undefined { - return unpackNode(global.generatedEs2panda._IfStatementConsequent(global.context, this.peer)) - } - get alternate(): Statement | undefined { - return unpackNode(global.generatedEs2panda._IfStatementAlternate(global.context, this.peer)) - } - /** @deprecated */ - setAlternate(alternate?: Statement): this { - global.generatedEs2panda._IfStatementSetAlternate(global.context, this.peer, passNode(alternate)) - return this - } - protected readonly brandIfStatement: undefined -} -export function isIfStatement(node: object | undefined): node is IfStatement { - return node instanceof IfStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IF_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IF_STATEMENT, (peer: KNativePointer) => new IfStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IF_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ImportDeclaration.ts b/ui2abc/libarkts/generated/peers/ImportDeclaration.ts deleted file mode 100644 index 002680527..000000000 --- a/ui2abc/libarkts/generated/peers/ImportDeclaration.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaImportKinds } from "./../Es2pandaEnums" -import { Statement } from "./Statement" -import { StringLiteral } from "./StringLiteral" - -export class ImportDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createImportDeclaration(source: StringLiteral | undefined, specifiers: readonly AstNode[], importKinds: Es2pandaImportKinds): ImportDeclaration { - const result: ImportDeclaration = new ImportDeclaration(global.generatedEs2panda._CreateImportDeclaration(global.context, passNode(source), passNodeArray(specifiers), specifiers.length, importKinds), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateImportDeclaration(original: ImportDeclaration | undefined, source: StringLiteral | undefined, specifiers: readonly AstNode[], importKinds: Es2pandaImportKinds): ImportDeclaration { - const result: ImportDeclaration = new ImportDeclaration(global.generatedEs2panda._UpdateImportDeclaration(global.context, passNode(original), passNode(source), passNodeArray(specifiers), specifiers.length, importKinds), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DECLARATION) - result.setChildrenParentPtr() - return result - } - /** @deprecated */ - emplaceSpecifiers(source?: AstNode): this { - global.generatedEs2panda._ImportDeclarationEmplaceSpecifiers(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearSpecifiers(): this { - global.generatedEs2panda._ImportDeclarationClearSpecifiers(global.context, this.peer) - return this - } - /** @deprecated */ - setValueSpecifiers(source: AstNode | undefined, index: number): this { - global.generatedEs2panda._ImportDeclarationSetValueSpecifiers(global.context, this.peer, passNode(source), index) - return this - } - get specifiersForUpdate(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._ImportDeclarationSpecifiersForUpdate(global.context, this.peer)) - } - get source(): StringLiteral | undefined { - return unpackNode(global.generatedEs2panda._ImportDeclarationSource(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL) - } - get specifiers(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._ImportDeclarationSpecifiersConst(global.context, this.peer)) - } - get isTypeKind(): boolean { - return global.generatedEs2panda._ImportDeclarationIsTypeKindConst(global.context, this.peer) - } - protected readonly brandImportDeclaration: undefined -} -export function isImportDeclaration(node: object | undefined): node is ImportDeclaration { - return node instanceof ImportDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DECLARATION, (peer: KNativePointer) => new ImportDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts b/ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts deleted file mode 100644 index 2854e5f8a..000000000 --- a/ui2abc/libarkts/generated/peers/ImportDefaultSpecifier.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class ImportDefaultSpecifier extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createImportDefaultSpecifier(local?: Identifier): ImportDefaultSpecifier { - const result: ImportDefaultSpecifier = new ImportDefaultSpecifier(global.generatedEs2panda._CreateImportDefaultSpecifier(global.context, passNode(local)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DEFAULT_SPECIFIER) - result.setChildrenParentPtr() - return result - } - static updateImportDefaultSpecifier(original?: ImportDefaultSpecifier, local?: Identifier): ImportDefaultSpecifier { - const result: ImportDefaultSpecifier = new ImportDefaultSpecifier(global.generatedEs2panda._UpdateImportDefaultSpecifier(global.context, passNode(original), passNode(local)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DEFAULT_SPECIFIER) - result.setChildrenParentPtr() - return result - } - get local(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ImportDefaultSpecifierLocal(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandImportDefaultSpecifier: undefined -} -export function isImportDefaultSpecifier(node: object | undefined): node is ImportDefaultSpecifier { - return node instanceof ImportDefaultSpecifier -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DEFAULT_SPECIFIER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DEFAULT_SPECIFIER, (peer: KNativePointer) => new ImportDefaultSpecifier(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_DEFAULT_SPECIFIER)) -} diff --git a/ui2abc/libarkts/generated/peers/ImportExpression.ts b/ui2abc/libarkts/generated/peers/ImportExpression.ts deleted file mode 100644 index cdeb69990..000000000 --- a/ui2abc/libarkts/generated/peers/ImportExpression.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class ImportExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createImportExpression(source?: Expression): ImportExpression { - const result: ImportExpression = new ImportExpression(global.generatedEs2panda._CreateImportExpression(global.context, passNode(source)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateImportExpression(original?: ImportExpression, source?: Expression): ImportExpression { - const result: ImportExpression = new ImportExpression(global.generatedEs2panda._UpdateImportExpression(global.context, passNode(original), passNode(source)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get source(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ImportExpressionSource(global.context, this.peer)) - } - protected readonly brandImportExpression: undefined -} -export function isImportExpression(node: object | undefined): node is ImportExpression { - return node instanceof ImportExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_EXPRESSION, (peer: KNativePointer) => new ImportExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts b/ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts deleted file mode 100644 index ef080ef09..000000000 --- a/ui2abc/libarkts/generated/peers/ImportNamespaceSpecifier.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class ImportNamespaceSpecifier extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createImportNamespaceSpecifier(local?: Identifier): ImportNamespaceSpecifier { - const result: ImportNamespaceSpecifier = new ImportNamespaceSpecifier(global.generatedEs2panda._CreateImportNamespaceSpecifier(global.context, passNode(local)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_NAMESPACE_SPECIFIER) - result.setChildrenParentPtr() - return result - } - static updateImportNamespaceSpecifier(original?: ImportNamespaceSpecifier, local?: Identifier): ImportNamespaceSpecifier { - const result: ImportNamespaceSpecifier = new ImportNamespaceSpecifier(global.generatedEs2panda._UpdateImportNamespaceSpecifier(global.context, passNode(original), passNode(local)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_NAMESPACE_SPECIFIER) - result.setChildrenParentPtr() - return result - } - get local(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ImportNamespaceSpecifierLocal(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandImportNamespaceSpecifier: undefined -} -export function isImportNamespaceSpecifier(node: object | undefined): node is ImportNamespaceSpecifier { - return node instanceof ImportNamespaceSpecifier -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_NAMESPACE_SPECIFIER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_NAMESPACE_SPECIFIER, (peer: KNativePointer) => new ImportNamespaceSpecifier(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_NAMESPACE_SPECIFIER)) -} diff --git a/ui2abc/libarkts/generated/peers/ImportSource.ts b/ui2abc/libarkts/generated/peers/ImportSource.ts deleted file mode 100644 index c9cb38624..000000000 --- a/ui2abc/libarkts/generated/peers/ImportSource.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class ImportSource extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandImportSource: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ImportSpecifier.ts b/ui2abc/libarkts/generated/peers/ImportSpecifier.ts deleted file mode 100644 index d9bac45d9..000000000 --- a/ui2abc/libarkts/generated/peers/ImportSpecifier.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class ImportSpecifier extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createImportSpecifier(imported?: Identifier, local?: Identifier): ImportSpecifier { - const result: ImportSpecifier = new ImportSpecifier(global.generatedEs2panda._CreateImportSpecifier(global.context, passNode(imported), passNode(local)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_SPECIFIER) - result.setChildrenParentPtr() - return result - } - static updateImportSpecifier(original?: ImportSpecifier, imported?: Identifier, local?: Identifier): ImportSpecifier { - const result: ImportSpecifier = new ImportSpecifier(global.generatedEs2panda._UpdateImportSpecifier(global.context, passNode(original), passNode(imported), passNode(local)), Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_SPECIFIER) - result.setChildrenParentPtr() - return result - } - get imported(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ImportSpecifierImported(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get local(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ImportSpecifierLocal(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get isRemovable(): boolean { - return global.generatedEs2panda._ImportSpecifierIsRemovableConst(global.context, this.peer) - } - /** @deprecated */ - setRemovable(isRemovable: boolean): this { - global.generatedEs2panda._ImportSpecifierSetRemovable(global.context, this.peer, isRemovable) - return this - } - protected readonly brandImportSpecifier: undefined -} -export function isImportSpecifier(node: object | undefined): node is ImportSpecifier { - return node instanceof ImportSpecifier -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_SPECIFIER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_SPECIFIER, (peer: KNativePointer) => new ImportSpecifier(peer, Es2pandaAstNodeType.AST_NODE_TYPE_IMPORT_SPECIFIER)) -} diff --git a/ui2abc/libarkts/generated/peers/IndexInfo.ts b/ui2abc/libarkts/generated/peers/IndexInfo.ts deleted file mode 100644 index 676292db7..000000000 --- a/ui2abc/libarkts/generated/peers/IndexInfo.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class IndexInfo extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandIndexInfo: undefined -} diff --git a/ui2abc/libarkts/generated/peers/LabelPair.ts b/ui2abc/libarkts/generated/peers/LabelPair.ts deleted file mode 100644 index d19b886fa..000000000 --- a/ui2abc/libarkts/generated/peers/LabelPair.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class LabelPair extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandLabelPair: undefined -} diff --git a/ui2abc/libarkts/generated/peers/LabelledStatement.ts b/ui2abc/libarkts/generated/peers/LabelledStatement.ts deleted file mode 100644 index d7b1986fd..000000000 --- a/ui2abc/libarkts/generated/peers/LabelledStatement.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class LabelledStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createLabelledStatement(ident?: Identifier, body?: Statement): LabelledStatement { - const result: LabelledStatement = new LabelledStatement(global.generatedEs2panda._CreateLabelledStatement(global.context, passNode(ident), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_LABELLED_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateLabelledStatement(original?: LabelledStatement, ident?: Identifier, body?: Statement): LabelledStatement { - const result: LabelledStatement = new LabelledStatement(global.generatedEs2panda._UpdateLabelledStatement(global.context, passNode(original), passNode(ident), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_LABELLED_STATEMENT) - result.setChildrenParentPtr() - return result - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._LabelledStatementBody(global.context, this.peer)) - } - get ident(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._LabelledStatementIdent(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get referencedStatement(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._LabelledStatementGetReferencedStatementConst(global.context, this.peer)) - } - protected readonly brandLabelledStatement: undefined -} -export function isLabelledStatement(node: object | undefined): node is LabelledStatement { - return node instanceof LabelledStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_LABELLED_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_LABELLED_STATEMENT, (peer: KNativePointer) => new LabelledStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_LABELLED_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/Literal.ts b/ui2abc/libarkts/generated/peers/Literal.ts deleted file mode 100644 index d820fd49c..000000000 --- a/ui2abc/libarkts/generated/peers/Literal.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class Literal extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get isFolded(): boolean { - return global.generatedEs2panda._LiteralIsFoldedConst(global.context, this.peer) - } - /** @deprecated */ - setFolded(folded: boolean): this { - global.generatedEs2panda._LiteralSetFolded(global.context, this.peer, folded) - return this - } - protected readonly brandLiteral: undefined -} -export function isLiteral(node: object | undefined): node is Literal { - return node instanceof Literal -} diff --git a/ui2abc/libarkts/generated/peers/LoopStatement.ts b/ui2abc/libarkts/generated/peers/LoopStatement.ts deleted file mode 100644 index 20ea1e059..000000000 --- a/ui2abc/libarkts/generated/peers/LoopStatement.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class LoopStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - protected readonly brandLoopStatement: undefined -} -export function isLoopStatement(node: object | undefined): node is LoopStatement { - return node instanceof LoopStatement -} diff --git a/ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts b/ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts deleted file mode 100644 index 20f9e2715..000000000 --- a/ui2abc/libarkts/generated/peers/MaybeOptionalExpression.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class MaybeOptionalExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get isOptional(): boolean { - return global.generatedEs2panda._MaybeOptionalExpressionIsOptionalConst(global.context, this.peer) - } - /** @deprecated */ - clearOptional(): this { - global.generatedEs2panda._MaybeOptionalExpressionClearOptional(global.context, this.peer) - return this - } - protected readonly brandMaybeOptionalExpression: undefined -} -export function isMaybeOptionalExpression(node: object | undefined): node is MaybeOptionalExpression { - return node instanceof MaybeOptionalExpression -} diff --git a/ui2abc/libarkts/generated/peers/MemberExpression.ts b/ui2abc/libarkts/generated/peers/MemberExpression.ts deleted file mode 100644 index 7d220a35a..000000000 --- a/ui2abc/libarkts/generated/peers/MemberExpression.ts +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { CodeGen } from "./CodeGen" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaMemberExpressionKind } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { MaybeOptionalExpression } from "./MaybeOptionalExpression" -import { VReg } from "./VReg" - -export class MemberExpression extends MaybeOptionalExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createMemberExpression(object_arg: Expression | undefined, property: Expression | undefined, kind: Es2pandaMemberExpressionKind, computed: boolean, optional_arg: boolean): MemberExpression { - const result: MemberExpression = new MemberExpression(global.generatedEs2panda._CreateMemberExpression(global.context, passNode(object_arg), passNode(property), kind, computed, optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_MEMBER_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateMemberExpression(original: MemberExpression | undefined, object_arg: Expression | undefined, property: Expression | undefined, kind: Es2pandaMemberExpressionKind, computed: boolean, optional_arg: boolean): MemberExpression { - const result: MemberExpression = new MemberExpression(global.generatedEs2panda._UpdateMemberExpression(global.context, passNode(original), passNode(object_arg), passNode(property), kind, computed, optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_MEMBER_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get object(): Expression | undefined { - return unpackNode(global.generatedEs2panda._MemberExpressionObject(global.context, this.peer)) - } - /** @deprecated */ - setObject(object_arg?: Expression): this { - global.generatedEs2panda._MemberExpressionSetObject(global.context, this.peer, passNode(object_arg)) - return this - } - /** @deprecated */ - setProperty(prop?: Expression): this { - global.generatedEs2panda._MemberExpressionSetProperty(global.context, this.peer, passNode(prop)) - return this - } - get property(): Expression | undefined { - return unpackNode(global.generatedEs2panda._MemberExpressionProperty(global.context, this.peer)) - } - get isComputed(): boolean { - return global.generatedEs2panda._MemberExpressionIsComputedConst(global.context, this.peer) - } - get kind(): Es2pandaMemberExpressionKind { - return global.generatedEs2panda._MemberExpressionKindConst(global.context, this.peer) - } - /** @deprecated */ - addMemberKind(kind: Es2pandaMemberExpressionKind): this { - global.generatedEs2panda._MemberExpressionAddMemberKind(global.context, this.peer, kind) - return this - } - /** @deprecated */ - removeMemberKind(kind: Es2pandaMemberExpressionKind): this { - global.generatedEs2panda._MemberExpressionRemoveMemberKind(global.context, this.peer, kind) - return this - } - get isIgnoreBox(): boolean { - return global.generatedEs2panda._MemberExpressionIsIgnoreBoxConst(global.context, this.peer) - } - /** @deprecated */ - setIgnoreBox(): this { - global.generatedEs2panda._MemberExpressionSetIgnoreBox(global.context, this.peer) - return this - } - get isPrivateReference(): boolean { - return global.generatedEs2panda._MemberExpressionIsPrivateReferenceConst(global.context, this.peer) - } - /** @deprecated */ - compileToReg(pg?: CodeGen, objReg?: VReg): this { - global.generatedEs2panda._MemberExpressionCompileToRegConst(global.context, this.peer, passNode(pg), passNode(objReg)) - return this - } - /** @deprecated */ - compileToRegs(pg?: CodeGen, object_arg?: VReg, property?: VReg): this { - global.generatedEs2panda._MemberExpressionCompileToRegsConst(global.context, this.peer, passNode(pg), passNode(object_arg), passNode(property)) - return this - } - protected readonly brandMemberExpression: undefined -} -export function isMemberExpression(node: object | undefined): node is MemberExpression { - return node instanceof MemberExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_MEMBER_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_MEMBER_EXPRESSION, (peer: KNativePointer) => new MemberExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_MEMBER_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/MetaProperty.ts b/ui2abc/libarkts/generated/peers/MetaProperty.ts deleted file mode 100644 index 8a4243e15..000000000 --- a/ui2abc/libarkts/generated/peers/MetaProperty.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaMetaPropertyKind } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class MetaProperty extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createMetaProperty(kind: Es2pandaMetaPropertyKind): MetaProperty { - const result: MetaProperty = new MetaProperty(global.generatedEs2panda._CreateMetaProperty(global.context, kind), Es2pandaAstNodeType.AST_NODE_TYPE_META_PROPERTY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateMetaProperty(original: MetaProperty | undefined, kind: Es2pandaMetaPropertyKind): MetaProperty { - const result: MetaProperty = new MetaProperty(global.generatedEs2panda._UpdateMetaProperty(global.context, passNode(original), kind), Es2pandaAstNodeType.AST_NODE_TYPE_META_PROPERTY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get kind(): Es2pandaMetaPropertyKind { - return global.generatedEs2panda._MetaPropertyKindConst(global.context, this.peer) - } - protected readonly brandMetaProperty: undefined -} -export function isMetaProperty(node: object | undefined): node is MetaProperty { - return node instanceof MetaProperty -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_META_PROPERTY_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_META_PROPERTY_EXPRESSION, (peer: KNativePointer) => new MetaProperty(peer, Es2pandaAstNodeType.AST_NODE_TYPE_META_PROPERTY_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/MethodDefinition.ts b/ui2abc/libarkts/generated/peers/MethodDefinition.ts deleted file mode 100644 index 4e62c9f4b..000000000 --- a/ui2abc/libarkts/generated/peers/MethodDefinition.ts +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassElement } from "./ClassElement" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaMethodDefinitionKind } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { ScriptFunction } from "./ScriptFunction" -import { extension_MethodDefinitionOnUpdate } from "./../../src/reexport-for-generated" -import { extension_MethodDefinitionSetChildrenParentPtr } from "./../../src/reexport-for-generated" - -export class MethodDefinition extends ClassElement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createMethodDefinition(kind: Es2pandaMethodDefinitionKind, key: Expression | undefined, value: Expression | undefined, modifiers: Es2pandaModifierFlags, isComputed: boolean, overloads?: readonly MethodDefinition[]): MethodDefinition { - const result: MethodDefinition = new MethodDefinition(global.generatedEs2panda._CreateMethodDefinition(global.context, kind, passNode(key), passNode(value), modifiers, isComputed), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - if (overloads) - { - result.setOverloads(overloads) - } - result.setChildrenParentPtr() - return result - } - static updateMethodDefinition(original: MethodDefinition | undefined, kind: Es2pandaMethodDefinitionKind, key: Expression | undefined, value: Expression | undefined, modifiers: Es2pandaModifierFlags, isComputed: boolean, overloads?: readonly MethodDefinition[]): MethodDefinition { - const result: MethodDefinition = new MethodDefinition(global.generatedEs2panda._UpdateMethodDefinition(global.context, passNode(original), kind, passNode(key), passNode(value), modifiers, isComputed), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - if (overloads) - { - result.setOverloads(overloads) - } - result.setChildrenParentPtr() - return result - } - get kind(): Es2pandaMethodDefinitionKind { - return global.generatedEs2panda._MethodDefinitionKindConst(global.context, this.peer) - } - get isConstructor(): boolean { - return global.generatedEs2panda._MethodDefinitionIsConstructorConst(global.context, this.peer) - } - get isMethod(): boolean { - return global.generatedEs2panda._MethodDefinitionIsMethodConst(global.context, this.peer) - } - get isExtensionMethod(): boolean { - return global.generatedEs2panda._MethodDefinitionIsExtensionMethodConst(global.context, this.peer) - } - get isGetter(): boolean { - return global.generatedEs2panda._MethodDefinitionIsGetterConst(global.context, this.peer) - } - get isSetter(): boolean { - return global.generatedEs2panda._MethodDefinitionIsSetterConst(global.context, this.peer) - } - get isDefaultAccessModifier(): boolean { - return global.generatedEs2panda._MethodDefinitionIsDefaultAccessModifierConst(global.context, this.peer) - } - /** @deprecated */ - setDefaultAccessModifier(isDefault: boolean): this { - global.generatedEs2panda._MethodDefinitionSetDefaultAccessModifier(global.context, this.peer, isDefault) - return this - } - get overloads(): readonly MethodDefinition[] { - return unpackNodeArray(global.generatedEs2panda._MethodDefinitionOverloadsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - } - get baseOverloadMethod(): MethodDefinition | undefined { - return unpackNode(global.generatedEs2panda._MethodDefinitionBaseOverloadMethod(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - } - get asyncPairMethod(): MethodDefinition | undefined { - return unpackNode(global.generatedEs2panda._MethodDefinitionAsyncPairMethod(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION) - } - /** @deprecated */ - setOverloads(overloads: readonly MethodDefinition[]): this { - global.generatedEs2panda._MethodDefinitionSetOverloads(global.context, this.peer, passNodeArray(overloads), overloads.length) - return this - } - /** @deprecated */ - addOverload(overload?: MethodDefinition): this { - global.generatedEs2panda._MethodDefinitionAddOverload(global.context, this.peer, passNode(overload)) - return this - } - /** @deprecated */ - setBaseOverloadMethod(baseOverloadMethod?: MethodDefinition): this { - global.generatedEs2panda._MethodDefinitionSetBaseOverloadMethod(global.context, this.peer, passNode(baseOverloadMethod)) - return this - } - /** @deprecated */ - setAsyncPairMethod(asyncPairMethod?: MethodDefinition): this { - global.generatedEs2panda._MethodDefinitionSetAsyncPairMethod(global.context, this.peer, passNode(asyncPairMethod)) - return this - } - get function(): ScriptFunction { - return unpackNonNullableNode(global.generatedEs2panda._MethodDefinitionFunction(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - } - /** @deprecated */ - initializeOverloadInfo(): this { - global.generatedEs2panda._MethodDefinitionInitializeOverloadInfo(global.context, this.peer) - return this - } - /** @deprecated */ - emplaceOverloads(overloads?: MethodDefinition): this { - global.generatedEs2panda._MethodDefinitionEmplaceOverloads(global.context, this.peer, passNode(overloads)) - return this - } - /** @deprecated */ - clearOverloads(): this { - global.generatedEs2panda._MethodDefinitionClearOverloads(global.context, this.peer) - return this - } - /** @deprecated */ - setValueOverloads(overloads: MethodDefinition | undefined, index: number): this { - global.generatedEs2panda._MethodDefinitionSetValueOverloads(global.context, this.peer, passNode(overloads), index) - return this - } - setChildrenParentPtr = extension_MethodDefinitionSetChildrenParentPtr - onUpdate = extension_MethodDefinitionOnUpdate - protected readonly brandMethodDefinition: undefined -} -export function isMethodDefinition(node: object | undefined): node is MethodDefinition { - return node instanceof MethodDefinition -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION, (peer: KNativePointer) => new MethodDefinition(peer, Es2pandaAstNodeType.AST_NODE_TYPE_METHOD_DEFINITION)) -} diff --git a/ui2abc/libarkts/generated/peers/NamedType.ts b/ui2abc/libarkts/generated/peers/NamedType.ts deleted file mode 100644 index 4ad356980..000000000 --- a/ui2abc/libarkts/generated/peers/NamedType.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" -import { TypeNode } from "./TypeNode" - -export class NamedType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createNamedType(name?: Identifier): NamedType { - const result: NamedType = new NamedType(global.generatedEs2panda._CreateNamedType(global.context, passNode(name)), Es2pandaAstNodeType.AST_NODE_TYPE_NAMED_TYPE) - result.setChildrenParentPtr() - return result - } - static updateNamedType(original?: NamedType, name?: Identifier): NamedType { - const result: NamedType = new NamedType(global.generatedEs2panda._UpdateNamedType(global.context, passNode(original), passNode(name)), Es2pandaAstNodeType.AST_NODE_TYPE_NAMED_TYPE) - result.setChildrenParentPtr() - return result - } - get name(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._NamedTypeNameConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get typeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._NamedTypeTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - get isNullable(): boolean { - return global.generatedEs2panda._NamedTypeIsNullableConst(global.context, this.peer) - } - /** @deprecated */ - setNullable(nullable: boolean): this { - global.generatedEs2panda._NamedTypeSetNullable(global.context, this.peer, nullable) - return this - } - /** @deprecated */ - setNext(next?: NamedType): this { - global.generatedEs2panda._NamedTypeSetNext(global.context, this.peer, passNode(next)) - return this - } - /** @deprecated */ - setTypeParams(typeParams?: TSTypeParameterInstantiation): this { - global.generatedEs2panda._NamedTypeSetTypeParams(global.context, this.peer, passNode(typeParams)) - return this - } - protected readonly brandNamedType: undefined -} -export function isNamedType(node: object | undefined): node is NamedType { - return node instanceof NamedType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_NAMED_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_NAMED_TYPE, (peer: KNativePointer) => new NamedType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_NAMED_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/NewExpression.ts b/ui2abc/libarkts/generated/peers/NewExpression.ts deleted file mode 100644 index d0acbbde8..000000000 --- a/ui2abc/libarkts/generated/peers/NewExpression.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class NewExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createNewExpression(callee: Expression | undefined, _arguments: readonly Expression[]): NewExpression { - const result: NewExpression = new NewExpression(global.generatedEs2panda._CreateNewExpression(global.context, passNode(callee), passNodeArray(_arguments), _arguments.length), Es2pandaAstNodeType.AST_NODE_TYPE_NEW_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateNewExpression(original: NewExpression | undefined, callee: Expression | undefined, _arguments: readonly Expression[]): NewExpression { - const result: NewExpression = new NewExpression(global.generatedEs2panda._UpdateNewExpression(global.context, passNode(original), passNode(callee), passNodeArray(_arguments), _arguments.length), Es2pandaAstNodeType.AST_NODE_TYPE_NEW_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get callee(): Expression | undefined { - return unpackNode(global.generatedEs2panda._NewExpressionCalleeConst(global.context, this.peer)) - } - get arguments(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._NewExpressionArgumentsConst(global.context, this.peer)) - } - protected readonly brandNewExpression: undefined -} -export function isNewExpression(node: object | undefined): node is NewExpression { - return node instanceof NewExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_NEW_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_NEW_EXPRESSION, (peer: KNativePointer) => new NewExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_NEW_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/NullLiteral.ts b/ui2abc/libarkts/generated/peers/NullLiteral.ts deleted file mode 100644 index 8370946c9..000000000 --- a/ui2abc/libarkts/generated/peers/NullLiteral.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class NullLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createNullLiteral(): NullLiteral { - const result: NullLiteral = new NullLiteral(global.generatedEs2panda._CreateNullLiteral(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_NULL_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateNullLiteral(original?: NullLiteral): NullLiteral { - const result: NullLiteral = new NullLiteral(global.generatedEs2panda._UpdateNullLiteral(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_NULL_LITERAL) - result.setChildrenParentPtr() - return result - } - protected readonly brandNullLiteral: undefined -} -export function isNullLiteral(node: object | undefined): node is NullLiteral { - return node instanceof NullLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_NULL_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_NULL_LITERAL, (peer: KNativePointer) => new NullLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_NULL_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/NumberLiteral.ts b/ui2abc/libarkts/generated/peers/NumberLiteral.ts deleted file mode 100644 index f0cf17e35..000000000 --- a/ui2abc/libarkts/generated/peers/NumberLiteral.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" -import { extension_NumberLiteralValue } from "./../../src/reexport-for-generated" - -export class NumberLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createNumberLiteral(value: number): AstNode { - const result: NumberLiteral = new NumberLiteral(global.generatedEs2panda._CreateNumberLiteral(global.context, value), Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateNumberLiteral(original: AstNode | undefined, value: number): AstNode { - const result: NumberLiteral = new NumberLiteral(global.generatedEs2panda._UpdateNumberLiteral(global.context, passNode(original), value), Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL) - result.setChildrenParentPtr() - return result - } - static update1NumberLiteral(original: AstNode | undefined, value: number): AstNode { - const result: NumberLiteral = new NumberLiteral(global.generatedEs2panda._UpdateNumberLiteral1(global.context, passNode(original), value), Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL) - result.setChildrenParentPtr() - return result - } - static update2NumberLiteral(original: AstNode | undefined, value: number): AstNode { - const result: NumberLiteral = new NumberLiteral(global.generatedEs2panda._UpdateNumberLiteral2(global.context, passNode(original), value), Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL) - result.setChildrenParentPtr() - return result - } - static update3NumberLiteral(original: AstNode | undefined, value: number): AstNode { - const result: NumberLiteral = new NumberLiteral(global.generatedEs2panda._UpdateNumberLiteral3(global.context, passNode(original), value), Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL) - result.setChildrenParentPtr() - return result - } - get str(): string { - return unpackString(global.generatedEs2panda._NumberLiteralStrConst(global.context, this.peer)) - } - value = extension_NumberLiteralValue - protected readonly brandNumberLiteral: undefined -} -export function isNumberLiteral(node: object | undefined): node is NumberLiteral { - return node instanceof NumberLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL, (peer: KNativePointer) => new NumberLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_NUMBER_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/ObjectDescriptor.ts b/ui2abc/libarkts/generated/peers/ObjectDescriptor.ts deleted file mode 100644 index 1d35caa74..000000000 --- a/ui2abc/libarkts/generated/peers/ObjectDescriptor.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class ObjectDescriptor extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandObjectDescriptor: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ObjectExpression.ts b/ui2abc/libarkts/generated/peers/ObjectExpression.ts deleted file mode 100644 index de966dca5..000000000 --- a/ui2abc/libarkts/generated/peers/ObjectExpression.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" -import { ValidationInfo } from "./ValidationInfo" - -export class ObjectExpression extends AnnotatedExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createObjectExpression(nodeType: Es2pandaAstNodeType, properties: readonly Expression[], trailingComma: boolean): ObjectExpression { - const result: ObjectExpression = new ObjectExpression(global.generatedEs2panda._CreateObjectExpression(global.context, nodeType, passNodeArray(properties), properties.length, trailingComma), Es2pandaAstNodeType.AST_NODE_TYPE_OBJECT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateObjectExpression(original: ObjectExpression | undefined, nodeType: Es2pandaAstNodeType, properties: readonly Expression[], trailingComma: boolean): ObjectExpression { - const result: ObjectExpression = new ObjectExpression(global.generatedEs2panda._UpdateObjectExpression(global.context, passNode(original), nodeType, passNodeArray(properties), properties.length, trailingComma), Es2pandaAstNodeType.AST_NODE_TYPE_OBJECT_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get properties(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ObjectExpressionPropertiesConst(global.context, this.peer)) - } - get isDeclaration(): boolean { - return global.generatedEs2panda._ObjectExpressionIsDeclarationConst(global.context, this.peer) - } - get isOptional(): boolean { - return global.generatedEs2panda._ObjectExpressionIsOptionalConst(global.context, this.peer) - } - get validateExpression(): ValidationInfo | undefined { - return new ValidationInfo(global.generatedEs2panda._ObjectExpressionValidateExpression(global.context, this.peer)) - } - get convertibleToObjectPattern(): boolean { - return global.generatedEs2panda._ObjectExpressionConvertibleToObjectPattern(global.context, this.peer) - } - /** @deprecated */ - setDeclaration(): this { - global.generatedEs2panda._ObjectExpressionSetDeclaration(global.context, this.peer) - return this - } - /** @deprecated */ - setOptional(optional_arg: boolean): this { - global.generatedEs2panda._ObjectExpressionSetOptional(global.context, this.peer, optional_arg) - return this - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ObjectExpressionTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._ObjectExpressionSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandObjectExpression: undefined -} -export function isObjectExpression(node: object | undefined): node is ObjectExpression { - return node instanceof ObjectExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_OBJECT_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_OBJECT_EXPRESSION, (peer: KNativePointer) => new ObjectExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_OBJECT_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/OmittedExpression.ts b/ui2abc/libarkts/generated/peers/OmittedExpression.ts deleted file mode 100644 index 0fbc4dc9e..000000000 --- a/ui2abc/libarkts/generated/peers/OmittedExpression.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class OmittedExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createOmittedExpression(): OmittedExpression { - const result: OmittedExpression = new OmittedExpression(global.generatedEs2panda._CreateOmittedExpression(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_OMITTED_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateOmittedExpression(original?: OmittedExpression): OmittedExpression { - const result: OmittedExpression = new OmittedExpression(global.generatedEs2panda._UpdateOmittedExpression(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_OMITTED_EXPRESSION) - result.setChildrenParentPtr() - return result - } - protected readonly brandOmittedExpression: undefined -} -export function isOmittedExpression(node: object | undefined): node is OmittedExpression { - return node instanceof OmittedExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_OMITTED_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_OMITTED_EXPRESSION, (peer: KNativePointer) => new OmittedExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_OMITTED_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts b/ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts deleted file mode 100644 index 4e28d9b45..000000000 --- a/ui2abc/libarkts/generated/peers/OpaqueTypeNode.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class OpaqueTypeNode extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1OpaqueTypeNode(): OpaqueTypeNode { - const result: OpaqueTypeNode = new OpaqueTypeNode(global.generatedEs2panda._CreateOpaqueTypeNode1(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_OPAQUE_TYPE_NODE) - result.setChildrenParentPtr() - return result - } - static update1OpaqueTypeNode(original?: OpaqueTypeNode): OpaqueTypeNode { - const result: OpaqueTypeNode = new OpaqueTypeNode(global.generatedEs2panda._UpdateOpaqueTypeNode1(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_OPAQUE_TYPE_NODE) - result.setChildrenParentPtr() - return result - } - protected readonly brandOpaqueTypeNode: undefined -} -export function isOpaqueTypeNode(node: object | undefined): node is OpaqueTypeNode { - return node instanceof OpaqueTypeNode -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_OPAQUE_TYPE_NODE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_OPAQUE_TYPE_NODE, (peer: KNativePointer) => new OpaqueTypeNode(peer, Es2pandaAstNodeType.AST_NODE_TYPE_OPAQUE_TYPE_NODE)) -} diff --git a/ui2abc/libarkts/generated/peers/OverloadDeclaration.ts b/ui2abc/libarkts/generated/peers/OverloadDeclaration.ts deleted file mode 100644 index 3f6389ddc..000000000 --- a/ui2abc/libarkts/generated/peers/OverloadDeclaration.ts +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassElement } from "./ClassElement" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Es2pandaOverloadDeclFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { SrcDumper } from "./SrcDumper" - -export class OverloadDeclaration extends ClassElement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createOverloadDeclaration(key: Expression | undefined, modifiers: Es2pandaModifierFlags): OverloadDeclaration { - const result: OverloadDeclaration = new OverloadDeclaration(global.generatedEs2panda._CreateOverloadDeclaration(global.context, passNode(key), modifiers), Es2pandaAstNodeType.AST_NODE_TYPE_OVERLOAD_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateOverloadDeclaration(original: OverloadDeclaration | undefined, key: Expression | undefined, modifiers: Es2pandaModifierFlags): OverloadDeclaration { - const result: OverloadDeclaration = new OverloadDeclaration(global.generatedEs2panda._UpdateOverloadDeclaration(global.context, passNode(original), passNode(key), modifiers), Es2pandaAstNodeType.AST_NODE_TYPE_OVERLOAD_DECLARATION) - result.setChildrenParentPtr() - return result - } - get flag(): Es2pandaOverloadDeclFlags { - return global.generatedEs2panda._OverloadDeclarationFlagConst(global.context, this.peer) - } - get overloadedList(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._OverloadDeclarationOverloadedList(global.context, this.peer)) - } - /** @deprecated */ - setOverloadedList(overloadedList: readonly Expression[]): this { - global.generatedEs2panda._OverloadDeclarationSetOverloadedList(global.context, this.peer, passNodeArray(overloadedList), overloadedList.length) - return this - } - /** @deprecated */ - pushFront(overloadedExpression?: Identifier): this { - global.generatedEs2panda._OverloadDeclarationPushFront(global.context, this.peer, passNode(overloadedExpression)) - return this - } - /** @deprecated */ - addOverloadDeclFlag(overloadFlag: Es2pandaOverloadDeclFlags): this { - global.generatedEs2panda._OverloadDeclarationAddOverloadDeclFlag(global.context, this.peer, overloadFlag) - return this - } - get isConstructorOverloadDeclaration(): boolean { - return global.generatedEs2panda._OverloadDeclarationIsConstructorOverloadDeclaration(global.context, this.peer) - } - get isFunctionOverloadDeclaration(): boolean { - return global.generatedEs2panda._OverloadDeclarationIsFunctionOverloadDeclaration(global.context, this.peer) - } - get isClassMethodOverloadDeclaration(): boolean { - return global.generatedEs2panda._OverloadDeclarationIsClassMethodOverloadDeclaration(global.context, this.peer) - } - get isInterfaceMethodOverloadDeclaration(): boolean { - return global.generatedEs2panda._OverloadDeclarationIsInterfaceMethodOverloadDeclaration(global.context, this.peer) - } - /** @deprecated */ - dumpModifier(dumper?: SrcDumper): this { - global.generatedEs2panda._OverloadDeclarationDumpModifierConst(global.context, this.peer, passNode(dumper)) - return this - } - protected readonly brandOverloadDeclaration: undefined -} -export function isOverloadDeclaration(node: object | undefined): node is OverloadDeclaration { - return node instanceof OverloadDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_OVERLOAD_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_OVERLOAD_DECLARATION, (peer: KNativePointer) => new OverloadDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_OVERLOAD_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts b/ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts deleted file mode 100644 index 3c1cb61a6..000000000 --- a/ui2abc/libarkts/generated/peers/PrefixAssertionExpression.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class PrefixAssertionExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createPrefixAssertionExpression(expr?: Expression, type?: TypeNode): PrefixAssertionExpression { - const result: PrefixAssertionExpression = new PrefixAssertionExpression(global.generatedEs2panda._CreatePrefixAssertionExpression(global.context, passNode(expr), passNode(type)), Es2pandaAstNodeType.AST_NODE_TYPE_PREFIX_ASSERTION_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updatePrefixAssertionExpression(original?: PrefixAssertionExpression, expr?: Expression, type?: TypeNode): PrefixAssertionExpression { - const result: PrefixAssertionExpression = new PrefixAssertionExpression(global.generatedEs2panda._UpdatePrefixAssertionExpression(global.context, passNode(original), passNode(expr), passNode(type)), Es2pandaAstNodeType.AST_NODE_TYPE_PREFIX_ASSERTION_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._PrefixAssertionExpressionExprConst(global.context, this.peer)) - } - get type(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._PrefixAssertionExpressionTypeConst(global.context, this.peer)) - } - protected readonly brandPrefixAssertionExpression: undefined -} -export function isPrefixAssertionExpression(node: object | undefined): node is PrefixAssertionExpression { - return node instanceof PrefixAssertionExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_PREFIX_ASSERTION_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_PREFIX_ASSERTION_EXPRESSION, (peer: KNativePointer) => new PrefixAssertionExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_PREFIX_ASSERTION_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/Program.ts b/ui2abc/libarkts/generated/peers/Program.ts deleted file mode 100644 index a40446a8f..000000000 --- a/ui2abc/libarkts/generated/peers/Program.ts +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { BlockStatement } from "./BlockStatement" -import { ClassDefinition } from "./ClassDefinition" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModuleKind } from "./../Es2pandaEnums" -import { Es2pandaProgramFlags } from "./../Es2pandaEnums" -import { Es2pandaScriptKind } from "./../Es2pandaEnums" -import { SourcePosition } from "./SourcePosition" -import { extension_ProgramGetAstCasted } from "./../../src/reexport-for-generated" -import { extension_ProgramGetExternalSources } from "./../../src/reexport-for-generated" - -export class Program extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - /** @deprecated */ - setKind(kind: Es2pandaScriptKind): this { - global.generatedEs2panda._ProgramSetKind(global.context, this.peer, kind) - return this - } - /** @deprecated */ - pushVarBinder(): this { - global.generatedEs2panda._ProgramPushVarBinder(global.context, this.peer) - return this - } - /** @deprecated */ - pushChecker(): this { - global.generatedEs2panda._ProgramPushChecker(global.context, this.peer) - return this - } - get kind(): Es2pandaScriptKind { - return global.generatedEs2panda._ProgramKindConst(global.context, this.peer) - } - get sourceCode(): string { - return unpackString(global.generatedEs2panda._ProgramSourceCodeConst(global.context, this.peer)) - } - get sourceFilePath(): string { - return unpackString(global.generatedEs2panda._ProgramSourceFilePathConst(global.context, this.peer)) - } - get sourceFileFolder(): string { - return unpackString(global.generatedEs2panda._ProgramSourceFileFolderConst(global.context, this.peer)) - } - get fileName(): string { - return unpackString(global.generatedEs2panda._ProgramFileNameConst(global.context, this.peer)) - } - get fileNameWithExtension(): string { - return unpackString(global.generatedEs2panda._ProgramFileNameWithExtensionConst(global.context, this.peer)) - } - get absoluteName(): string { - return unpackString(global.generatedEs2panda._ProgramAbsoluteNameConst(global.context, this.peer)) - } - get resolvedFilePath(): string { - return unpackString(global.generatedEs2panda._ProgramResolvedFilePathConst(global.context, this.peer)) - } - get relativeFilePath(): string { - return unpackString(global.generatedEs2panda._ProgramRelativeFilePathConst(global.context, this.peer)) - } - /** @deprecated */ - setRelativeFilePath(relPath: string): this { - global.generatedEs2panda._ProgramSetRelativeFilePath(global.context, this.peer, relPath) - return this - } - get ast(): BlockStatement { - return unpackNonNullableNode(global.generatedEs2panda._ProgramAst(global.context, this.peer)) - } - /** @deprecated */ - setAst(ast?: BlockStatement): this { - global.generatedEs2panda._ProgramSetAst(global.context, this.peer, passNode(ast)) - return this - } - get globalClass(): ClassDefinition | undefined { - return unpackNode(global.generatedEs2panda._ProgramGlobalClass(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - } - /** @deprecated */ - setGlobalClass(globalClass?: ClassDefinition): this { - global.generatedEs2panda._ProgramSetGlobalClass(global.context, this.peer, passNode(globalClass)) - return this - } - get packageStart(): SourcePosition | undefined { - return new SourcePosition(global.generatedEs2panda._ProgramPackageStartConst(global.context, this.peer)) - } - /** @deprecated */ - setPackageStart(start?: SourcePosition): this { - global.generatedEs2panda._ProgramSetPackageStart(global.context, this.peer, passNode(start)) - return this - } - /** @deprecated */ - setSource(sourceCode: string, sourceFilePath: string, sourceFileFolder: string): this { - global.generatedEs2panda._ProgramSetSource(global.context, this.peer, sourceCode, sourceFilePath, sourceFileFolder) - return this - } - /** @deprecated */ - setPackageInfo(name: string, kind: Es2pandaModuleKind): this { - global.generatedEs2panda._ProgramSetPackageInfo(global.context, this.peer, name, kind) - return this - } - get moduleName(): string { - return unpackString(global.generatedEs2panda._ProgramModuleNameConst(global.context, this.peer)) - } - get modulePrefix(): string { - return unpackString(global.generatedEs2panda._ProgramModulePrefixConst(global.context, this.peer)) - } - get isSeparateModule(): boolean { - return global.generatedEs2panda._ProgramIsSeparateModuleConst(global.context, this.peer) - } - get isDeclarationModule(): boolean { - return global.generatedEs2panda._ProgramIsDeclarationModuleConst(global.context, this.peer) - } - get isPackage(): boolean { - return global.generatedEs2panda._ProgramIsPackageConst(global.context, this.peer) - } - get isDeclForDynamicStaticInterop(): boolean { - return global.generatedEs2panda._ProgramIsDeclForDynamicStaticInteropConst(global.context, this.peer) - } - /** @deprecated */ - setFlag(flag: Es2pandaProgramFlags): this { - global.generatedEs2panda._ProgramSetFlag(global.context, this.peer, flag) - return this - } - /** @deprecated */ - setASTChecked(): this { - global.generatedEs2panda._ProgramSetASTChecked(global.context, this.peer) - return this - } - /** @deprecated */ - removeAstChecked(): this { - global.generatedEs2panda._ProgramRemoveAstChecked(global.context, this.peer) - return this - } - get isASTChecked(): boolean { - return global.generatedEs2panda._ProgramIsASTChecked(global.context, this.peer) - } - /** @deprecated */ - markASTAsLowered(): this { - global.generatedEs2panda._ProgramMarkASTAsLowered(global.context, this.peer) - return this - } - get isASTLowered(): boolean { - return global.generatedEs2panda._ProgramIsASTLoweredConst(global.context, this.peer) - } - get isStdLib(): boolean { - return global.generatedEs2panda._ProgramIsStdLibConst(global.context, this.peer) - } - get isGenAbcForExternal(): boolean { - return global.generatedEs2panda._ProgramIsGenAbcForExternalConst(global.context, this.peer) - } - /** @deprecated */ - setGenAbcForExternalSources(genAbc: boolean): this { - global.generatedEs2panda._ProgramSetGenAbcForExternalSources(global.context, this.peer, genAbc) - return this - } - get dump(): string { - return unpackString(global.generatedEs2panda._ProgramDumpConst(global.context, this.peer)) - } - /** @deprecated */ - dumpSilent(): this { - global.generatedEs2panda._ProgramDumpSilentConst(global.context, this.peer) - return this - } - get isDied(): boolean { - return global.generatedEs2panda._ProgramIsDiedConst(global.context, this.peer) - } - /** @deprecated */ - addFileDependencies(file: string, depFile: string): this { - global.generatedEs2panda._ProgramAddFileDependencies(global.context, this.peer, file, depFile) - return this - } - getAstCasted = extension_ProgramGetAstCasted - getExternalSources = extension_ProgramGetExternalSources - protected readonly brandProgram: undefined -} -export function isProgram(node: object | undefined): node is Program { - return node instanceof Program -} diff --git a/ui2abc/libarkts/generated/peers/Property.ts b/ui2abc/libarkts/generated/peers/Property.ts deleted file mode 100644 index 683120177..000000000 --- a/ui2abc/libarkts/generated/peers/Property.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaPropertyKind } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { ValidationInfo } from "./ValidationInfo" - -export class Property extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1Property(kind: Es2pandaPropertyKind, key: Expression | undefined, value: Expression | undefined, isMethod: boolean, isComputed: boolean): Property { - const result: Property = new Property(global.generatedEs2panda._CreateProperty1(global.context, kind, passNode(key), passNode(value), isMethod, isComputed), Es2pandaAstNodeType.AST_NODE_TYPE_PROPERTY) - result.setChildrenParentPtr() - return result - } - static updateProperty(original?: Property, key?: Expression, value?: Expression): Property { - const result: Property = new Property(global.generatedEs2panda._UpdateProperty(global.context, passNode(original), passNode(key), passNode(value)), Es2pandaAstNodeType.AST_NODE_TYPE_PROPERTY) - result.setChildrenParentPtr() - return result - } - static update1Property(original: Property | undefined, kind: Es2pandaPropertyKind, key: Expression | undefined, value: Expression | undefined, isMethod: boolean, isComputed: boolean): Property { - const result: Property = new Property(global.generatedEs2panda._UpdateProperty1(global.context, passNode(original), kind, passNode(key), passNode(value), isMethod, isComputed), Es2pandaAstNodeType.AST_NODE_TYPE_PROPERTY) - result.setChildrenParentPtr() - return result - } - get key(): Expression | undefined { - return unpackNode(global.generatedEs2panda._PropertyKey(global.context, this.peer)) - } - get value(): Expression | undefined { - return unpackNode(global.generatedEs2panda._PropertyValue(global.context, this.peer)) - } - get kind(): Es2pandaPropertyKind { - return global.generatedEs2panda._PropertyKindConst(global.context, this.peer) - } - get isMethod(): boolean { - return global.generatedEs2panda._PropertyIsMethodConst(global.context, this.peer) - } - get isShorthand(): boolean { - return global.generatedEs2panda._PropertyIsShorthandConst(global.context, this.peer) - } - get isComputed(): boolean { - return global.generatedEs2panda._PropertyIsComputedConst(global.context, this.peer) - } - get isAccessor(): boolean { - return global.generatedEs2panda._PropertyIsAccessorConst(global.context, this.peer) - } - get convertibleToPatternProperty(): boolean { - return global.generatedEs2panda._PropertyConvertibleToPatternProperty(global.context, this.peer) - } - get validateExpression(): ValidationInfo | undefined { - return new ValidationInfo(global.generatedEs2panda._PropertyValidateExpression(global.context, this.peer)) - } - protected readonly brandProperty: undefined -} -export function isProperty(node: object | undefined): node is Property { - return node instanceof Property -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_PROPERTY)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_PROPERTY, (peer: KNativePointer) => new Property(peer, Es2pandaAstNodeType.AST_NODE_TYPE_PROPERTY)) -} diff --git a/ui2abc/libarkts/generated/peers/RegExpLiteral.ts b/ui2abc/libarkts/generated/peers/RegExpLiteral.ts deleted file mode 100644 index d97a0930a..000000000 --- a/ui2abc/libarkts/generated/peers/RegExpLiteral.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaRegExpFlags } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class RegExpLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createRegExpLiteral(pattern: string, flags: Es2pandaRegExpFlags, flagsStr: string): RegExpLiteral { - const result: RegExpLiteral = new RegExpLiteral(global.generatedEs2panda._CreateRegExpLiteral(global.context, pattern, flags, flagsStr), Es2pandaAstNodeType.AST_NODE_TYPE_REGEXP_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateRegExpLiteral(original: RegExpLiteral | undefined, pattern: string, flags: Es2pandaRegExpFlags, flagsStr: string): RegExpLiteral { - const result: RegExpLiteral = new RegExpLiteral(global.generatedEs2panda._UpdateRegExpLiteral(global.context, passNode(original), pattern, flags, flagsStr), Es2pandaAstNodeType.AST_NODE_TYPE_REGEXP_LITERAL) - result.setChildrenParentPtr() - return result - } - get pattern(): string { - return unpackString(global.generatedEs2panda._RegExpLiteralPatternConst(global.context, this.peer)) - } - get flags(): Es2pandaRegExpFlags { - return global.generatedEs2panda._RegExpLiteralFlagsConst(global.context, this.peer) - } - protected readonly brandRegExpLiteral: undefined -} -export function isRegExpLiteral(node: object | undefined): node is RegExpLiteral { - return node instanceof RegExpLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_REGEXP_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_REGEXP_LITERAL, (peer: KNativePointer) => new RegExpLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_REGEXP_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/ReturnStatement.ts b/ui2abc/libarkts/generated/peers/ReturnStatement.ts deleted file mode 100644 index 15b24f88f..000000000 --- a/ui2abc/libarkts/generated/peers/ReturnStatement.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class ReturnStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1ReturnStatement(argument?: Expression): ReturnStatement { - const result: ReturnStatement = new ReturnStatement(global.generatedEs2panda._CreateReturnStatement1(global.context, passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateReturnStatement(original?: ReturnStatement): ReturnStatement { - const result: ReturnStatement = new ReturnStatement(global.generatedEs2panda._UpdateReturnStatement(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT) - result.setChildrenParentPtr() - return result - } - static update1ReturnStatement(original?: ReturnStatement, argument?: Expression): ReturnStatement { - const result: ReturnStatement = new ReturnStatement(global.generatedEs2panda._UpdateReturnStatement1(global.context, passNode(original), passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT) - result.setChildrenParentPtr() - return result - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ReturnStatementArgument(global.context, this.peer)) - } - /** @deprecated */ - setArgument(arg?: Expression): this { - global.generatedEs2panda._ReturnStatementSetArgument(global.context, this.peer, passNode(arg)) - return this - } - get isAsyncImplReturn(): boolean { - return global.generatedEs2panda._ReturnStatementIsAsyncImplReturnConst(global.context, this.peer) - } - protected readonly brandReturnStatement: undefined -} -export function isReturnStatement(node: object | undefined): node is ReturnStatement { - return node instanceof ReturnStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT, (peer: KNativePointer) => new ReturnStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/ScopeFindResult.ts b/ui2abc/libarkts/generated/peers/ScopeFindResult.ts deleted file mode 100644 index 4f1e58cda..000000000 --- a/ui2abc/libarkts/generated/peers/ScopeFindResult.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class ScopeFindResult extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandScopeFindResult: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ScriptFunction.ts b/ui2abc/libarkts/generated/peers/ScriptFunction.ts deleted file mode 100644 index 8876965d7..000000000 --- a/ui2abc/libarkts/generated/peers/ScriptFunction.ts +++ /dev/null @@ -1,310 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaScriptFunctionFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { FunctionSignature } from "./FunctionSignature" -import { Identifier } from "./Identifier" -import { ReturnStatement } from "./ReturnStatement" -import { SrcDumper } from "./SrcDumper" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" -import { extension_ScriptFunctionGetParamsCasted } from "./../../src/reexport-for-generated" -import { extension_ScriptFunctionGetPreferredReturnTypePointer } from "./../../src/reexport-for-generated" -import { extension_ScriptFunctionGetSignaturePointer } from "./../../src/reexport-for-generated" -import { extension_ScriptFunctionSetPreferredReturnTypePointer } from "./../../src/reexport-for-generated" -import { extension_ScriptFunctionSetSignaturePointer } from "./../../src/reexport-for-generated" - -export class ScriptFunction extends AstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createScriptFunction(databody: AstNode | undefined, datasignature: FunctionSignature | undefined, datafuncFlags: number, dataflags: number, ident?: Identifier, annotations?: readonly AnnotationUsage[]): ScriptFunction { - const result: ScriptFunction = new ScriptFunction(global.generatedEs2panda._CreateScriptFunction(global.context, passNode(databody), passNode(datasignature), datafuncFlags, dataflags), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - if (ident) - { - result.setIdent(ident) - } - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateScriptFunction(original: ScriptFunction | undefined, databody: AstNode | undefined, datasignature: FunctionSignature | undefined, datafuncFlags: number, dataflags: number, ident?: Identifier, annotations?: readonly AnnotationUsage[]): ScriptFunction { - const result: ScriptFunction = new ScriptFunction(global.generatedEs2panda._UpdateScriptFunction(global.context, passNode(original), passNode(databody), passNode(datasignature), datafuncFlags, dataflags), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - if (ident) - { - result.setIdent(ident) - } - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get id(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._ScriptFunctionId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ScriptFunctionParams(global.context, this.peer)) - } - get returnStatements(): readonly ReturnStatement[] { - return unpackNodeArray(global.generatedEs2panda._ScriptFunctionReturnStatements(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT) - } - get returnStatementsForUpdate(): readonly ReturnStatement[] { - return unpackNodeArray(global.generatedEs2panda._ScriptFunctionReturnStatementsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_RETURN_STATEMENT) - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._ScriptFunctionTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get body(): AstNode | undefined { - return unpackNode(global.generatedEs2panda._ScriptFunctionBody(global.context, this.peer)) - } - /** @deprecated */ - addReturnStatement(returnStatement?: ReturnStatement): this { - global.generatedEs2panda._ScriptFunctionAddReturnStatement(global.context, this.peer, passNode(returnStatement)) - return this - } - /** @deprecated */ - setBody(body?: AstNode): this { - global.generatedEs2panda._ScriptFunctionSetBody(global.context, this.peer, passNode(body)) - return this - } - get returnTypeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._ScriptFunctionReturnTypeAnnotation(global.context, this.peer)) - } - /** @deprecated */ - setReturnTypeAnnotation(node?: TypeNode): this { - global.generatedEs2panda._ScriptFunctionSetReturnTypeAnnotation(global.context, this.peer, passNode(node)) - return this - } - get isEntryPoint(): boolean { - return global.generatedEs2panda._ScriptFunctionIsEntryPointConst(global.context, this.peer) - } - get isGenerator(): boolean { - return global.generatedEs2panda._ScriptFunctionIsGeneratorConst(global.context, this.peer) - } - get isAsyncFunc(): boolean { - return global.generatedEs2panda._ScriptFunctionIsAsyncFuncConst(global.context, this.peer) - } - get isAsyncImplFunc(): boolean { - return global.generatedEs2panda._ScriptFunctionIsAsyncImplFuncConst(global.context, this.peer) - } - get isArrow(): boolean { - return global.generatedEs2panda._ScriptFunctionIsArrowConst(global.context, this.peer) - } - get isOverload(): boolean { - return global.generatedEs2panda._ScriptFunctionIsOverloadConst(global.context, this.peer) - } - get isExternalOverload(): boolean { - return global.generatedEs2panda._ScriptFunctionIsExternalOverloadConst(global.context, this.peer) - } - get isConstructor(): boolean { - return global.generatedEs2panda._ScriptFunctionIsConstructorConst(global.context, this.peer) - } - get isGetter(): boolean { - return global.generatedEs2panda._ScriptFunctionIsGetterConst(global.context, this.peer) - } - get isSetter(): boolean { - return global.generatedEs2panda._ScriptFunctionIsSetterConst(global.context, this.peer) - } - get isExtensionAccessor(): boolean { - return global.generatedEs2panda._ScriptFunctionIsExtensionAccessorConst(global.context, this.peer) - } - get isMethod(): boolean { - return global.generatedEs2panda._ScriptFunctionIsMethodConst(global.context, this.peer) - } - get isProxy(): boolean { - return global.generatedEs2panda._ScriptFunctionIsProxyConst(global.context, this.peer) - } - get isStaticBlock(): boolean { - return global.generatedEs2panda._ScriptFunctionIsStaticBlockConst(global.context, this.peer) - } - get isEnum(): boolean { - return global.generatedEs2panda._ScriptFunctionIsEnumConst(global.context, this.peer) - } - get isHidden(): boolean { - return global.generatedEs2panda._ScriptFunctionIsHiddenConst(global.context, this.peer) - } - get isExternal(): boolean { - return global.generatedEs2panda._ScriptFunctionIsExternalConst(global.context, this.peer) - } - get isImplicitSuperCallNeeded(): boolean { - return global.generatedEs2panda._ScriptFunctionIsImplicitSuperCallNeededConst(global.context, this.peer) - } - get hasBody(): boolean { - return global.generatedEs2panda._ScriptFunctionHasBodyConst(global.context, this.peer) - } - get hasRestParameter(): boolean { - return global.generatedEs2panda._ScriptFunctionHasRestParameterConst(global.context, this.peer) - } - get hasReturnStatement(): boolean { - return global.generatedEs2panda._ScriptFunctionHasReturnStatementConst(global.context, this.peer) - } - get hasThrowStatement(): boolean { - return global.generatedEs2panda._ScriptFunctionHasThrowStatementConst(global.context, this.peer) - } - get isTrailingLambda(): boolean { - return global.generatedEs2panda._ScriptFunctionIsTrailingLambdaConst(global.context, this.peer) - } - get isSynthetic(): boolean { - return global.generatedEs2panda._ScriptFunctionIsSyntheticConst(global.context, this.peer) - } - get isDynamic(): boolean { - return global.generatedEs2panda._ScriptFunctionIsDynamicConst(global.context, this.peer) - } - get isExtensionMethod(): boolean { - return global.generatedEs2panda._ScriptFunctionIsExtensionMethodConst(global.context, this.peer) - } - get flags(): Es2pandaScriptFunctionFlags { - return global.generatedEs2panda._ScriptFunctionFlagsConst(global.context, this.peer) - } - get hasReceiver(): boolean { - return global.generatedEs2panda._ScriptFunctionHasReceiverConst(global.context, this.peer) - } - /** @deprecated */ - setIdent(id: Identifier): this { - global.generatedEs2panda._ScriptFunctionSetIdent(global.context, this.peer, passNode(id)) - return this - } - /** @deprecated */ - addFlag(flags: Es2pandaScriptFunctionFlags): this { - global.generatedEs2panda._ScriptFunctionAddFlag(global.context, this.peer, flags) - return this - } - /** @deprecated */ - clearFlag(flags: Es2pandaScriptFunctionFlags): this { - global.generatedEs2panda._ScriptFunctionClearFlag(global.context, this.peer, flags) - return this - } - get formalParamsLength(): number { - return global.generatedEs2panda._ScriptFunctionFormalParamsLengthConst(global.context, this.peer) - } - /** @deprecated */ - setAsyncPairMethod(asyncPairFunction?: ScriptFunction): this { - global.generatedEs2panda._ScriptFunctionSetAsyncPairMethod(global.context, this.peer, passNode(asyncPairFunction)) - return this - } - get asyncPairMethod(): ScriptFunction | undefined { - return unpackNode(global.generatedEs2panda._ScriptFunctionAsyncPairMethod(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION) - } - /** @deprecated */ - emplaceReturnStatements(returnStatements?: ReturnStatement): this { - global.generatedEs2panda._ScriptFunctionEmplaceReturnStatements(global.context, this.peer, passNode(returnStatements)) - return this - } - /** @deprecated */ - clearReturnStatements(): this { - global.generatedEs2panda._ScriptFunctionClearReturnStatements(global.context, this.peer) - return this - } - /** @deprecated */ - setValueReturnStatements(returnStatements: ReturnStatement | undefined, index: number): this { - global.generatedEs2panda._ScriptFunctionSetValueReturnStatements(global.context, this.peer, passNode(returnStatements), index) - return this - } - /** @deprecated */ - emplaceParams(params?: Expression): this { - global.generatedEs2panda._ScriptFunctionEmplaceParams(global.context, this.peer, passNode(params)) - return this - } - /** @deprecated */ - setParams(paramsList: readonly Expression[]): this { - global.generatedEs2panda._ScriptFunctionSetParams(global.context, this.peer, passNodeArray(paramsList), paramsList.length) - return this - } - /** @deprecated */ - clearParams(): this { - global.generatedEs2panda._ScriptFunctionClearParams(global.context, this.peer) - return this - } - /** @deprecated */ - setValueParams(params: Expression | undefined, index: number): this { - global.generatedEs2panda._ScriptFunctionSetValueParams(global.context, this.peer, passNode(params), index) - return this - } - get paramsForUpdate(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._ScriptFunctionParamsForUpdate(global.context, this.peer)) - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._ScriptFunctionHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._ScriptFunctionEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._ScriptFunctionClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._ScriptFunctionDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ScriptFunctionAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._ScriptFunctionAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ScriptFunctionSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._ScriptFunctionSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - getSignaturePointer = extension_ScriptFunctionGetSignaturePointer - setSignaturePointer = extension_ScriptFunctionSetSignaturePointer - getParamsCasted = extension_ScriptFunctionGetParamsCasted - getPreferredReturnTypePointer = extension_ScriptFunctionGetPreferredReturnTypePointer - setPreferredReturnTypePointer = extension_ScriptFunctionSetPreferredReturnTypePointer - protected readonly brandScriptFunction: undefined -} -export function isScriptFunction(node: object | undefined): node is ScriptFunction { - return node instanceof ScriptFunction -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION, (peer: KNativePointer) => new ScriptFunction(peer, Es2pandaAstNodeType.AST_NODE_TYPE_SCRIPT_FUNCTION)) -} diff --git a/ui2abc/libarkts/generated/peers/ScriptFunctionData.ts b/ui2abc/libarkts/generated/peers/ScriptFunctionData.ts deleted file mode 100644 index b952e7339..000000000 --- a/ui2abc/libarkts/generated/peers/ScriptFunctionData.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class ScriptFunctionData extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandScriptFunctionData: undefined -} diff --git a/ui2abc/libarkts/generated/peers/SequenceExpression.ts b/ui2abc/libarkts/generated/peers/SequenceExpression.ts deleted file mode 100644 index 0ec6c2778..000000000 --- a/ui2abc/libarkts/generated/peers/SequenceExpression.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class SequenceExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createSequenceExpression(sequence_arg: readonly Expression[]): SequenceExpression { - const result: SequenceExpression = new SequenceExpression(global.generatedEs2panda._CreateSequenceExpression(global.context, passNodeArray(sequence_arg), sequence_arg.length), Es2pandaAstNodeType.AST_NODE_TYPE_SEQUENCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateSequenceExpression(original: SequenceExpression | undefined, sequence_arg: readonly Expression[]): SequenceExpression { - const result: SequenceExpression = new SequenceExpression(global.generatedEs2panda._UpdateSequenceExpression(global.context, passNode(original), passNodeArray(sequence_arg), sequence_arg.length), Es2pandaAstNodeType.AST_NODE_TYPE_SEQUENCE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get sequence(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._SequenceExpressionSequence(global.context, this.peer)) - } - protected readonly brandSequenceExpression: undefined -} -export function isSequenceExpression(node: object | undefined): node is SequenceExpression { - return node instanceof SequenceExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_SEQUENCE_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_SEQUENCE_EXPRESSION, (peer: KNativePointer) => new SequenceExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_SEQUENCE_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/SignatureInfo.ts b/ui2abc/libarkts/generated/peers/SignatureInfo.ts deleted file mode 100644 index d060e7bdb..000000000 --- a/ui2abc/libarkts/generated/peers/SignatureInfo.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class SignatureInfo extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandSignatureInfo: undefined -} diff --git a/ui2abc/libarkts/generated/peers/SourcePosition.ts b/ui2abc/libarkts/generated/peers/SourcePosition.ts deleted file mode 100644 index 937ea69e7..000000000 --- a/ui2abc/libarkts/generated/peers/SourcePosition.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { extension_SourcePositionGetCol } from "./../../src/reexport-for-generated" -import { extension_SourcePositionGetIndex } from "./../../src/reexport-for-generated" -import { extension_SourcePositionGetLine } from "./../../src/reexport-for-generated" -import { extension_SourcePositionToString } from "./../../src/reexport-for-generated" - -export class SourcePosition extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - getLine = extension_SourcePositionGetLine - getCol = extension_SourcePositionGetCol - getIndex = extension_SourcePositionGetIndex - toString = extension_SourcePositionToString - protected readonly brandSourcePosition: undefined -} diff --git a/ui2abc/libarkts/generated/peers/SourceRange.ts b/ui2abc/libarkts/generated/peers/SourceRange.ts deleted file mode 100644 index 6280ece9c..000000000 --- a/ui2abc/libarkts/generated/peers/SourceRange.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class SourceRange extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandSourceRange: undefined -} diff --git a/ui2abc/libarkts/generated/peers/SpreadElement.ts b/ui2abc/libarkts/generated/peers/SpreadElement.ts deleted file mode 100644 index a845fa6b2..000000000 --- a/ui2abc/libarkts/generated/peers/SpreadElement.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" -import { ValidationInfo } from "./ValidationInfo" - -export class SpreadElement extends AnnotatedExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createSpreadElement(nodeType: Es2pandaAstNodeType, argument?: Expression): SpreadElement { - const result: SpreadElement = new SpreadElement(global.generatedEs2panda._CreateSpreadElement(global.context, nodeType, passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT) - result.setChildrenParentPtr() - return result - } - static updateSpreadElement(original: SpreadElement | undefined, nodeType: Es2pandaAstNodeType, argument?: Expression): SpreadElement { - const result: SpreadElement = new SpreadElement(global.generatedEs2panda._UpdateSpreadElement(global.context, passNode(original), nodeType, passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT) - result.setChildrenParentPtr() - return result - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._SpreadElementArgument(global.context, this.peer)) - } - get isOptional(): boolean { - return global.generatedEs2panda._SpreadElementIsOptionalConst(global.context, this.peer) - } - /** @deprecated */ - setOptional(optional_arg: boolean): this { - global.generatedEs2panda._SpreadElementSetOptional(global.context, this.peer, optional_arg) - return this - } - get validateExpression(): ValidationInfo | undefined { - return new ValidationInfo(global.generatedEs2panda._SpreadElementValidateExpression(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._SpreadElementTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._SpreadElementSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandSpreadElement: undefined -} -export function isSpreadElement(node: object | undefined): node is SpreadElement { - return node instanceof SpreadElement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT, (peer: KNativePointer) => new SpreadElement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_SPREAD_ELEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/SrcDumper.ts b/ui2abc/libarkts/generated/peers/SrcDumper.ts deleted file mode 100644 index e78938785..000000000 --- a/ui2abc/libarkts/generated/peers/SrcDumper.ts +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class SrcDumper extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - static create1SrcDumper(node: AstNode | undefined, isDeclgen: boolean): SrcDumper { - return new SrcDumper(global.generatedEs2panda._CreateSrcDumper1(global.context, passNode(node), isDeclgen)) - } - /** @deprecated */ - add(str: string): this { - global.generatedEs2panda._SrcDumperAdd(global.context, this.peer, str) - return this - } - /** @deprecated */ - add1(i: number): this { - global.generatedEs2panda._SrcDumperAdd1(global.context, this.peer, i) - return this - } - /** @deprecated */ - add2(i: number): this { - global.generatedEs2panda._SrcDumperAdd2(global.context, this.peer, i) - return this - } - /** @deprecated */ - add3(i: number): this { - global.generatedEs2panda._SrcDumperAdd3(global.context, this.peer, i) - return this - } - /** @deprecated */ - add4(l: number): this { - global.generatedEs2panda._SrcDumperAdd4(global.context, this.peer, l) - return this - } - /** @deprecated */ - add5(f: number): this { - global.generatedEs2panda._SrcDumperAdd5(global.context, this.peer, f) - return this - } - /** @deprecated */ - add6(d: number): this { - global.generatedEs2panda._SrcDumperAdd6(global.context, this.peer, d) - return this - } - get str(): string { - return unpackString(global.generatedEs2panda._SrcDumperStrConst(global.context, this.peer)) - } - /** @deprecated */ - incrIndent(): this { - global.generatedEs2panda._SrcDumperIncrIndent(global.context, this.peer) - return this - } - /** @deprecated */ - decrIndent(): this { - global.generatedEs2panda._SrcDumperDecrIndent(global.context, this.peer) - return this - } - /** @deprecated */ - endl(num: number): this { - global.generatedEs2panda._SrcDumperEndl(global.context, this.peer, num) - return this - } - get isDeclgen(): boolean { - return global.generatedEs2panda._SrcDumperIsDeclgenConst(global.context, this.peer) - } - /** @deprecated */ - dumpNode(key: string): this { - global.generatedEs2panda._SrcDumperDumpNode(global.context, this.peer, key) - return this - } - /** @deprecated */ - removeNode(key: string): this { - global.generatedEs2panda._SrcDumperRemoveNode(global.context, this.peer, key) - return this - } - get isIndirectDepPhase(): boolean { - return global.generatedEs2panda._SrcDumperIsIndirectDepPhaseConst(global.context, this.peer) - } - /** @deprecated */ - run(): this { - global.generatedEs2panda._SrcDumperRun(global.context, this.peer) - return this - } - protected readonly brandSrcDumper: undefined -} -export function isSrcDumper(node: object | undefined): node is SrcDumper { - return node instanceof SrcDumper -} diff --git a/ui2abc/libarkts/generated/peers/Statement.ts b/ui2abc/libarkts/generated/peers/Statement.ts deleted file mode 100644 index 3a9506f57..000000000 --- a/ui2abc/libarkts/generated/peers/Statement.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" - -export class Statement extends AstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - protected readonly brandStatement: undefined -} -export function isStatement(node: object | undefined): node is Statement { - return node instanceof Statement -} diff --git a/ui2abc/libarkts/generated/peers/StringLiteral.ts b/ui2abc/libarkts/generated/peers/StringLiteral.ts deleted file mode 100644 index 01f4e502d..000000000 --- a/ui2abc/libarkts/generated/peers/StringLiteral.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class StringLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1StringLiteral(str: string): StringLiteral { - const result: StringLiteral = new StringLiteral(global.generatedEs2panda._CreateStringLiteral1(global.context, str), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateStringLiteral(original?: StringLiteral): StringLiteral { - const result: StringLiteral = new StringLiteral(global.generatedEs2panda._UpdateStringLiteral(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL) - result.setChildrenParentPtr() - return result - } - static update1StringLiteral(original: StringLiteral | undefined, str: string): StringLiteral { - const result: StringLiteral = new StringLiteral(global.generatedEs2panda._UpdateStringLiteral1(global.context, passNode(original), str), Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL) - result.setChildrenParentPtr() - return result - } - get str(): string { - return unpackString(global.generatedEs2panda._StringLiteralStrConst(global.context, this.peer)) - } - protected readonly brandStringLiteral: undefined -} -export function isStringLiteral(node: object | undefined): node is StringLiteral { - return node instanceof StringLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL, (peer: KNativePointer) => new StringLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_STRING_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/SuggestionInfo.ts b/ui2abc/libarkts/generated/peers/SuggestionInfo.ts deleted file mode 100644 index 1ad7edcc0..000000000 --- a/ui2abc/libarkts/generated/peers/SuggestionInfo.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class SuggestionInfo extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandSuggestionInfo: undefined -} diff --git a/ui2abc/libarkts/generated/peers/SuperExpression.ts b/ui2abc/libarkts/generated/peers/SuperExpression.ts deleted file mode 100644 index abe73947f..000000000 --- a/ui2abc/libarkts/generated/peers/SuperExpression.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class SuperExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createSuperExpression(): SuperExpression { - const result: SuperExpression = new SuperExpression(global.generatedEs2panda._CreateSuperExpression(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_SUPER_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateSuperExpression(original?: SuperExpression): SuperExpression { - const result: SuperExpression = new SuperExpression(global.generatedEs2panda._UpdateSuperExpression(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_SUPER_EXPRESSION) - result.setChildrenParentPtr() - return result - } - protected readonly brandSuperExpression: undefined -} -export function isSuperExpression(node: object | undefined): node is SuperExpression { - return node instanceof SuperExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_SUPER_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_SUPER_EXPRESSION, (peer: KNativePointer) => new SuperExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_SUPER_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts b/ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts deleted file mode 100644 index 05a3e5773..000000000 --- a/ui2abc/libarkts/generated/peers/SwitchCaseStatement.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class SwitchCaseStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createSwitchCaseStatement(test: Expression | undefined, consequent: readonly Statement[]): SwitchCaseStatement { - const result: SwitchCaseStatement = new SwitchCaseStatement(global.generatedEs2panda._CreateSwitchCaseStatement(global.context, passNode(test), passNodeArray(consequent), consequent.length), Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateSwitchCaseStatement(original: SwitchCaseStatement | undefined, test: Expression | undefined, consequent: readonly Statement[]): SwitchCaseStatement { - const result: SwitchCaseStatement = new SwitchCaseStatement(global.generatedEs2panda._UpdateSwitchCaseStatement(global.context, passNode(original), passNode(test), passNodeArray(consequent), consequent.length), Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT) - result.setChildrenParentPtr() - return result - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._SwitchCaseStatementTest(global.context, this.peer)) - } - /** @deprecated */ - setTest(test?: Expression): this { - global.generatedEs2panda._SwitchCaseStatementSetTest(global.context, this.peer, passNode(test)) - return this - } - get consequent(): readonly Statement[] { - return unpackNodeArray(global.generatedEs2panda._SwitchCaseStatementConsequentConst(global.context, this.peer)) - } - protected readonly brandSwitchCaseStatement: undefined -} -export function isSwitchCaseStatement(node: object | undefined): node is SwitchCaseStatement { - return node instanceof SwitchCaseStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT, (peer: KNativePointer) => new SwitchCaseStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/SwitchStatement.ts b/ui2abc/libarkts/generated/peers/SwitchStatement.ts deleted file mode 100644 index dfbfd1f17..000000000 --- a/ui2abc/libarkts/generated/peers/SwitchStatement.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" -import { SwitchCaseStatement } from "./SwitchCaseStatement" - -export class SwitchStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createSwitchStatement(discriminant: Expression | undefined, cases: readonly SwitchCaseStatement[]): SwitchStatement { - const result: SwitchStatement = new SwitchStatement(global.generatedEs2panda._CreateSwitchStatement(global.context, passNode(discriminant), passNodeArray(cases), cases.length), Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateSwitchStatement(original: SwitchStatement | undefined, discriminant: Expression | undefined, cases: readonly SwitchCaseStatement[]): SwitchStatement { - const result: SwitchStatement = new SwitchStatement(global.generatedEs2panda._UpdateSwitchStatement(global.context, passNode(original), passNode(discriminant), passNodeArray(cases), cases.length), Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_STATEMENT) - result.setChildrenParentPtr() - return result - } - get discriminant(): Expression | undefined { - return unpackNode(global.generatedEs2panda._SwitchStatementDiscriminant(global.context, this.peer)) - } - /** @deprecated */ - setDiscriminant(discriminant?: Expression): this { - global.generatedEs2panda._SwitchStatementSetDiscriminant(global.context, this.peer, passNode(discriminant)) - return this - } - get cases(): readonly SwitchCaseStatement[] { - return unpackNodeArray(global.generatedEs2panda._SwitchStatementCases(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_CASE_STATEMENT) - } - protected readonly brandSwitchStatement: undefined -} -export function isSwitchStatement(node: object | undefined): node is SwitchStatement { - return node instanceof SwitchStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_STATEMENT, (peer: KNativePointer) => new SwitchStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_SWITCH_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/TSAnyKeyword.ts b/ui2abc/libarkts/generated/peers/TSAnyKeyword.ts deleted file mode 100644 index 9d0652d00..000000000 --- a/ui2abc/libarkts/generated/peers/TSAnyKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSAnyKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSAnyKeyword(): TSAnyKeyword { - const result: TSAnyKeyword = new TSAnyKeyword(global.generatedEs2panda._CreateTSAnyKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ANY_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSAnyKeyword(original?: TSAnyKeyword): TSAnyKeyword { - const result: TSAnyKeyword = new TSAnyKeyword(global.generatedEs2panda._UpdateTSAnyKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ANY_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSAnyKeyword: undefined -} -export function isTSAnyKeyword(node: object | undefined): node is TSAnyKeyword { - return node instanceof TSAnyKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ANY_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ANY_KEYWORD, (peer: KNativePointer) => new TSAnyKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_ANY_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSArrayType.ts b/ui2abc/libarkts/generated/peers/TSArrayType.ts deleted file mode 100644 index 9905d0bba..000000000 --- a/ui2abc/libarkts/generated/peers/TSArrayType.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSArrayType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSArrayType(elementType?: TypeNode): TSArrayType { - const result: TSArrayType = new TSArrayType(global.generatedEs2panda._CreateTSArrayType(global.context, passNode(elementType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ARRAY_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSArrayType(original?: TSArrayType, elementType?: TypeNode): TSArrayType { - const result: TSArrayType = new TSArrayType(global.generatedEs2panda._UpdateTSArrayType(global.context, passNode(original), passNode(elementType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ARRAY_TYPE) - result.setChildrenParentPtr() - return result - } - get elementType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSArrayTypeElementTypeConst(global.context, this.peer)) - } - protected readonly brandTSArrayType: undefined -} -export function isTSArrayType(node: object | undefined): node is TSArrayType { - return node instanceof TSArrayType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ARRAY_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ARRAY_TYPE, (peer: KNativePointer) => new TSArrayType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_ARRAY_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSAsExpression.ts b/ui2abc/libarkts/generated/peers/TSAsExpression.ts deleted file mode 100644 index a19faffd7..000000000 --- a/ui2abc/libarkts/generated/peers/TSAsExpression.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSAsExpression extends AnnotatedExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSAsExpression(expression: Expression | undefined, typeAnnotation: TypeNode | undefined, isConst: boolean): TSAsExpression { - const result: TSAsExpression = new TSAsExpression(global.generatedEs2panda._CreateTSAsExpression(global.context, passNode(expression), passNode(typeAnnotation), isConst), Es2pandaAstNodeType.AST_NODE_TYPE_TS_AS_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateTSAsExpression(original: TSAsExpression | undefined, expression: Expression | undefined, typeAnnotation: TypeNode | undefined, isConst: boolean): TSAsExpression { - const result: TSAsExpression = new TSAsExpression(global.generatedEs2panda._UpdateTSAsExpression(global.context, passNode(original), passNode(expression), passNode(typeAnnotation), isConst), Es2pandaAstNodeType.AST_NODE_TYPE_TS_AS_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSAsExpressionExpr(global.context, this.peer)) - } - /** @deprecated */ - setExpr(expr?: Expression): this { - global.generatedEs2panda._TSAsExpressionSetExpr(global.context, this.peer, passNode(expr)) - return this - } - get isConst(): boolean { - return global.generatedEs2panda._TSAsExpressionIsConstConst(global.context, this.peer) - } - /** @deprecated */ - setUncheckedCast(isUncheckedCast: boolean): this { - global.generatedEs2panda._TSAsExpressionSetUncheckedCast(global.context, this.peer, isUncheckedCast) - return this - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSAsExpressionTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._TSAsExpressionSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandTSAsExpression: undefined -} -export function isTSAsExpression(node: object | undefined): node is TSAsExpression { - return node instanceof TSAsExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_AS_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_AS_EXPRESSION, (peer: KNativePointer) => new TSAsExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_AS_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSBigintKeyword.ts b/ui2abc/libarkts/generated/peers/TSBigintKeyword.ts deleted file mode 100644 index 239e22fa3..000000000 --- a/ui2abc/libarkts/generated/peers/TSBigintKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSBigintKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSBigintKeyword(): TSBigintKeyword { - const result: TSBigintKeyword = new TSBigintKeyword(global.generatedEs2panda._CreateTSBigintKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_BIGINT_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSBigintKeyword(original?: TSBigintKeyword): TSBigintKeyword { - const result: TSBigintKeyword = new TSBigintKeyword(global.generatedEs2panda._UpdateTSBigintKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_BIGINT_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSBigintKeyword: undefined -} -export function isTSBigintKeyword(node: object | undefined): node is TSBigintKeyword { - return node instanceof TSBigintKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_BIGINT_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_BIGINT_KEYWORD, (peer: KNativePointer) => new TSBigintKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_BIGINT_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts b/ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts deleted file mode 100644 index 6ed71c012..000000000 --- a/ui2abc/libarkts/generated/peers/TSBooleanKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSBooleanKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSBooleanKeyword(): TSBooleanKeyword { - const result: TSBooleanKeyword = new TSBooleanKeyword(global.generatedEs2panda._CreateTSBooleanKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_BOOLEAN_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSBooleanKeyword(original?: TSBooleanKeyword): TSBooleanKeyword { - const result: TSBooleanKeyword = new TSBooleanKeyword(global.generatedEs2panda._UpdateTSBooleanKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_BOOLEAN_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSBooleanKeyword: undefined -} -export function isTSBooleanKeyword(node: object | undefined): node is TSBooleanKeyword { - return node instanceof TSBooleanKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_BOOLEAN_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_BOOLEAN_KEYWORD, (peer: KNativePointer) => new TSBooleanKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_BOOLEAN_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSClassImplements.ts b/ui2abc/libarkts/generated/peers/TSClassImplements.ts deleted file mode 100644 index af746b743..000000000 --- a/ui2abc/libarkts/generated/peers/TSClassImplements.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" - -export class TSClassImplements extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSClassImplements(expression?: Expression, typeParameters?: TSTypeParameterInstantiation): TSClassImplements { - const result: TSClassImplements = new TSClassImplements(global.generatedEs2panda._CreateTSClassImplements(global.context, passNode(expression), passNode(typeParameters)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS) - result.setChildrenParentPtr() - return result - } - static updateTSClassImplements(original?: TSClassImplements, expression?: Expression, typeParameters?: TSTypeParameterInstantiation): TSClassImplements { - const result: TSClassImplements = new TSClassImplements(global.generatedEs2panda._UpdateTSClassImplements(global.context, passNode(original), passNode(expression), passNode(typeParameters)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS) - result.setChildrenParentPtr() - return result - } - static update1TSClassImplements(original?: TSClassImplements, expression?: Expression): TSClassImplements { - const result: TSClassImplements = new TSClassImplements(global.generatedEs2panda._UpdateTSClassImplements1(global.context, passNode(original), passNode(expression)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSClassImplementsExpr(global.context, this.peer)) - } - get typeParameters(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._TSClassImplementsTypeParametersConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - protected readonly brandTSClassImplements: undefined -} -export function isTSClassImplements(node: object | undefined): node is TSClassImplements { - return node instanceof TSClassImplements -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS, (peer: KNativePointer) => new TSClassImplements(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_CLASS_IMPLEMENTS)) -} diff --git a/ui2abc/libarkts/generated/peers/TSConditionalType.ts b/ui2abc/libarkts/generated/peers/TSConditionalType.ts deleted file mode 100644 index a899da948..000000000 --- a/ui2abc/libarkts/generated/peers/TSConditionalType.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSConditionalType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSConditionalType(checkType?: Expression, extendsType?: Expression, trueType?: Expression, falseType?: Expression): TSConditionalType { - const result: TSConditionalType = new TSConditionalType(global.generatedEs2panda._CreateTSConditionalType(global.context, passNode(checkType), passNode(extendsType), passNode(trueType), passNode(falseType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONDITIONAL_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSConditionalType(original?: TSConditionalType, checkType?: Expression, extendsType?: Expression, trueType?: Expression, falseType?: Expression): TSConditionalType { - const result: TSConditionalType = new TSConditionalType(global.generatedEs2panda._UpdateTSConditionalType(global.context, passNode(original), passNode(checkType), passNode(extendsType), passNode(trueType), passNode(falseType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONDITIONAL_TYPE) - result.setChildrenParentPtr() - return result - } - get checkType(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSConditionalTypeCheckTypeConst(global.context, this.peer)) - } - get extendsType(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSConditionalTypeExtendsTypeConst(global.context, this.peer)) - } - get trueType(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSConditionalTypeTrueTypeConst(global.context, this.peer)) - } - get falseType(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSConditionalTypeFalseTypeConst(global.context, this.peer)) - } - protected readonly brandTSConditionalType: undefined -} -export function isTSConditionalType(node: object | undefined): node is TSConditionalType { - return node instanceof TSConditionalType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONDITIONAL_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONDITIONAL_TYPE, (peer: KNativePointer) => new TSConditionalType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONDITIONAL_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSConstructorType.ts b/ui2abc/libarkts/generated/peers/TSConstructorType.ts deleted file mode 100644 index 334c2ac52..000000000 --- a/ui2abc/libarkts/generated/peers/TSConstructorType.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { FunctionSignature } from "./FunctionSignature" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" - -export class TSConstructorType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSConstructorType(signature: FunctionSignature | undefined, abstract: boolean): TSConstructorType { - const result: TSConstructorType = new TSConstructorType(global.generatedEs2panda._CreateTSConstructorType(global.context, passNode(signature), abstract), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSConstructorType(original: TSConstructorType | undefined, signature: FunctionSignature | undefined, abstract: boolean): TSConstructorType { - const result: TSConstructorType = new TSConstructorType(global.generatedEs2panda._UpdateTSConstructorType(global.context, passNode(original), passNode(signature), abstract), Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE) - result.setChildrenParentPtr() - return result - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSConstructorTypeTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._TSConstructorTypeParamsConst(global.context, this.peer)) - } - get returnType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSConstructorTypeReturnType(global.context, this.peer)) - } - get abstract(): boolean { - return global.generatedEs2panda._TSConstructorTypeAbstractConst(global.context, this.peer) - } - protected readonly brandTSConstructorType: undefined -} -export function isTSConstructorType(node: object | undefined): node is TSConstructorType { - return node instanceof TSConstructorType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE, (peer: KNativePointer) => new TSConstructorType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_CONSTRUCTOR_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts b/ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts deleted file mode 100644 index 58f07c4e5..000000000 --- a/ui2abc/libarkts/generated/peers/TSEnumDeclaration.ts +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { ClassDefinition } from "./ClassDefinition" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { TypeNode } from "./TypeNode" -import { TypedStatement } from "./TypedStatement" - -export class TSEnumDeclaration extends TypedStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1TSEnumDeclaration(key: Identifier | undefined, members: readonly AstNode[], isConst: boolean, isStatic: boolean, isDeclare: boolean, typeNode?: TypeNode): TSEnumDeclaration { - const result: TSEnumDeclaration = new TSEnumDeclaration(global.generatedEs2panda._CreateTSEnumDeclaration1(global.context, passNode(key), passNodeArray(members), members.length, isConst, isStatic, isDeclare, passNode(typeNode)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateTSEnumDeclaration(original: TSEnumDeclaration | undefined, key: Identifier | undefined, members: readonly AstNode[], isConst: boolean, isStatic: boolean, isDeclare: boolean): TSEnumDeclaration { - const result: TSEnumDeclaration = new TSEnumDeclaration(global.generatedEs2panda._UpdateTSEnumDeclaration(global.context, passNode(original), passNode(key), passNodeArray(members), members.length, isConst, isStatic, isDeclare), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION) - result.setChildrenParentPtr() - return result - } - static update1TSEnumDeclaration(original: TSEnumDeclaration | undefined, key: Identifier | undefined, members: readonly AstNode[], isConst: boolean, isStatic: boolean, isDeclare: boolean, typeNode?: TypeNode): TSEnumDeclaration { - const result: TSEnumDeclaration = new TSEnumDeclaration(global.generatedEs2panda._UpdateTSEnumDeclaration1(global.context, passNode(original), passNode(key), passNodeArray(members), members.length, isConst, isStatic, isDeclare, passNode(typeNode)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION) - result.setChildrenParentPtr() - return result - } - get typeNodes(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSEnumDeclarationTypeNodes(global.context, this.peer)) - } - get key(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSEnumDeclarationKey(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get members(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._TSEnumDeclarationMembersConst(global.context, this.peer)) - } - get internalName(): string { - return unpackString(global.generatedEs2panda._TSEnumDeclarationInternalNameConst(global.context, this.peer)) - } - /** @deprecated */ - setInternalName(internalName: string): this { - global.generatedEs2panda._TSEnumDeclarationSetInternalName(global.context, this.peer, internalName) - return this - } - get boxedClass(): ClassDefinition | undefined { - return unpackNode(global.generatedEs2panda._TSEnumDeclarationBoxedClassConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CLASS_DEFINITION) - } - /** @deprecated */ - setBoxedClass(boxedClass?: ClassDefinition): this { - global.generatedEs2panda._TSEnumDeclarationSetBoxedClass(global.context, this.peer, passNode(boxedClass)) - return this - } - get isConst(): boolean { - return global.generatedEs2panda._TSEnumDeclarationIsConstConst(global.context, this.peer) - } - /** @deprecated */ - emplaceMembers(source?: AstNode): this { - global.generatedEs2panda._TSEnumDeclarationEmplaceMembers(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearMembers(): this { - global.generatedEs2panda._TSEnumDeclarationClearMembers(global.context, this.peer) - return this - } - /** @deprecated */ - setValueMembers(source: AstNode | undefined, index: number): this { - global.generatedEs2panda._TSEnumDeclarationSetValueMembers(global.context, this.peer, passNode(source), index) - return this - } - get membersForUpdate(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._TSEnumDeclarationMembersForUpdate(global.context, this.peer)) - } - protected readonly brandTSEnumDeclaration: undefined -} -export function isTSEnumDeclaration(node: object | undefined): node is TSEnumDeclaration { - return node instanceof TSEnumDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION, (peer: KNativePointer) => new TSEnumDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSEnumMember.ts b/ui2abc/libarkts/generated/peers/TSEnumMember.ts deleted file mode 100644 index d4e5988a1..000000000 --- a/ui2abc/libarkts/generated/peers/TSEnumMember.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class TSEnumMember extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1TSEnumMember(key: Expression | undefined, init: Expression | undefined, isGenerated: boolean): TSEnumMember { - const result: TSEnumMember = new TSEnumMember(global.generatedEs2panda._CreateTSEnumMember1(global.context, passNode(key), passNode(init), isGenerated), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER) - result.setChildrenParentPtr() - return result - } - static updateTSEnumMember(original?: TSEnumMember, key?: Expression, init?: Expression): TSEnumMember { - const result: TSEnumMember = new TSEnumMember(global.generatedEs2panda._UpdateTSEnumMember(global.context, passNode(original), passNode(key), passNode(init)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER) - result.setChildrenParentPtr() - return result - } - static update1TSEnumMember(original: TSEnumMember | undefined, key: Expression | undefined, init: Expression | undefined, isGenerated: boolean): TSEnumMember { - const result: TSEnumMember = new TSEnumMember(global.generatedEs2panda._UpdateTSEnumMember1(global.context, passNode(original), passNode(key), passNode(init), isGenerated), Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER) - result.setChildrenParentPtr() - return result - } - get key(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSEnumMemberKey(global.context, this.peer)) - } - get init(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSEnumMemberInit(global.context, this.peer)) - } - get isGenerated(): boolean { - return global.generatedEs2panda._TSEnumMemberIsGeneratedConst(global.context, this.peer) - } - get name(): string { - return unpackString(global.generatedEs2panda._TSEnumMemberNameConst(global.context, this.peer)) - } - protected readonly brandTSEnumMember: undefined -} -export function isTSEnumMember(node: object | undefined): node is TSEnumMember { - return node instanceof TSEnumMember -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER, (peer: KNativePointer) => new TSEnumMember(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_ENUM_MEMBER)) -} diff --git a/ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts b/ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts deleted file mode 100644 index 3e17fefb3..000000000 --- a/ui2abc/libarkts/generated/peers/TSExternalModuleReference.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class TSExternalModuleReference extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSExternalModuleReference(expr?: Expression): TSExternalModuleReference { - const result: TSExternalModuleReference = new TSExternalModuleReference(global.generatedEs2panda._CreateTSExternalModuleReference(global.context, passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE) - result.setChildrenParentPtr() - return result - } - static updateTSExternalModuleReference(original?: TSExternalModuleReference, expr?: Expression): TSExternalModuleReference { - const result: TSExternalModuleReference = new TSExternalModuleReference(global.generatedEs2panda._UpdateTSExternalModuleReference(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSExternalModuleReferenceExprConst(global.context, this.peer)) - } - protected readonly brandTSExternalModuleReference: undefined -} -export function isTSExternalModuleReference(node: object | undefined): node is TSExternalModuleReference { - return node instanceof TSExternalModuleReference -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE, (peer: KNativePointer) => new TSExternalModuleReference(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_EXTERNAL_MODULE_REFERENCE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSFunctionType.ts b/ui2abc/libarkts/generated/peers/TSFunctionType.ts deleted file mode 100644 index 632c1114c..000000000 --- a/ui2abc/libarkts/generated/peers/TSFunctionType.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { FunctionSignature } from "./FunctionSignature" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" - -export class TSFunctionType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSFunctionType(signature?: FunctionSignature): TSFunctionType { - const result: TSFunctionType = new TSFunctionType(global.generatedEs2panda._CreateTSFunctionType(global.context, passNode(signature)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_FUNCTION_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSFunctionType(original?: TSFunctionType, signature?: FunctionSignature): TSFunctionType { - const result: TSFunctionType = new TSFunctionType(global.generatedEs2panda._UpdateTSFunctionType(global.context, passNode(original), passNode(signature)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_FUNCTION_TYPE) - result.setChildrenParentPtr() - return result - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSFunctionTypeTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._TSFunctionTypeParamsConst(global.context, this.peer)) - } - get returnType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSFunctionTypeReturnType(global.context, this.peer)) - } - /** @deprecated */ - setNullable(nullable: boolean): this { - global.generatedEs2panda._TSFunctionTypeSetNullable(global.context, this.peer, nullable) - return this - } - protected readonly brandTSFunctionType: undefined -} -export function isTSFunctionType(node: object | undefined): node is TSFunctionType { - return node instanceof TSFunctionType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_FUNCTION_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_FUNCTION_TYPE, (peer: KNativePointer) => new TSFunctionType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_FUNCTION_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts b/ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts deleted file mode 100644 index df474d20b..000000000 --- a/ui2abc/libarkts/generated/peers/TSImportEqualsDeclaration.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { Statement } from "./Statement" - -export class TSImportEqualsDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSImportEqualsDeclaration(id: Identifier | undefined, moduleReference: Expression | undefined, isExport: boolean): TSImportEqualsDeclaration { - const result: TSImportEqualsDeclaration = new TSImportEqualsDeclaration(global.generatedEs2panda._CreateTSImportEqualsDeclaration(global.context, passNode(id), passNode(moduleReference), isExport), Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateTSImportEqualsDeclaration(original: TSImportEqualsDeclaration | undefined, id: Identifier | undefined, moduleReference: Expression | undefined, isExport: boolean): TSImportEqualsDeclaration { - const result: TSImportEqualsDeclaration = new TSImportEqualsDeclaration(global.generatedEs2panda._UpdateTSImportEqualsDeclaration(global.context, passNode(original), passNode(id), passNode(moduleReference), isExport), Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION) - result.setChildrenParentPtr() - return result - } - get id(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSImportEqualsDeclarationIdConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get moduleReference(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSImportEqualsDeclarationModuleReferenceConst(global.context, this.peer)) - } - get isExport(): boolean { - return global.generatedEs2panda._TSImportEqualsDeclarationIsExportConst(global.context, this.peer) - } - protected readonly brandTSImportEqualsDeclaration: undefined -} -export function isTSImportEqualsDeclaration(node: object | undefined): node is TSImportEqualsDeclaration { - return node instanceof TSImportEqualsDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION, (peer: KNativePointer) => new TSImportEqualsDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_EQUALS_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSImportType.ts b/ui2abc/libarkts/generated/peers/TSImportType.ts deleted file mode 100644 index b4afc496e..000000000 --- a/ui2abc/libarkts/generated/peers/TSImportType.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" -import { TypeNode } from "./TypeNode" - -export class TSImportType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSImportType(param: Expression | undefined, typeParams: TSTypeParameterInstantiation | undefined, qualifier: Expression | undefined, isTypeof: boolean): TSImportType { - const result: TSImportType = new TSImportType(global.generatedEs2panda._CreateTSImportType(global.context, passNode(param), passNode(typeParams), passNode(qualifier), isTypeof), Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSImportType(original: TSImportType | undefined, param: Expression | undefined, typeParams: TSTypeParameterInstantiation | undefined, qualifier: Expression | undefined, isTypeof: boolean): TSImportType { - const result: TSImportType = new TSImportType(global.generatedEs2panda._UpdateTSImportType(global.context, passNode(original), passNode(param), passNode(typeParams), passNode(qualifier), isTypeof), Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_TYPE) - result.setChildrenParentPtr() - return result - } - get param(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSImportTypeParamConst(global.context, this.peer)) - } - get typeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._TSImportTypeTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - get qualifier(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSImportTypeQualifierConst(global.context, this.peer)) - } - get isTypeof(): boolean { - return global.generatedEs2panda._TSImportTypeIsTypeofConst(global.context, this.peer) - } - protected readonly brandTSImportType: undefined -} -export function isTSImportType(node: object | undefined): node is TSImportType { - return node instanceof TSImportType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_TYPE, (peer: KNativePointer) => new TSImportType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_IMPORT_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSIndexSignature.ts b/ui2abc/libarkts/generated/peers/TSIndexSignature.ts deleted file mode 100644 index d9d622e28..000000000 --- a/ui2abc/libarkts/generated/peers/TSIndexSignature.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTSIndexSignatureKind } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" -import { TypedAstNode } from "./TypedAstNode" - -export class TSIndexSignature extends TypedAstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSIndexSignature(param: Expression | undefined, typeAnnotation: TypeNode | undefined, readonly_arg: boolean): TSIndexSignature { - const result: TSIndexSignature = new TSIndexSignature(global.generatedEs2panda._CreateTSIndexSignature(global.context, passNode(param), passNode(typeAnnotation), readonly_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEX_SIGNATURE) - result.setChildrenParentPtr() - return result - } - static updateTSIndexSignature(original: TSIndexSignature | undefined, param: Expression | undefined, typeAnnotation: TypeNode | undefined, readonly_arg: boolean): TSIndexSignature { - const result: TSIndexSignature = new TSIndexSignature(global.generatedEs2panda._UpdateTSIndexSignature(global.context, passNode(original), passNode(param), passNode(typeAnnotation), readonly_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEX_SIGNATURE) - result.setChildrenParentPtr() - return result - } - get param(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSIndexSignatureParamConst(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSIndexSignatureTypeAnnotationConst(global.context, this.peer)) - } - get readonly(): boolean { - return global.generatedEs2panda._TSIndexSignatureReadonlyConst(global.context, this.peer) - } - get kind(): Es2pandaTSIndexSignatureKind { - return global.generatedEs2panda._TSIndexSignatureKindConst(global.context, this.peer) - } - protected readonly brandTSIndexSignature: undefined -} -export function isTSIndexSignature(node: object | undefined): node is TSIndexSignature { - return node instanceof TSIndexSignature -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEX_SIGNATURE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEX_SIGNATURE, (peer: KNativePointer) => new TSIndexSignature(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEX_SIGNATURE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts b/ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts deleted file mode 100644 index cc57e1438..000000000 --- a/ui2abc/libarkts/generated/peers/TSIndexedAccessType.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSIndexedAccessType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSIndexedAccessType(objectType?: TypeNode, indexType?: TypeNode): TSIndexedAccessType { - const result: TSIndexedAccessType = new TSIndexedAccessType(global.generatedEs2panda._CreateTSIndexedAccessType(global.context, passNode(objectType), passNode(indexType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSIndexedAccessType(original?: TSIndexedAccessType, objectType?: TypeNode, indexType?: TypeNode): TSIndexedAccessType { - const result: TSIndexedAccessType = new TSIndexedAccessType(global.generatedEs2panda._UpdateTSIndexedAccessType(global.context, passNode(original), passNode(objectType), passNode(indexType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE) - result.setChildrenParentPtr() - return result - } - get objectType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSIndexedAccessTypeObjectTypeConst(global.context, this.peer)) - } - get indexType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSIndexedAccessTypeIndexTypeConst(global.context, this.peer)) - } - protected readonly brandTSIndexedAccessType: undefined -} -export function isTSIndexedAccessType(node: object | undefined): node is TSIndexedAccessType { - return node instanceof TSIndexedAccessType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE, (peer: KNativePointer) => new TSIndexedAccessType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INDEXED_ACCESS_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSInferType.ts b/ui2abc/libarkts/generated/peers/TSInferType.ts deleted file mode 100644 index 66348cec6..000000000 --- a/ui2abc/libarkts/generated/peers/TSInferType.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TSTypeParameter } from "./TSTypeParameter" -import { TypeNode } from "./TypeNode" - -export class TSInferType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSInferType(typeParam?: TSTypeParameter): TSInferType { - const result: TSInferType = new TSInferType(global.generatedEs2panda._CreateTSInferType(global.context, passNode(typeParam)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INFER_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSInferType(original?: TSInferType, typeParam?: TSTypeParameter): TSInferType { - const result: TSInferType = new TSInferType(global.generatedEs2panda._UpdateTSInferType(global.context, passNode(original), passNode(typeParam)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INFER_TYPE) - result.setChildrenParentPtr() - return result - } - get typeParam(): TSTypeParameter | undefined { - return unpackNode(global.generatedEs2panda._TSInferTypeTypeParamConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER) - } - protected readonly brandTSInferType: undefined -} -export function isTSInferType(node: object | undefined): node is TSInferType { - return node instanceof TSInferType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INFER_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INFER_TYPE, (peer: KNativePointer) => new TSInferType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INFER_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSInterfaceBody.ts b/ui2abc/libarkts/generated/peers/TSInterfaceBody.ts deleted file mode 100644 index e27a6e1d4..000000000 --- a/ui2abc/libarkts/generated/peers/TSInterfaceBody.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class TSInterfaceBody extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSInterfaceBody(body: readonly AstNode[]): TSInterfaceBody { - const result: TSInterfaceBody = new TSInterfaceBody(global.generatedEs2panda._CreateTSInterfaceBody(global.context, passNodeArray(body), body.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_BODY) - result.setChildrenParentPtr() - return result - } - static updateTSInterfaceBody(original: TSInterfaceBody | undefined, body: readonly AstNode[]): TSInterfaceBody { - const result: TSInterfaceBody = new TSInterfaceBody(global.generatedEs2panda._UpdateTSInterfaceBody(global.context, passNode(original), passNodeArray(body), body.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_BODY) - result.setChildrenParentPtr() - return result - } - get body(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._TSInterfaceBodyBody(global.context, this.peer)) - } - protected readonly brandTSInterfaceBody: undefined -} -export function isTSInterfaceBody(node: object | undefined): node is TSInterfaceBody { - return node instanceof TSInterfaceBody -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_BODY)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_BODY, (peer: KNativePointer) => new TSInterfaceBody(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_BODY)) -} diff --git a/ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts b/ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts deleted file mode 100644 index 6ec5f9681..000000000 --- a/ui2abc/libarkts/generated/peers/TSInterfaceDeclaration.ts +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { ClassDeclaration } from "./ClassDeclaration" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { SrcDumper } from "./SrcDumper" -import { TSInterfaceBody } from "./TSInterfaceBody" -import { TSInterfaceHeritage } from "./TSInterfaceHeritage" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypedStatement } from "./TypedStatement" - -export class TSInterfaceDeclaration extends TypedStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSInterfaceDeclaration(_extends: readonly TSInterfaceHeritage[], id: AstNode | undefined, typeParams: AstNode | undefined, body: AstNode | undefined, isStatic: boolean, isExternal: boolean, modifierFlags?: Es2pandaModifierFlags): TSInterfaceDeclaration { - const result: TSInterfaceDeclaration = new TSInterfaceDeclaration(global.generatedEs2panda._CreateTSInterfaceDeclaration(global.context, passNodeArray(_extends), _extends.length, passNode(id), passNode(typeParams), passNode(body), isStatic, isExternal), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_DECLARATION) - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - static updateTSInterfaceDeclaration(original: TSInterfaceDeclaration | undefined, _extends: readonly TSInterfaceHeritage[], id: AstNode | undefined, typeParams: AstNode | undefined, body: AstNode | undefined, isStatic: boolean, isExternal: boolean, modifierFlags?: Es2pandaModifierFlags): TSInterfaceDeclaration { - const result: TSInterfaceDeclaration = new TSInterfaceDeclaration(global.generatedEs2panda._UpdateTSInterfaceDeclaration(global.context, passNode(original), passNodeArray(_extends), _extends.length, passNode(id), passNode(typeParams), passNode(body), isStatic, isExternal), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_DECLARATION) - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - get body(): TSInterfaceBody | undefined { - return unpackNode(global.generatedEs2panda._TSInterfaceDeclarationBody(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_BODY) - } - get id(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSInterfaceDeclarationId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get internalName(): string { - return unpackString(global.generatedEs2panda._TSInterfaceDeclarationInternalNameConst(global.context, this.peer)) - } - /** @deprecated */ - setInternalName(internalName: string): this { - global.generatedEs2panda._TSInterfaceDeclarationSetInternalName(global.context, this.peer, internalName) - return this - } - get isStatic(): boolean { - return global.generatedEs2panda._TSInterfaceDeclarationIsStaticConst(global.context, this.peer) - } - get isFromExternal(): boolean { - return global.generatedEs2panda._TSInterfaceDeclarationIsFromExternalConst(global.context, this.peer) - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSInterfaceDeclarationTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get extends(): readonly TSInterfaceHeritage[] { - return unpackNodeArray(global.generatedEs2panda._TSInterfaceDeclarationExtends(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE) - } - get extendsForUpdate(): readonly TSInterfaceHeritage[] { - return unpackNodeArray(global.generatedEs2panda._TSInterfaceDeclarationExtendsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE) - } - get anonClass(): ClassDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSInterfaceDeclarationGetAnonClass(global.context, this.peer)) - } - /** @deprecated */ - setAnonClass(anonClass?: ClassDeclaration): this { - global.generatedEs2panda._TSInterfaceDeclarationSetAnonClass(global.context, this.peer, passNode(anonClass)) - return this - } - /** @deprecated */ - emplaceExtends(_extends?: TSInterfaceHeritage): this { - global.generatedEs2panda._TSInterfaceDeclarationEmplaceExtends(global.context, this.peer, passNode(_extends)) - return this - } - /** @deprecated */ - clearExtends(): this { - global.generatedEs2panda._TSInterfaceDeclarationClearExtends(global.context, this.peer) - return this - } - /** @deprecated */ - setValueExtends(_extends: TSInterfaceHeritage | undefined, index: number): this { - global.generatedEs2panda._TSInterfaceDeclarationSetValueExtends(global.context, this.peer, passNode(_extends), index) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._TSInterfaceDeclarationHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._TSInterfaceDeclarationEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._TSInterfaceDeclarationClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._TSInterfaceDeclarationDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TSInterfaceDeclarationAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TSInterfaceDeclarationAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TSInterfaceDeclarationSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TSInterfaceDeclarationSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandTSInterfaceDeclaration: undefined -} -export function isTSInterfaceDeclaration(node: object | undefined): node is TSInterfaceDeclaration { - return node instanceof TSInterfaceDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_DECLARATION, (peer: KNativePointer) => new TSInterfaceDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts b/ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts deleted file mode 100644 index 037f18f63..000000000 --- a/ui2abc/libarkts/generated/peers/TSInterfaceHeritage.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSInterfaceHeritage extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSInterfaceHeritage(expr?: TypeNode): TSInterfaceHeritage { - const result: TSInterfaceHeritage = new TSInterfaceHeritage(global.generatedEs2panda._CreateTSInterfaceHeritage(global.context, passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE) - result.setChildrenParentPtr() - return result - } - static updateTSInterfaceHeritage(original?: TSInterfaceHeritage, expr?: TypeNode): TSInterfaceHeritage { - const result: TSInterfaceHeritage = new TSInterfaceHeritage(global.generatedEs2panda._UpdateTSInterfaceHeritage(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE) - result.setChildrenParentPtr() - return result - } - get expr(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSInterfaceHeritageExpr(global.context, this.peer)) - } - protected readonly brandTSInterfaceHeritage: undefined -} -export function isTSInterfaceHeritage(node: object | undefined): node is TSInterfaceHeritage { - return node instanceof TSInterfaceHeritage -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE, (peer: KNativePointer) => new TSInterfaceHeritage(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERFACE_HERITAGE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSIntersectionType.ts b/ui2abc/libarkts/generated/peers/TSIntersectionType.ts deleted file mode 100644 index d78cedf78..000000000 --- a/ui2abc/libarkts/generated/peers/TSIntersectionType.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSIntersectionType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSIntersectionType(types: readonly Expression[]): TSIntersectionType { - const result: TSIntersectionType = new TSIntersectionType(global.generatedEs2panda._CreateTSIntersectionType(global.context, passNodeArray(types), types.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERSECTION_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSIntersectionType(original: TSIntersectionType | undefined, types: readonly Expression[]): TSIntersectionType { - const result: TSIntersectionType = new TSIntersectionType(global.generatedEs2panda._UpdateTSIntersectionType(global.context, passNode(original), passNodeArray(types), types.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERSECTION_TYPE) - result.setChildrenParentPtr() - return result - } - get types(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._TSIntersectionTypeTypesConst(global.context, this.peer)) - } - protected readonly brandTSIntersectionType: undefined -} -export function isTSIntersectionType(node: object | undefined): node is TSIntersectionType { - return node instanceof TSIntersectionType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERSECTION_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERSECTION_TYPE, (peer: KNativePointer) => new TSIntersectionType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_INTERSECTION_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSLiteralType.ts b/ui2abc/libarkts/generated/peers/TSLiteralType.ts deleted file mode 100644 index 25567cf6e..000000000 --- a/ui2abc/libarkts/generated/peers/TSLiteralType.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSLiteralType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSLiteralType(literal?: Expression): TSLiteralType { - const result: TSLiteralType = new TSLiteralType(global.generatedEs2panda._CreateTSLiteralType(global.context, passNode(literal)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_LITERAL_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSLiteralType(original?: TSLiteralType, literal?: Expression): TSLiteralType { - const result: TSLiteralType = new TSLiteralType(global.generatedEs2panda._UpdateTSLiteralType(global.context, passNode(original), passNode(literal)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_LITERAL_TYPE) - result.setChildrenParentPtr() - return result - } - get literal(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSLiteralTypeLiteralConst(global.context, this.peer)) - } - protected readonly brandTSLiteralType: undefined -} -export function isTSLiteralType(node: object | undefined): node is TSLiteralType { - return node instanceof TSLiteralType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_LITERAL_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_LITERAL_TYPE, (peer: KNativePointer) => new TSLiteralType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_LITERAL_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSMappedType.ts b/ui2abc/libarkts/generated/peers/TSMappedType.ts deleted file mode 100644 index e2b03c50d..000000000 --- a/ui2abc/libarkts/generated/peers/TSMappedType.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaMappedOption } from "./../Es2pandaEnums" -import { TSTypeParameter } from "./TSTypeParameter" -import { TypeNode } from "./TypeNode" - -export class TSMappedType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSMappedType(typeParameter: TSTypeParameter | undefined, typeAnnotation: TypeNode | undefined, readonly_arg: Es2pandaMappedOption, optional_arg: Es2pandaMappedOption): TSMappedType { - const result: TSMappedType = new TSMappedType(global.generatedEs2panda._CreateTSMappedType(global.context, passNode(typeParameter), passNode(typeAnnotation), readonly_arg, optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_MAPPED_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSMappedType(original: TSMappedType | undefined, typeParameter: TSTypeParameter | undefined, typeAnnotation: TypeNode | undefined, readonly_arg: Es2pandaMappedOption, optional_arg: Es2pandaMappedOption): TSMappedType { - const result: TSMappedType = new TSMappedType(global.generatedEs2panda._UpdateTSMappedType(global.context, passNode(original), passNode(typeParameter), passNode(typeAnnotation), readonly_arg, optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_MAPPED_TYPE) - result.setChildrenParentPtr() - return result - } - get typeParameter(): TSTypeParameter | undefined { - return unpackNode(global.generatedEs2panda._TSMappedTypeTypeParameter(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSMappedTypeTypeAnnotation(global.context, this.peer)) - } - get readonly(): Es2pandaMappedOption { - return global.generatedEs2panda._TSMappedTypeReadonly(global.context, this.peer) - } - get optional(): Es2pandaMappedOption { - return global.generatedEs2panda._TSMappedTypeOptional(global.context, this.peer) - } - protected readonly brandTSMappedType: undefined -} -export function isTSMappedType(node: object | undefined): node is TSMappedType { - return node instanceof TSMappedType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_MAPPED_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_MAPPED_TYPE, (peer: KNativePointer) => new TSMappedType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_MAPPED_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSMethodSignature.ts b/ui2abc/libarkts/generated/peers/TSMethodSignature.ts deleted file mode 100644 index c78832ade..000000000 --- a/ui2abc/libarkts/generated/peers/TSMethodSignature.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { FunctionSignature } from "./FunctionSignature" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" - -export class TSMethodSignature extends AstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSMethodSignature(key: Expression | undefined, signature: FunctionSignature | undefined, computed: boolean, optional_arg: boolean): TSMethodSignature { - const result: TSMethodSignature = new TSMethodSignature(global.generatedEs2panda._CreateTSMethodSignature(global.context, passNode(key), passNode(signature), computed, optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_METHOD_SIGNATURE) - result.setChildrenParentPtr() - return result - } - static updateTSMethodSignature(original: TSMethodSignature | undefined, key: Expression | undefined, signature: FunctionSignature | undefined, computed: boolean, optional_arg: boolean): TSMethodSignature { - const result: TSMethodSignature = new TSMethodSignature(global.generatedEs2panda._UpdateTSMethodSignature(global.context, passNode(original), passNode(key), passNode(signature), computed, optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_METHOD_SIGNATURE) - result.setChildrenParentPtr() - return result - } - get key(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSMethodSignatureKey(global.context, this.peer)) - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSMethodSignatureTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._TSMethodSignatureParamsConst(global.context, this.peer)) - } - get returnTypeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSMethodSignatureReturnTypeAnnotation(global.context, this.peer)) - } - get computed(): boolean { - return global.generatedEs2panda._TSMethodSignatureComputedConst(global.context, this.peer) - } - get optional(): boolean { - return global.generatedEs2panda._TSMethodSignatureOptionalConst(global.context, this.peer) - } - protected readonly brandTSMethodSignature: undefined -} -export function isTSMethodSignature(node: object | undefined): node is TSMethodSignature { - return node instanceof TSMethodSignature -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_METHOD_SIGNATURE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_METHOD_SIGNATURE, (peer: KNativePointer) => new TSMethodSignature(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_METHOD_SIGNATURE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSModuleBlock.ts b/ui2abc/libarkts/generated/peers/TSModuleBlock.ts deleted file mode 100644 index d1eb58c4b..000000000 --- a/ui2abc/libarkts/generated/peers/TSModuleBlock.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class TSModuleBlock extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSModuleBlock(statements: readonly Statement[]): TSModuleBlock { - const result: TSModuleBlock = new TSModuleBlock(global.generatedEs2panda._CreateTSModuleBlock(global.context, passNodeArray(statements), statements.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_BLOCK) - result.setChildrenParentPtr() - return result - } - static updateTSModuleBlock(original: TSModuleBlock | undefined, statements: readonly Statement[]): TSModuleBlock { - const result: TSModuleBlock = new TSModuleBlock(global.generatedEs2panda._UpdateTSModuleBlock(global.context, passNode(original), passNodeArray(statements), statements.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_BLOCK) - result.setChildrenParentPtr() - return result - } - get statements(): readonly Statement[] { - return unpackNodeArray(global.generatedEs2panda._TSModuleBlockStatementsConst(global.context, this.peer)) - } - protected readonly brandTSModuleBlock: undefined -} -export function isTSModuleBlock(node: object | undefined): node is TSModuleBlock { - return node instanceof TSModuleBlock -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_BLOCK)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_BLOCK, (peer: KNativePointer) => new TSModuleBlock(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_BLOCK)) -} diff --git a/ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts b/ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts deleted file mode 100644 index ffadbde87..000000000 --- a/ui2abc/libarkts/generated/peers/TSModuleDeclaration.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class TSModuleDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSModuleDeclaration(name: Expression | undefined, body: Statement | undefined, declare: boolean, _global: boolean): TSModuleDeclaration { - const result: TSModuleDeclaration = new TSModuleDeclaration(global.generatedEs2panda._CreateTSModuleDeclaration(global.context, passNode(name), passNode(body), declare, _global), Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateTSModuleDeclaration(original: TSModuleDeclaration | undefined, name: Expression | undefined, body: Statement | undefined, declare: boolean, _global: boolean): TSModuleDeclaration { - const result: TSModuleDeclaration = new TSModuleDeclaration(global.generatedEs2panda._UpdateTSModuleDeclaration(global.context, passNode(original), passNode(name), passNode(body), declare, _global), Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_DECLARATION) - result.setChildrenParentPtr() - return result - } - get name(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSModuleDeclarationNameConst(global.context, this.peer)) - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._TSModuleDeclarationBodyConst(global.context, this.peer)) - } - get global(): boolean { - return global.generatedEs2panda._TSModuleDeclarationGlobalConst(global.context, this.peer) - } - get isExternalOrAmbient(): boolean { - return global.generatedEs2panda._TSModuleDeclarationIsExternalOrAmbientConst(global.context, this.peer) - } - protected readonly brandTSModuleDeclaration: undefined -} -export function isTSModuleDeclaration(node: object | undefined): node is TSModuleDeclaration { - return node instanceof TSModuleDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_DECLARATION, (peer: KNativePointer) => new TSModuleDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_MODULE_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts b/ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts deleted file mode 100644 index 25348393b..000000000 --- a/ui2abc/libarkts/generated/peers/TSNamedTupleMember.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSNamedTupleMember extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSNamedTupleMember(label: Expression | undefined, elementType: TypeNode | undefined, optional_arg: boolean): TSNamedTupleMember { - const result: TSNamedTupleMember = new TSNamedTupleMember(global.generatedEs2panda._CreateTSNamedTupleMember(global.context, passNode(label), passNode(elementType), optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER) - result.setChildrenParentPtr() - return result - } - static updateTSNamedTupleMember(original: TSNamedTupleMember | undefined, label: Expression | undefined, elementType: TypeNode | undefined, optional_arg: boolean): TSNamedTupleMember { - const result: TSNamedTupleMember = new TSNamedTupleMember(global.generatedEs2panda._UpdateTSNamedTupleMember(global.context, passNode(original), passNode(label), passNode(elementType), optional_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER) - result.setChildrenParentPtr() - return result - } - get label(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSNamedTupleMemberLabelConst(global.context, this.peer)) - } - get elementType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSNamedTupleMemberElementType(global.context, this.peer)) - } - get isOptional(): boolean { - return global.generatedEs2panda._TSNamedTupleMemberIsOptionalConst(global.context, this.peer) - } - protected readonly brandTSNamedTupleMember: undefined -} -export function isTSNamedTupleMember(node: object | undefined): node is TSNamedTupleMember { - return node instanceof TSNamedTupleMember -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER, (peer: KNativePointer) => new TSNamedTupleMember(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_NAMED_TUPLE_MEMBER)) -} diff --git a/ui2abc/libarkts/generated/peers/TSNeverKeyword.ts b/ui2abc/libarkts/generated/peers/TSNeverKeyword.ts deleted file mode 100644 index e0768cff2..000000000 --- a/ui2abc/libarkts/generated/peers/TSNeverKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSNeverKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSNeverKeyword(): TSNeverKeyword { - const result: TSNeverKeyword = new TSNeverKeyword(global.generatedEs2panda._CreateTSNeverKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NEVER_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSNeverKeyword(original?: TSNeverKeyword): TSNeverKeyword { - const result: TSNeverKeyword = new TSNeverKeyword(global.generatedEs2panda._UpdateTSNeverKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NEVER_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSNeverKeyword: undefined -} -export function isTSNeverKeyword(node: object | undefined): node is TSNeverKeyword { - return node instanceof TSNeverKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NEVER_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NEVER_KEYWORD, (peer: KNativePointer) => new TSNeverKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_NEVER_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSNonNullExpression.ts b/ui2abc/libarkts/generated/peers/TSNonNullExpression.ts deleted file mode 100644 index b517d9b00..000000000 --- a/ui2abc/libarkts/generated/peers/TSNonNullExpression.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class TSNonNullExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSNonNullExpression(expr?: Expression): TSNonNullExpression { - const result: TSNonNullExpression = new TSNonNullExpression(global.generatedEs2panda._CreateTSNonNullExpression(global.context, passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NON_NULL_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateTSNonNullExpression(original?: TSNonNullExpression, expr?: Expression): TSNonNullExpression { - const result: TSNonNullExpression = new TSNonNullExpression(global.generatedEs2panda._UpdateTSNonNullExpression(global.context, passNode(original), passNode(expr)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NON_NULL_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get expr(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSNonNullExpressionExpr(global.context, this.peer)) - } - /** @deprecated */ - setExpr(expr?: Expression): this { - global.generatedEs2panda._TSNonNullExpressionSetExpr(global.context, this.peer, passNode(expr)) - return this - } - protected readonly brandTSNonNullExpression: undefined -} -export function isTSNonNullExpression(node: object | undefined): node is TSNonNullExpression { - return node instanceof TSNonNullExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NON_NULL_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NON_NULL_EXPRESSION, (peer: KNativePointer) => new TSNonNullExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_NON_NULL_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSNullKeyword.ts b/ui2abc/libarkts/generated/peers/TSNullKeyword.ts deleted file mode 100644 index 76aefcc19..000000000 --- a/ui2abc/libarkts/generated/peers/TSNullKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSNullKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSNullKeyword(): TSNullKeyword { - const result: TSNullKeyword = new TSNullKeyword(global.generatedEs2panda._CreateTSNullKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NULL_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSNullKeyword(original?: TSNullKeyword): TSNullKeyword { - const result: TSNullKeyword = new TSNullKeyword(global.generatedEs2panda._UpdateTSNullKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NULL_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSNullKeyword: undefined -} -export function isTSNullKeyword(node: object | undefined): node is TSNullKeyword { - return node instanceof TSNullKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NULL_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NULL_KEYWORD, (peer: KNativePointer) => new TSNullKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_NULL_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSNumberKeyword.ts b/ui2abc/libarkts/generated/peers/TSNumberKeyword.ts deleted file mode 100644 index 0744f2bb8..000000000 --- a/ui2abc/libarkts/generated/peers/TSNumberKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSNumberKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSNumberKeyword(): TSNumberKeyword { - const result: TSNumberKeyword = new TSNumberKeyword(global.generatedEs2panda._CreateTSNumberKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NUMBER_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSNumberKeyword(original?: TSNumberKeyword): TSNumberKeyword { - const result: TSNumberKeyword = new TSNumberKeyword(global.generatedEs2panda._UpdateTSNumberKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_NUMBER_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSNumberKeyword: undefined -} -export function isTSNumberKeyword(node: object | undefined): node is TSNumberKeyword { - return node instanceof TSNumberKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NUMBER_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_NUMBER_KEYWORD, (peer: KNativePointer) => new TSNumberKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_NUMBER_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSObjectKeyword.ts b/ui2abc/libarkts/generated/peers/TSObjectKeyword.ts deleted file mode 100644 index a3a57f01a..000000000 --- a/ui2abc/libarkts/generated/peers/TSObjectKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSObjectKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSObjectKeyword(): TSObjectKeyword { - const result: TSObjectKeyword = new TSObjectKeyword(global.generatedEs2panda._CreateTSObjectKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_OBJECT_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSObjectKeyword(original?: TSObjectKeyword): TSObjectKeyword { - const result: TSObjectKeyword = new TSObjectKeyword(global.generatedEs2panda._UpdateTSObjectKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_OBJECT_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSObjectKeyword: undefined -} -export function isTSObjectKeyword(node: object | undefined): node is TSObjectKeyword { - return node instanceof TSObjectKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_OBJECT_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_OBJECT_KEYWORD, (peer: KNativePointer) => new TSObjectKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_OBJECT_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSParameterProperty.ts b/ui2abc/libarkts/generated/peers/TSParameterProperty.ts deleted file mode 100644 index 81e776d79..000000000 --- a/ui2abc/libarkts/generated/peers/TSParameterProperty.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAccessibilityOption } from "./../Es2pandaEnums" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class TSParameterProperty extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSParameterProperty(accessibility: Es2pandaAccessibilityOption, parameter: Expression | undefined, readonly_arg: boolean, isStatic: boolean, isExport: boolean): TSParameterProperty { - const result: TSParameterProperty = new TSParameterProperty(global.generatedEs2panda._CreateTSParameterProperty(global.context, accessibility, passNode(parameter), readonly_arg, isStatic, isExport), Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARAMETER_PROPERTY) - result.setChildrenParentPtr() - return result - } - static updateTSParameterProperty(original: TSParameterProperty | undefined, accessibility: Es2pandaAccessibilityOption, parameter: Expression | undefined, readonly_arg: boolean, isStatic: boolean, isExport: boolean): TSParameterProperty { - const result: TSParameterProperty = new TSParameterProperty(global.generatedEs2panda._UpdateTSParameterProperty(global.context, passNode(original), accessibility, passNode(parameter), readonly_arg, isStatic, isExport), Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARAMETER_PROPERTY) - result.setChildrenParentPtr() - return result - } - get accessibility(): Es2pandaAccessibilityOption { - return global.generatedEs2panda._TSParameterPropertyAccessibilityConst(global.context, this.peer) - } - get readonly(): boolean { - return global.generatedEs2panda._TSParameterPropertyReadonlyConst(global.context, this.peer) - } - get isStatic(): boolean { - return global.generatedEs2panda._TSParameterPropertyIsStaticConst(global.context, this.peer) - } - get isExport(): boolean { - return global.generatedEs2panda._TSParameterPropertyIsExportConst(global.context, this.peer) - } - get parameter(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSParameterPropertyParameterConst(global.context, this.peer)) - } - protected readonly brandTSParameterProperty: undefined -} -export function isTSParameterProperty(node: object | undefined): node is TSParameterProperty { - return node instanceof TSParameterProperty -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARAMETER_PROPERTY)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARAMETER_PROPERTY, (peer: KNativePointer) => new TSParameterProperty(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARAMETER_PROPERTY)) -} diff --git a/ui2abc/libarkts/generated/peers/TSParenthesizedType.ts b/ui2abc/libarkts/generated/peers/TSParenthesizedType.ts deleted file mode 100644 index a81d8dd4c..000000000 --- a/ui2abc/libarkts/generated/peers/TSParenthesizedType.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSParenthesizedType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSParenthesizedType(type?: TypeNode): TSParenthesizedType { - const result: TSParenthesizedType = new TSParenthesizedType(global.generatedEs2panda._CreateTSParenthesizedType(global.context, passNode(type)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARENT_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSParenthesizedType(original?: TSParenthesizedType, type?: TypeNode): TSParenthesizedType { - const result: TSParenthesizedType = new TSParenthesizedType(global.generatedEs2panda._UpdateTSParenthesizedType(global.context, passNode(original), passNode(type)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARENT_TYPE) - result.setChildrenParentPtr() - return result - } - get type(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSParenthesizedTypeTypeConst(global.context, this.peer)) - } - protected readonly brandTSParenthesizedType: undefined -} -export function isTSParenthesizedType(node: object | undefined): node is TSParenthesizedType { - return node instanceof TSParenthesizedType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARENT_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARENT_TYPE, (peer: KNativePointer) => new TSParenthesizedType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_PARENT_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSPropertySignature.ts b/ui2abc/libarkts/generated/peers/TSPropertySignature.ts deleted file mode 100644 index 704db5201..000000000 --- a/ui2abc/libarkts/generated/peers/TSPropertySignature.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedAstNode } from "./AnnotatedAstNode" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSPropertySignature extends AnnotatedAstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSPropertySignature(key: Expression | undefined, typeAnnotation: TypeNode | undefined, computed: boolean, optional_arg: boolean, readonly_arg: boolean): TSPropertySignature { - const result: TSPropertySignature = new TSPropertySignature(global.generatedEs2panda._CreateTSPropertySignature(global.context, passNode(key), passNode(typeAnnotation), computed, optional_arg, readonly_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_PROPERTY_SIGNATURE) - result.setChildrenParentPtr() - return result - } - static updateTSPropertySignature(original: TSPropertySignature | undefined, key: Expression | undefined, typeAnnotation: TypeNode | undefined, computed: boolean, optional_arg: boolean, readonly_arg: boolean): TSPropertySignature { - const result: TSPropertySignature = new TSPropertySignature(global.generatedEs2panda._UpdateTSPropertySignature(global.context, passNode(original), passNode(key), passNode(typeAnnotation), computed, optional_arg, readonly_arg), Es2pandaAstNodeType.AST_NODE_TYPE_TS_PROPERTY_SIGNATURE) - result.setChildrenParentPtr() - return result - } - get key(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSPropertySignatureKey(global.context, this.peer)) - } - get computed(): boolean { - return global.generatedEs2panda._TSPropertySignatureComputedConst(global.context, this.peer) - } - get optional(): boolean { - return global.generatedEs2panda._TSPropertySignatureOptionalConst(global.context, this.peer) - } - get readonly(): boolean { - return global.generatedEs2panda._TSPropertySignatureReadonlyConst(global.context, this.peer) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSPropertySignatureTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._TSPropertySignatureSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandTSPropertySignature: undefined -} -export function isTSPropertySignature(node: object | undefined): node is TSPropertySignature { - return node instanceof TSPropertySignature -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_PROPERTY_SIGNATURE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_PROPERTY_SIGNATURE, (peer: KNativePointer) => new TSPropertySignature(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_PROPERTY_SIGNATURE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSQualifiedName.ts b/ui2abc/libarkts/generated/peers/TSQualifiedName.ts deleted file mode 100644 index 2af9bc134..000000000 --- a/ui2abc/libarkts/generated/peers/TSQualifiedName.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" - -export class TSQualifiedName extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSQualifiedName(left?: Expression, right?: Identifier): TSQualifiedName { - const result: TSQualifiedName = new TSQualifiedName(global.generatedEs2panda._CreateTSQualifiedName(global.context, passNode(left), passNode(right)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_QUALIFIED_NAME) - result.setChildrenParentPtr() - return result - } - static updateTSQualifiedName(original?: TSQualifiedName, left?: Expression, right?: Identifier): TSQualifiedName { - const result: TSQualifiedName = new TSQualifiedName(global.generatedEs2panda._UpdateTSQualifiedName(global.context, passNode(original), passNode(left), passNode(right)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_QUALIFIED_NAME) - result.setChildrenParentPtr() - return result - } - get left(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSQualifiedNameLeft(global.context, this.peer)) - } - get right(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSQualifiedNameRight(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get name(): string { - return unpackString(global.generatedEs2panda._TSQualifiedNameNameConst(global.context, this.peer)) - } - get resolveLeftMostQualifiedName(): TSQualifiedName | undefined { - return unpackNode(global.generatedEs2panda._TSQualifiedNameResolveLeftMostQualifiedName(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_QUALIFIED_NAME) - } - protected readonly brandTSQualifiedName: undefined -} -export function isTSQualifiedName(node: object | undefined): node is TSQualifiedName { - return node instanceof TSQualifiedName -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_QUALIFIED_NAME)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_QUALIFIED_NAME, (peer: KNativePointer) => new TSQualifiedName(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_QUALIFIED_NAME)) -} diff --git a/ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts b/ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts deleted file mode 100644 index 832f5b292..000000000 --- a/ui2abc/libarkts/generated/peers/TSSignatureDeclaration.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTSSignatureDeclarationKind } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { FunctionSignature } from "./FunctionSignature" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" -import { TypedAstNode } from "./TypedAstNode" - -export class TSSignatureDeclaration extends TypedAstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSSignatureDeclaration(kind: Es2pandaTSSignatureDeclarationKind, signature?: FunctionSignature): TSSignatureDeclaration { - const result: TSSignatureDeclaration = new TSSignatureDeclaration(global.generatedEs2panda._CreateTSSignatureDeclaration(global.context, kind, passNode(signature)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_SIGNATURE_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateTSSignatureDeclaration(original: TSSignatureDeclaration | undefined, kind: Es2pandaTSSignatureDeclarationKind, signature?: FunctionSignature): TSSignatureDeclaration { - const result: TSSignatureDeclaration = new TSSignatureDeclaration(global.generatedEs2panda._UpdateTSSignatureDeclaration(global.context, passNode(original), kind, passNode(signature)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_SIGNATURE_DECLARATION) - result.setChildrenParentPtr() - return result - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSSignatureDeclarationTypeParams(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - get params(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._TSSignatureDeclarationParamsConst(global.context, this.peer)) - } - get returnTypeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSSignatureDeclarationReturnTypeAnnotation(global.context, this.peer)) - } - get kind(): Es2pandaTSSignatureDeclarationKind { - return global.generatedEs2panda._TSSignatureDeclarationKindConst(global.context, this.peer) - } - protected readonly brandTSSignatureDeclaration: undefined -} -export function isTSSignatureDeclaration(node: object | undefined): node is TSSignatureDeclaration { - return node instanceof TSSignatureDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_SIGNATURE_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_SIGNATURE_DECLARATION, (peer: KNativePointer) => new TSSignatureDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_SIGNATURE_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSStringKeyword.ts b/ui2abc/libarkts/generated/peers/TSStringKeyword.ts deleted file mode 100644 index 824925ea4..000000000 --- a/ui2abc/libarkts/generated/peers/TSStringKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSStringKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSStringKeyword(): TSStringKeyword { - const result: TSStringKeyword = new TSStringKeyword(global.generatedEs2panda._CreateTSStringKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_STRING_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSStringKeyword(original?: TSStringKeyword): TSStringKeyword { - const result: TSStringKeyword = new TSStringKeyword(global.generatedEs2panda._UpdateTSStringKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_STRING_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSStringKeyword: undefined -} -export function isTSStringKeyword(node: object | undefined): node is TSStringKeyword { - return node instanceof TSStringKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_STRING_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_STRING_KEYWORD, (peer: KNativePointer) => new TSStringKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_STRING_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSThisType.ts b/ui2abc/libarkts/generated/peers/TSThisType.ts deleted file mode 100644 index a55cf4204..000000000 --- a/ui2abc/libarkts/generated/peers/TSThisType.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSThisType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSThisType(): TSThisType { - const result: TSThisType = new TSThisType(global.generatedEs2panda._CreateTSThisType(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_THIS_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSThisType(original?: TSThisType): TSThisType { - const result: TSThisType = new TSThisType(global.generatedEs2panda._UpdateTSThisType(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_THIS_TYPE) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSThisType: undefined -} -export function isTSThisType(node: object | undefined): node is TSThisType { - return node instanceof TSThisType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_THIS_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_THIS_TYPE, (peer: KNativePointer) => new TSThisType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_THIS_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTupleType.ts b/ui2abc/libarkts/generated/peers/TSTupleType.ts deleted file mode 100644 index 6ac886ba4..000000000 --- a/ui2abc/libarkts/generated/peers/TSTupleType.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSTupleType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTupleType(elementTypes: readonly TypeNode[]): TSTupleType { - const result: TSTupleType = new TSTupleType(global.generatedEs2panda._CreateTSTupleType(global.context, passNodeArray(elementTypes), elementTypes.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TUPLE_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSTupleType(original: TSTupleType | undefined, elementTypes: readonly TypeNode[]): TSTupleType { - const result: TSTupleType = new TSTupleType(global.generatedEs2panda._UpdateTSTupleType(global.context, passNode(original), passNodeArray(elementTypes), elementTypes.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TUPLE_TYPE) - result.setChildrenParentPtr() - return result - } - get elementType(): readonly TypeNode[] { - return unpackNodeArray(global.generatedEs2panda._TSTupleTypeElementTypeConst(global.context, this.peer)) - } - protected readonly brandTSTupleType: undefined -} -export function isTSTupleType(node: object | undefined): node is TSTupleType { - return node instanceof TSTupleType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TUPLE_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TUPLE_TYPE, (peer: KNativePointer) => new TSTupleType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TUPLE_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts b/ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts deleted file mode 100644 index 1cd216907..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeAliasDeclaration.ts +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedStatement } from "./AnnotatedStatement" -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Identifier } from "./Identifier" -import { SrcDumper } from "./SrcDumper" -import { TSTypeParameterDeclaration } from "./TSTypeParameterDeclaration" -import { TypeNode } from "./TypeNode" - -export class TSTypeAliasDeclaration extends AnnotatedStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeAliasDeclaration(id?: Identifier, typeParams?: TSTypeParameterDeclaration, typeAnnotation?: TypeNode, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration { - const result: TSTypeAliasDeclaration = new TSTypeAliasDeclaration(global.generatedEs2panda._CreateTSTypeAliasDeclaration(global.context, passNode(id), passNode(typeParams), passNode(typeAnnotation)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION) - if (annotations) - { - result.setAnnotations(annotations) - } - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - static updateTSTypeAliasDeclaration(original?: TSTypeAliasDeclaration, id?: Identifier, typeParams?: TSTypeParameterDeclaration, typeAnnotation?: TypeNode, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration { - const result: TSTypeAliasDeclaration = new TSTypeAliasDeclaration(global.generatedEs2panda._UpdateTSTypeAliasDeclaration(global.context, passNode(original), passNode(id), passNode(typeParams), passNode(typeAnnotation)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION) - if (annotations) - { - result.setAnnotations(annotations) - } - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - static update1TSTypeAliasDeclaration(original?: TSTypeAliasDeclaration, id?: Identifier, annotations?: readonly AnnotationUsage[], modifierFlags?: Es2pandaModifierFlags): TSTypeAliasDeclaration { - const result: TSTypeAliasDeclaration = new TSTypeAliasDeclaration(global.generatedEs2panda._UpdateTSTypeAliasDeclaration1(global.context, passNode(original), passNode(id)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION) - if (annotations) - { - result.setAnnotations(annotations) - } - if (modifierFlags) - { - result.modifierFlags = modifierFlags - } - result.setChildrenParentPtr() - return result - } - get id(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSTypeAliasDeclarationId(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get typeParams(): TSTypeParameterDeclaration | undefined { - return unpackNode(global.generatedEs2panda._TSTypeAliasDeclarationTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - } - /** @deprecated */ - setTypeParameters(typeParams?: TSTypeParameterDeclaration): this { - global.generatedEs2panda._TSTypeAliasDeclarationSetTypeParameters(global.context, this.peer, passNode(typeParams)) - return this - } - /** @deprecated */ - clearTypeParamterTypes(): this { - global.generatedEs2panda._TSTypeAliasDeclarationClearTypeParamterTypes(global.context, this.peer) - return this - } - get typeAnnotation(): TypeNode { - return unpackNonNullableNode(global.generatedEs2panda._TSTypeAliasDeclarationTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._TSTypeAliasDeclarationSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._TSTypeAliasDeclarationHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._TSTypeAliasDeclarationEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._TSTypeAliasDeclarationClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._TSTypeAliasDeclarationDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeAliasDeclarationAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeAliasDeclarationAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TSTypeAliasDeclarationSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TSTypeAliasDeclarationSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandTSTypeAliasDeclaration: undefined -} -export function isTSTypeAliasDeclaration(node: object | undefined): node is TSTypeAliasDeclaration { - return node instanceof TSTypeAliasDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION, (peer: KNativePointer) => new TSTypeAliasDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ALIAS_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeAssertion.ts b/ui2abc/libarkts/generated/peers/TSTypeAssertion.ts deleted file mode 100644 index bd61f579a..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeAssertion.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotatedExpression } from "./AnnotatedExpression" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSTypeAssertion extends AnnotatedExpression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeAssertion(typeAnnotation?: TypeNode, expression?: Expression): TSTypeAssertion { - const result: TSTypeAssertion = new TSTypeAssertion(global.generatedEs2panda._CreateTSTypeAssertion(global.context, passNode(typeAnnotation), passNode(expression)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ASSERTION) - result.setChildrenParentPtr() - return result - } - static updateTSTypeAssertion(original?: TSTypeAssertion, typeAnnotation?: TypeNode, expression?: Expression): TSTypeAssertion { - const result: TSTypeAssertion = new TSTypeAssertion(global.generatedEs2panda._UpdateTSTypeAssertion(global.context, passNode(original), passNode(typeAnnotation), passNode(expression)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ASSERTION) - result.setChildrenParentPtr() - return result - } - get expression(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSTypeAssertionGetExpressionConst(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSTypeAssertionTypeAnnotationConst(global.context, this.peer)) - } - /** @deprecated */ - setTsTypeAnnotation(typeAnnotation?: TypeNode): this { - global.generatedEs2panda._TSTypeAssertionSetTsTypeAnnotation(global.context, this.peer, passNode(typeAnnotation)) - return this - } - protected readonly brandTSTypeAssertion: undefined -} -export function isTSTypeAssertion(node: object | undefined): node is TSTypeAssertion { - return node instanceof TSTypeAssertion -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ASSERTION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ASSERTION, (peer: KNativePointer) => new TSTypeAssertion(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_ASSERTION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeLiteral.ts b/ui2abc/libarkts/generated/peers/TSTypeLiteral.ts deleted file mode 100644 index 87cf27f72..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeLiteral.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSTypeLiteral extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeLiteral(members: readonly AstNode[]): TSTypeLiteral { - const result: TSTypeLiteral = new TSTypeLiteral(global.generatedEs2panda._CreateTSTypeLiteral(global.context, passNodeArray(members), members.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateTSTypeLiteral(original: TSTypeLiteral | undefined, members: readonly AstNode[]): TSTypeLiteral { - const result: TSTypeLiteral = new TSTypeLiteral(global.generatedEs2panda._UpdateTSTypeLiteral(global.context, passNode(original), passNodeArray(members), members.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_LITERAL) - result.setChildrenParentPtr() - return result - } - get members(): readonly AstNode[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeLiteralMembersConst(global.context, this.peer)) - } - protected readonly brandTSTypeLiteral: undefined -} -export function isTSTypeLiteral(node: object | undefined): node is TSTypeLiteral { - return node instanceof TSTypeLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_LITERAL, (peer: KNativePointer) => new TSTypeLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeOperator.ts b/ui2abc/libarkts/generated/peers/TSTypeOperator.ts deleted file mode 100644 index ba5d49a78..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeOperator.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTSOperatorType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSTypeOperator extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeOperator(type: TypeNode | undefined, operatorType: Es2pandaTSOperatorType): TSTypeOperator { - const result: TSTypeOperator = new TSTypeOperator(global.generatedEs2panda._CreateTSTypeOperator(global.context, passNode(type), operatorType), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_OPERATOR) - result.setChildrenParentPtr() - return result - } - static updateTSTypeOperator(original: TSTypeOperator | undefined, type: TypeNode | undefined, operatorType: Es2pandaTSOperatorType): TSTypeOperator { - const result: TSTypeOperator = new TSTypeOperator(global.generatedEs2panda._UpdateTSTypeOperator(global.context, passNode(original), passNode(type), operatorType), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_OPERATOR) - result.setChildrenParentPtr() - return result - } - get type(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSTypeOperatorTypeConst(global.context, this.peer)) - } - get isReadonly(): boolean { - return global.generatedEs2panda._TSTypeOperatorIsReadonlyConst(global.context, this.peer) - } - get isKeyof(): boolean { - return global.generatedEs2panda._TSTypeOperatorIsKeyofConst(global.context, this.peer) - } - get isUnique(): boolean { - return global.generatedEs2panda._TSTypeOperatorIsUniqueConst(global.context, this.peer) - } - protected readonly brandTSTypeOperator: undefined -} -export function isTSTypeOperator(node: object | undefined): node is TSTypeOperator { - return node instanceof TSTypeOperator -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_OPERATOR)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_OPERATOR, (peer: KNativePointer) => new TSTypeOperator(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_OPERATOR)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeParameter.ts b/ui2abc/libarkts/generated/peers/TSTypeParameter.ts deleted file mode 100644 index 77937d364..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeParameter.ts +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaModifierFlags } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { SrcDumper } from "./SrcDumper" -import { TypeNode } from "./TypeNode" - -export class TSTypeParameter extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1TSTypeParameter(name: Identifier | undefined, constraint: TypeNode | undefined, defaultType: TypeNode | undefined, flags: Es2pandaModifierFlags): TSTypeParameter { - const result: TSTypeParameter = new TSTypeParameter(global.generatedEs2panda._CreateTSTypeParameter1(global.context, passNode(name), passNode(constraint), passNode(defaultType), flags), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER) - result.setChildrenParentPtr() - return result - } - static updateTSTypeParameter(original?: TSTypeParameter, name?: Identifier, constraint?: TypeNode, defaultType?: TypeNode): TSTypeParameter { - const result: TSTypeParameter = new TSTypeParameter(global.generatedEs2panda._UpdateTSTypeParameter(global.context, passNode(original), passNode(name), passNode(constraint), passNode(defaultType)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER) - result.setChildrenParentPtr() - return result - } - static update1TSTypeParameter(original: TSTypeParameter | undefined, name: Identifier | undefined, constraint: TypeNode | undefined, defaultType: TypeNode | undefined, flags: Es2pandaModifierFlags): TSTypeParameter { - const result: TSTypeParameter = new TSTypeParameter(global.generatedEs2panda._UpdateTSTypeParameter1(global.context, passNode(original), passNode(name), passNode(constraint), passNode(defaultType), flags), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER) - result.setChildrenParentPtr() - return result - } - get name(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSTypeParameterName(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - get constraint(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSTypeParameterConstraint(global.context, this.peer)) - } - /** @deprecated */ - setConstraint(constraint?: TypeNode): this { - global.generatedEs2panda._TSTypeParameterSetConstraint(global.context, this.peer, passNode(constraint)) - return this - } - get defaultType(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSTypeParameterDefaultTypeConst(global.context, this.peer)) - } - /** @deprecated */ - setDefaultType(defaultType?: TypeNode): this { - global.generatedEs2panda._TSTypeParameterSetDefaultType(global.context, this.peer, passNode(defaultType)) - return this - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._TSTypeParameterHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._TSTypeParameterEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._TSTypeParameterClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._TSTypeParameterDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeParameterAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeParameterAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TSTypeParameterSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TSTypeParameterSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandTSTypeParameter: undefined -} -export function isTSTypeParameter(node: object | undefined): node is TSTypeParameter { - return node instanceof TSTypeParameter -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER, (peer: KNativePointer) => new TSTypeParameter(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts b/ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts deleted file mode 100644 index 807f00de6..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeParameterDeclaration.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TSTypeParameter } from "./TSTypeParameter" - -export class TSTypeParameterDeclaration extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeParameterDeclaration(params: readonly TSTypeParameter[], requiredParams: number): TSTypeParameterDeclaration { - const result: TSTypeParameterDeclaration = new TSTypeParameterDeclaration(global.generatedEs2panda._CreateTSTypeParameterDeclaration(global.context, passNodeArray(params), params.length, requiredParams), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - result.setChildrenParentPtr() - return result - } - static updateTSTypeParameterDeclaration(original: TSTypeParameterDeclaration | undefined, params: readonly TSTypeParameter[], requiredParams: number): TSTypeParameterDeclaration { - const result: TSTypeParameterDeclaration = new TSTypeParameterDeclaration(global.generatedEs2panda._UpdateTSTypeParameterDeclaration(global.context, passNode(original), passNodeArray(params), params.length, requiredParams), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION) - result.setChildrenParentPtr() - return result - } - get params(): readonly TSTypeParameter[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeParameterDeclarationParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER) - } - /** @deprecated */ - addParam(param?: TSTypeParameter): this { - global.generatedEs2panda._TSTypeParameterDeclarationAddParam(global.context, this.peer, passNode(param)) - return this - } - /** @deprecated */ - setValueParams(source: TSTypeParameter | undefined, index: number): this { - global.generatedEs2panda._TSTypeParameterDeclarationSetValueParams(global.context, this.peer, passNode(source), index) - return this - } - get requiredParams(): number { - return global.generatedEs2panda._TSTypeParameterDeclarationRequiredParamsConst(global.context, this.peer) - } - protected readonly brandTSTypeParameterDeclaration: undefined -} -export function isTSTypeParameterDeclaration(node: object | undefined): node is TSTypeParameterDeclaration { - return node instanceof TSTypeParameterDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION, (peer: KNativePointer) => new TSTypeParameterDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts b/ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts deleted file mode 100644 index 38c6c7903..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeParameterInstantiation.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSTypeParameterInstantiation extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeParameterInstantiation(params: readonly TypeNode[]): TSTypeParameterInstantiation { - const result: TSTypeParameterInstantiation = new TSTypeParameterInstantiation(global.generatedEs2panda._CreateTSTypeParameterInstantiation(global.context, passNodeArray(params), params.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - result.setChildrenParentPtr() - return result - } - static updateTSTypeParameterInstantiation(original: TSTypeParameterInstantiation | undefined, params: readonly TypeNode[]): TSTypeParameterInstantiation { - const result: TSTypeParameterInstantiation = new TSTypeParameterInstantiation(global.generatedEs2panda._UpdateTSTypeParameterInstantiation(global.context, passNode(original), passNodeArray(params), params.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - result.setChildrenParentPtr() - return result - } - get params(): readonly TypeNode[] { - return unpackNodeArray(global.generatedEs2panda._TSTypeParameterInstantiationParamsConst(global.context, this.peer)) - } - protected readonly brandTSTypeParameterInstantiation: undefined -} -export function isTSTypeParameterInstantiation(node: object | undefined): node is TSTypeParameterInstantiation { - return node instanceof TSTypeParameterInstantiation -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION, (peer: KNativePointer) => new TSTypeParameterInstantiation(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypePredicate.ts b/ui2abc/libarkts/generated/peers/TSTypePredicate.ts deleted file mode 100644 index 07c7b1098..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypePredicate.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSTypePredicate extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypePredicate(parameterName: Expression | undefined, typeAnnotation: TypeNode | undefined, asserts: boolean): TSTypePredicate { - const result: TSTypePredicate = new TSTypePredicate(global.generatedEs2panda._CreateTSTypePredicate(global.context, passNode(parameterName), passNode(typeAnnotation), asserts), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PREDICATE) - result.setChildrenParentPtr() - return result - } - static updateTSTypePredicate(original: TSTypePredicate | undefined, parameterName: Expression | undefined, typeAnnotation: TypeNode | undefined, asserts: boolean): TSTypePredicate { - const result: TSTypePredicate = new TSTypePredicate(global.generatedEs2panda._UpdateTSTypePredicate(global.context, passNode(original), passNode(parameterName), passNode(typeAnnotation), asserts), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PREDICATE) - result.setChildrenParentPtr() - return result - } - get parameterName(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSTypePredicateParameterNameConst(global.context, this.peer)) - } - get typeAnnotation(): TypeNode | undefined { - return unpackNode(global.generatedEs2panda._TSTypePredicateTypeAnnotationConst(global.context, this.peer)) - } - get asserts(): boolean { - return global.generatedEs2panda._TSTypePredicateAssertsConst(global.context, this.peer) - } - protected readonly brandTSTypePredicate: undefined -} -export function isTSTypePredicate(node: object | undefined): node is TSTypePredicate { - return node instanceof TSTypePredicate -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PREDICATE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PREDICATE, (peer: KNativePointer) => new TSTypePredicate(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PREDICATE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeQuery.ts b/ui2abc/libarkts/generated/peers/TSTypeQuery.ts deleted file mode 100644 index e2969a6b1..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeQuery.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypeNode } from "./TypeNode" - -export class TSTypeQuery extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeQuery(exprName?: Expression): TSTypeQuery { - const result: TSTypeQuery = new TSTypeQuery(global.generatedEs2panda._CreateTSTypeQuery(global.context, passNode(exprName)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_QUERY) - result.setChildrenParentPtr() - return result - } - static updateTSTypeQuery(original?: TSTypeQuery, exprName?: Expression): TSTypeQuery { - const result: TSTypeQuery = new TSTypeQuery(global.generatedEs2panda._UpdateTSTypeQuery(global.context, passNode(original), passNode(exprName)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_QUERY) - result.setChildrenParentPtr() - return result - } - get exprName(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSTypeQueryExprNameConst(global.context, this.peer)) - } - protected readonly brandTSTypeQuery: undefined -} -export function isTSTypeQuery(node: object | undefined): node is TSTypeQuery { - return node instanceof TSTypeQuery -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_QUERY)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_QUERY, (peer: KNativePointer) => new TSTypeQuery(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_QUERY)) -} diff --git a/ui2abc/libarkts/generated/peers/TSTypeReference.ts b/ui2abc/libarkts/generated/peers/TSTypeReference.ts deleted file mode 100644 index 85fdeb2b5..000000000 --- a/ui2abc/libarkts/generated/peers/TSTypeReference.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Identifier } from "./Identifier" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" -import { TypeNode } from "./TypeNode" - -export class TSTypeReference extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSTypeReference(typeName?: Expression, typeParams?: TSTypeParameterInstantiation): TSTypeReference { - const result: TSTypeReference = new TSTypeReference(global.generatedEs2panda._CreateTSTypeReference(global.context, passNode(typeName), passNode(typeParams)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_REFERENCE) - result.setChildrenParentPtr() - return result - } - static updateTSTypeReference(original?: TSTypeReference, typeName?: Expression, typeParams?: TSTypeParameterInstantiation): TSTypeReference { - const result: TSTypeReference = new TSTypeReference(global.generatedEs2panda._UpdateTSTypeReference(global.context, passNode(original), passNode(typeName), passNode(typeParams)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_REFERENCE) - result.setChildrenParentPtr() - return result - } - get typeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._TSTypeReferenceTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - get typeName(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TSTypeReferenceTypeNameConst(global.context, this.peer)) - } - get baseName(): Identifier | undefined { - return unpackNode(global.generatedEs2panda._TSTypeReferenceBaseNameConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_IDENTIFIER) - } - protected readonly brandTSTypeReference: undefined -} -export function isTSTypeReference(node: object | undefined): node is TSTypeReference { - return node instanceof TSTypeReference -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_REFERENCE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_REFERENCE, (peer: KNativePointer) => new TSTypeReference(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_REFERENCE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts b/ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts deleted file mode 100644 index 039b1df47..000000000 --- a/ui2abc/libarkts/generated/peers/TSUndefinedKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSUndefinedKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSUndefinedKeyword(): TSUndefinedKeyword { - const result: TSUndefinedKeyword = new TSUndefinedKeyword(global.generatedEs2panda._CreateTSUndefinedKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNDEFINED_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSUndefinedKeyword(original?: TSUndefinedKeyword): TSUndefinedKeyword { - const result: TSUndefinedKeyword = new TSUndefinedKeyword(global.generatedEs2panda._UpdateTSUndefinedKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNDEFINED_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSUndefinedKeyword: undefined -} -export function isTSUndefinedKeyword(node: object | undefined): node is TSUndefinedKeyword { - return node instanceof TSUndefinedKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNDEFINED_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNDEFINED_KEYWORD, (peer: KNativePointer) => new TSUndefinedKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNDEFINED_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSUnionType.ts b/ui2abc/libarkts/generated/peers/TSUnionType.ts deleted file mode 100644 index 014886eb4..000000000 --- a/ui2abc/libarkts/generated/peers/TSUnionType.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSUnionType extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSUnionType(types: readonly TypeNode[]): TSUnionType { - const result: TSUnionType = new TSUnionType(global.generatedEs2panda._CreateTSUnionType(global.context, passNodeArray(types), types.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNION_TYPE) - result.setChildrenParentPtr() - return result - } - static updateTSUnionType(original: TSUnionType | undefined, types: readonly TypeNode[]): TSUnionType { - const result: TSUnionType = new TSUnionType(global.generatedEs2panda._UpdateTSUnionType(global.context, passNode(original), passNodeArray(types), types.length), Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNION_TYPE) - result.setChildrenParentPtr() - return result - } - get types(): readonly TypeNode[] { - return unpackNodeArray(global.generatedEs2panda._TSUnionTypeTypesConst(global.context, this.peer)) - } - protected readonly brandTSUnionType: undefined -} -export function isTSUnionType(node: object | undefined): node is TSUnionType { - return node instanceof TSUnionType -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNION_TYPE)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNION_TYPE, (peer: KNativePointer) => new TSUnionType(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNION_TYPE)) -} diff --git a/ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts b/ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts deleted file mode 100644 index ee464c9c0..000000000 --- a/ui2abc/libarkts/generated/peers/TSUnknownKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSUnknownKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSUnknownKeyword(): TSUnknownKeyword { - const result: TSUnknownKeyword = new TSUnknownKeyword(global.generatedEs2panda._CreateTSUnknownKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNKNOWN_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSUnknownKeyword(original?: TSUnknownKeyword): TSUnknownKeyword { - const result: TSUnknownKeyword = new TSUnknownKeyword(global.generatedEs2panda._UpdateTSUnknownKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNKNOWN_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSUnknownKeyword: undefined -} -export function isTSUnknownKeyword(node: object | undefined): node is TSUnknownKeyword { - return node instanceof TSUnknownKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNKNOWN_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNKNOWN_KEYWORD, (peer: KNativePointer) => new TSUnknownKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_UNKNOWN_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TSVoidKeyword.ts b/ui2abc/libarkts/generated/peers/TSVoidKeyword.ts deleted file mode 100644 index d19c84cd1..000000000 --- a/ui2abc/libarkts/generated/peers/TSVoidKeyword.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { TypeNode } from "./TypeNode" - -export class TSVoidKeyword extends TypeNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTSVoidKeyword(): TSVoidKeyword { - const result: TSVoidKeyword = new TSVoidKeyword(global.generatedEs2panda._CreateTSVoidKeyword(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_TS_VOID_KEYWORD) - result.setChildrenParentPtr() - return result - } - static updateTSVoidKeyword(original?: TSVoidKeyword): TSVoidKeyword { - const result: TSVoidKeyword = new TSVoidKeyword(global.generatedEs2panda._UpdateTSVoidKeyword(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TS_VOID_KEYWORD) - result.setChildrenParentPtr() - return result - } - protected readonly brandTSVoidKeyword: undefined -} -export function isTSVoidKeyword(node: object | undefined): node is TSVoidKeyword { - return node instanceof TSVoidKeyword -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TS_VOID_KEYWORD)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TS_VOID_KEYWORD, (peer: KNativePointer) => new TSVoidKeyword(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TS_VOID_KEYWORD)) -} diff --git a/ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts b/ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts deleted file mode 100644 index 2a08cf5d2..000000000 --- a/ui2abc/libarkts/generated/peers/TaggedTemplateExpression.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TSTypeParameterInstantiation } from "./TSTypeParameterInstantiation" -import { TemplateLiteral } from "./TemplateLiteral" - -export class TaggedTemplateExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTaggedTemplateExpression(tag?: Expression, quasi?: TemplateLiteral, typeParams?: TSTypeParameterInstantiation): TaggedTemplateExpression { - const result: TaggedTemplateExpression = new TaggedTemplateExpression(global.generatedEs2panda._CreateTaggedTemplateExpression(global.context, passNode(tag), passNode(quasi), passNode(typeParams)), Es2pandaAstNodeType.AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateTaggedTemplateExpression(original?: TaggedTemplateExpression, tag?: Expression, quasi?: TemplateLiteral, typeParams?: TSTypeParameterInstantiation): TaggedTemplateExpression { - const result: TaggedTemplateExpression = new TaggedTemplateExpression(global.generatedEs2panda._UpdateTaggedTemplateExpression(global.context, passNode(original), passNode(tag), passNode(quasi), passNode(typeParams)), Es2pandaAstNodeType.AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get tag(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TaggedTemplateExpressionTagConst(global.context, this.peer)) - } - get quasi(): TemplateLiteral | undefined { - return unpackNode(global.generatedEs2panda._TaggedTemplateExpressionQuasiConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_LITERAL) - } - get typeParams(): TSTypeParameterInstantiation | undefined { - return unpackNode(global.generatedEs2panda._TaggedTemplateExpressionTypeParamsConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TS_TYPE_PARAMETER_INSTANTIATION) - } - protected readonly brandTaggedTemplateExpression: undefined -} -export function isTaggedTemplateExpression(node: object | undefined): node is TaggedTemplateExpression { - return node instanceof TaggedTemplateExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION, (peer: KNativePointer) => new TaggedTemplateExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TAGGED_TEMPLATE_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/TemplateElement.ts b/ui2abc/libarkts/generated/peers/TemplateElement.ts deleted file mode 100644 index 443230693..000000000 --- a/ui2abc/libarkts/generated/peers/TemplateElement.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class TemplateElement extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1TemplateElement(raw: string, cooked: string): TemplateElement { - const result: TemplateElement = new TemplateElement(global.generatedEs2panda._CreateTemplateElement1(global.context, raw, cooked), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT) - result.setChildrenParentPtr() - return result - } - static updateTemplateElement(original?: TemplateElement): TemplateElement { - const result: TemplateElement = new TemplateElement(global.generatedEs2panda._UpdateTemplateElement(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT) - result.setChildrenParentPtr() - return result - } - static update1TemplateElement(original: TemplateElement | undefined, raw: string, cooked: string): TemplateElement { - const result: TemplateElement = new TemplateElement(global.generatedEs2panda._UpdateTemplateElement1(global.context, passNode(original), raw, cooked), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT) - result.setChildrenParentPtr() - return result - } - get raw(): string { - return unpackString(global.generatedEs2panda._TemplateElementRawConst(global.context, this.peer)) - } - get cooked(): string { - return unpackString(global.generatedEs2panda._TemplateElementCookedConst(global.context, this.peer)) - } - protected readonly brandTemplateElement: undefined -} -export function isTemplateElement(node: object | undefined): node is TemplateElement { - return node instanceof TemplateElement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT, (peer: KNativePointer) => new TemplateElement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/TemplateLiteral.ts b/ui2abc/libarkts/generated/peers/TemplateLiteral.ts deleted file mode 100644 index 18233dbff..000000000 --- a/ui2abc/libarkts/generated/peers/TemplateLiteral.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TemplateElement } from "./TemplateElement" - -export class TemplateLiteral extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTemplateLiteral(quasis: readonly TemplateElement[], expressions: readonly Expression[], multilineString: string): TemplateLiteral { - const result: TemplateLiteral = new TemplateLiteral(global.generatedEs2panda._CreateTemplateLiteral(global.context, passNodeArray(quasis), quasis.length, passNodeArray(expressions), expressions.length, multilineString), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateTemplateLiteral(original: TemplateLiteral | undefined, quasis: readonly TemplateElement[], expressions: readonly Expression[], multilineString: string): TemplateLiteral { - const result: TemplateLiteral = new TemplateLiteral(global.generatedEs2panda._UpdateTemplateLiteral(global.context, passNode(original), passNodeArray(quasis), quasis.length, passNodeArray(expressions), expressions.length, multilineString), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_LITERAL) - result.setChildrenParentPtr() - return result - } - get quasis(): readonly TemplateElement[] { - return unpackNodeArray(global.generatedEs2panda._TemplateLiteralQuasisConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_ELEMENT) - } - get expressions(): readonly Expression[] { - return unpackNodeArray(global.generatedEs2panda._TemplateLiteralExpressionsConst(global.context, this.peer)) - } - get multilineString(): string { - return unpackString(global.generatedEs2panda._TemplateLiteralGetMultilineStringConst(global.context, this.peer)) - } - protected readonly brandTemplateLiteral: undefined -} -export function isTemplateLiteral(node: object | undefined): node is TemplateLiteral { - return node instanceof TemplateLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_LITERAL, (peer: KNativePointer) => new TemplateLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TEMPLATE_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/ThisExpression.ts b/ui2abc/libarkts/generated/peers/ThisExpression.ts deleted file mode 100644 index 6217f6f32..000000000 --- a/ui2abc/libarkts/generated/peers/ThisExpression.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class ThisExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createThisExpression(): ThisExpression { - const result: ThisExpression = new ThisExpression(global.generatedEs2panda._CreateThisExpression(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_THIS_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateThisExpression(original?: ThisExpression): ThisExpression { - const result: ThisExpression = new ThisExpression(global.generatedEs2panda._UpdateThisExpression(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_THIS_EXPRESSION) - result.setChildrenParentPtr() - return result - } - protected readonly brandThisExpression: undefined -} -export function isThisExpression(node: object | undefined): node is ThisExpression { - return node instanceof ThisExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_THIS_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_THIS_EXPRESSION, (peer: KNativePointer) => new ThisExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_THIS_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/ThrowStatement.ts b/ui2abc/libarkts/generated/peers/ThrowStatement.ts deleted file mode 100644 index 8c287ac0c..000000000 --- a/ui2abc/libarkts/generated/peers/ThrowStatement.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { Statement } from "./Statement" - -export class ThrowStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createThrowStatement(argument?: Expression): ThrowStatement { - const result: ThrowStatement = new ThrowStatement(global.generatedEs2panda._CreateThrowStatement(global.context, passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_THROW_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateThrowStatement(original?: ThrowStatement, argument?: Expression): ThrowStatement { - const result: ThrowStatement = new ThrowStatement(global.generatedEs2panda._UpdateThrowStatement(global.context, passNode(original), passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_THROW_STATEMENT) - result.setChildrenParentPtr() - return result - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._ThrowStatementArgumentConst(global.context, this.peer)) - } - protected readonly brandThrowStatement: undefined -} -export function isThrowStatement(node: object | undefined): node is ThrowStatement { - return node instanceof ThrowStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_THROW_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_THROW_STATEMENT, (peer: KNativePointer) => new ThrowStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_THROW_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/TryStatement.ts b/ui2abc/libarkts/generated/peers/TryStatement.ts deleted file mode 100644 index 2b7c640a4..000000000 --- a/ui2abc/libarkts/generated/peers/TryStatement.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { BlockStatement } from "./BlockStatement" -import { CatchClause } from "./CatchClause" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { LabelPair } from "./LabelPair" -import { Statement } from "./Statement" - -export class TryStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTryStatement(block: BlockStatement | undefined, catchClauses: readonly CatchClause[], finalizer: BlockStatement | undefined, finalizerInsertionsLabelPair: readonly LabelPair[], finalizerInsertionsStatement: readonly Statement[]): TryStatement { - const result: TryStatement = new TryStatement(global.generatedEs2panda._CreateTryStatement(global.context, passNode(block), passNodeArray(catchClauses), catchClauses.length, passNode(finalizer), passNodeArray(finalizerInsertionsLabelPair), finalizerInsertionsLabelPair.length, passNodeArray(finalizerInsertionsStatement), finalizerInsertionsStatement.length), Es2pandaAstNodeType.AST_NODE_TYPE_TRY_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateTryStatement(original: TryStatement | undefined, block: BlockStatement | undefined, catchClauses: readonly CatchClause[], finalizer: BlockStatement | undefined, finalizerInsertionsLabelPair: readonly LabelPair[], finalizerInsertionsStatement: readonly Statement[]): TryStatement { - const result: TryStatement = new TryStatement(global.generatedEs2panda._UpdateTryStatement(global.context, passNode(original), passNode(block), passNodeArray(catchClauses), catchClauses.length, passNode(finalizer), passNodeArray(finalizerInsertionsLabelPair), finalizerInsertionsLabelPair.length, passNodeArray(finalizerInsertionsStatement), finalizerInsertionsStatement.length), Es2pandaAstNodeType.AST_NODE_TYPE_TRY_STATEMENT) - result.setChildrenParentPtr() - return result - } - static update1TryStatement(original?: TryStatement, other?: TryStatement): TryStatement { - const result: TryStatement = new TryStatement(global.generatedEs2panda._UpdateTryStatement1(global.context, passNode(original), passNode(other)), Es2pandaAstNodeType.AST_NODE_TYPE_TRY_STATEMENT) - result.setChildrenParentPtr() - return result - } - get finallyBlock(): BlockStatement | undefined { - return unpackNode(global.generatedEs2panda._TryStatementFinallyBlockConst(global.context, this.peer)) - } - get block(): BlockStatement | undefined { - return unpackNode(global.generatedEs2panda._TryStatementBlockConst(global.context, this.peer)) - } - get hasFinalizer(): boolean { - return global.generatedEs2panda._TryStatementHasFinalizerConst(global.context, this.peer) - } - get hasDefaultCatchClause(): boolean { - return global.generatedEs2panda._TryStatementHasDefaultCatchClauseConst(global.context, this.peer) - } - get catchClauses(): readonly CatchClause[] { - return unpackNodeArray(global.generatedEs2panda._TryStatementCatchClausesConst(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_CATCH_CLAUSE) - } - get finallyCanCompleteNormally(): boolean { - return global.generatedEs2panda._TryStatementFinallyCanCompleteNormallyConst(global.context, this.peer) - } - /** @deprecated */ - setFinallyCanCompleteNormally(finallyCanCompleteNormally: boolean): this { - global.generatedEs2panda._TryStatementSetFinallyCanCompleteNormally(global.context, this.peer, finallyCanCompleteNormally) - return this - } - protected readonly brandTryStatement: undefined -} -export function isTryStatement(node: object | undefined): node is TryStatement { - return node instanceof TryStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TRY_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TRY_STATEMENT, (peer: KNativePointer) => new TryStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TRY_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/TypeNode.ts b/ui2abc/libarkts/generated/peers/TypeNode.ts deleted file mode 100644 index f56950c51..000000000 --- a/ui2abc/libarkts/generated/peers/TypeNode.ts +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { SrcDumper } from "./SrcDumper" - -export class TypeNode extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._TypeNodeHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._TypeNodeEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._TypeNodeClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._TypeNodeDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TypeNodeAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._TypeNodeAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TypeNodeSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._TypeNodeSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandTypeNode: undefined -} -export function isTypeNode(node: object | undefined): node is TypeNode { - return node instanceof TypeNode -} diff --git a/ui2abc/libarkts/generated/peers/TypedAstNode.ts b/ui2abc/libarkts/generated/peers/TypedAstNode.ts deleted file mode 100644 index 4fce638a4..000000000 --- a/ui2abc/libarkts/generated/peers/TypedAstNode.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" - -export class TypedAstNode extends AstNode { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - protected readonly brandTypedAstNode: undefined -} -export function isTypedAstNode(node: object | undefined): node is TypedAstNode { - return node instanceof TypedAstNode -} diff --git a/ui2abc/libarkts/generated/peers/TypedStatement.ts b/ui2abc/libarkts/generated/peers/TypedStatement.ts deleted file mode 100644 index afab3d55d..000000000 --- a/ui2abc/libarkts/generated/peers/TypedStatement.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Statement } from "./Statement" - -export class TypedStatement extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - protected readonly brandTypedStatement: undefined -} -export function isTypedStatement(node: object | undefined): node is TypedStatement { - return node instanceof TypedStatement -} diff --git a/ui2abc/libarkts/generated/peers/TypeofExpression.ts b/ui2abc/libarkts/generated/peers/TypeofExpression.ts deleted file mode 100644 index 6ef9c2d19..000000000 --- a/ui2abc/libarkts/generated/peers/TypeofExpression.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class TypeofExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createTypeofExpression(argument?: Expression): TypeofExpression { - const result: TypeofExpression = new TypeofExpression(global.generatedEs2panda._CreateTypeofExpression(global.context, passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_TYPEOF_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateTypeofExpression(original?: TypeofExpression, argument?: Expression): TypeofExpression { - const result: TypeofExpression = new TypeofExpression(global.generatedEs2panda._UpdateTypeofExpression(global.context, passNode(original), passNode(argument)), Es2pandaAstNodeType.AST_NODE_TYPE_TYPEOF_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._TypeofExpressionArgumentConst(global.context, this.peer)) - } - protected readonly brandTypeofExpression: undefined -} -export function isTypeofExpression(node: object | undefined): node is TypeofExpression { - return node instanceof TypeofExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_TYPEOF_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_TYPEOF_EXPRESSION, (peer: KNativePointer) => new TypeofExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_TYPEOF_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/UnaryExpression.ts b/ui2abc/libarkts/generated/peers/UnaryExpression.ts deleted file mode 100644 index 0236d9d7e..000000000 --- a/ui2abc/libarkts/generated/peers/UnaryExpression.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTokenType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class UnaryExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createUnaryExpression(argument: Expression | undefined, unaryOperator: Es2pandaTokenType): UnaryExpression { - const result: UnaryExpression = new UnaryExpression(global.generatedEs2panda._CreateUnaryExpression(global.context, passNode(argument), unaryOperator), Es2pandaAstNodeType.AST_NODE_TYPE_UNARY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateUnaryExpression(original: UnaryExpression | undefined, argument: Expression | undefined, unaryOperator: Es2pandaTokenType): UnaryExpression { - const result: UnaryExpression = new UnaryExpression(global.generatedEs2panda._UpdateUnaryExpression(global.context, passNode(original), passNode(argument), unaryOperator), Es2pandaAstNodeType.AST_NODE_TYPE_UNARY_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get operatorType(): Es2pandaTokenType { - return global.generatedEs2panda._UnaryExpressionOperatorTypeConst(global.context, this.peer) - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._UnaryExpressionArgument(global.context, this.peer)) - } - /** @deprecated */ - setArgument(arg?: Expression): this { - global.generatedEs2panda._UnaryExpressionSetArgument(global.context, this.peer, passNode(arg)) - return this - } - protected readonly brandUnaryExpression: undefined -} -export function isUnaryExpression(node: object | undefined): node is UnaryExpression { - return node instanceof UnaryExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_UNARY_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_UNARY_EXPRESSION, (peer: KNativePointer) => new UnaryExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_UNARY_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/UndefinedLiteral.ts b/ui2abc/libarkts/generated/peers/UndefinedLiteral.ts deleted file mode 100644 index a232372ed..000000000 --- a/ui2abc/libarkts/generated/peers/UndefinedLiteral.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Literal } from "./Literal" - -export class UndefinedLiteral extends Literal { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createUndefinedLiteral(): UndefinedLiteral { - const result: UndefinedLiteral = new UndefinedLiteral(global.generatedEs2panda._CreateUndefinedLiteral(global.context), Es2pandaAstNodeType.AST_NODE_TYPE_UNDEFINED_LITERAL) - result.setChildrenParentPtr() - return result - } - static updateUndefinedLiteral(original?: UndefinedLiteral): UndefinedLiteral { - const result: UndefinedLiteral = new UndefinedLiteral(global.generatedEs2panda._UpdateUndefinedLiteral(global.context, passNode(original)), Es2pandaAstNodeType.AST_NODE_TYPE_UNDEFINED_LITERAL) - result.setChildrenParentPtr() - return result - } - protected readonly brandUndefinedLiteral: undefined -} -export function isUndefinedLiteral(node: object | undefined): node is UndefinedLiteral { - return node instanceof UndefinedLiteral -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_UNDEFINED_LITERAL)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_UNDEFINED_LITERAL, (peer: KNativePointer) => new UndefinedLiteral(peer, Es2pandaAstNodeType.AST_NODE_TYPE_UNDEFINED_LITERAL)) -} diff --git a/ui2abc/libarkts/generated/peers/UpdateExpression.ts b/ui2abc/libarkts/generated/peers/UpdateExpression.ts deleted file mode 100644 index 0f1b3aabd..000000000 --- a/ui2abc/libarkts/generated/peers/UpdateExpression.ts +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaTokenType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class UpdateExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createUpdateExpression(argument: Expression | undefined, updateOperator: Es2pandaTokenType, isPrefix: boolean): UpdateExpression { - const result: UpdateExpression = new UpdateExpression(global.generatedEs2panda._CreateUpdateExpression(global.context, passNode(argument), updateOperator, isPrefix), Es2pandaAstNodeType.AST_NODE_TYPE_UPDATE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateUpdateExpression(original: UpdateExpression | undefined, argument: Expression | undefined, updateOperator: Es2pandaTokenType, isPrefix: boolean): UpdateExpression { - const result: UpdateExpression = new UpdateExpression(global.generatedEs2panda._UpdateUpdateExpression(global.context, passNode(original), passNode(argument), updateOperator, isPrefix), Es2pandaAstNodeType.AST_NODE_TYPE_UPDATE_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get operatorType(): Es2pandaTokenType { - return global.generatedEs2panda._UpdateExpressionOperatorTypeConst(global.context, this.peer) - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._UpdateExpressionArgument(global.context, this.peer)) - } - get isPrefix(): boolean { - return global.generatedEs2panda._UpdateExpressionIsPrefixConst(global.context, this.peer) - } - protected readonly brandUpdateExpression: undefined -} -export function isUpdateExpression(node: object | undefined): node is UpdateExpression { - return node instanceof UpdateExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_UPDATE_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_UPDATE_EXPRESSION, (peer: KNativePointer) => new UpdateExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_UPDATE_EXPRESSION)) -} diff --git a/ui2abc/libarkts/generated/peers/VReg.ts b/ui2abc/libarkts/generated/peers/VReg.ts deleted file mode 100644 index ebc076f19..000000000 --- a/ui2abc/libarkts/generated/peers/VReg.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class VReg extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandVReg: undefined -} diff --git a/ui2abc/libarkts/generated/peers/ValidationInfo.ts b/ui2abc/libarkts/generated/peers/ValidationInfo.ts deleted file mode 100644 index dfd3cf6e8..000000000 --- a/ui2abc/libarkts/generated/peers/ValidationInfo.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { SourcePosition } from "./SourcePosition" - -export class ValidationInfo extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - static create1ValidationInfo(m: string, p?: SourcePosition): ValidationInfo { - return new ValidationInfo(global.generatedEs2panda._CreateValidationInfo1(global.context, m, passNode(p))) - } - get fail(): boolean { - return global.generatedEs2panda._ValidationInfoFailConst(global.context, this.peer) - } - protected readonly brandValidationInfo: undefined -} -export function isValidationInfo(node: object | undefined): node is ValidationInfo { - return node instanceof ValidationInfo -} diff --git a/ui2abc/libarkts/generated/peers/VariableDeclaration.ts b/ui2abc/libarkts/generated/peers/VariableDeclaration.ts deleted file mode 100644 index 8aec05970..000000000 --- a/ui2abc/libarkts/generated/peers/VariableDeclaration.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { AnnotationUsage } from "./AnnotationUsage" -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaVariableDeclarationKind } from "./../Es2pandaEnums" -import { SrcDumper } from "./SrcDumper" -import { Statement } from "./Statement" -import { VariableDeclarator } from "./VariableDeclarator" - -export class VariableDeclaration extends Statement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createVariableDeclaration(kind: Es2pandaVariableDeclarationKind, declarators: readonly VariableDeclarator[], annotations?: readonly AnnotationUsage[]): VariableDeclaration { - const result: VariableDeclaration = new VariableDeclaration(global.generatedEs2panda._CreateVariableDeclaration(global.context, kind, passNodeArray(declarators), declarators.length), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - static updateVariableDeclaration(original: VariableDeclaration | undefined, kind: Es2pandaVariableDeclarationKind, declarators: readonly VariableDeclarator[], annotations?: readonly AnnotationUsage[]): VariableDeclaration { - const result: VariableDeclaration = new VariableDeclaration(global.generatedEs2panda._UpdateVariableDeclaration(global.context, passNode(original), kind, passNodeArray(declarators), declarators.length), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATION) - if (annotations) - { - result.setAnnotations(annotations) - } - result.setChildrenParentPtr() - return result - } - get declarators(): readonly VariableDeclarator[] { - return unpackNodeArray(global.generatedEs2panda._VariableDeclarationDeclarators(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR) - } - get declaratorsForUpdate(): readonly VariableDeclarator[] { - return unpackNodeArray(global.generatedEs2panda._VariableDeclarationDeclaratorsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR) - } - get kind(): Es2pandaVariableDeclarationKind { - return global.generatedEs2panda._VariableDeclarationKindConst(global.context, this.peer) - } - get hasAnnotations(): boolean { - return global.generatedEs2panda._VariableDeclarationHasAnnotationsConst(global.context, this.peer) - } - /** @deprecated */ - emplaceAnnotation(source?: AnnotationUsage): this { - global.generatedEs2panda._VariableDeclarationEmplaceAnnotation(global.context, this.peer, passNode(source)) - return this - } - /** @deprecated */ - clearAnnotations(): this { - global.generatedEs2panda._VariableDeclarationClearAnnotations(global.context, this.peer) - return this - } - /** @deprecated */ - dumpAnnotations(dumper?: SrcDumper): this { - global.generatedEs2panda._VariableDeclarationDumpAnnotationsConst(global.context, this.peer, passNode(dumper)) - return this - } - get annotationsForUpdate(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._VariableDeclarationAnnotationsForUpdate(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - get annotations(): readonly AnnotationUsage[] { - return unpackNodeArray(global.generatedEs2panda._VariableDeclarationAnnotations(global.context, this.peer), Es2pandaAstNodeType.AST_NODE_TYPE_ANNOTATION_USAGE) - } - /** @deprecated */ - setAnnotations(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._VariableDeclarationSetAnnotations(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - /** @deprecated */ - setAnnotations1(annotationList: readonly AnnotationUsage[]): this { - global.generatedEs2panda._VariableDeclarationSetAnnotations1(global.context, this.peer, passNodeArray(annotationList), annotationList.length) - return this - } - protected readonly brandVariableDeclaration: undefined -} -export function isVariableDeclaration(node: object | undefined): node is VariableDeclaration { - return node instanceof VariableDeclaration -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATION, (peer: KNativePointer) => new VariableDeclaration(peer, Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATION)) -} diff --git a/ui2abc/libarkts/generated/peers/VariableDeclarator.ts b/ui2abc/libarkts/generated/peers/VariableDeclarator.ts deleted file mode 100644 index 55c851969..000000000 --- a/ui2abc/libarkts/generated/peers/VariableDeclarator.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Es2pandaVariableDeclaratorFlag } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { TypedStatement } from "./TypedStatement" - -export class VariableDeclarator extends TypedStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static create1VariableDeclarator(flag: Es2pandaVariableDeclaratorFlag, ident?: Expression, init?: Expression): VariableDeclarator { - const result: VariableDeclarator = new VariableDeclarator(global.generatedEs2panda._CreateVariableDeclarator1(global.context, flag, passNode(ident), passNode(init)), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR) - result.setChildrenParentPtr() - return result - } - static updateVariableDeclarator(original: VariableDeclarator | undefined, flag: Es2pandaVariableDeclaratorFlag, ident?: Expression): VariableDeclarator { - const result: VariableDeclarator = new VariableDeclarator(global.generatedEs2panda._UpdateVariableDeclarator(global.context, passNode(original), flag, passNode(ident)), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR) - result.setChildrenParentPtr() - return result - } - static update1VariableDeclarator(original: VariableDeclarator | undefined, flag: Es2pandaVariableDeclaratorFlag, ident?: Expression, init?: Expression): VariableDeclarator { - const result: VariableDeclarator = new VariableDeclarator(global.generatedEs2panda._UpdateVariableDeclarator1(global.context, passNode(original), flag, passNode(ident), passNode(init)), Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR) - result.setChildrenParentPtr() - return result - } - get init(): Expression | undefined { - return unpackNode(global.generatedEs2panda._VariableDeclaratorInit(global.context, this.peer)) - } - /** @deprecated */ - setInit(init?: Expression): this { - global.generatedEs2panda._VariableDeclaratorSetInit(global.context, this.peer, passNode(init)) - return this - } - get id(): Expression | undefined { - return unpackNode(global.generatedEs2panda._VariableDeclaratorId(global.context, this.peer)) - } - get flag(): Es2pandaVariableDeclaratorFlag { - return global.generatedEs2panda._VariableDeclaratorFlag(global.context, this.peer) - } - protected readonly brandVariableDeclarator: undefined -} -export function isVariableDeclarator(node: object | undefined): node is VariableDeclarator { - return node instanceof VariableDeclarator -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR, (peer: KNativePointer) => new VariableDeclarator(peer, Es2pandaAstNodeType.AST_NODE_TYPE_VARIABLE_DECLARATOR)) -} diff --git a/ui2abc/libarkts/generated/peers/VerificationContext.ts b/ui2abc/libarkts/generated/peers/VerificationContext.ts deleted file mode 100644 index ad31f8ff1..000000000 --- a/ui2abc/libarkts/generated/peers/VerificationContext.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class VerificationContext extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandVerificationContext: undefined -} diff --git a/ui2abc/libarkts/generated/peers/VerifierMessage.ts b/ui2abc/libarkts/generated/peers/VerifierMessage.ts deleted file mode 100644 index 404c875ba..000000000 --- a/ui2abc/libarkts/generated/peers/VerifierMessage.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - - -export class VerifierMessage extends ArktsObject { - constructor(pointer: KNativePointer) { - super(pointer) - } - protected readonly brandVerifierMessage: undefined -} diff --git a/ui2abc/libarkts/generated/peers/WhileStatement.ts b/ui2abc/libarkts/generated/peers/WhileStatement.ts deleted file mode 100644 index ddba68e5c..000000000 --- a/ui2abc/libarkts/generated/peers/WhileStatement.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" -import { LoopStatement } from "./LoopStatement" -import { Statement } from "./Statement" - -export class WhileStatement extends LoopStatement { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createWhileStatement(test?: Expression, body?: Statement): WhileStatement { - const result: WhileStatement = new WhileStatement(global.generatedEs2panda._CreateWhileStatement(global.context, passNode(test), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_WHILE_STATEMENT) - result.setChildrenParentPtr() - return result - } - static updateWhileStatement(original?: WhileStatement, test?: Expression, body?: Statement): WhileStatement { - const result: WhileStatement = new WhileStatement(global.generatedEs2panda._UpdateWhileStatement(global.context, passNode(original), passNode(test), passNode(body)), Es2pandaAstNodeType.AST_NODE_TYPE_WHILE_STATEMENT) - result.setChildrenParentPtr() - return result - } - get test(): Expression | undefined { - return unpackNode(global.generatedEs2panda._WhileStatementTest(global.context, this.peer)) - } - /** @deprecated */ - setTest(test?: Expression): this { - global.generatedEs2panda._WhileStatementSetTest(global.context, this.peer, passNode(test)) - return this - } - get body(): Statement | undefined { - return unpackNode(global.generatedEs2panda._WhileStatementBody(global.context, this.peer)) - } - protected readonly brandWhileStatement: undefined -} -export function isWhileStatement(node: object | undefined): node is WhileStatement { - return node instanceof WhileStatement -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_WHILE_STATEMENT)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_WHILE_STATEMENT, (peer: KNativePointer) => new WhileStatement(peer, Es2pandaAstNodeType.AST_NODE_TYPE_WHILE_STATEMENT)) -} diff --git a/ui2abc/libarkts/generated/peers/YieldExpression.ts b/ui2abc/libarkts/generated/peers/YieldExpression.ts deleted file mode 100644 index 4e77571bd..000000000 --- a/ui2abc/libarkts/generated/peers/YieldExpression.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen. DO NOT EDIT MANUALLY! - */ - -import { - global, - passNode, - passNodeArray, - unpackNonNullableNode, - unpackNode, - unpackNodeArray, - AstNode, - KNativePointer, - nodeByType, - ArktsObject, - unpackString -} from "../../src/reexport-for-generated" - -import { Es2pandaAstNodeType } from "./../Es2pandaEnums" -import { Expression } from "./Expression" - -export class YieldExpression extends Expression { - constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType) { - super(pointer, astNodeType) - } - static createYieldExpression(argument: Expression | undefined, isDelegate: boolean): YieldExpression { - const result: YieldExpression = new YieldExpression(global.generatedEs2panda._CreateYieldExpression(global.context, passNode(argument), isDelegate), Es2pandaAstNodeType.AST_NODE_TYPE_YIELD_EXPRESSION) - result.setChildrenParentPtr() - return result - } - static updateYieldExpression(original: YieldExpression | undefined, argument: Expression | undefined, isDelegate: boolean): YieldExpression { - const result: YieldExpression = new YieldExpression(global.generatedEs2panda._UpdateYieldExpression(global.context, passNode(original), passNode(argument), isDelegate), Es2pandaAstNodeType.AST_NODE_TYPE_YIELD_EXPRESSION) - result.setChildrenParentPtr() - return result - } - get hasDelegate(): boolean { - return global.generatedEs2panda._YieldExpressionHasDelegateConst(global.context, this.peer) - } - get argument(): Expression | undefined { - return unpackNode(global.generatedEs2panda._YieldExpressionArgumentConst(global.context, this.peer)) - } - protected readonly brandYieldExpression: undefined -} -export function isYieldExpression(node: object | undefined): node is YieldExpression { - return node instanceof YieldExpression -} -if (!nodeByType.has(Es2pandaAstNodeType.AST_NODE_TYPE_YIELD_EXPRESSION)) { - nodeByType.set(Es2pandaAstNodeType.AST_NODE_TYPE_YIELD_EXPRESSION, (peer: KNativePointer) => new YieldExpression(peer, Es2pandaAstNodeType.AST_NODE_TYPE_YIELD_EXPRESSION)) -} diff --git a/ui2abc/libarkts/native/src/generated/bridges.cc b/ui2abc/libarkts/native/src/generated/bridges.cc deleted file mode 100644 index 0052d2874..000000000 --- a/ui2abc/libarkts/native/src/generated/bridges.cc +++ /dev/null @@ -1,16384 +0,0 @@ -/* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -/* - * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.10-arktscgen-3a. DO NOT EDIT MANUALLY! - * es2panda 6c7af4cfee2364bb3c848a4b2675af9b77ae6f47(2025-09-01) sdk v1.5.0-dev.43686 - */ - -KNativePointer impl_GetAllErrorMessages(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->GetAllErrorMessages(_context); - return StageArena::strdup(result); -} -KOALA_INTEROP_1(GetAllErrorMessages, KNativePointer, KNativePointer); - -KNativePointer impl_ProceedToState(KNativePointer context, KInt state) -{ - const auto _context = reinterpret_cast(context); - const auto _state = static_cast(state); - auto result = GetImpl()->ProceedToState(_context, _state); - return result; -} -KOALA_INTEROP_2(ProceedToState, KNativePointer, KNativePointer, KInt); - -KInt impl_ContextState(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->ContextState(_context); - return result; -} -KOALA_INTEROP_1(ContextState, KInt, KNativePointer); - -KNativePointer impl_ContextErrorMessage(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->ContextErrorMessage(_context); - return StageArena::strdup(result); -} -KOALA_INTEROP_1(ContextErrorMessage, KNativePointer, KNativePointer); - -KNativePointer impl_ContextProgram(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->ContextProgram(_context); - return result; -} -KOALA_INTEROP_1(ContextProgram, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSourcePosition(KNativePointer context, KUInt index, KUInt line) -{ - const auto _context = reinterpret_cast(context); - const auto _index = static_cast(index); - const auto _line = static_cast(line); - auto result = GetImpl()->CreateSourcePosition(_context, _index, _line); - return result; -} -KOALA_INTEROP_3(CreateSourcePosition, KNativePointer, KNativePointer, KUInt, KUInt); - -KNativePointer impl_CreateSourceRange(KNativePointer context, KNativePointer start, KNativePointer end) -{ - const auto _context = reinterpret_cast(context); - const auto _start = reinterpret_cast(start); - const auto _end = reinterpret_cast(end); - auto result = GetImpl()->CreateSourceRange(_context, _start, _end); - return result; -} -KOALA_INTEROP_3(CreateSourceRange, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KUInt impl_SourcePositionIndex(KNativePointer context, KNativePointer position) -{ - const auto _context = reinterpret_cast(context); - const auto _position = reinterpret_cast(position); - auto result = GetImpl()->SourcePositionIndex(_context, _position); - return result; -} -KOALA_INTEROP_2(SourcePositionIndex, KUInt, KNativePointer, KNativePointer); - -KUInt impl_SourcePositionLine(KNativePointer context, KNativePointer position) -{ - const auto _context = reinterpret_cast(context); - const auto _position = reinterpret_cast(position); - auto result = GetImpl()->SourcePositionLine(_context, _position); - return result; -} -KOALA_INTEROP_2(SourcePositionLine, KUInt, KNativePointer, KNativePointer); - -KNativePointer impl_SourceRangeStart(KNativePointer context, KNativePointer range) -{ - const auto _context = reinterpret_cast(context); - const auto _range = reinterpret_cast(range); - auto result = GetImpl()->SourceRangeStart(_context, _range); - return result; -} -KOALA_INTEROP_2(SourceRangeStart, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SourceRangeEnd(KNativePointer context, KNativePointer range) -{ - const auto _context = reinterpret_cast(context); - const auto _range = reinterpret_cast(range); - auto result = GetImpl()->SourceRangeEnd(_context, _range); - return result; -} -KOALA_INTEROP_2(SourceRangeEnd, KNativePointer, KNativePointer, KNativePointer); - -void impl_LogDiagnosticWithSuggestion(KNativePointer context, KNativePointer diagnosticInfo, KNativePointer suggestionInfo) -{ - const auto _context = reinterpret_cast(context); - const auto _diagnosticInfo = reinterpret_cast(diagnosticInfo); - const auto _suggestionInfo = reinterpret_cast(suggestionInfo); - GetImpl()->LogDiagnosticWithSuggestion(_context, _diagnosticInfo, _suggestionInfo); - return ; -} -KOALA_INTEROP_V3(LogDiagnosticWithSuggestion, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_IsAnyError(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->IsAnyError(_context); - return result; -} -KOALA_INTEROP_1(IsAnyError, KBoolean, KNativePointer); - -void impl_AstNodeRecheck(KNativePointer context, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - GetImpl()->AstNodeRecheck(_context, _node); - return ; -} -KOALA_INTEROP_V2(AstNodeRecheck, KNativePointer, KNativePointer); - -KInt impl_Es2pandaEnumFromString(KNativePointer context, KStringPtr& str) -{ - const auto _context = reinterpret_cast(context); - const auto _str = getStringCopy(str); - auto result = GetImpl()->Es2pandaEnumFromString(_context, _str); - return result; -} -KOALA_INTEROP_2(Es2pandaEnumFromString, KInt, KNativePointer, KStringPtr); - -KNativePointer impl_Es2pandaEnumToString(KNativePointer context, KInt id) -{ - const auto _context = reinterpret_cast(context); - const auto _id = static_cast(id); - auto result = GetImpl()->Es2pandaEnumToString(_context, _id); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(Es2pandaEnumToString, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_DeclarationFromIdentifier(KNativePointer context, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - auto result = GetImpl()->DeclarationFromIdentifier(_context, _node); - return result; -} -KOALA_INTEROP_2(DeclarationFromIdentifier, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_IsImportTypeKind(KNativePointer context, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - auto result = GetImpl()->IsImportTypeKind(_context, _node); - return result; -} -KOALA_INTEROP_2(IsImportTypeKind, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_JsdocStringFromDeclaration(KNativePointer context, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - auto result = GetImpl()->JsdocStringFromDeclaration(_context, _node); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(JsdocStringFromDeclaration, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_GetLicenseFromRootNode(KNativePointer context, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - auto result = GetImpl()->GetLicenseFromRootNode(_context, _node); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(GetLicenseFromRootNode, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FirstDeclarationByNameFromNode(KNativePointer context, KNativePointer node, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - const auto _name = getStringCopy(name); - auto result = GetImpl()->FirstDeclarationByNameFromNode(_context, _node, _name); - return result; -} -KOALA_INTEROP_3(FirstDeclarationByNameFromNode, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_FirstDeclarationByNameFromProgram(KNativePointer context, KNativePointer program, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _program = reinterpret_cast(program); - const auto _name = getStringCopy(name); - auto result = GetImpl()->FirstDeclarationByNameFromProgram(_context, _program, _name); - return result; -} -KOALA_INTEROP_3(FirstDeclarationByNameFromProgram, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_AllDeclarationsByNameFromNode(KNativePointer context, KNativePointer node, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - const auto _name = getStringCopy(name); - std::size_t length; - auto result = GetImpl()->AllDeclarationsByNameFromNode(_context, _node, _name, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_3(AllDeclarationsByNameFromNode, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_AllDeclarationsByNameFromProgram(KNativePointer context, KNativePointer program, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _program = reinterpret_cast(program); - const auto _name = getStringCopy(name); - std::size_t length; - auto result = GetImpl()->AllDeclarationsByNameFromProgram(_context, _program, _name, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_3(AllDeclarationsByNameFromProgram, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -void impl_InsertETSImportDeclarationAndParse(KNativePointer context, KNativePointer program, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _program = reinterpret_cast(program); - const auto _node = reinterpret_cast(node); - GetImpl()->InsertETSImportDeclarationAndParse(_context, _program, _node); - return ; -} -KOALA_INTEROP_V3(InsertETSImportDeclarationAndParse, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_GenerateStaticDeclarationsFromContext(KNativePointer context, KStringPtr& outputPath) -{ - const auto _context = reinterpret_cast(context); - const auto _outputPath = getStringCopy(outputPath); - auto result = GetImpl()->GenerateStaticDeclarationsFromContext(_context, _outputPath); - return result; -} -KOALA_INTEROP_2(GenerateStaticDeclarationsFromContext, KInt, KNativePointer, KStringPtr); - -KBoolean impl_IsExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsExpression, KBoolean, KNativePointer); - -KBoolean impl_IsStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsStatement, KBoolean, KNativePointer); - -KBoolean impl_IsArrowFunctionExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsArrowFunctionExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsArrowFunctionExpression, KBoolean, KNativePointer); - -KBoolean impl_IsAnnotationDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsAnnotationDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsAnnotationDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsAnnotationUsage(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsAnnotationUsage(_ast); - return result; -} -KOALA_INTEROP_1(IsAnnotationUsage, KBoolean, KNativePointer); - -KBoolean impl_IsAssertStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsAssertStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsAssertStatement, KBoolean, KNativePointer); - -KBoolean impl_IsAwaitExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsAwaitExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsAwaitExpression, KBoolean, KNativePointer); - -KBoolean impl_IsBigIntLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBigIntLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsBigIntLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsBinaryExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBinaryExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsBinaryExpression, KBoolean, KNativePointer); - -KBoolean impl_IsBlockStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBlockStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsBlockStatement, KBoolean, KNativePointer); - -KBoolean impl_IsBooleanLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBooleanLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsBooleanLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsBreakStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBreakStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsBreakStatement, KBoolean, KNativePointer); - -KBoolean impl_IsCallExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsCallExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsCallExpression, KBoolean, KNativePointer); - -KBoolean impl_IsCatchClause(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsCatchClause(_ast); - return result; -} -KOALA_INTEROP_1(IsCatchClause, KBoolean, KNativePointer); - -KBoolean impl_IsChainExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsChainExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsChainExpression, KBoolean, KNativePointer); - -KBoolean impl_IsCharLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsCharLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsCharLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsClassDefinition(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsClassDefinition(_ast); - return result; -} -KOALA_INTEROP_1(IsClassDefinition, KBoolean, KNativePointer); - -KBoolean impl_IsClassDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsClassDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsClassDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsClassExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsClassExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsClassExpression, KBoolean, KNativePointer); - -KBoolean impl_IsClassProperty(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsClassProperty(_ast); - return result; -} -KOALA_INTEROP_1(IsClassProperty, KBoolean, KNativePointer); - -KBoolean impl_IsClassStaticBlock(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsClassStaticBlock(_ast); - return result; -} -KOALA_INTEROP_1(IsClassStaticBlock, KBoolean, KNativePointer); - -KBoolean impl_IsConditionalExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsConditionalExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsConditionalExpression, KBoolean, KNativePointer); - -KBoolean impl_IsContinueStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsContinueStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsContinueStatement, KBoolean, KNativePointer); - -KBoolean impl_IsDebuggerStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsDebuggerStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsDebuggerStatement, KBoolean, KNativePointer); - -KBoolean impl_IsDecorator(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsDecorator(_ast); - return result; -} -KOALA_INTEROP_1(IsDecorator, KBoolean, KNativePointer); - -KBoolean impl_IsDirectEvalExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsDirectEvalExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsDirectEvalExpression, KBoolean, KNativePointer); - -KBoolean impl_IsDoWhileStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsDoWhileStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsDoWhileStatement, KBoolean, KNativePointer); - -KBoolean impl_IsEmptyStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsEmptyStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsEmptyStatement, KBoolean, KNativePointer); - -KBoolean impl_IsExportAllDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsExportAllDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsExportAllDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsExportDefaultDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsExportDefaultDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsExportDefaultDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsExportNamedDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsExportNamedDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsExportNamedDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsExportSpecifier(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsExportSpecifier(_ast); - return result; -} -KOALA_INTEROP_1(IsExportSpecifier, KBoolean, KNativePointer); - -KBoolean impl_IsExpressionStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsExpressionStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsExpressionStatement, KBoolean, KNativePointer); - -KBoolean impl_IsForInStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsForInStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsForInStatement, KBoolean, KNativePointer); - -KBoolean impl_IsForOfStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsForOfStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsForOfStatement, KBoolean, KNativePointer); - -KBoolean impl_IsForUpdateStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsForUpdateStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsForUpdateStatement, KBoolean, KNativePointer); - -KBoolean impl_IsFunctionDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsFunctionDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsFunctionDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsFunctionExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsFunctionExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsFunctionExpression, KBoolean, KNativePointer); - -KBoolean impl_IsIdentifier(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsIdentifier(_ast); - return result; -} -KOALA_INTEROP_1(IsIdentifier, KBoolean, KNativePointer); - -KBoolean impl_IsDummyNode(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsDummyNode(_ast); - return result; -} -KOALA_INTEROP_1(IsDummyNode, KBoolean, KNativePointer); - -KBoolean impl_IsIfStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsIfStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsIfStatement, KBoolean, KNativePointer); - -KBoolean impl_IsImportDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsImportDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsImportDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsImportExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsImportExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsImportExpression, KBoolean, KNativePointer); - -KBoolean impl_IsImportDefaultSpecifier(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsImportDefaultSpecifier(_ast); - return result; -} -KOALA_INTEROP_1(IsImportDefaultSpecifier, KBoolean, KNativePointer); - -KBoolean impl_IsImportNamespaceSpecifier(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsImportNamespaceSpecifier(_ast); - return result; -} -KOALA_INTEROP_1(IsImportNamespaceSpecifier, KBoolean, KNativePointer); - -KBoolean impl_IsImportSpecifier(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsImportSpecifier(_ast); - return result; -} -KOALA_INTEROP_1(IsImportSpecifier, KBoolean, KNativePointer); - -KBoolean impl_IsLabelledStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsLabelledStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsLabelledStatement, KBoolean, KNativePointer); - -KBoolean impl_IsMemberExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsMemberExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsMemberExpression, KBoolean, KNativePointer); - -KBoolean impl_IsMetaProperty(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsMetaProperty(_ast); - return result; -} -KOALA_INTEROP_1(IsMetaProperty, KBoolean, KNativePointer); - -KBoolean impl_IsMethodDefinition(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsMethodDefinition(_ast); - return result; -} -KOALA_INTEROP_1(IsMethodDefinition, KBoolean, KNativePointer); - -KBoolean impl_IsNamedType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsNamedType(_ast); - return result; -} -KOALA_INTEROP_1(IsNamedType, KBoolean, KNativePointer); - -KBoolean impl_IsNewExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsNewExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsNewExpression, KBoolean, KNativePointer); - -KBoolean impl_IsNullLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsNullLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsNullLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsUndefinedLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsUndefinedLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsUndefinedLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsNumberLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsNumberLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsNumberLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsOmittedExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsOmittedExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsOmittedExpression, KBoolean, KNativePointer); - -KBoolean impl_IsOverloadDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsOverloadDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsOverloadDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsPrefixAssertionExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsPrefixAssertionExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsPrefixAssertionExpression, KBoolean, KNativePointer); - -KBoolean impl_IsProperty(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsProperty(_ast); - return result; -} -KOALA_INTEROP_1(IsProperty, KBoolean, KNativePointer); - -KBoolean impl_IsRegExpLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsRegExpLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsRegExpLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsETSReExportDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSReExportDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsETSReExportDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsReturnStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsReturnStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsReturnStatement, KBoolean, KNativePointer); - -KBoolean impl_IsScriptFunction(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsScriptFunction(_ast); - return result; -} -KOALA_INTEROP_1(IsScriptFunction, KBoolean, KNativePointer); - -KBoolean impl_IsSequenceExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsSequenceExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsSequenceExpression, KBoolean, KNativePointer); - -KBoolean impl_IsStringLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsStringLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsStringLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsETSNonNullishTypeNode(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSNonNullishTypeNode(_ast); - return result; -} -KOALA_INTEROP_1(IsETSNonNullishTypeNode, KBoolean, KNativePointer); - -KBoolean impl_IsETSNullType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSNullType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSNullType, KBoolean, KNativePointer); - -KBoolean impl_IsETSUndefinedType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSUndefinedType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSUndefinedType, KBoolean, KNativePointer); - -KBoolean impl_IsETSNeverType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSNeverType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSNeverType, KBoolean, KNativePointer); - -KBoolean impl_IsETSStringLiteralType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSStringLiteralType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSStringLiteralType, KBoolean, KNativePointer); - -KBoolean impl_IsETSIntrinsicNode(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSIntrinsicNode(_ast); - return result; -} -KOALA_INTEROP_1(IsETSIntrinsicNode, KBoolean, KNativePointer); - -KBoolean impl_IsETSFunctionType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSFunctionType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSFunctionType, KBoolean, KNativePointer); - -KBoolean impl_IsETSWildcardType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSWildcardType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSWildcardType, KBoolean, KNativePointer); - -KBoolean impl_IsETSPrimitiveType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSPrimitiveType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSPrimitiveType, KBoolean, KNativePointer); - -KBoolean impl_IsETSPackageDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSPackageDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsETSPackageDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsETSClassLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSClassLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsETSClassLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsETSTypeReference(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSTypeReference(_ast); - return result; -} -KOALA_INTEROP_1(IsETSTypeReference, KBoolean, KNativePointer); - -KBoolean impl_IsETSTypeReferencePart(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSTypeReferencePart(_ast); - return result; -} -KOALA_INTEROP_1(IsETSTypeReferencePart, KBoolean, KNativePointer); - -KBoolean impl_IsETSUnionType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSUnionType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSUnionType, KBoolean, KNativePointer); - -KBoolean impl_IsETSKeyofType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSKeyofType(_ast); - return result; -} -KOALA_INTEROP_1(IsETSKeyofType, KBoolean, KNativePointer); - -KBoolean impl_IsETSNewArrayInstanceExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSNewArrayInstanceExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsETSNewArrayInstanceExpression, KBoolean, KNativePointer); - -KBoolean impl_IsETSNewMultiDimArrayInstanceExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSNewMultiDimArrayInstanceExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsETSNewMultiDimArrayInstanceExpression, KBoolean, KNativePointer); - -KBoolean impl_IsETSNewClassInstanceExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSNewClassInstanceExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsETSNewClassInstanceExpression, KBoolean, KNativePointer); - -KBoolean impl_IsETSImportDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSImportDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsETSImportDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsETSParameterExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSParameterExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsETSParameterExpression, KBoolean, KNativePointer); - -KBoolean impl_IsETSTuple(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSTuple(_ast); - return result; -} -KOALA_INTEROP_1(IsETSTuple, KBoolean, KNativePointer); - -KBoolean impl_IsETSModule(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSModule(_ast); - return result; -} -KOALA_INTEROP_1(IsETSModule, KBoolean, KNativePointer); - -KBoolean impl_IsSuperExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsSuperExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsSuperExpression, KBoolean, KNativePointer); - -KBoolean impl_IsETSStructDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsETSStructDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsETSStructDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsSwitchCaseStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsSwitchCaseStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsSwitchCaseStatement, KBoolean, KNativePointer); - -KBoolean impl_IsSwitchStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsSwitchStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsSwitchStatement, KBoolean, KNativePointer); - -KBoolean impl_IsTSEnumDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSEnumDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSEnumDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSEnumMember(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSEnumMember(_ast); - return result; -} -KOALA_INTEROP_1(IsTSEnumMember, KBoolean, KNativePointer); - -KBoolean impl_IsTSExternalModuleReference(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSExternalModuleReference(_ast); - return result; -} -KOALA_INTEROP_1(IsTSExternalModuleReference, KBoolean, KNativePointer); - -KBoolean impl_IsTSNumberKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSNumberKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSNumberKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSAnyKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSAnyKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSAnyKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSStringKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSStringKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSStringKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSBooleanKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSBooleanKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSBooleanKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSVoidKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSVoidKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSVoidKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSUndefinedKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSUndefinedKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSUndefinedKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSUnknownKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSUnknownKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSUnknownKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSObjectKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSObjectKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSObjectKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSBigintKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSBigintKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSBigintKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSNeverKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSNeverKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSNeverKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSNonNullExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSNonNullExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsTSNonNullExpression, KBoolean, KNativePointer); - -KBoolean impl_IsTSNullKeyword(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSNullKeyword(_ast); - return result; -} -KOALA_INTEROP_1(IsTSNullKeyword, KBoolean, KNativePointer); - -KBoolean impl_IsTSArrayType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSArrayType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSArrayType, KBoolean, KNativePointer); - -KBoolean impl_IsTSUnionType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSUnionType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSUnionType, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsTSPropertySignature(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSPropertySignature(_ast); - return result; -} -KOALA_INTEROP_1(IsTSPropertySignature, KBoolean, KNativePointer); - -KBoolean impl_IsTSMethodSignature(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSMethodSignature(_ast); - return result; -} -KOALA_INTEROP_1(IsTSMethodSignature, KBoolean, KNativePointer); - -KBoolean impl_IsTSSignatureDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSSignatureDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSSignatureDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSParenthesizedType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSParenthesizedType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSParenthesizedType, KBoolean, KNativePointer); - -KBoolean impl_IsTSLiteralType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSLiteralType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSLiteralType, KBoolean, KNativePointer); - -KBoolean impl_IsTSInferType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSInferType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSInferType, KBoolean, KNativePointer); - -KBoolean impl_IsTSConditionalType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSConditionalType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSConditionalType, KBoolean, KNativePointer); - -KBoolean impl_IsTSImportType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSImportType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSImportType, KBoolean, KNativePointer); - -KBoolean impl_IsTSIntersectionType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSIntersectionType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSIntersectionType, KBoolean, KNativePointer); - -KBoolean impl_IsTSMappedType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSMappedType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSMappedType, KBoolean, KNativePointer); - -KBoolean impl_IsTSModuleBlock(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSModuleBlock(_ast); - return result; -} -KOALA_INTEROP_1(IsTSModuleBlock, KBoolean, KNativePointer); - -KBoolean impl_IsTSThisType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSThisType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSThisType, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeOperator(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeOperator(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeOperator, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeParameter(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeParameter(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeParameter, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeParameterDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeParameterDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeParameterDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeParameterInstantiation(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeParameterInstantiation(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeParameterInstantiation, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypePredicate(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypePredicate(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypePredicate, KBoolean, KNativePointer); - -KBoolean impl_IsTSParameterProperty(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSParameterProperty(_ast); - return result; -} -KOALA_INTEROP_1(IsTSParameterProperty, KBoolean, KNativePointer); - -KBoolean impl_IsTSModuleDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSModuleDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSModuleDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSImportEqualsDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSImportEqualsDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSImportEqualsDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSFunctionType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSFunctionType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSFunctionType, KBoolean, KNativePointer); - -KBoolean impl_IsTSConstructorType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSConstructorType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSConstructorType, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeAliasDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeAliasDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeAliasDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeReference(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeReference(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeReference, KBoolean, KNativePointer); - -KBoolean impl_IsTSQualifiedName(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSQualifiedName(_ast); - return result; -} -KOALA_INTEROP_1(IsTSQualifiedName, KBoolean, KNativePointer); - -KBoolean impl_IsTSIndexedAccessType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSIndexedAccessType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSIndexedAccessType, KBoolean, KNativePointer); - -KBoolean impl_IsTSInterfaceDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSInterfaceDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsTSInterfaceDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsTSInterfaceBody(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSInterfaceBody(_ast); - return result; -} -KOALA_INTEROP_1(IsTSInterfaceBody, KBoolean, KNativePointer); - -KBoolean impl_IsTSInterfaceHeritage(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSInterfaceHeritage(_ast); - return result; -} -KOALA_INTEROP_1(IsTSInterfaceHeritage, KBoolean, KNativePointer); - -KBoolean impl_IsTSTupleType(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTupleType(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTupleType, KBoolean, KNativePointer); - -KBoolean impl_IsTSNamedTupleMember(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSNamedTupleMember(_ast); - return result; -} -KOALA_INTEROP_1(IsTSNamedTupleMember, KBoolean, KNativePointer); - -KBoolean impl_IsTSIndexSignature(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSIndexSignature(_ast); - return result; -} -KOALA_INTEROP_1(IsTSIndexSignature, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeQuery(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeQuery(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeQuery, KBoolean, KNativePointer); - -KBoolean impl_IsTSAsExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSAsExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsTSAsExpression, KBoolean, KNativePointer); - -KBoolean impl_IsTSClassImplements(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSClassImplements(_ast); - return result; -} -KOALA_INTEROP_1(IsTSClassImplements, KBoolean, KNativePointer); - -KBoolean impl_IsTSTypeAssertion(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTSTypeAssertion(_ast); - return result; -} -KOALA_INTEROP_1(IsTSTypeAssertion, KBoolean, KNativePointer); - -KBoolean impl_IsTaggedTemplateExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTaggedTemplateExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsTaggedTemplateExpression, KBoolean, KNativePointer); - -KBoolean impl_IsTemplateElement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTemplateElement(_ast); - return result; -} -KOALA_INTEROP_1(IsTemplateElement, KBoolean, KNativePointer); - -KBoolean impl_IsTemplateLiteral(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTemplateLiteral(_ast); - return result; -} -KOALA_INTEROP_1(IsTemplateLiteral, KBoolean, KNativePointer); - -KBoolean impl_IsThisExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsThisExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsThisExpression, KBoolean, KNativePointer); - -KBoolean impl_IsTypeofExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTypeofExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsTypeofExpression, KBoolean, KNativePointer); - -KBoolean impl_IsThrowStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsThrowStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsThrowStatement, KBoolean, KNativePointer); - -KBoolean impl_IsTryStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsTryStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsTryStatement, KBoolean, KNativePointer); - -KBoolean impl_IsUnaryExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsUnaryExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsUnaryExpression, KBoolean, KNativePointer); - -KBoolean impl_IsUpdateExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsUpdateExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsUpdateExpression, KBoolean, KNativePointer); - -KBoolean impl_IsVariableDeclaration(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsVariableDeclaration(_ast); - return result; -} -KOALA_INTEROP_1(IsVariableDeclaration, KBoolean, KNativePointer); - -KBoolean impl_IsVariableDeclarator(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsVariableDeclarator(_ast); - return result; -} -KOALA_INTEROP_1(IsVariableDeclarator, KBoolean, KNativePointer); - -KBoolean impl_IsWhileStatement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsWhileStatement(_ast); - return result; -} -KOALA_INTEROP_1(IsWhileStatement, KBoolean, KNativePointer); - -KBoolean impl_IsYieldExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsYieldExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsYieldExpression, KBoolean, KNativePointer); - -KBoolean impl_IsOpaqueTypeNode(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsOpaqueTypeNode(_ast); - return result; -} -KOALA_INTEROP_1(IsOpaqueTypeNode, KBoolean, KNativePointer); - -KBoolean impl_IsBlockExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBlockExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsBlockExpression, KBoolean, KNativePointer); - -KBoolean impl_IsBrokenTypeNode(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsBrokenTypeNode(_ast); - return result; -} -KOALA_INTEROP_1(IsBrokenTypeNode, KBoolean, KNativePointer); - -KBoolean impl_IsArrayExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsArrayExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsArrayExpression, KBoolean, KNativePointer); - -KBoolean impl_IsArrayPattern(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsArrayPattern(_ast); - return result; -} -KOALA_INTEROP_1(IsArrayPattern, KBoolean, KNativePointer); - -KBoolean impl_IsAssignmentExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsAssignmentExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsAssignmentExpression, KBoolean, KNativePointer); - -KBoolean impl_IsAssignmentPattern(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsAssignmentPattern(_ast); - return result; -} -KOALA_INTEROP_1(IsAssignmentPattern, KBoolean, KNativePointer); - -KBoolean impl_IsObjectExpression(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsObjectExpression(_ast); - return result; -} -KOALA_INTEROP_1(IsObjectExpression, KBoolean, KNativePointer); - -KBoolean impl_IsObjectPattern(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsObjectPattern(_ast); - return result; -} -KOALA_INTEROP_1(IsObjectPattern, KBoolean, KNativePointer); - -KBoolean impl_IsSpreadElement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsSpreadElement(_ast); - return result; -} -KOALA_INTEROP_1(IsSpreadElement, KBoolean, KNativePointer); - -KBoolean impl_IsRestElement(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->IsRestElement(_ast); - return result; -} -KOALA_INTEROP_1(IsRestElement, KBoolean, KNativePointer); - -KNativePointer impl_AstNodeName(KNativePointer ast) -{ - const auto _ast = reinterpret_cast(ast); - auto result = GetImpl()->AstNodeName(_ast); - return StageArena::strdup(result); -} -KOALA_INTEROP_1(AstNodeName, KNativePointer, KNativePointer); - -KNativePointer impl_CreateNumberLiteral(KNativePointer context, KInt value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = static_cast(value); - auto result = GetImpl()->CreateNumberLiteral(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateNumberLiteral, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_CreateNumberLiteral1(KNativePointer context, KLong value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = static_cast(value); - auto result = GetImpl()->CreateNumberLiteral1(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateNumberLiteral1, KNativePointer, KNativePointer, KLong); - -KNativePointer impl_CreateNumberLiteral2(KNativePointer context, KDouble value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = static_cast(value); - auto result = GetImpl()->CreateNumberLiteral2(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateNumberLiteral2, KNativePointer, KNativePointer, KDouble); - -KNativePointer impl_CreateNumberLiteral3(KNativePointer context, KFloat value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = static_cast(value); - auto result = GetImpl()->CreateNumberLiteral3(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateNumberLiteral3, KNativePointer, KNativePointer, KFloat); - -KNativePointer impl_UpdateNumberLiteral(KNativePointer context, KNativePointer original, KInt value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = static_cast(value); - auto result = GetImpl()->UpdateNumberLiteral(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateNumberLiteral, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateNumberLiteral1(KNativePointer context, KNativePointer original, KLong value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = static_cast(value); - auto result = GetImpl()->UpdateNumberLiteral1(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateNumberLiteral1, KNativePointer, KNativePointer, KNativePointer, KLong); - -KNativePointer impl_UpdateNumberLiteral2(KNativePointer context, KNativePointer original, KDouble value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = static_cast(value); - auto result = GetImpl()->UpdateNumberLiteral2(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateNumberLiteral2, KNativePointer, KNativePointer, KNativePointer, KDouble); - -KNativePointer impl_UpdateNumberLiteral3(KNativePointer context, KNativePointer original, KFloat value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = static_cast(value); - auto result = GetImpl()->UpdateNumberLiteral3(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateNumberLiteral3, KNativePointer, KNativePointer, KNativePointer, KFloat); - -KNativePointer impl_NumberLiteralStrConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->NumberLiteralStrConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(NumberLiteralStrConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateLabelledStatement(KNativePointer context, KNativePointer ident, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _ident = reinterpret_cast(ident); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->CreateLabelledStatement(_context, _ident, _body); - return result; -} -KOALA_INTEROP_3(CreateLabelledStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateLabelledStatement(KNativePointer context, KNativePointer original, KNativePointer ident, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _ident = reinterpret_cast(ident); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->UpdateLabelledStatement(_context, _original, _ident, _body); - return result; -} -KOALA_INTEROP_4(UpdateLabelledStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_LabelledStatementBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->LabelledStatementBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(LabelledStatementBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_LabelledStatementBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->LabelledStatementBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(LabelledStatementBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_LabelledStatementIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->LabelledStatementIdentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(LabelledStatementIdentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_LabelledStatementIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->LabelledStatementIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(LabelledStatementIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_LabelledStatementGetReferencedStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->LabelledStatementGetReferencedStatementConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(LabelledStatementGetReferencedStatementConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateThrowStatement(KNativePointer context, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->CreateThrowStatement(_context, _argument); - return result; -} -KOALA_INTEROP_2(CreateThrowStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateThrowStatement(KNativePointer context, KNativePointer original, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->UpdateThrowStatement(_context, _original, _argument); - return result; -} -KOALA_INTEROP_3(UpdateThrowStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ThrowStatementArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ThrowStatementArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ThrowStatementArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateClassProperty(KNativePointer context, KNativePointer key, KNativePointer value, KNativePointer typeAnnotation, KInt modifiers, KBoolean isComputed) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _modifiers = static_cast(modifiers); - const auto _isComputed = static_cast(isComputed); - auto result = GetImpl()->CreateClassProperty(_context, _key, _value, _typeAnnotation, _modifiers, _isComputed); - return result; -} -KOALA_INTEROP_6(CreateClassProperty, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean); - -KNativePointer impl_UpdateClassProperty(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointer value, KNativePointer typeAnnotation, KInt modifiers, KBoolean isComputed) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _modifiers = static_cast(modifiers); - const auto _isComputed = static_cast(isComputed); - auto result = GetImpl()->UpdateClassProperty(_context, _original, _key, _value, _typeAnnotation, _modifiers, _isComputed); - return result; -} -KOALA_INTEROP_7(UpdateClassProperty, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean); - -KBoolean impl_ClassPropertyIsDefaultAccessModifierConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassPropertyIsDefaultAccessModifierConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassPropertyIsDefaultAccessModifierConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ClassPropertySetDefaultAccessModifier(KNativePointer context, KNativePointer receiver, KBoolean isDefault) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isDefault = static_cast(isDefault); - GetImpl()->ClassPropertySetDefaultAccessModifier(_context, _receiver, _isDefault); - return ; -} -KOALA_INTEROP_V3(ClassPropertySetDefaultAccessModifier, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_ClassPropertyTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassPropertyTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassPropertyTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassPropertySetTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->ClassPropertySetTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(ClassPropertySetTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ClassPropertyNeedInitInStaticBlockConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassPropertyNeedInitInStaticBlockConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassPropertyNeedInitInStaticBlockConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ClassPropertySetNeedInitInStaticBlock(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassPropertySetNeedInitInStaticBlock(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassPropertySetNeedInitInStaticBlock, KNativePointer, KNativePointer); - -KBoolean impl_ClassPropertyIsImmediateInitConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassPropertyIsImmediateInitConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassPropertyIsImmediateInitConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ClassPropertySetIsImmediateInit(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassPropertySetIsImmediateInit(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassPropertySetIsImmediateInit, KNativePointer, KNativePointer); - -KBoolean impl_ClassPropertyHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassPropertyHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassPropertyHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ClassPropertyEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ClassPropertyEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ClassPropertyEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassPropertyClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassPropertyClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassPropertyClearAnnotations, KNativePointer, KNativePointer); - -void impl_ClassPropertyDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->ClassPropertyDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(ClassPropertyDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassPropertyAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassPropertyAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassPropertyAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassPropertyAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassPropertyAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassPropertyAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassPropertyAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassPropertyAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassPropertyAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassPropertySetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ClassPropertySetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ClassPropertySetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ClassPropertySetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ClassPropertySetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ClassPropertySetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateTSVoidKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSVoidKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSVoidKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSVoidKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSVoidKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSVoidKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSFunctionType(KNativePointer context, KNativePointer signature, KInt funcFlags) -{ - const auto _context = reinterpret_cast(context); - const auto _signature = reinterpret_cast(signature); - const auto _funcFlags = static_cast(funcFlags); - auto result = GetImpl()->CreateETSFunctionTypeIr(_context, _signature, _funcFlags); - return result; -} -KOALA_INTEROP_3(CreateETSFunctionType, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateETSFunctionType(KNativePointer context, KNativePointer original, KNativePointer signature, KInt funcFlags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _signature = reinterpret_cast(signature); - const auto _funcFlags = static_cast(funcFlags); - auto result = GetImpl()->UpdateETSFunctionTypeIr(_context, _original, _signature, _funcFlags); - return result; -} -KOALA_INTEROP_4(UpdateETSFunctionType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_ETSFunctionTypeTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSFunctionTypeTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSFunctionTypeTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSFunctionTypeTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSFunctionTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSFunctionTypeIrParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSFunctionTypeSetParams(KNativePointer context, KNativePointer receiver, KNativePointerArray paramsList, KUInt paramsListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _paramsList = reinterpret_cast(paramsList); - const auto _paramsListSequenceLength = static_cast(paramsListSequenceLength); - GetImpl()->ETSFunctionTypeIrSetParams(_context, _receiver, _paramsList, _paramsListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSFunctionTypeSetParams, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_ETSFunctionTypeReturnTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrReturnTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSFunctionTypeReturnTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSFunctionTypeReturnType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrReturnType(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSFunctionTypeReturnType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSFunctionTypeFunctionalInterface(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrFunctionalInterface(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSFunctionTypeFunctionalInterface, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSFunctionTypeFunctionalInterfaceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrFunctionalInterfaceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSFunctionTypeFunctionalInterfaceConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSFunctionTypeSetFunctionalInterface(KNativePointer context, KNativePointer receiver, KNativePointer functionalInterface) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _functionalInterface = reinterpret_cast(functionalInterface); - GetImpl()->ETSFunctionTypeIrSetFunctionalInterface(_context, _receiver, _functionalInterface); - return ; -} -KOALA_INTEROP_V3(ETSFunctionTypeSetFunctionalInterface, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_ETSFunctionTypeFlags(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrFlags(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSFunctionTypeFlags, KInt, KNativePointer, KNativePointer); - -KInt impl_ETSFunctionTypeFlagsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrFlagsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSFunctionTypeFlagsConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_ETSFunctionTypeIsExtensionFunctionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSFunctionTypeIrIsExtensionFunctionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSFunctionTypeIsExtensionFunctionConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeOperator(KNativePointer context, KNativePointer type, KInt operatorType) -{ - const auto _context = reinterpret_cast(context); - const auto _type = reinterpret_cast(type); - const auto _operatorType = static_cast(operatorType); - auto result = GetImpl()->CreateTSTypeOperator(_context, _type, _operatorType); - return result; -} -KOALA_INTEROP_3(CreateTSTypeOperator, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateTSTypeOperator(KNativePointer context, KNativePointer original, KNativePointer type, KInt operatorType) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _type = reinterpret_cast(type); - const auto _operatorType = static_cast(operatorType); - auto result = GetImpl()->UpdateTSTypeOperator(_context, _original, _type, _operatorType); - return result; -} -KOALA_INTEROP_4(UpdateTSTypeOperator, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_TSTypeOperatorTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeOperatorTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeOperatorTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSTypeOperatorIsReadonlyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeOperatorIsReadonlyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeOperatorIsReadonlyConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSTypeOperatorIsKeyofConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeOperatorIsKeyofConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeOperatorIsKeyofConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSTypeOperatorIsUniqueConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeOperatorIsUniqueConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeOperatorIsUniqueConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateIfStatement(KNativePointer context, KNativePointer test, KNativePointer consequent, KNativePointer alternate) -{ - const auto _context = reinterpret_cast(context); - const auto _test = reinterpret_cast(test); - const auto _consequent = reinterpret_cast(consequent); - const auto _alternate = reinterpret_cast(alternate); - auto result = GetImpl()->CreateIfStatement(_context, _test, _consequent, _alternate); - return result; -} -KOALA_INTEROP_4(CreateIfStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateIfStatement(KNativePointer context, KNativePointer original, KNativePointer test, KNativePointer consequent, KNativePointer alternate) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _test = reinterpret_cast(test); - const auto _consequent = reinterpret_cast(consequent); - const auto _alternate = reinterpret_cast(alternate); - auto result = GetImpl()->UpdateIfStatement(_context, _original, _test, _consequent, _alternate); - return result; -} -KOALA_INTEROP_5(UpdateIfStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IfStatementTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IfStatementTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(IfStatementTestConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IfStatementTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IfStatementTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IfStatementTest, KNativePointer, KNativePointer, KNativePointer); - -void impl_IfStatementSetTest(KNativePointer context, KNativePointer receiver, KNativePointer test) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _test = reinterpret_cast(test); - GetImpl()->IfStatementSetTest(_context, _receiver, _test); - return ; -} -KOALA_INTEROP_V3(IfStatementSetTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IfStatementConsequentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IfStatementConsequentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(IfStatementConsequentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IfStatementConsequent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IfStatementConsequent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IfStatementConsequent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IfStatementAlternate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IfStatementAlternate(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IfStatementAlternate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IfStatementAlternateConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IfStatementAlternateConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(IfStatementAlternateConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_IfStatementSetAlternate(KNativePointer context, KNativePointer receiver, KNativePointer alternate) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _alternate = reinterpret_cast(alternate); - GetImpl()->IfStatementSetAlternate(_context, _receiver, _alternate); - return ; -} -KOALA_INTEROP_V3(IfStatementSetAlternate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSConstructorType(KNativePointer context, KNativePointer signature, KBoolean abstract) -{ - const auto _context = reinterpret_cast(context); - const auto _signature = reinterpret_cast(signature); - const auto _abstract = static_cast(abstract); - auto result = GetImpl()->CreateTSConstructorType(_context, _signature, _abstract); - return result; -} -KOALA_INTEROP_3(CreateTSConstructorType, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSConstructorType(KNativePointer context, KNativePointer original, KNativePointer signature, KBoolean abstract) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _signature = reinterpret_cast(signature); - const auto _abstract = static_cast(abstract); - auto result = GetImpl()->UpdateTSConstructorType(_context, _original, _signature, _abstract); - return result; -} -KOALA_INTEROP_4(UpdateTSConstructorType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSConstructorTypeTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConstructorTypeTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSConstructorTypeTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConstructorTypeTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConstructorTypeTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSConstructorTypeTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConstructorTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSConstructorTypeParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSConstructorTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConstructorTypeReturnTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConstructorTypeReturnTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSConstructorTypeReturnTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConstructorTypeReturnType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConstructorTypeReturnType(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSConstructorTypeReturnType, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSConstructorTypeAbstractConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConstructorTypeAbstractConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSConstructorTypeAbstractConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateDecorator(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateDecorator(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateDecorator, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateDecorator(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateDecorator(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateDecorator, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_DecoratorExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->DecoratorExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(DecoratorExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSEnumDeclaration(KNativePointer context, KNativePointer key, KNativePointerArray members, KUInt membersSequenceLength, KBoolean isConst, KBoolean isStatic, KBoolean isDeclare) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _members = reinterpret_cast(members); - const auto _membersSequenceLength = static_cast(membersSequenceLength); - const auto _isConst = static_cast(isConst); - const auto _isStatic = static_cast(isStatic); - const auto _isDeclare = static_cast(isDeclare); - auto result = GetImpl()->CreateTSEnumDeclaration(_context, _key, _members, _membersSequenceLength, _isConst, _isStatic, _isDeclare); - return result; -} -KOALA_INTEROP_7(CreateTSEnumDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KBoolean, KBoolean, KBoolean); - -KNativePointer impl_UpdateTSEnumDeclaration(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointerArray members, KUInt membersSequenceLength, KBoolean isConst, KBoolean isStatic, KBoolean isDeclare) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _members = reinterpret_cast(members); - const auto _membersSequenceLength = static_cast(membersSequenceLength); - const auto _isConst = static_cast(isConst); - const auto _isStatic = static_cast(isStatic); - const auto _isDeclare = static_cast(isDeclare); - auto result = GetImpl()->UpdateTSEnumDeclaration(_context, _original, _key, _members, _membersSequenceLength, _isConst, _isStatic, _isDeclare); - return result; -} -KOALA_INTEROP_8(UpdateTSEnumDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KBoolean, KBoolean, KBoolean); - -KNativePointer impl_CreateTSEnumDeclaration1(KNativePointer context, KNativePointer key, KNativePointerArray members, KUInt membersSequenceLength, KBoolean isConst, KBoolean isStatic, KBoolean isDeclare, KNativePointer typeNode) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _members = reinterpret_cast(members); - const auto _membersSequenceLength = static_cast(membersSequenceLength); - const auto _isConst = static_cast(isConst); - const auto _isStatic = static_cast(isStatic); - const auto _isDeclare = static_cast(isDeclare); - const auto _typeNode = reinterpret_cast(typeNode); - auto result = GetImpl()->CreateTSEnumDeclaration1(_context, _key, _members, _membersSequenceLength, _isConst, _isStatic, _isDeclare, _typeNode); - return result; -} -KOALA_INTEROP_8(CreateTSEnumDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KBoolean, KBoolean, KBoolean, KNativePointer); - -KNativePointer impl_UpdateTSEnumDeclaration1(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointerArray members, KUInt membersSequenceLength, KBoolean isConst, KBoolean isStatic, KBoolean isDeclare, KNativePointer typeNode) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _members = reinterpret_cast(members); - const auto _membersSequenceLength = static_cast(membersSequenceLength); - const auto _isConst = static_cast(isConst); - const auto _isStatic = static_cast(isStatic); - const auto _isDeclare = static_cast(isDeclare); - const auto _typeNode = reinterpret_cast(typeNode); - auto result = GetImpl()->UpdateTSEnumDeclaration1(_context, _original, _key, _members, _membersSequenceLength, _isConst, _isStatic, _isDeclare, _typeNode); - return result; -} -KOALA_INTEROP_9(UpdateTSEnumDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KBoolean, KBoolean, KBoolean, KNativePointer); - -KNativePointer impl_TSEnumDeclarationKeyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumDeclarationKeyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSEnumDeclarationKeyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumDeclarationTypeNodes(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumDeclarationTypeNodes(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSEnumDeclarationTypeNodes, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumDeclarationKey(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumDeclarationKey(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSEnumDeclarationKey, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumDeclarationMembersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSEnumDeclarationMembersConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSEnumDeclarationMembersConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumDeclarationInternalNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumDeclarationInternalNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TSEnumDeclarationInternalNameConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSEnumDeclarationSetInternalName(KNativePointer context, KNativePointer receiver, KStringPtr& internalName) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _internalName = getStringCopy(internalName); - GetImpl()->TSEnumDeclarationSetInternalName(_context, _receiver, _internalName); - return ; -} -KOALA_INTEROP_V3(TSEnumDeclarationSetInternalName, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_TSEnumDeclarationBoxedClassConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumDeclarationBoxedClassConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSEnumDeclarationBoxedClassConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSEnumDeclarationSetBoxedClass(KNativePointer context, KNativePointer receiver, KNativePointer boxedClass) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _boxedClass = reinterpret_cast(boxedClass); - GetImpl()->TSEnumDeclarationSetBoxedClass(_context, _receiver, _boxedClass); - return ; -} -KOALA_INTEROP_V3(TSEnumDeclarationSetBoxedClass, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSEnumDeclarationIsConstConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumDeclarationIsConstConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSEnumDeclarationIsConstConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TSEnumDeclarationEmplaceMembers(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->TSEnumDeclarationEmplaceMembers(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(TSEnumDeclarationEmplaceMembers, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSEnumDeclarationClearMembers(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TSEnumDeclarationClearMembers(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TSEnumDeclarationClearMembers, KNativePointer, KNativePointer); - -void impl_TSEnumDeclarationSetValueMembers(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - const auto _index = static_cast(index); - GetImpl()->TSEnumDeclarationSetValueMembers(_context, _receiver, _source, _index); - return ; -} -KOALA_INTEROP_V4(TSEnumDeclarationSetValueMembers, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_TSEnumDeclarationMembersForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSEnumDeclarationMembersForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSEnumDeclarationMembersForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSNeverKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSNeverKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSNeverKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSNeverKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSNeverKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSNeverKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateImportDefaultSpecifier(KNativePointer context, KNativePointer local) -{ - const auto _context = reinterpret_cast(context); - const auto _local = reinterpret_cast(local); - auto result = GetImpl()->CreateImportDefaultSpecifier(_context, _local); - return result; -} -KOALA_INTEROP_2(CreateImportDefaultSpecifier, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateImportDefaultSpecifier(KNativePointer context, KNativePointer original, KNativePointer local) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _local = reinterpret_cast(local); - auto result = GetImpl()->UpdateImportDefaultSpecifier(_context, _original, _local); - return result; -} -KOALA_INTEROP_3(UpdateImportDefaultSpecifier, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportDefaultSpecifierLocalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportDefaultSpecifierLocalConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ImportDefaultSpecifierLocalConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportDefaultSpecifierLocal(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportDefaultSpecifierLocal(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportDefaultSpecifierLocal, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateObjectExpression(KNativePointer context, KInt nodeType, KNativePointerArray properties, KUInt propertiesSequenceLength, KBoolean trailingComma) -{ - const auto _context = reinterpret_cast(context); - const auto _nodeType = static_cast(nodeType); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - const auto _trailingComma = static_cast(trailingComma); - auto result = GetImpl()->CreateObjectExpression(_context, _nodeType, _properties, _propertiesSequenceLength, _trailingComma); - return result; -} -KOALA_INTEROP_5(CreateObjectExpression, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt, KBoolean); - -KNativePointer impl_UpdateObjectExpression(KNativePointer context, KNativePointer original, KInt nodeType, KNativePointerArray properties, KUInt propertiesSequenceLength, KBoolean trailingComma) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _nodeType = static_cast(nodeType); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - const auto _trailingComma = static_cast(trailingComma); - auto result = GetImpl()->UpdateObjectExpression(_context, _original, _nodeType, _properties, _propertiesSequenceLength, _trailingComma); - return result; -} -KOALA_INTEROP_6(UpdateObjectExpression, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt, KBoolean); - -KNativePointer impl_ObjectExpressionPropertiesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ObjectExpressionPropertiesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ObjectExpressionPropertiesConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ObjectExpressionIsDeclarationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ObjectExpressionIsDeclarationConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ObjectExpressionIsDeclarationConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ObjectExpressionIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ObjectExpressionIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ObjectExpressionIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_ObjectExpressionValidateExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ObjectExpressionValidateExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ObjectExpressionValidateExpression, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ObjectExpressionConvertibleToObjectPattern(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ObjectExpressionConvertibleToObjectPattern(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ObjectExpressionConvertibleToObjectPattern, KBoolean, KNativePointer, KNativePointer); - -void impl_ObjectExpressionSetDeclaration(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ObjectExpressionSetDeclaration(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ObjectExpressionSetDeclaration, KNativePointer, KNativePointer); - -void impl_ObjectExpressionSetOptional(KNativePointer context, KNativePointer receiver, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _optional_arg = static_cast(optional_arg); - GetImpl()->ObjectExpressionSetOptional(_context, _receiver, _optional_arg); - return ; -} -KOALA_INTEROP_V3(ObjectExpressionSetOptional, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_ObjectExpressionTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ObjectExpressionTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ObjectExpressionTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ObjectExpressionSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->ObjectExpressionSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(ObjectExpressionSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateImportSpecifier(KNativePointer context, KNativePointer imported, KNativePointer local) -{ - const auto _context = reinterpret_cast(context); - const auto _imported = reinterpret_cast(imported); - const auto _local = reinterpret_cast(local); - auto result = GetImpl()->CreateImportSpecifier(_context, _imported, _local); - return result; -} -KOALA_INTEROP_3(CreateImportSpecifier, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateImportSpecifier(KNativePointer context, KNativePointer original, KNativePointer imported, KNativePointer local) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _imported = reinterpret_cast(imported); - const auto _local = reinterpret_cast(local); - auto result = GetImpl()->UpdateImportSpecifier(_context, _original, _imported, _local); - return result; -} -KOALA_INTEROP_4(UpdateImportSpecifier, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportSpecifierImported(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportSpecifierImported(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportSpecifierImported, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportSpecifierImportedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportSpecifierImportedConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ImportSpecifierImportedConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportSpecifierLocal(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportSpecifierLocal(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportSpecifierLocal, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportSpecifierLocalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportSpecifierLocalConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ImportSpecifierLocalConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ImportSpecifierIsRemovableConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportSpecifierIsRemovableConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportSpecifierIsRemovableConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ImportSpecifierSetRemovable(KNativePointer context, KNativePointer receiver, KBoolean isRemovable) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isRemovable = static_cast(isRemovable); - GetImpl()->ImportSpecifierSetRemovable(_context, _receiver, _isRemovable); - return ; -} -KOALA_INTEROP_V3(ImportSpecifierSetRemovable, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_CreateConditionalExpression(KNativePointer context, KNativePointer test, KNativePointer consequent, KNativePointer alternate) -{ - const auto _context = reinterpret_cast(context); - const auto _test = reinterpret_cast(test); - const auto _consequent = reinterpret_cast(consequent); - const auto _alternate = reinterpret_cast(alternate); - auto result = GetImpl()->CreateConditionalExpression(_context, _test, _consequent, _alternate); - return result; -} -KOALA_INTEROP_4(CreateConditionalExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateConditionalExpression(KNativePointer context, KNativePointer original, KNativePointer test, KNativePointer consequent, KNativePointer alternate) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _test = reinterpret_cast(test); - const auto _consequent = reinterpret_cast(consequent); - const auto _alternate = reinterpret_cast(alternate); - auto result = GetImpl()->UpdateConditionalExpression(_context, _original, _test, _consequent, _alternate); - return result; -} -KOALA_INTEROP_5(UpdateConditionalExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ConditionalExpressionTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ConditionalExpressionTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ConditionalExpressionTestConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ConditionalExpressionTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ConditionalExpressionTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ConditionalExpressionTest, KNativePointer, KNativePointer, KNativePointer); - -void impl_ConditionalExpressionSetTest(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->ConditionalExpressionSetTest(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(ConditionalExpressionSetTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ConditionalExpressionConsequentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ConditionalExpressionConsequentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ConditionalExpressionConsequentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ConditionalExpressionConsequent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ConditionalExpressionConsequent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ConditionalExpressionConsequent, KNativePointer, KNativePointer, KNativePointer); - -void impl_ConditionalExpressionSetConsequent(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->ConditionalExpressionSetConsequent(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(ConditionalExpressionSetConsequent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ConditionalExpressionAlternateConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ConditionalExpressionAlternateConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ConditionalExpressionAlternateConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ConditionalExpressionAlternate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ConditionalExpressionAlternate(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ConditionalExpressionAlternate, KNativePointer, KNativePointer, KNativePointer); - -void impl_ConditionalExpressionSetAlternate(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->ConditionalExpressionSetAlternate(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(ConditionalExpressionSetAlternate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateCallExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength, KNativePointer typeParams, KBoolean optional_arg, KBoolean trailingComma) -{ - const auto _context = reinterpret_cast(context); - const auto _callee = reinterpret_cast(callee); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _optional_arg = static_cast(optional_arg); - const auto _trailingComma = static_cast(trailingComma); - auto result = GetImpl()->CreateCallExpression(_context, _callee, __arguments, __argumentsSequenceLength, _typeParams, _optional_arg, _trailingComma); - return result; -} -KOALA_INTEROP_7(CreateCallExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_CreateCallExpression1(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateCallExpression1(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateCallExpression1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateCallExpression1(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateCallExpression1(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateCallExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionCalleeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionCalleeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(CallExpressionCalleeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionCallee(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionCallee(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionCallee, KNativePointer, KNativePointer, KNativePointer); - -void impl_CallExpressionSetCallee(KNativePointer context, KNativePointer receiver, KNativePointer callee) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _callee = reinterpret_cast(callee); - GetImpl()->CallExpressionSetCallee(_context, _receiver, _callee); - return ; -} -KOALA_INTEROP_V3(CallExpressionSetCallee, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(CallExpressionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionArgumentsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->CallExpressionArgumentsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(CallExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionArguments(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->CallExpressionArguments(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(CallExpressionArguments, KNativePointer, KNativePointer, KNativePointer); - -void impl_CallExpressionSetArguments(KNativePointer context, KNativePointer receiver, KNativePointerArray argumentsList, KUInt argumentsListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _argumentsList = reinterpret_cast(argumentsList); - const auto _argumentsListSequenceLength = static_cast(argumentsListSequenceLength); - GetImpl()->CallExpressionSetArguments(_context, _receiver, _argumentsList, _argumentsListSequenceLength); - return ; -} -KOALA_INTEROP_V4(CallExpressionSetArguments, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KBoolean impl_CallExpressionHasTrailingCommaConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionHasTrailingCommaConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionHasTrailingCommaConst, KBoolean, KNativePointer, KNativePointer); - -void impl_CallExpressionSetTypeParams(KNativePointer context, KNativePointer receiver, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeParams = reinterpret_cast(typeParams); - GetImpl()->CallExpressionSetTypeParams(_context, _receiver, _typeParams); - return ; -} -KOALA_INTEROP_V3(CallExpressionSetTypeParams, KNativePointer, KNativePointer, KNativePointer); - -void impl_CallExpressionSetTrailingBlock(KNativePointer context, KNativePointer receiver, KNativePointer block) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _block = reinterpret_cast(block); - GetImpl()->CallExpressionSetTrailingBlock(_context, _receiver, _block); - return ; -} -KOALA_INTEROP_V3(CallExpressionSetTrailingBlock, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_CallExpressionIsExtensionAccessorCall(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionIsExtensionAccessorCall(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionIsExtensionAccessorCall, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CallExpressionTrailingBlockConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionTrailingBlockConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(CallExpressionTrailingBlockConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_CallExpressionSetIsTrailingBlockInNewLine(KNativePointer context, KNativePointer receiver, KBoolean isNewLine) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isNewLine = static_cast(isNewLine); - GetImpl()->CallExpressionSetIsTrailingBlockInNewLine(_context, _receiver, _isNewLine); - return ; -} -KOALA_INTEROP_V3(CallExpressionSetIsTrailingBlockInNewLine, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_CallExpressionIsTrailingBlockInNewLineConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionIsTrailingBlockInNewLineConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionIsTrailingBlockInNewLineConst, KBoolean, KNativePointer, KNativePointer); - -void impl_CallExpressionSetIsTrailingCall(KNativePointer context, KNativePointer receiver, KBoolean isTrailingCall) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isTrailingCall = static_cast(isTrailingCall); - GetImpl()->CallExpressionSetIsTrailingCall(_context, _receiver, _isTrailingCall); - return ; -} -KOALA_INTEROP_V3(CallExpressionSetIsTrailingCall, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_CallExpressionIsTrailingCallConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionIsTrailingCallConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionIsTrailingCallConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_CallExpressionIsETSConstructorCallConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionIsETSConstructorCallConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionIsETSConstructorCallConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_CallExpressionIsDynamicCallConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CallExpressionIsDynamicCallConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CallExpressionIsDynamicCallConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBigIntLiteral(KNativePointer context, KStringPtr& src) -{ - const auto _context = reinterpret_cast(context); - const auto _src = getStringCopy(src); - auto result = GetImpl()->CreateBigIntLiteral(_context, _src); - return result; -} -KOALA_INTEROP_2(CreateBigIntLiteral, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_UpdateBigIntLiteral(KNativePointer context, KNativePointer original, KStringPtr& src) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _src = getStringCopy(src); - auto result = GetImpl()->UpdateBigIntLiteral(_context, _original, _src); - return result; -} -KOALA_INTEROP_3(UpdateBigIntLiteral, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_BigIntLiteralStrConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BigIntLiteralStrConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(BigIntLiteralStrConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementId(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementId(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassElementId, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementIdConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassElementIdConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementKey(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementKey(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassElementKey, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementKeyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementKeyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassElementKeyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementValue(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementValue(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassElementValue, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassElementSetValue(KNativePointer context, KNativePointer receiver, KNativePointer value) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _value = reinterpret_cast(value); - GetImpl()->ClassElementSetValue(_context, _receiver, _value); - return ; -} -KOALA_INTEROP_V3(ClassElementSetValue, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementValueConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementValueConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassElementValueConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassElementOriginEnumMemberConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementOriginEnumMemberConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassElementOriginEnumMemberConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassElementSetOrigEnumMember(KNativePointer context, KNativePointer receiver, KNativePointer enumMember) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _enumMember = reinterpret_cast(enumMember); - GetImpl()->ClassElementSetOrigEnumMember(_context, _receiver, _enumMember); - return ; -} -KOALA_INTEROP_V3(ClassElementSetOrigEnumMember, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ClassElementIsPrivateElementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementIsPrivateElementConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassElementIsPrivateElementConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassElementIsComputedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassElementIsComputedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassElementIsComputedConst, KBoolean, KNativePointer, KNativePointer); - -KInt impl_ClassElementToPrivateFieldKindConst(KNativePointer context, KNativePointer receiver, KBoolean isStatic) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isStatic = static_cast(isStatic); - auto result = GetImpl()->ClassElementToPrivateFieldKindConst(_context, _receiver, _isStatic); - return result; -} -KOALA_INTEROP_3(ClassElementToPrivateFieldKindConst, KInt, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_CreateTSImportType(KNativePointer context, KNativePointer param, KNativePointer typeParams, KNativePointer qualifier, KBoolean isTypeof) -{ - const auto _context = reinterpret_cast(context); - const auto _param = reinterpret_cast(param); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _qualifier = reinterpret_cast(qualifier); - const auto _isTypeof = static_cast(isTypeof); - auto result = GetImpl()->CreateTSImportType(_context, _param, _typeParams, _qualifier, _isTypeof); - return result; -} -KOALA_INTEROP_5(CreateTSImportType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSImportType(KNativePointer context, KNativePointer original, KNativePointer param, KNativePointer typeParams, KNativePointer qualifier, KBoolean isTypeof) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _param = reinterpret_cast(param); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _qualifier = reinterpret_cast(qualifier); - const auto _isTypeof = static_cast(isTypeof); - auto result = GetImpl()->UpdateTSImportType(_context, _original, _param, _typeParams, _qualifier, _isTypeof); - return result; -} -KOALA_INTEROP_6(UpdateTSImportType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSImportTypeParamConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportTypeParamConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSImportTypeParamConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSImportTypeTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportTypeTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSImportTypeTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSImportTypeQualifierConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportTypeQualifierConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSImportTypeQualifierConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSImportTypeIsTypeofConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportTypeIsTypeofConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSImportTypeIsTypeofConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTaggedTemplateExpression(KNativePointer context, KNativePointer tag, KNativePointer quasi, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _tag = reinterpret_cast(tag); - const auto _quasi = reinterpret_cast(quasi); - const auto _typeParams = reinterpret_cast(typeParams); - auto result = GetImpl()->CreateTaggedTemplateExpression(_context, _tag, _quasi, _typeParams); - return result; -} -KOALA_INTEROP_4(CreateTaggedTemplateExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTaggedTemplateExpression(KNativePointer context, KNativePointer original, KNativePointer tag, KNativePointer quasi, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _tag = reinterpret_cast(tag); - const auto _quasi = reinterpret_cast(quasi); - const auto _typeParams = reinterpret_cast(typeParams); - auto result = GetImpl()->UpdateTaggedTemplateExpression(_context, _original, _tag, _quasi, _typeParams); - return result; -} -KOALA_INTEROP_5(UpdateTaggedTemplateExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TaggedTemplateExpressionTagConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TaggedTemplateExpressionTagConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TaggedTemplateExpressionTagConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TaggedTemplateExpressionQuasiConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TaggedTemplateExpressionQuasiConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TaggedTemplateExpressionQuasiConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TaggedTemplateExpressionTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TaggedTemplateExpressionTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TaggedTemplateExpressionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateFunctionDeclaration(KNativePointer context, KNativePointer func, KNativePointerArray annotations, KUInt annotationsSequenceLength, KBoolean isAnonymous) -{ - const auto _context = reinterpret_cast(context); - const auto _func = reinterpret_cast(func); - const auto _annotations = reinterpret_cast(annotations); - const auto _annotationsSequenceLength = static_cast(annotationsSequenceLength); - const auto _isAnonymous = static_cast(isAnonymous); - auto result = GetImpl()->CreateFunctionDeclaration(_context, _func, _annotations, _annotationsSequenceLength, _isAnonymous); - return result; -} -KOALA_INTEROP_5(CreateFunctionDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KBoolean); - -KNativePointer impl_UpdateFunctionDeclaration(KNativePointer context, KNativePointer original, KNativePointer func, KNativePointerArray annotations, KUInt annotationsSequenceLength, KBoolean isAnonymous) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _func = reinterpret_cast(func); - const auto _annotations = reinterpret_cast(annotations); - const auto _annotationsSequenceLength = static_cast(annotationsSequenceLength); - const auto _isAnonymous = static_cast(isAnonymous); - auto result = GetImpl()->UpdateFunctionDeclaration(_context, _original, _func, _annotations, _annotationsSequenceLength, _isAnonymous); - return result; -} -KOALA_INTEROP_6(UpdateFunctionDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KBoolean); - -KNativePointer impl_CreateFunctionDeclaration1(KNativePointer context, KNativePointer func, KBoolean isAnonymous) -{ - const auto _context = reinterpret_cast(context); - const auto _func = reinterpret_cast(func); - const auto _isAnonymous = static_cast(isAnonymous); - auto result = GetImpl()->CreateFunctionDeclaration1(_context, _func, _isAnonymous); - return result; -} -KOALA_INTEROP_3(CreateFunctionDeclaration1, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateFunctionDeclaration1(KNativePointer context, KNativePointer original, KNativePointer func, KBoolean isAnonymous) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _func = reinterpret_cast(func); - const auto _isAnonymous = static_cast(isAnonymous); - auto result = GetImpl()->UpdateFunctionDeclaration1(_context, _original, _func, _isAnonymous); - return result; -} -KOALA_INTEROP_4(UpdateFunctionDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_FunctionDeclarationFunction(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionDeclarationFunction(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionDeclarationFunction, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_FunctionDeclarationIsAnonymousConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionDeclarationIsAnonymousConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionDeclarationIsAnonymousConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionDeclarationFunctionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionDeclarationFunctionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(FunctionDeclarationFunctionConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_FunctionDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionDeclarationHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_FunctionDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->FunctionDeclarationEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(FunctionDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_FunctionDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->FunctionDeclarationClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(FunctionDeclarationClearAnnotations, KNativePointer, KNativePointer); - -void impl_FunctionDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->FunctionDeclarationDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(FunctionDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->FunctionDeclarationAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(FunctionDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionDeclarationAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->FunctionDeclarationAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(FunctionDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->FunctionDeclarationAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(FunctionDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_FunctionDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->FunctionDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(FunctionDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_FunctionDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->FunctionDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(FunctionDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateETSTypeReference(KNativePointer context, KNativePointer part) -{ - const auto _context = reinterpret_cast(context); - const auto _part = reinterpret_cast(part); - auto result = GetImpl()->CreateETSTypeReference(_context, _part); - return result; -} -KOALA_INTEROP_2(CreateETSTypeReference, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSTypeReference(KNativePointer context, KNativePointer original, KNativePointer part) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _part = reinterpret_cast(part); - auto result = GetImpl()->UpdateETSTypeReference(_context, _original, _part); - return result; -} -KOALA_INTEROP_3(UpdateETSTypeReference, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePart(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePart(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSTypeReferencePart, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSTypeReferencePartConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferenceBaseNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferenceBaseNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSTypeReferenceBaseNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeReference(KNativePointer context, KNativePointer typeName, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _typeName = reinterpret_cast(typeName); - const auto _typeParams = reinterpret_cast(typeParams); - auto result = GetImpl()->CreateTSTypeReference(_context, _typeName, _typeParams); - return result; -} -KOALA_INTEROP_3(CreateTSTypeReference, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSTypeReference(KNativePointer context, KNativePointer original, KNativePointer typeName, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeName = reinterpret_cast(typeName); - const auto _typeParams = reinterpret_cast(typeParams); - auto result = GetImpl()->UpdateTSTypeReference(_context, _original, _typeName, _typeParams); - return result; -} -KOALA_INTEROP_4(UpdateTSTypeReference, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeReferenceTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeReferenceTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeReferenceTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeReferenceTypeNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeReferenceTypeNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeReferenceTypeNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeReferenceBaseNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeReferenceBaseNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeReferenceBaseNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateNamedType(KNativePointer context, KNativePointer name) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - auto result = GetImpl()->CreateNamedType(_context, _name); - return result; -} -KOALA_INTEROP_2(CreateNamedType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateNamedType(KNativePointer context, KNativePointer original, KNativePointer name) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - auto result = GetImpl()->UpdateNamedType(_context, _original, _name); - return result; -} -KOALA_INTEROP_3(UpdateNamedType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_NamedTypeNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->NamedTypeNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(NamedTypeNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_NamedTypeTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->NamedTypeTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(NamedTypeTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_NamedTypeIsNullableConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->NamedTypeIsNullableConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(NamedTypeIsNullableConst, KBoolean, KNativePointer, KNativePointer); - -void impl_NamedTypeSetNullable(KNativePointer context, KNativePointer receiver, KBoolean nullable) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _nullable = static_cast(nullable); - GetImpl()->NamedTypeSetNullable(_context, _receiver, _nullable); - return ; -} -KOALA_INTEROP_V3(NamedTypeSetNullable, KNativePointer, KNativePointer, KBoolean); - -void impl_NamedTypeSetNext(KNativePointer context, KNativePointer receiver, KNativePointer next) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _next = reinterpret_cast(next); - GetImpl()->NamedTypeSetNext(_context, _receiver, _next); - return ; -} -KOALA_INTEROP_V3(NamedTypeSetNext, KNativePointer, KNativePointer, KNativePointer); - -void impl_NamedTypeSetTypeParams(KNativePointer context, KNativePointer receiver, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeParams = reinterpret_cast(typeParams); - GetImpl()->NamedTypeSetTypeParams(_context, _receiver, _typeParams); - return ; -} -KOALA_INTEROP_V3(NamedTypeSetTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSFunctionType(KNativePointer context, KNativePointer signature) -{ - const auto _context = reinterpret_cast(context); - const auto _signature = reinterpret_cast(signature); - auto result = GetImpl()->CreateTSFunctionType(_context, _signature); - return result; -} -KOALA_INTEROP_2(CreateTSFunctionType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSFunctionType(KNativePointer context, KNativePointer original, KNativePointer signature) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _signature = reinterpret_cast(signature); - auto result = GetImpl()->UpdateTSFunctionType(_context, _original, _signature); - return result; -} -KOALA_INTEROP_3(UpdateTSFunctionType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSFunctionTypeTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSFunctionTypeTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSFunctionTypeTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSFunctionTypeTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSFunctionTypeTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSFunctionTypeTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSFunctionTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSFunctionTypeParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSFunctionTypeReturnTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSFunctionTypeReturnTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSFunctionTypeReturnTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSFunctionTypeReturnType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSFunctionTypeReturnType(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSFunctionTypeReturnType, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSFunctionTypeSetNullable(KNativePointer context, KNativePointer receiver, KBoolean nullable) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _nullable = static_cast(nullable); - GetImpl()->TSFunctionTypeSetNullable(_context, _receiver, _nullable); - return ; -} -KOALA_INTEROP_V3(TSFunctionTypeSetNullable, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_CreateTemplateElement(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTemplateElement(_context); - return result; -} -KOALA_INTEROP_1(CreateTemplateElement, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTemplateElement(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTemplateElement(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTemplateElement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTemplateElement1(KNativePointer context, KStringPtr& raw, KStringPtr& cooked) -{ - const auto _context = reinterpret_cast(context); - const auto _raw = getStringCopy(raw); - const auto _cooked = getStringCopy(cooked); - auto result = GetImpl()->CreateTemplateElement1(_context, _raw, _cooked); - return result; -} -KOALA_INTEROP_3(CreateTemplateElement1, KNativePointer, KNativePointer, KStringPtr, KStringPtr); - -KNativePointer impl_UpdateTemplateElement1(KNativePointer context, KNativePointer original, KStringPtr& raw, KStringPtr& cooked) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _raw = getStringCopy(raw); - const auto _cooked = getStringCopy(cooked); - auto result = GetImpl()->UpdateTemplateElement1(_context, _original, _raw, _cooked); - return result; -} -KOALA_INTEROP_4(UpdateTemplateElement1, KNativePointer, KNativePointer, KNativePointer, KStringPtr, KStringPtr); - -KNativePointer impl_TemplateElementRawConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TemplateElementRawConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TemplateElementRawConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TemplateElementCookedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TemplateElementCookedConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TemplateElementCookedConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSInterfaceDeclaration(KNativePointer context, KNativePointerArray _extends, KUInt _extendsSequenceLength, KNativePointer id, KNativePointer typeParams, KNativePointer body, KBoolean isStatic, KBoolean isExternal) -{ - const auto _context = reinterpret_cast(context); - const auto __extends = reinterpret_cast(_extends); - const auto __extendsSequenceLength = static_cast(_extendsSequenceLength); - const auto _id = reinterpret_cast(id); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _body = reinterpret_cast(body); - const auto _isStatic = static_cast(isStatic); - const auto _isExternal = static_cast(isExternal); - auto result = GetImpl()->CreateTSInterfaceDeclaration(_context, __extends, __extendsSequenceLength, _id, _typeParams, _body, _isStatic, _isExternal); - return result; -} -KOALA_INTEROP_8(CreateTSInterfaceDeclaration, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_UpdateTSInterfaceDeclaration(KNativePointer context, KNativePointer original, KNativePointerArray _extends, KUInt _extendsSequenceLength, KNativePointer id, KNativePointer typeParams, KNativePointer body, KBoolean isStatic, KBoolean isExternal) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto __extends = reinterpret_cast(_extends); - const auto __extendsSequenceLength = static_cast(_extendsSequenceLength); - const auto _id = reinterpret_cast(id); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _body = reinterpret_cast(body); - const auto _isStatic = static_cast(isStatic); - const auto _isExternal = static_cast(isExternal); - auto result = GetImpl()->UpdateTSInterfaceDeclaration(_context, _original, __extends, __extendsSequenceLength, _id, _typeParams, _body, _isStatic, _isExternal); - return result; -} -KOALA_INTEROP_9(UpdateTSInterfaceDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_TSInterfaceDeclarationBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationId(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationId(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationId, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationIdConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationIdConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationInternalNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationInternalNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TSInterfaceDeclarationInternalNameConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationSetInternalName(KNativePointer context, KNativePointer receiver, KStringPtr& internalName) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _internalName = getStringCopy(internalName); - GetImpl()->TSInterfaceDeclarationSetInternalName(_context, _receiver, _internalName); - return ; -} -KOALA_INTEROP_V3(TSInterfaceDeclarationSetInternalName, KNativePointer, KNativePointer, KStringPtr); - -KBoolean impl_TSInterfaceDeclarationIsStaticConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationIsStaticConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationIsStaticConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSInterfaceDeclarationIsFromExternalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationIsFromExternalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationIsFromExternalConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationExtends(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceDeclarationExtends(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceDeclarationExtends, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationExtendsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceDeclarationExtendsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceDeclarationExtendsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationExtendsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceDeclarationExtendsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceDeclarationExtendsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationGetAnonClass(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationGetAnonClass(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationGetAnonClass, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationGetAnonClassConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationGetAnonClassConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationGetAnonClassConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationSetAnonClass(KNativePointer context, KNativePointer receiver, KNativePointer anonClass) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _anonClass = reinterpret_cast(anonClass); - GetImpl()->TSInterfaceDeclarationSetAnonClass(_context, _receiver, _anonClass); - return ; -} -KOALA_INTEROP_V3(TSInterfaceDeclarationSetAnonClass, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationEmplaceExtends(KNativePointer context, KNativePointer receiver, KNativePointer _extends) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto __extends = reinterpret_cast(_extends); - GetImpl()->TSInterfaceDeclarationEmplaceExtends(_context, _receiver, __extends); - return ; -} -KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceExtends, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationClearExtends(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TSInterfaceDeclarationClearExtends(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TSInterfaceDeclarationClearExtends, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationSetValueExtends(KNativePointer context, KNativePointer receiver, KNativePointer _extends, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto __extends = reinterpret_cast(_extends); - const auto _index = static_cast(index); - GetImpl()->TSInterfaceDeclarationSetValueExtends(_context, _receiver, __extends, _index); - return ; -} -KOALA_INTEROP_V4(TSInterfaceDeclarationSetValueExtends, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KBoolean impl_TSInterfaceDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceDeclarationHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->TSInterfaceDeclarationEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(TSInterfaceDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TSInterfaceDeclarationClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TSInterfaceDeclarationClearAnnotations, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->TSInterfaceDeclarationDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(TSInterfaceDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceDeclarationAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceDeclarationAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceDeclarationAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSInterfaceDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TSInterfaceDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TSInterfaceDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_TSInterfaceDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TSInterfaceDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TSInterfaceDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateVariableDeclaration(KNativePointer context, KInt kind, KNativePointerArray declarators, KUInt declaratorsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _kind = static_cast(kind); - const auto _declarators = reinterpret_cast(declarators); - const auto _declaratorsSequenceLength = static_cast(declaratorsSequenceLength); - auto result = GetImpl()->CreateVariableDeclaration(_context, _kind, _declarators, _declaratorsSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateVariableDeclaration, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateVariableDeclaration(KNativePointer context, KNativePointer original, KInt kind, KNativePointerArray declarators, KUInt declaratorsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _kind = static_cast(kind); - const auto _declarators = reinterpret_cast(declarators); - const auto _declaratorsSequenceLength = static_cast(declaratorsSequenceLength); - auto result = GetImpl()->UpdateVariableDeclaration(_context, _original, _kind, _declarators, _declaratorsSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateVariableDeclaration, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt); - -KNativePointer impl_VariableDeclarationDeclaratorsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->VariableDeclarationDeclaratorsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(VariableDeclarationDeclaratorsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclarationDeclarators(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->VariableDeclarationDeclarators(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(VariableDeclarationDeclarators, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclarationDeclaratorsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->VariableDeclarationDeclaratorsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(VariableDeclarationDeclaratorsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_VariableDeclarationKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclarationKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(VariableDeclarationKindConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclarationGetDeclaratorByNameConst(KNativePointer context, KNativePointer receiver, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _name = getStringCopy(name); - auto result = GetImpl()->VariableDeclarationGetDeclaratorByNameConst(_context, _receiver, _name); - return (void*)result; -} -KOALA_INTEROP_3(VariableDeclarationGetDeclaratorByNameConst, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KBoolean impl_VariableDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclarationHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(VariableDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_VariableDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->VariableDeclarationEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(VariableDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_VariableDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->VariableDeclarationClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(VariableDeclarationClearAnnotations, KNativePointer, KNativePointer); - -void impl_VariableDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->VariableDeclarationDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(VariableDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->VariableDeclarationAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(VariableDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclarationAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->VariableDeclarationAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(VariableDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->VariableDeclarationAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(VariableDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_VariableDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->VariableDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(VariableDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_VariableDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->VariableDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(VariableDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateUndefinedLiteral(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateUndefinedLiteral(_context); - return result; -} -KOALA_INTEROP_1(CreateUndefinedLiteral, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateUndefinedLiteral(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateUndefinedLiteral(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateUndefinedLiteral, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateMemberExpression(KNativePointer context, KNativePointer object_arg, KNativePointer property, KInt kind, KBoolean computed, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _object_arg = reinterpret_cast(object_arg); - const auto _property = reinterpret_cast(property); - const auto _kind = static_cast(kind); - const auto _computed = static_cast(computed); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->CreateMemberExpression(_context, _object_arg, _property, _kind, _computed, _optional_arg); - return result; -} -KOALA_INTEROP_6(CreateMemberExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean, KBoolean); - -KNativePointer impl_UpdateMemberExpression(KNativePointer context, KNativePointer original, KNativePointer object_arg, KNativePointer property, KInt kind, KBoolean computed, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _object_arg = reinterpret_cast(object_arg); - const auto _property = reinterpret_cast(property); - const auto _kind = static_cast(kind); - const auto _computed = static_cast(computed); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->UpdateMemberExpression(_context, _original, _object_arg, _property, _kind, _computed, _optional_arg); - return result; -} -KOALA_INTEROP_7(UpdateMemberExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean, KBoolean); - -KNativePointer impl_MemberExpressionObject(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionObject(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MemberExpressionObject, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MemberExpressionObjectConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionObjectConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(MemberExpressionObjectConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_MemberExpressionSetObject(KNativePointer context, KNativePointer receiver, KNativePointer object_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _object_arg = reinterpret_cast(object_arg); - GetImpl()->MemberExpressionSetObject(_context, _receiver, _object_arg); - return ; -} -KOALA_INTEROP_V3(MemberExpressionSetObject, KNativePointer, KNativePointer, KNativePointer); - -void impl_MemberExpressionSetProperty(KNativePointer context, KNativePointer receiver, KNativePointer prop) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _prop = reinterpret_cast(prop); - GetImpl()->MemberExpressionSetProperty(_context, _receiver, _prop); - return ; -} -KOALA_INTEROP_V3(MemberExpressionSetProperty, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MemberExpressionProperty(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionProperty(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MemberExpressionProperty, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MemberExpressionPropertyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionPropertyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(MemberExpressionPropertyConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_MemberExpressionIsComputedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionIsComputedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MemberExpressionIsComputedConst, KBoolean, KNativePointer, KNativePointer); - -KInt impl_MemberExpressionKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MemberExpressionKindConst, KInt, KNativePointer, KNativePointer); - -void impl_MemberExpressionAddMemberKind(KNativePointer context, KNativePointer receiver, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _kind = static_cast(kind); - GetImpl()->MemberExpressionAddMemberKind(_context, _receiver, _kind); - return ; -} -KOALA_INTEROP_V3(MemberExpressionAddMemberKind, KNativePointer, KNativePointer, KInt); - -KBoolean impl_MemberExpressionHasMemberKindConst(KNativePointer context, KNativePointer receiver, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _kind = static_cast(kind); - auto result = GetImpl()->MemberExpressionHasMemberKindConst(_context, _receiver, _kind); - return result; -} -KOALA_INTEROP_3(MemberExpressionHasMemberKindConst, KBoolean, KNativePointer, KNativePointer, KInt); - -void impl_MemberExpressionRemoveMemberKind(KNativePointer context, KNativePointer receiver, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _kind = static_cast(kind); - GetImpl()->MemberExpressionRemoveMemberKind(_context, _receiver, _kind); - return ; -} -KOALA_INTEROP_V3(MemberExpressionRemoveMemberKind, KNativePointer, KNativePointer, KInt); - -KBoolean impl_MemberExpressionIsIgnoreBoxConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionIsIgnoreBoxConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MemberExpressionIsIgnoreBoxConst, KBoolean, KNativePointer, KNativePointer); - -void impl_MemberExpressionSetIgnoreBox(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->MemberExpressionSetIgnoreBox(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(MemberExpressionSetIgnoreBox, KNativePointer, KNativePointer); - -KBoolean impl_MemberExpressionIsPrivateReferenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MemberExpressionIsPrivateReferenceConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MemberExpressionIsPrivateReferenceConst, KBoolean, KNativePointer, KNativePointer); - -void impl_MemberExpressionCompileToRegConst(KNativePointer context, KNativePointer receiver, KNativePointer pg, KNativePointer objReg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _pg = reinterpret_cast(pg); - const auto _objReg = reinterpret_cast(objReg); - GetImpl()->MemberExpressionCompileToRegConst(_context, _receiver, _pg, _objReg); - return ; -} -KOALA_INTEROP_V4(MemberExpressionCompileToRegConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -void impl_MemberExpressionCompileToRegsConst(KNativePointer context, KNativePointer receiver, KNativePointer pg, KNativePointer object_arg, KNativePointer property) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _pg = reinterpret_cast(pg); - const auto _object_arg = reinterpret_cast(object_arg); - const auto _property = reinterpret_cast(property); - GetImpl()->MemberExpressionCompileToRegsConst(_context, _receiver, _pg, _object_arg, _property); - return ; -} -KOALA_INTEROP_V5(MemberExpressionCompileToRegsConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSClassImplements(KNativePointer context, KNativePointer expression, KNativePointer typeParameters) -{ - const auto _context = reinterpret_cast(context); - const auto _expression = reinterpret_cast(expression); - const auto _typeParameters = reinterpret_cast(typeParameters); - auto result = GetImpl()->CreateTSClassImplements(_context, _expression, _typeParameters); - return result; -} -KOALA_INTEROP_3(CreateTSClassImplements, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSClassImplements(KNativePointer context, KNativePointer original, KNativePointer expression, KNativePointer typeParameters) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expression = reinterpret_cast(expression); - const auto _typeParameters = reinterpret_cast(typeParameters); - auto result = GetImpl()->UpdateTSClassImplements(_context, _original, _expression, _typeParameters); - return result; -} -KOALA_INTEROP_4(UpdateTSClassImplements, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSClassImplements1(KNativePointer context, KNativePointer expression) -{ - const auto _context = reinterpret_cast(context); - const auto _expression = reinterpret_cast(expression); - auto result = GetImpl()->CreateTSClassImplements1(_context, _expression); - return result; -} -KOALA_INTEROP_2(CreateTSClassImplements1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSClassImplements1(KNativePointer context, KNativePointer original, KNativePointer expression) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expression = reinterpret_cast(expression); - auto result = GetImpl()->UpdateTSClassImplements1(_context, _original, _expression); - return result; -} -KOALA_INTEROP_3(UpdateTSClassImplements1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSClassImplementsExpr(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSClassImplementsExpr(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSClassImplementsExpr, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSClassImplementsExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSClassImplementsExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSClassImplementsExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSClassImplementsTypeParametersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSClassImplementsTypeParametersConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSClassImplementsTypeParametersConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSObjectKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSObjectKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSObjectKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSObjectKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSObjectKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSObjectKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSUnionType(KNativePointer context, KNativePointerArray types, KUInt typesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _types = reinterpret_cast(types); - const auto _typesSequenceLength = static_cast(typesSequenceLength); - auto result = GetImpl()->CreateETSUnionTypeIr(_context, _types, _typesSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateETSUnionType, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateETSUnionType(KNativePointer context, KNativePointer original, KNativePointerArray types, KUInt typesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _types = reinterpret_cast(types); - const auto _typesSequenceLength = static_cast(typesSequenceLength); - auto result = GetImpl()->UpdateETSUnionTypeIr(_context, _original, _types, _typesSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateETSUnionType, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_ETSUnionTypeTypesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSUnionTypeIrTypesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSUnionTypeSetValueTypesConst(KNativePointer context, KNativePointer receiver, KNativePointer type, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _type = reinterpret_cast(type); - const auto _index = static_cast(index); - GetImpl()->ETSUnionTypeIrSetValueTypesConst(_context, _receiver, _type, _index); - return ; -} -KOALA_INTEROP_V4(ETSUnionTypeSetValueTypesConst, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_CreateETSKeyofType(KNativePointer context, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _type = reinterpret_cast(type); - auto result = GetImpl()->CreateETSKeyofType(_context, _type); - return result; -} -KOALA_INTEROP_2(CreateETSKeyofType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSKeyofType(KNativePointer context, KNativePointer original, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _type = reinterpret_cast(type); - auto result = GetImpl()->UpdateETSKeyofType(_context, _original, _type); - return result; -} -KOALA_INTEROP_3(UpdateETSKeyofType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSKeyofTypeGetTypeRefConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSKeyofTypeGetTypeRefConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSKeyofTypeGetTypeRefConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSPropertySignature(KNativePointer context, KNativePointer key, KNativePointer typeAnnotation, KBoolean computed, KBoolean optional_arg, KBoolean readonly_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _computed = static_cast(computed); - const auto _optional_arg = static_cast(optional_arg); - const auto _readonly_arg = static_cast(readonly_arg); - auto result = GetImpl()->CreateTSPropertySignature(_context, _key, _typeAnnotation, _computed, _optional_arg, _readonly_arg); - return result; -} -KOALA_INTEROP_6(CreateTSPropertySignature, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean, KBoolean); - -KNativePointer impl_UpdateTSPropertySignature(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointer typeAnnotation, KBoolean computed, KBoolean optional_arg, KBoolean readonly_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _computed = static_cast(computed); - const auto _optional_arg = static_cast(optional_arg); - const auto _readonly_arg = static_cast(readonly_arg); - auto result = GetImpl()->UpdateTSPropertySignature(_context, _original, _key, _typeAnnotation, _computed, _optional_arg, _readonly_arg); - return result; -} -KOALA_INTEROP_7(UpdateTSPropertySignature, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean, KBoolean); - -KNativePointer impl_TSPropertySignatureKeyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSPropertySignatureKeyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSPropertySignatureKeyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSPropertySignatureKey(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSPropertySignatureKey(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSPropertySignatureKey, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSPropertySignatureComputedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSPropertySignatureComputedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSPropertySignatureComputedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSPropertySignatureOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSPropertySignatureOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSPropertySignatureOptionalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSPropertySignatureReadonlyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSPropertySignatureReadonlyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSPropertySignatureReadonlyConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_TSPropertySignatureTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSPropertySignatureTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSPropertySignatureTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSPropertySignatureSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->TSPropertySignatureSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(TSPropertySignatureSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSConditionalType(KNativePointer context, KNativePointer checkType, KNativePointer extendsType, KNativePointer trueType, KNativePointer falseType) -{ - const auto _context = reinterpret_cast(context); - const auto _checkType = reinterpret_cast(checkType); - const auto _extendsType = reinterpret_cast(extendsType); - const auto _trueType = reinterpret_cast(trueType); - const auto _falseType = reinterpret_cast(falseType); - auto result = GetImpl()->CreateTSConditionalType(_context, _checkType, _extendsType, _trueType, _falseType); - return result; -} -KOALA_INTEROP_5(CreateTSConditionalType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSConditionalType(KNativePointer context, KNativePointer original, KNativePointer checkType, KNativePointer extendsType, KNativePointer trueType, KNativePointer falseType) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _checkType = reinterpret_cast(checkType); - const auto _extendsType = reinterpret_cast(extendsType); - const auto _trueType = reinterpret_cast(trueType); - const auto _falseType = reinterpret_cast(falseType); - auto result = GetImpl()->UpdateTSConditionalType(_context, _original, _checkType, _extendsType, _trueType, _falseType); - return result; -} -KOALA_INTEROP_6(UpdateTSConditionalType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConditionalTypeCheckTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConditionalTypeCheckTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSConditionalTypeCheckTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConditionalTypeExtendsTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConditionalTypeExtendsTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSConditionalTypeExtendsTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConditionalTypeTrueTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConditionalTypeTrueTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSConditionalTypeTrueTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSConditionalTypeFalseTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSConditionalTypeFalseTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSConditionalTypeFalseTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSLiteralType(KNativePointer context, KNativePointer literal) -{ - const auto _context = reinterpret_cast(context); - const auto _literal = reinterpret_cast(literal); - auto result = GetImpl()->CreateTSLiteralType(_context, _literal); - return result; -} -KOALA_INTEROP_2(CreateTSLiteralType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSLiteralType(KNativePointer context, KNativePointer original, KNativePointer literal) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _literal = reinterpret_cast(literal); - auto result = GetImpl()->UpdateTSLiteralType(_context, _original, _literal); - return result; -} -KOALA_INTEROP_3(UpdateTSLiteralType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSLiteralTypeLiteralConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSLiteralTypeLiteralConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSLiteralTypeLiteralConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeAliasDeclaration(KNativePointer context, KNativePointer id, KNativePointer typeParams, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _id = reinterpret_cast(id); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - auto result = GetImpl()->CreateTSTypeAliasDeclaration(_context, _id, _typeParams, _typeAnnotation); - return result; -} -KOALA_INTEROP_4(CreateTSTypeAliasDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSTypeAliasDeclaration(KNativePointer context, KNativePointer original, KNativePointer id, KNativePointer typeParams, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _id = reinterpret_cast(id); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - auto result = GetImpl()->UpdateTSTypeAliasDeclaration(_context, _original, _id, _typeParams, _typeAnnotation); - return result; -} -KOALA_INTEROP_5(UpdateTSTypeAliasDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeAliasDeclaration1(KNativePointer context, KNativePointer id) -{ - const auto _context = reinterpret_cast(context); - const auto _id = reinterpret_cast(id); - auto result = GetImpl()->CreateTSTypeAliasDeclaration1(_context, _id); - return result; -} -KOALA_INTEROP_2(CreateTSTypeAliasDeclaration1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSTypeAliasDeclaration1(KNativePointer context, KNativePointer original, KNativePointer id) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _id = reinterpret_cast(id); - auto result = GetImpl()->UpdateTSTypeAliasDeclaration1(_context, _original, _id); - return result; -} -KOALA_INTEROP_3(UpdateTSTypeAliasDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationId(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAliasDeclarationId(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationId, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAliasDeclarationIdConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationIdConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAliasDeclarationTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationSetTypeParameters(KNativePointer context, KNativePointer receiver, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeParams = reinterpret_cast(typeParams); - GetImpl()->TSTypeAliasDeclarationSetTypeParameters(_context, _receiver, _typeParams); - return ; -} -KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTypeParameters, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationClearTypeParamterTypes(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TSTypeAliasDeclarationClearTypeParamterTypes(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TSTypeAliasDeclarationClearTypeParamterTypes, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAliasDeclarationTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->TSTypeAliasDeclarationSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(TSTypeAliasDeclarationSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSTypeAliasDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAliasDeclarationHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->TSTypeAliasDeclarationEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(TSTypeAliasDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TSTypeAliasDeclarationClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TSTypeAliasDeclarationClearAnnotations, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->TSTypeAliasDeclarationDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(TSTypeAliasDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeAliasDeclarationAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAliasDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeAliasDeclarationAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeAliasDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeAliasDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TSTypeAliasDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_TSTypeAliasDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TSTypeAliasDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TSTypeAliasDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateDebuggerStatement(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateDebuggerStatement(_context); - return result; -} -KOALA_INTEROP_1(CreateDebuggerStatement, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateDebuggerStatement(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateDebuggerStatement(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateDebuggerStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateReturnStatement(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateReturnStatement(_context); - return result; -} -KOALA_INTEROP_1(CreateReturnStatement, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateReturnStatement(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateReturnStatement(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateReturnStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateReturnStatement1(KNativePointer context, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->CreateReturnStatement1(_context, _argument); - return result; -} -KOALA_INTEROP_2(CreateReturnStatement1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateReturnStatement1(KNativePointer context, KNativePointer original, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->UpdateReturnStatement1(_context, _original, _argument); - return result; -} -KOALA_INTEROP_3(UpdateReturnStatement1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ReturnStatementArgument(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ReturnStatementArgument(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ReturnStatementArgument, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ReturnStatementArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ReturnStatementArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ReturnStatementArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ReturnStatementSetArgument(KNativePointer context, KNativePointer receiver, KNativePointer arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _arg = reinterpret_cast(arg); - GetImpl()->ReturnStatementSetArgument(_context, _receiver, _arg); - return ; -} -KOALA_INTEROP_V3(ReturnStatementSetArgument, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ReturnStatementIsAsyncImplReturnConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ReturnStatementIsAsyncImplReturnConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ReturnStatementIsAsyncImplReturnConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateExportDefaultDeclaration(KNativePointer context, KNativePointer decl, KBoolean exportEquals) -{ - const auto _context = reinterpret_cast(context); - const auto _decl = reinterpret_cast(decl); - const auto _exportEquals = static_cast(exportEquals); - auto result = GetImpl()->CreateExportDefaultDeclaration(_context, _decl, _exportEquals); - return result; -} -KOALA_INTEROP_3(CreateExportDefaultDeclaration, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateExportDefaultDeclaration(KNativePointer context, KNativePointer original, KNativePointer decl, KBoolean exportEquals) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _decl = reinterpret_cast(decl); - const auto _exportEquals = static_cast(exportEquals); - auto result = GetImpl()->UpdateExportDefaultDeclaration(_context, _original, _decl, _exportEquals); - return result; -} -KOALA_INTEROP_4(UpdateExportDefaultDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_ExportDefaultDeclarationDecl(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportDefaultDeclarationDecl(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExportDefaultDeclarationDecl, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportDefaultDeclarationDeclConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportDefaultDeclarationDeclConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportDefaultDeclarationDeclConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ExportDefaultDeclarationIsExportEqualsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportDefaultDeclarationIsExportEqualsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExportDefaultDeclarationIsExportEqualsConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateScriptFunction(KNativePointer context, KNativePointer databody, KNativePointer datasignature, KInt datafuncFlags, KInt dataflags) -{ - const auto _context = reinterpret_cast(context); - const auto _databody = reinterpret_cast(databody); - const auto _datasignature = reinterpret_cast(datasignature); - const auto _datafuncFlags = static_cast(datafuncFlags); - const auto _dataflags = static_cast(dataflags); - auto result = GetImpl()->CreateScriptFunction(_context, _databody, _datasignature, _datafuncFlags, _dataflags); - return result; -} -KOALA_INTEROP_5(CreateScriptFunction, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KInt); - -KNativePointer impl_UpdateScriptFunction(KNativePointer context, KNativePointer original, KNativePointer databody, KNativePointer datasignature, KInt datafuncFlags, KInt dataflags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _databody = reinterpret_cast(databody); - const auto _datasignature = reinterpret_cast(datasignature); - const auto _datafuncFlags = static_cast(datafuncFlags); - const auto _dataflags = static_cast(dataflags); - auto result = GetImpl()->UpdateScriptFunction(_context, _original, _databody, _datasignature, _datafuncFlags, _dataflags); - return result; -} -KOALA_INTEROP_6(UpdateScriptFunction, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KInt); - -KNativePointer impl_ScriptFunctionIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIdConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ScriptFunctionIdConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionId(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionId(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionId, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionParams(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionReturnStatementsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionReturnStatementsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionReturnStatementsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionReturnStatements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionReturnStatements(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionReturnStatements, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionReturnStatementsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionReturnStatementsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionReturnStatementsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ScriptFunctionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ScriptFunctionBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionBody, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionAddReturnStatement(KNativePointer context, KNativePointer receiver, KNativePointer returnStatement) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _returnStatement = reinterpret_cast(returnStatement); - GetImpl()->ScriptFunctionAddReturnStatement(_context, _receiver, _returnStatement); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionAddReturnStatement, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetBody(KNativePointer context, KNativePointer receiver, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _body = reinterpret_cast(body); - GetImpl()->ScriptFunctionSetBody(_context, _receiver, _body); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionSetBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionReturnTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionReturnTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ScriptFunctionReturnTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionReturnTypeAnnotation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionReturnTypeAnnotation(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionReturnTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetReturnTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _node = reinterpret_cast(node); - GetImpl()->ScriptFunctionSetReturnTypeAnnotation(_context, _receiver, _node); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionSetReturnTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsEntryPointConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsEntryPointConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsEntryPointConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsGeneratorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsGeneratorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsGeneratorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsAsyncFuncConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsAsyncFuncConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsAsyncFuncConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsAsyncImplFuncConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsAsyncImplFuncConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsAsyncImplFuncConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsArrowConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsArrowConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsArrowConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsOverloadConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsOverloadConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsOverloadConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsExternalOverloadConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsExternalOverloadConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsExternalOverloadConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsConstructorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsConstructorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsConstructorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsGetterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsGetterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsGetterConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsSetterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsSetterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsSetterConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsExtensionAccessorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsExtensionAccessorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsExtensionAccessorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsMethodConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsProxyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsProxyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsProxyConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsStaticBlockConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsStaticBlockConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsStaticBlockConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsEnumConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsEnumConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsEnumConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsHiddenConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsHiddenConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsHiddenConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsExternalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsExternalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsExternalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsImplicitSuperCallNeededConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsImplicitSuperCallNeededConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsImplicitSuperCallNeededConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionHasBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionHasBodyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionHasBodyConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionHasRestParameterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionHasRestParameterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionHasRestParameterConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionHasReturnStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionHasReturnStatementConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionHasReturnStatementConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionHasThrowStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionHasThrowStatementConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionHasThrowStatementConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsTrailingLambdaConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsTrailingLambdaConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsTrailingLambdaConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsSyntheticConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsSyntheticConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsSyntheticConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsDynamicConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsDynamicConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsDynamicConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionIsExtensionMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionIsExtensionMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionIsExtensionMethodConst, KBoolean, KNativePointer, KNativePointer); - -KInt impl_ScriptFunctionFlagsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionFlagsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionFlagsConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionHasReceiverConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionHasReceiverConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionHasReceiverConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetIdent(KNativePointer context, KNativePointer receiver, KNativePointer id) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _id = reinterpret_cast(id); - GetImpl()->ScriptFunctionSetIdent(_context, _receiver, _id); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionSetIdent, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionAddFlag(KNativePointer context, KNativePointer receiver, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flags = static_cast(flags); - GetImpl()->ScriptFunctionAddFlag(_context, _receiver, _flags); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionAddFlag, KNativePointer, KNativePointer, KInt); - -void impl_ScriptFunctionClearFlag(KNativePointer context, KNativePointer receiver, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flags = static_cast(flags); - GetImpl()->ScriptFunctionClearFlag(_context, _receiver, _flags); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionClearFlag, KNativePointer, KNativePointer, KInt); - -KUInt impl_ScriptFunctionFormalParamsLengthConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionFormalParamsLengthConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionFormalParamsLengthConst, KUInt, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetAsyncPairMethod(KNativePointer context, KNativePointer receiver, KNativePointer asyncPairFunction) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _asyncPairFunction = reinterpret_cast(asyncPairFunction); - GetImpl()->ScriptFunctionSetAsyncPairMethod(_context, _receiver, _asyncPairFunction); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionSetAsyncPairMethod, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionAsyncPairMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionAsyncPairMethodConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ScriptFunctionAsyncPairMethodConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionAsyncPairMethod(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionAsyncPairMethod(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionAsyncPairMethod, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionEmplaceReturnStatements(KNativePointer context, KNativePointer receiver, KNativePointer returnStatements) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _returnStatements = reinterpret_cast(returnStatements); - GetImpl()->ScriptFunctionEmplaceReturnStatements(_context, _receiver, _returnStatements); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionEmplaceReturnStatements, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionClearReturnStatements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ScriptFunctionClearReturnStatements(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ScriptFunctionClearReturnStatements, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetValueReturnStatements(KNativePointer context, KNativePointer receiver, KNativePointer returnStatements, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _returnStatements = reinterpret_cast(returnStatements); - const auto _index = static_cast(index); - GetImpl()->ScriptFunctionSetValueReturnStatements(_context, _receiver, _returnStatements, _index); - return ; -} -KOALA_INTEROP_V4(ScriptFunctionSetValueReturnStatements, KNativePointer, KNativePointer, KNativePointer, KUInt); - -void impl_ScriptFunctionEmplaceParams(KNativePointer context, KNativePointer receiver, KNativePointer params) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _params = reinterpret_cast(params); - GetImpl()->ScriptFunctionEmplaceParams(_context, _receiver, _params); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionEmplaceParams, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetParams(KNativePointer context, KNativePointer receiver, KNativePointerArray paramsList, KUInt paramsListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _paramsList = reinterpret_cast(paramsList); - const auto _paramsListSequenceLength = static_cast(paramsListSequenceLength); - GetImpl()->ScriptFunctionSetParams(_context, _receiver, _paramsList, _paramsListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ScriptFunctionSetParams, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ScriptFunctionClearParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ScriptFunctionClearParams(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ScriptFunctionClearParams, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetValueParams(KNativePointer context, KNativePointer receiver, KNativePointer params, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _params = reinterpret_cast(params); - const auto _index = static_cast(index); - GetImpl()->ScriptFunctionSetValueParams(_context, _receiver, _params, _index); - return ; -} -KOALA_INTEROP_V4(ScriptFunctionSetValueParams, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_ScriptFunctionParamsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionParamsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionParamsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ScriptFunctionHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ScriptFunctionHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ScriptFunctionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ScriptFunctionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ScriptFunctionEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ScriptFunctionClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ScriptFunctionClearAnnotations, KNativePointer, KNativePointer); - -void impl_ScriptFunctionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->ScriptFunctionDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(ScriptFunctionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ScriptFunctionAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ScriptFunctionAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ScriptFunctionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ScriptFunctionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ScriptFunctionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ScriptFunctionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ScriptFunctionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ScriptFunctionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ScriptFunctionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateClassDefinition(KNativePointer context, KNativePointer ident, KNativePointer typeParams, KNativePointer superTypeParams, KNativePointerArray _implements, KUInt _implementsSequenceLength, KNativePointer ctor, KNativePointer superClass, KNativePointerArray body, KUInt bodySequenceLength, KInt modifiers, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _ident = reinterpret_cast(ident); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _superTypeParams = reinterpret_cast(superTypeParams); - const auto __implements = reinterpret_cast(_implements); - const auto __implementsSequenceLength = static_cast(_implementsSequenceLength); - const auto _ctor = reinterpret_cast(ctor); - const auto _superClass = reinterpret_cast(superClass); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - const auto _modifiers = static_cast(modifiers); - const auto _flags = static_cast(flags); - auto result = GetImpl()->CreateClassDefinition(_context, _ident, _typeParams, _superTypeParams, __implements, __implementsSequenceLength, _ctor, _superClass, _body, _bodySequenceLength, _modifiers, _flags); - return result; -} -KOALA_INTEROP_12(CreateClassDefinition, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt, KInt); - -KNativePointer impl_UpdateClassDefinition(KNativePointer context, KNativePointer original, KNativePointer ident, KNativePointer typeParams, KNativePointer superTypeParams, KNativePointerArray _implements, KUInt _implementsSequenceLength, KNativePointer ctor, KNativePointer superClass, KNativePointerArray body, KUInt bodySequenceLength, KInt modifiers, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _ident = reinterpret_cast(ident); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _superTypeParams = reinterpret_cast(superTypeParams); - const auto __implements = reinterpret_cast(_implements); - const auto __implementsSequenceLength = static_cast(_implementsSequenceLength); - const auto _ctor = reinterpret_cast(ctor); - const auto _superClass = reinterpret_cast(superClass); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - const auto _modifiers = static_cast(modifiers); - const auto _flags = static_cast(flags); - auto result = GetImpl()->UpdateClassDefinition(_context, _original, _ident, _typeParams, _superTypeParams, __implements, __implementsSequenceLength, _ctor, _superClass, _body, _bodySequenceLength, _modifiers, _flags); - return result; -} -KOALA_INTEROP_13(UpdateClassDefinition, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt, KInt); - -KNativePointer impl_CreateClassDefinition1(KNativePointer context, KNativePointer ident, KNativePointerArray body, KUInt bodySequenceLength, KInt modifiers, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _ident = reinterpret_cast(ident); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - const auto _modifiers = static_cast(modifiers); - const auto _flags = static_cast(flags); - auto result = GetImpl()->CreateClassDefinition1(_context, _ident, _body, _bodySequenceLength, _modifiers, _flags); - return result; -} -KOALA_INTEROP_6(CreateClassDefinition1, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt, KInt); - -KNativePointer impl_UpdateClassDefinition1(KNativePointer context, KNativePointer original, KNativePointer ident, KNativePointerArray body, KUInt bodySequenceLength, KInt modifiers, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _ident = reinterpret_cast(ident); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - const auto _modifiers = static_cast(modifiers); - const auto _flags = static_cast(flags); - auto result = GetImpl()->UpdateClassDefinition1(_context, _original, _ident, _body, _bodySequenceLength, _modifiers, _flags); - return result; -} -KOALA_INTEROP_7(UpdateClassDefinition1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt, KInt); - -KNativePointer impl_CreateClassDefinition2(KNativePointer context, KNativePointer ident, KInt modifiers, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _ident = reinterpret_cast(ident); - const auto _modifiers = static_cast(modifiers); - const auto _flags = static_cast(flags); - auto result = GetImpl()->CreateClassDefinition2(_context, _ident, _modifiers, _flags); - return result; -} -KOALA_INTEROP_4(CreateClassDefinition2, KNativePointer, KNativePointer, KNativePointer, KInt, KInt); - -KNativePointer impl_UpdateClassDefinition2(KNativePointer context, KNativePointer original, KNativePointer ident, KInt modifiers, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _ident = reinterpret_cast(ident); - const auto _modifiers = static_cast(modifiers); - const auto _flags = static_cast(flags); - auto result = GetImpl()->UpdateClassDefinition2(_context, _original, _ident, _modifiers, _flags); - return result; -} -KOALA_INTEROP_5(UpdateClassDefinition2, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KInt); - -KNativePointer impl_ClassDefinitionIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIdentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionIdentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIdent, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetIdent(KNativePointer context, KNativePointer receiver, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _ident = reinterpret_cast(ident); - GetImpl()->ClassDefinitionSetIdent(_context, _receiver, _ident); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionInternalNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionInternalNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ClassDefinitionInternalNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionSuper(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionSuper(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionSuper, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionSuperConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionSuperConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionSuperConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetSuper(KNativePointer context, KNativePointer receiver, KNativePointer superClass) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _superClass = reinterpret_cast(superClass); - GetImpl()->ClassDefinitionSetSuper(_context, _receiver, _superClass); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetSuper, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsGlobalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsGlobalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsGlobalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsLocalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsLocalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsLocalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsExternConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsExternConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsExternConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsFromExternalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsFromExternalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsFromExternalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsInnerConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsInnerConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsInnerConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsGlobalInitializedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsGlobalInitializedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsGlobalInitializedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsClassDefinitionCheckedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsClassDefinitionCheckedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsClassDefinitionCheckedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsAnonymousConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsAnonymousConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsAnonymousConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsIntEnumTransformedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsIntEnumTransformedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsIntEnumTransformedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsDoubleEnumTransformedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsDoubleEnumTransformedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsDoubleEnumTransformedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsStringEnumTransformedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsStringEnumTransformedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsStringEnumTransformedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsEnumTransformedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsEnumTransformedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsEnumTransformedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsNamespaceTransformedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsNamespaceTransformedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsNamespaceTransformedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsLazyImportObjectClassConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsLazyImportObjectClassConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsLazyImportObjectClassConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsFromStructConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsFromStructConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsFromStructConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsInitInCctorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsInitInCctorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsInitInCctorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionIsModuleConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionIsModuleConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionIsModuleConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetGlobalInitialized(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetGlobalInitialized(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetGlobalInitialized, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetInnerModifier(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetInnerModifier(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetInnerModifier, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetClassDefinitionChecked(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetClassDefinitionChecked(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetClassDefinitionChecked, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetAnonymousModifier(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetAnonymousModifier(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetAnonymousModifier, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetNamespaceTransformed(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetNamespaceTransformed(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetNamespaceTransformed, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetLazyImportObjectClass(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetLazyImportObjectClass(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetLazyImportObjectClass, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetFromStructModifier(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetFromStructModifier(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetFromStructModifier, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetInitInCctor(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionSetInitInCctor(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionSetInitInCctor, KNativePointer, KNativePointer); - -KInt impl_ClassDefinitionModifiersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionModifiersConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionModifiersConst, KInt, KNativePointer, KNativePointer); - -void impl_ClassDefinitionAddProperties(KNativePointer context, KNativePointer receiver, KNativePointerArray body, KUInt bodySequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - GetImpl()->ClassDefinitionAddProperties(_context, _receiver, _body, _bodySequenceLength); - return ; -} -KOALA_INTEROP_V4(ClassDefinitionAddProperties, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_ClassDefinitionBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionBodyConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionCtor(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionCtor(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionCtor, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionImplementsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionImplementsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionImplementsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionSuperTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionSuperTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionSuperTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionSuperTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionSuperTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionSuperTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_ClassDefinitionLocalTypeCounter(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionLocalTypeCounter(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionLocalTypeCounter, KInt, KNativePointer, KNativePointer); - -KInt impl_ClassDefinitionLocalIndexConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionLocalIndexConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionLocalIndexConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionFunctionalReferenceReferencedMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionFunctionalReferenceReferencedMethodConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionFunctionalReferenceReferencedMethodConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetFunctionalReferenceReferencedMethod(KNativePointer context, KNativePointer receiver, KNativePointer functionalReferenceReferencedMethod) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _functionalReferenceReferencedMethod = reinterpret_cast(functionalReferenceReferencedMethod); - GetImpl()->ClassDefinitionSetFunctionalReferenceReferencedMethod(_context, _receiver, _functionalReferenceReferencedMethod); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetFunctionalReferenceReferencedMethod, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionLocalPrefixConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionLocalPrefixConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ClassDefinitionLocalPrefixConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionOrigEnumDeclConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionOrigEnumDeclConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionOrigEnumDeclConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionGetAnonClass(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionGetAnonClass(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionGetAnonClass, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionCtorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionCtorConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDefinitionCtorConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionHasPrivateMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionHasPrivateMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionHasPrivateMethodConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionHasNativeMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionHasNativeMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionHasNativeMethodConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionHasComputedInstanceFieldConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionHasComputedInstanceFieldConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionHasComputedInstanceFieldConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ClassDefinitionHasMatchingPrivateKeyConst(KNativePointer context, KNativePointer receiver, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _name = getStringCopy(name); - auto result = GetImpl()->ClassDefinitionHasMatchingPrivateKeyConst(_context, _receiver, _name); - return result; -} -KOALA_INTEROP_3(ClassDefinitionHasMatchingPrivateKeyConst, KBoolean, KNativePointer, KNativePointer, KStringPtr); - -void impl_ClassDefinitionAddToExportedClasses(KNativePointer context, KNativePointer receiver, KNativePointer cls) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _cls = reinterpret_cast(cls); - GetImpl()->ClassDefinitionAddToExportedClasses(_context, _receiver, _cls); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionAddToExportedClasses, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetModifiers(KNativePointer context, KNativePointer receiver, KInt modifiers) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _modifiers = static_cast(modifiers); - GetImpl()->ClassDefinitionSetModifiers(_context, _receiver, _modifiers); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetModifiers, KNativePointer, KNativePointer, KInt); - -void impl_ClassDefinitionEmplaceBody(KNativePointer context, KNativePointer receiver, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _body = reinterpret_cast(body); - GetImpl()->ClassDefinitionEmplaceBody(_context, _receiver, _body); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionEmplaceBody, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionClearBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionClearBody(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionClearBody, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetValueBody(KNativePointer context, KNativePointer receiver, KNativePointer body, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _body = reinterpret_cast(body); - const auto _index = static_cast(index); - GetImpl()->ClassDefinitionSetValueBody(_context, _receiver, _body, _index); - return ; -} -KOALA_INTEROP_V4(ClassDefinitionSetValueBody, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_ClassDefinitionBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionBody(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionBodyForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionBodyForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionBodyForUpdate, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionEmplaceImplements(KNativePointer context, KNativePointer receiver, KNativePointer _implements) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto __implements = reinterpret_cast(_implements); - GetImpl()->ClassDefinitionEmplaceImplements(_context, _receiver, __implements); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionEmplaceImplements, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionClearImplements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionClearImplements(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionClearImplements, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetValueImplements(KNativePointer context, KNativePointer receiver, KNativePointer _implements, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto __implements = reinterpret_cast(_implements); - const auto _index = static_cast(index); - GetImpl()->ClassDefinitionSetValueImplements(_context, _receiver, __implements, _index); - return ; -} -KOALA_INTEROP_V4(ClassDefinitionSetValueImplements, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_ClassDefinitionImplements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionImplements(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionImplements, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionImplementsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionImplementsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionImplementsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetCtor(KNativePointer context, KNativePointer receiver, KNativePointer ctor) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _ctor = reinterpret_cast(ctor); - GetImpl()->ClassDefinitionSetCtor(_context, _receiver, _ctor); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetCtor, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetTypeParams(KNativePointer context, KNativePointer receiver, KNativePointer typeParams) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeParams = reinterpret_cast(typeParams); - GetImpl()->ClassDefinitionSetTypeParams(_context, _receiver, _typeParams); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetTypeParams, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetOrigEnumDecl(KNativePointer context, KNativePointer receiver, KNativePointer origEnumDecl) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _origEnumDecl = reinterpret_cast(origEnumDecl); - GetImpl()->ClassDefinitionSetOrigEnumDecl(_context, _receiver, _origEnumDecl); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetOrigEnumDecl, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetAnonClass(KNativePointer context, KNativePointer receiver, KNativePointer anonClass) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _anonClass = reinterpret_cast(anonClass); - GetImpl()->ClassDefinitionSetAnonClass(_context, _receiver, _anonClass); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetAnonClass, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetInternalName(KNativePointer context, KNativePointer receiver, KStringPtr& internalName) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _internalName = getStringCopy(internalName); - GetImpl()->ClassDefinitionSetInternalName(_context, _receiver, _internalName); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionSetInternalName, KNativePointer, KNativePointer, KStringPtr); - -KBoolean impl_ClassDefinitionHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDefinitionHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDefinitionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ClassDefinitionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ClassDefinitionEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ClassDefinitionClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ClassDefinitionClearAnnotations, KNativePointer, KNativePointer); - -void impl_ClassDefinitionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->ClassDefinitionDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(ClassDefinitionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDefinitionAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ClassDefinitionAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ClassDefinitionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDefinitionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ClassDefinitionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ClassDefinitionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ClassDefinitionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ClassDefinitionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ClassDefinitionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateArrayExpression(KNativePointer context, KNativePointerArray elements, KUInt elementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _elements = reinterpret_cast(elements); - const auto _elementsSequenceLength = static_cast(elementsSequenceLength); - auto result = GetImpl()->CreateArrayExpression(_context, _elements, _elementsSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateArrayExpression, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateArrayExpression(KNativePointer context, KNativePointer original, KNativePointerArray elements, KUInt elementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _elements = reinterpret_cast(elements); - const auto _elementsSequenceLength = static_cast(elementsSequenceLength); - auto result = GetImpl()->UpdateArrayExpression(_context, _original, _elements, _elementsSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateArrayExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateArrayExpression1(KNativePointer context, KInt nodeType, KNativePointerArray elements, KUInt elementsSequenceLength, KBoolean trailingComma) -{ - const auto _context = reinterpret_cast(context); - const auto _nodeType = static_cast(nodeType); - const auto _elements = reinterpret_cast(elements); - const auto _elementsSequenceLength = static_cast(elementsSequenceLength); - const auto _trailingComma = static_cast(trailingComma); - auto result = GetImpl()->CreateArrayExpression1(_context, _nodeType, _elements, _elementsSequenceLength, _trailingComma); - return result; -} -KOALA_INTEROP_5(CreateArrayExpression1, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt, KBoolean); - -KNativePointer impl_UpdateArrayExpression1(KNativePointer context, KNativePointer original, KInt nodeType, KNativePointerArray elements, KUInt elementsSequenceLength, KBoolean trailingComma) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _nodeType = static_cast(nodeType); - const auto _elements = reinterpret_cast(elements); - const auto _elementsSequenceLength = static_cast(elementsSequenceLength); - const auto _trailingComma = static_cast(trailingComma); - auto result = GetImpl()->UpdateArrayExpression1(_context, _original, _nodeType, _elements, _elementsSequenceLength, _trailingComma); - return result; -} -KOALA_INTEROP_6(UpdateArrayExpression1, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointerArray, KUInt, KBoolean); - -KNativePointer impl_ArrayExpressionGetElementNodeAtIdxConst(KNativePointer context, KNativePointer receiver, KUInt idx) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _idx = static_cast(idx); - auto result = GetImpl()->ArrayExpressionGetElementNodeAtIdxConst(_context, _receiver, _idx); - return (void*)result; -} -KOALA_INTEROP_3(ArrayExpressionGetElementNodeAtIdxConst, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_ArrayExpressionElementsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ArrayExpressionElementsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ArrayExpressionElementsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrayExpressionElements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ArrayExpressionElements(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ArrayExpressionElements, KNativePointer, KNativePointer, KNativePointer); - -void impl_ArrayExpressionSetElements(KNativePointer context, KNativePointer receiver, KNativePointerArray elements, KUInt elementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _elements = reinterpret_cast(elements); - const auto _elementsSequenceLength = static_cast(elementsSequenceLength); - GetImpl()->ArrayExpressionSetElements(_context, _receiver, _elements, _elementsSequenceLength); - return ; -} -KOALA_INTEROP_V4(ArrayExpressionSetElements, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KBoolean impl_ArrayExpressionIsDeclarationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrayExpressionIsDeclarationConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrayExpressionIsDeclarationConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ArrayExpressionIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrayExpressionIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrayExpressionIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ArrayExpressionSetDeclaration(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ArrayExpressionSetDeclaration(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ArrayExpressionSetDeclaration, KNativePointer, KNativePointer); - -void impl_ArrayExpressionSetOptional(KNativePointer context, KNativePointer receiver, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _optional_arg = static_cast(optional_arg); - GetImpl()->ArrayExpressionSetOptional(_context, _receiver, _optional_arg); - return ; -} -KOALA_INTEROP_V3(ArrayExpressionSetOptional, KNativePointer, KNativePointer, KBoolean); - -void impl_ArrayExpressionClearPreferredType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ArrayExpressionClearPreferredType(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ArrayExpressionClearPreferredType, KNativePointer, KNativePointer); - -KBoolean impl_ArrayExpressionConvertibleToArrayPattern(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrayExpressionConvertibleToArrayPattern(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrayExpressionConvertibleToArrayPattern, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_ArrayExpressionValidateExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrayExpressionValidateExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrayExpressionValidateExpression, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ArrayExpressionTrySetPreferredTypeForNestedArrayExprConst(KNativePointer context, KNativePointer receiver, KNativePointer nestedArrayExpr, KUInt idx) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _nestedArrayExpr = reinterpret_cast(nestedArrayExpr); - const auto _idx = static_cast(idx); - auto result = GetImpl()->ArrayExpressionTrySetPreferredTypeForNestedArrayExprConst(_context, _receiver, _nestedArrayExpr, _idx); - return result; -} -KOALA_INTEROP_4(ArrayExpressionTrySetPreferredTypeForNestedArrayExprConst, KBoolean, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_ArrayExpressionTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrayExpressionTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ArrayExpressionTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ArrayExpressionSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->ArrayExpressionSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(ArrayExpressionSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSInterfaceBody(KNativePointer context, KNativePointerArray body, KUInt bodySequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - auto result = GetImpl()->CreateTSInterfaceBody(_context, _body, _bodySequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSInterfaceBody, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSInterfaceBody(KNativePointer context, KNativePointer original, KNativePointerArray body, KUInt bodySequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _body = reinterpret_cast(body); - const auto _bodySequenceLength = static_cast(bodySequenceLength); - auto result = GetImpl()->UpdateTSInterfaceBody(_context, _original, _body, _bodySequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSInterfaceBody, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSInterfaceBodyBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceBodyBody(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceBodyBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceBodyBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSInterfaceBodyBodyConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSInterfaceBodyBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeQuery(KNativePointer context, KNativePointer exprName) -{ - const auto _context = reinterpret_cast(context); - const auto _exprName = reinterpret_cast(exprName); - auto result = GetImpl()->CreateTSTypeQuery(_context, _exprName); - return result; -} -KOALA_INTEROP_2(CreateTSTypeQuery, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSTypeQuery(KNativePointer context, KNativePointer original, KNativePointer exprName) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _exprName = reinterpret_cast(exprName); - auto result = GetImpl()->UpdateTSTypeQuery(_context, _original, _exprName); - return result; -} -KOALA_INTEROP_3(UpdateTSTypeQuery, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeQueryExprNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeQueryExprNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeQueryExprNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSBigintKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSBigintKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSBigintKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSBigintKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSBigintKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSBigintKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateProperty(KNativePointer context, KNativePointer key, KNativePointer value) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - auto result = GetImpl()->CreateProperty(_context, _key, _value); - return result; -} -KOALA_INTEROP_3(CreateProperty, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateProperty(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointer value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - auto result = GetImpl()->UpdateProperty(_context, _original, _key, _value); - return result; -} -KOALA_INTEROP_4(UpdateProperty, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateProperty1(KNativePointer context, KInt kind, KNativePointer key, KNativePointer value, KBoolean isMethod, KBoolean isComputed) -{ - const auto _context = reinterpret_cast(context); - const auto _kind = static_cast(kind); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - const auto _isMethod = static_cast(isMethod); - const auto _isComputed = static_cast(isComputed); - auto result = GetImpl()->CreateProperty1(_context, _kind, _key, _value, _isMethod, _isComputed); - return result; -} -KOALA_INTEROP_6(CreateProperty1, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_UpdateProperty1(KNativePointer context, KNativePointer original, KInt kind, KNativePointer key, KNativePointer value, KBoolean isMethod, KBoolean isComputed) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _kind = static_cast(kind); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - const auto _isMethod = static_cast(isMethod); - const auto _isComputed = static_cast(isComputed); - auto result = GetImpl()->UpdateProperty1(_context, _original, _kind, _key, _value, _isMethod, _isComputed); - return result; -} -KOALA_INTEROP_7(UpdateProperty1, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_PropertyKey(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyKey(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyKey, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_PropertyKeyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyKeyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(PropertyKeyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_PropertyValueConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyValueConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(PropertyValueConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_PropertyValue(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyValue(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyValue, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_PropertyKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyKindConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_PropertyIsMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyIsMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyIsMethodConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_PropertyIsShorthandConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyIsShorthandConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyIsShorthandConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_PropertyIsComputedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyIsComputedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyIsComputedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_PropertyIsAccessorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyIsAccessorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyIsAccessorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_PropertyIsAccessorKind(KNativePointer context, KNativePointer receiver, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _kind = static_cast(kind); - auto result = GetImpl()->PropertyIsAccessorKind(_context, _receiver, _kind); - return result; -} -KOALA_INTEROP_3(PropertyIsAccessorKind, KBoolean, KNativePointer, KNativePointer, KInt); - -KBoolean impl_PropertyConvertibleToPatternProperty(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyConvertibleToPatternProperty(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyConvertibleToPatternProperty, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_PropertyValidateExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PropertyValidateExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(PropertyValidateExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateVariableDeclarator(KNativePointer context, KInt flag, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _flag = static_cast(flag); - const auto _ident = reinterpret_cast(ident); - auto result = GetImpl()->CreateVariableDeclarator(_context, _flag, _ident); - return result; -} -KOALA_INTEROP_3(CreateVariableDeclarator, KNativePointer, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_UpdateVariableDeclarator(KNativePointer context, KNativePointer original, KInt flag, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _flag = static_cast(flag); - const auto _ident = reinterpret_cast(ident); - auto result = GetImpl()->UpdateVariableDeclarator(_context, _original, _flag, _ident); - return result; -} -KOALA_INTEROP_4(UpdateVariableDeclarator, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_CreateVariableDeclarator1(KNativePointer context, KInt flag, KNativePointer ident, KNativePointer init) -{ - const auto _context = reinterpret_cast(context); - const auto _flag = static_cast(flag); - const auto _ident = reinterpret_cast(ident); - const auto _init = reinterpret_cast(init); - auto result = GetImpl()->CreateVariableDeclarator1(_context, _flag, _ident, _init); - return result; -} -KOALA_INTEROP_4(CreateVariableDeclarator1, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateVariableDeclarator1(KNativePointer context, KNativePointer original, KInt flag, KNativePointer ident, KNativePointer init) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _flag = static_cast(flag); - const auto _ident = reinterpret_cast(ident); - const auto _init = reinterpret_cast(init); - auto result = GetImpl()->UpdateVariableDeclarator1(_context, _original, _flag, _ident, _init); - return result; -} -KOALA_INTEROP_5(UpdateVariableDeclarator1, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclaratorInit(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclaratorInit(_context, _receiver); - return result; -} -KOALA_INTEROP_2(VariableDeclaratorInit, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclaratorInitConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclaratorInitConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(VariableDeclaratorInitConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_VariableDeclaratorSetInit(KNativePointer context, KNativePointer receiver, KNativePointer init) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _init = reinterpret_cast(init); - GetImpl()->VariableDeclaratorSetInit(_context, _receiver, _init); - return ; -} -KOALA_INTEROP_V3(VariableDeclaratorSetInit, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclaratorId(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclaratorId(_context, _receiver); - return result; -} -KOALA_INTEROP_2(VariableDeclaratorId, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_VariableDeclaratorIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclaratorIdConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(VariableDeclaratorIdConst, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_VariableDeclaratorFlag(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->VariableDeclaratorFlag(_context, _receiver); - return result; -} -KOALA_INTEROP_2(VariableDeclaratorFlag, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateStringLiteral(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateStringLiteral(_context); - return result; -} -KOALA_INTEROP_1(CreateStringLiteral, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateStringLiteral(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateStringLiteral(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateStringLiteral, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateStringLiteral1(KNativePointer context, KStringPtr& str) -{ - const auto _context = reinterpret_cast(context); - const auto _str = getStringCopy(str); - auto result = GetImpl()->CreateStringLiteral1(_context, _str); - return result; -} -KOALA_INTEROP_2(CreateStringLiteral1, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_UpdateStringLiteral1(KNativePointer context, KNativePointer original, KStringPtr& str) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _str = getStringCopy(str); - auto result = GetImpl()->UpdateStringLiteral1(_context, _original, _str); - return result; -} -KOALA_INTEROP_3(UpdateStringLiteral1, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_StringLiteralStrConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->StringLiteralStrConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(StringLiteralStrConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeAssertion(KNativePointer context, KNativePointer typeAnnotation, KNativePointer expression) -{ - const auto _context = reinterpret_cast(context); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _expression = reinterpret_cast(expression); - auto result = GetImpl()->CreateTSTypeAssertion(_context, _typeAnnotation, _expression); - return result; -} -KOALA_INTEROP_3(CreateTSTypeAssertion, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSTypeAssertion(KNativePointer context, KNativePointer original, KNativePointer typeAnnotation, KNativePointer expression) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _expression = reinterpret_cast(expression); - auto result = GetImpl()->UpdateTSTypeAssertion(_context, _original, _typeAnnotation, _expression); - return result; -} -KOALA_INTEROP_4(UpdateTSTypeAssertion, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAssertionGetExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAssertionGetExpressionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeAssertionGetExpressionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeAssertionTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeAssertionTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeAssertionTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeAssertionSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->TSTypeAssertionSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(TSTypeAssertionSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSExternalModuleReference(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateTSExternalModuleReference(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateTSExternalModuleReference, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSExternalModuleReference(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateTSExternalModuleReference(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateTSExternalModuleReference, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSExternalModuleReferenceExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSExternalModuleReferenceExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSExternalModuleReferenceExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSUndefinedKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSUndefinedKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSUndefinedKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSUndefinedKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSUndefinedKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSUndefinedKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSTuple(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateETSTuple(_context); - return result; -} -KOALA_INTEROP_1(CreateETSTuple, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSTuple(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateETSTuple(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateETSTuple, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSTuple1(KNativePointer context, KUInt size) -{ - const auto _context = reinterpret_cast(context); - const auto _size = static_cast(size); - auto result = GetImpl()->CreateETSTuple1(_context, _size); - return result; -} -KOALA_INTEROP_2(CreateETSTuple1, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_UpdateETSTuple1(KNativePointer context, KNativePointer original, KUInt size) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _size = static_cast(size); - auto result = GetImpl()->UpdateETSTuple1(_context, _original, _size); - return result; -} -KOALA_INTEROP_3(UpdateETSTuple1, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_CreateETSTuple2(KNativePointer context, KNativePointerArray typeList, KUInt typeListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _typeList = reinterpret_cast(typeList); - const auto _typeListSequenceLength = static_cast(typeListSequenceLength); - auto result = GetImpl()->CreateETSTuple2(_context, _typeList, _typeListSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateETSTuple2, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateETSTuple2(KNativePointer context, KNativePointer original, KNativePointerArray typeList, KUInt typeListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeList = reinterpret_cast(typeList); - const auto _typeListSequenceLength = static_cast(typeListSequenceLength); - auto result = GetImpl()->UpdateETSTuple2(_context, _original, _typeList, _typeListSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateETSTuple2, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KUInt impl_ETSTupleGetTupleSizeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTupleGetTupleSizeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSTupleGetTupleSizeConst, KUInt, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTupleGetTupleTypeAnnotationsList(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsList(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTupleGetTupleTypeAnnotationsListConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSTupleGetTupleTypeAnnotationsListConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSTupleGetTupleTypeAnnotationsListConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSTupleSetTypeAnnotationsList(KNativePointer context, KNativePointer receiver, KNativePointerArray typeNodeList, KUInt typeNodeListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeNodeList = reinterpret_cast(typeNodeList); - const auto _typeNodeListSequenceLength = static_cast(typeNodeListSequenceLength); - GetImpl()->ETSTupleSetTypeAnnotationsList(_context, _receiver, _typeNodeList, _typeNodeListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSTupleSetTypeAnnotationsList, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateETSStringLiteralType(KNativePointer context, KStringPtr& value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = getStringCopy(value); - auto result = GetImpl()->CreateETSStringLiteralType(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateETSStringLiteralType, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_UpdateETSStringLiteralType(KNativePointer context, KNativePointer original, KStringPtr& value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = getStringCopy(value); - auto result = GetImpl()->UpdateETSStringLiteralType(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateETSStringLiteralType, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_CreateTryStatement(KNativePointer context, KNativePointer block, KNativePointerArray catchClauses, KUInt catchClausesSequenceLength, KNativePointer finalizer, KNativePointerArray finalizerInsertionsLabelPair, KUInt finalizerInsertionsLabelPairSequenceLength, KNativePointerArray finalizerInsertionsStatement, KUInt finalizerInsertionsStatementSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _block = reinterpret_cast(block); - const auto _catchClauses = reinterpret_cast(catchClauses); - const auto _catchClausesSequenceLength = static_cast(catchClausesSequenceLength); - const auto _finalizer = reinterpret_cast(finalizer); - const auto _finalizerInsertionsLabelPair = reinterpret_cast(finalizerInsertionsLabelPair); - const auto _finalizerInsertionsLabelPairSequenceLength = static_cast(finalizerInsertionsLabelPairSequenceLength); - const auto _finalizerInsertionsStatement = reinterpret_cast(finalizerInsertionsStatement); - const auto _finalizerInsertionsStatementSequenceLength = static_cast(finalizerInsertionsStatementSequenceLength); - auto result = GetImpl()->CreateTryStatement(_context, _block, _catchClauses, _catchClausesSequenceLength, _finalizer, _finalizerInsertionsLabelPair, _finalizerInsertionsLabelPairSequenceLength, _finalizerInsertionsStatement, _finalizerInsertionsStatementSequenceLength); - return result; -} -KOALA_INTEROP_9(CreateTryStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointerArray, KUInt, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTryStatement(KNativePointer context, KNativePointer original, KNativePointer block, KNativePointerArray catchClauses, KUInt catchClausesSequenceLength, KNativePointer finalizer, KNativePointerArray finalizerInsertionsLabelPair, KUInt finalizerInsertionsLabelPairSequenceLength, KNativePointerArray finalizerInsertionsStatement, KUInt finalizerInsertionsStatementSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _block = reinterpret_cast(block); - const auto _catchClauses = reinterpret_cast(catchClauses); - const auto _catchClausesSequenceLength = static_cast(catchClausesSequenceLength); - const auto _finalizer = reinterpret_cast(finalizer); - const auto _finalizerInsertionsLabelPair = reinterpret_cast(finalizerInsertionsLabelPair); - const auto _finalizerInsertionsLabelPairSequenceLength = static_cast(finalizerInsertionsLabelPairSequenceLength); - const auto _finalizerInsertionsStatement = reinterpret_cast(finalizerInsertionsStatement); - const auto _finalizerInsertionsStatementSequenceLength = static_cast(finalizerInsertionsStatementSequenceLength); - auto result = GetImpl()->UpdateTryStatement(_context, _original, _block, _catchClauses, _catchClausesSequenceLength, _finalizer, _finalizerInsertionsLabelPair, _finalizerInsertionsLabelPairSequenceLength, _finalizerInsertionsStatement, _finalizerInsertionsStatementSequenceLength); - return result; -} -KOALA_INTEROP_10(UpdateTryStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KNativePointerArray, KUInt, KNativePointerArray, KUInt); - -KNativePointer impl_CreateTryStatement1(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateTryStatement1(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateTryStatement1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTryStatement1(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateTryStatement1(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateTryStatement1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TryStatementFinallyBlockConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TryStatementFinallyBlockConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TryStatementFinallyBlockConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TryStatementBlockConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TryStatementBlockConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TryStatementBlockConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TryStatementHasFinalizerConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TryStatementHasFinalizerConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TryStatementHasFinalizerConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TryStatementHasDefaultCatchClauseConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TryStatementHasDefaultCatchClauseConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TryStatementHasDefaultCatchClauseConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_TryStatementCatchClausesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TryStatementCatchClausesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TryStatementCatchClausesConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TryStatementFinallyCanCompleteNormallyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TryStatementFinallyCanCompleteNormallyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TryStatementFinallyCanCompleteNormallyConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TryStatementSetFinallyCanCompleteNormally(KNativePointer context, KNativePointer receiver, KBoolean finallyCanCompleteNormally) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _finallyCanCompleteNormally = static_cast(finallyCanCompleteNormally); - GetImpl()->TryStatementSetFinallyCanCompleteNormally(_context, _receiver, _finallyCanCompleteNormally); - return ; -} -KOALA_INTEROP_V3(TryStatementSetFinallyCanCompleteNormally, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_AstNodeIsProgramConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsProgramConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsProgramConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsStatementConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsStatementConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsExpressionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsExpressionConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsTypedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsTypedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsTypedConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsTyped(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsTyped(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeAsTyped, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsTypedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsTypedConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeAsTypedConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsBrokenStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsBrokenStatementConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsBrokenStatementConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeAsExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsExpressionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeAsExpressionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsStatement(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsStatement(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeAsStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsStatementConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeAsStatementConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetRange(KNativePointer context, KNativePointer receiver, KNativePointer loc) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _loc = reinterpret_cast(loc); - GetImpl()->AstNodeSetRange(_context, _receiver, _loc); - return ; -} -KOALA_INTEROP_V3(AstNodeSetRange, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetProgram(KNativePointer context, KNativePointer receiver, KNativePointer program) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _program = reinterpret_cast(program); - GetImpl()->AstNodeSetProgram(_context, _receiver, _program); - return ; -} -KOALA_INTEROP_V3(AstNodeSetProgram, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetStart(KNativePointer context, KNativePointer receiver, KNativePointer start) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _start = reinterpret_cast(start); - GetImpl()->AstNodeSetStart(_context, _receiver, _start); - return ; -} -KOALA_INTEROP_V3(AstNodeSetStart, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetEnd(KNativePointer context, KNativePointer receiver, KNativePointer end) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _end = reinterpret_cast(end); - GetImpl()->AstNodeSetEnd(_context, _receiver, _end); - return ; -} -KOALA_INTEROP_V3(AstNodeSetEnd, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeProgramConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeProgramConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeProgramConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeStartConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeStartConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeStartConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeEndConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeEndConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeEndConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeRangeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeRangeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeRangeConst, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_AstNodeTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeTypeConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeParent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeParent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeParent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeParentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeParentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeParentConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetParent(KNativePointer context, KNativePointer receiver, KNativePointer parent) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _parent = reinterpret_cast(parent); - GetImpl()->AstNodeSetParent(_context, _receiver, _parent); - return ; -} -KOALA_INTEROP_V3(AstNodeSetParent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeDecoratorsPtrConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AstNodeDecoratorsPtrConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AstNodeDecoratorsPtrConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeAddDecorators(KNativePointer context, KNativePointer receiver, KNativePointerArray decorators, KUInt decoratorsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _decorators = reinterpret_cast(decorators); - const auto _decoratorsSequenceLength = static_cast(decoratorsSequenceLength); - GetImpl()->AstNodeAddDecorators(_context, _receiver, _decorators, _decoratorsSequenceLength); - return ; -} -KOALA_INTEROP_V4(AstNodeAddDecorators, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KBoolean impl_AstNodeCanHaveDecoratorConst(KNativePointer context, KNativePointer receiver, KBoolean inTs) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _inTs = static_cast(inTs); - auto result = GetImpl()->AstNodeCanHaveDecoratorConst(_context, _receiver, _inTs); - return result; -} -KOALA_INTEROP_3(AstNodeCanHaveDecoratorConst, KBoolean, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_AstNodeIsReadonlyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsReadonlyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsReadonlyConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsReadonlyTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsReadonlyTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsReadonlyTypeConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsOptionalDeclarationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsOptionalDeclarationConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsOptionalDeclarationConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsDefiniteConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsDefiniteConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsDefiniteConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsConstructorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsConstructorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsConstructorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsOverrideConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsOverrideConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsOverrideConst, KBoolean, KNativePointer, KNativePointer); - -void impl_AstNodeSetOverride(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AstNodeSetOverride(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AstNodeSetOverride, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsAsyncConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsAsyncConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsAsyncConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsSynchronizedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsSynchronizedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsSynchronizedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsNativeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsNativeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsNativeConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsConstConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsConstConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsConstConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsStaticConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsStaticConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsStaticConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsFinalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsFinalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsFinalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsAbstractConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsAbstractConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsAbstractConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsPublicConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsPublicConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsPublicConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsProtectedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsProtectedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsProtectedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsPrivateConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsPrivateConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsPrivateConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsInternalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsInternalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsInternalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsExportedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsExportedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsExportedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsDefaultExportedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsDefaultExportedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsDefaultExportedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsExportedTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsExportedTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsExportedTypeConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsDeclareConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsDeclareConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsDeclareConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsInConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsInConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsInConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsOutConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsOutConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsOutConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsSetterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsSetterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsSetterConst, KBoolean, KNativePointer, KNativePointer); - -void impl_AstNodeAddModifier(KNativePointer context, KNativePointer receiver, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flags = static_cast(flags); - GetImpl()->AstNodeAddModifier(_context, _receiver, _flags); - return ; -} -KOALA_INTEROP_V3(AstNodeAddModifier, KNativePointer, KNativePointer, KInt); - -void impl_AstNodeClearModifier(KNativePointer context, KNativePointer receiver, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flags = static_cast(flags); - GetImpl()->AstNodeClearModifier(_context, _receiver, _flags); - return ; -} -KOALA_INTEROP_V3(AstNodeClearModifier, KNativePointer, KNativePointer, KInt); - -KInt impl_AstNodeModifiers(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeModifiers(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeModifiers, KInt, KNativePointer, KNativePointer); - -KInt impl_AstNodeModifiersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeModifiersConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeModifiersConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeHasExportAliasConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeHasExportAliasConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeHasExportAliasConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsClassElement(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsClassElement(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeAsClassElement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeAsClassElementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeAsClassElementConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeAsClassElementConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsScopeBearerConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsScopeBearerConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsScopeBearerConst, KBoolean, KNativePointer, KNativePointer); - -void impl_AstNodeClearScope(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AstNodeClearScope(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AstNodeClearScope, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeGetTopStatement(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeGetTopStatement(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeGetTopStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeGetTopStatementConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeGetTopStatementConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeGetTopStatementConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeClone(KNativePointer context, KNativePointer receiver, KNativePointer parent) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _parent = reinterpret_cast(parent); - auto result = GetImpl()->AstNodeClone(_context, _receiver, _parent); - return result; -} -KOALA_INTEROP_3(AstNodeClone, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeDumpJSONConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeDumpJSONConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(AstNodeDumpJSONConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeDumpEtsSrcConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeDumpEtsSrcConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(AstNodeDumpEtsSrcConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeDumpDeclConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeDumpDeclConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(AstNodeDumpDeclConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeDumpConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->AstNodeDumpConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(AstNodeDumpConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeDumpConst1(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->AstNodeDumpConst1(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(AstNodeDumpConst1, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeCompileConst(KNativePointer context, KNativePointer receiver, KNativePointer pg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _pg = reinterpret_cast(pg); - GetImpl()->AstNodeCompileConst(_context, _receiver, _pg); - return ; -} -KOALA_INTEROP_V3(AstNodeCompileConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeCompileConst1(KNativePointer context, KNativePointer receiver, KNativePointer etsg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _etsg = reinterpret_cast(etsg); - GetImpl()->AstNodeCompileConst1(_context, _receiver, _etsg); - return ; -} -KOALA_INTEROP_V3(AstNodeCompileConst1, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetTransformedNode(KNativePointer context, KNativePointer receiver, KStringPtr& transformationName, KNativePointer transformedNode) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _transformationName = getStringCopy(transformationName); - const auto _transformedNode = reinterpret_cast(transformedNode); - GetImpl()->AstNodeSetTransformedNode(_context, _receiver, _transformationName, _transformedNode); - return ; -} -KOALA_INTEROP_V4(AstNodeSetTransformedNode, KNativePointer, KNativePointer, KStringPtr, KNativePointer); - -void impl_AstNodeAccept(KNativePointer context, KNativePointer receiver, KNativePointer v) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _v = reinterpret_cast(v); - GetImpl()->AstNodeAccept(_context, _receiver, _v); - return ; -} -KOALA_INTEROP_V3(AstNodeAccept, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeSetOriginalNode(KNativePointer context, KNativePointer receiver, KNativePointer originalNode) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _originalNode = reinterpret_cast(originalNode); - GetImpl()->AstNodeSetOriginalNode(_context, _receiver, _originalNode); - return ; -} -KOALA_INTEROP_V3(AstNodeSetOriginalNode, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeOriginalNodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeOriginalNodeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeOriginalNodeConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeCleanUp(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AstNodeCleanUp(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AstNodeCleanUp, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeShallowClone(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeShallowClone(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeShallowClone, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_AstNodeIsValidInCurrentPhaseConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeIsValidInCurrentPhaseConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AstNodeIsValidInCurrentPhaseConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeGetHistoryNodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeGetHistoryNodeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeGetHistoryNodeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AstNodeGetOrCreateHistoryNodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstNodeGetOrCreateHistoryNodeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AstNodeGetOrCreateHistoryNodeConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AstNodeCleanCheckInformation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AstNodeCleanCheckInformation(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AstNodeCleanCheckInformation, KNativePointer, KNativePointer); - -KNativePointer impl_CreateUnaryExpression(KNativePointer context, KNativePointer argument, KInt unaryOperator) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - const auto _unaryOperator = static_cast(unaryOperator); - auto result = GetImpl()->CreateUnaryExpression(_context, _argument, _unaryOperator); - return result; -} -KOALA_INTEROP_3(CreateUnaryExpression, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateUnaryExpression(KNativePointer context, KNativePointer original, KNativePointer argument, KInt unaryOperator) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - const auto _unaryOperator = static_cast(unaryOperator); - auto result = GetImpl()->UpdateUnaryExpression(_context, _original, _argument, _unaryOperator); - return result; -} -KOALA_INTEROP_4(UpdateUnaryExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KInt impl_UnaryExpressionOperatorTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UnaryExpressionOperatorTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(UnaryExpressionOperatorTypeConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_UnaryExpressionArgument(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UnaryExpressionArgument(_context, _receiver); - return result; -} -KOALA_INTEROP_2(UnaryExpressionArgument, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UnaryExpressionArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UnaryExpressionArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(UnaryExpressionArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_UnaryExpressionSetArgument(KNativePointer context, KNativePointer receiver, KNativePointer arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _arg = reinterpret_cast(arg); - GetImpl()->UnaryExpressionSetArgument(_context, _receiver, _arg); - return ; -} -KOALA_INTEROP_V3(UnaryExpressionSetArgument, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateForInStatement(KNativePointer context, KNativePointer left, KNativePointer right, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->CreateForInStatement(_context, _left, _right, _body); - return result; -} -KOALA_INTEROP_4(CreateForInStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateForInStatement(KNativePointer context, KNativePointer original, KNativePointer left, KNativePointer right, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->UpdateForInStatement(_context, _original, _left, _right, _body); - return result; -} -KOALA_INTEROP_5(UpdateForInStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForInStatementLeft(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForInStatementLeft(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForInStatementLeft, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForInStatementLeftConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForInStatementLeftConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForInStatementLeftConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForInStatementRight(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForInStatementRight(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForInStatementRight, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForInStatementRightConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForInStatementRightConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForInStatementRightConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForInStatementBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForInStatementBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForInStatementBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForInStatementBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForInStatementBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForInStatementBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateThisExpression(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateThisExpression(_context); - return result; -} -KOALA_INTEROP_1(CreateThisExpression, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateThisExpression(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateThisExpression(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateThisExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSMethodSignature(KNativePointer context, KNativePointer key, KNativePointer signature, KBoolean computed, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _signature = reinterpret_cast(signature); - const auto _computed = static_cast(computed); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->CreateTSMethodSignature(_context, _key, _signature, _computed, _optional_arg); - return result; -} -KOALA_INTEROP_5(CreateTSMethodSignature, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_UpdateTSMethodSignature(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointer signature, KBoolean computed, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _signature = reinterpret_cast(signature); - const auto _computed = static_cast(computed); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->UpdateTSMethodSignature(_context, _original, _key, _signature, _computed, _optional_arg); - return result; -} -KOALA_INTEROP_6(UpdateTSMethodSignature, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_TSMethodSignatureKeyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureKeyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSMethodSignatureKeyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMethodSignatureKey(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureKey(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMethodSignatureKey, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMethodSignatureTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSMethodSignatureTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMethodSignatureTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMethodSignatureTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMethodSignatureParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSMethodSignatureParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSMethodSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMethodSignatureReturnTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureReturnTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSMethodSignatureReturnTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMethodSignatureReturnTypeAnnotation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureReturnTypeAnnotation(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMethodSignatureReturnTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSMethodSignatureComputedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureComputedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMethodSignatureComputedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSMethodSignatureOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMethodSignatureOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMethodSignatureOptionalConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBinaryExpression(KNativePointer context, KNativePointer left, KNativePointer right, KInt operatorType) -{ - const auto _context = reinterpret_cast(context); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _operatorType = static_cast(operatorType); - auto result = GetImpl()->CreateBinaryExpression(_context, _left, _right, _operatorType); - return result; -} -KOALA_INTEROP_4(CreateBinaryExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateBinaryExpression(KNativePointer context, KNativePointer original, KNativePointer left, KNativePointer right, KInt operatorType) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _operatorType = static_cast(operatorType); - auto result = GetImpl()->UpdateBinaryExpression(_context, _original, _left, _right, _operatorType); - return result; -} -KOALA_INTEROP_5(UpdateBinaryExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_BinaryExpressionLeftConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionLeftConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(BinaryExpressionLeftConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BinaryExpressionLeft(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionLeft(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionLeft, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BinaryExpressionRightConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionRightConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(BinaryExpressionRightConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BinaryExpressionRight(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionRight(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionRight, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BinaryExpressionResultConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionResultConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(BinaryExpressionResultConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BinaryExpressionResult(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionResult(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionResult, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_BinaryExpressionOperatorTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionOperatorTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionOperatorTypeConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_BinaryExpressionIsLogicalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionIsLogicalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionIsLogicalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_BinaryExpressionIsLogicalExtendedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionIsLogicalExtendedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionIsLogicalExtendedConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_BinaryExpressionIsBitwiseConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionIsBitwiseConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionIsBitwiseConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_BinaryExpressionIsArithmeticConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BinaryExpressionIsArithmeticConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BinaryExpressionIsArithmeticConst, KBoolean, KNativePointer, KNativePointer); - -void impl_BinaryExpressionSetLeft(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->BinaryExpressionSetLeft(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(BinaryExpressionSetLeft, KNativePointer, KNativePointer, KNativePointer); - -void impl_BinaryExpressionSetRight(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->BinaryExpressionSetRight(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(BinaryExpressionSetRight, KNativePointer, KNativePointer, KNativePointer); - -void impl_BinaryExpressionSetResult(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->BinaryExpressionSetResult(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(BinaryExpressionSetResult, KNativePointer, KNativePointer, KNativePointer); - -void impl_BinaryExpressionSetOperator(KNativePointer context, KNativePointer receiver, KInt operatorType) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _operatorType = static_cast(operatorType); - GetImpl()->BinaryExpressionSetOperator(_context, _receiver, _operatorType); - return ; -} -KOALA_INTEROP_V3(BinaryExpressionSetOperator, KNativePointer, KNativePointer, KInt); - -void impl_BinaryExpressionCompileOperandsConst(KNativePointer context, KNativePointer receiver, KNativePointer etsg, KNativePointer lhs) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _etsg = reinterpret_cast(etsg); - const auto _lhs = reinterpret_cast(lhs); - GetImpl()->BinaryExpressionCompileOperandsConst(_context, _receiver, _etsg, _lhs); - return ; -} -KOALA_INTEROP_V4(BinaryExpressionCompileOperandsConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSuperExpression(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateSuperExpression(_context); - return result; -} -KOALA_INTEROP_1(CreateSuperExpression, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateSuperExpression(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateSuperExpression(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateSuperExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAssertStatement(KNativePointer context, KNativePointer test, KNativePointer second) -{ - const auto _context = reinterpret_cast(context); - const auto _test = reinterpret_cast(test); - const auto _second = reinterpret_cast(second); - auto result = GetImpl()->CreateAssertStatement(_context, _test, _second); - return result; -} -KOALA_INTEROP_3(CreateAssertStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateAssertStatement(KNativePointer context, KNativePointer original, KNativePointer test, KNativePointer second) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _test = reinterpret_cast(test); - const auto _second = reinterpret_cast(second); - auto result = GetImpl()->UpdateAssertStatement(_context, _original, _test, _second); - return result; -} -KOALA_INTEROP_4(UpdateAssertStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssertStatementTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssertStatementTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AssertStatementTestConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssertStatementTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssertStatementTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssertStatementTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssertStatementSecondConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssertStatementSecondConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AssertStatementSecondConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSStringKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSStringKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSStringKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSStringKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSStringKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSStringKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAssignmentExpression(KNativePointer context, KNativePointer left, KNativePointer right, KInt assignmentOperator) -{ - const auto _context = reinterpret_cast(context); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _assignmentOperator = static_cast(assignmentOperator); - auto result = GetImpl()->CreateAssignmentExpression(_context, _left, _right, _assignmentOperator); - return result; -} -KOALA_INTEROP_4(CreateAssignmentExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateAssignmentExpression(KNativePointer context, KNativePointer original, KNativePointer left, KNativePointer right, KInt assignmentOperator) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _assignmentOperator = static_cast(assignmentOperator); - auto result = GetImpl()->UpdateAssignmentExpression(_context, _original, _left, _right, _assignmentOperator); - return result; -} -KOALA_INTEROP_5(UpdateAssignmentExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_CreateAssignmentExpression1(KNativePointer context, KInt type, KNativePointer left, KNativePointer right, KInt assignmentOperator) -{ - const auto _context = reinterpret_cast(context); - const auto _type = static_cast(type); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _assignmentOperator = static_cast(assignmentOperator); - auto result = GetImpl()->CreateAssignmentExpression1(_context, _type, _left, _right, _assignmentOperator); - return result; -} -KOALA_INTEROP_5(CreateAssignmentExpression1, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateAssignmentExpression1(KNativePointer context, KNativePointer original, KInt type, KNativePointer left, KNativePointer right, KInt assignmentOperator) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _type = static_cast(type); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _assignmentOperator = static_cast(assignmentOperator); - auto result = GetImpl()->UpdateAssignmentExpression1(_context, _original, _type, _left, _right, _assignmentOperator); - return result; -} -KOALA_INTEROP_6(UpdateAssignmentExpression1, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_AssignmentExpressionLeftConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionLeftConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AssignmentExpressionLeftConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssignmentExpressionLeft(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionLeft(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionLeft, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssignmentExpressionRight(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionRight(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionRight, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssignmentExpressionRightConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionRightConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AssignmentExpressionRightConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AssignmentExpressionSetRight(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->AssignmentExpressionSetRight(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(AssignmentExpressionSetRight, KNativePointer, KNativePointer, KNativePointer); - -void impl_AssignmentExpressionSetLeft(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->AssignmentExpressionSetLeft(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(AssignmentExpressionSetLeft, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssignmentExpressionResultConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionResultConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AssignmentExpressionResultConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AssignmentExpressionResult(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionResult(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionResult, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_AssignmentExpressionOperatorTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionOperatorTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionOperatorTypeConst, KInt, KNativePointer, KNativePointer); - -KInt impl_AssignmentExpressionSetOperatorType(KNativePointer context, KNativePointer receiver, KInt tokenType) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _tokenType = static_cast(tokenType); - auto result = GetImpl()->AssignmentExpressionSetOperatorType(_context, _receiver, _tokenType); - return result; -} -KOALA_INTEROP_3(AssignmentExpressionSetOperatorType, KInt, KNativePointer, KNativePointer, KInt); - -void impl_AssignmentExpressionSetResult(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->AssignmentExpressionSetResult(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(AssignmentExpressionSetResult, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_AssignmentExpressionIsLogicalExtendedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionIsLogicalExtendedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionIsLogicalExtendedConst, KBoolean, KNativePointer, KNativePointer); - -void impl_AssignmentExpressionSetIgnoreConstAssign(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AssignmentExpressionSetIgnoreConstAssign(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AssignmentExpressionSetIgnoreConstAssign, KNativePointer, KNativePointer); - -KBoolean impl_AssignmentExpressionIsIgnoreConstAssignConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionIsIgnoreConstAssignConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionIsIgnoreConstAssignConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AssignmentExpressionConvertibleToAssignmentPatternLeft(KNativePointer context, KNativePointer receiver, KBoolean mustBePattern) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _mustBePattern = static_cast(mustBePattern); - auto result = GetImpl()->AssignmentExpressionConvertibleToAssignmentPatternLeft(_context, _receiver, _mustBePattern); - return result; -} -KOALA_INTEROP_3(AssignmentExpressionConvertibleToAssignmentPatternLeft, KBoolean, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_AssignmentExpressionConvertibleToAssignmentPatternRight(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AssignmentExpressionConvertibleToAssignmentPatternRight(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AssignmentExpressionConvertibleToAssignmentPatternRight, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AssignmentExpressionConvertibleToAssignmentPattern(KNativePointer context, KNativePointer receiver, KBoolean mustBePattern) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _mustBePattern = static_cast(mustBePattern); - auto result = GetImpl()->AssignmentExpressionConvertibleToAssignmentPattern(_context, _receiver, _mustBePattern); - return result; -} -KOALA_INTEROP_3(AssignmentExpressionConvertibleToAssignmentPattern, KBoolean, KNativePointer, KNativePointer, KBoolean); - -void impl_AssignmentExpressionCompilePatternConst(KNativePointer context, KNativePointer receiver, KNativePointer pg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _pg = reinterpret_cast(pg); - GetImpl()->AssignmentExpressionCompilePatternConst(_context, _receiver, _pg); - return ; -} -KOALA_INTEROP_V3(AssignmentExpressionCompilePatternConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateExpressionStatement(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateExpressionStatement(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateExpressionStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateExpressionStatement(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateExpressionStatement(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateExpressionStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionStatementGetExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionStatementGetExpressionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExpressionStatementGetExpressionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionStatementGetExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionStatementGetExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionStatementGetExpression, KNativePointer, KNativePointer, KNativePointer); - -void impl_ExpressionStatementSetExpression(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->ExpressionStatementSetExpression(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(ExpressionStatementSetExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSModule(KNativePointer context, KNativePointerArray statementList, KUInt statementListSequenceLength, KNativePointer ident, KInt flag, KNativePointer program) -{ - const auto _context = reinterpret_cast(context); - const auto _statementList = reinterpret_cast(statementList); - const auto _statementListSequenceLength = static_cast(statementListSequenceLength); - const auto _ident = reinterpret_cast(ident); - const auto _flag = static_cast(flag); - const auto _program = reinterpret_cast(program); - auto result = GetImpl()->CreateETSModule(_context, _statementList, _statementListSequenceLength, _ident, _flag, _program); - return result; -} -KOALA_INTEROP_6(CreateETSModule, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_UpdateETSModule(KNativePointer context, KNativePointer original, KNativePointerArray statementList, KUInt statementListSequenceLength, KNativePointer ident, KInt flag, KNativePointer program) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _statementList = reinterpret_cast(statementList); - const auto _statementListSequenceLength = static_cast(statementListSequenceLength); - const auto _ident = reinterpret_cast(ident); - const auto _flag = static_cast(flag); - const auto _program = reinterpret_cast(program); - auto result = GetImpl()->UpdateETSModule(_context, _original, _statementList, _statementListSequenceLength, _ident, _flag, _program); - return result; -} -KOALA_INTEROP_7(UpdateETSModule, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_ETSModuleIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleIdentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSModuleIdentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleProgram(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleProgram(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleProgram, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleGlobalClassConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleGlobalClassConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSModuleGlobalClassConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleGlobalClass(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleGlobalClass(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleGlobalClass, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSModuleSetGlobalClass(KNativePointer context, KNativePointer receiver, KNativePointer globalClass) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _globalClass = reinterpret_cast(globalClass); - GetImpl()->ETSModuleSetGlobalClass(_context, _receiver, _globalClass); - return ; -} -KOALA_INTEROP_V3(ETSModuleSetGlobalClass, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ETSModuleIsETSScriptConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleIsETSScriptConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleIsETSScriptConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ETSModuleIsNamespaceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleIsNamespaceConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleIsNamespaceConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ETSModuleIsNamespaceChainLastNodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleIsNamespaceChainLastNodeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleIsNamespaceChainLastNodeConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ETSModuleSetNamespaceChainLastNode(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ETSModuleSetNamespaceChainLastNode(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ETSModuleSetNamespaceChainLastNode, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleProgramConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleProgramConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSModuleProgramConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ETSModuleHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSModuleHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSModuleHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ETSModuleEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ETSModuleEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ETSModuleEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSModuleClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ETSModuleClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ETSModuleClearAnnotations, KNativePointer, KNativePointer); - -void impl_ETSModuleDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->ETSModuleDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(ETSModuleDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSModuleAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSModuleAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSModuleAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSModuleAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSModuleAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSModuleAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSModuleAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSModuleSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ETSModuleSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSModuleSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ETSModuleSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ETSModuleSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSModuleSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateMetaProperty(KNativePointer context, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _kind = static_cast(kind); - auto result = GetImpl()->CreateMetaProperty(_context, _kind); - return result; -} -KOALA_INTEROP_2(CreateMetaProperty, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateMetaProperty(KNativePointer context, KNativePointer original, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _kind = static_cast(kind); - auto result = GetImpl()->UpdateMetaProperty(_context, _original, _kind); - return result; -} -KOALA_INTEROP_3(UpdateMetaProperty, KNativePointer, KNativePointer, KNativePointer, KInt); - -KInt impl_MetaPropertyKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MetaPropertyKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MetaPropertyKindConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSArrayType(KNativePointer context, KNativePointer elementType) -{ - const auto _context = reinterpret_cast(context); - const auto _elementType = reinterpret_cast(elementType); - auto result = GetImpl()->CreateTSArrayType(_context, _elementType); - return result; -} -KOALA_INTEROP_2(CreateTSArrayType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSArrayType(KNativePointer context, KNativePointer original, KNativePointer elementType) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _elementType = reinterpret_cast(elementType); - auto result = GetImpl()->UpdateTSArrayType(_context, _original, _elementType); - return result; -} -KOALA_INTEROP_3(UpdateTSArrayType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSArrayTypeElementTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSArrayTypeElementTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSArrayTypeElementTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSSignatureDeclaration(KNativePointer context, KInt kind, KNativePointer signature) -{ - const auto _context = reinterpret_cast(context); - const auto _kind = static_cast(kind); - const auto _signature = reinterpret_cast(signature); - auto result = GetImpl()->CreateTSSignatureDeclaration(_context, _kind, _signature); - return result; -} -KOALA_INTEROP_3(CreateTSSignatureDeclaration, KNativePointer, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_UpdateTSSignatureDeclaration(KNativePointer context, KNativePointer original, KInt kind, KNativePointer signature) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _kind = static_cast(kind); - const auto _signature = reinterpret_cast(signature); - auto result = GetImpl()->UpdateTSSignatureDeclaration(_context, _original, _kind, _signature); - return result; -} -KOALA_INTEROP_4(UpdateTSSignatureDeclaration, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_TSSignatureDeclarationTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSSignatureDeclarationTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSSignatureDeclarationTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSSignatureDeclarationTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSSignatureDeclarationTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSSignatureDeclarationTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSSignatureDeclarationParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSSignatureDeclarationParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSSignatureDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSSignatureDeclarationReturnTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSSignatureDeclarationReturnTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSSignatureDeclarationReturnTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSSignatureDeclarationReturnTypeAnnotation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSSignatureDeclarationReturnTypeAnnotation(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSSignatureDeclarationReturnTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_TSSignatureDeclarationKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSSignatureDeclarationKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSSignatureDeclarationKindConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateExportAllDeclaration(KNativePointer context, KNativePointer source, KNativePointer exported) -{ - const auto _context = reinterpret_cast(context); - const auto _source = reinterpret_cast(source); - const auto _exported = reinterpret_cast(exported); - auto result = GetImpl()->CreateExportAllDeclaration(_context, _source, _exported); - return result; -} -KOALA_INTEROP_3(CreateExportAllDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateExportAllDeclaration(KNativePointer context, KNativePointer original, KNativePointer source, KNativePointer exported) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _source = reinterpret_cast(source); - const auto _exported = reinterpret_cast(exported); - auto result = GetImpl()->UpdateExportAllDeclaration(_context, _original, _source, _exported); - return result; -} -KOALA_INTEROP_4(UpdateExportAllDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportAllDeclarationSourceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportAllDeclarationSourceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportAllDeclarationSourceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportAllDeclarationExportedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportAllDeclarationExportedConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportAllDeclarationExportedConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateExportSpecifier(KNativePointer context, KNativePointer local, KNativePointer exported) -{ - const auto _context = reinterpret_cast(context); - const auto _local = reinterpret_cast(local); - const auto _exported = reinterpret_cast(exported); - auto result = GetImpl()->CreateExportSpecifier(_context, _local, _exported); - return result; -} -KOALA_INTEROP_3(CreateExportSpecifier, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateExportSpecifier(KNativePointer context, KNativePointer original, KNativePointer local, KNativePointer exported) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _local = reinterpret_cast(local); - const auto _exported = reinterpret_cast(exported); - auto result = GetImpl()->UpdateExportSpecifier(_context, _original, _local, _exported); - return result; -} -KOALA_INTEROP_4(UpdateExportSpecifier, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportSpecifierLocalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportSpecifierLocalConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportSpecifierLocalConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportSpecifierExportedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportSpecifierExportedConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportSpecifierExportedConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ExportSpecifierSetDefault(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ExportSpecifierSetDefault(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ExportSpecifierSetDefault, KNativePointer, KNativePointer); - -KBoolean impl_ExportSpecifierIsDefaultConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportSpecifierIsDefaultConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExportSpecifierIsDefaultConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ExportSpecifierSetConstantExpression(KNativePointer context, KNativePointer receiver, KNativePointer constantExpression) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _constantExpression = reinterpret_cast(constantExpression); - GetImpl()->ExportSpecifierSetConstantExpression(_context, _receiver, _constantExpression); - return ; -} -KOALA_INTEROP_V3(ExportSpecifierSetConstantExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportSpecifierGetConstantExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportSpecifierGetConstantExpressionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportSpecifierGetConstantExpressionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTupleType(KNativePointer context, KNativePointerArray elementTypes, KUInt elementTypesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _elementTypes = reinterpret_cast(elementTypes); - const auto _elementTypesSequenceLength = static_cast(elementTypesSequenceLength); - auto result = GetImpl()->CreateTSTupleType(_context, _elementTypes, _elementTypesSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSTupleType, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSTupleType(KNativePointer context, KNativePointer original, KNativePointerArray elementTypes, KUInt elementTypesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _elementTypes = reinterpret_cast(elementTypes); - const auto _elementTypesSequenceLength = static_cast(elementTypesSequenceLength); - auto result = GetImpl()->UpdateTSTupleType(_context, _original, _elementTypes, _elementTypesSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSTupleType, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSTupleTypeElementTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTupleTypeElementTypeConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTupleTypeElementTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateFunctionExpression(KNativePointer context, KNativePointer func) -{ - const auto _context = reinterpret_cast(context); - const auto _func = reinterpret_cast(func); - auto result = GetImpl()->CreateFunctionExpression(_context, _func); - return result; -} -KOALA_INTEROP_2(CreateFunctionExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateFunctionExpression(KNativePointer context, KNativePointer original, KNativePointer func) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _func = reinterpret_cast(func); - auto result = GetImpl()->UpdateFunctionExpression(_context, _original, _func); - return result; -} -KOALA_INTEROP_3(UpdateFunctionExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateFunctionExpression1(KNativePointer context, KNativePointer namedExpr, KNativePointer func) -{ - const auto _context = reinterpret_cast(context); - const auto _namedExpr = reinterpret_cast(namedExpr); - const auto _func = reinterpret_cast(func); - auto result = GetImpl()->CreateFunctionExpression1(_context, _namedExpr, _func); - return result; -} -KOALA_INTEROP_3(CreateFunctionExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateFunctionExpression1(KNativePointer context, KNativePointer original, KNativePointer namedExpr, KNativePointer func) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _namedExpr = reinterpret_cast(namedExpr); - const auto _func = reinterpret_cast(func); - auto result = GetImpl()->UpdateFunctionExpression1(_context, _original, _namedExpr, _func); - return result; -} -KOALA_INTEROP_4(UpdateFunctionExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionExpressionFunctionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionExpressionFunctionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(FunctionExpressionFunctionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionExpressionFunction(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionExpressionFunction(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionExpressionFunction, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_FunctionExpressionIsAnonymousConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionExpressionIsAnonymousConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionExpressionIsAnonymousConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionExpressionId(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionExpressionId(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionExpressionId, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSIndexSignature(KNativePointer context, KNativePointer param, KNativePointer typeAnnotation, KBoolean readonly_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _param = reinterpret_cast(param); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _readonly_arg = static_cast(readonly_arg); - auto result = GetImpl()->CreateTSIndexSignature(_context, _param, _typeAnnotation, _readonly_arg); - return result; -} -KOALA_INTEROP_4(CreateTSIndexSignature, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSIndexSignature(KNativePointer context, KNativePointer original, KNativePointer param, KNativePointer typeAnnotation, KBoolean readonly_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _param = reinterpret_cast(param); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _readonly_arg = static_cast(readonly_arg); - auto result = GetImpl()->UpdateTSIndexSignature(_context, _original, _param, _typeAnnotation, _readonly_arg); - return result; -} -KOALA_INTEROP_5(UpdateTSIndexSignature, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSIndexSignatureParamConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSIndexSignatureParamConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSIndexSignatureParamConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSIndexSignatureTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSIndexSignatureTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSIndexSignatureTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSIndexSignatureReadonlyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSIndexSignatureReadonlyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSIndexSignatureReadonlyConst, KBoolean, KNativePointer, KNativePointer); - -KInt impl_TSIndexSignatureKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSIndexSignatureKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSIndexSignatureKindConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSModuleDeclaration(KNativePointer context, KNativePointer name, KNativePointer body, KBoolean declare, KBoolean _global) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - const auto _body = reinterpret_cast(body); - const auto _declare = static_cast(declare); - const auto __global = static_cast(_global); - auto result = GetImpl()->CreateTSModuleDeclaration(_context, _name, _body, _declare, __global); - return result; -} -KOALA_INTEROP_5(CreateTSModuleDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_UpdateTSModuleDeclaration(KNativePointer context, KNativePointer original, KNativePointer name, KNativePointer body, KBoolean declare, KBoolean _global) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - const auto _body = reinterpret_cast(body); - const auto _declare = static_cast(declare); - const auto __global = static_cast(_global); - auto result = GetImpl()->UpdateTSModuleDeclaration(_context, _original, _name, _body, _declare, __global); - return result; -} -KOALA_INTEROP_6(UpdateTSModuleDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_TSModuleDeclarationNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSModuleDeclarationNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSModuleDeclarationNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSModuleDeclarationBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSModuleDeclarationBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSModuleDeclarationBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSModuleDeclarationGlobalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSModuleDeclarationGlobalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSModuleDeclarationGlobalConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSModuleDeclarationIsExternalOrAmbientConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSModuleDeclarationIsExternalOrAmbientConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSModuleDeclarationIsExternalOrAmbientConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateImportDeclaration(KNativePointer context, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds) -{ - const auto _context = reinterpret_cast(context); - const auto _source = reinterpret_cast(source); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - const auto _importKinds = static_cast(importKinds); - auto result = GetImpl()->CreateImportDeclaration(_context, _source, _specifiers, _specifiersSequenceLength, _importKinds); - return result; -} -KOALA_INTEROP_5(CreateImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt); - -KNativePointer impl_UpdateImportDeclaration(KNativePointer context, KNativePointer original, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _source = reinterpret_cast(source); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - const auto _importKinds = static_cast(importKinds); - auto result = GetImpl()->UpdateImportDeclaration(_context, _original, _source, _specifiers, _specifiersSequenceLength, _importKinds); - return result; -} -KOALA_INTEROP_6(UpdateImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt); - -void impl_ImportDeclarationEmplaceSpecifiers(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ImportDeclarationEmplaceSpecifiers(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ImportDeclarationEmplaceSpecifiers, KNativePointer, KNativePointer, KNativePointer); - -void impl_ImportDeclarationClearSpecifiers(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ImportDeclarationClearSpecifiers(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ImportDeclarationClearSpecifiers, KNativePointer, KNativePointer); - -void impl_ImportDeclarationSetValueSpecifiers(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - const auto _index = static_cast(index); - GetImpl()->ImportDeclarationSetValueSpecifiers(_context, _receiver, _source, _index); - return ; -} -KOALA_INTEROP_V4(ImportDeclarationSetValueSpecifiers, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_ImportDeclarationSpecifiersForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ImportDeclarationSpecifiersForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ImportDeclarationSpecifiersForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportDeclarationSourceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportDeclarationSourceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ImportDeclarationSourceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportDeclarationSource(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportDeclarationSource(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportDeclarationSource, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportDeclarationSpecifiersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ImportDeclarationSpecifiersConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ImportDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ImportDeclarationIsTypeKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportDeclarationIsTypeKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportDeclarationIsTypeKindConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSParenthesizedType(KNativePointer context, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _type = reinterpret_cast(type); - auto result = GetImpl()->CreateTSParenthesizedType(_context, _type); - return result; -} -KOALA_INTEROP_2(CreateTSParenthesizedType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSParenthesizedType(KNativePointer context, KNativePointer original, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _type = reinterpret_cast(type); - auto result = GetImpl()->UpdateTSParenthesizedType(_context, _original, _type); - return result; -} -KOALA_INTEROP_3(UpdateTSParenthesizedType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSParenthesizedTypeTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSParenthesizedTypeTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSParenthesizedTypeTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_LiteralIsFoldedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->LiteralIsFoldedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(LiteralIsFoldedConst, KBoolean, KNativePointer, KNativePointer); - -void impl_LiteralSetFolded(KNativePointer context, KNativePointer receiver, KBoolean folded) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _folded = static_cast(folded); - GetImpl()->LiteralSetFolded(_context, _receiver, _folded); - return ; -} -KOALA_INTEROP_V3(LiteralSetFolded, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_CreateCharLiteral(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateCharLiteral(_context); - return result; -} -KOALA_INTEROP_1(CreateCharLiteral, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateCharLiteral(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateCharLiteral(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateCharLiteral, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSIntrinsicNode(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateETSIntrinsicNode(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateETSIntrinsicNode, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSIntrinsicNode(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateETSIntrinsicNode(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateETSIntrinsicNode, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSIntrinsicNode1(KNativePointer context, KStringPtr& id, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _id = getStringCopy(id); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - auto result = GetImpl()->CreateETSIntrinsicNode1(_context, _id, __arguments, __argumentsSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateETSIntrinsicNode1, KNativePointer, KNativePointer, KStringPtr, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateETSIntrinsicNode1(KNativePointer context, KNativePointer original, KStringPtr& id, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _id = getStringCopy(id); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - auto result = GetImpl()->UpdateETSIntrinsicNode1(_context, _original, _id, __arguments, __argumentsSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateETSIntrinsicNode1, KNativePointer, KNativePointer, KNativePointer, KStringPtr, KNativePointerArray, KUInt); - -KNativePointer impl_ETSIntrinsicNodeIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSIntrinsicNodeIdConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSIntrinsicNodeIdConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSIntrinsicNodeArgumentsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSIntrinsicNodeArgumentsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSIntrinsicNodeArgumentsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSIntrinsicNodeArguments(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSIntrinsicNodeArguments(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSIntrinsicNodeArguments, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSPackageDeclaration(KNativePointer context, KNativePointer name) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - auto result = GetImpl()->CreateETSPackageDeclaration(_context, _name); - return result; -} -KOALA_INTEROP_2(CreateETSPackageDeclaration, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSPackageDeclaration(KNativePointer context, KNativePointer original, KNativePointer name) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - auto result = GetImpl()->UpdateETSPackageDeclaration(_context, _original, _name); - return result; -} -KOALA_INTEROP_3(UpdateETSPackageDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSImportDeclaration(KNativePointer context, KNativePointer importPath, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds) -{ - const auto _context = reinterpret_cast(context); - const auto _importPath = reinterpret_cast(importPath); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - const auto _importKinds = static_cast(importKinds); - auto result = GetImpl()->CreateETSImportDeclaration(_context, _importPath, _specifiers, _specifiersSequenceLength, _importKinds); - return result; -} -KOALA_INTEROP_5(CreateETSImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt); - -KNativePointer impl_UpdateETSImportDeclaration(KNativePointer context, KNativePointer original, KNativePointer importPath, KNativePointerArray specifiers, KUInt specifiersSequenceLength, KInt importKinds) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _importPath = reinterpret_cast(importPath); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - const auto _importKinds = static_cast(importKinds); - auto result = GetImpl()->UpdateETSImportDeclaration(_context, _original, _importPath, _specifiers, _specifiersSequenceLength, _importKinds); - return result; -} -KOALA_INTEROP_6(UpdateETSImportDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KInt); - -void impl_ETSImportDeclarationSetImportMetadata(KNativePointer context, KNativePointer receiver, KInt importFlags, KInt lang, KStringPtr& resolvedSource, KStringPtr& declPath, KStringPtr& ohmUrl) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _importFlags = static_cast(importFlags); - const auto _lang = static_cast(lang); - const auto _resolvedSource = getStringCopy(resolvedSource); - const auto _declPath = getStringCopy(declPath); - const auto _ohmUrl = getStringCopy(ohmUrl); - GetImpl()->ETSImportDeclarationSetImportMetadata(_context, _receiver, _importFlags, _lang, _resolvedSource, _declPath, _ohmUrl); - return ; -} -KOALA_INTEROP_V7(ETSImportDeclarationSetImportMetadata, KNativePointer, KNativePointer, KInt, KInt, KStringPtr, KStringPtr, KStringPtr); - -KNativePointer impl_ETSImportDeclarationDeclPathConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSImportDeclarationDeclPathConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSImportDeclarationDeclPathConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSImportDeclarationOhmUrlConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSImportDeclarationOhmUrlConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSImportDeclarationOhmUrlConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ETSImportDeclarationIsValidConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSImportDeclarationIsValidConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSImportDeclarationIsValidConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ETSImportDeclarationIsPureDynamicConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSImportDeclarationIsPureDynamicConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSImportDeclarationIsPureDynamicConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ETSImportDeclarationSetAssemblerName(KNativePointer context, KNativePointer receiver, KStringPtr& assemblerName) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _assemblerName = getStringCopy(assemblerName); - GetImpl()->ETSImportDeclarationSetAssemblerName(_context, _receiver, _assemblerName); - return ; -} -KOALA_INTEROP_V3(ETSImportDeclarationSetAssemblerName, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_ETSImportDeclarationAssemblerNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSImportDeclarationAssemblerNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSImportDeclarationAssemblerNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSImportDeclarationResolvedSourceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSImportDeclarationResolvedSourceConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSImportDeclarationResolvedSourceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSStructDeclaration(KNativePointer context, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _def = reinterpret_cast(def); - auto result = GetImpl()->CreateETSStructDeclaration(_context, _def); - return result; -} -KOALA_INTEROP_2(CreateETSStructDeclaration, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSStructDeclaration(KNativePointer context, KNativePointer original, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _def = reinterpret_cast(def); - auto result = GetImpl()->UpdateETSStructDeclaration(_context, _original, _def); - return result; -} -KOALA_INTEROP_3(UpdateETSStructDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSModuleBlock(KNativePointer context, KNativePointerArray statements, KUInt statementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _statements = reinterpret_cast(statements); - const auto _statementsSequenceLength = static_cast(statementsSequenceLength); - auto result = GetImpl()->CreateTSModuleBlock(_context, _statements, _statementsSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSModuleBlock, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSModuleBlock(KNativePointer context, KNativePointer original, KNativePointerArray statements, KUInt statementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _statements = reinterpret_cast(statements); - const auto _statementsSequenceLength = static_cast(statementsSequenceLength); - auto result = GetImpl()->UpdateTSModuleBlock(_context, _original, _statements, _statementsSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSModuleBlock, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSModuleBlockStatementsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSModuleBlockStatementsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSModuleBlockStatementsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSNewArrayInstanceExpression(KNativePointer context, KNativePointer typeReference, KNativePointer dimension) -{ - const auto _context = reinterpret_cast(context); - const auto _typeReference = reinterpret_cast(typeReference); - const auto _dimension = reinterpret_cast(dimension); - auto result = GetImpl()->CreateETSNewArrayInstanceExpression(_context, _typeReference, _dimension); - return result; -} -KOALA_INTEROP_3(CreateETSNewArrayInstanceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSNewArrayInstanceExpression(KNativePointer context, KNativePointer original, KNativePointer typeReference, KNativePointer dimension) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeReference = reinterpret_cast(typeReference); - const auto _dimension = reinterpret_cast(dimension); - auto result = GetImpl()->UpdateETSNewArrayInstanceExpression(_context, _original, _typeReference, _dimension); - return result; -} -KOALA_INTEROP_4(UpdateETSNewArrayInstanceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewArrayInstanceExpressionTypeReference(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewArrayInstanceExpressionTypeReference(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSNewArrayInstanceExpressionTypeReference, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewArrayInstanceExpressionTypeReferenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewArrayInstanceExpressionTypeReferenceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSNewArrayInstanceExpressionTypeReferenceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewArrayInstanceExpressionDimension(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewArrayInstanceExpressionDimension(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSNewArrayInstanceExpressionDimension, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewArrayInstanceExpressionDimensionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewArrayInstanceExpressionDimensionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSNewArrayInstanceExpressionDimensionConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSNewArrayInstanceExpressionSetDimension(KNativePointer context, KNativePointer receiver, KNativePointer dimension) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dimension = reinterpret_cast(dimension); - GetImpl()->ETSNewArrayInstanceExpressionSetDimension(_context, _receiver, _dimension); - return ; -} -KOALA_INTEROP_V3(ETSNewArrayInstanceExpressionSetDimension, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSNewArrayInstanceExpressionClearPreferredType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ETSNewArrayInstanceExpressionClearPreferredType(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ETSNewArrayInstanceExpressionClearPreferredType, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAnnotationDeclaration(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateAnnotationDeclaration(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateAnnotationDeclaration, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateAnnotationDeclaration(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateAnnotationDeclaration(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateAnnotationDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAnnotationDeclaration1(KNativePointer context, KNativePointer expr, KNativePointerArray properties, KUInt propertiesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - auto result = GetImpl()->CreateAnnotationDeclaration1(_context, _expr, _properties, _propertiesSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateAnnotationDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateAnnotationDeclaration1(KNativePointer context, KNativePointer original, KNativePointer expr, KNativePointerArray properties, KUInt propertiesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - auto result = GetImpl()->UpdateAnnotationDeclaration1(_context, _original, _expr, _properties, _propertiesSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateAnnotationDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_AnnotationDeclarationInternalNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationInternalNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(AnnotationDeclarationInternalNameConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationSetInternalName(KNativePointer context, KNativePointer receiver, KStringPtr& internalName) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _internalName = getStringCopy(internalName); - GetImpl()->AnnotationDeclarationSetInternalName(_context, _receiver, _internalName); - return ; -} -KOALA_INTEROP_V3(AnnotationDeclarationSetInternalName, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_AnnotationDeclarationExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AnnotationDeclarationExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationExpr(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationExpr(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AnnotationDeclarationExpr, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationProperties(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationDeclarationProperties(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationDeclarationProperties, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationPropertiesForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationDeclarationPropertiesForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationDeclarationPropertiesForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationPropertiesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationDeclarationPropertiesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationDeclarationPropertiesConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationAddProperties(KNativePointer context, KNativePointer receiver, KNativePointerArray properties, KUInt propertiesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - GetImpl()->AnnotationDeclarationAddProperties(_context, _receiver, _properties, _propertiesSequenceLength); - return ; -} -KOALA_INTEROP_V4(AnnotationDeclarationAddProperties, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KBoolean impl_AnnotationDeclarationIsSourceRetentionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationIsSourceRetentionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AnnotationDeclarationIsSourceRetentionConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AnnotationDeclarationIsBytecodeRetentionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationIsBytecodeRetentionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AnnotationDeclarationIsBytecodeRetentionConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_AnnotationDeclarationIsRuntimeRetentionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationIsRuntimeRetentionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AnnotationDeclarationIsRuntimeRetentionConst, KBoolean, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationSetSourceRetention(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AnnotationDeclarationSetSourceRetention(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AnnotationDeclarationSetSourceRetention, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationSetBytecodeRetention(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AnnotationDeclarationSetBytecodeRetention(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AnnotationDeclarationSetBytecodeRetention, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationSetRuntimeRetention(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AnnotationDeclarationSetRuntimeRetention(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AnnotationDeclarationSetRuntimeRetention, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationGetBaseNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationGetBaseNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AnnotationDeclarationGetBaseNameConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationEmplaceProperties(KNativePointer context, KNativePointer receiver, KNativePointer properties) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _properties = reinterpret_cast(properties); - GetImpl()->AnnotationDeclarationEmplaceProperties(_context, _receiver, _properties); - return ; -} -KOALA_INTEROP_V3(AnnotationDeclarationEmplaceProperties, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationClearProperties(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AnnotationDeclarationClearProperties(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AnnotationDeclarationClearProperties, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationSetValueProperties(KNativePointer context, KNativePointer receiver, KNativePointer properties, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _properties = reinterpret_cast(properties); - const auto _index = static_cast(index); - GetImpl()->AnnotationDeclarationSetValueProperties(_context, _receiver, _properties, _index); - return ; -} -KOALA_INTEROP_V4(AnnotationDeclarationSetValueProperties, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KBoolean impl_AnnotationDeclarationHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationDeclarationHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AnnotationDeclarationHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->AnnotationDeclarationEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(AnnotationDeclarationEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->AnnotationDeclarationClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(AnnotationDeclarationClearAnnotations, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->AnnotationDeclarationDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(AnnotationDeclarationDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationDeclarationAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationDeclarationAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationDeclarationAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationDeclarationAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationDeclarationAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationDeclarationAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationDeclarationAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationDeclarationSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->AnnotationDeclarationSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_AnnotationDeclarationSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->AnnotationDeclarationSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(AnnotationDeclarationSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateAnnotationUsage(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateAnnotationUsageIr(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateAnnotationUsage, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateAnnotationUsage(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateAnnotationUsageIr(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateAnnotationUsage, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAnnotationUsage1(KNativePointer context, KNativePointer expr, KNativePointerArray properties, KUInt propertiesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - auto result = GetImpl()->CreateAnnotationUsageIr1(_context, _expr, _properties, _propertiesSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateAnnotationUsage1, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateAnnotationUsage1(KNativePointer context, KNativePointer original, KNativePointer expr, KNativePointerArray properties, KUInt propertiesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - auto result = GetImpl()->UpdateAnnotationUsageIr1(_context, _original, _expr, _properties, _propertiesSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateAnnotationUsage1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_AnnotationUsageExpr(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationUsageIrExpr(_context, _receiver); - return result; -} -KOALA_INTEROP_2(AnnotationUsageExpr, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationUsageProperties(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationUsageIrProperties(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationUsageProperties, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotationUsagePropertiesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->AnnotationUsageIrPropertiesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(AnnotationUsagePropertiesConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationUsageAddProperty(KNativePointer context, KNativePointer receiver, KNativePointer property) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _property = reinterpret_cast(property); - GetImpl()->AnnotationUsageIrAddProperty(_context, _receiver, _property); - return ; -} -KOALA_INTEROP_V3(AnnotationUsageAddProperty, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotationUsageSetProperties(KNativePointer context, KNativePointer receiver, KNativePointerArray properties, KUInt propertiesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _properties = reinterpret_cast(properties); - const auto _propertiesSequenceLength = static_cast(propertiesSequenceLength); - GetImpl()->AnnotationUsageIrSetProperties(_context, _receiver, _properties, _propertiesSequenceLength); - return ; -} -KOALA_INTEROP_V4(AnnotationUsageSetProperties, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_AnnotationUsageGetBaseNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotationUsageIrGetBaseNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AnnotationUsageGetBaseNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateEmptyStatement(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateEmptyStatement(_context); - return result; -} -KOALA_INTEROP_1(CreateEmptyStatement, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateEmptyStatement(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateEmptyStatement(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateEmptyStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateEmptyStatement1(KNativePointer context, KBoolean isBrokenStatement) -{ - const auto _context = reinterpret_cast(context); - const auto _isBrokenStatement = static_cast(isBrokenStatement); - auto result = GetImpl()->CreateEmptyStatement1(_context, _isBrokenStatement); - return result; -} -KOALA_INTEROP_2(CreateEmptyStatement1, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateEmptyStatement1(KNativePointer context, KNativePointer original, KBoolean isBrokenStatement) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _isBrokenStatement = static_cast(isBrokenStatement); - auto result = GetImpl()->UpdateEmptyStatement1(_context, _original, _isBrokenStatement); - return result; -} -KOALA_INTEROP_3(UpdateEmptyStatement1, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_EmptyStatementIsBrokenStatement(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->EmptyStatementIsBrokenStatement(_context, _receiver); - return result; -} -KOALA_INTEROP_2(EmptyStatementIsBrokenStatement, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateWhileStatement(KNativePointer context, KNativePointer test, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _test = reinterpret_cast(test); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->CreateWhileStatement(_context, _test, _body); - return result; -} -KOALA_INTEROP_3(CreateWhileStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateWhileStatement(KNativePointer context, KNativePointer original, KNativePointer test, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _test = reinterpret_cast(test); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->UpdateWhileStatement(_context, _original, _test, _body); - return result; -} -KOALA_INTEROP_4(UpdateWhileStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_WhileStatementTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->WhileStatementTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(WhileStatementTestConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_WhileStatementTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->WhileStatementTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(WhileStatementTest, KNativePointer, KNativePointer, KNativePointer); - -void impl_WhileStatementSetTest(KNativePointer context, KNativePointer receiver, KNativePointer test) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _test = reinterpret_cast(test); - GetImpl()->WhileStatementSetTest(_context, _receiver, _test); - return ; -} -KOALA_INTEROP_V3(WhileStatementSetTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_WhileStatementBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->WhileStatementBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(WhileStatementBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_WhileStatementBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->WhileStatementBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(WhileStatementBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateFunctionSignature(KNativePointer context, KNativePointer typeParams, KNativePointerArray params, KUInt paramsSequenceLength, KNativePointer returnTypeAnnotation, KBoolean hasReceiver) -{ - const auto _context = reinterpret_cast(context); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _params = reinterpret_cast(params); - const auto _paramsSequenceLength = static_cast(paramsSequenceLength); - const auto _returnTypeAnnotation = reinterpret_cast(returnTypeAnnotation); - const auto _hasReceiver = static_cast(hasReceiver); - auto result = GetImpl()->CreateFunctionSignature(_context, _typeParams, _params, _paramsSequenceLength, _returnTypeAnnotation, _hasReceiver); - return result; -} -KOALA_INTEROP_6(CreateFunctionSignature, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KBoolean); - -KNativePointer impl_FunctionSignatureParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->FunctionSignatureParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(FunctionSignatureParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionSignatureParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->FunctionSignatureParams(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(FunctionSignatureParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionSignatureTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionSignatureTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionSignatureTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionSignatureTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionSignatureTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(FunctionSignatureTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionSignatureReturnType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionSignatureReturnType(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionSignatureReturnType, KNativePointer, KNativePointer, KNativePointer); - -void impl_FunctionSignatureSetReturnType(KNativePointer context, KNativePointer receiver, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _type = reinterpret_cast(type); - GetImpl()->FunctionSignatureSetReturnType(_context, _receiver, _type); - return ; -} -KOALA_INTEROP_V3(FunctionSignatureSetReturnType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionSignatureReturnTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionSignatureReturnTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(FunctionSignatureReturnTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_FunctionSignatureClone(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionSignatureClone(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionSignatureClone, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_FunctionSignatureHasReceiverConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->FunctionSignatureHasReceiverConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(FunctionSignatureHasReceiverConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateChainExpression(KNativePointer context, KNativePointer expression) -{ - const auto _context = reinterpret_cast(context); - const auto _expression = reinterpret_cast(expression); - auto result = GetImpl()->CreateChainExpression(_context, _expression); - return result; -} -KOALA_INTEROP_2(CreateChainExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateChainExpression(KNativePointer context, KNativePointer original, KNativePointer expression) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expression = reinterpret_cast(expression); - auto result = GetImpl()->UpdateChainExpression(_context, _original, _expression); - return result; -} -KOALA_INTEROP_3(UpdateChainExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ChainExpressionGetExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ChainExpressionGetExpressionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ChainExpressionGetExpressionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ChainExpressionGetExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ChainExpressionGetExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ChainExpressionGetExpression, KNativePointer, KNativePointer, KNativePointer); - -void impl_ChainExpressionCompileToRegConst(KNativePointer context, KNativePointer receiver, KNativePointer pg, KNativePointer objReg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _pg = reinterpret_cast(pg); - const auto _objReg = reinterpret_cast(objReg); - GetImpl()->ChainExpressionCompileToRegConst(_context, _receiver, _pg, _objReg); - return ; -} -KOALA_INTEROP_V4(ChainExpressionCompileToRegConst, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSIntersectionType(KNativePointer context, KNativePointerArray types, KUInt typesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _types = reinterpret_cast(types); - const auto _typesSequenceLength = static_cast(typesSequenceLength); - auto result = GetImpl()->CreateTSIntersectionType(_context, _types, _typesSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSIntersectionType, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSIntersectionType(KNativePointer context, KNativePointer original, KNativePointerArray types, KUInt typesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _types = reinterpret_cast(types); - const auto _typesSequenceLength = static_cast(typesSequenceLength); - auto result = GetImpl()->UpdateTSIntersectionType(_context, _original, _types, _typesSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSIntersectionType, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSIntersectionTypeTypesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSIntersectionTypeTypesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSIntersectionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateUpdateExpression(KNativePointer context, KNativePointer argument, KInt updateOperator, KBoolean isPrefix) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - const auto _updateOperator = static_cast(updateOperator); - const auto _isPrefix = static_cast(isPrefix); - auto result = GetImpl()->CreateUpdateExpression(_context, _argument, _updateOperator, _isPrefix); - return result; -} -KOALA_INTEROP_4(CreateUpdateExpression, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean); - -KNativePointer impl_UpdateUpdateExpression(KNativePointer context, KNativePointer original, KNativePointer argument, KInt updateOperator, KBoolean isPrefix) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - const auto _updateOperator = static_cast(updateOperator); - const auto _isPrefix = static_cast(isPrefix); - auto result = GetImpl()->UpdateUpdateExpression(_context, _original, _argument, _updateOperator, _isPrefix); - return result; -} -KOALA_INTEROP_5(UpdateUpdateExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KBoolean); - -KInt impl_UpdateExpressionOperatorTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UpdateExpressionOperatorTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(UpdateExpressionOperatorTypeConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateExpressionArgument(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UpdateExpressionArgument(_context, _receiver); - return result; -} -KOALA_INTEROP_2(UpdateExpressionArgument, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateExpressionArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UpdateExpressionArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(UpdateExpressionArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_UpdateExpressionIsPrefixConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->UpdateExpressionIsPrefixConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(UpdateExpressionIsPrefixConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBlockExpression(KNativePointer context, KNativePointerArray statements, KUInt statementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _statements = reinterpret_cast(statements); - const auto _statementsSequenceLength = static_cast(statementsSequenceLength); - auto result = GetImpl()->CreateBlockExpression(_context, _statements, _statementsSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateBlockExpression, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateBlockExpression(KNativePointer context, KNativePointer original, KNativePointerArray statements, KUInt statementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _statements = reinterpret_cast(statements); - const auto _statementsSequenceLength = static_cast(statementsSequenceLength); - auto result = GetImpl()->UpdateBlockExpression(_context, _original, _statements, _statementsSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateBlockExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_BlockExpressionStatementsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->BlockExpressionStatementsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(BlockExpressionStatementsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BlockExpressionStatements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->BlockExpressionStatements(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(BlockExpressionStatements, KNativePointer, KNativePointer, KNativePointer); - -void impl_BlockExpressionAddStatements(KNativePointer context, KNativePointer receiver, KNativePointerArray statements, KUInt statementsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _statements = reinterpret_cast(statements); - const auto _statementsSequenceLength = static_cast(statementsSequenceLength); - GetImpl()->BlockExpressionAddStatements(_context, _receiver, _statements, _statementsSequenceLength); - return ; -} -KOALA_INTEROP_V4(BlockExpressionAddStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_BlockExpressionAddStatement(KNativePointer context, KNativePointer receiver, KNativePointer statement) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _statement = reinterpret_cast(statement); - GetImpl()->BlockExpressionAddStatement(_context, _receiver, _statement); - return ; -} -KOALA_INTEROP_V3(BlockExpressionAddStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeLiteral(KNativePointer context, KNativePointerArray members, KUInt membersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _members = reinterpret_cast(members); - const auto _membersSequenceLength = static_cast(membersSequenceLength); - auto result = GetImpl()->CreateTSTypeLiteral(_context, _members, _membersSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSTypeLiteral, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSTypeLiteral(KNativePointer context, KNativePointer original, KNativePointerArray members, KUInt membersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _members = reinterpret_cast(members); - const auto _membersSequenceLength = static_cast(membersSequenceLength); - auto result = GetImpl()->UpdateTSTypeLiteral(_context, _original, _members, _membersSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSTypeLiteral, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSTypeLiteralMembersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeLiteralMembersConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeLiteralMembersConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeParameter(KNativePointer context, KNativePointer name, KNativePointer constraint, KNativePointer defaultType) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - const auto _constraint = reinterpret_cast(constraint); - const auto _defaultType = reinterpret_cast(defaultType); - auto result = GetImpl()->CreateTSTypeParameter(_context, _name, _constraint, _defaultType); - return result; -} -KOALA_INTEROP_4(CreateTSTypeParameter, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSTypeParameter(KNativePointer context, KNativePointer original, KNativePointer name, KNativePointer constraint, KNativePointer defaultType) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - const auto _constraint = reinterpret_cast(constraint); - const auto _defaultType = reinterpret_cast(defaultType); - auto result = GetImpl()->UpdateTSTypeParameter(_context, _original, _name, _constraint, _defaultType); - return result; -} -KOALA_INTEROP_5(UpdateTSTypeParameter, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypeParameter1(KNativePointer context, KNativePointer name, KNativePointer constraint, KNativePointer defaultType, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - const auto _constraint = reinterpret_cast(constraint); - const auto _defaultType = reinterpret_cast(defaultType); - const auto _flags = static_cast(flags); - auto result = GetImpl()->CreateTSTypeParameter1(_context, _name, _constraint, _defaultType, _flags); - return result; -} -KOALA_INTEROP_5(CreateTSTypeParameter1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateTSTypeParameter1(KNativePointer context, KNativePointer original, KNativePointer name, KNativePointer constraint, KNativePointer defaultType, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - const auto _constraint = reinterpret_cast(constraint); - const auto _defaultType = reinterpret_cast(defaultType); - const auto _flags = static_cast(flags); - auto result = GetImpl()->UpdateTSTypeParameter1(_context, _original, _name, _constraint, _defaultType, _flags); - return result; -} -KOALA_INTEROP_6(UpdateTSTypeParameter1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_TSTypeParameterNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeParameterNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterName(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterName(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeParameterName, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterConstraint(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterConstraint(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeParameterConstraint, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterConstraintConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterConstraintConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeParameterConstraintConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeParameterSetConstraint(KNativePointer context, KNativePointer receiver, KNativePointer constraint) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _constraint = reinterpret_cast(constraint); - GetImpl()->TSTypeParameterSetConstraint(_context, _receiver, _constraint); - return ; -} -KOALA_INTEROP_V3(TSTypeParameterSetConstraint, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterDefaultTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterDefaultTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypeParameterDefaultTypeConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeParameterSetDefaultType(KNativePointer context, KNativePointer receiver, KNativePointer defaultType) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _defaultType = reinterpret_cast(defaultType); - GetImpl()->TSTypeParameterSetDefaultType(_context, _receiver, _defaultType); - return ; -} -KOALA_INTEROP_V3(TSTypeParameterSetDefaultType, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSTypeParameterHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeParameterHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TSTypeParameterEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->TSTypeParameterEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(TSTypeParameterEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeParameterClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TSTypeParameterClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TSTypeParameterClearAnnotations, KNativePointer, KNativePointer); - -void impl_TSTypeParameterDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->TSTypeParameterDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(TSTypeParameterDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeParameterAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeParameterAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeParameterAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeParameterAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypeParameterAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeParameterAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeParameterAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeParameterSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TSTypeParameterSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TSTypeParameterSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_TSTypeParameterSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TSTypeParameterSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TSTypeParameterSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateTSBooleanKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSBooleanKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSBooleanKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSBooleanKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSBooleanKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSBooleanKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSpreadElement(KNativePointer context, KInt nodeType, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _nodeType = static_cast(nodeType); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->CreateSpreadElement(_context, _nodeType, _argument); - return result; -} -KOALA_INTEROP_3(CreateSpreadElement, KNativePointer, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_UpdateSpreadElement(KNativePointer context, KNativePointer original, KInt nodeType, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _nodeType = static_cast(nodeType); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->UpdateSpreadElement(_context, _original, _nodeType, _argument); - return result; -} -KOALA_INTEROP_4(UpdateSpreadElement, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer); - -KNativePointer impl_SpreadElementArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SpreadElementArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(SpreadElementArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SpreadElementArgument(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SpreadElementArgument(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SpreadElementArgument, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_SpreadElementIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SpreadElementIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SpreadElementIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -void impl_SpreadElementSetOptional(KNativePointer context, KNativePointer receiver, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _optional_arg = static_cast(optional_arg); - GetImpl()->SpreadElementSetOptional(_context, _receiver, _optional_arg); - return ; -} -KOALA_INTEROP_V3(SpreadElementSetOptional, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_SpreadElementValidateExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SpreadElementValidateExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SpreadElementValidateExpression, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_SpreadElementConvertibleToRest(KNativePointer context, KNativePointer receiver, KBoolean isDeclaration, KBoolean allowPattern) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isDeclaration = static_cast(isDeclaration); - const auto _allowPattern = static_cast(allowPattern); - auto result = GetImpl()->SpreadElementConvertibleToRest(_context, _receiver, _isDeclaration, _allowPattern); - return result; -} -KOALA_INTEROP_4(SpreadElementConvertibleToRest, KBoolean, KNativePointer, KNativePointer, KBoolean, KBoolean); - -KNativePointer impl_SpreadElementTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SpreadElementTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(SpreadElementTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_SpreadElementSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->SpreadElementSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(SpreadElementSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSTypePredicate(KNativePointer context, KNativePointer parameterName, KNativePointer typeAnnotation, KBoolean asserts) -{ - const auto _context = reinterpret_cast(context); - const auto _parameterName = reinterpret_cast(parameterName); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _asserts = static_cast(asserts); - auto result = GetImpl()->CreateTSTypePredicate(_context, _parameterName, _typeAnnotation, _asserts); - return result; -} -KOALA_INTEROP_4(CreateTSTypePredicate, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSTypePredicate(KNativePointer context, KNativePointer original, KNativePointer parameterName, KNativePointer typeAnnotation, KBoolean asserts) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _parameterName = reinterpret_cast(parameterName); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _asserts = static_cast(asserts); - auto result = GetImpl()->UpdateTSTypePredicate(_context, _original, _parameterName, _typeAnnotation, _asserts); - return result; -} -KOALA_INTEROP_5(UpdateTSTypePredicate, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSTypePredicateParameterNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypePredicateParameterNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypePredicateParameterNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSTypePredicateTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypePredicateTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSTypePredicateTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSTypePredicateAssertsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypePredicateAssertsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypePredicateAssertsConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateImportNamespaceSpecifier(KNativePointer context, KNativePointer local) -{ - const auto _context = reinterpret_cast(context); - const auto _local = reinterpret_cast(local); - auto result = GetImpl()->CreateImportNamespaceSpecifier(_context, _local); - return result; -} -KOALA_INTEROP_2(CreateImportNamespaceSpecifier, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateImportNamespaceSpecifier(KNativePointer context, KNativePointer original, KNativePointer local) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _local = reinterpret_cast(local); - auto result = GetImpl()->UpdateImportNamespaceSpecifier(_context, _original, _local); - return result; -} -KOALA_INTEROP_3(UpdateImportNamespaceSpecifier, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportNamespaceSpecifierLocal(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportNamespaceSpecifierLocal(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportNamespaceSpecifierLocal, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportNamespaceSpecifierLocalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportNamespaceSpecifierLocalConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ImportNamespaceSpecifierLocalConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateExportNamedDeclaration(KNativePointer context, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _source = reinterpret_cast(source); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - auto result = GetImpl()->CreateExportNamedDeclaration(_context, _source, _specifiers, _specifiersSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateExportNamedDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateExportNamedDeclaration(KNativePointer context, KNativePointer original, KNativePointer source, KNativePointerArray specifiers, KUInt specifiersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _source = reinterpret_cast(source); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - auto result = GetImpl()->UpdateExportNamedDeclaration(_context, _original, _source, _specifiers, _specifiersSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateExportNamedDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateExportNamedDeclaration1(KNativePointer context, KNativePointer decl, KNativePointerArray specifiers, KUInt specifiersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _decl = reinterpret_cast(decl); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - auto result = GetImpl()->CreateExportNamedDeclaration1(_context, _decl, _specifiers, _specifiersSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateExportNamedDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateExportNamedDeclaration1(KNativePointer context, KNativePointer original, KNativePointer decl, KNativePointerArray specifiers, KUInt specifiersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _decl = reinterpret_cast(decl); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - auto result = GetImpl()->UpdateExportNamedDeclaration1(_context, _original, _decl, _specifiers, _specifiersSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateExportNamedDeclaration1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateExportNamedDeclaration2(KNativePointer context, KNativePointer decl) -{ - const auto _context = reinterpret_cast(context); - const auto _decl = reinterpret_cast(decl); - auto result = GetImpl()->CreateExportNamedDeclaration2(_context, _decl); - return result; -} -KOALA_INTEROP_2(CreateExportNamedDeclaration2, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateExportNamedDeclaration2(KNativePointer context, KNativePointer original, KNativePointer decl) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _decl = reinterpret_cast(decl); - auto result = GetImpl()->UpdateExportNamedDeclaration2(_context, _original, _decl); - return result; -} -KOALA_INTEROP_3(UpdateExportNamedDeclaration2, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportNamedDeclarationDeclConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportNamedDeclarationDeclConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportNamedDeclarationDeclConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportNamedDeclarationSourceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExportNamedDeclarationSourceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExportNamedDeclarationSourceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExportNamedDeclarationSpecifiersConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ExportNamedDeclarationSpecifiersConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ExportNamedDeclarationSpecifiersConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ExportNamedDeclarationReplaceSpecifiers(KNativePointer context, KNativePointer receiver, KNativePointerArray specifiers, KUInt specifiersSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _specifiers = reinterpret_cast(specifiers); - const auto _specifiersSequenceLength = static_cast(specifiersSequenceLength); - GetImpl()->ExportNamedDeclarationReplaceSpecifiers(_context, _receiver, _specifiers, _specifiersSequenceLength); - return ; -} -KOALA_INTEROP_V4(ExportNamedDeclarationReplaceSpecifiers, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateETSParameterExpression(KNativePointer context, KNativePointer identOrSpread, KBoolean isOptional) -{ - const auto _context = reinterpret_cast(context); - const auto _identOrSpread = reinterpret_cast(identOrSpread); - const auto _isOptional = static_cast(isOptional); - auto result = GetImpl()->CreateETSParameterExpression(_context, _identOrSpread, _isOptional); - return result; -} -KOALA_INTEROP_3(CreateETSParameterExpression, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateETSParameterExpression(KNativePointer context, KNativePointer original, KNativePointer identOrSpread, KBoolean isOptional) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _identOrSpread = reinterpret_cast(identOrSpread); - const auto _isOptional = static_cast(isOptional); - auto result = GetImpl()->UpdateETSParameterExpression(_context, _original, _identOrSpread, _isOptional); - return result; -} -KOALA_INTEROP_4(UpdateETSParameterExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_CreateETSParameterExpression1(KNativePointer context, KNativePointer identOrSpread, KNativePointer initializer) -{ - const auto _context = reinterpret_cast(context); - const auto _identOrSpread = reinterpret_cast(identOrSpread); - const auto _initializer = reinterpret_cast(initializer); - auto result = GetImpl()->CreateETSParameterExpression1(_context, _identOrSpread, _initializer); - return result; -} -KOALA_INTEROP_3(CreateETSParameterExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSParameterExpression1(KNativePointer context, KNativePointer original, KNativePointer identOrSpread, KNativePointer initializer) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _identOrSpread = reinterpret_cast(identOrSpread); - const auto _initializer = reinterpret_cast(initializer); - auto result = GetImpl()->UpdateETSParameterExpression1(_context, _original, _identOrSpread, _initializer); - return result; -} -KOALA_INTEROP_4(UpdateETSParameterExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSParameterExpressionNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionIdentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSParameterExpressionIdentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionIdent, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetIdent(KNativePointer context, KNativePointer receiver, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _ident = reinterpret_cast(ident); - GetImpl()->ETSParameterExpressionSetIdent(_context, _receiver, _ident); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionSpread(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionSpread(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionSpread, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionSpreadConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionSpreadConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSParameterExpressionSpreadConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetSpread(KNativePointer context, KNativePointer receiver, KNativePointer spread) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _spread = reinterpret_cast(spread); - GetImpl()->ETSParameterExpressionSetSpread(_context, _receiver, _spread); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetSpread, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionRestParameterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionRestParameterConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSParameterExpressionRestParameterConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionRestParameter(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionRestParameter(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionRestParameter, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionInitializerConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionInitializerConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSParameterExpressionInitializerConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionInitializer(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionInitializer(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionInitializer, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetLexerSaved(KNativePointer context, KNativePointer receiver, KStringPtr& savedLexer) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _savedLexer = getStringCopy(savedLexer); - GetImpl()->ETSParameterExpressionSetLexerSaved(_context, _receiver, _savedLexer); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetLexerSaved, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_ETSParameterExpressionLexerSavedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionLexerSavedConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSParameterExpressionLexerSavedConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSParameterExpressionTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionTypeAnnotation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionTypeAnnotation(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeNode) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeNode = reinterpret_cast(typeNode); - GetImpl()->ETSParameterExpressionSetTypeAnnotation(_context, _receiver, _typeNode); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ETSParameterExpressionIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetOptional(KNativePointer context, KNativePointer receiver, KBoolean value) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _value = static_cast(value); - GetImpl()->ETSParameterExpressionSetOptional(_context, _receiver, _value); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetOptional, KNativePointer, KNativePointer, KBoolean); - -void impl_ETSParameterExpressionSetInitializer(KNativePointer context, KNativePointer receiver, KNativePointer initExpr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _initExpr = reinterpret_cast(initExpr); - GetImpl()->ETSParameterExpressionSetInitializer(_context, _receiver, _initExpr); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetInitializer, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ETSParameterExpressionIsRestParameterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionIsRestParameterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionIsRestParameterConst, KBoolean, KNativePointer, KNativePointer); - -KUInt impl_ETSParameterExpressionGetRequiredParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionGetRequiredParamsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionGetRequiredParamsConst, KUInt, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetRequiredParams(KNativePointer context, KNativePointer receiver, KUInt extraValue) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _extraValue = static_cast(extraValue); - GetImpl()->ETSParameterExpressionSetRequiredParams(_context, _receiver, _extraValue); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionSetRequiredParams, KNativePointer, KNativePointer, KUInt); - -KBoolean impl_ETSParameterExpressionHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSParameterExpressionHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSParameterExpressionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ETSParameterExpressionEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ETSParameterExpressionClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ETSParameterExpressionClearAnnotations, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->ETSParameterExpressionDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(ETSParameterExpressionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSParameterExpressionAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSParameterExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSParameterExpressionAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSParameterExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSParameterExpressionAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSParameterExpressionAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSParameterExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSParameterExpressionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ETSParameterExpressionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSParameterExpressionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ETSParameterExpressionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ETSParameterExpressionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSParameterExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateTSTypeParameterInstantiation(KNativePointer context, KNativePointerArray params, KUInt paramsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _params = reinterpret_cast(params); - const auto _paramsSequenceLength = static_cast(paramsSequenceLength); - auto result = GetImpl()->CreateTSTypeParameterInstantiation(_context, _params, _paramsSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSTypeParameterInstantiation, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSTypeParameterInstantiation(KNativePointer context, KNativePointer original, KNativePointerArray params, KUInt paramsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _params = reinterpret_cast(params); - const auto _paramsSequenceLength = static_cast(paramsSequenceLength); - auto result = GetImpl()->UpdateTSTypeParameterInstantiation(_context, _original, _params, _paramsSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSTypeParameterInstantiation, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSTypeParameterInstantiationParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeParameterInstantiationParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeParameterInstantiationParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateNullLiteral(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateNullLiteral(_context); - return result; -} -KOALA_INTEROP_1(CreateNullLiteral, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateNullLiteral(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateNullLiteral(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateNullLiteral, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSInferType(KNativePointer context, KNativePointer typeParam) -{ - const auto _context = reinterpret_cast(context); - const auto _typeParam = reinterpret_cast(typeParam); - auto result = GetImpl()->CreateTSInferType(_context, _typeParam); - return result; -} -KOALA_INTEROP_2(CreateTSInferType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSInferType(KNativePointer context, KNativePointer original, KNativePointer typeParam) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeParam = reinterpret_cast(typeParam); - auto result = GetImpl()->UpdateTSInferType(_context, _original, _typeParam); - return result; -} -KOALA_INTEROP_3(UpdateTSInferType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInferTypeTypeParamConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInferTypeTypeParamConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSInferTypeTypeParamConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSwitchCaseStatement(KNativePointer context, KNativePointer test, KNativePointerArray consequent, KUInt consequentSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _test = reinterpret_cast(test); - const auto _consequent = reinterpret_cast(consequent); - const auto _consequentSequenceLength = static_cast(consequentSequenceLength); - auto result = GetImpl()->CreateSwitchCaseStatement(_context, _test, _consequent, _consequentSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateSwitchCaseStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateSwitchCaseStatement(KNativePointer context, KNativePointer original, KNativePointer test, KNativePointerArray consequent, KUInt consequentSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _test = reinterpret_cast(test); - const auto _consequent = reinterpret_cast(consequent); - const auto _consequentSequenceLength = static_cast(consequentSequenceLength); - auto result = GetImpl()->UpdateSwitchCaseStatement(_context, _original, _test, _consequent, _consequentSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateSwitchCaseStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_SwitchCaseStatementTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SwitchCaseStatementTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SwitchCaseStatementTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SwitchCaseStatementTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SwitchCaseStatementTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(SwitchCaseStatementTestConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_SwitchCaseStatementSetTest(KNativePointer context, KNativePointer receiver, KNativePointer test) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _test = reinterpret_cast(test); - GetImpl()->SwitchCaseStatementSetTest(_context, _receiver, _test); - return ; -} -KOALA_INTEROP_V3(SwitchCaseStatementSetTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SwitchCaseStatementConsequentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->SwitchCaseStatementConsequentConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(SwitchCaseStatementConsequentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateYieldExpression(KNativePointer context, KNativePointer argument, KBoolean isDelegate) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - const auto _isDelegate = static_cast(isDelegate); - auto result = GetImpl()->CreateYieldExpression(_context, _argument, _isDelegate); - return result; -} -KOALA_INTEROP_3(CreateYieldExpression, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateYieldExpression(KNativePointer context, KNativePointer original, KNativePointer argument, KBoolean isDelegate) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - const auto _isDelegate = static_cast(isDelegate); - auto result = GetImpl()->UpdateYieldExpression(_context, _original, _argument, _isDelegate); - return result; -} -KOALA_INTEROP_4(UpdateYieldExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_YieldExpressionHasDelegateConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->YieldExpressionHasDelegateConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(YieldExpressionHasDelegateConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_YieldExpressionArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->YieldExpressionArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(YieldExpressionArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSImportEqualsDeclaration(KNativePointer context, KNativePointer id, KNativePointer moduleReference, KBoolean isExport) -{ - const auto _context = reinterpret_cast(context); - const auto _id = reinterpret_cast(id); - const auto _moduleReference = reinterpret_cast(moduleReference); - const auto _isExport = static_cast(isExport); - auto result = GetImpl()->CreateTSImportEqualsDeclaration(_context, _id, _moduleReference, _isExport); - return result; -} -KOALA_INTEROP_4(CreateTSImportEqualsDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSImportEqualsDeclaration(KNativePointer context, KNativePointer original, KNativePointer id, KNativePointer moduleReference, KBoolean isExport) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _id = reinterpret_cast(id); - const auto _moduleReference = reinterpret_cast(moduleReference); - const auto _isExport = static_cast(isExport); - auto result = GetImpl()->UpdateTSImportEqualsDeclaration(_context, _original, _id, _moduleReference, _isExport); - return result; -} -KOALA_INTEROP_5(UpdateTSImportEqualsDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSImportEqualsDeclarationIdConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportEqualsDeclarationIdConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSImportEqualsDeclarationIdConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSImportEqualsDeclarationModuleReferenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportEqualsDeclarationModuleReferenceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSImportEqualsDeclarationModuleReferenceConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSImportEqualsDeclarationIsExportConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSImportEqualsDeclarationIsExportConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSImportEqualsDeclarationIsExportConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBooleanLiteral(KNativePointer context, KBoolean value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = static_cast(value); - auto result = GetImpl()->CreateBooleanLiteral(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateBooleanLiteral, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateBooleanLiteral(KNativePointer context, KNativePointer original, KBoolean value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = static_cast(value); - auto result = GetImpl()->UpdateBooleanLiteral(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateBooleanLiteral, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_BooleanLiteralValueConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BooleanLiteralValueConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BooleanLiteralValueConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSNumberKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSNumberKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSNumberKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSNumberKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSNumberKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSNumberKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateClassStaticBlock(KNativePointer context, KNativePointer value) -{ - const auto _context = reinterpret_cast(context); - const auto _value = reinterpret_cast(value); - auto result = GetImpl()->CreateClassStaticBlock(_context, _value); - return result; -} -KOALA_INTEROP_2(CreateClassStaticBlock, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateClassStaticBlock(KNativePointer context, KNativePointer original, KNativePointer value) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _value = reinterpret_cast(value); - auto result = GetImpl()->UpdateClassStaticBlock(_context, _original, _value); - return result; -} -KOALA_INTEROP_3(UpdateClassStaticBlock, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassStaticBlockFunction(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassStaticBlockFunction(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassStaticBlockFunction, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassStaticBlockFunctionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassStaticBlockFunctionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassStaticBlockFunctionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassStaticBlockNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassStaticBlockNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ClassStaticBlockNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSNonNullExpression(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateTSNonNullExpression(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateTSNonNullExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSNonNullExpression(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateTSNonNullExpression(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateTSNonNullExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSNonNullExpressionExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSNonNullExpressionExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSNonNullExpressionExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSNonNullExpressionExpr(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSNonNullExpressionExpr(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSNonNullExpressionExpr, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSNonNullExpressionSetExpr(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->TSNonNullExpressionSetExpr(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(TSNonNullExpressionSetExpr, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreatePrefixAssertionExpression(KNativePointer context, KNativePointer expr, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - const auto _type = reinterpret_cast(type); - auto result = GetImpl()->CreatePrefixAssertionExpression(_context, _expr, _type); - return result; -} -KOALA_INTEROP_3(CreatePrefixAssertionExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdatePrefixAssertionExpression(KNativePointer context, KNativePointer original, KNativePointer expr, KNativePointer type) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - const auto _type = reinterpret_cast(type); - auto result = GetImpl()->UpdatePrefixAssertionExpression(_context, _original, _expr, _type); - return result; -} -KOALA_INTEROP_4(UpdatePrefixAssertionExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_PrefixAssertionExpressionExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PrefixAssertionExpressionExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(PrefixAssertionExpressionExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_PrefixAssertionExpressionTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->PrefixAssertionExpressionTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(PrefixAssertionExpressionTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateClassExpression(KNativePointer context, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _def = reinterpret_cast(def); - auto result = GetImpl()->CreateClassExpression(_context, _def); - return result; -} -KOALA_INTEROP_2(CreateClassExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateClassExpression(KNativePointer context, KNativePointer original, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _def = reinterpret_cast(def); - auto result = GetImpl()->UpdateClassExpression(_context, _original, _def); - return result; -} -KOALA_INTEROP_3(UpdateClassExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassExpressionDefinitionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassExpressionDefinitionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassExpressionDefinitionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateForOfStatement(KNativePointer context, KNativePointer left, KNativePointer right, KNativePointer body, KBoolean isAwait) -{ - const auto _context = reinterpret_cast(context); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _body = reinterpret_cast(body); - const auto _isAwait = static_cast(isAwait); - auto result = GetImpl()->CreateForOfStatement(_context, _left, _right, _body, _isAwait); - return result; -} -KOALA_INTEROP_5(CreateForOfStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateForOfStatement(KNativePointer context, KNativePointer original, KNativePointer left, KNativePointer right, KNativePointer body, KBoolean isAwait) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - const auto _body = reinterpret_cast(body); - const auto _isAwait = static_cast(isAwait); - auto result = GetImpl()->UpdateForOfStatement(_context, _original, _left, _right, _body, _isAwait); - return result; -} -KOALA_INTEROP_6(UpdateForOfStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_ForOfStatementLeft(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementLeft(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForOfStatementLeft, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForOfStatementLeftConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementLeftConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForOfStatementLeftConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForOfStatementRight(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementRight(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForOfStatementRight, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForOfStatementRightConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementRightConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForOfStatementRightConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForOfStatementBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForOfStatementBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForOfStatementBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForOfStatementBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ForOfStatementIsAwaitConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForOfStatementIsAwaitConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForOfStatementIsAwaitConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTemplateLiteral(KNativePointer context, KNativePointerArray quasis, KUInt quasisSequenceLength, KNativePointerArray expressions, KUInt expressionsSequenceLength, KStringPtr& multilineString) -{ - const auto _context = reinterpret_cast(context); - const auto _quasis = reinterpret_cast(quasis); - const auto _quasisSequenceLength = static_cast(quasisSequenceLength); - const auto _expressions = reinterpret_cast(expressions); - const auto _expressionsSequenceLength = static_cast(expressionsSequenceLength); - const auto _multilineString = getStringCopy(multilineString); - auto result = GetImpl()->CreateTemplateLiteral(_context, _quasis, _quasisSequenceLength, _expressions, _expressionsSequenceLength, _multilineString); - return result; -} -KOALA_INTEROP_6(CreateTemplateLiteral, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointerArray, KUInt, KStringPtr); - -KNativePointer impl_UpdateTemplateLiteral(KNativePointer context, KNativePointer original, KNativePointerArray quasis, KUInt quasisSequenceLength, KNativePointerArray expressions, KUInt expressionsSequenceLength, KStringPtr& multilineString) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _quasis = reinterpret_cast(quasis); - const auto _quasisSequenceLength = static_cast(quasisSequenceLength); - const auto _expressions = reinterpret_cast(expressions); - const auto _expressionsSequenceLength = static_cast(expressionsSequenceLength); - const auto _multilineString = getStringCopy(multilineString); - auto result = GetImpl()->UpdateTemplateLiteral(_context, _original, _quasis, _quasisSequenceLength, _expressions, _expressionsSequenceLength, _multilineString); - return result; -} -KOALA_INTEROP_7(UpdateTemplateLiteral, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointerArray, KUInt, KStringPtr); - -KNativePointer impl_TemplateLiteralQuasisConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TemplateLiteralQuasisConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TemplateLiteralQuasisConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TemplateLiteralExpressionsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TemplateLiteralExpressionsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TemplateLiteralExpressionsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TemplateLiteralGetMultilineStringConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TemplateLiteralGetMultilineStringConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TemplateLiteralGetMultilineStringConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSUnionType(KNativePointer context, KNativePointerArray types, KUInt typesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _types = reinterpret_cast(types); - const auto _typesSequenceLength = static_cast(typesSequenceLength); - auto result = GetImpl()->CreateTSUnionType(_context, _types, _typesSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateTSUnionType, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateTSUnionType(KNativePointer context, KNativePointer original, KNativePointerArray types, KUInt typesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _types = reinterpret_cast(types); - const auto _typesSequenceLength = static_cast(typesSequenceLength); - auto result = GetImpl()->UpdateTSUnionType(_context, _original, _types, _typesSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateTSUnionType, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_TSUnionTypeTypesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSUnionTypeTypesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSUnionTypeTypesConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSUnknownKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSUnknownKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSUnknownKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSUnknownKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSUnknownKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSUnknownKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateIdentifier(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateIdentifier(_context); - return result; -} -KOALA_INTEROP_1(CreateIdentifier, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateIdentifier(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateIdentifier(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateIdentifier, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateIdentifier1(KNativePointer context, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _name = getStringCopy(name); - auto result = GetImpl()->CreateIdentifier1(_context, _name); - return result; -} -KOALA_INTEROP_2(CreateIdentifier1, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_UpdateIdentifier1(KNativePointer context, KNativePointer original, KStringPtr& name) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = getStringCopy(name); - auto result = GetImpl()->UpdateIdentifier1(_context, _original, _name); - return result; -} -KOALA_INTEROP_3(UpdateIdentifier1, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_CreateIdentifier2(KNativePointer context, KStringPtr& name, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _name = getStringCopy(name); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - auto result = GetImpl()->CreateIdentifier2(_context, _name, _typeAnnotation); - return result; -} -KOALA_INTEROP_3(CreateIdentifier2, KNativePointer, KNativePointer, KStringPtr, KNativePointer); - -KNativePointer impl_UpdateIdentifier2(KNativePointer context, KNativePointer original, KStringPtr& name, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = getStringCopy(name); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - auto result = GetImpl()->UpdateIdentifier2(_context, _original, _name, _typeAnnotation); - return result; -} -KOALA_INTEROP_4(UpdateIdentifier2, KNativePointer, KNativePointer, KNativePointer, KStringPtr, KNativePointer); - -KNativePointer impl_IdentifierNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(IdentifierNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IdentifierName(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierName(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(IdentifierName, KNativePointer, KNativePointer, KNativePointer); - -void impl_IdentifierSetName(KNativePointer context, KNativePointer receiver, KStringPtr& newName) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _newName = getStringCopy(newName); - GetImpl()->IdentifierSetName(_context, _receiver, _newName); - return ; -} -KOALA_INTEROP_V3(IdentifierSetName, KNativePointer, KNativePointer, KStringPtr); - -KBoolean impl_IdentifierIsErrorPlaceHolderConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsErrorPlaceHolderConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsErrorPlaceHolderConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetOptional(KNativePointer context, KNativePointer receiver, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _optional_arg = static_cast(optional_arg); - GetImpl()->IdentifierSetOptional(_context, _receiver, _optional_arg); - return ; -} -KOALA_INTEROP_V3(IdentifierSetOptional, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_IdentifierIsReferenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsReferenceConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsReferenceConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsTdzConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsTdzConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsTdzConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetTdz(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->IdentifierSetTdz(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(IdentifierSetTdz, KNativePointer, KNativePointer); - -void impl_IdentifierSetAccessor(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->IdentifierSetAccessor(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(IdentifierSetAccessor, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsAccessorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsAccessorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsAccessorConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetMutator(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->IdentifierSetMutator(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(IdentifierSetMutator, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsMutatorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsMutatorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsMutatorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsReceiverConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsReceiverConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsReceiverConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsPrivateIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsPrivateIdentConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsPrivateIdentConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetPrivate(KNativePointer context, KNativePointer receiver, KBoolean isPrivate) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isPrivate = static_cast(isPrivate); - GetImpl()->IdentifierSetPrivate(_context, _receiver, _isPrivate); - return ; -} -KOALA_INTEROP_V3(IdentifierSetPrivate, KNativePointer, KNativePointer, KBoolean); - -KBoolean impl_IdentifierIsIgnoreBoxConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsIgnoreBoxConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsIgnoreBoxConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetIgnoreBox(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->IdentifierSetIgnoreBox(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(IdentifierSetIgnoreBox, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsAnnotationDeclConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsAnnotationDeclConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsAnnotationDeclConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetAnnotationDecl(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->IdentifierSetAnnotationDecl(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(IdentifierSetAnnotationDecl, KNativePointer, KNativePointer); - -KBoolean impl_IdentifierIsAnnotationUsageConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierIsAnnotationUsageConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierIsAnnotationUsageConst, KBoolean, KNativePointer, KNativePointer); - -void impl_IdentifierSetAnnotationUsage(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->IdentifierSetAnnotationUsage(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(IdentifierSetAnnotationUsage, KNativePointer, KNativePointer); - -KNativePointer impl_IdentifierCloneReference(KNativePointer context, KNativePointer receiver, KNativePointer parent) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _parent = reinterpret_cast(parent); - auto result = GetImpl()->IdentifierCloneReference(_context, _receiver, _parent); - return result; -} -KOALA_INTEROP_3(IdentifierCloneReference, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IdentifierValidateExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierValidateExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(IdentifierValidateExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_IdentifierTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->IdentifierTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(IdentifierTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_IdentifierSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->IdentifierSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(IdentifierSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateOpaqueTypeNode1(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateOpaqueTypeNode1(_context); - return result; -} -KOALA_INTEROP_1(CreateOpaqueTypeNode1, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateOpaqueTypeNode1(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateOpaqueTypeNode1(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateOpaqueTypeNode1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBlockStatement(KNativePointer context, KNativePointerArray statementList, KUInt statementListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _statementList = reinterpret_cast(statementList); - const auto _statementListSequenceLength = static_cast(statementListSequenceLength); - auto result = GetImpl()->CreateBlockStatement(_context, _statementList, _statementListSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateBlockStatement, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateBlockStatement(KNativePointer context, KNativePointer original, KNativePointerArray statementList, KUInt statementListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _statementList = reinterpret_cast(statementList); - const auto _statementListSequenceLength = static_cast(statementListSequenceLength); - auto result = GetImpl()->UpdateBlockStatement(_context, _original, _statementList, _statementListSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateBlockStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_BlockStatementStatementsForUpdates(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->BlockStatementStatementsForUpdates(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(BlockStatementStatementsForUpdates, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BlockStatementStatements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->BlockStatementStatements(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(BlockStatementStatements, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BlockStatementStatementsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->BlockStatementStatementsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(BlockStatementStatementsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_BlockStatementSetStatements(KNativePointer context, KNativePointer receiver, KNativePointerArray statementList, KUInt statementListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _statementList = reinterpret_cast(statementList); - const auto _statementListSequenceLength = static_cast(statementListSequenceLength); - GetImpl()->BlockStatementSetStatements(_context, _receiver, _statementList, _statementListSequenceLength); - return ; -} -KOALA_INTEROP_V4(BlockStatementSetStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_BlockStatementAddStatements(KNativePointer context, KNativePointer receiver, KNativePointerArray statementList, KUInt statementListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _statementList = reinterpret_cast(statementList); - const auto _statementListSequenceLength = static_cast(statementListSequenceLength); - GetImpl()->BlockStatementAddStatements(_context, _receiver, _statementList, _statementListSequenceLength); - return ; -} -KOALA_INTEROP_V4(BlockStatementAddStatements, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_BlockStatementClearStatements(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->BlockStatementClearStatements(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(BlockStatementClearStatements, KNativePointer, KNativePointer); - -void impl_BlockStatementAddStatement(KNativePointer context, KNativePointer receiver, KNativePointer statement) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _statement = reinterpret_cast(statement); - GetImpl()->BlockStatementAddStatement(_context, _receiver, _statement); - return ; -} -KOALA_INTEROP_V3(BlockStatementAddStatement, KNativePointer, KNativePointer, KNativePointer); - -void impl_BlockStatementAddStatement1(KNativePointer context, KNativePointer receiver, KUInt idx, KNativePointer statement) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _idx = static_cast(idx); - const auto _statement = reinterpret_cast(statement); - GetImpl()->BlockStatementAddStatement1(_context, _receiver, _idx, _statement); - return ; -} -KOALA_INTEROP_V4(BlockStatementAddStatement1, KNativePointer, KNativePointer, KUInt, KNativePointer); - -void impl_BlockStatementAddTrailingBlock(KNativePointer context, KNativePointer receiver, KNativePointer stmt, KNativePointer trailingBlock) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _stmt = reinterpret_cast(stmt); - const auto _trailingBlock = reinterpret_cast(trailingBlock); - GetImpl()->BlockStatementAddTrailingBlock(_context, _receiver, _stmt, _trailingBlock); - return ; -} -KOALA_INTEROP_V4(BlockStatementAddTrailingBlock, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BlockStatementSearchStatementInTrailingBlock(KNativePointer context, KNativePointer receiver, KNativePointer item) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _item = reinterpret_cast(item); - auto result = GetImpl()->BlockStatementSearchStatementInTrailingBlock(_context, _receiver, _item); - return result; -} -KOALA_INTEROP_3(BlockStatementSearchStatementInTrailingBlock, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateDirectEvalExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength, KNativePointer typeParams, KBoolean optional_arg, KUInt parserStatus) -{ - const auto _context = reinterpret_cast(context); - const auto _callee = reinterpret_cast(callee); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _optional_arg = static_cast(optional_arg); - const auto _parserStatus = static_cast(parserStatus); - auto result = GetImpl()->CreateDirectEvalExpression(_context, _callee, __arguments, __argumentsSequenceLength, _typeParams, _optional_arg, _parserStatus); - return result; -} -KOALA_INTEROP_7(CreateDirectEvalExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KBoolean, KUInt); - -KNativePointer impl_UpdateDirectEvalExpression(KNativePointer context, KNativePointer original, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength, KNativePointer typeParams, KBoolean optional_arg, KUInt parserStatus) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _callee = reinterpret_cast(callee); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _optional_arg = static_cast(optional_arg); - const auto _parserStatus = static_cast(parserStatus); - auto result = GetImpl()->UpdateDirectEvalExpression(_context, _original, _callee, __arguments, __argumentsSequenceLength, _typeParams, _optional_arg, _parserStatus); - return result; -} -KOALA_INTEROP_8(UpdateDirectEvalExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KNativePointer, KBoolean, KUInt); - -KNativePointer impl_CreateTSTypeParameterDeclaration(KNativePointer context, KNativePointerArray params, KUInt paramsSequenceLength, KUInt requiredParams) -{ - const auto _context = reinterpret_cast(context); - const auto _params = reinterpret_cast(params); - const auto _paramsSequenceLength = static_cast(paramsSequenceLength); - const auto _requiredParams = static_cast(requiredParams); - auto result = GetImpl()->CreateTSTypeParameterDeclaration(_context, _params, _paramsSequenceLength, _requiredParams); - return result; -} -KOALA_INTEROP_4(CreateTSTypeParameterDeclaration, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KUInt); - -KNativePointer impl_UpdateTSTypeParameterDeclaration(KNativePointer context, KNativePointer original, KNativePointerArray params, KUInt paramsSequenceLength, KUInt requiredParams) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _params = reinterpret_cast(params); - const auto _paramsSequenceLength = static_cast(paramsSequenceLength); - const auto _requiredParams = static_cast(requiredParams); - auto result = GetImpl()->UpdateTSTypeParameterDeclaration(_context, _original, _params, _paramsSequenceLength, _requiredParams); - return result; -} -KOALA_INTEROP_5(UpdateTSTypeParameterDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt, KUInt); - -KNativePointer impl_TSTypeParameterDeclarationParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TSTypeParameterDeclarationParamsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TSTypeParameterDeclarationParamsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeParameterDeclarationAddParam(KNativePointer context, KNativePointer receiver, KNativePointer param) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _param = reinterpret_cast(param); - GetImpl()->TSTypeParameterDeclarationAddParam(_context, _receiver, _param); - return ; -} -KOALA_INTEROP_V3(TSTypeParameterDeclarationAddParam, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSTypeParameterDeclarationSetValueParams(KNativePointer context, KNativePointer receiver, KNativePointer source, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - const auto _index = static_cast(index); - GetImpl()->TSTypeParameterDeclarationSetValueParams(_context, _receiver, _source, _index); - return ; -} -KOALA_INTEROP_V4(TSTypeParameterDeclarationSetValueParams, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KUInt impl_TSTypeParameterDeclarationRequiredParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSTypeParameterDeclarationRequiredParamsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSTypeParameterDeclarationRequiredParamsConst, KUInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateMethodDefinition(KNativePointer context, KInt kind, KNativePointer key, KNativePointer value, KInt modifiers, KBoolean isComputed) -{ - const auto _context = reinterpret_cast(context); - const auto _kind = static_cast(kind); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - const auto _modifiers = static_cast(modifiers); - const auto _isComputed = static_cast(isComputed); - auto result = GetImpl()->CreateMethodDefinition(_context, _kind, _key, _value, _modifiers, _isComputed); - return result; -} -KOALA_INTEROP_6(CreateMethodDefinition, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer, KInt, KBoolean); - -KNativePointer impl_UpdateMethodDefinition(KNativePointer context, KNativePointer original, KInt kind, KNativePointer key, KNativePointer value, KInt modifiers, KBoolean isComputed) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _kind = static_cast(kind); - const auto _key = reinterpret_cast(key); - const auto _value = reinterpret_cast(value); - const auto _modifiers = static_cast(modifiers); - const auto _isComputed = static_cast(isComputed); - auto result = GetImpl()->UpdateMethodDefinition(_context, _original, _kind, _key, _value, _modifiers, _isComputed); - return result; -} -KOALA_INTEROP_7(UpdateMethodDefinition, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer, KNativePointer, KInt, KBoolean); - -KInt impl_MethodDefinitionKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionKindConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionIsConstructorConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionIsConstructorConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionIsConstructorConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionIsMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionIsMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionIsMethodConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionIsExtensionMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionIsExtensionMethodConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionIsExtensionMethodConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionIsGetterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionIsGetterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionIsGetterConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionIsSetterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionIsSetterConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionIsSetterConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionIsDefaultAccessModifierConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionIsDefaultAccessModifierConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionIsDefaultAccessModifierConst, KBoolean, KNativePointer, KNativePointer); - -void impl_MethodDefinitionSetDefaultAccessModifier(KNativePointer context, KNativePointer receiver, KBoolean isDefault) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isDefault = static_cast(isDefault); - GetImpl()->MethodDefinitionSetDefaultAccessModifier(_context, _receiver, _isDefault); - return ; -} -KOALA_INTEROP_V3(MethodDefinitionSetDefaultAccessModifier, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_MethodDefinitionOverloadsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->MethodDefinitionOverloadsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(MethodDefinitionOverloadsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MethodDefinitionBaseOverloadMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionBaseOverloadMethodConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(MethodDefinitionBaseOverloadMethodConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MethodDefinitionBaseOverloadMethod(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionBaseOverloadMethod(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionBaseOverloadMethod, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MethodDefinitionAsyncPairMethodConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionAsyncPairMethodConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(MethodDefinitionAsyncPairMethodConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MethodDefinitionAsyncPairMethod(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionAsyncPairMethod(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionAsyncPairMethod, KNativePointer, KNativePointer, KNativePointer); - -void impl_MethodDefinitionSetOverloads(KNativePointer context, KNativePointer receiver, KNativePointerArray overloads, KUInt overloadsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloads = reinterpret_cast(overloads); - const auto _overloadsSequenceLength = static_cast(overloadsSequenceLength); - GetImpl()->MethodDefinitionSetOverloads(_context, _receiver, _overloads, _overloadsSequenceLength); - return ; -} -KOALA_INTEROP_V4(MethodDefinitionSetOverloads, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_MethodDefinitionAddOverload(KNativePointer context, KNativePointer receiver, KNativePointer overload) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overload = reinterpret_cast(overload); - GetImpl()->MethodDefinitionAddOverload(_context, _receiver, _overload); - return ; -} -KOALA_INTEROP_V3(MethodDefinitionAddOverload, KNativePointer, KNativePointer, KNativePointer); - -void impl_MethodDefinitionSetBaseOverloadMethod(KNativePointer context, KNativePointer receiver, KNativePointer baseOverloadMethod) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _baseOverloadMethod = reinterpret_cast(baseOverloadMethod); - GetImpl()->MethodDefinitionSetBaseOverloadMethod(_context, _receiver, _baseOverloadMethod); - return ; -} -KOALA_INTEROP_V3(MethodDefinitionSetBaseOverloadMethod, KNativePointer, KNativePointer, KNativePointer); - -void impl_MethodDefinitionSetAsyncPairMethod(KNativePointer context, KNativePointer receiver, KNativePointer asyncPairMethod) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _asyncPairMethod = reinterpret_cast(asyncPairMethod); - GetImpl()->MethodDefinitionSetAsyncPairMethod(_context, _receiver, _asyncPairMethod); - return ; -} -KOALA_INTEROP_V3(MethodDefinitionSetAsyncPairMethod, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_MethodDefinitionHasOverload(KNativePointer context, KNativePointer receiver, KNativePointer overload) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overload = reinterpret_cast(overload); - auto result = GetImpl()->MethodDefinitionHasOverload(_context, _receiver, _overload); - return result; -} -KOALA_INTEROP_3(MethodDefinitionHasOverload, KBoolean, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MethodDefinitionFunction(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionFunction(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MethodDefinitionFunction, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_MethodDefinitionFunctionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MethodDefinitionFunctionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(MethodDefinitionFunctionConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_MethodDefinitionInitializeOverloadInfo(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->MethodDefinitionInitializeOverloadInfo(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(MethodDefinitionInitializeOverloadInfo, KNativePointer, KNativePointer); - -void impl_MethodDefinitionEmplaceOverloads(KNativePointer context, KNativePointer receiver, KNativePointer overloads) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloads = reinterpret_cast(overloads); - GetImpl()->MethodDefinitionEmplaceOverloads(_context, _receiver, _overloads); - return ; -} -KOALA_INTEROP_V3(MethodDefinitionEmplaceOverloads, KNativePointer, KNativePointer, KNativePointer); - -void impl_MethodDefinitionClearOverloads(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->MethodDefinitionClearOverloads(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(MethodDefinitionClearOverloads, KNativePointer, KNativePointer); - -void impl_MethodDefinitionSetValueOverloads(KNativePointer context, KNativePointer receiver, KNativePointer overloads, KUInt index) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloads = reinterpret_cast(overloads); - const auto _index = static_cast(index); - GetImpl()->MethodDefinitionSetValueOverloads(_context, _receiver, _overloads, _index); - return ; -} -KOALA_INTEROP_V4(MethodDefinitionSetValueOverloads, KNativePointer, KNativePointer, KNativePointer, KUInt); - -KNativePointer impl_CreateOverloadDeclaration(KNativePointer context, KNativePointer key, KInt modifiers) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _modifiers = static_cast(modifiers); - auto result = GetImpl()->CreateOverloadDeclaration(_context, _key, _modifiers); - return result; -} -KOALA_INTEROP_3(CreateOverloadDeclaration, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateOverloadDeclaration(KNativePointer context, KNativePointer original, KNativePointer key, KInt modifiers) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _modifiers = static_cast(modifiers); - auto result = GetImpl()->UpdateOverloadDeclaration(_context, _original, _key, _modifiers); - return result; -} -KOALA_INTEROP_4(UpdateOverloadDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KInt impl_OverloadDeclarationFlagConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->OverloadDeclarationFlagConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(OverloadDeclarationFlagConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_OverloadDeclarationOverloadedList(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->OverloadDeclarationOverloadedList(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(OverloadDeclarationOverloadedList, KNativePointer, KNativePointer, KNativePointer); - -void impl_OverloadDeclarationSetOverloadedList(KNativePointer context, KNativePointer receiver, KNativePointerArray overloadedList, KUInt overloadedListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloadedList = reinterpret_cast(overloadedList); - const auto _overloadedListSequenceLength = static_cast(overloadedListSequenceLength); - GetImpl()->OverloadDeclarationSetOverloadedList(_context, _receiver, _overloadedList, _overloadedListSequenceLength); - return ; -} -KOALA_INTEROP_V4(OverloadDeclarationSetOverloadedList, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_OverloadDeclarationPushFront(KNativePointer context, KNativePointer receiver, KNativePointer overloadedExpression) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloadedExpression = reinterpret_cast(overloadedExpression); - GetImpl()->OverloadDeclarationPushFront(_context, _receiver, _overloadedExpression); - return ; -} -KOALA_INTEROP_V3(OverloadDeclarationPushFront, KNativePointer, KNativePointer, KNativePointer); - -void impl_OverloadDeclarationAddOverloadDeclFlag(KNativePointer context, KNativePointer receiver, KInt overloadFlag) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloadFlag = static_cast(overloadFlag); - GetImpl()->OverloadDeclarationAddOverloadDeclFlag(_context, _receiver, _overloadFlag); - return ; -} -KOALA_INTEROP_V3(OverloadDeclarationAddOverloadDeclFlag, KNativePointer, KNativePointer, KInt); - -KBoolean impl_OverloadDeclarationHasOverloadDeclFlagConst(KNativePointer context, KNativePointer receiver, KInt overloadFlag) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _overloadFlag = static_cast(overloadFlag); - auto result = GetImpl()->OverloadDeclarationHasOverloadDeclFlagConst(_context, _receiver, _overloadFlag); - return result; -} -KOALA_INTEROP_3(OverloadDeclarationHasOverloadDeclFlagConst, KBoolean, KNativePointer, KNativePointer, KInt); - -KBoolean impl_OverloadDeclarationIsConstructorOverloadDeclaration(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->OverloadDeclarationIsConstructorOverloadDeclaration(_context, _receiver); - return result; -} -KOALA_INTEROP_2(OverloadDeclarationIsConstructorOverloadDeclaration, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_OverloadDeclarationIsFunctionOverloadDeclaration(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->OverloadDeclarationIsFunctionOverloadDeclaration(_context, _receiver); - return result; -} -KOALA_INTEROP_2(OverloadDeclarationIsFunctionOverloadDeclaration, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_OverloadDeclarationIsClassMethodOverloadDeclaration(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->OverloadDeclarationIsClassMethodOverloadDeclaration(_context, _receiver); - return result; -} -KOALA_INTEROP_2(OverloadDeclarationIsClassMethodOverloadDeclaration, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_OverloadDeclarationIsInterfaceMethodOverloadDeclaration(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->OverloadDeclarationIsInterfaceMethodOverloadDeclaration(_context, _receiver); - return result; -} -KOALA_INTEROP_2(OverloadDeclarationIsInterfaceMethodOverloadDeclaration, KBoolean, KNativePointer, KNativePointer); - -void impl_OverloadDeclarationDumpModifierConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->OverloadDeclarationDumpModifierConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(OverloadDeclarationDumpModifierConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSNullKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSNullKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSNullKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSNullKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSNullKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSNullKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSInterfaceHeritage(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateTSInterfaceHeritage(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateTSInterfaceHeritage, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSInterfaceHeritage(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateTSInterfaceHeritage(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateTSInterfaceHeritage, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceHeritageExpr(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceHeritageExpr(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSInterfaceHeritageExpr, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSInterfaceHeritageExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSInterfaceHeritageExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSInterfaceHeritageExprConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ExpressionIsGroupedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionIsGroupedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionIsGroupedConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ExpressionSetGrouped(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ExpressionSetGrouped(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ExpressionSetGrouped, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionAsLiteralConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionAsLiteralConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExpressionAsLiteralConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionAsLiteral(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionAsLiteral(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionAsLiteral, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ExpressionIsLiteralConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionIsLiteralConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionIsLiteralConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ExpressionIsTypeNodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionIsTypeNodeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionIsTypeNodeConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ExpressionIsAnnotatedExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionIsAnnotatedExpressionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionIsAnnotatedExpressionConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionAsTypeNode(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionAsTypeNode(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionAsTypeNode, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionAsTypeNodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionAsTypeNodeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExpressionAsTypeNodeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionAsAnnotatedExpression(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionAsAnnotatedExpression(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionAsAnnotatedExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionAsAnnotatedExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionAsAnnotatedExpressionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ExpressionAsAnnotatedExpressionConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ExpressionIsBrokenExpressionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionIsBrokenExpressionConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ExpressionIsBrokenExpressionConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_ExpressionToStringConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ExpressionToStringConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ExpressionToStringConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AnnotatedExpressionTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AnnotatedExpressionTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AnnotatedExpressionTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_AnnotatedExpressionSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->AnnotatedExpressionSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(AnnotatedExpressionSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_MaybeOptionalExpressionIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->MaybeOptionalExpressionIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(MaybeOptionalExpressionIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -void impl_MaybeOptionalExpressionClearOptional(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->MaybeOptionalExpressionClearOptional(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(MaybeOptionalExpressionClearOptional, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSrcDumper(KNativePointer context, KNativePointer node) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - auto result = GetImpl()->CreateSrcDumper(_context, _node); - return result; -} -KOALA_INTEROP_2(CreateSrcDumper, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSrcDumper1(KNativePointer context, KNativePointer node, KBoolean isDeclgen) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - const auto _isDeclgen = static_cast(isDeclgen); - auto result = GetImpl()->CreateSrcDumper1(_context, _node, _isDeclgen); - return result; -} -KOALA_INTEROP_3(CreateSrcDumper1, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -void impl_SrcDumperAdd(KNativePointer context, KNativePointer receiver, KStringPtr& str) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _str = getStringCopy(str); - GetImpl()->SrcDumperAdd(_context, _receiver, _str); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd, KNativePointer, KNativePointer, KStringPtr); - -void impl_SrcDumperAdd1(KNativePointer context, KNativePointer receiver, KBoolean i) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _i = static_cast(i); - GetImpl()->SrcDumperAdd1(_context, _receiver, _i); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd1, KNativePointer, KNativePointer, KBoolean); - -void impl_SrcDumperAdd2(KNativePointer context, KNativePointer receiver, KInt i) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _i = static_cast(i); - GetImpl()->SrcDumperAdd2(_context, _receiver, _i); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd2, KNativePointer, KNativePointer, KInt); - -void impl_SrcDumperAdd3(KNativePointer context, KNativePointer receiver, KInt i) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _i = static_cast(i); - GetImpl()->SrcDumperAdd3(_context, _receiver, _i); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd3, KNativePointer, KNativePointer, KInt); - -void impl_SrcDumperAdd4(KNativePointer context, KNativePointer receiver, KLong l) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _l = static_cast(l); - GetImpl()->SrcDumperAdd4(_context, _receiver, _l); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd4, KNativePointer, KNativePointer, KLong); - -void impl_SrcDumperAdd5(KNativePointer context, KNativePointer receiver, KFloat f) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _f = static_cast(f); - GetImpl()->SrcDumperAdd5(_context, _receiver, _f); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd5, KNativePointer, KNativePointer, KFloat); - -void impl_SrcDumperAdd6(KNativePointer context, KNativePointer receiver, KDouble d) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _d = static_cast(d); - GetImpl()->SrcDumperAdd6(_context, _receiver, _d); - return ; -} -KOALA_INTEROP_V3(SrcDumperAdd6, KNativePointer, KNativePointer, KDouble); - -KNativePointer impl_SrcDumperStrConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SrcDumperStrConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(SrcDumperStrConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_SrcDumperIncrIndent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->SrcDumperIncrIndent(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(SrcDumperIncrIndent, KNativePointer, KNativePointer); - -void impl_SrcDumperDecrIndent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->SrcDumperDecrIndent(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(SrcDumperDecrIndent, KNativePointer, KNativePointer); - -void impl_SrcDumperEndl(KNativePointer context, KNativePointer receiver, KUInt num) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _num = static_cast(num); - GetImpl()->SrcDumperEndl(_context, _receiver, _num); - return ; -} -KOALA_INTEROP_V3(SrcDumperEndl, KNativePointer, KNativePointer, KUInt); - -KBoolean impl_SrcDumperIsDeclgenConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SrcDumperIsDeclgenConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SrcDumperIsDeclgenConst, KBoolean, KNativePointer, KNativePointer); - -void impl_SrcDumperDumpNode(KNativePointer context, KNativePointer receiver, KStringPtr& key) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _key = getStringCopy(key); - GetImpl()->SrcDumperDumpNode(_context, _receiver, _key); - return ; -} -KOALA_INTEROP_V3(SrcDumperDumpNode, KNativePointer, KNativePointer, KStringPtr); - -void impl_SrcDumperRemoveNode(KNativePointer context, KNativePointer receiver, KStringPtr& key) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _key = getStringCopy(key); - GetImpl()->SrcDumperRemoveNode(_context, _receiver, _key); - return ; -} -KOALA_INTEROP_V3(SrcDumperRemoveNode, KNativePointer, KNativePointer, KStringPtr); - -KBoolean impl_SrcDumperIsIndirectDepPhaseConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SrcDumperIsIndirectDepPhaseConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SrcDumperIsIndirectDepPhaseConst, KBoolean, KNativePointer, KNativePointer); - -void impl_SrcDumperRun(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->SrcDumperRun(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(SrcDumperRun, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSClassLiteral(KNativePointer context, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->CreateETSClassLiteral(_context, _expr); - return result; -} -KOALA_INTEROP_2(CreateETSClassLiteral, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSClassLiteral(KNativePointer context, KNativePointer original, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expr = reinterpret_cast(expr); - auto result = GetImpl()->UpdateETSClassLiteral(_context, _original, _expr); - return result; -} -KOALA_INTEROP_3(UpdateETSClassLiteral, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSClassLiteralExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSClassLiteralExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSClassLiteralExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBreakStatement(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateBreakStatement(_context); - return result; -} -KOALA_INTEROP_1(CreateBreakStatement, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateBreakStatement(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateBreakStatement(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateBreakStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateBreakStatement1(KNativePointer context, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _ident = reinterpret_cast(ident); - auto result = GetImpl()->CreateBreakStatement1(_context, _ident); - return result; -} -KOALA_INTEROP_2(CreateBreakStatement1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateBreakStatement1(KNativePointer context, KNativePointer original, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _ident = reinterpret_cast(ident); - auto result = GetImpl()->UpdateBreakStatement1(_context, _original, _ident); - return result; -} -KOALA_INTEROP_3(UpdateBreakStatement1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BreakStatementIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BreakStatementIdentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(BreakStatementIdentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BreakStatementIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BreakStatementIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BreakStatementIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_BreakStatementTargetConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BreakStatementTargetConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(BreakStatementTargetConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_BreakStatementHasTargetConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->BreakStatementHasTargetConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(BreakStatementHasTargetConst, KBoolean, KNativePointer, KNativePointer); - -void impl_BreakStatementSetTarget(KNativePointer context, KNativePointer receiver, KNativePointer target) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _target = reinterpret_cast(target); - GetImpl()->BreakStatementSetTarget(_context, _receiver, _target); - return ; -} -KOALA_INTEROP_V3(BreakStatementSetTarget, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateRegExpLiteral(KNativePointer context, KStringPtr& pattern, KInt flags, KStringPtr& flagsStr) -{ - const auto _context = reinterpret_cast(context); - const auto _pattern = getStringCopy(pattern); - const auto _flags = static_cast(flags); - const auto _flagsStr = getStringCopy(flagsStr); - auto result = GetImpl()->CreateRegExpLiteral(_context, _pattern, _flags, _flagsStr); - return result; -} -KOALA_INTEROP_4(CreateRegExpLiteral, KNativePointer, KNativePointer, KStringPtr, KInt, KStringPtr); - -KNativePointer impl_UpdateRegExpLiteral(KNativePointer context, KNativePointer original, KStringPtr& pattern, KInt flags, KStringPtr& flagsStr) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _pattern = getStringCopy(pattern); - const auto _flags = static_cast(flags); - const auto _flagsStr = getStringCopy(flagsStr); - auto result = GetImpl()->UpdateRegExpLiteral(_context, _original, _pattern, _flags, _flagsStr); - return result; -} -KOALA_INTEROP_5(UpdateRegExpLiteral, KNativePointer, KNativePointer, KNativePointer, KStringPtr, KInt, KStringPtr); - -KNativePointer impl_RegExpLiteralPatternConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->RegExpLiteralPatternConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(RegExpLiteralPatternConst, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_RegExpLiteralFlagsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->RegExpLiteralFlagsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(RegExpLiteralFlagsConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSMappedType(KNativePointer context, KNativePointer typeParameter, KNativePointer typeAnnotation, KInt readonly_arg, KInt optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _typeParameter = reinterpret_cast(typeParameter); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _readonly_arg = static_cast(readonly_arg); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->CreateTSMappedType(_context, _typeParameter, _typeAnnotation, _readonly_arg, _optional_arg); - return result; -} -KOALA_INTEROP_5(CreateTSMappedType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KInt); - -KNativePointer impl_UpdateTSMappedType(KNativePointer context, KNativePointer original, KNativePointer typeParameter, KNativePointer typeAnnotation, KInt readonly_arg, KInt optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeParameter = reinterpret_cast(typeParameter); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _readonly_arg = static_cast(readonly_arg); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->UpdateTSMappedType(_context, _original, _typeParameter, _typeAnnotation, _readonly_arg, _optional_arg); - return result; -} -KOALA_INTEROP_6(UpdateTSMappedType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt, KInt); - -KNativePointer impl_TSMappedTypeTypeParameter(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMappedTypeTypeParameter(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMappedTypeTypeParameter, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSMappedTypeTypeAnnotation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMappedTypeTypeAnnotation(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMappedTypeTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KInt impl_TSMappedTypeReadonly(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMappedTypeReadonly(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMappedTypeReadonly, KInt, KNativePointer, KNativePointer); - -KInt impl_TSMappedTypeOptional(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSMappedTypeOptional(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSMappedTypeOptional, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSAnyKeyword(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSAnyKeyword(_context); - return result; -} -KOALA_INTEROP_1(CreateTSAnyKeyword, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSAnyKeyword(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSAnyKeyword(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSAnyKeyword, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateClassDeclaration(KNativePointer context, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _def = reinterpret_cast(def); - auto result = GetImpl()->CreateClassDeclaration(_context, _def); - return result; -} -KOALA_INTEROP_2(CreateClassDeclaration, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateClassDeclaration(KNativePointer context, KNativePointer original, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _def = reinterpret_cast(def); - auto result = GetImpl()->UpdateClassDeclaration(_context, _original, _def); - return result; -} -KOALA_INTEROP_3(UpdateClassDeclaration, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDeclarationDefinition(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDeclarationDefinition(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ClassDeclarationDefinition, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ClassDeclarationDefinitionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ClassDeclarationDefinitionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ClassDeclarationDefinitionConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ClassDeclarationSetDefinition(KNativePointer context, KNativePointer receiver, KNativePointer def) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _def = reinterpret_cast(def); - GetImpl()->ClassDeclarationSetDefinition(_context, _receiver, _def); - return ; -} -KOALA_INTEROP_V3(ClassDeclarationSetDefinition, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSIndexedAccessType(KNativePointer context, KNativePointer objectType, KNativePointer indexType) -{ - const auto _context = reinterpret_cast(context); - const auto _objectType = reinterpret_cast(objectType); - const auto _indexType = reinterpret_cast(indexType); - auto result = GetImpl()->CreateTSIndexedAccessType(_context, _objectType, _indexType); - return result; -} -KOALA_INTEROP_3(CreateTSIndexedAccessType, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSIndexedAccessType(KNativePointer context, KNativePointer original, KNativePointer objectType, KNativePointer indexType) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _objectType = reinterpret_cast(objectType); - const auto _indexType = reinterpret_cast(indexType); - auto result = GetImpl()->UpdateTSIndexedAccessType(_context, _original, _objectType, _indexType); - return result; -} -KOALA_INTEROP_4(UpdateTSIndexedAccessType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSIndexedAccessTypeObjectTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSIndexedAccessTypeObjectTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSIndexedAccessTypeObjectTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSIndexedAccessTypeIndexTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSIndexedAccessTypeIndexTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSIndexedAccessTypeIndexTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSQualifiedName(KNativePointer context, KNativePointer left, KNativePointer right) -{ - const auto _context = reinterpret_cast(context); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - auto result = GetImpl()->CreateTSQualifiedName(_context, _left, _right); - return result; -} -KOALA_INTEROP_3(CreateTSQualifiedName, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSQualifiedName(KNativePointer context, KNativePointer original, KNativePointer left, KNativePointer right) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _left = reinterpret_cast(left); - const auto _right = reinterpret_cast(right); - auto result = GetImpl()->UpdateTSQualifiedName(_context, _original, _left, _right); - return result; -} -KOALA_INTEROP_4(UpdateTSQualifiedName, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameLeftConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameLeftConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSQualifiedNameLeftConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameLeft(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameLeft(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSQualifiedNameLeft, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameRightConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameRightConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSQualifiedNameRightConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameRight(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameRight(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSQualifiedNameRight, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TSQualifiedNameNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameResolveLeftMostQualifiedName(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameResolveLeftMostQualifiedName(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSQualifiedNameResolveLeftMostQualifiedName, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSQualifiedNameResolveLeftMostQualifiedNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSQualifiedNameResolveLeftMostQualifiedNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSQualifiedNameResolveLeftMostQualifiedNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAwaitExpression(KNativePointer context, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->CreateAwaitExpression(_context, _argument); - return result; -} -KOALA_INTEROP_2(CreateAwaitExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateAwaitExpression(KNativePointer context, KNativePointer original, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->UpdateAwaitExpression(_context, _original, _argument); - return result; -} -KOALA_INTEROP_3(UpdateAwaitExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_AwaitExpressionArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AwaitExpressionArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(AwaitExpressionArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateValidationInfo(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateValidationInfo(_context); - return result; -} -KOALA_INTEROP_1(CreateValidationInfo, KNativePointer, KNativePointer); - -KNativePointer impl_CreateValidationInfo1(KNativePointer context, KStringPtr& m, KNativePointer p) -{ - const auto _context = reinterpret_cast(context); - const auto _m = getStringCopy(m); - const auto _p = reinterpret_cast(p); - auto result = GetImpl()->CreateValidationInfo1(_context, _m, _p); - return result; -} -KOALA_INTEROP_3(CreateValidationInfo1, KNativePointer, KNativePointer, KStringPtr, KNativePointer); - -KBoolean impl_ValidationInfoFailConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ValidationInfoFailConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ValidationInfoFailConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateContinueStatement(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateContinueStatement(_context); - return result; -} -KOALA_INTEROP_1(CreateContinueStatement, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateContinueStatement(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateContinueStatement(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateContinueStatement, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateContinueStatement1(KNativePointer context, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _ident = reinterpret_cast(ident); - auto result = GetImpl()->CreateContinueStatement1(_context, _ident); - return result; -} -KOALA_INTEROP_2(CreateContinueStatement1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateContinueStatement1(KNativePointer context, KNativePointer original, KNativePointer ident) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _ident = reinterpret_cast(ident); - auto result = GetImpl()->UpdateContinueStatement1(_context, _original, _ident); - return result; -} -KOALA_INTEROP_3(UpdateContinueStatement1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ContinueStatementIdentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ContinueStatementIdentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ContinueStatementIdentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ContinueStatementIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ContinueStatementIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ContinueStatementIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ContinueStatementTargetConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ContinueStatementTargetConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ContinueStatementTargetConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ContinueStatementHasTargetConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ContinueStatementHasTargetConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ContinueStatementHasTargetConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ContinueStatementSetTarget(KNativePointer context, KNativePointer receiver, KNativePointer target) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _target = reinterpret_cast(target); - GetImpl()->ContinueStatementSetTarget(_context, _receiver, _target); - return ; -} -KOALA_INTEROP_V3(ContinueStatementSetTarget, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSNewMultiDimArrayInstanceExpression(KNativePointer context, KNativePointer typeReference, KNativePointerArray dimensions, KUInt dimensionsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _typeReference = reinterpret_cast(typeReference); - const auto _dimensions = reinterpret_cast(dimensions); - const auto _dimensionsSequenceLength = static_cast(dimensionsSequenceLength); - auto result = GetImpl()->CreateETSNewMultiDimArrayInstanceExpression(_context, _typeReference, _dimensions, _dimensionsSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateETSNewMultiDimArrayInstanceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateETSNewMultiDimArrayInstanceExpression(KNativePointer context, KNativePointer original, KNativePointer typeReference, KNativePointerArray dimensions, KUInt dimensionsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeReference = reinterpret_cast(typeReference); - const auto _dimensions = reinterpret_cast(dimensions); - const auto _dimensionsSequenceLength = static_cast(dimensionsSequenceLength); - auto result = GetImpl()->UpdateETSNewMultiDimArrayInstanceExpression(_context, _original, _typeReference, _dimensions, _dimensionsSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateETSNewMultiDimArrayInstanceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateETSNewMultiDimArrayInstanceExpression1(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateETSNewMultiDimArrayInstanceExpression1(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateETSNewMultiDimArrayInstanceExpression1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSNewMultiDimArrayInstanceExpression1(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateETSNewMultiDimArrayInstanceExpression1(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateETSNewMultiDimArrayInstanceExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionTypeReference(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionTypeReference(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionTypeReference, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionTypeReferenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionTypeReferenceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionTypeReferenceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensions(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensions(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensions, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewMultiDimArrayInstanceExpressionDimensionsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSNewMultiDimArrayInstanceExpressionDimensionsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSNewMultiDimArrayInstanceExpressionDimensionsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSNewMultiDimArrayInstanceExpressionClearPreferredType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ETSNewMultiDimArrayInstanceExpressionClearPreferredType(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ETSNewMultiDimArrayInstanceExpressionClearPreferredType, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSNamedTupleMember(KNativePointer context, KNativePointer label, KNativePointer elementType, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _label = reinterpret_cast(label); - const auto _elementType = reinterpret_cast(elementType); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->CreateTSNamedTupleMember(_context, _label, _elementType, _optional_arg); - return result; -} -KOALA_INTEROP_4(CreateTSNamedTupleMember, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSNamedTupleMember(KNativePointer context, KNativePointer original, KNativePointer label, KNativePointer elementType, KBoolean optional_arg) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _label = reinterpret_cast(label); - const auto _elementType = reinterpret_cast(elementType); - const auto _optional_arg = static_cast(optional_arg); - auto result = GetImpl()->UpdateTSNamedTupleMember(_context, _original, _label, _elementType, _optional_arg); - return result; -} -KOALA_INTEROP_5(UpdateTSNamedTupleMember, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSNamedTupleMemberLabelConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSNamedTupleMemberLabelConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSNamedTupleMemberLabelConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSNamedTupleMemberElementType(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSNamedTupleMemberElementType(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSNamedTupleMemberElementType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSNamedTupleMemberElementTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSNamedTupleMemberElementTypeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSNamedTupleMemberElementTypeConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSNamedTupleMemberIsOptionalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSNamedTupleMemberIsOptionalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSNamedTupleMemberIsOptionalConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateImportExpression(KNativePointer context, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _source = reinterpret_cast(source); - auto result = GetImpl()->CreateImportExpression(_context, _source); - return result; -} -KOALA_INTEROP_2(CreateImportExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateImportExpression(KNativePointer context, KNativePointer original, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _source = reinterpret_cast(source); - auto result = GetImpl()->UpdateImportExpression(_context, _original, _source); - return result; -} -KOALA_INTEROP_3(UpdateImportExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportExpressionSource(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportExpressionSource(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ImportExpressionSource, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ImportExpressionSourceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ImportExpressionSourceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ImportExpressionSourceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateAstDumper(KNativePointer context, KNativePointer node, KStringPtr& sourceCode) -{ - const auto _context = reinterpret_cast(context); - const auto _node = reinterpret_cast(node); - const auto _sourceCode = getStringCopy(sourceCode); - auto result = GetImpl()->CreateAstDumper(_context, _node, _sourceCode); - return result; -} -KOALA_INTEROP_3(CreateAstDumper, KNativePointer, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_AstDumperModifierToString(KNativePointer context, KNativePointer receiver, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flags = static_cast(flags); - auto result = GetImpl()->AstDumperModifierToString(_context, _receiver, _flags); - return StageArena::strdup(result); -} -KOALA_INTEROP_3(AstDumperModifierToString, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_AstDumperTypeOperatorToString(KNativePointer context, KNativePointer receiver, KInt operatorType) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _operatorType = static_cast(operatorType); - auto result = GetImpl()->AstDumperTypeOperatorToString(_context, _receiver, _operatorType); - return StageArena::strdup(result); -} -KOALA_INTEROP_3(AstDumperTypeOperatorToString, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_AstDumperStrConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->AstDumperStrConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(AstDumperStrConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSNullType(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateETSNullTypeIr(_context); - return result; -} -KOALA_INTEROP_1(CreateETSNullType, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSNullType(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateETSNullTypeIr(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateETSNullType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSUndefinedType(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateETSUndefinedTypeIr(_context); - return result; -} -KOALA_INTEROP_1(CreateETSUndefinedType, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSUndefinedType(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateETSUndefinedTypeIr(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateETSUndefinedType, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTypeofExpression(KNativePointer context, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->CreateTypeofExpression(_context, _argument); - return result; -} -KOALA_INTEROP_2(CreateTypeofExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTypeofExpression(KNativePointer context, KNativePointer original, KNativePointer argument) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _argument = reinterpret_cast(argument); - auto result = GetImpl()->UpdateTypeofExpression(_context, _original, _argument); - return result; -} -KOALA_INTEROP_3(UpdateTypeofExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TypeofExpressionArgumentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TypeofExpressionArgumentConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TypeofExpressionArgumentConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSEnumMember(KNativePointer context, KNativePointer key, KNativePointer init) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _init = reinterpret_cast(init); - auto result = GetImpl()->CreateTSEnumMember(_context, _key, _init); - return result; -} -KOALA_INTEROP_3(CreateTSEnumMember, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSEnumMember(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointer init) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _init = reinterpret_cast(init); - auto result = GetImpl()->UpdateTSEnumMember(_context, _original, _key, _init); - return result; -} -KOALA_INTEROP_4(UpdateTSEnumMember, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSEnumMember1(KNativePointer context, KNativePointer key, KNativePointer init, KBoolean isGenerated) -{ - const auto _context = reinterpret_cast(context); - const auto _key = reinterpret_cast(key); - const auto _init = reinterpret_cast(init); - const auto _isGenerated = static_cast(isGenerated); - auto result = GetImpl()->CreateTSEnumMember1(_context, _key, _init, _isGenerated); - return result; -} -KOALA_INTEROP_4(CreateTSEnumMember1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSEnumMember1(KNativePointer context, KNativePointer original, KNativePointer key, KNativePointer init, KBoolean isGenerated) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _key = reinterpret_cast(key); - const auto _init = reinterpret_cast(init); - const auto _isGenerated = static_cast(isGenerated); - auto result = GetImpl()->UpdateTSEnumMember1(_context, _original, _key, _init, _isGenerated); - return result; -} -KOALA_INTEROP_5(UpdateTSEnumMember1, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSEnumMemberKeyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumMemberKeyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSEnumMemberKeyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumMemberKey(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumMemberKey(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSEnumMemberKey, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumMemberInitConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumMemberInitConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSEnumMemberInitConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumMemberInit(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumMemberInit(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSEnumMemberInit, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSEnumMemberIsGeneratedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumMemberIsGeneratedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSEnumMemberIsGeneratedConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_TSEnumMemberNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSEnumMemberNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(TSEnumMemberNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSwitchStatement(KNativePointer context, KNativePointer discriminant, KNativePointerArray cases, KUInt casesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _discriminant = reinterpret_cast(discriminant); - const auto _cases = reinterpret_cast(cases); - const auto _casesSequenceLength = static_cast(casesSequenceLength); - auto result = GetImpl()->CreateSwitchStatement(_context, _discriminant, _cases, _casesSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateSwitchStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateSwitchStatement(KNativePointer context, KNativePointer original, KNativePointer discriminant, KNativePointerArray cases, KUInt casesSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _discriminant = reinterpret_cast(discriminant); - const auto _cases = reinterpret_cast(cases); - const auto _casesSequenceLength = static_cast(casesSequenceLength); - auto result = GetImpl()->UpdateSwitchStatement(_context, _original, _discriminant, _cases, _casesSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateSwitchStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_SwitchStatementDiscriminantConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SwitchStatementDiscriminantConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(SwitchStatementDiscriminantConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SwitchStatementDiscriminant(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->SwitchStatementDiscriminant(_context, _receiver); - return result; -} -KOALA_INTEROP_2(SwitchStatementDiscriminant, KNativePointer, KNativePointer, KNativePointer); - -void impl_SwitchStatementSetDiscriminant(KNativePointer context, KNativePointer receiver, KNativePointer discriminant) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _discriminant = reinterpret_cast(discriminant); - GetImpl()->SwitchStatementSetDiscriminant(_context, _receiver, _discriminant); - return ; -} -KOALA_INTEROP_V3(SwitchStatementSetDiscriminant, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SwitchStatementCasesConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->SwitchStatementCasesConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(SwitchStatementCasesConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SwitchStatementCases(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->SwitchStatementCases(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(SwitchStatementCases, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateDoWhileStatement(KNativePointer context, KNativePointer body, KNativePointer test) -{ - const auto _context = reinterpret_cast(context); - const auto _body = reinterpret_cast(body); - const auto _test = reinterpret_cast(test); - auto result = GetImpl()->CreateDoWhileStatement(_context, _body, _test); - return result; -} -KOALA_INTEROP_3(CreateDoWhileStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateDoWhileStatement(KNativePointer context, KNativePointer original, KNativePointer body, KNativePointer test) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _body = reinterpret_cast(body); - const auto _test = reinterpret_cast(test); - auto result = GetImpl()->UpdateDoWhileStatement(_context, _original, _body, _test); - return result; -} -KOALA_INTEROP_4(UpdateDoWhileStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_DoWhileStatementBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->DoWhileStatementBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(DoWhileStatementBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_DoWhileStatementBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->DoWhileStatementBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(DoWhileStatementBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_DoWhileStatementTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->DoWhileStatementTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(DoWhileStatementTestConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_DoWhileStatementTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->DoWhileStatementTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(DoWhileStatementTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateCatchClause(KNativePointer context, KNativePointer param, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _param = reinterpret_cast(param); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->CreateCatchClause(_context, _param, _body); - return result; -} -KOALA_INTEROP_3(CreateCatchClause, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateCatchClause(KNativePointer context, KNativePointer original, KNativePointer param, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _param = reinterpret_cast(param); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->UpdateCatchClause(_context, _original, _param, _body); - return result; -} -KOALA_INTEROP_4(UpdateCatchClause, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateCatchClause1(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateCatchClause1(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateCatchClause1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateCatchClause1(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateCatchClause1(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateCatchClause1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CatchClauseParam(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CatchClauseParam(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CatchClauseParam, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CatchClauseParamConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CatchClauseParamConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(CatchClauseParamConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CatchClauseBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CatchClauseBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CatchClauseBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CatchClauseBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CatchClauseBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(CatchClauseBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_CatchClauseIsDefaultCatchClauseConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->CatchClauseIsDefaultCatchClauseConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(CatchClauseIsDefaultCatchClauseConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_CreateSequenceExpression(KNativePointer context, KNativePointerArray sequence_arg, KUInt sequence_argSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _sequence_arg = reinterpret_cast(sequence_arg); - const auto _sequence_argSequenceLength = static_cast(sequence_argSequenceLength); - auto result = GetImpl()->CreateSequenceExpression(_context, _sequence_arg, _sequence_argSequenceLength); - return result; -} -KOALA_INTEROP_3(CreateSequenceExpression, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateSequenceExpression(KNativePointer context, KNativePointer original, KNativePointerArray sequence_arg, KUInt sequence_argSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _sequence_arg = reinterpret_cast(sequence_arg); - const auto _sequence_argSequenceLength = static_cast(sequence_argSequenceLength); - auto result = GetImpl()->UpdateSequenceExpression(_context, _original, _sequence_arg, _sequence_argSequenceLength); - return result; -} -KOALA_INTEROP_4(UpdateSequenceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_SequenceExpressionSequenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->SequenceExpressionSequenceConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(SequenceExpressionSequenceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_SequenceExpressionSequence(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->SequenceExpressionSequence(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(SequenceExpressionSequence, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateArrowFunctionExpression(KNativePointer context, KNativePointer func) -{ - const auto _context = reinterpret_cast(context); - const auto _func = reinterpret_cast(func); - auto result = GetImpl()->CreateArrowFunctionExpression(_context, _func); - return result; -} -KOALA_INTEROP_2(CreateArrowFunctionExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateArrowFunctionExpression(KNativePointer context, KNativePointer original, KNativePointer func) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _func = reinterpret_cast(func); - auto result = GetImpl()->UpdateArrowFunctionExpression(_context, _original, _func); - return result; -} -KOALA_INTEROP_3(UpdateArrowFunctionExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateArrowFunctionExpression1(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateArrowFunctionExpression1(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateArrowFunctionExpression1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateArrowFunctionExpression1(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateArrowFunctionExpression1(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateArrowFunctionExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrowFunctionExpressionFunctionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrowFunctionExpressionFunctionConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ArrowFunctionExpressionFunctionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrowFunctionExpressionFunction(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrowFunctionExpressionFunction(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrowFunctionExpressionFunction, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrowFunctionExpressionCreateTypeAnnotation(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrowFunctionExpressionCreateTypeAnnotation(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrowFunctionExpressionCreateTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ArrowFunctionExpressionHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArrowFunctionExpressionHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArrowFunctionExpressionHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ArrowFunctionExpressionEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->ArrowFunctionExpressionEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(ArrowFunctionExpressionEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_ArrowFunctionExpressionClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ArrowFunctionExpressionClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ArrowFunctionExpressionClearAnnotations, KNativePointer, KNativePointer); - -void impl_ArrowFunctionExpressionDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->ArrowFunctionExpressionDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(ArrowFunctionExpressionDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrowFunctionExpressionAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ArrowFunctionExpressionAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrowFunctionExpressionAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ArrowFunctionExpressionAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ArrowFunctionExpressionAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArrowFunctionExpressionAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ArrowFunctionExpressionAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ArrowFunctionExpressionAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ArrowFunctionExpressionSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ArrowFunctionExpressionSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ArrowFunctionExpressionSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ArrowFunctionExpressionSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->ArrowFunctionExpressionSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(ArrowFunctionExpressionSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateOmittedExpression(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateOmittedExpression(_context); - return result; -} -KOALA_INTEROP_1(CreateOmittedExpression, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateOmittedExpression(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateOmittedExpression(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateOmittedExpression, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSNewClassInstanceExpression(KNativePointer context, KNativePointer typeReference, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _typeReference = reinterpret_cast(typeReference); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - auto result = GetImpl()->CreateETSNewClassInstanceExpression(_context, _typeReference, __arguments, __argumentsSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateETSNewClassInstanceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateETSNewClassInstanceExpression(KNativePointer context, KNativePointer original, KNativePointer typeReference, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeReference = reinterpret_cast(typeReference); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - auto result = GetImpl()->UpdateETSNewClassInstanceExpression(_context, _original, _typeReference, __arguments, __argumentsSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateETSNewClassInstanceExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateETSNewClassInstanceExpression1(KNativePointer context, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->CreateETSNewClassInstanceExpression1(_context, _other); - return result; -} -KOALA_INTEROP_2(CreateETSNewClassInstanceExpression1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSNewClassInstanceExpression1(KNativePointer context, KNativePointer original, KNativePointer other) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _other = reinterpret_cast(other); - auto result = GetImpl()->UpdateETSNewClassInstanceExpression1(_context, _original, _other); - return result; -} -KOALA_INTEROP_3(UpdateETSNewClassInstanceExpression1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewClassInstanceExpressionGetTypeRefConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSNewClassInstanceExpressionGetTypeRefConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetTypeRefConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewClassInstanceExpressionGetArguments(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSNewClassInstanceExpressionGetArguments(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArguments, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSNewClassInstanceExpressionGetArgumentsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->ETSNewClassInstanceExpressionGetArgumentsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(ETSNewClassInstanceExpressionGetArgumentsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ETSNewClassInstanceExpressionSetArguments(KNativePointer context, KNativePointer receiver, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - GetImpl()->ETSNewClassInstanceExpressionSetArguments(_context, _receiver, __arguments, __argumentsSequenceLength); - return ; -} -KOALA_INTEROP_V4(ETSNewClassInstanceExpressionSetArguments, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_ETSNewClassInstanceExpressionAddToArgumentsFront(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->ETSNewClassInstanceExpressionAddToArgumentsFront(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(ETSNewClassInstanceExpressionAddToArgumentsFront, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSAsExpression(KNativePointer context, KNativePointer expression, KNativePointer typeAnnotation, KBoolean isConst) -{ - const auto _context = reinterpret_cast(context); - const auto _expression = reinterpret_cast(expression); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _isConst = static_cast(isConst); - auto result = GetImpl()->CreateTSAsExpression(_context, _expression, _typeAnnotation, _isConst); - return result; -} -KOALA_INTEROP_4(CreateTSAsExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_UpdateTSAsExpression(KNativePointer context, KNativePointer original, KNativePointer expression, KNativePointer typeAnnotation, KBoolean isConst) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _expression = reinterpret_cast(expression); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - const auto _isConst = static_cast(isConst); - auto result = GetImpl()->UpdateTSAsExpression(_context, _original, _expression, _typeAnnotation, _isConst); - return result; -} -KOALA_INTEROP_5(UpdateTSAsExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSAsExpressionExprConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSAsExpressionExprConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSAsExpressionExprConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TSAsExpressionExpr(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSAsExpressionExpr(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSAsExpressionExpr, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSAsExpressionSetExpr(KNativePointer context, KNativePointer receiver, KNativePointer expr) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _expr = reinterpret_cast(expr); - GetImpl()->TSAsExpressionSetExpr(_context, _receiver, _expr); - return ; -} -KOALA_INTEROP_V3(TSAsExpressionSetExpr, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_TSAsExpressionIsConstConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSAsExpressionIsConstConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSAsExpressionIsConstConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TSAsExpressionSetUncheckedCast(KNativePointer context, KNativePointer receiver, KBoolean isUncheckedCast) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _isUncheckedCast = static_cast(isUncheckedCast); - GetImpl()->TSAsExpressionSetUncheckedCast(_context, _receiver, _isUncheckedCast); - return ; -} -KOALA_INTEROP_V3(TSAsExpressionSetUncheckedCast, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_TSAsExpressionTypeAnnotationConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSAsExpressionTypeAnnotationConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSAsExpressionTypeAnnotationConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TSAsExpressionSetTsTypeAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer typeAnnotation) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _typeAnnotation = reinterpret_cast(typeAnnotation); - GetImpl()->TSAsExpressionSetTsTypeAnnotation(_context, _receiver, _typeAnnotation); - return ; -} -KOALA_INTEROP_V3(TSAsExpressionSetTsTypeAnnotation, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateForUpdateStatement(KNativePointer context, KNativePointer init, KNativePointer test, KNativePointer update, KNativePointer body) -{ - const auto _context = reinterpret_cast(context); - const auto _init = reinterpret_cast(init); - const auto _test = reinterpret_cast(test); - const auto _update = reinterpret_cast(update); - const auto _body = reinterpret_cast(body); - auto result = GetImpl()->CreateForUpdateStatement(_context, _init, _test, _update, _body); - return result; -} -KOALA_INTEROP_5(CreateForUpdateStatement, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementInit(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementInit(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForUpdateStatementInit, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementInitConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementInitConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForUpdateStatementInitConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementTest(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementTest(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForUpdateStatementTest, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementTestConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementTestConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForUpdateStatementTestConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementUpdateConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementUpdateConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForUpdateStatementUpdateConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementBody(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementBody(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ForUpdateStatementBody, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ForUpdateStatementBodyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ForUpdateStatementBodyConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ForUpdateStatementBodyConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSTypeReferencePart(KNativePointer context, KNativePointer name, KNativePointer typeParams, KNativePointer prev) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _prev = reinterpret_cast(prev); - auto result = GetImpl()->CreateETSTypeReferencePart(_context, _name, _typeParams, _prev); - return result; -} -KOALA_INTEROP_4(CreateETSTypeReferencePart, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSTypeReferencePart(KNativePointer context, KNativePointer original, KNativePointer name, KNativePointer typeParams, KNativePointer prev) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - const auto _typeParams = reinterpret_cast(typeParams); - const auto _prev = reinterpret_cast(prev); - auto result = GetImpl()->UpdateETSTypeReferencePart(_context, _original, _name, _typeParams, _prev); - return result; -} -KOALA_INTEROP_5(UpdateETSTypeReferencePart, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSTypeReferencePart1(KNativePointer context, KNativePointer name) -{ - const auto _context = reinterpret_cast(context); - const auto _name = reinterpret_cast(name); - auto result = GetImpl()->CreateETSTypeReferencePart1(_context, _name); - return result; -} -KOALA_INTEROP_2(CreateETSTypeReferencePart1, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateETSTypeReferencePart1(KNativePointer context, KNativePointer original, KNativePointer name) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _name = reinterpret_cast(name); - auto result = GetImpl()->UpdateETSTypeReferencePart1(_context, _original, _name); - return result; -} -KOALA_INTEROP_3(UpdateETSTypeReferencePart1, KNativePointer, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartPrevious(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartPrevious(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSTypeReferencePartPrevious, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartPreviousConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartPreviousConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSTypeReferencePartPreviousConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartName(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartName(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSTypeReferencePartName, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartTypeParams(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartTypeParams(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSTypeReferencePartTypeParams, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartTypeParamsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartTypeParamsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSTypeReferencePartTypeParamsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartNameConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSTypeReferencePartNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSTypeReferencePartGetIdent(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSTypeReferencePartGetIdent(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSTypeReferencePartGetIdent, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSReExportDeclarationGetETSImportDeclarationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSReExportDeclarationGetETSImportDeclarationsConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSReExportDeclarationGetETSImportDeclarationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSReExportDeclarationGetETSImportDeclarations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSReExportDeclarationGetETSImportDeclarations(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSReExportDeclarationGetETSImportDeclarations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSReExportDeclarationGetProgramPathConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSReExportDeclarationGetProgramPathConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ETSReExportDeclarationGetProgramPathConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSPrimitiveType(KNativePointer context, KInt type) -{ - const auto _context = reinterpret_cast(context); - const auto _type = static_cast(type); - auto result = GetImpl()->CreateETSPrimitiveType(_context, _type); - return result; -} -KOALA_INTEROP_2(CreateETSPrimitiveType, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateETSPrimitiveType(KNativePointer context, KNativePointer original, KInt type) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _type = static_cast(type); - auto result = GetImpl()->UpdateETSPrimitiveType(_context, _original, _type); - return result; -} -KOALA_INTEROP_3(UpdateETSPrimitiveType, KNativePointer, KNativePointer, KNativePointer, KInt); - -KInt impl_ETSPrimitiveTypeGetPrimitiveTypeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSPrimitiveTypeGetPrimitiveTypeConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSPrimitiveTypeGetPrimitiveTypeConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_TypeNodeHasAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TypeNodeHasAnnotationsConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TypeNodeHasAnnotationsConst, KBoolean, KNativePointer, KNativePointer); - -void impl_TypeNodeEmplaceAnnotation(KNativePointer context, KNativePointer receiver, KNativePointer source) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _source = reinterpret_cast(source); - GetImpl()->TypeNodeEmplaceAnnotation(_context, _receiver, _source); - return ; -} -KOALA_INTEROP_V3(TypeNodeEmplaceAnnotation, KNativePointer, KNativePointer, KNativePointer); - -void impl_TypeNodeClearAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->TypeNodeClearAnnotations(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(TypeNodeClearAnnotations, KNativePointer, KNativePointer); - -void impl_TypeNodeDumpAnnotationsConst(KNativePointer context, KNativePointer receiver, KNativePointer dumper) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _dumper = reinterpret_cast(dumper); - GetImpl()->TypeNodeDumpAnnotationsConst(_context, _receiver, _dumper); - return ; -} -KOALA_INTEROP_V3(TypeNodeDumpAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TypeNodeAnnotationsForUpdate(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TypeNodeAnnotationsForUpdate(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TypeNodeAnnotationsForUpdate, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TypeNodeAnnotations(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TypeNodeAnnotations(_context, _receiver, &length); - return length ? StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TypeNodeAnnotations, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_TypeNodeAnnotationsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->TypeNodeAnnotationsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(TypeNodeAnnotationsConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_TypeNodeSetAnnotations(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TypeNodeSetAnnotations(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TypeNodeSetAnnotations, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -void impl_TypeNodeSetAnnotations1(KNativePointer context, KNativePointer receiver, KNativePointerArray annotationList, KUInt annotationListSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _annotationList = reinterpret_cast(annotationList); - const auto _annotationListSequenceLength = static_cast(annotationListSequenceLength); - GetImpl()->TypeNodeSetAnnotations1(_context, _receiver, _annotationList, _annotationListSequenceLength); - return ; -} -KOALA_INTEROP_V4(TypeNodeSetAnnotations1, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_CreateNewExpression(KNativePointer context, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _callee = reinterpret_cast(callee); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - auto result = GetImpl()->CreateNewExpression(_context, _callee, __arguments, __argumentsSequenceLength); - return result; -} -KOALA_INTEROP_4(CreateNewExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_UpdateNewExpression(KNativePointer context, KNativePointer original, KNativePointer callee, KNativePointerArray _arguments, KUInt _argumentsSequenceLength) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _callee = reinterpret_cast(callee); - const auto __arguments = reinterpret_cast(_arguments); - const auto __argumentsSequenceLength = static_cast(_argumentsSequenceLength); - auto result = GetImpl()->UpdateNewExpression(_context, _original, _callee, __arguments, __argumentsSequenceLength); - return result; -} -KOALA_INTEROP_5(UpdateNewExpression, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KNativePointerArray, KUInt); - -KNativePointer impl_NewExpressionCalleeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->NewExpressionCalleeConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(NewExpressionCalleeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_NewExpressionArgumentsConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - std::size_t length; - auto result = GetImpl()->NewExpressionArgumentsConst(_context, _receiver, &length); - return length ? (void*)StageArena::cloneVector(result, length) : nullptr; -} -KOALA_INTEROP_2(NewExpressionArgumentsConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSParameterProperty(KNativePointer context, KInt accessibility, KNativePointer parameter, KBoolean readonly_arg, KBoolean isStatic, KBoolean isExport) -{ - const auto _context = reinterpret_cast(context); - const auto _accessibility = static_cast(accessibility); - const auto _parameter = reinterpret_cast(parameter); - const auto _readonly_arg = static_cast(readonly_arg); - const auto _isStatic = static_cast(isStatic); - const auto _isExport = static_cast(isExport); - auto result = GetImpl()->CreateTSParameterProperty(_context, _accessibility, _parameter, _readonly_arg, _isStatic, _isExport); - return result; -} -KOALA_INTEROP_6(CreateTSParameterProperty, KNativePointer, KNativePointer, KInt, KNativePointer, KBoolean, KBoolean, KBoolean); - -KNativePointer impl_UpdateTSParameterProperty(KNativePointer context, KNativePointer original, KInt accessibility, KNativePointer parameter, KBoolean readonly_arg, KBoolean isStatic, KBoolean isExport) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _accessibility = static_cast(accessibility); - const auto _parameter = reinterpret_cast(parameter); - const auto _readonly_arg = static_cast(readonly_arg); - const auto _isStatic = static_cast(isStatic); - const auto _isExport = static_cast(isExport); - auto result = GetImpl()->UpdateTSParameterProperty(_context, _original, _accessibility, _parameter, _readonly_arg, _isStatic, _isExport); - return result; -} -KOALA_INTEROP_7(UpdateTSParameterProperty, KNativePointer, KNativePointer, KNativePointer, KInt, KNativePointer, KBoolean, KBoolean, KBoolean); - -KInt impl_TSParameterPropertyAccessibilityConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSParameterPropertyAccessibilityConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSParameterPropertyAccessibilityConst, KInt, KNativePointer, KNativePointer); - -KBoolean impl_TSParameterPropertyReadonlyConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSParameterPropertyReadonlyConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSParameterPropertyReadonlyConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSParameterPropertyIsStaticConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSParameterPropertyIsStaticConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSParameterPropertyIsStaticConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_TSParameterPropertyIsExportConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSParameterPropertyIsExportConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(TSParameterPropertyIsExportConst, KBoolean, KNativePointer, KNativePointer); - -KNativePointer impl_TSParameterPropertyParameterConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->TSParameterPropertyParameterConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(TSParameterPropertyParameterConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateETSWildcardType(KNativePointer context, KNativePointer typeReference, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _typeReference = reinterpret_cast(typeReference); - const auto _flags = static_cast(flags); - auto result = GetImpl()->CreateETSWildcardType(_context, _typeReference, _flags); - return result; -} -KOALA_INTEROP_3(CreateETSWildcardType, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_UpdateETSWildcardType(KNativePointer context, KNativePointer original, KNativePointer typeReference, KInt flags) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - const auto _typeReference = reinterpret_cast(typeReference); - const auto _flags = static_cast(flags); - auto result = GetImpl()->UpdateETSWildcardType(_context, _original, _typeReference, _flags); - return result; -} -KOALA_INTEROP_4(UpdateETSWildcardType, KNativePointer, KNativePointer, KNativePointer, KNativePointer, KInt); - -KNativePointer impl_ETSWildcardTypeTypeReference(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSWildcardTypeTypeReference(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ETSWildcardTypeTypeReference, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ETSWildcardTypeTypeReferenceConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ETSWildcardTypeTypeReferenceConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ETSWildcardTypeTypeReferenceConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_CreateTSThisType(KNativePointer context) -{ - const auto _context = reinterpret_cast(context); - auto result = GetImpl()->CreateTSThisType(_context); - return result; -} -KOALA_INTEROP_1(CreateTSThisType, KNativePointer, KNativePointer); - -KNativePointer impl_UpdateTSThisType(KNativePointer context, KNativePointer original) -{ - const auto _context = reinterpret_cast(context); - const auto _original = reinterpret_cast(original); - auto result = GetImpl()->UpdateTSThisType(_context, _original); - return result; -} -KOALA_INTEROP_2(UpdateTSThisType, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramSetKind(KNativePointer context, KNativePointer receiver, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _kind = static_cast(kind); - GetImpl()->ProgramSetKind(_context, _receiver, _kind); - return ; -} -KOALA_INTEROP_V3(ProgramSetKind, KNativePointer, KNativePointer, KInt); - -void impl_ProgramPushVarBinder(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ProgramPushVarBinder(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ProgramPushVarBinder, KNativePointer, KNativePointer); - -void impl_ProgramPushChecker(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ProgramPushChecker(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ProgramPushChecker, KNativePointer, KNativePointer); - -KInt impl_ProgramKindConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramKindConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramKindConst, KInt, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramSourceCodeConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramSourceCodeConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramSourceCodeConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramSourceFilePathConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramSourceFilePathConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramSourceFilePathConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramSourceFileFolderConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramSourceFileFolderConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramSourceFileFolderConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramFileNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramFileNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramFileNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramFileNameWithExtensionConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramFileNameWithExtensionConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramFileNameWithExtensionConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramAbsoluteNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramAbsoluteNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramAbsoluteNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramResolvedFilePathConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramResolvedFilePathConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramResolvedFilePathConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramRelativeFilePathConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramRelativeFilePathConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramRelativeFilePathConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramSetRelativeFilePath(KNativePointer context, KNativePointer receiver, KStringPtr& relPath) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _relPath = getStringCopy(relPath); - GetImpl()->ProgramSetRelativeFilePath(_context, _receiver, _relPath); - return ; -} -KOALA_INTEROP_V3(ProgramSetRelativeFilePath, KNativePointer, KNativePointer, KStringPtr); - -KNativePointer impl_ProgramAst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramAst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramAst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramAstConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramAstConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ProgramAstConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramSetAst(KNativePointer context, KNativePointer receiver, KNativePointer ast) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _ast = reinterpret_cast(ast); - GetImpl()->ProgramSetAst(_context, _receiver, _ast); - return ; -} -KOALA_INTEROP_V3(ProgramSetAst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramGlobalClass(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramGlobalClass(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramGlobalClass, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramGlobalClassConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramGlobalClassConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ProgramGlobalClassConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramSetGlobalClass(KNativePointer context, KNativePointer receiver, KNativePointer globalClass) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _globalClass = reinterpret_cast(globalClass); - GetImpl()->ProgramSetGlobalClass(_context, _receiver, _globalClass); - return ; -} -KOALA_INTEROP_V3(ProgramSetGlobalClass, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramPackageStartConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramPackageStartConst(_context, _receiver); - return (void*)result; -} -KOALA_INTEROP_2(ProgramPackageStartConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramSetPackageStart(KNativePointer context, KNativePointer receiver, KNativePointer start) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _start = reinterpret_cast(start); - GetImpl()->ProgramSetPackageStart(_context, _receiver, _start); - return ; -} -KOALA_INTEROP_V3(ProgramSetPackageStart, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramSetSource(KNativePointer context, KNativePointer receiver, KStringPtr& sourceCode, KStringPtr& sourceFilePath, KStringPtr& sourceFileFolder) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _sourceCode = getStringCopy(sourceCode); - const auto _sourceFilePath = getStringCopy(sourceFilePath); - const auto _sourceFileFolder = getStringCopy(sourceFileFolder); - GetImpl()->ProgramSetSource(_context, _receiver, _sourceCode, _sourceFilePath, _sourceFileFolder); - return ; -} -KOALA_INTEROP_V5(ProgramSetSource, KNativePointer, KNativePointer, KStringPtr, KStringPtr, KStringPtr); - -void impl_ProgramSetPackageInfo(KNativePointer context, KNativePointer receiver, KStringPtr& name, KInt kind) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _name = getStringCopy(name); - const auto _kind = static_cast(kind); - GetImpl()->ProgramSetPackageInfo(_context, _receiver, _name, _kind); - return ; -} -KOALA_INTEROP_V4(ProgramSetPackageInfo, KNativePointer, KNativePointer, KStringPtr, KInt); - -KNativePointer impl_ProgramModuleNameConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramModuleNameConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramModuleNameConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ProgramModulePrefixConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramModulePrefixConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramModulePrefixConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsSeparateModuleConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsSeparateModuleConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsSeparateModuleConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsDeclarationModuleConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsDeclarationModuleConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsDeclarationModuleConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsPackageConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsPackageConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsPackageConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsDeclForDynamicStaticInteropConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsDeclForDynamicStaticInteropConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsDeclForDynamicStaticInteropConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ProgramSetFlag(KNativePointer context, KNativePointer receiver, KInt flag) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flag = static_cast(flag); - GetImpl()->ProgramSetFlag(_context, _receiver, _flag); - return ; -} -KOALA_INTEROP_V3(ProgramSetFlag, KNativePointer, KNativePointer, KInt); - -KBoolean impl_ProgramGetFlagConst(KNativePointer context, KNativePointer receiver, KInt flag) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _flag = static_cast(flag); - auto result = GetImpl()->ProgramGetFlagConst(_context, _receiver, _flag); - return result; -} -KOALA_INTEROP_3(ProgramGetFlagConst, KBoolean, KNativePointer, KNativePointer, KInt); - -void impl_ProgramSetASTChecked(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ProgramSetASTChecked(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ProgramSetASTChecked, KNativePointer, KNativePointer); - -void impl_ProgramRemoveAstChecked(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ProgramRemoveAstChecked(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ProgramRemoveAstChecked, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsASTChecked(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsASTChecked(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsASTChecked, KBoolean, KNativePointer, KNativePointer); - -void impl_ProgramMarkASTAsLowered(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ProgramMarkASTAsLowered(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ProgramMarkASTAsLowered, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsASTLoweredConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsASTLoweredConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsASTLoweredConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsStdLibConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsStdLibConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsStdLibConst, KBoolean, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsGenAbcForExternalConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsGenAbcForExternalConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsGenAbcForExternalConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ProgramSetGenAbcForExternalSources(KNativePointer context, KNativePointer receiver, KBoolean genAbc) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _genAbc = static_cast(genAbc); - GetImpl()->ProgramSetGenAbcForExternalSources(_context, _receiver, _genAbc); - return ; -} -KOALA_INTEROP_V3(ProgramSetGenAbcForExternalSources, KNativePointer, KNativePointer, KBoolean); - -KNativePointer impl_ProgramDumpConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramDumpConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ProgramDumpConst, KNativePointer, KNativePointer, KNativePointer); - -void impl_ProgramDumpSilentConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ProgramDumpSilentConst(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ProgramDumpSilentConst, KNativePointer, KNativePointer); - -KBoolean impl_ProgramIsDiedConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ProgramIsDiedConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ProgramIsDiedConst, KBoolean, KNativePointer, KNativePointer); - -void impl_ProgramAddFileDependencies(KNativePointer context, KNativePointer receiver, KStringPtr& file, KStringPtr& depFile) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - const auto _file = getStringCopy(file); - const auto _depFile = getStringCopy(depFile); - GetImpl()->ProgramAddFileDependencies(_context, _receiver, _file, _depFile); - return ; -} -KOALA_INTEROP_V4(ProgramAddFileDependencies, KNativePointer, KNativePointer, KStringPtr, KStringPtr); - -KNativePointer impl_CreateArkTsConfig(KNativePointer context, KStringPtr& configPath, KNativePointer de) -{ - const auto _context = reinterpret_cast(context); - const auto _configPath = getStringCopy(configPath); - const auto _de = reinterpret_cast(de); - auto result = GetImpl()->CreateArkTsConfig(_context, _configPath, _de); - return result; -} -KOALA_INTEROP_3(CreateArkTsConfig, KNativePointer, KNativePointer, KStringPtr, KNativePointer); - -void impl_ArkTsConfigResolveAllDependenciesInArkTsConfig(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - GetImpl()->ArkTsConfigResolveAllDependenciesInArkTsConfig(_context, _receiver); - return ; -} -KOALA_INTEROP_V2(ArkTsConfigResolveAllDependenciesInArkTsConfig, KNativePointer, KNativePointer); - -KNativePointer impl_ArkTsConfigConfigPathConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigConfigPathConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ArkTsConfigConfigPathConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArkTsConfigPackageConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigPackageConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ArkTsConfigPackageConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArkTsConfigBaseUrlConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigBaseUrlConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ArkTsConfigBaseUrlConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArkTsConfigRootDirConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigRootDirConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ArkTsConfigRootDirConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArkTsConfigOutDirConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigOutDirConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ArkTsConfigOutDirConst, KNativePointer, KNativePointer, KNativePointer); - -KNativePointer impl_ArkTsConfigCacheDirConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigCacheDirConst(_context, _receiver); - return StageArena::strdup(result); -} -KOALA_INTEROP_2(ArkTsConfigCacheDirConst, KNativePointer, KNativePointer, KNativePointer); - -KBoolean impl_ArkTsConfigUseUrlConst(KNativePointer context, KNativePointer receiver) -{ - const auto _context = reinterpret_cast(context); - const auto _receiver = reinterpret_cast(receiver); - auto result = GetImpl()->ArkTsConfigUseUrlConst(_context, _receiver); - return result; -} -KOALA_INTEROP_2(ArkTsConfigUseUrlConst, KBoolean, KNativePointer, KNativePointer); - -- Gitee From b5948a8b37f1ffd2604c0228dd9a6f01c19f3aa5 Mon Sep 17 00:00:00 2001 From: "evgeniy.generalov" Date: Thu, 28 Aug 2025 08:31:11 +0300 Subject: [PATCH 3/6] rootDirs is not necessary --- ui2abc/libarkts/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui2abc/libarkts/tsconfig.json b/ui2abc/libarkts/tsconfig.json index b75ee5bf4..d3785c1ff 100644 --- a/ui2abc/libarkts/tsconfig.json +++ b/ui2abc/libarkts/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "build", "baseUrl": ".", - "rootDirs": ["./src", "./generated"], + "rootDir": ".", "module": "esnext", "tsBuildInfoFile": "./build/tsconfig.tsbuildinfo" }, -- Gitee From 9fcaeabdeea0a6b6905d1cef93f42e10261c4207 Mon Sep 17 00:00:00 2001 From: "evgeniy.generalov" Date: Thu, 28 Aug 2025 08:32:17 +0300 Subject: [PATCH 4/6] libarkts BUILD.gn --- ui2abc/libarkts/BUILD.gn | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/ui2abc/libarkts/BUILD.gn b/ui2abc/libarkts/BUILD.gn index 8caa9faf9..53ef6c203 100644 --- a/ui2abc/libarkts/BUILD.gn +++ b/ui2abc/libarkts/BUILD.gn @@ -30,7 +30,6 @@ shared_library("es2panda_lib") { sources = [ "$libarkts_root/native/src/common.cc", "$libarkts_root/native/src/bridges.cc", - "$libarkts_root/native/src/generated/bridges.cc", "$interop_root/src/cpp/napi/convertors-napi.cc", "$interop_root/src/cpp/callback-resource.cc", @@ -50,7 +49,7 @@ shared_library("es2panda_lib") { "$node_modules_dir/node-api-headers/include", "$node_modules_dir/node-addon-api", - + # "//arkcompiler/ets_frontend/ets2panda/public/", # rebase_path("$root_gen_dir/arkcompiler/ets_frontend/ets2panda/"), ] @@ -64,8 +63,10 @@ shared_library("es2panda_lib") { deps = [ "$ui2abc_root:ui2abc_install(${host_toolchain})", - ":regenerate(${host_toolchain})" + ":regenerate_and_copy", ] + #sources += get_target_outputs(deps[1]) // FIXME: cannot find target + sources += [ "$target_out_dir/generated/native/bridges.cc" ] configs -= [ "//build/config/compiler:compiler" ] @@ -197,6 +198,15 @@ action("es2panda_lib_copy") { ] } +# The generated bridges.cc doesn't exist at configure step and +# should be linked with a target that creates it. As outputs cannot +# point outside target_out_dir - make a copy target. +copy("regenerate_and_copy") { + sources = [ "$libarkts_root/generated/native/bridges.cc", ] + outputs = [ "$target_out_dir/generated/native/bridges.cc", ] + deps = [ ":regenerate(${host_toolchain})", ] +} + if (current_toolchain == host_toolchain) { npm_cmd("regenerate") { assert(current_toolchain == host_toolchain, "must be executed with host_toolchain") @@ -276,4 +286,4 @@ group("libarkts") { ":es2panda_lib", ":libarkts_compile(${host_toolchain})" ] -} \ No newline at end of file +} -- Gitee From d01a18874f0b3a8867c512cd792696c525fd35f5 Mon Sep 17 00:00:00 2001 From: "evgeniy.generalov" Date: Thu, 28 Aug 2025 13:58:06 +0300 Subject: [PATCH 5/6] package.json --- ui2abc/libarkts/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui2abc/libarkts/package.json b/ui2abc/libarkts/package.json index abd30d052..9ce372d1f 100644 --- a/ui2abc/libarkts/package.json +++ b/ui2abc/libarkts/package.json @@ -50,7 +50,7 @@ "rimraf": "^6.0.1" }, "scripts": { - "clean": "rimraf build native/build* ./.rollup.cache tsconfig.tsbuildinfo lib", + "clean": "rimraf generated build native/build* ./.rollup.cache tsconfig.tsbuildinfo lib", "clean:plugins": "rimraf plugins/build", "compile:koala:interop": "npm run --prefix ../../interop compile", "compile:meson": "cd native && meson setup build && meson compile -C build", @@ -59,7 +59,7 @@ "copy:.node": "mkdir -p ./build/native/build && cp ./native/build/es2panda_*.node ./build/native/build", "compile:native": "npm run compile:koala:interop && npm run compile:meson && npm run copy:.node", "crosscompile:native": "npm run compile:koala:interop && npm run crosscompile:meson && npm run copy:.node", - "compile": "npm run compile:native && npm run compile:js", + "compile": "npm run regenerate && npm run compile:native && npm run compile:js", "compile:release": "npm run crosscompile:native && npm run compile:js", "compile:js": "rm -rf lib/ && rollup -c rollup.lib.mjs && rollup -c rollup.es2panda.mjs", "compile:plugins": "rollup -c ./rollup.printer-plugin.mjs", @@ -77,7 +77,7 @@ "panda:sdk:clean": "cd ../../incremental/tools/panda && rimraf node_modules", "panda:sdk:install": "cd ../../incremental/tools/panda && echo \"Installing panda sdk $npm_package_config_panda_sdk_version\" && PANDA_SDK_VERSION=$npm_package_config_panda_sdk_version npm run panda:sdk:install", "panda:sdk:reinstall": "npm run panda:sdk:clean && npm run panda:sdk:install", - "regenerate:current": "rimraf -rf src/generated && npm run compile -C ../../../arktscgen && node ../../../arktscgen --panda-sdk-path $npm_package_config_panda_sdk_path --output-dir ../ --options-file ./generator/options.json5 --no-initialize --debug", + "regenerate:current": "rimraf -rf ./generated && npm run compile -C ../../../arktscgen && node ../../../arktscgen --panda-sdk-path $npm_package_config_panda_sdk_path --output-dir ../ --options-file ./generator/options.json5 --no-initialize --debug", "regenerate": "rimraf -rf ./generated && arktscgen --panda-sdk-path ${PANDA_SDK_PATH:=$npm_package_config_panda_sdk_path} --output-dir ../ --options-file ./generator/options.json5 --no-initialize", "reinstall:regenerate": "npm run panda:sdk:reinstall && npm run regenerate && git diff --shortstat" } -- Gitee From d4dbb0009b5d399d3c7ac87454a9c28e4205ff7e Mon Sep 17 00:00:00 2001 From: "evgeniy.generalov" Date: Mon, 1 Sep 2025 12:23:48 +0300 Subject: [PATCH 6/6] Increment generator version --- ui2abc/libarkts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui2abc/libarkts/package.json b/ui2abc/libarkts/package.json index 9ce372d1f..3f46b9343 100644 --- a/ui2abc/libarkts/package.json +++ b/ui2abc/libarkts/package.json @@ -34,7 +34,7 @@ "@koalaui/harness": "1.7.10+devel", "@koalaui/interop": "1.7.10+devel", "@koalaui/fast-arktsc": "1.7.10+devel", - "@idlizer/arktscgen": "2.1.10-arktscgen-3a", + "@idlizer/arktscgen": "2.1.10-arktscgen-4", "@types/mocha": "^9.1.0", "mocha": "^9.2.2", "node-addon-api": "8.0.0", -- Gitee